2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
184ad485
MC
12004-01-01 Michael Chastain <mec.gnu@mindspring.com>
2
3 * gdb.cp/classes.exp: Generate identical results as old version.
4 * gdb.cp/derivation.exp: Likewise.
5 * gdb.cp/overload.exp: Likewise.
6 * gdb.cp/virtfunc.exp: Likewise.
7
116f09e7
MC
82004-01-01 Michael Chastain <mec.gnu@mindspring.com>
9
10 * gdb.cp/virtfunc.exp: Modify some patterns to avoid a
11 mysterious bug with sourceware version of expect.
12
b1379776
MC
132004-01-01 Michael Chastain <mec.gnu@mindspring.com>
14
15 * gdb.cp/overload.exp: Rewrite. Clean up patterns to match
16 current versions of gcc, including gcc abi 2. Remove gratuitous
17 restart of test program. Use gdb_test_multiple and gdb_test for
18 all tests. Add patterns to xfail missing "const" in "const char *"
19 and kfail PR gdb/1155.
20
6b7a4c0e
MC
212004-01-01 Michael Chastain <mec.gnu@mindspring.com>
22
23 * gdb.cp/derivation.exp: Rewrite. Clean up patterns to match
24 current versions of gcc, including gcc abi 2. Remove gratuitous
25 restart of test program. Use gdb_test_multiple and gdb_test for
26 all tests. Add patterns to kfail PR gdb/1498.
27
51615d72
MC
282003-12-31 Michael Chastain <mec.gnu@mindspring.com>
29
30 * gdb.cp/virtfunc.exp: Rewrite. Clean up patterns to match
31 current versions of gcc, including gcc abi 2. Use "breakpoint"
32 and "continue" instead of restarting the target program. Use
33 gdb_test_multiple and gdb_test for all tests.
34
7b79a9d7
MK
352004-01-01 Mark Kettenis <kettenis@gnu.org>
36
37 * gdb.asm/asm-source.exp: Update copyright year. Link statically
38 for *-*-solaris2*.
39
1cd3489f
MC
402003-12-31 Michael Chastain <mec.gnu@mindspring.com>
41
42 * gdb.cp/classes.exp: Rewrite. Clean up patterns to match
43 current versions of gcc, including gcc abi 2. Use "breakpoint"
44 and "continue" instead of restarting the target program several
45 times. Use gdb_test_multiple and gdb_test for all tests.
46
850742db
MC
472003-12-18 Michael Chastain <mec.gnu@mindspring.com>
48
49 * gdb.base/sect-cmd.exp: Handle compiling test case from multiple
50 source files.
51
eb4bbda8
MC
522003-12-16 Michael Chastain <mec.gnu@mindspring.com>
53
54 * gdb.base/environ.exp: Handle compiling test case from multiple
55 source files.
56
e42c7771
MC
572003-12-16 Michael Chastain <mec.gnu@mindspring.com>
58
59 * gdb.base/structs.exp: Call gdb_exit as well as gdb_start.
60
80e4b428
JB
612003-12-17 Jim Blandy <jimb@redhat.com>
62
5f06973a
JB
63 * gdb.base/freebpcmd.c: Add copyright notice.
64
80e4b428
JB
65 * gdb.base/freebpcmd.exp: Mark the interesting failure as known.
66
0ab84fb7
MC
672003-12-16 Michael Chastain <mec.gnu@mindspring.com>
68
69 * gdb.base/maint.exp: Add generic FAIL patterns to prevent timeouts.
70
1b3bb3d0
JB
712003-12-13 Jim Blandy <jimb@redhat.com>
72
73 * gdb.base/freebpcmd.exp, gdb.base/freebpcmd.c: New test.
74
3a4c9371
KB
752003-12-12 Kevin Buettner <kevinb@redhat.com>
76
77 * gdb.asm/frv.inc: New file.
78 * gdb.asm/asm-source.exp: Add frv-*-* as a supported target.
79
a1dea79a
FF
802003-12-09 Fred Fish <fnf@redhat.com>
81
82 * gdb.base/break.c (marker1, marker2, marker3, marker4): Move
83 functions to break1.c and leave prototypes behind. Add more
84 "set breakpoint NN here" comments.
85 * gdb.base/break1.c: New file.
86
87 * gdb.base/break.exp: Handle compiling test case from multiple
88 source files and change source file references as needed.
89 * gdb.base/completion.exp: Ditto.
90 * gdb.base/condbreak.exp: Ditto.
91 * gdb.base/define.exp: Ditto.
92 * gdb.base/ena-dis-br.exp: Ditto.
93 * gdb.base/info-proc.exp: Ditto.
94 * gdb.base/maint.exp: Ditto.
95 * gdb.base/until.exp: Ditto.
96
97 * gdb.base/condbreak.exp: Use bp_locationNN variables instead of
98 hardcoded line numbers.
99 * gdb.base/define.exp: Ditto.
100 * gdb.base/ena-dis-br.exp: Ditto.
101 * gdb.base/maint.exp: Ditto.
102 * gdb.base/until.exp: Ditto.
103
104 * gdb.base/completion.exp: Use "break1" for completion tests since
105 "break" is no longer a unique prefix.
106
5266b69c
AC
1072003-12-06 Andrew Cagney <cagney@redhat.com>
108
109 * gdb.base/structs.exp (test_struct_returns): When applicable, set
110 "return_value_unimplemented". When an unimplemented struct return
111 architecture, report incorrect values as a KFAIL
112
374451f0
MC
1132003-12-05 Michael Chastain <mec.gnu@mindspring.com>
114
115 * gdb.cp/rtti.exp: Accept new wording of warning from
116 cp_lookup_rtti_type.
117
ba9b20a7
MC
1182003-12-05 Michael Chastain <mec.gnu@mindspring.com>
119
120 Partial fix for PR testsuite/1456.
121 * gdb.base/scope.exp (test_at_main): Replace references to
122 gcc_compiled with calls to test_compiler_info.
123 (test_at_foo): Likewise.
124 (test_at_bar): Likewise.
125
b74b6d0b
MC
1262003-12-04 Michael Chastain <mec.gnu@mindspring.com>
127
128 Partial fix for PR testsuite/1456.
129 * gdb.base/so-impl-ld.exp: Replace reference to gcc_compiled with call
130 to test_compiler_info.
131
ccfa3402
MC
1322003-12-03 Michael Chastain <mec.gnu@mindspring.com>
133
134 * gdb.base/so-impl-ld.exp: Update copyright notice.
135
f6246aba
MC
1362003-12-02 Michael Chastain <mec.gnu@mindspring.com>
137
138 Partial fix for PR testsuite/1456.
139 * gdb.base/mips_pro.exp: Replace references to gcc_compiled with calls
140 to test_compiler_info.
141
13ae734a
MC
1422003-11-28 Michael Chastain <mec.gnu@mindspring.com>
143
144 * gdb.objc/objcdecode.exp: Match and KFAIL the output that comes
145 from current versions of gdb. Clean up regular expressions.
146 Delete redundant timeout case.
147
d8e1cdee
MC
1482003-11-28 Michael Chastain <mec.gnu@mindspring.com>
149
150 * gdb.objc/nondebug.exp: Match and KFAIL the output that comes
151 from current versions of gdb. Clean up regular expressions.
152 Delete redundant timeout case.
153
96457b64
MC
1542003-12-01 Michael Chastain <mec.gnu@mindspring.com>
155
156 Partial fix for PR testsuite/1456.
157 * gdb.base/callfuncs.exp (do_function_calls): Replace reference to
158 gcc_compiled with call to test_compiler_info.
159
f35309fc
MC
1602003-11-30 Michael Chastain <mec.gnu@mindspring.com>
161
162 Partial fix for PR testsuite/1456.
163 * gdb.base/list.exp (test_list_function): Delete unused declaration
164 of gcc_compiled.
165
d7afdf9b
MC
1662003-11-29 Michael Chastain <mec.gnu@mindspring.com>
167
168 Partial fix for PR testsuite/1456.
169 * gdb.base/complex.exp: Replace reference to gcc_compiled with
170 call to test_compiler_info.
171
71507b56
MK
1722003-11-29 Mark Kettenis <kettenis@gnu.org>
173
174 * gdb.asm/asm-source.exp: Initialize asm-note to "empty". Set
175 asm-note to "netbsd" for *-*-netbsdelf* and x86_64-*-netbsd*. Use
176 it to create the appropriate note.inc.
177 * gdb.asm/asmsrc1.s: Include "note.inc".
178 * gdb.asm/netbsd.inc: New file.
179 * gdb.asm/empty.inc: New file.
180
f81f93f7
MC
1812003-11-28 Michael Chastain <mec.gnu@mindspring.com>
182
183 Partial fix for PR testsuite/1456.
184 * gdb.base/constvars.exp: Replace references to gcc_compiled with
185 calls to test_compiler_info.
186
9a77938e
MC
1872003-11-27 Michael Chastain <mec.gnu@mindspring.com>
188
189 Partial fix for PR testsuite/1456.
190 * gdb.base/volatile.exp: Replace references to gcc_compiled with
191 calls to test_compiler_info.
192
e8367dc7
MK
1932003-11-27 Mark Kettenis <kettenis@gnu.org>
194
195 * gdb.base/structs.exp: Use i*86-*-* instead of i686-*-* as a
196 pattern for the KFAILs.
197
526c61ee
AF
1982003-11-25 Adam Fedor <fedor@gnu.org>
199
200 * gdb.objc/objcdecode.exp: Test for PR objc/1238.
201 * gdb.objc/objcdecode.m: New file.
202
28f2d600
AF
2032003-11-25 Adam Fedor <fedor@gnu.org>
204
205 * gdb.objc/nondebug.exp: Test for PR objc/1236.
206 * gdb.objc/nondebug.m: New file.
207
a3895cee
BE
2082003-11-26 Ben Elliston <bje@wasabisystems.com>
209
210 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
211 NetBSD as it does on FreeBSD. Modelled on a similar change by
212 Mark Kettenis on 2003-05-30.
213 (link-flags): Set to "--entry _start" regardless of target.
214 Special linker flags are to be appended to $link-flags.
215 * gdb.asm/mips.inc (gdbasm_startup): Remove __start label.
216
c9f2c8a3
MC
2172003-11-25 Michael Chastain <mec.gnu@mindspring.com>
218
219 * gdb.cp/method.exp: Accept output of new demangler.
220
15a0587a 2212003-11-25 Michael Chastain <mec.gnu@mindspring.com>
f4e8b6f3
MC
222
223 * gdb/class2.exp: New file.
224 * gdb/class2.cc: New file.
225
3c00b570
MC
2262003-11-25 Michael Chastain <mec.gnu@mindspring.com>
227
228 * gdb.cp/templates.exp (test_ptype_of_templates): Accept output
229 of new demangler.
230
7027acc7
MK
2312003-11-23 Mark Kettenis <kettenis@gnu.org>
232
233 * gdb.arch/i386-unwind.exp: Use gdb_run_cmd and gdb_expect instead
234 of gdb_test "run".
235
b0e1598a
MK
2362003-11-23 Mark Kettenis <kettenis@gnu.org>
237
238 * gdb.arch/i386-unwind.exp: Don't use runto_main. Change
239 "continue" into "run".
240
4d9eda44
MC
2412003-11-23 Michael Chastain <mec.gnu@mindspring.com>
242
243 Partial fix for PR testsuite/1456.
244 * gdb.cp/ambiguous.exp: Replace reference to gcc_compiled with
245 call to test_compiler_info.
246 * gdb.cp/ctti.exp: Likewise.
247 * gdb.cp/derivation.exp: Likewise.
248 * gdb.cp/member-ptr.exp: Likewise.
249 * gdb.cp/virtfunc.exp (test_virtual_calls): Remove unused
250 reference to gcc_compiled.
251
2522003-11-23 Michael Chastain <mec.gnu@mindspring.com>
b729099e
MC
253
254 Fix PR testsuite/1463.
255 * gdb.base/structs.exp (start_structs_test): Call
256 get_debug_format before using the debug format.
257
d422fe19
AC
2582003-11-22 Andrew Cagney <cagney@redhat.com>
259
260 * lib/gdb.exp (gdb_test_multiple): Add simple example.
261 * gdb.base/structs.exp: Use gdb_test_multiple.
262
039cf96d
AC
2632003-11-20 Andrew Cagney <cagney@redhat.com>
264
6882279b
AC
265 * gdb.base/structs.exp: Handle and recover from internal errors.
266 Replace "foo${n}" with "foo<n>" in test messages.
267
e53890ae
AC
268 * gdb.base/structs.exp: Update copyright. Rewrite.
269 * gdb.base/structs.c: Update copyright. Rewrite.
270
2b211c59
AC
271 * lib/gdb.exp (gdb_internal_error_resync): Issue a perror when the
272 resync count exceeded.
273
039cf96d
AC
274 * gdb.base/maint.exp: Use gdb_internal_error_resync to recover
275 from the internal error.
276 * lib/gdb.exp (gdb_internal_error_resync): New procedure.
277 Original from Jim Blandy.
278 (gdb_test_multiple): Use gdb_internal_error_resync.
2b211c59 279
eac98b22
AC
2802003-11-19 Andrew Cagney <cagney@redhat.com>
281
282 * gdb.base/callfuncs.exp: Change the XFAILed descriptor test to a
283 KFAIL.
284
67455b2a
MK
2852003-11-17 Mark Kettenis <kettenis@gnu.org>
286
287 New testcase for PR backtrace/1435.
288 * gdb.arch/i386-unwind.exp: New file.
289 * gdb.arch/i386-unwind.c: New file.
290
853d6e5b
AC
2912003-11-17 Andrew Cagney <cagney@redhat.com>
292
293 * lib/gdb.exp (compiler_info): New global.
294 (test_compiler_info): New function.
295 (get_compiler_info): Set compiler_info.
296 * lib/compiler.c, lib/compiler.cc: Add copyright. When GNUC, set
297 "compiler_info" to gcc-<major>-<minor>.
298
38cf6e11
MC
2992003-11-15 Michael Chastain <mec.gnu@mindspring.com>
300
301 * gdb.trace/configure: Remove.
302
a50d3602
EZ
3032003-11-13 Elena Zannoni <ezannoni@redhat.com>
304
305 * gdb.base/break.c: Add comments to aid finding line numbers for
306 breakpoints.
307 * gdb.base/break.exp: Remove all references to explicit line
308 numbers.
309
d9407aaa
NC
3102003-11-11 Nick Clifton <nickc@redhat.com>
311
312 * gdb.base/shreloc.exp: Do not run for targets which do not
313 support shared objects.
314
db488fc1
CV
3152003-11-10 Corinna Vinschen <vinschen@redhat.com>
316
317 * gdb.base/fileio.exp: Drop tests for nointerrupts and noinferiorio.
318 Don't run tests if nofileio flag is given.
319
6a90a18e
EZ
3202003-11-07 Elena Zannoni <ezannoni@redhat.com>
321
322 * gdb.cp/annota3.exp: Make sure we can match 'Hardware watchpoint'
323 as well as 'Watchpoint'.
324
0b915e9c
EZ
3252003-11-06 Elena Zannoni <ezannoni@redhat.com>
326
327 Reported by Jim Ingham <jingham@apple.com>:
328 * gdb.base/annota1.exp: Match at least one occurrence of the
329 signal handler annotation.
330
d7e4b55f
EZ
3312003-11-06 Elena Zannoni <ezannoni@redhat.com>
332
333 * gdb.cp/annota2.exp: Make sure we can match 'Hardware watchpoint'
334 as well as 'Watchpoint'.
335
2fe4e8d0
MC
3362003-11-05 Michael Chastain <mec@shout.net>
337
338 * gdb.mi/pthreads.c (routine): Handle early return from sleep.
339
6ef88553
KW
3402003-11-03 Kris Warkentin <kewarken@qnx.com>
341
342 * gdb.arch/gdb1291.c: New test file.
343 * gdb.arch/gdb1291.exp: New test script.
344 * gdb.arch/gdb1431.c: New test file.
345 * gdb.arch/gdb1431.exp: New test script.
346
ae7dc4d8
MC
3472003-10-22 Michael Chastain <mec@shout.net>
348
349 * gdb.mi/pthreads.c: Add copyright notice.
350
c39d7427
MC
3512003-10-22 Michael Chastain <mec@shout.net>
352
353 * gdb.threads/pthreads.c: Add copyright notice.
354
8b7d96c1
MC
3552003-10-20 Michael Chastain <mec@shout.net>
356
357 * gdb.base/gdb1056.exp: New test script.
358
d1d69fdd
DJ
3592003-10-13 Daniel Jacobowitz <drow@mvista.com>
360
361 * gdb.threads/killed.exp: Use gdb_run_cmd.
362
7d605576
DJ
3632003-10-13 Daniel Jacobowitz <drow@mvista.com>
364
365 * gdb.base/gcore.exp: Issue an UNSUPPORTED and exit if we can't
366 create a core file.
367 * gdb.threads/gcore-thread.exp: Likewise.
368
618ec112
CV
3692003-10-13 Corinna Vinschen <vinschen@redhat.com>
370
371 * gdb.base/call-rt-st.c (struct bit_flags_char_t): New bitfield
372 type, based on char type.
373 (struct bit_flags_short_t): New bitfield type, based on short type.
374 (init_bit_flags_char): New fuction.
375 (init_bit_flags_short): Ditto.
376 (print_bit_flags_char): Ditto.
377 (print_bit_flags_short): Ditto.
378 (main): Add handling for bit_flags_char_t and bit_flags_short_t.
379
9367a73c
MC
3802003-10-11 Michael Chastain <mec@shout.net>
381
382 * gdb.base/call-rt-st.exp: Update copyright year.
383
1decf120
KI
3842003-10-10 Kei Sakamoto <sakamoto.kei@renesas.com>
385
386 * config/hmsirom.exp: Replace "Hitachi" with "Renesas".
387 * gdb.disasm/sh3.s: Ditto.
388
5445b2ae
DJ
3892003-10-07 Daniel Jacobowitz <drow@mvista.com>
390
391 * gdb.threads/switch-threads.exp: New test.
392 * gdb.threads/switch-threads.c: New source file.
393
aec24853
CV
3942003-10-07 Corinna Vinschen <vinschen@redhat.com>
395
396 * gdb.base/ending-run.exp: Add sh specific case.
397
adc7428d
AC
3982003-10-06 Andrew Cagney <cagney@redhat.com>
399
400 * gdb.base/watchpoint.exp: Delete obsolete clear_xfail.
401 * gdb.disasm/mn10200.exp: Delete obsolete file.
402
c9d37158
DJ
4032003-09-29 Daniel Jacobowitz <drow@mvista.com>
404
405 * ChangeLog: Correct an entry command.exp -> commands.exp.
406 * gdb.base/commands.exp (bp_deleted_in_command_test)
407 (temporary_breakpoint_commands): Check noargs.
408
79c2c32d
DC
4092003-09-25 David Carlton <carlton@kealia.com>
410
411 * gdb.cp/namespace.exp: Tweak comments. Add non-quoted versions
412 of some print tests, where appropriate. Add tests for C::D::cd,
413 E::ce, F::cXfX, G::XgX.
414 * gdb.cp/namespace.cc: Add XgX, cXfX, ce.
415
594e6d67
RE
4162003-09-25 Richard Earnshaw <rearnsha@arm.com>
417
418 * lib/java.exp (java_init): Import target_alias before using it.
419
10f0d451
DC
4202003-09-25 David Carlton <carlton@kealia.com>
421
422 * gdb.base/corefile.exp: Delete obsolete setup_xfail.
423
274bcba0
EZ
4242003-09-23 Elena Zannoni <ezannoni@redhat.com>
425
426 * gdb.base/selftest.exp: Accomodate more instruction reordering
427 weirdness.
428
cdbf20f7
MC
4292003-09-17 Michael Chastain <mec@shout.net>
430
431 * gdb.cp/gdb1355.exp: New file.
432 * gdb.cp/gdb1355.c: New file.
433
71e06f80
CV
4342003-09-15 Corinna Vinschen <vinschen@redhat.com>
435
436 * gdb.asm/asm-source.exp: Add sh*-*-* as supported target.
437 * gdb.asm/sh.inc: New file.
438
5c4e30ca
DC
4392003-09-11 David Carlton <carlton@kealia.com>
440
bd45b7af
DC
441 * gdb.cp/namespace.exp: Add tests for namespace types.
442 * gdb.cp/maint.exp (test_help): Test 'help maint cp namespace'.
5c4e30ca
DC
443 (test_namespace): New.
444
1c199746
EZ
4452003-09-11 Elena Zannoni <ezannoni@redhat.com>
446
447 * gdb.base/relocate.exp: Handle new gdb output at startup.
3fcf0ced 448 * gdb.stabs/weird.exp: Ditto.
1c199746 449
04ed252f
MC
4502003-09-08 Michael Chastain <mec@shout.net>
451
452 * gdb.base/gdb1250.c: Rename 'gamma' to 'my_gamma'.
453
d8a2d9e7
MC
4542003-09-07 Michael Chastain <mec@shout.net>
455
456 * gdb.cp/classes.exp: Accommodate both 'syntax error' and
457 'parse error'.
458
161afb24
MK
4592003-09-07 Mark Kettenis <m.kettenis@osp.nl>
460
461 * gdb.arch/i386-prologue.exp: Add checks for saved registers.
462
49f2741a
MC
4632003-08-30 Michael Chastain <mec@shout.net>
464
465 * gdb.base/selftest.exp: Remove support for m68k*-*-hpux.
466 * gdb.gdb/observer.exp: Ditto.
467 * gdb.gdb/xfullpath.exp: Ditto.
468
8afa723e
MK
4692003-08-29 Mark Kettenis <kettenis@gnu.org>
470
471 * gdb.base/interrupt.exp: XFAIL "call function when asleep" for
472 *-*-*bsd*.
473
f31dfe3b
JJ
4742003-08-28 Jeff Johnston <jjohnstn@redhat.com>
475
476 * gdb.base/dump.exp: Skip for ia64.
477
4630e498
JJ
4782003-08-25 Jeff Johnston <jjohnstn@redhat.com>
479
480 * gdb.asm/asm-source.exp: Add ia64 support.
481 * gdb.asm/ia64.inc: New file.
482
1105b7ef
MC
4832003-08-22 Michael Chastain <mec@shout.net>
484
485 * gdb.cp: New directory.
486 * gdb.cp/*: Copy from gdb.c++/*.
487 * gdb.c++/*: Remove.
488 * Makefile.in: Change gdb.c++ to gdb.cp.
489 * configure.in: Ditto.
490 * configure: Regnerate.
491
c945b932
MK
4922003-08-18 Mark Kettenis <kettenis@gnu.org>
493
494 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1338.
495 * gdb.arch/i386-prologue.c (gdb1338): Add function.
496
2b66634b
DJ
4972003-08-17 Daniel Jacobowitz <drow@mvista.com>
498
499 * mi-var-display.exp (-var-list-children weird): Accept function
500 pointers with argument types.
501 * mi1-var-display.exp (-var-list-children weird): Likewise.
502 * mi2-var-display.exp (-var-list-children weird): Likewise.
503
a356f73b
DJ
5042003-08-17 Daniel Jacobowitz <drow@mvista.com>
505
506 * gdb.base/annota3.exp: Add missing newline.
507
483417b8
MC
5082003-08-06 Michael Chastain <mec@shout.net>
509
510 * gdb.java/jmisc1.exp: Add test for pr gdb/1322.
511
c99c59c3
MS
5122003-08-12 Michael Snyder <msnyder@redhat.com>
513
514 * gdb.base/float.exp: Add test for SH.
515
55ed7501
MK
5162003-08-10 Mark Kettenis <kettenis@gnu.org>
517
518 * gdb.arch/i386-prologue.c, gdb.arch/i386-prologue.exp: New files.
519
1a371f2e
EZ
5202003-08-07 Elena Zannoni <ezannoni@redhat.com>
521
522 * gdb.base/completion.exp: Remove reduntant completion test
523 on filename.
524
e0f353ce
EZ
5252003-08-07 Elena Zannoni <ezannoni@redhat.com>
526
527 * gdb.base/attach.exp, gdb.base/detach.exp, gdb.base/gcore.exp,
528 gdb.mi/mi-basics.exp, gdb.threads/gcore-thread.exp,
529 gdb.trace/save-trace.exp: Make sure that full pathnames are
530 escaped correctly.
531
5710a1af
EZ
5322003-08-07 Elena Zannoni <ezannoni@redhat.com>
533
534 * configure.in: Don't generate config.h from config.hin.
535 * configure: Regenerate.
536 * config.hin: Remove file.
537 * gdb.mi/pthreads.c: Remove include of config.h, and other ifdefs.
538 * gdb.threads/pthreads.c: Ditto.
539
dcd81ce9
DJ
5402003-08-07 Daniel Jacobowitz <drow@mvista.com>
541
542 From Kei Sakamoto <sakamoto.kei@renesas.com>:
543 * gdb.asm/asm-source.exp : Add -lgloss to link-flags.
544 * gdb.asm/m32r.inc : Remove an illegal nop after bl instruction.
545 Replace ld24 with seth/add3.
546
6009d884
AC
5472003-08-02 Andrew Cagney <cagney@redhat.com>
548
549 * gdb.base/annota3.exp: New file.
550 * gdb.base/annota3.c: New file.
551 * gdb.c++/annota3.exp: New file.
552 * gdb.c++/annota3.cc: New file.
553
51514e06
MC
5542003-07-29 Michael Chastain <mec@shout.net>
555
556 * gdb.threads/tls.c (spin): Check errno only if sem_wait
557 actually failed.
558 (do_pass): Likewise.
559 * gdb.threads/tls.exp: Always initialize no_of_threads.
560
4ee6625b
DJ
5612003-07-27 Daniel Jacobowitz <drow@mvista.com>
562
563 * gdb.threads/print-threads.exp (test_all_threads): Loosen KFAIL
564 pattern.
565 * gdb.threads/tls-shared.exp: Don't use gdb_suppress_entire_file.
566 * gdb.threads/tls.exp: Recognize one case of the host library not
567 supporting TLS.
568
225f2bf6
AC
5692003-07-27 Andrew Cagney <cagney@redhat.com>
570
571 * gdb.base/fileio.exp: Use SH when running commands using
572 remote_exec.
573
bcb27c9f
DJ
5742003-07-24 Daniel Jacobowitz <drow@mvista.com>
575
576 From Kei Sakamoto <sakamoto.kei@renesas.com>:
577 * gdb.base/relocate.c (dummy): New padding array.
578
3d67be83
MS
5792003-07-22 Michael Snyder <msnyder@redhat.com>
580
581 * gdb.disasm/8300s.s: Fix syntax of bsr insn.
582
583 * gdb.disasm/h8300s.exp : Minor changes in disassembler output require
584 patterns to be more general, accepting old and new output.
585 Some output chars (such as '+') also must be quoted.
586 Some addresses are displayed numerically instead of
587 symbolically.
588
57ba3b85
MS
5892003-07-23 Michael Snyder <msnyder@redhat.com>
590
686d097c
MS
591 * gdb.base/return2.exp: Don't test long-long return.
592
57ba3b85
MS
593 * gdb.disasm/t01_mov.s: New file, h8300sx disassembly tests.
594 * gdb.disasm/t01_mov.exp: Ditto.
595 * gdb.disasm/t02_mova.s: Ditto.
596 * gdb.disasm/t02_mova.exp: Ditto.
597 * gdb.disasm/t03_add.s: Ditto.
598 * gdb.disasm/t03_add.exp: Ditto.
599 * gdb.disasm/t04_sub.s: Ditto.
600 * gdb.disasm/t04_sub.exp: Ditto.
601 * gdb.disasm/t05_cmp.s: Ditto.
602 * gdb.disasm/t05_cmp.exp: Ditto.
603 * gdb.disasm/t06_ari2.s: Ditto.
604 * gdb.disasm/t06_ari2.exp: Ditto.
605 * gdb.disasm/t07_ari3.s: Ditto.
606 * gdb.disasm/t07_ari3.exp: Ditto.
607 * gdb.disasm/t08_or.s: Ditto.
608 * gdb.disasm/t08_or.exp: Ditto.
609 * gdb.disasm/t09_xor.s: Ditto.
610 * gdb.disasm/t09_xor.exp: Ditto.
611 * gdb.disasm/t10_and.s: Ditto.
612 * gdb.disasm/t10_and.exp: Ditto.
613 * gdb.disasm/t11_logs.s: Ditto.
614 * gdb.disasm/t11_logs.exp: Ditto.
615 * gdb.disasm/t12_bit.s: Ditto.
616 * gdb.disasm/t12_bit.exp: Ditto.
617 * gdb.disasm/t13_otr.s: Ditto.
618 * gdb.disasm/t13_otr.exp: Ditto.
619
e00759ef
EZ
6202003-07-22 Elena Zannoni <ezannoni@redhat.com>
621
622 * gdb.threads/tls.exp :Add kfail for 'info address' case.
623
8bc2021f
EZ
6242003-07-22 Elena Zannoni <ezannoni@redhat.com>
625
626 * gdb.threads/tls.c : New file.
627 * gdb.threads/tls.exp : New file.
628 * gdb.threads/tls-main.c : New file.
629 * gdb.threads/tls-shared.c : New file.
630 * gdb.threads/tls-shared.exp : New file.
631
89320c4c
AS
6322003-07-22 Andreas Schwab <schwab@suse.de>
633
634 * gdb.asm/powerpc.inc (gdbasm_startup): Force alignment.
635
180dea7c
AS
6362003-07-20 Andreas Schwab <schwab@suse.de>
637
638 * gdb.base/selftest.exp (do_steps_and_nexts): Add more patterns
639 due to insn reordering.
640
0714963c
AC
6412003-07-15 Andrew Cagney <cagney@redhat.com>
642
643 * gdb.asm/asm-source.exp: Do not allow "start" in the backtrace.
644
98a23b3f
MC
6452003-07-15 Michael Chastain <mec@shout.net>
646
647 * gdb.base/gdb1250.exp: New file.
648 * gdb.base/gdb1250.c: New file.
649
27e417a2
ML
6502003-07-09 Michal Ludvig <mludvig@suse.cz>
651
652 * gdb.c++/templates.exp (test_ptype_of_templates): Recognize
653 expansion of size_t to 'unsigned long', not only to 'unsigned'.
654
8bc2021f
EZ
6552003-07-09 Elena Zannoni <ezannoni@redhat.com>
656
657 * gdb.threads/tls.c: New file.
658 * gdb.threads/tls.exp: New file.
659 * gdb.threads/tls-main.c: New file.
660 * gdb.threads/tls-shared.c: New file.
661 * gdb.threads/tls-shared.exp: New file.
662
d99968dc
EZ
6632003-07-09 Elena Zannoni <ezannoni@redhat.com>
664
665 * gdb.base/annota1.exp: Make sure that we properly escape the
666 full path of the source file. Xfail more permissive patterns,
667 due to a compiler debug info problem.
668
83876b3b
AS
6692003-07-07 Andreas Schwab <schwab@suse.de>
670
2705e972
AS
671 * gdb.asm/m68k.inc: New file.
672 * gdb.asm/asm-source.exp: Use it for m68k-*-*.
673
83876b3b
AS
674 * gdb.objc/basicclass.exp ("Call an Objective-C method with no
675 arguments"): Also match negative number.
676
677 * gdb.base/float.exp ("info float"): Add test for m68k-*-*.
678
3a871b37
DJ
6792003-07-03 Daniel Jacobowitz <drow@mvista.com>
680
681 * gdb.base/store.c (charest): New typedef.
682 (add_char): Rename to add_charest, update.
683 (wack_char): Rename to wack_charest, update types. Return l + r
684 to keep r live across the call.
685 (wack_short, wack_int, wack_long, wack_longest, wack_float)
686 (wack_double, wack_doublest): Return l + r to keep r live across
687 the call.
688 * gdb.base/store.exp: Accomodate store.c changes.
689
b2a7f303
DC
6902003-06-30 David Carlton <carlton@kealia.com>
691
692 * gdb.c++/maint.exp (test_invalid_name): New.
693 (test_first_component): Add tests for invalid names.
694
3c6cb4a1
MC
6952003-06-29 Michael Chastain <mec@shout.net>
696
697 * gdb.c++/inherit.exp (test_print_svi_classes): Accept gdb
698 output of '<VTT for class>' for virtual base classes.
699
f1c2644b
DJ
7002003-06-29 Daniel Jacobowitz <drow@mvista.com>
701
702 * gdb.base/completion.exp: Tab-complete "complet" instead of
703 "compl".
704 * gdb.base/complex.exp, gdb.base/complex.c: New files.
705
18080350
DJ
7062003-06-29 Daniel Jacobowitz <drow@mvista.com>
707
708 * gdb.base/constvars.exp: Remove most xfails for GCC 3.x.
709 * gdb.base/volatile.exp: Likewise.
710
f56973f8
DJ
7112003-06-29 Daniel Jacobowitz <drow@mvista.com>
712
713 * gdb.threads/print-threads.exp (test_all_threads): Add kfail for
714 gdb/1265.
715
7162003-06-28 Michael Chastain <mec@shout.net>
48fe539f
DJ
717 Daniel Jacobowitz <drow@mvista.com>
718
719 * gdb.base/selftest.exp (do_steps_and_nexts): Increase maximum
720 initial line count of 'captured_main' from 26 to 32.
721 (test_with_self): Allow xmalloc call to be interleaved with the
722 preceding two lines.
723
e766d4d6
JB
7242003-06-24 Joel Brobecker <brobecker@gnat.com>
725
726 * gdb.base/bang.exp: New testcase.
727
f125c9a4
JB
7282003-06-23 Joel Brobecker <brobecker@gnat.com>
729
730 * gdb.base/langs.exp: Add some tests for the "minimal" language
731 support.
732
6e25beaf
EZ
7332003-06-23 Elena Zannoni <ezannoni@redhat.com>
734
735 * gdb.objc/basicclass.exp: Return -1 if we cannot compile
736 the testcase.
737
2f816dda
DJ
7382003-06-22 Daniel Jacobowitz <drow@mvista.com>
739
740 * gdb.base/relocate.exp: Test add-symbol-file with a variable
741 offset.
742
db5a5748
DJ
7432003-06-22 Daniel Jacobowitz <drow@mvista.com>
744
745 * gdb.c++/pr-1210.cc: New file.
746 * gdb.c++/pr-1210.exp: New file.
747
1df0c130
DJ
7482003-06-21 Daniel Jacobowitz <drow@mvista.com>
749
750 * lib/mi-support.exp (mi_run_cmd): Expect an MI response to
751 000-exec-continue.
752
a92feac0
MK
7532003-06-15 Mark Kettenis <kettenis@gnu.org>
754
755 * gdb.base/attach.exp: Use -1 for the ID of a nonexistent process
756 on *-*-*bsd* instead of *-*-freebsd*.
757
81a58f5b
AC
7582003-06-14 Andrew Cagney <cagney@redhat.com>
759
760 * gdb.base/store.exp: Test longest and doublest. Test all
761 parameters. Weaken return statement match.
762 * gdb.base/store.c: Add longest and doublest - aka long long and
763 long double functions. Put all parameters into local register
764 variables. Use negative values.
765
b257a0d3
AC
7662003-06-14 Andrew Cagney <cagney@redhat.com>
767
768 * gdb.base/fileio.c: Include <errno.h>, and <sys/wait.h>. Gag
769 -Wformat errors. Add lost line. Use WEXITSTATUS to get system
770 exit status.
771 * gdb.base/fileio.exp: Disable target when nointerrupts and
772 noinferiorio, instead of limiting it to remote. Use remote_exec
773 instead of system.
774
21c38304
JJ
7752003-06-12 Jeff Johnston <jjohnstn@redhat.com>
776
777 * gdb.base/float.exp: Add ia64 support.
778
1bcdb424
CV
7792003-06-12 Corinna Vinschen <vinschen@redhat.com>
780
781 * gdb.base/fileio.exp: Run only on remote targets.
782
6aeb981f
CV
7832003-06-10 Corinna Vinschen <vinschen@redhat.com>
784
785 * gdb.base/fileio.c: New file, testing File-I/O.
786 * gdb.base/fileio.exp: Ditto.
787
53df362e
RG
7882003-06-09 Raoul Gough <RaoulGough@yahoo.co.uk>
789
790 * gdb.base/shreloc.exp: New file, check symbol values obtained from
791 shared objects after relocation at load time (gdb PR/1132).
792 * gdb.base/shreloc.c, gdb.base/shreloc1.c, gdb.base/shreloc2.c:
793 as above, part of the shared object relocation test.
794
ffee1b46
MK
7952003-06-08 Mark Kettenis <kettenis@gnu.org>
796
b5ca3722
MK
797 * gdb.base/readline.exp: Add tests for operate-and-get-next with a
798 fully filled history list.
799 * gdb.base/gdb_history: New file.
800
03ed860d
MK
801 * gdb.base/signals.exp: XFAIL "continue to func1" on
802 i*86-*-freebsd*.
803
ffee1b46
MK
804 * gdb.base/attach.exp: When trying to attach to a nonexistent
805 process, make it possible to specify the PID based on the target,
806 and do so for *-*-freebsd*.
807
d80dbb52
RH
8082003-06-02 Richard Henderson <rth@redhat.com>
809
810 * gdb.base/float.exp: Add expected regexp for alpha-*-*.
811
6dd77b81
RH
8122003-06-02 Richard Henderson <rth@redhat.com>
813
814 * gdb.base/selftest.exp: Next over lim_at_start initialization.
815
f6347e16
RH
8162003-06-02 Richard Henderson <rth@redhat.com>
817
818 * gdb.base/dump.exp [alpha*-*-*]: Add -taso linker switch.
819
2c161407
DJ
8202003-06-01 Daniel Jacobowitz <drow@mvista.com>
821
822 * gdb.asm/asm-source.exp: Dissassemble from &globalvar instead
823 of globalvar.
824
572eb746
MK
8252003-06-01 Mark Kettenis <kettenis@gnu.org>
826
827 * gdb.asm/asm-source.exp: Check for memory read errors in
828 disassembler test on *BSD too.
829
9e9617a5
RH
8302003-06-01 Richard Henderson <rth@redhat.com>
831
832 * gdb.asm/alpha.inc (gdbasm_enter): Use numeric register names
833 for .frame.
834 (gdbasm_call): Lose ldgp.
835 (gdbasm_startup): Add frame information.
836 * gdb.asm/asm-source.exp (alpha*-*): Add -no-mdebug to asm-flags.
837
7b34ad4e
MK
8382003-05-31 Mark Kettenis <kettenis@gnu.org>
839
840 * gdb.base/float.exp: Expect similar output for x86_64-*-* as for
841 i?86-*-*.
842
10059fdf
MK
8432003-05-30 Mark Kettenis <kettenis@gnu.org>
844
845 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
846 FreeBSD.
847
acf4b816
RH
8482003-05-29 Richard Henderson <rth@redhat.com>
849
850 * gdb.asm/alpha.inc: New file.
851 * gdb.asm/asm-source.exp: Use it.
852
e9ecd949
JB
8532003-05-29 Jim Blandy <jimb@redhat.com>
854
855 * gdb.base/corefile.exp: Find corefiles on Linux, which names them
856 'core.PID'.
857
e3e5a4f3
JB
8582003-05-22 Jim Blandy <jimb@redhat.com>
859
860 * gdb.base/corefile.exp: Tolerate stuff after argument parens in
861 backtrace.
862
72fe3d25
DC
8632003-05-20 David Carlton <carlton@math.stanford.edu>
864
865 * gdb.c++/namespace1.cc: Actually do 'cvs add' before committing
866 this time.
867
58da2eb2
DC
8682003-05-19 David Carlton <carlton@bactrian.org>
869
870 * gdb.c++/rtti.exp: New file, containing tests for PR c++/488.
871 * gdb.c++/rtti.h, gdb.c++/rtti1.cc, gdb.c++/rtti2.cc: Ditto.
872
1fcb5155
DC
8732003-05-19 David Carlton <carlton@bactrian.org>
874
875 * gdb.c++/namespace.exp: Add namespace scope and anonymous
876 namespace tests.
877 Bump copyright date.
878 * gdb.c++/namespace.cc: Add anonymous namespace and namespace C.
879 (main): Call C::D::marker2.
880 * gdb.c++/namespace1.cc: New file.
881
85e85163
JJ
8822003-05-14 Jeff Johnston <jjohnstn@redhat.com>
883
884 Roland McGrath <roland@redhat.com>
885 * gdb.threads/linux-dp.exp: Account for fact that in nptl model
886 there is no manager thread.
887
a25fbfec
JJ
8882003-05-08 Jeff Johnston <jjohnstn@redhat.com>
889
890 * gdb.threads/schedlock.exp: Remove assumption that all threads
891 will run in a particular small time slice. Also ensure we break
892 in one of the child threads rather than the main thread.
893
be375bae
JB
8942003-05-07 Jim Blandy <jimb@redhat.com>
895
09bf6082
JB
896 Add support for assembly source testing on the s390x.
897 * gdb.asm/asm-source.exp: Add a case for the s390x-*-*
898 architecture.
899 * gdb.asm/s390x.inc: New file.
900
be375bae
JB
901 * gdb.asm/asm-source.exp: Use a 'switch -glob' statement, not a
902 succession of 'if' statements.
903
00905d52
AC
9042003-05-05 Andrew Cagney <cagney@redhat.com>
905
906 * gdb.base/maint.exp: Add tests for "maint print dummy-frames".
907
b1e29e33
AC
9082003-05-05 Andrew Cagney <cagney@redhat.com>
909
910 * gdb.base/watchpoint.exp: Rename CALL_DUMMY_BREAKPOINT_OFFSET to
911 DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET in comments.
912
e33d66ec
EZ
9132003-05-02 Elena Zannoni <ezannoni@redhat.com>
914
915 * gdb.base/charset.exp: Update based on new behavior of set/show
916 charset commands.
917
2b6fd0d8
AC
9182003-05-01 Andrew Cagney <cagney@redhat.com>
919
920 * gdb.asm/asm-source.exp: Check that "disassm" and "x/i" of a
921 variable do not give memory errors.
922
130cacce
AF
9232003-04-30 Adam Fedor <fedor@gnu.org>
924
925 * Makefile.in (ALL_SUBDIRS): Add gdb.objc
926 * configure.in (AC_OUTPUT): Add gdb.objc/Makefile
927 * gdb.objc/Makefile.in, gdb.objc/basicclass.exp,
928 gdb.objc/basicclass.m: : New files
929
930 * lib/gdb.exp (gdb_compile_objc): New procedure.
931
bea71854
DJ
9322003-04-27 Daniel Jacobowitz <drow@mvista.com>
933
934 * gdb.base/signals.exp: Make backtrace tests more specific.
935
0f20eeea
DC
9362003-04-23 David Carlton <carlton@bactrian.org>
937
938 * gdb.c++/maint.exp (test_first_component): Add tests for
939 'operator' in more locations.
940
c8c4d8dc
KB
9412003-04-16 Kevin Buettner <kevinb@redhat.com>
942
943 * gdb.base/args.exp: Invoke gdb_load for simulator targets.
944
3fe60e3c
EZ
9452003-04-16 Elena Zannoni <ezannoni@redhat.com>
946
947 * gdb.base/completion.exp: Make 'info func mark' complete on 'info
948 func marke' instead. Update test name.
949
9219021c
DC
9502003-04-15 David Carlton <carlton@math.stanford.edu>
951
952 * gdb.c++/maint.exp: New file.
953
5dd55bdd
EZ
9542003-04-14 Elena Zannoni <ezannoni@redhat.com>
955
956 * gdb.threads/schedlock.c: Change type of thread function argument
957 to long, to avoid warnings on 64-bit platforms.
958
00890572
EZ
9592003-04-14 Elena Zannoni <ezannoni@redhat.com>
960
961 * gdb.base/attach.exp: Add new message from ptrace in case of
962 attaching to nonexistent process.
963
93201743
JB
9642003-04-11 Jim Blandy <jimb@redhat.com>
965
966 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
967 gdb.c++/userdef.cc: Place comments on the lines to which the
968 marker function might return.
969 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
970 gdb.c++/userdef.exp: Look for those comments to check that we've
971 returned to the right place, instead of checking line numbers.
972
2a11c64d
EZ
9732003-04-11 Elena Zannoni <ezannoni@redhat.com>
974
975 * gdb.threads/pthreads.exp (test_startup): When setting a breakpoint
976 match on sourcefile name, instead of directory name.
977
68ab8fc5
EZ
9782003-04-10 Elena Zannoni <ezannoni@redhat.com>
979
980 * gdb.base/completion.exp: Use string_to_regexp to match the
981 working directory name.
982
5624293a
JB
9832003-04-09 Jim Blandy <jimb@redhat.com>
984
985 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
986 gdb.c++/userdef.exp: If GDB fails to restore the selected frame
987 after an inferior function call, report the failure, but allow the
988 test to continue.
989
f1f02ee4
SC
9902003-04-05 Stephane Carrez <stcarrez@nerim.fr>
991
992 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
993 with -DPROTOTYPES.
994
6eb79af0
SC
9952003-04-05 Stephane Carrez <stcarrez@nerim.fr>
996
997 * gdb.base/break.exp: Revert last patch.
998
8dfb4cf0
SC
9992003-04-04 Stephane Carrez <stcarrez@nerim.fr>
1000
1001 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
1002 with -DPROTOTYPES.
1003
ed4c619a
AC
10042003-04-02 Andrew Cagney <cagney@redhat.com>
1005
1006 * gdb.base/callfuncs.exp: Make "print add" messages unique.
1007 * gdb.base/ending-run.exp: Put spaces around "breakpoint" to stop
1008 matching directories by the name breakpoint.
1009 * gdb.base/pointers.exp: Make "ptype pppC" message consistent.
1010 Make "continue to marker1" consistent.
1011 * gdb.base/call-rt-st.exp: Make "finish out from loop_count"
1012 message consistent.
1013 * lib/gdb.exp: Put "the program is no longer running", and "the
1014 program exited" in parenthesis.
1015 * lib/mi-support.exp: Ditto.
1016
4e35d5f0
BR
10172003-04-02 Bob Rossi <bob_rossi@cox.net>
1018
1019 * gdb.mi/mi-file.exp: New file for -file-list-exec-source-file.
1020
71900fe8
AC
10212003-03-29 Andrew Cagney <cagney@redhat.com>
1022
1023 * gdb.base/sizeof.c (main): Print the value of '\377'.
1024 * gdb.base/sizeof.exp: Check the sign of '\377'.
1025
c0655a16
MC
10262003-03-27 Michael Chastain <mec@shout.net>
1027
1028 * gdb.base/gdb1090.exp: New file.
1029 * gdb.base/gdb1090.cc: New file.
1030
5b2a3989
JB
10312003-03-27 J. Brobecker <brobecker@gnat.com>
1032
1033 * gdb.gdb/observer.exp: New regression test.
1034
79876890
MC
10352003-03-27 Michael Chastain <mec@shout.net>
1036
1037 * gdb.base/list.exp: Remove setup_xfail_format for DWARF 1.
1038 * gdb.base/ptype.exp: Likewise.
1039
6eac95e3
CV
10402003-03-27 Corinna Vinschen <vinschen@redhat.com>
1041
1042 * gdb.c++/casts.exp: Fix startup to run also on embedded targets.
1043
e8c71839
MC
10442003-03-26 Michael Chastain <mec@shout.net>
1045
1046 * gdb.base/ptype.exp: Actually use some typedef'd types.
1047
71b10041
SC
10482003-03-21 Stephane Carrez <stcarrez@nerim.fr>
1049
1050 * gdb.asm/asm-source.exp: Set asm-arch for m6811 and m6812.
1051 * gdb.asm/m68hc11.inc: New file for HC11/HC12 macros.
1052
2512cf80
CV
10532003-03-20 Corinna Vinschen <vinschen@redhat.com>
1054
1055 * gdb.base/default.exp: Fix regular expression.
1056
0d195a4f
CV
10572003-03-20 Corinna Vinschen <vinschen@redhat.com>
1058
1059 * gdb.base/args.exp: Fix regular expression.
1060
8a2dbca8
CV
10612003-03-20 Corinna Vinschen <vinschen@redhat.com>
1062
1063 * gdb.base/help.exp: Allow Win32 child process.
1064
bf028682
CV
10652003-03-20 Corinna Vinschen <vinschen@redhat.com>
1066
1067 * gdb.base/ending-run.exp: Check for Cygwin specific wrapper function
1068 when stepping out of main().
1069
182dbe85
CV
10702003-03-20 Corinna Vinschen <vinschen@redhat.com>
1071
1072 * gdb.base/default.exp: Check for win32 specific message when calling
1073 "run" without executable.
1074
d67a6ba5
CV
10752003-03-20 Corinna Vinschen <vinschen@redhat.com>
1076
1077 * gdb.base/args.exp: Expect .exe in output.
1078
a955b5bb
CV
10792003-03-20 Corinna Vinschen <vinschen@redhat.com>
1080
1081 * gdb.asm/asm-source.exp: Add appropriate --entry linker flag for
1082 Cygwin native.
1083
bf6bad4b
AC
10842003-03-17 Andrew Cagney <cagney@redhat.com>
1085
1086 From Elena Zannoni <ezannoni@redhat.com>. Test e500 abi and
1087 vector registes.
1088 * gdb.arch/e500-regs.c, gdb.arch/e500-regs.exp: New files.
1089 * gdb.arch/e500-abi.c, gdb.arch/e500-abi.exp: New files.
1090
293e9a31
DC
10912003-03-17 David Carlton <carlton@math.stanford.edu>
1092
1093 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): New
1094 test, for PR breakpoints/38.
1095 Call test_watchpoint_and_breakpoint.
1096 * gdb.base/watchpoint.c (func3): New function.
1097 (main): Call func3.
1098
5330f2db
DC
10992003-03-04 David Carlton <carlton@math.stanford.edu>
1100
1101 * gdb.c++/templates.exp (do_tests): Accept valid const in "print
1102 Garply<Garply<char> >:: garply".
1103 (test_ptype_of_templates): KFAIL "ptype T5<int>" and "ptype t5i"
1104 with respect to PR c++/1111; note also PR c++/1113.
1105 (test_template_breakpoints): KFAIL "constructor breakpoint" with
1106 respect to PR c++/1062.
1107 KFAIL "destructor breakpoint" with respect to PR c++/1112.
1108
6ece72da
DC
11092003-03-03 David Carlton <carlton@math.stanford.edu>
1110
1111 * gdb.c++/classes.exp (test_enums): KFAIL "ptype obj_with_enum"
1112 with respect to PR c++/57.
1113 KFAIL "print (ClassWithEnum::PrivEnum) 42" with respect to PR
1114 c++/826.
1115 Create "print ('ClassWithEnum::PrivEnum') 42"; KFAIL it with
1116 respect to PR c++/57.
1117
85ca1584
DC
11182003-03-03 David Carlton <carlton@math.stanford.edu>
1119
1120 * gdb.c++/templates.exp (do_tests): Convert the KFAILs with
1121 respect to PR c++/33 into FAILs.
1122
98e9c5b8
MC
11232003-03-03 Michael Chastain <mec@shout.net>
1124
7bedbf27
MC
1125 * configure.in: Update copyright years.
1126
11272003-03-03 Michael Chastain <mec@shout.net>
1128
1129 * Makefile.in: Update copyright years.
98e9c5b8 1130
f683e100
DC
11312003-02-28 David Carlton <carlton@math.stanford.edu>
1132
1133 * gdb.c++/classes.exp (test_ptype_class_objects): Accept it if we
1134 print class instead of struct and/or superfluous protection
1135 specifiers, as long as the resulting output is equivalent to the
1136 source code.
1137 Delete FIXME from end of messages on tests that don't need
1138 fixing.
1139
a9e0cf2c
DC
11402003-02-28 David Carlton <carlton@math.stanford.edu>
1141
1142 * gdb.c++/templates.exp (do_tests): Allow const in the two
1143 Foo<volatile char *>::foo tests.
1144
e8d359df
MS
11452003-02-27 Michael Snyder <msnyder@redhat.com>
1146
1147 * gdb.base/restore.c (main): Return zero, so exit code
1148 will be consistant.
1149
0b71dc91
DC
11502003-02-26 David Carlton <carlton@math.stanford.edu>
1151
1152 * gdb.c++/templates.exp (do_tests): KFAIL the "print Foo<volatile
1153 char *>::foo" test with respect to PR c++/33. Create a new test
1154 which is identical to that one except that it doesn't put the
1155 space between the "char" and the "*"; KFAIL it, too.
1156
dd14ab43
DC
11572003-02-26 David Carlton <carlton@math.stanford.edu>
1158
1159 * gdb.c++/templates.exp (do_tests): Convert XFAILs about printing
1160 template types into either PASSes or KFAILs (corresponding to PR
1161 c++/57). Tweak indentation. Update copyright.
1162
1146c7f1
SC
11632003-02-23 Stephane Carrez <stcarrez@nerim.fr>
1164
1165 * lib/gdb.exp: Don't execute C++ tests on m6811/m6812 targets.
1166
74641dfb
MC
11672003-02-13 Michael Chastain <mec@shout.net>
1168
1169 * gdb.base/exprs.exp: Remove i960 remnants.
1170 * gdb.base/funcargs.exp: Likewise.
1171 * gdb.base/list.exp: Likewise.
1172 * gdb.base/ptype.exp: Likewise.
1173
559cd2d0
DC
11742003-02-14 David Carlton <carlton@math.stanford.edu>
1175
1176 * gdb.c++/virtfunc.exp (test_virtual_calls): Change 'print
1177 pEe->D::vg()" from XFAIL to KFAIL.
1178
c4f90d87
JM
11792003-02-13 Jason Molenda (jmolenda@apple.com)
1180
1181 * gdb.base/maint.exp: Update maint print statistics regexp to include
1182 new entries.
1183
cbc4d97c
MC
11842003-02-13 Michael Chastain <mec@shout.net>
1185
1186 * gdb.c++/inherit.exp: Remove call to get_debug_format.
1187
40f235b7
MC
11882003-02-12 Michael Chastain <mec@shout.net>
1189
1190 * gdb.c++/classes.exp: Remove setup_xfail_format for DWARF 1.
1191 * gdb.c++/inherit.exp: Likewise.
1192 * gdb.c++/cplusfuncs.exp: Remove suppression logic for DWARF 1.
1193 * gdb.c++/templates.exp: Likewise.
1194 * gdb.c++/virtfunc.exp: Likewise.
1195
c56716b0
JM
11962003-02-06 Jason Molenda (jason-cl@molenda.com)
1197
1198 * gdb.mi/mi-syn-frame.c (subroutine): Add a comment explaining
1199 why the code is written that way.
1200
070afcf8
MC
12012003-02-05 Michael Chastain <mec@shout.net>
1202
1203 * gdb.base/dump.exp: Add missing copyright line.
1204
5d0331e5
JM
12052003-02-05 Jason Molenda (jason-cl@molenda.com)
1206
f7ae6d3e 1207 * gdb.mi/mi-syn-frame.c (subroutine): Add an extra statement
5d0331e5
JM
1208 at the beginning so the breakpoint doesn't get set on the loop.
1209
92851186
MC
12102003-02-05 Michael Chastain <mec@shout.net>
1211
1212 * gdb.c++/local.exp: Relax the test for PR gdb/825 to accept
1213 output for configurations with gcc 2.95.3.
1214
cbf1e085
AC
12152003-02-05 Keith Seitz <keiths@redhat.com>
1216 Andrew Cagney <ac131313@redhat.com>
1217
1218 * gdb.mi/mi-cli.exp: New file.
1219
29518e1e
MC
12202003-02-04 Michael Chastain <mec@shout.net>
1221
1222 * gdb.c++/anon-union.exp: Do not call gdb_suppress_entire_file.
1223 Call perror and then continue.
1224
5af1d5f3
MC
12252003-02-03 Michael Chastain <mec@shout.net>
1226
1227 * gdb.c++/pr-1023.cc: New file.
1228 * gdb.c++/pr-1023.exp: New file.
1229
6b549786
JB
12302003-02-05 Jim Blandy <jimb@redhat.com>
1231
1232 * gdb.c++/local.exp: Don't expect Local to be in scope in main;
1233 it's local to foobar. Check for it there, and check that it's not
1234 present in main.
1235 * gdb.c++/local.cc (marker2): New function.
1236 (foobar): Call marker1.
1237 (main): Call marker2 instead of marker1.
1238
67f16606
AC
12392003-02-04 Andrew Cagney <ac131313@redhat.com>
1240
1241 * gdb.disasm/mn10200.exp: Obsolete file.
1242 * gdb.trace/Makefile.in (clean mostlyclean): Remove mn10200.
1243 * gdb.disasm/Makefile.in (clean mostlyclean): Remove mn10200.
1244 * gdb.base/watchpoint.exp: Mark the mn10200 xfails as obsolete.
1245
1c5cb38e
DC
12462003-02-04 David Carlton <carlton@math.stanford.edu>
1247
1248 * gdb.c++/overload.exp: Test intToChar(1).
1249 * gdb.c++/overload.cc (intToChar): New.
1250 (main): Call intToChar.
1251
d1fe6965
DC
12522003-02-03 David Carlton <carlton@math.stanford.edu>
1253
1254 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): Add
1255 'might_kfail' arg.
1256 KFAIL some of the continue_to_bp_overloaded calls, according to
1257 PR c++/1025.
1258
9ba61c5d
MC
12592003-02-01 Michael Chastain <mec@shout.net>
1260
1261 * gdb.base/advance.c (marker1): New marker function.
1262 * gdb.base/advance.exp: When the 'advance' command lands on the
1263 return breakpoint, it can legitimately stop on either the
1264 current line or the next line. Accommodate both outcomes.
1265 * gdb.base/until.exp: Likewise.
1266
e7494ffb
AC
12672003-02-02 Andrew Cagney <ac131313@redhat.com>
1268
1269 2002-11-10 Jason Molenda (jason-cl@molenda.com):
1270 * gdb.mi/mi-var-child.exp: -var-list-children's CHILDREN field is
1271 now a list, not a tuple.
1272 * gdb.mi/mi-var-display.exp: Ditto.
1273 * gdb.mi/gdb792.exp: Ditto.
1274
075559bc
AC
12752003-02-01 Andrew Cagney <ac131313@redhat.com>
1276
1277 From 2002-11-09 Jason Molenda (jason-cl@molenda.com):
1278 * gdb.mi/mi-syn-frame.exp: New tests for synthetic frames in
1279 stack backtraces.
1280 * gdb.mi/mi-syn-frame.c: Part of same.
1281
2bd4c7b1
MK
12822003-02-01 Mark Kettenis <kettenis@gnu.org>
1283
1284 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
1285 gdb.mi/mi1-pthreads.exp: Return instead of calling
1286 gdb_suppress_entire_file.
1287
eabd8992
MS
12882003-02-01 Mark Salter <msalter@redhat.com>
1289
1290 * gdb.asm/arm.inc (gdbasm_startup): Clear frame pointer, not sp.
1291
71469e2f
MS
12922003-01-31 Mark Salter <msalter@redhat.com>
1293
1294 * lib/mi-support.exp (mi_gdb_load): Support remote targets.
1295 Support empty arg.
1296
38a94d44
MC
12972003-01-30 Michael Chastain <mec@shout.net>
1298
1299 * lib/gdb.exp: Revert patch of 2003-01-06, which set LC_ALL.
1300 This was a workaround for a UTF-8 bug in readline 4.3. The bug
1301 has been fixed in gdb/readline on 2003-01-09.
1302
19ea9e73
MS
13032003-01-29 Michael Snyder <msnyder@redhat.com>
1304
e8d359df
MS
1305 * gdb.base/maint.exp: Allow for leading underscore in symbol.
1306 * gdb.base/display.exp: Allow for leading underscore in symbol.
19ea9e73
MS
1307 * gdb.base/args.exp: Skip if target does not support args passing.
1308
2307bd6a
DJ
13092003-01-22 Daniel Jacobowitz <drow@mvista.com>
1310
19ea9e73 1311 * lib/gdb.exp (gdb_test_multiple): New function, cloned from
2307bd6a
DJ
1312 gdb_test. Accept a list of expect arguments as the third
1313 parameter.
1314 (gdb_test): Use it.
1315
f2dd3617
EZ
13162003-01-20 Elena Zannoni <ezannoni@redhat.com>
1317
1318 * gdb.arch/altivec-abi.exp: Set variable 'srcfile' differently, to
1319 allow for different test tree configurations. Update some
1320 tescases accordingly.
1321 * gdb.arch/altivec-regs.exp: Ditto.
1322 * gdb.asm/asm-source.exp: Ditto.
1323 * gdb.base/advance.exp: Ditto.
1324 * gdb.base/display.exp: Ditto.
1325 * gdb.base/long_long.exp: Ditto.
1326 * gdb.base/mips_pro.exp: Ditto.
1327 * gdb.base/overlays.exp: Ditto.
1328 * gdb.base/relocate.exp: Ditto.
1329 * gdb.base/setshow.exp: Ditto.
1330 * gdb.base/step-line.exp: Ditto.
1331 * gdb.base/step-test.exp: Ditto.
1332 * gdb.base/until.exp: Ditto.
1333 * gdb.c++/virtfunc.exp: Get rid of variable 'src'.
1334
c71cdefd
DC
13352003-01-17 David Carlton <carlton@math.stanford.edu>
1336
1337 * gdb.c++/demangle.exp (test_lucid_style_demangling): KFAIL test
1338 corresponding to PR c++/945.
1339 Update copyright.
1340
fdba05d7
DC
13412003-01-17 David Carlton <carlton@math.stanford.edu>
1342
1343 * gdb.c++/inherit.exp (test_print_mi_members): KFAIL tests
1344 corresponding to PR c++/68.
1345
13462003-01-17 David Carlton <carlton@math.stanford.edu>
d2b29e01
DC
1347
1348 * gdb.c++/cplusfuncs.exp (print_addr_2_kfail): New procedure.
1349 (test_paddr_hairy_functions): Call print_addr_2_kfail for
1350 hairyfunc5 through hairyfunc7. KFAIL for PR c++/19.
1351
c362c33a
EZ
13522003-01-15 Elena Zannoni <ezannoni@redhat.com>
1353
0fbc361c
EZ
1354 * gdb.base/break.exp: Fix change of default location, because of
1355 removal of until tests.
1356 * gdb.base/help.exp: Update test for new 'until' help message.
1357 Add test for help on 'advance'.
c362c33a
EZ
1358 * gdb.base/args.exp: Fix foobar with GDBFLAGS global.
1359
dabf8a35
MK
13602003-01-15 Mark Kettenis <kettenis@gnu.org>
1361
1362 * gdb.base/default.exp: Adapt "info float" test for recent changes
1363 to that command. Add test for "info vector".
1364 * gdb.base/float.exp: New file. Add test for "info float" that
1365 resembles the old test in gdb.base/default.exp.
1366
a1769aca
DC
13672003-01-15 David Carlton <carlton@math.stanford.edu>
1368
1369 * gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot.
1370
82025e13
EZ
13712003-01-15 Elena Zannoni <ezannoni@redhat.com>
1372
1373 * gdb.base/break.exp: Move the tests of until command from here...
1374 * gdb.base/until.exp: ... to here. New file. Add other tests.
1375 * gdb.base/advance.c: New file.
1376 * gdb.base/advance.exp: New file.
1377
8f9ab801
EZ
13782003-01-14 Elena Zannoni <ezannoni@redhat.com>
1379
1380 * gdb.base/args.c: New file.
1381 * gdb.base/args.exp: New file.
1382
9ae66589
DJ
13832003-01-14 Daniel Jacobowitz <drow@mvista.com>
1384
1385 * gdb.c++/virtfunc.exp: Remove fixed XFAIL.
1386
8d77e5c3
DJ
13872003-01-14 Daniel Jacobowitz <drow@mvista.com>
1388
1389 * gdb.threads/killed.exp: Use KFAIL for gdb/568.
1390
12d2f0a1
DJ
13912003-01-14 Daniel Jacobowitz <drow@mvista.com>
1392
1393 * gdb.base/constvars.exp: Remove two extra XFAILs. Update copyright
1394 dates.
1395
6ca37014
DJ
13962003-01-13 Daniel Jacobowitz <drow@mvista.com>
1397
1398 * gdb.c++/printmethod.exp (print virtual method): Accept "(void)".
1399
b0023472
DJ
14002003-01-13 Daniel Jacobowitz <drow@mvista.com>
1401
1402 * gdb.base/printcmds.exp: Enable setup_kfail for gdb/538
1403 (ptype &*"foo").
1404 * gdb.c++/local.exp: Enable setup_kfail for gdb/482.
1405
d6abaea5
DJ
14062002-01-13 Daniel Jacobowitz <drow@mvista.com>
1407
1408 * gdb.mi/mi-console.exp: Remove extra "(known bug)".
1409 * gdb.mi/mi1-console.exp: Likewise.
1410
dfd536a7
DJ
14112002-01-13 Daniel Jacobowitz <drow@mvista.com>
1412
1413 * gdb.mi/mi-console.exp: Add KFAIL for "Hello message (known bug)".
1414 * gdb.mi/mi1-console.exp: Likewise.
1415
a1fb14a2
DJ
14162003-01-13 Daniel Jacobowitz <drow@mvista.com>
1417
1418 * gdb.c++/overload.exp: Remove some fixed XFAILs.
1419
c4cf40b7
DJ
14202003-01-09 Daniel Jacobowitz <drow@mvista.com>
1421
1422 * gdb.base/detach.exp: New test.
1423
696d5a5b
DJ
14242003-01-09 Daniel Jacobowitz <drow@mvista.com>
1425
1426 * Makefile.in (ALL_SUBDIRS): New variable.
1427 (subdirs, clean, distclean): Use it.
1428 * gdb.arch/Makefile.in: Clean up Makefile. Remove rules for
1429 regenerating Makefile, since it is generated from the top level.
1430 * gdb.asm/Makefile.in: Likewise.
1431 * gdb.base/Makefile.in: Likewise.
1432 * gdb.c++/Makefile.in: Likewise.
1433 * gdb.disasm/Makefile.in: Likewise.
1434 * gdb.java/Makefile.in: Likewise.
1435 * gdb.mi/Makefile.in: Likewise.
1436 * gdb.threads/Makefile.in: Likewise.
1437 * gdb.trace/Makefile.in: Likewise.
1438
754533e4
DC
14392003-01-09 David Carlton <carlton@math.stanford.edu>
1440
1441 * gdb.c++/annota2.exp: KFAIL "watch triggered on a.x".
1442 Add copyright year 2003.
1443
d8b3e9ee
MC
14442003-01-06 Michael Chastain <mec@shout.net>
1445
1446 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set):
1447 When selecting a thread, 'line' and 'file' are optional.
1448 * gdb.mi/mi1-pthreads.exp: Likewise.
1449
8e9e0fe6
AS
14502003-01-06 Andreas Schwab <schwab@suse.de>
1451
1452 * lib/gdb.exp: Set LC_ALL to "C" to avoid spurious testsuite
1453 failures.
1454
b5ab8ff3
DJ
14552003-01-04 Daniel Jacobowitz <drow@mvista.com>
1456
1457 Fix PR gdb/844
1458 * lib/gdb.exp (gdb_compile): Handle "quiet" option.
1459 (gdb_compile_pthreads): Pass "quiet" to gdb_compile.
1460
1461 * gdb.threads/gcore-thread.exp: Use gdb_compile_pthreads. Return
1462 instead of calling gdb_suppress_entire_file.
1463 * gdb.threads/print-threads.exp: Likewise.
1464 * gdb.threads/schedlock.exp: Likewise.
1465
1466 * gdb.threads/killed.exp: Return instead of calling
1467 gdb_suppress_entire_file.
1468 * gdb.threads/linux-dp.exp: Likewise.
1469 * gdb.threads/pthreads.exp: Likewise.
1470
1e698235
DJ
14712003-01-04 Daniel Jacobowitz <drow@mvista.com>
1472
1473 * gdb.base/callfuncs.exp: Don't XFAIL unprototyped functions for
1474 stabs.
1475 * gdb.base/completion.exp: Allow marker1(void) as well as marker1().
1476 * gdb.base/whatis.exp: Always allow (void) after function names.
1477
147ff08c
DJ
14782003-01-04 Daniel Jacobowitz <drow@mvista.com>
1479
1480 * gdb.c++/casts.exp: Correct regexp.
1481
dc62bfc2
MK
14822003-01-04 Mark Kettenis <kettenis@gnu.org>
1483
1484 * configure.in: Call AC_CONFIG_HEADER. Don't call
1485 AC_CONFIG_SUBDIRS on gdb.arch, gdb.asm, gdb.base gdb.c++ gdb.java,
1486 gdb.disasm, gdb.mi, gdb.threads and gdb.trace. Call
1487 AC_CHECK_HEADERS on pthread.h. Put Makefiles in the
1488 aforementioned directories in the AC_OUPUT call.
1489 * config.hin: New file.
1490 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
1491 gdb.mi/mi1-pthreads.exp, gdb.threads/gcore-thread.exp,
1492 gdb.threads/killed.exp, gdb.threads/print-threads.exp,
1493 gdb.threads/pthreads.exp, gdb.threads/schedlock.exp: Make sure we
1494 pass -I$objdir instead of -I$objdir/$subdir in compilation.
1495 * gdb.arch/configure.in, gdb.arch/configure, gdb.asm/configure.in,
1496 gdb.asm/configure, gdb.base/configure.in, gdb.base/configure,
1497 gdb.c++/configure.in, gdb.c++/configure, gdb.disasm/configure.in,
1498 gdb.disasm/configure, gdb.java/configure.in, gdb.java/configure,
1499 gdb.mi/configure.in, gdb.mi/configure, gdb.mi/config.in,
1500 gdb.threads/configure.in, gdb.threads/configure,
1501 gdb.threads/config.in, gdb.trace/configure.in,
1502 gdb.trace/configure: Removed.
1503
77afa639
MC
15042003-01-03 Michael Chastain <mec@shout.net>
1505
1506 * gdb.base/miscexprs.c: Fix PR gdb/697, "buglet in
1507 testsuite/gdb.base/miscexprs.c, off-by-1 array reference".
1508
7634bb6e
DJ
15092003-01-03 Daniel Jacobowitz <drow@mvista.com>
1510
1511 * gdb.base/store.exp: Fix regular expressions.
1512
b39c905e
MK
15132002-12-28 Mark Kettenis <kettenis@gnu.org>
1514
1515 * configure.in: Rewrite.
1516 * configure: Regenerated.
1517
0a8551dd
DC
15182003-01-03 David Carlton <carlton@math.stanford.edu>
1519
1520 * gdb.base/psymtab.exp: New file.
1521 * gdb.base/psymtab1.c: Ditto.
1522 * gdb.base/psymtab2.c: Ditto.
1523
c60b7188
AF
15242002-12-23 Adam Fedor <fedor@gnu.org>
1525
1526 * gdb.base/maint.exp: Update expect output to include 'ObjC'.
1527
ee73db83
DC
15282002-12-23 David Carlton <carlton@math.stanford.edu>
1529
1530 * gdb.base/selftest.exp (do_steps_and_nexts): Allow initial brace
1531 and current_directory initialization.
1532
d6c1774e
JB
15332002-12-22 Jim Blandy <jimb@redhat.com>
1534
f0a847b8
JB
1535 * gdb.trace/tfind.exp: Pass '-O1' flag via the 'optimize' option,
1536 rather than as part of the output file name.
1537
d6c1774e
JB
1538 * gdb.base/attach.exp: There's no need to copy the test program to
1539 /tmp; that was only ever necessary on HP/UX, and this test is
1540 entirely disabled there anyway.
1541
f0708dbb
JB
15422002-12-21 Jim Blandy <jimb@redhat.com>
1543
4c2acfea
JB
1544 * gdb.c++/psmang.exp: Doc fix.
1545
f0708dbb
JB
1546 * gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: New
1547 test.
1548
9579e000
DC
15492002-12-20 David Carlton <carlton@math.stanford.edu>
1550
1551 * gdb.c++/annota2.exp: KFAIL annotate-quit.
1552
d1810171
MC
15532002-12-18 Michael Chastain <mec@shout.net>
1554
1555 * gdb.c++/annota2.exp: Add copyright year 2002.
1556
76565097
DC
15572002-12-17 David Carlton <carlton@math.stanford.edu>
1558
1559 * gdb.c++/try_catch.cc: Add marker comments.
1560 * gdb.c++/try_catch.exp: Get line numbers from marker comments.
1561 * gdb.c++/m-data.cc: Delete namespace __gnu_test.
1562 * gdb.c++/m-static.cc: Ditto.
1563 * gdb.c++/m-static1.cc: Ditto.
1564 * gdb.c++/try_catch.cc: Ditto.
1565
da81390b
JJ
15662002-12-16 Jeff Johnston <jjohnstn@redhat.com>
1567
1568 * lib/mi-support.exp (mi_reinitialize_dir): Check mi level
1569 to see whether we are using the new -environment-directory
1570 command which resets via -r or the old version of the command
1571 which may prompt the user. Part of fix for gdb/741.
1572
b304d130
AC
15732002-12-13 Andrew Cagney <ac131313@redhat.com>
1574
1575 * gdb.fortran/types.exp: Update obsolete comment.
1576 * gdb.fortran/exprs.exp: Ditto.
1577 * lib/gdb.exp: Delete obsolete code.
1578 * gdb.chill/ChangeLog, gdb.chill/Makefile.in: Delete.
1579 * gdb.chill/builtins.ch, gdb.chill/builtins.exp: Delete.
1580 * gdb.chill/callch.ch, gdb.chill/callch.exp: Delete.
1581 * gdb.chill/chexp.exp, gdb.chill/chillvars.ch: Delete.
1582 * gdb.chill/chillvars.exp, gdb.chill/configure: Delete.
1583 * gdb.chill/configure.in, gdb.chill/enum.ch: Delete.
1584 * gdb.chill/enum.exp, gdb.chill/func1.ch: Delete.
1585 * gdb.chill/gch1041.ch, gdb.chill/gch1041.exp: Delete.
1586 * gdb.chill/gch1272.ch, gdb.chill/gch1272.exp: Delete.
1587 * gdb.chill/gch1280.ch, gdb.chill/gch1280.exp: Delete.
1588 * gdb.chill/gch922.ch, gdb.chill/gch922.exp: Delete.
1589 * gdb.chill/gch981.ch, gdb.chill/gch981.exp: Delete.
1590 * gdb.chill/misc.ch, gdb.chill/misc.exp: Delete.
1591 * gdb.chill/powerset.ch, gdb.chill/powerset.exp: Delete.
1592 * gdb.chill/pr-4975-grt.ch, gdb.chill/pr-4975.ch: Delete.
1593 * gdb.chill/pr-4975.exp, gdb.chill/pr-5016.ch: Delete.
1594 * gdb.chill/pr-5016.exp, gdb.chill/pr-5020.ch: Delete.
1595 * gdb.chill/pr-5020.exp, gdb.chill/pr-5022.ch: Delete.
1596 * gdb.chill/pr-5022.exp, gdb.chill/pr-5646-grt.ch: Delete.
1597 * gdb.chill/pr-5646.ch, gdb.chill/pr-5646.exp: Delete.
1598 * gdb.chill/pr-5984.ch, gdb.chill/pr-5984.exp: Delete.
1599 * gdb.chill/pr-6292.ch, gdb.chill/pr-6292.exp: Delete.
1600 * gdb.chill/pr-6632-grt.ch, gdb.chill/pr-6632.ch: Delete.
1601 * gdb.chill/pr-6632.exp, gdb.chill/pr-8134.exp: Delete.
1602 * gdb.chill/pr-8136.ch, gdb.chill/pr-8136.exp: Delete.
1603 * gdb.chill/pr-8405.ch, gdb.chill/pr-8405.exp: Delete.
1604 * gdb.chill/pr-8742.ch, gdb.chill/pr-8742.exp: Delete.
1605 * gdb.chill/pr-8894-grt.ch, gdb.chill/pr-8894.ch: Delete.
1606 * gdb.chill/pr-8894.exp, gdb.chill/pr-9095.ch: Delete.
1607 * gdb.chill/pr-9095.exp, gdb.chill/pr-9946.ch: Delete.
1608 * gdb.chill/pr-9946.exp, gdb.chill/result.ch: Delete.
1609 * gdb.chill/result.exp, gdb.chill/string.ch: Delete.
1610 * gdb.chill/string.exp, gdb.chill/tests1.ch: Delete.
1611 * gdb.chill/tests1.exp, gdb.chill/tests2.ch: Delete.
1612 * gdb.chill/tests2.exp, gdb.chill/tuples.ch: Delete.
1613 * gdb.chill/tuples.exp, gdb.chill/xstruct-grt.ch: Delete.
1614 * gdb.chill/xstruct.ch, gdb.chill/xstruct.exp: Delete.
1615
a23b6e6a
DC
16162002-12-11 David Carlton <carlton@math.stanford.edu>
1617
1618 * gdb.c++/m-data.exp: Add test for members that shadow global
1619 variables: see PR gdb/804.
1620 * gdb.c++/m-data.cc: Ditto.
1621
6604731b
DJ
16222002-12-10 Daniel Jacobowitz <drow@mvista.com>
1623
1624 * gdb.base/foll-vfork.exp: Re-enable test on HP/UX.
1625
de46ecd7
DC
16262002-12-06 David Carlton <carlton@math.stanford.edu>
1627
1628 * gdb.base/store.c: Don't declare functions static.
1629
27e829d0
AC
16302002-12-04 Andrew Cagney <ac131313@redhat.com>
1631
1632 * gdb.base/store.exp, gdb.base/store.c: New files.
1633
92806416
DJ
16342002-12-03 Daniel Jacobowitz <drow@mvista.com>
1635
1636 * gdb.base/selftest.exp: Update for current gdb.
1637
3bcbaac5
DJ
16382002-12-03 Daniel Jacobowitz <drow@mvista.com>
1639
1640 * gdb.base/maint.exp: Only dump symbols from one source file
1641 or objfile.
1642
f4f00b1f
DJ
16432002-12-03 Daniel Jacobowitz <drow@mvista.com>
1644
1645 * gdb.base/step-test.exp: Allow MIPS to return to the line of a
1646 function call.
1647
f1c8a949
JB
16482002-11-25 Jim Blandy <jimb@redhat.com>
1649
1650 * lib/mi-support.exp (mi_delete_breakpoints): Change name of
1651 function appearing in error message.
1652
9e297a97
DJ
16532002-11-21 Daniel Jacobowitz <drow@mvista.com>
1654
1655 * gdb.base/maint.exp (help maint dump-me): Update with typo fix.
1656
1f312e79
JJ
16572002-11-08 Jeff Johnston <jjohnstn@redhat.com>
1658
1659 * lib/mi-support.exp (mi_gdb_start): Verify the startup message
1660 for mi1 and current mi is in correct format. New mi startup message
1661 should be in mi console format. This is part of fix for PR gdb/604.
1662
83c31e7d
FN
16632002-09-18 Fernando Nasser <fnasser@redhat.com>
1664
1665 * gdb.asm/asm-source.exp: Adjust patter to new disassembler routine
1666 which explicitly prints the zero offset as "+0".
1667
322b3f65
DJ
16682002-10-22 Daniel Jacobowitz <drow@mvista.com>
1669
1670 * gdb.threads/schedlock.c (args): Make unsigned.
1671
16722002-10-21 Daniel Jacobowitz <drow@mvista.com>
1673
1674 * gdb.asm/asm-source.exp: Add "mips*-*" pattern. Update line
1675 numbers. Allow "foo2|selected stack frame".
1676 * gdb.asm/asmsrc1.s: Use gdbasm_declare and gdbasm_end.
1677 * gdb.asm/asmsrc2.s: Likewise.
1678 * gdb.asm/common.inc: Define gdbasm_declare and gdbasm_end. Update
1679 comments.
1680 * gdb.asm/mips.inc: New file.
1681
5e2fe5b8
AF
16822002-10-18 Adam Fedor <fedor@gnu.org>
1683
1684 * gdb.base/default.exp: Update expected output to include 'ObjC'.
1685 * gdb.base/help.exp: Likewise.
1686
abe1a5d0
KB
16872002-10-17 Kevin Buettner <kevinb@redhat.com>
1688
1689 * gdb.base/constvars.c (struct crass, struct crisp): New structs.
1690 * gdb.base/constvars.exp (ptype crass, ptype crisp): New tests.
1691
10abb1d4
JB
16922002-10-02 Jim Blandy <jimb@redhat.com>
1693
1694 * gdb.c++/casts.cc, gdb.c++/casts.exp: New test.
1695
1f609b42
AC
16962002-10-01 Andrew Cagney <ac131313@redhat.com>
1697
1698 * mi1-basics.exp: Copy of mi1-basics.exp MIFLAGS set "-i=mi1".
1699 * mi1-break.exp, mi1-console.exp, mi1-disassemble.exp: Ditto.
1700 * mi1-eval.exp, mi1-hack-cli.exp, mi1-pthreads.exp: Ditto.
1701 * mi1-read-memory.exp, mi1-regs.exp, mi1-return.exp: Ditto.
1702 * mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp: Ditto.
1703 * mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp: Ditto.
1704 * mi1-var-cmd.exp, mi1-var-display.exp, mi1-watch.exp: Ditto.
1705
0aee02e4
AC
17062002-09-29 Andrew Cagney <ac131313@redhat.com>
1707
1708 * mi0-basics.exp, mi0-break.exp, mi0-console.exp: Delete.
1709 * mi0-disassemble.exp, mi0-eval.exp: Delete.
1710 * mi0-hack-cli.exp, mi0-read-memory.exp: Delete.
1711 * mi0-regs.exp, mi0-return.exp, mi0-simplerun.exp: Delete.
1712 * mi0-stack.exp, mi0-stepi.exp, mi0-until.exp: Delete.
1713 * mi0-var-block.exp, mi0-var-child.exp: Delete.
1714 * mi0-var-cmd.exp, mi0-var-display.exp, mi0-watch.exp: Delete.
1715
6fde09ad
KB
17162002-09-27 Kevin Buettner <kevinb@redhat.com>
1717
1718 * gdb.base/annota1.exp (info break): Make directory components of
1719 path optional since not all compilers emit this debug information.
1720
1721 * gdb.base/shlib-call.exp (step inside shr2): Don't fail if first
1722 step ends up stepping out of the function instead of stopping on
1723 the epilogue.
1724
9e8aab75
KS
17252002-09-26 Keith Seitz <keiths@redhat.com>
1726
1727 * lib/insight-support.exp (gdbtk_start): Figure out where
1728 the insight executable is based on where gdb is. Use this
1729 executable to start insight instead of gdb.
1730
e36180d7
AC
17312002-09-25 Andrew Cagney <cagney@redhat.com>
1732
1733 * gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
1734
9dd34b2b
AC
17352002-09-24 Andrew Cagney <ac131313@redhat.com>
1736
1737 * gdb.gdb/complaints.exp (test_initial_complaints): Rename
1738 test_isolated_complaints.
1739 (test_empty_complaint): New function.
1740 (test_empty_complaints): New function. Check no output when no
1741 complaints.
1742
dea97812
KB
17432002-09-19 Jim Blandy <jimb@redhat.com>
1744
1745 * gdb.base/charset.exp, gdb.base/charset.c: New files.
1746
54951bd7
AC
17472002-09-19 Andrew Cagney <ac131313@redhat.com>
1748
1749 * gdb.gdb/complaints.exp: New file.
1750
dec43320
AC
17512002-09-18 Andrew Cagney <ac131313@redhat.com>
1752
1753 * gdb.base/maint.exp: Check `help maint internal-warning'.
1754
e70d6e3f
DC
17552002-09-18 David Carlton <carlton@math.stanford.edu>
1756
1757 * gdb.c++/m-static.exp: Remove breakpoints depending on line
1758 numbers, and replace them by a single breakpoint after the
1759 constructors are all finished.
1760 Add test 4.
1761 * gdb.c++/m-static.cc: Add test 4.
1762 * gdb.c++/m-static.h: New file.
1763 * gdb.c++/m-static1.cc: New file.
1764
1765 * gdb.c++/printmethod.exp: New file.
1766 * gdb.c++/printmethod.cc: New file.
1767
1768 * gdb.c++/pr-574.exp: New file.
1769 * gdb.c++/pr-574.cc: New file.
1770
afb5c968
CV
17712002-09-18 Corinna Vinschen <vinschen@redhat.com>
1772
1773 * gdb.base/ending-run.exp: Add handling of "step to end of run" for
1774 embedded targets which never actually exit.
1775
31e45dee
FN
17762002-09-18 Fernando Nasser <fnasser@redhat.com>
1777
1778 * gdb.base/ending-run.exp: Properly mark "continue after exit" and
1779 "don't step after run" as unresolved or unsupported, instead of xfail.
1780
a283c5a1
CV
17812002-09-18 Corinna Vinschen <vinschen@redhat.com>
1782
1783 * gdb.base/ending-run.exp: Fix expected string for _wrap_main to
1784 allow correct handling of #ifdef UNDERSCORES from dejagnu/testglue.c.
1785 Add newline to expected string in "step out of main (status wrapper)"
1786 case.
1787
11350d2a
CV
17882002-09-18 Corinna Vinschen <vinschen@redhat.com>
1789
1790 * lib/gdb.exp (rerun_to_main): Allow restarting application.
1791 * gdb.base/ena-dis-br.exp (rerun_to_main): Eliminate.
1792
0deec7d6
TT
17932002-09-17 Tom Tromey <tromey@redhat.com>
1794
1795 * gdb.base/printcmds.exp (test_print_string_constants): Expect
1796 \000, not \0, in double-quoted string.
1797
b2b4a1b5
CV
17982002-09-14 Corinna Vinschen <vinschen@redhat.com>
1799
c9d37158 1800 * gdb.base/commands.exp: Don't expect a "Program exited normally"
b2b4a1b5
CV
1801 string after running the commands execution on breakpoint tests.
1802
1c56143a
CV
18032002-09-13 Corinna Vinschen <vinschen@redhat.com>
1804
1805 * lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.
1806
37f8da45
JB
18072002-09-12 Joel Brobecker <brobecker@gnat.com>
1808
1809 * gdb.base/call-strs.exp: Fix a small typo in one of the comments.
1810
08b468e0
KS
18112002-09-10 Keith Seitz <keiths@redhat.com>
1812
1813 * lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
1814 runto proc.
1815 (mi_run_to_main): Use mi_runto.
1816 (mi_execute_to): Renamed from mi_run_to. Changed all callers.
1817
dc360f58
KS
18182002-09-10 Keith Seitz <keiths@redhat.com>
1819
1820 * lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
1821 regexp for stopping at main. Could have multiple event notifications.
1822 Don't assume that main was declared with no parameters.
1823 (mi_next): Use mi_step_to.
1824 (mi_step): Use mi_next_to.
1825
ce3abcfb
CV
18262002-09-09 Corinna Vinschen <vinschen@redhat.com>
1827
1828 * gdb.base/default.exp: Fix expected string in `info float' test.
1829
d1f5b980
BE
18302002-09-09 Ben Elliston <bje@redhat.com>
1831
1832 * config/mips.exp: Update comments.
1833 * config/mips-idt.exp: Likewise.
1834 * config/nind.exp: Likewise.
1835 * config/slite.exp: Likewise.
1836 * config/sparclet.exp: Likewise.
1837 * config/udi.exp: Likewise.
1838 * config/vx.exp: Likewise.
1839 * config/vxworks29k.exp: Likewise.
1840
2f71430b
JB
18412002-09-05 Jim Blandy <jimb@redhat.com>
1842
1843 * gdb.threads/killed.exp: Fix test failure message.
1844
7ddebc7e
KS
18452002-09-04 Keith Seitz <keiths@redhat.com>
1846
1847 * lib/mi-support.exp: Update copyright.
1848 (mi_gdb_test): Increase the priority of the expected pattern
1849 so that it matches gdb_test.
1850
0ae67eb3
KS
18512002-09-03 Keith Seitz <keiths@redhat.com>
1852
1853 * lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
1854 Use integer comparison instead of string comparison for testing
1855 whether binary was built.
1856
38fc42c8
JB
18572002-09-03 Jim Blandy <jimb@redhat.com>
1858
1859 * gdb.threads/killed.exp, gdb.threads/killed.c: New test.
1860
b6ff0e81
JB
18612002-08-29 Jim Blandy <jimb@redhat.com>
1862
1863 * gdb.threads/pthreads.exp: Move the portable thread compilation
1864 code into a function in lib/gdb.exp, and call that from here.
1865 * lib/gdb.exp (gdb_compile_pthreads): New function.
1866
07c98896
KS
18672002-08-29 Keith Seitz <keiths@redhat.com>
1868
1869 * lib/mi-support.exp (mi_gdb_test): Add global declaration for
1870 expect_out so that callers can get at it.
1871
0312286c
DJ
18722002-08-23 Daniel Jacobowitz <drow@mvista.com>
1873
1874 * gdb.threads/print-threads.c: New file.
1875 * gdb.threads/print-threads.exp: New file.
1876 * gdb.threads/schedlock.c: New file.
1877 * gdb.threads/schedlock.exp: New file.
1878
dd039bc4
EZ
18792002-08-22 Elena Zannoni <ezannoni@redhat.com>
1880
1881 * gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
1882 not altivec.c.
1883
1f36144c
MK
18842002-08-17 Mark Kettenis <kettenis@gnu.org>
1885
1886 * gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
1887 targets. The problem should be fixed now.
1888
16057ec7 18892002-08-15 Mark Kettenis <kettenis@gnu.org>
5415e7c5
MK
1890
1891 * gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
1892 2002-07-24 change that removes final dots from error messages.
1893
3c1499ad
TT
18942002-08-13 Tom Tromey <tromey@redhat.com>
1895
1896 * gdb.base/readline.exp: New file.
1897
a20ce2c3
AC
18982002-08-01 Andrew Cagney <ac131313@redhat.com>
1899
1900 * lib/gdb.exp (gdb_expect_list): Only print one pass, fail, or
1901 supress message.
1902
db034ac5
AC
19032002-08-01 Andrew Cagney <cagney@redhat.com>
1904
1905 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL,
1906 CHILL_FOR_TARGET and CHILL_LIB.
1907 * configure.in (configdirs): Remove gdb.chill.
1908 * configure: Regenerate.
1909 * lib/gdb.exp: Obsolete references to chill.
1910 * gdb.fortran/types.exp: Ditto.
1911 * gdb.fortran/exprs.exp: Ditto.
1912
3e000b18
KB
19132002-07-30 Kevin Buettner <kevinb@redhat.com>
1914
1915 * gdb.base/shlib-call.exp (additional_flags): Conditionally
1916 set Irix-specific compile and link flags.
1917
28f4966b
KB
19182002-07-29 Kevin Buettner <kevinb@redhat.com>
1919
1920 * lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
1921 source files. The ``-o'' option doesn't work with the ``-E'' option
1922 when using the Irix compiler.
1923
46c0d5a6
DJ
19242002-07-19 Daniel Jacobowitz <drow@mvista.com>
1925
1926 * config/gdbserver.exp (gdb_load): Don't use TCL varargs.
1927 Improve support for reusing an exec file. Copy exec file
1928 to target, and run gdbserver on the target instead of on the host.
1929
eecf4bed
JB
19302002-07-18 Jim Blandy <jimb@redhat.com>
1931
0f815cdf
JB
1932 * gdb.base/ending-run.exp: Don't expect to see the program end in
1933 some orderly fashion when we're running on a real stand-alone
1934 board.
1935
eecf4bed
JB
1936 * gdb.base/interrupt.exp: Correct logic for skipping tests on
1937 targets that don't support interrupts.
1938
52d309e4
JB
19392002-07-10 Paul N. Hilfinger <hilfingr@otisco.mckusick.com>
1940
1941 * gdb.base/attach.exp: Add patterns to match output from /proc-based
1942 systems.
1943 Move comments in expect statements to inside the actions, so that they
1944 don't get matched against.
1945
ff683d9e
MK
19462002-07-10 Mark Kettenis <kettenis@gnu.org>
1947
1948 * gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
1949 function when asleep" test.
1950
b5356753
AC
19512002-07-10 Andrew Cagney <ac131313@redhat.com>
1952
1953 * gdb.base/page.exp: Rewrite to handle problems with very long
1954 `info set' output. Update copyright.
1955
6aa4d13a
AC
19562002-06-26 Andrew Cagney <ac131313@redhat.com>
1957
1958 * gdb.hp/configure.in (AC_CONFIG_SUBDIRS): Do not try to configure
1959 gdb.threads-hp.
1960 * gdb.hp/configure: Regenerate.
1961 * gdb.hp/gdb.threads-hp/configure.in: Delete file.
1962 * gdb.hp/gdb.threads-hp/configure: Delete file.
1963 * gdb.hp/gdb.threads-hp/Makefile.in: Delete file.
1964
8cf8c2b8
AC
19652002-06-22 Andrew Cagney <ac131313@redhat.com>
1966
1967 * gdb.base/selftest.exp (do_stes_and_next): Skip calls to
1968 setlocale, bindtextdomain and textdomain.
1969
6827a8f8
JB
19702002-06-11 Jim Blandy <jimb@redhat.com>
1971
919d772c
JB
1972 * lib/gdb.exp (get_debug_format): Tolerate message saying whether
1973 preprocessor macro information is present.
1974
6827a8f8
JB
1975 * macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: New
1976 tests.
1977
c15b0d21
MS
19782002-06-06 Michael Snyder <msnyder@redhat.com>
1979
c5984d70
MS
1980 * gdb.base/overlays.exp: Record addresses of overlay
1981 functions in TCL variables rather than in GDB variables,
1982 to avoid having GDB convert them to pointers (with loss
1983 of information).
1984
99a8512b
MS
1985 * gdb.base/d10v.ld: Merge in several years worth of
1986 default linker script changes.
c15b0d21
MS
1987 * gdb.base/long_long.exp: Add check for sizeof (long double).
1988
be26fe0d
ML
19892002-06-06 Michal Ludvig <mludvig@suse.cz>
1990
1991 * gdb.asm/asm-source.exp: Add x86-64 target.
1992 * gdb.asm/x86_64.inc: New.
1993
258093ca 19942002-05-30 Michael Chastain <mec@shout.net>
258093ca 1995
4b3153f1 1996 From Benjamin Kosnik <bkoz@redhat.com>:
258093ca
MC
1997 * gdb.c++/m-static.cc: New file.
1998 * gdb.c++/m-static.exp: New file.
1999
241264c6
MS
20002002-05-28 Michael Snyder <msnyder@redhat.com>
2001
2002 * gdb.base/call-ar-st.exp: Allow for reduced floating point
2003 precision.
2004
9bba8c8f 20052002-05-27 Michael Chastain <mec@shout.net>
71ea1be0 2006
4b3153f1 2007 From Benjamin Kosnik <bkoz@redhat.com>:
71ea1be0
MC
2008 * gdb.c++/m-data.cc: New file.
2009 * gdb.c++/m-data.exp: New file.
2010
20112002-05-27 Michael Chastain <mec@shout.net>
9bba8c8f 2012
4b3153f1 2013 From Benjamin Kosnik <bkoz@redhat.com>:
9bba8c8f
MC
2014 * gdb.c++/try_catch.cc: New file.
2015 * gdb.c++/try_catch.exp: New file.
2016
def1b996
MC
20172002-05-27 Michael Chastain <mec@shout.net>
2018
2019 * gdb.c++/local.exp: Accept more nested types in output.
2020
522ba268
MC
20212002-05-26 Michael Chastain <mec@shout.net>
2022
2023 * gdb.base/call-rt-st.exp: Fix typo in brace quoting.
2024
277254ba
MS
20252002-05-15 Nick Clifton <nickc@cambridge.redhat.com>
2026
2027 * lib/gdb.exp (gdb_wrapper_init): Just because
2028 gdb_wrapper_file exists, this does not mean that the file
2029 should not be rebuilt. That is what gdb_wrapper_initialized
2030 is for.
2031 (default_gdb_init): Reset gdb_wrapper_initialized.
2032
b61a8733
MS
20332002-05-23 Michael Snyder <msnyder@redhat.com>
2034
5bdb6d01
MS
2035 * gdb.base/all-bin.exp: Revise previous patch by just reducing
2036 the precision of the floating point test results.
2037 * gdb.base/call-rt-st.exp: Ditto.
2038
b61a8733
MS
2039 * gdb.base/all-bin.exp: Allow for reduced floating point precision.
2040 * gdb.base/call-rt-st.exp: Ditto.
2041
56f6e910
MC
20422002-05-19 Michael Chastain <mec@shout.net>
2043
2044 * gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
2045
ad0b0016
EZ
20462002-05-19 Elena Zannoni <ezannoni@redhat.com>
2047
2048 * configure.in (configdirs): Add gdb.arch.
2049 * configure: Regenerate.
2050
f617d2b6
JB
20512002-05-17 Jim Blandy <jimb@redhat.com>
2052
2053 * gdb.base/completion.exp: Recognize the more detailed error
2054 messages produced by the macro expander's lexical analyzer.
2055
eac2a696
EZ
20562002-05-14 Elena Zannoni <ezannoni@redhat.com>
2057
2058 * gdb.arch/altivec-abi.c: New file.
2059 * gdb.arch/altivec-abi.exp: New file.
2060 * gdb.arch/altivec-regs.c: New file.
2061 * gdb.arch/altivec-regs.exp: New file.
2062
2fdde8f8
DJ
20632002-05-14 Daniel Jacobowitz <drow@mvista.com>
2064
2065 * gdb.base/maint.exp (maint print type): Update for new type
2066 structure.
eac2a696 2067
e31f1a7c
EZ
20682002-05-14 Elena Zannoni <ezannoni@redhat.com>
2069
2070 * gdb.arch: New directory.
2071 * gdb.arch/configure.in: New file.
2072 * gdb.arch/configure: New file.
2073 * gdb.arch/Makefile.in: New file.
2074
db589741
CV
20752002-05-13 Corinna Vinschen <vinschen@redhat.com>
2076
2077 * gdb.asm/asm-source.exp: Add v850 as supported target.
2078 * gdb.asm/v850.inc: New file.
2079
8ce2a7dc
DJ
20802002-05-13 Daniel Jacobowitz <drow@mvista.com>
2081
2082 * gdb.c++/annota2.exp (annotate-quit): Add comment.
2083
df763c7f
DJ
20842002-05-12 Daniel Jacobowitz <drow@mvista.com>
2085
2086 * gdb.base/break.exp: Check 'break "marker2"'.
2087
377daeed
MS
20882002-05-10 Michael Snyder <msnyder@redhat.com>
2089
2090 * gdb.base/long_long.exp: Fix typo.
2091
c4b7bc2b
JB
20922002-05-10 Jim Blandy <jimb@redhat.com>
2093
ecac9a4e
JB
2094 * gdb.base/printcmds.exp: Don't xfail the ptype command. This is
2095 a bug.
2096
c4b7bc2b
JB
2097 * gdb.base/printcmds.exp (test_integer_literals_rejected):
2098 Recognize more detailed error message produced by the macro
2099 expander's lexical analyzer.
2100 * lib/gdb.exp (test_print_reject): Same.
2101
e71019a1
MK
21022002-05-09 Mark Kettenis <kettenis@gnu.org>
2103
2104 * gdb.c++/method.exp: Fix typo.
2105
fedfc8e6
MS
21062002-05-08 Michael Snyder <msnyder@redhat.com>
2107
166a1957
MS
2108 * gdb.mi/mi-var-child.exp: Accept (void) as well as ().
2109 * gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
fedfc8e6 2110 * gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
35928259
MS
2111 * gdb.base/long_long.exp: Merge clauses for arm and xscale.
2112 Add iftarget clause for strongarm.
2113
f1c47eb2
MS
21142002-05-06 Michael Snyder <msnyder@redhat.com>
2115
cb9a9d3e
MS
2116 * lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
2117 (gdb_continue_to_end): Accept output from status wrapper.
2118 * gdb.base/ending-run.exp: Add case for output from status wrapper.
2119 Clean up fail messages to match pass messages.
2120
f1c47eb2
MS
2121 Enable the "needs_status_wrapper" testsuite feature.
2122 * lib/gdb.exp (gdb_wrapper_init): New procedure.
2123 (gdb_compile): Conditionally call gdb_wrapper_init.
2124 * gdb.base/a2-run.exp: Recognize output from status wrapper.
2125 * gdb.c++/method.exp: Recognize output from status wrapper.
2126
6079c749
BE
21272002-05-06 Ben Elliston <bje@redhat.com>
2128From Graydon Hoare <graydon@redhat.com>
2129
2130 * config/sid.exp: Include support for "rawsid" protocol.
2131
188baff3
JB
21322002-05-03 Jim Blandy <jimb@redhat.com>
2133
2134 * gdb.c++/hang.exp: Check for corruption of the cv_type chain.
2135 * gdb.c++/hang3.C: New file.
2136
b9c07f0f
AC
21372002-05-04 Andrew Cagney <ac131313@redhat.com>
2138
2139 * gdb.base/default.exp: Remove obsolete code.
2140 * gdb.c++/misc.exp: Ditto. Update copyright.
2141 * gdb.c++/cplusfuncs.exp: Ditto. Update copyright.
2142 * gdb.base/whatis.exp: Ditto. Update copyright.
2143 * gdb.base/scope.exp: Ditto. Update copyright.
2144 * gdb.base/ptype.exp: Ditto. Update copyright.
2145 * gdb.base/printcmds.exp: Ditto. Update copyright.
2146 * gdb.base/opaque.exp: Ditto. Update copyright.
2147 * gdb.base/list.exp: Ditto.
2148 * gdb.base/funcargs.exp: Ditto. Update copyright.
2149 * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
2150 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
2151 * gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
2152 * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
2153 * gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
2154 * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
2155
5c7a0397
MS
21562002-05-02 Michael Snyder <msnyder@redhat.com>
2157
d6dcc264 2158 * gdb.base/watchpoint.exp: Add xscale target.
5c7a0397
MS
2159 * gdb.base/long_long.exp: Add xscale target.
2160 * gdb.base/default.exp: Add xscale target.
2161
eb7f1c48
JB
21622002-05-01 Jim Blandy <jimb@redhat.com>
2163
2164 * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
2165 gdb.c++/hang.exp: New test.
2166
a6befae8
FF
21672002-05-01 Fred Fish <fnf@redhat.com>
2168
2169 * gdb.base/completion.exp: Handle completions of "./Make" for
2170 more than one completion possibility, as is the case when we
2171 build and test in the source tree.
2172
0a310277
AG
21732002-04-29 Anthony Green <green@redhat.com>
2174
2175 * gdb.java/jmisc1.exp: New file.
2176 * gdb.java/jmisc2.exp: New file.
2177
6ff9af88
DJ
21782002-04-24 Daniel Jacobowitz <drow@mvista.com>
2179
2180 * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
2181
96b3d632
EZ
21822002-04-23 Elena Zannoni <ezannoni@redhat.com>
2183
2184 * gdb.base/help.exp: Change 'help status' to allow for target
2185 dependent output differences.
2186
5019bb54
MC
21872002-04-22 Michael Chastain <mec@shout.net>
2188
2189 * gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
2190
a805a116
MC
21912002-04-22 Michael Chastain <mec@shout.net>
2192
2193 * gdb.c++/method.exp: Fix syntax of reference to gdb/277.
2194
a1706bfd
DM
21952002-04-17 David S. Miller <davem@redhat.com>
2196
2197 * gdb.asm/sparc64.inc: New file.
2198 * gdb.asm/asm-source.exp: Handle sparc64-*-*.
2199
a73a20a2
EZ
22002002-04-19 Elena Zannoni <ezannoni@redhat.com>
2201
2202 * gdb.asm/asm-source.exp: Don't use a symlink, just copy the
2203 instruction file directly into the build tree. Clean up at end of
2204 test.
2205
ba678339
DM
22062002-04-18 David S. Miller <davem@redhat.com>
2207
2208 * gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
2209 handle 64-bit platforms correctly.
2210 * gdb.base/maint.exp: Likewise.
2211
b03399da
KB
22122002-04-18 Kevin Buettner <kevinb@redhat.com>
2213
2214 * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
2215 ``-fpic'' when compiling files comprising a shared library, but
2216 it does need additional linker flags in order to find shared
2217 libraries at run time.
2218
e2004992
KB
22192002-04-18 Kevin Buettner <kevinb@redhat.com>
2220
2221 * gdb.base/cvexpr.c (use): New function.
2222 (main): Invoke use() on all global variables to prevent
2223 some linkers from deleting these otherwise unused symbols.
2224
d8937120
MC
22252002-04-17 Michael Chastain <mec@shout.net>
2226From David S. Miller <davem@redhat.com>
2227
2228 * gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
2229 handle 64-bit platforms correctly.
2230
ffd61a58
MS
22312002-04-12 Michael Snyder <msnyder@redhat.com>
2232From Jim Blandy <jimb@redhat.com>
2233 * gdb.base/foo.c (foox): Remove section attribute; the linker
2234 script can handle this instead.
2235 * gdb.base/bar.c (barx): Same.
2236 * gdb.base/baz.c (bazx): Same.
2237 * gdb.base/grbx.c (grbxx): Same.
2238
2239 * gdb.base/overlays.exp: New test: check that GDB's manual overlay
2240 manager doesn't automatically unmap overlays unnecessarily.
2241
6b8426a6
MH
22422002-04-10 Martin M. Hunt <hunt@redhat.com>
2243
2244 * gdb.base/ending-run.exp: Fix pattern for Mips targets
2245 stepping out of main.
2246
34af4875
MC
22472002-04-09 Michael Chastain <mec@shout.net>
2248
2249 * gdb.c++/local.cc (main): Move call to marker1() inside nested
2250 scope so that the nested scope tests will make sense.
2251 * gdb.c++/local.exp: Write patterns that actually work with gcc
2252 (the HP patterns "were never known to work with gcc").
2253 Keep the old aCC patterns too.
2254
2d1676a0
DJ
22552002-04-09 Daniel Jacobowitz <drow@mvista.com>
2256
2257 * gdb.base/attach.exp: Correct target board test.
2258
3a63e3f9
MC
22592002-04-08 Michael Chastain <mec@shout.net>
2260
2261 * gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
2262 in a const method. Add some xfail and fail cases for configurations
2263 that do not emit the "const ...".
2264
f18dabd2
MC
22652002-04-07 Michael Chastain <mec@shout.net>
2266
2267 * gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
2268 Accept "A * const" and "const A * const" as type of "this".
2269 Fix spelling of getFunky throughout. Make messages uniform.
2270
0fcddd82
EZ
22712002-04-07 Elena Zannoni <ezannoni@redhat.com>
2272
2273 Work around for PR gdb/285:
2274 * gdb.asm/asm-source.exp: Bail out if multilibs are detected.
2275
16a8534a
EZ
22762002-04-07 Elena Zannoni <ezannoni@redhat.com>
2277
2278 * gdb.asm/asm-source.exp: Build symbolic link to arch specific
2279 instructions file at run time instead of configure time.
2280 Sometimes we run the test in a directory that is not the one we
2281 configured in.
2282 * gdb.asm/configure.in: Delete creation of symlink.
2283 * gdb.asm/configure: Regenerate.
2284
24181d81
JB
22852002-04-05 J. Brobecker <brobecker@gnat.com>
2286
2287 * gdb.gdb/xfullpath.exp: New test, to exercise the new
2288 xfullpath () function.
2289
7cdb7107
DJ
22902002-04-04 Daniel Jacobowitz <drow@mvista.com>
2291
2292 * gdb.asm/Makefile.in: Correct dependencies.
2293
2294 * gdb.asm/powerpc.inc: New file.
2295 * gdb.asm/asm-source.exp: Add PowerPC.
2296 * gdb.asm/configure.in: Likewise.
2297 * gdb.asm/configure: Regenerated.
2298
a7d17088
DJ
22992002-04-04 Daniel Jacobowitz <drow@mvista.com>
2300
2301 * gdb.base/relocate.exp: New file.
2302 * gdb.base/relocate.c: New file.
2303
cd721503
FF
23042002-04-04 Fred Fish <fnf@redhat.com>
2305
2306 * gdb.base/step-test.exp: Update comment regarding stopping in
2307 memcpy/bcopy calls inserted as part of the compiler runtime.
2308
b22ad7a7
MS
23092002-04-04 Michael Snyder <msnyder@redhat.com>
2310
2311 * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
2312
5f279fa6
DJ
23132002-04-03 Daniel Jacobowitz <drow@mvista.com>
2314
2315 * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
2316 (gdb_expect): Remove $notransfer hack.
2317
dd0fd3ce
DJ
23182002-04-02 Daniel Jacobowitz <drow@mvista.com>
2319
2320 * gdb.c++/classes.exp ("calling method for small class"): Match
2321 updated register output.
2322
1e50cda1
DJ
23232002-03-30 Daniel Jacobowitz <drow@mvista.com>
2324
2325 Fix PR gdb/452
2326 * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
2327 when finished. Make gdb_file_cmd send "exec-file" when
2328 appropriate.
2329
24015922
DJ
23302002-03-30 Daniel Jacobowitz <drow@mvista.com>
2331
2332 * gdb.base/attach.exp: Remove extra setup_xfail.
2333
dd7dfd64
MS
23342002-03-26 Michael Snyder <msnyder@redhat.com>
2335
2336 * gdb.base/default.exp: Add tests for dump, append, and restore.
2337 * gdb.base/help.exp: Add tests for dump, append, and restore.
2338 * gdb.base/dump.exp: New file, test dump, append and restore.
2339 * gdb.base/dump.c: New file.
2340
48b2f8d7
MS
23412002-03-27 Michael Snyder <msnyder@redhat.com>
2342
2343 * gdb.base/help.exp: Modify expect strings to reflect
2344 clean-ups in help messages.
2345
05b4d525
FF
23462002-03-26 Fred Fish <fnf@redhat.com>
2347
2348 * gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
2349 have debugging info for those functions and the compiler uses them
2350 internally to copy structs around.
2351
d7679631
FF
23522002-03-26 Fred Fish <fnf@redhat.com>
2353
2354 * gdb.base/list.exp: Revert the change made yesterday and add note
2355 about why we don't list the default lines for remote targets.
2356
523ac3f9
MS
23572002-03-25 Michael Snyder <msnyder@redhat.com>
2358
2359 * gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
2360
754b2b8d
FF
23612002-03-25 Fred Fish <fnf@redhat.com>
2362
2363 * gdb.base/list.exp: This test works on remote targets so remove
2364 the short circuit for remote targets. Update copyright.
2365
33c3e192
FF
23662002-03-25 Fred Fish <fnf@redhat.com>
2367
2368 * gdb.base/attach.exp: Fix logic error that was suppressing this
2369 test for all non hppa*-*-hpux* targets, instead of the hp target.
2370 Move comments closer to the suppression point. Also now need to
2371 check that we are running natively.
2372
d43e73ee
MS
23732002-03-22 Michael Snyder <msnyder@redhat.com>
2374
882c8f02
MS
2375 * gdb.base/default.exp: Add test for gcore. Update copyright.
2376 * gdb.base/help.exp: Add test for gcore. Update copyright.
d43e73ee 2377
04c12f60
FF
23782002-03-06 Fred Fish <fnf@redhat.com>
2379
2380 * gdb.base/funcargs.c: Remove extraneous ';' character.
2381 * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
2382
b43df995
MC
23832002-03-04 Michael Chastain <mec@shout.net>
2384
2385 * gdb.mi/mi-var-cmd.exp: In test "create local variable func",
2386 accommodate gcc v3 function signature.
2387 * gdb.mi/mi0-var-cmd-exp: Ditto.
2388
92362027
AC
23892002-02-24 Andrew Cagney <ac131313@redhat.com>
2390
2391 * testsuite/gdb.base/huge.c: Replace ``Linux'' with either
2392 ``GNU/Linux'' or ``Linux kernel''
2393 * testsuite/gdb.threads/pthreads.c: Ditto.
2394
258ad32d
MC
23952002-02-24 Michael Chastain <mec@shout.net>
2396
2397 * gdb.threads/pthreads.c (thread1): Add a return statement.
2398 (thread2): Likewise.
2399 (foo): Likewise.
2400
04c3b3d4
MC
24012002-02-23 Michael Chastain <mec@shout.net>
2402
2403 * gdb.threads/linux-dp.c (philosopher): Add a return statement
2404 to placate gcc.
2405
5a2a0a20
MC
24062002-02-23 Michael Chastain <mec@shout.net>
2407
2408 * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
2409 test "ptype bint". The test passes on all my stabs configurations.
2410
a640f7fc
JB
24112002-02-21 Jim Blandy <jimb@redhat.com>
2412
27924826
JB
2413 * gdb.asm/asm-source.exp: Parse the output from `info sources' one
2414 filename at a time, and watch for the ones we want to see.
2415
a640f7fc
JB
2416 * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
2417 types of pointers to prototyped functions.
2418
edcc8c75
AC
24192002-02-20 Andrew Cagney <ac131313@redhat.com>
2420
2421 * gdb.base/sizeof.c (main): Call fill_structs. Print value of
2422 signed, unsigned and straight char.
2423 (padding_char, padding_short, padding_int, padding_long,
2424 padding_long_long, padding_float, padding_double,
2425 padding_long_double): New global variables.
2426 (fill, fill_structs): New functions.
2427
2428 * gdb.base/sizeof.exp: Check for signed and unsigned char. Check
2429 for correctly sized writes. Update copyright.
2430 (get_valueof): New procedure.
2431 (get_sizeof): Call get_valueof.
2432 (check_valueof): New procedure.
2433 (check_padding): New procedure.
2434
ac57ea44
MC
24352002-02-20 Michael Chastain <mec@shout.net>
2436
2437 * gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
2438 to setup_xfail. Document some of the remaining calls.
2439
7a10c941
MC
24402002-02-18 Michael Chastain <mec@shout.net>
2441
2442 * gdb.c++/userdef.exp: Update copyright year.
2443
fb8acdcc
DJ
24442002-02-18 Daniel Jacobowitz <drow@mvista.com>
2445
2446 * gdb.c++/userdef.exp: Test overloaded operators properly.
2447 Remove xfails.
2448
fda6ae12
MS
24492002-02-14 Michael Snyder <msnyder@redhat.com>
2450
2451 * gdb.base/gcore.exp: Relax recognition of function breakpoint.
2452
676a0442
DJ
24532002-02-14 Daniel Jacobowitz <drow@mvista.com>
2454
2455 * gdb.base/a2-run.exp: Check for a remote target properly.
2456 * gdb.base/annota1.exp: Likewise.
2457 * gdb.base/list.exp: Likewise.
2458 * gdb.base/reread.exp: Likewise.
2459 * gdb.base/scope.exp: Likewise.
2460 * gdb.base/shlib-call.exp: Likewise.
2461 * gdb.base/term.exp: Likewise.
2462 * gdb.c++/annota2.exp: Likewise.
2463
78b4f468
RE
24642002-02-13 Richard Earnshaw <rearnsha@arm.com>
2465
2466 * gdb.base/watchpoint.exp: Restore previous timeout at end of test.
2467
9a81ba51
MC
24682002-02-10 Michael Chastain <mec@shout.net>
2469
2470 * gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
2471 (call_after_alloca): Ditto.
2472
004af6c7
DJ
24732002-02-10 Daniel Jacobowitz <drow@mvista.com>
2474
2475 * gdb.base/ending-run.exp: Guard "cont" test with
2476 gdb_skip_stdio_test.
2477
37225f62
JB
24782002-02-06 Jim Blandy <jimb@redhat.com>
2479
2480 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
2481 from here...
2482 * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
2483 To here. Disable this test on non-HP platforms. Add big comment.
2484
fe6fdd96
MS
24852002-02-04 Michael Snyder <msnyder@redhat.com>
2486
2487 * gdb.base/ovlymgr.c (ovly_copy): Generalize for targets
2488 other than d10v and m32r.
2489
036fad3f
RE
24902002-02-02 Richard Earnshaw <rearnsha@arm.com>
2491
2492 * gdb.base/default.exp: Rewrite test patterns to reduce time
2493 taken to match them.
2494
7148ab62
DJ
24952002-01-30 Daniel Jacobowitz <drow@mvista.com>
2496
2497 * gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
2498 Allow a start function above main.
2499 * gdb.threads/linux-dp.exp: Fix copyright date.
2500
396cc255
DJ
25012002-01-30 Daniel Jacobowitz <drow@mvista.com>
2502
2503 * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
2504 (check_philosopher_stack): Check for manager thread before checking
2505 for a just-starting thread.
2506
f038d31b
DJ
25072002-01-30 Daniel Jacobowitz <drow@mvista.com>
2508
2509 From Neil Booth <neil@daikokuya.demon.co.uk>:
2510 * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
2511 warnings.
2512
b3ff9d9a
FF
25132002-01-21 Fred Fish <fnf@redhat.com>
2514
2515 * gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
2516 not caller.
2517
39ad761d
JB
25182002-01-21 Jim Blandy <jimb@redhat.com>
2519
2520 * gdb.base/reread.exp: Check that GDB properly re-reads the
2521 executable file when it changes while no inferior is running.
2522
aaf320fa
FF
25232002-01-21 Fred Fish <fnf@redhat.com>
2524
2525 * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
2526 optionally accept the "shlib events" variation.
2527
808a31f5
JB
25282002-01-21 Jim Blandy <jimb@redhat.com>
2529
2530 * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
2531 call `fflush' after every `printf', so that the output is produced
2532 at predictable points, regardless of whatever buffering does (or
2533 doesn't) take place.
2534 * gdb.base/ending-run.exp: Adjust tests to expect output to appear
2535 at different points.
2536
4420d5e2
DJ
25372002-01-20 Daniel Jacobowitz <drow@mvista.com>
2538
2539 * gdb.c++/inherit.exp: Update copyright years.
2540 * gdb.c++/method.exp: Likewise.
2541
3e36a0f4
DJ
25422002-01-20 Daniel Jacobowitz <drow@mvista.com>
2543
2544 * gdb.c++/classes.exp: Update for improved v3 support and skipping
2545 artificial methods/arguments.
2546 * gdb.c++/derivation.exp: Likewise.
2547 * gdb.c++/inherit.exp: Likewise.
2548 * gdb.c++/method.exp: Likewise.
2549 * gdb.c++/virtfunc.exp: Likewise.
2550
b4ceaee6
AC
25512002-01-18 Andrew Cagney <ac131313@redhat.com>
2552
2553 * gdb.hp/gdb.threads-hp/usrthfork.exp: Mark as obsolete.
2554 * gdb.hp/gdb.threads-hp/usrthcore.exp: Ditto.
2555 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Ditto.
2556 * gdb.hp/gdb.threads-hp/usrthfork.c: Ditto.
2557 * gdb.hp/gdb.threads-hp/usrthbasic.c: Ditto.
2558 * gdb.hp/gdb.threads-hp/usrthcore.c: Ditto.
2559
ecace851
JB
25602002-01-17 Jim Blandy <jimb@redhat.com>
2561
2562 * gdb.asm/asm-source.exp (info symbol): Take another shot at
2563 anchoring the pattern matching the entry point symbol's name.
2564
375fc983
AC
25652002-01-17 Andrew Cagney <ac131313@redhat.com>
2566
2567 * gdb.base/maint.exp: Update ``maint internal-error'' to match
2568 continue/quit query. Update copyright.
2569
fe6fdd96
MS
25702002-01-14 Michael Snyder <msnyder@redhat.com>
2571
2572 * gdb.base/gcore.exp: Remove extra debugging output.
2573
e017c81f
DJ
25742002-01-13 Daniel Jacobowitz <drow@mvista.com>
2575
2576 * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
2577 for slightly dubious v2 mangled string.
2578
37ab3bf8
DJ
25792002-01-13 Daniel Jacobowitz <drow@mvista.com>
2580
2581 * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
2582
1bc05c3a 25832002-01-10 Jason Merrill <jason@redhat.com>
7b2ac63b 2584
1bc05c3a 2585 * gdb.c++/namespace.exp: Accept trailing const for 'this'.
7b2ac63b 2586
1bc05c3a
JM
2587 * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
2588 constructors.
2589 * gdb.c++/derivation.exp: Likewise.
2590 * gdb.c++/templates.exp: Likewise.
2591 * gdb.c++/virtfunc.exp: Likewise.
ffcb195b 2592
1bc05c3a
JM
25932002-01-10 Michael Snyder <msnyder@redhat.com>
2594
2595 * gdb.c++/namespace.exp: Accept both '\0' and '\000'.
ffcb195b 2596
a911c360
MS
25972002-01-08 Michael Snyder <msnyder@redhat.com>
2598
2599 * gdb.base/gcore.exp: New test for generate-core-file command.
2600 * gdb.base/gcore.c: Testcase for above.
2601 * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
2602
ea2119ec
JM
26032002-01-08 Jason Merrill <jason@redhat.com>
2604
2605 * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
2606
68203136
FF
26072002-01-07 Fred Fish <fnf@redhat.com>
2608
2609 * gdb.c++/overload.exp: Remove unconditional xfails for:
2610 print foo_instance1.overloadargs(1)
2611 print foo_instance1.overloadargs(1, 2)
2612 print foo_instance1.overloadargs(1, 2, 3)
2613 print foo_instance1.overloadargs(1, 2, 3, 4)
2614 print foo_instance1.overloadargs(1, 2, 3, 4, 5)
2615 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
2616 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
2617 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
2618 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
2619 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
2620 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
2621 print foo_instance1.overload1arg()
2622 print foo_instance1.overload1arg((char)arg2)
2623 print foo_instance1.overload1arg((signed char)arg3)
2624 print foo_instance1.overload1arg((unsigned char)arg4)
2625 print foo_instance1.overload1arg((int)arg7)
2626 print foo_instance1.overload1arg((unsigned int)arg8)
2627 print foo_instance1.overload1arg((float)arg11)
2628 print foo_instance1.overload1arg((double)arg12)
2629
21b9b5b1
MS
26302002-01-07 Michael Snyder <msnyder@redhat.com>
2631
2632 * gdb.base/huge.exp: New test. Print a very large target data object.
2633 (skip_huge_test): New test variable. Define if you want to skip this
2634 test. The test reads an 8 megabyte data object from the target, so it
2635 might be very time consuming on remote targets with a slow connection.
2636 * gdb.base/huge.c: New file. Test case for above.
2637
725f922e
FF
26382002-01-07 Fred Fish <fnf@redhat.com>
2639
2640 * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
2641 g_instance.bfoo, and g_instance.cfoo.
2642
634d57ec
JL
2643Mon Jan 7 12:22:18 2002 Jeffrey A Law (law@redhat.com)
2644
f286b2c3
JL
2645 * gdb.base/break.c (multi_line_if_conditional): New function.
2646 (multi_ilne_while_conditional): Likewise.
2647 * gdb.base/break.exp: Verify that a breakpoint on a multi-line
2648 IF or WHILE condition puts the breakpoint at the start of
2649 the condition.
2650
634d57ec
JL
2651 * gdb.base/selftest.exp (backtrace through signal handler): Remove
2652 hppa*-*-hpux* expected failure.
2653 * gdb.base/structs.exp (do_function_calls): Similarly.
2654
2655 * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
2656 watchpoints.
2657
9fbfe2dc
AC
26582002-01-06 Andrew Cagney <ac131313@redhat.com>
2659
2660 Fix PR gdb/66.
2661 * gdb.base/structs.exp: Replace skip for a29k with skip for
2662 gdb,cannot_call_functions.
2663 * gdb.base/call-ar-st.exp: Remove references to a29k in comments.
2664 * gdb.base/callfuncs.exp: Ditto.
2665 * gdb.base/call-rt-st.exp: Ditto.
2666 * gdb.base/call-strs.exp: Ditto.
2667 * gdb.base/callfwmall.exp: Ditto.
2668 * gdb.base/scope.exp: Obsolete xfail a29k.
2669 * gdb.c++/misc.exp: Ditto.
2670 * gdb.c++/cplusfuncs.exp: Ditto.
2671 * gdb.base/ptype.exp: Ditto.
2672 * gdb.base/printcmds.exp: Ditto.
2673 * gdb.base/opaque.exp: Ditto.
2674 * gdb.base/list.exp: Ditto.
2675 * gdb.base/funcargs.exp: Ditto.
2676 * gdb.base/default.exp: Ditto.
2677
8ddad156
MS
26782002-01-04 Michael Snyder <msnyder@redhat.com>
2679
ca4976a6 2680 * gdb.base/info-proc.exp: New file, test for "info proc" cmd.
8ddad156
MS
2681 * gdb.base/maint.exp: Add tests for maint info sections options.
2682
1b074332
JL
2683Fri Dec 21 09:42:11 2001 Jeffrey A Law (law@redhat.com)
2684
2685 * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
2686
7d159115
CV
26872001-12-20 Corinna Vinschen <vinschen@redhat.com>
2688
2689 * gdb.asm/arm.inc: New file.
2690 * gdb.asm/asm-source.exp: Add arm targets.
2691 * gdb.asm/configure.in: Ditto.
2692 * gdb.asm/configure: Recreated from configure.in.
2693
8fb87725
JL
2694Thu Dec 20 09:54:36 2001 Jeffrey A Law (law@redhat.com)
2695
afabe08c
JL
2696 * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
2697 with HP's compiler.
2698 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
2699 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
2700 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
2701 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
2702
2703 * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
2704 either HP's compilers or GCC.
2705
db521deb
JL
2706 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
2707 a SIGBUS or SIGSEGV.
2708
2709 * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
2710
2711 * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
2712 can be compiled with either HP's compiler or GCC.
2713
cfa88ab7
JL
2714 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
2715 * gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
2716 * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
2717
ca344dff
JL
2718 * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
2719 to match current gdb output. Update due to using auto-solib-limit
2720 for limiting instead of overloading auto-solib-add.
2721 * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
2722 test program.
2723
3f3c6e55 2724 * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
ca344dff
JL
2725 * gdb.hp/gdb.base-hp/dollar.exp: Likewise
2726 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
2727 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
2728 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
2729 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
2730 * gdb.hp/gdb.defects/bs15503.exp: Likewise.
2731 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
2732 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
2733 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
2734 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
2735 * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
2736 * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
3f3c6e55 2737
8fb87725
JL
2738 * gdb.base/annota1.exp: Expect failure for hpux11 when posting
2739 a SIGTRAP to the inferior.
2740
cf599fa7
CV
27412001-12-19 Corinna Vinschen <vinschen@redhat.com>
2742
2743 * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
2744 Substitute call to target_link by call to gdb_compile.
2745
2cd045cd
JL
2746Wed Dec 19 14:10:57 2001 Jeffrey A Law (law@redhat.com)
2747
2748 * gdb.base/break.exp: Fix HP specific search string when testing
2749 backtracing in a called function.
2750
2751 * gdb.base/constvars.exp: Only set lang to C++ if we're
2752 compiling the test with HP's compilers.
2753 * gdb.base/volatile.exp: Similarly.
2754
99ebe9ac
JB
27552001-12-19 Jim Blandy <jimb@redhat.com>
2756
2757 * gdb.base/printcmds.exp: Expect the null character to be printed
2758 as '\0', and the '\013' to be printed as '\v'.
2759 * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
2760 * gdb.base/setvar.exp: Same.
2761
b9891b29
JB
27622001-12-17 Jim Blandy <jimb@redhat.com>
2763
0eba65ab
JB
2764 * gdb.base/completion.exp: Rather than completing very long
2765 filenames, which can make the readline library produce output we
2766 don't recognize, cd to the directory first, and then complete
2767 using nice, short relative paths.
2768
6970b5b1
JB
2769 * gdb.base/completion.exp: On some systems, there is, in fact, a
2770 variable named `b' in scope, since GDB treats all static
2771 variables as being in scope. So use `no_var_named_this'
2772 instead of `b'.
2773
b9891b29
JB
2774 * gdb.base/corefile.exp: Recognize the message saying that GDB
2775 can't find the core file's registers as a failure.
2776
e6ccd35f
JSC
27772001-12-13 Jackie Smith Cashion <jsmith@redhat.com>
2778
2779 * gdb.base/commands.exp (user_defined_command_test): Make "show user"
2780 test expect string more specific.
2781
105ba819
CV
27822001-12-13 Corinna Vinschen <vinschen@redhat.com>
2783
2784 * gdb.asm/asm-source.exp: Add support for xstormy16.
2785 * gdb.asm/configure.in: Ditto.
2786 * gdb.asm/configure: Rebuild.
2787 * gdb.asm/xstormy16.inc: New file.
2788
e9e79dd9
FF
27892001-12-10 Fred Fish <fnf@redhat.com>
2790
2791 * gdb.base/maint.exp: Update to match changes in type dumping code.
2792
347dc97d
JB
27932001-12-10 Jim Blandy <jimb@redhat.com>
2794
2795 * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
2796 matching the entry point symbol's name at the beginning of the
2797 line.
2798
5178b9d6
DJ
27992001-12-07 Daniel Jacobowitz <drow@mvista.com>
2800
2801 * gdb.c++/classes.exp, gdb.c++/derivation.exp,
2802 gdb.c++/inherit.exp, gdb.c++/method.exp,
2803 gdb.c++/namespace.exp, gdb.c++/templates.exp,
2804 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
2805 and class layout support.
2806
af890c52
DJ
28072001-12-07 Daniel Jacobowitz <drow@mvista.com>
2808
2809 * gdb.c++/classes.exp: Add test for static member function.
2810 * gdb.c++/misc.cc: Add class with static member function.
2811
7a345fb3
JB
28122001-12-07 Jim Blandy <jimb@redhat.com>
2813
f2e54a80 2814 If GDB says it can't find the struct the function returned, report
8032bf31
JB
2815 those tests as `unsupported'.
2816 * gdb.base/call-rt-st.exp (print_struct_call): New function.
2817 Rewrite subsequent tests to use it.
2818
2819 If GDB says it can't find the struct the function returned, report
f2e54a80
JB
2820 those tests as `unsupported'.
2821 * gdb.base/structs.exp (call_struct_func): New function.
2822 (do_function_calls): Use call_struct_func to call the functions
2823 returning structs.
2824
0bc69509
JB
2825 * gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
2826 whether functions are prototyped or not, so we can't possibly pass
2827 arguments to t_float_values2 properly.
2828
7a345fb3
JB
2829 * gdb.base/break.exp: (test_next_with_recursion): Don't change the
2830 value of `timeout' for targets other than the mips*tx39-*.
2831
edb6ede1
MS
28322001-12-06 Michael Snyder <msnyder@redhat.com>
2833
2834 * gdb.asm/asm-source.exp: Add tests for info target, info symbol,
2835 and detect whether the start symbol has a leading underscore.
2836
2d842f13
JB
28372001-12-04 Jim Blandy <jimb@redhat.com>
2838
2839 * gdb.base/completion.exp: Clarify indentation.
2840
68550daf
JB
28412001-12-03 Jim Blandy <jimb@redhat.com>
2842
2843 * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
2844 variables on the S/390, not `.word'.
2845
cd5195a8
JB
28462001-11-30 Jim Blandy <jimb@redhat.com>
2847
2848 Add assembly-source tests for s390-ibm-linux.
2849 * gdb.asm/s390.inc: New file.
2850 * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
2851 the S/390 architecture.
2852 * gdb.asm/configure: Regenerated.
2853
ca9efc90
MS
28542001-11-30 Michael Snyder <msnyder@redhat.com>
2855
2856 * gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
2857 next, info source, info sources, info line, global and static
2858 variables, and static functions.
2859 * gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
2860 * gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
2861 * gdb.asm/asmsrc1.s: Add a static function and some variables.
2862 * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
2863 * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
2864 (gdbasm_leave): Restore frame pointer.
2865 (gdbasm_startup): Copy stack set-up from crt0.S.
2866
d0e66976
FN
28672001-11-26 Fernando Nasser <fnasser@redhat.com>
2868
2869 From 2001-11-12 Jackie Smith Cashion <jsmith@redhat.com>:
2870 * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
2871 to a local (non-static) variable. Copy tstruct.a to a static buffer
2872 and return a pointer to that buffer.
2873 * gdb.base/callfwmall.c (t_structs_a): Ditto.
2874
e2334072
MK
28752001-11-24 Mark Kettenis <kettenis@gnu.org>
2876
2877 * gdb.asm/configure.in: Fix recognition of ix86 target.
2878 * gdb.asm/configure: Regenerate.
2879
756caa3d
MS
28802001-11-21 Michael Snyder <msnyder@redhat.com>
2881
2882 * gdb.asm/sparc.inc: New file.
2883 * gdb.asm/asm-source.exp: Recognize sparc target.
2884 * gdb.asm/configure.in: Recognize sparc target.
2885 * gdb.asm/configure: Regenerate.
2886
9a4d72d5
MS
28872001-11-21 Michael Snyder <msnyder@redhat.com>
2888
2889 * gdb.asm/m32r.inc: New file.
2890 * gdb.asm/asm-source.exp: Recognize m32r target.
2891 * gdb.asm/configure.in: Recognize m32r target.
2892 * gdb.asm/configure: Regenerate.
2893
a773d1cd
MS
28942001-11-20 Michael Snyder <msnyder@redhat.com>
2895
017ac23d
MS
2896 * gdb.asm/i386.inc: New file.
2897 * gdb.asm/asm-source.exp: Recognize ix86 target.
2898 * gdb.asm/configure.in: Recognize ix86 target.
2899 * gdb.asm/configure: Regenerate.
2900
a773d1cd
MS
2901 * gdb.c++/namespace.exp: Fix quotes in output messages.
2902
bb632afb
MS
29032001-11-14 Michael Snyder <msnyder@redhat.com>
2904
25d559ca 2905 * gdb.base/code-expr.exp: New file. Tests use of the "@code"
bb632afb
MS
2906 qualifier in a type cast expression, to designate an address
2907 in the instruction space (Harvard architecture).
2908
4749e309
MS
29092001-11-13 Michael Snyder <msnyder@redhat.com>
2910
2911 * gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
2912 Tests for expressions using 'const' and 'volatile'.
2913
25050984
CV
29142001-11-13 Corinna Vinschen <vinschen@redhat.com>
2915
2916 * gdb.asm/asm-sources.exp: Allow defining linker flags.
2917
1902c51f
DJ
29182001-11-12 Daniel Jacobowitz <drow@mvista.com>
2919
2920 * lib/mi-support.exp (mi_run_to_helper): Move comments
2921 outside of gdb_expect.
2922
dcf95b47
DJ
29232001-11-11 Daniel Jacobowitz <drow@mvista.com>
2924
2925 * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
2926 mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
2927 mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
2928 mi0_run_to): New functions.
2929 * gdb.mi/mi-simplerun.exp: Use them.
2930 * gdb.mi/mi0-simplerun.exp: Likewise.
2931 * gdb.mi/mi-var-cmd.exp: Likewise.
2932 * gdb.mi/mi0-var-cmd.exp: Likewise.
2933
45b074e1
AC
29342001-11-10 Andrew Cagney <ac131313@redhat.com>
2935
2936 * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
2937 * gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
2938
bf50d346
AC
29392001-11-09 Andrew Cagney <ac131313@redhat.com>
2940
2941 * gdb.base/restore.exp: Include $expected value in restored test
2942 message.
2943
9383332c
AC
29442001-11-09 Andrew Cagney <ac131313@redhat.com>
2945
2946 * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
2947 implemented.
2948
db62520a
MS
29492001-11-08 Michael Snyder <msnyder@redhat.com>
2950
2951 * gdb.base/callfuncs.exp: Add tests for nested call dummies.
2952 Add pass/fail message for stop at breakpoint in call dummy function.
2953
b5703437
MS
29542001-11-07 Michael Snyder <msnyder@redhat.com>
2955
760f6330
MS
2956 * gdb.c++/templates.exp (test_template_breakpoints):
2957 If we get an overload menu, but it does not match what
2958 we expect, we still need to issue the "cancel" command.
3b2a7ae5
MS
2959 * gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
2960 making the whitespace optional. Argument for "new" may be
2961 "unsigned" as well as "unsigned int/long".
eef747c0
MS
2962 * gdb.c++/templates.exp: Replace "const &" with "const ?&",
2963 making the whitespace optional. Also replace "(void) with
2964 "((void|)), making the keyword "void" optional.
63f50499
MS
2965 * gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
2966 making the whitespace optional. Also replace "(void) with
2967 "((void|)), making the keyword "void" optional.
3bf40917
MS
2968 * gdb.base/callfuncs.c (t_float_values): This function must
2969 _not_ be prototyped, and the following function (t_float_values2)
2970 must be prototyped (if the compiler supports it), so that GDB
2971 can be tested against both cases. Usually one case involves
2972 promotion of float to double, while the other does not.
2973 * gdb.base/callfwmall.c: Ditto.
b5703437
MS
2974 * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
2975 includes a stack frame for "start".
2976
c8ab4e6d
JB
29772001-11-05 Jim Blandy <jimb@redhat.com>
2978
2979 * gdb.stabs/weird.exp: Delete "p v_comb" test. It assumes that
2980 pointers are 32 bits long, and that offsets of relocs are always
2981 stored in the data (REL-style), and not in the reloc entry itself
2982 (RELA-style).
2983 * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
2984 stabs.
2985
3f08ced9
MS
29862001-11-01 Michael Snyder <msnyder@redhat.com>
2987
2988 * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
2989 and regular expression operators by using quoting.
2990
cbfa24cd
MS
29912001-10-31 Michael Snyder <msnyder@redhat.com>
2992
2993 * gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
2994 depending on what the symbol table contains.
2995 * gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
2996 the output of the ptype command. Similarly, accept both "const &"
2997 and "const&".
2998
aaa68313
CV
29992001-10-31 Corinna Vinschen <vinschen@redhat.com>
3000
3001 * gdb.base/miscexprs.c (main): Add usage of preprocessor
3002 symbol `STORAGE' to allow to choose the storage class of
3003 the local datastructures.
3004 * gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
3005 compiler directive.
3006
91740388
MS
30072001-10-30 Michael Snyder <msnyder@redhat.com>
3008
3009 * gdb.base/jump.exp: Allow it to run for all targets.
3010
1b7c05e7
CV
30112001-10-29 Corinna Vinschen <vinschen@redhat.com>
3012
3013 * gdb.base/call-ar-st.c (print_double_array): Match for loop
3014 with new double_array size.
3015 (main): Change storage class of all local variables to static.
3016 Reduce size of double_array to 9.
3017 * gdb.base/call-ar-st.exp: Increase timeout value.
3018 Change expected output for double array to match new size in
3019 call-ar-st.c.
3020
36a22261
CV
30212001-10-29 Corinna Vinschen <vinschen@redhat.com>
3022
3023 * gdb.base/ending-run.exp: Create identical output when passing
3024 `step to end of run' case. Add regular expression branch satisfying
3025 Stormy16 target.
3026
92b8ae91
MK
30272001-10-28 Mark Kettenis <kettenis@gnu.org>
3028
3029 * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
3030 that we catch the expected failure under Linux/x86.
3031
cb135b83
OF
30322001-10-29 Orjan Friberg <orjanf@axis.com>
3033
3034 * gdb.base/setvar.exp: Escape curly braces.
3035 * gdb.stabs/weird.exp: Ditto.
3036
6884aa54
DJ
30372001-10-27 Daniel Jacobowitz <drow@mvista.com>
3038
3039 * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
3040 * gdm.mi/mi0-hack-cli.exp: Likewise.
3041
0398c9aa
AC
30422001-10-25 Andrew Cagney <ac131313@redhat.com>
3043
3044 * gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
3045 messages.
3046
d20bf2e8
AC
30472001-10-21 Andrew Cagney <ac131313@redhat.com>
3048
3049 * lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
3050 checking MI enabled.
3051
03dd63aa
CV
30522001-10-09 Corinna Vinschen <vinschen@redhat.com>
3053
3054 * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
3055
1d9d99f3
FCE
30562001-10-04 Frank Ch. Eigler <fche@redhat.com>
3057
3058 * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
3059 if gdb child process crashes, just signal an error.
3060
838ae6c4
JB
30612001-10-02 Jim Blandy <jimb@redhat.com>
3062
3063 * lib/gdb.exp (test_xfail_format): Simplify.
3064
3065 * lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
3066 front of the variable name `format'. Simplify `if'.
3067
8f0cbc1c
DJ
30682001-10-01 Daniel Jacobowitz <drow@mvista.com>
3069
3070 * gdb.threads/pthreads.exp: Wait for output and delay
3071 before sending ^C.
3072
1f08dafd
DJ
30732001-10-01 Daniel Jacobowitz <drow@mvista.com>
3074
3075 * gdb.mi/mi-var-display.exp (continue to incr_a): Recognize
3076 some incorrect output instead of timing out.
3077 * gdb.mi/mi-var-display.exp (continue to incr_a): Likewise.
3078
674f90ff
CV
30792001-09-28 Corinna Vinschen <vinschen@redhat.com>
3080
3081 * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
3082 check to allow additional `int'.
3083
9b284272
DJ
30842001-09-27 Daniel Jacobowitz <drow@mvista.com>
3085
3086 * gdb.base/completion.exp: Remove incorrect 'p "a' test.
3087 Add tests for 'p "break' (pass) and 'p "break.' (xfail).
3088
b55a4771
MS
30892001-09-27 Michael Snyder <msnyder@redhat.com>
3090
3091 * lib/gdb.exp (test_debug_format): New proc.
3092 (setup_xfail_format): Use new proc test_debug_format.
3093 * gdb.base/constvars.exp (local_compiler_xfail_check): New
3094 proc; use new service proc test_debug_format.
3095 Replace all other "gcc_compiled" tests with this test.
3096 * gdb.base/volatile.exp (local_compiler_xfail_check): New
3097 proc; use new service proc test_debug_format.
3098 Replace all other "gcc_compiled" tests with this test.
3099
31002001-09-27 Michael Snyder <msnyder@redhat.com>
3101
3102 * gdb.base/cvexpr.exp: New file.
3103 * gdb.base/cvexpr.c: New file
3104 Test for expressions using const and volatile keywords.
3105
4e6667ac
CV
31062001-09-26 Corinna Vinschen <vinschen@redhat.com>
3107
3108 * gdb.base/constvars.exp: Check for different orders of keywords
3109 and additional "int" strings in output.
3110
4f337972
AC
31112001-09-22 Andrew Cagney <ac131313@redhat.com>
3112
3113 * gdb.base/maint.exp: Add "maintenance set/show" to list of valid
3114 responses from "help maint".
3115
2015650d
FCE
31162001-09-19 Frank Ch. Eigler <fche@redhat.com>
3117
3118 * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
3119 to localhost:NNN instead of :NNN, in case Xvfb is listening
3120 only on TCP.
3121
f3bcedc1
CV
31222001-09-19 Corinna Vinschen <vinschen@redhat.com>
3123
3124 * gdb.base/recurse.exp: When checking leaving the watchpoint
3125 scope, recognize when gdb is in function's epilogue and pass.
3126
6b819c92
KS
31272001-09-18 Keith Seitz <keiths@redhat.com>
3128
3129 * lib/insight-support.exp (_gdbtk_export_target_info): Add
3130 support for running tests against sid targets.
3131 (gdbtk_done): Ditto.
3132
a10c9419
CV
31332001-09-18 Corinna Vinschen <vinschen@redhat.com>
3134
3135 * gdb.base/ending-run.c (main): Set stdout buffersize
3136 to the same reasonable value for any target.
3137 * gdb.base/ending-run.exp: Add a regular expression
3138 to make testsuite happy on Sanyo Stormy16 target.
3139
739d0d99
CV
31402001-09-17 Corinna Vinschen <vinschen@redhat.com>
3141
3142 * gdb.base/display.c (do_loops): Add float variable `f'.
3143 Increment f in loop.
3144 * gdb.base/display.exp: Increment timeout by 60 seconds.
3145 Change float display test to use variable `f'.
3146
1b8947f0
JB
31472001-09-17 Jim Blandy <jimb@redhat.com>
3148
3149 * gdb.base/restore.exp: Use temporary breakpoints, to avoid
3150 overflowing the limited breakpoint tables on some ROM monitors
3151 (like the ROM68K).
3152
9890ac81
FCE
31532001-09-15 Frank Ch. Eigler <fche@redhat.com>
3154
3155 * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
3156 the "-ac" (disable access control) flag.
3157
6db765ea
JH
31582001-08-30 Jeff Holcomb <jeffh@redhat.com>
3159
3160 * gdb.base/remote.c: Use a small buffer for targets with 16-bit
3161 ints.
3162
4c32cc04
KS
31632001-08-30 Keith Seitz <keiths@redhat.com>
3164
3165 * lib/gdb.exp: Move all insight-related functionality into
3166 separate file.
3167 * lib/insight-support.exp: New file.
3168
8d6e6f81
FCE
31692001-08-29 Frank Ch. Eigler <fche@redhat.com>
3170
3171 * config/sid.exp (sid_start): Never set sid verbosity; disable
3172 expect_background {} that consumed its stdout; tolerate </dev/null.
3173 Attempt to set endianness override in "sid" protocol mode. Cleanup.
3174
6a90e1d0
AC
31752001-08-18 Andrew Cagney <ac131313@redhat.com>
3176
3177 * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
3178 CLI jump command to start it.
3179 (mi_run_to_main): Fail immediatly when unexpected output.
3180
1759b3c3
AC
31812001-08-18 Andrew Cagney <ac131313@redhat.com>
3182
3183 * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
3184 beginning of function. Fix PR gdb/191.
3185
61d11d80
FCE
31862001-08-16 Frank Ch. Eigler <fche@redhat.com>
3187
3188 * config/sid.exp (sid_start): Don't warn if we cannot figure out
3189 what to force sid endianness to.
3190
942a4df2
KS
31912001-08-15 Keith Seitz <keiths@redhat.com>
3192
3193 * lib/gdb.exp (gdbtk_start): Don't set environment
3194 variables for TCL_LIBRARY and friends. Insight will
3195 now figure these out for itself.
3196
0521c418
MS
31972001-08-02 Michael Snyder <msnyder@redhat.com>
3198
3199 * gdb.base/completion.exp: Remove the symbol "a64l" from
3200 the expect string; this is target-specific, and not related
3201 to what is being tested.
3202
74a9a58a
DB
32032001-08-02 Dave Brolley <brolley@redhat.com>
3204
3205 * config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
3206
c70819fa
MS
32072001-07-25 Michael Snyder <msnyder@redhat.com>
3208
c2b8fa57
MS
3209 * gdb.base/consecutive.exp: New file. Test stepping over
3210 breakpoints on consecutive instructions.
3211 * gdb.base/consecutive.c: New file.
3212
c70819fa
MS
3213 * gdb.base/call-rt-st.exp: Use double-backslash to quote
3214 curly braces in regular expressions.
3215
2b1a1355
MS
32162001-07-25 Michael Snyder <msnyder@redhat.com>
3217
3218 * gdb.base/ending-run.exp: Accept "Program exited normally" as
3219 legitimate output from stepping out of main.
3220
413eca6f
KS
32212001-07-22 Keith Seitz <keiths@redhat.com>
3222
3223 * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
3224 the empty string, do not run the tests.
3225
7e5a9322
SC
32262001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
3227
3228 * gdb.base/long_long.exp: Detect size of pointer. Take into
3229 account 2-byte pointers when testing for p/a results.
3230
de58f10f
SC
32312001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
3232
3233 * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
3234 and defined to 1K for m68hc11.
3235 (random_data): Reduce table to 1K for embedded platforms (68hc11).
3236 * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
3237 (sizeof_random_data): New variable to tell the size of the data table;
3238 don't test past this size; always run to main.
3239
d6f5fea1
SC
32402001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
3241
3242 * gdb.base/return2.exp: return of long long and double fails for
3243 68HC11; don't execute these tests on that platform.
3244 * gdb.base/return.exp: Return of a double fails for 68hc11.
3245
c477543d
SC
32462001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
3247
3248 * call-ar-st.exp: Use gdb_skip_float_test to avoid executing
3249 tests that print a float.
3250 * call-rt-st.exp: Likewise.
3251
63cf1c79
MK
32522001-07-12 Mark Kettenis <kettenis@gnu.org>
3253
3254 * gdb.base/so-impl-ld.exp: Remove stray space that prevented
3255 running this test on Linux.
3256
112f9ab5
MC
32572001-06-24 Michael Chastain <chastain@redhat.com>
3258
3259 * gdb.base/arithmet.exp: Remove some tests to make all test names
3260 unique.
3261
4970cb0f
MS
32622001-07-03 Michael Snyder <msnyder@redhat.com>
3263
3264 * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
3265 the output of the ptype command.
3266
d85da69f
MS
32672001-07-02 Michael Snyder <msnyder@redhat.com>
3268
4c8a82de
MS
3269 * gdb.base/completion.exp: Don't assume that break.c is the only
3270 source file that may contain functions named "marker".
d85da69f
MS
3271 * gdb.base/corefile.exp: Quote the curly braces in regexp.
3272
8afc772b
AC
32732001-06-28 Andrew Cagney <ac131313@redhat.com>
3274
3275 * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
3276 of files to delete.
3277
3278 From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
3279 * gdb.disasm/h8300s.exp: New file.
3280 gdb.disasm/h8300s.s: Likewise.
3281
cff22675
AC
32822001-06-27 Andrew Cagney <ac131313@redhat.com>
3283
3284 * lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format
3285 empty breakpoint tables.
3286
68c81b54
AC
32872001-06-25 Andrew Cagney <ac131313@redhat.com>
3288
3289 * lib/mi-support.exp: Update args=... part of stop-reason
3290 patterns. Accept either a list or a tuple.
3291
2dd62704
AC
32922001-06-23 Andrew Cagney <ac131313@redhat.com>
3293
3294 * lib/mi-support.exp: Remove local emacs variable defining
3295 change-log-default-name.
3296
b4127474
MC
32972001-06-22 Michael Chastain <chastain@redhat.com>
3298
3299 * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
3300 This is operationally compatible with the previous version.
3301
8dbfb380
JB
33022001-06-13 Jim Blandy <jimb@redhat.com>
3303
3304 * lib/gdb.exp (gdb_test): Doc fix.
3305
f2d8c86d
MC
33062001-06-10 Michael Chastain <chastain@redhat.com>
3307
3308 * gdb.base/exprs.exp: Remove a duplicate test.
3309
81564d34
JB
33102001-06-06 Jim Blandy <jimb@redhat.com>
3311
3312 * gdb.base/return2.exp (main): Use values to test float and double
3313 returns that are not NaN's, to avoid being confused by IEEE
3314 comparison rules.
3315
da55addb
MS
33162001-06-04 Michael Snyder <msnyder@redhat.com>
3317
3318 * gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
3319 non-zero if control_c fails. Terminate the test on failure,
3320 rather than wait for 12 more tests to time out.
3321
42c65987
JB
33222001-06-06 Jim Blandy <jimb@redhat.com>
3323
b18bced9
JB
3324 * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
3325 Don't forget to match the GDB prompt.
3326
42c65987
JB
3327 * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
3328
5b41e5f0
JB
33292001-06-04 Jim Blandy <jimb@redhat.com>
3330
3331 * gdb.base/help.exp: Update pattern to exclude `print-load-map'
3332 command.
3333
015e046f
KB
33342001-05-31 Kevin Buettner <kevinb@redhat.com>
3335
3336 * gdb.base/annota1.exp (info break): Match four or more spaces
3337 after "Address".
3338
fb1ffbbe
MC
33392001-05-31 Michael Chastain <chastain@redhat.com>
3340
3341 * gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
3342 (dm_type_int_star): Likewise.
3343 (dm_type_long_star): Likewise.
3344 (dm_type_void_star): Likewise.
3345
5ea2a32c
KB
33462001-05-29 Kevin Buettner <kevinb@redhat.com>
3347
3348 * gdb.base/completion.exp (INPUTRC): Set this environment variable
3349 to a known value in order to get consistent results regardless
3350 of the setting of INPUTRC or the presence or contents of .inputrc.
3351
ae23c492
MS
33522001-05-24 Michael Snyder <msnyder@redhat.com>
3353
ac55707e
MS
3354 * gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
3355 Don't require that the main thread and the manager thread are the
3356 first in the list.
3357
ae23c492
MS
3358 * gdb.threads/pthreads.exp (test_startup): Relax test for thread
3359 debugging. If test fails, issue an "unsupported" not a "fail".
3360
400071f1
JB
33612001-05-24 Jim Blandy <jimb@redhat.com>
3362
3363 Don't assume that short is shorter than int.
3364 * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
3365 assume that shorts are smaller than ints. On a 16-bit machine,
3366 this isn't true.
3367 ("print unsigned char == (~0)"): Add test that verifies that ~0,
3368 an int, is not equal to ~0 stored in an unsigned char. This tests
3369 the same thing that the previous test meant to, but works on
3370 16-bit machines, too.
3371 ("print unsigned char != (~0)"): Same test, complemented.
3372
0816a3e5
MS
33732001-05-24 Michael Snyder <msnyder@redhat.com>
3374
3375 * gdb.threads/pthreads.exp (all_threads_running): Add an explicit
3376 test for (full_coverage == 0). This makes the test run faster,
3377 and prevents dejagnu getting out of step.
3378
f6dc23a9
KB
33792001-05-23 Kevin Buettner <kevinb@redhat.com>
3380
3381 * gdb.base/finish.exp (finish_void): Revise pattern for
3382 stopping on the call statement to not permit stopping at
3383 the start of the instructions comprising the call sequence.
3384
7dbd117d
MC
33852001-05-19 Michael Chastain <chastain@redhat.com>
3386
3387 * gdb.base/callfuncs.exp: Make all test names unique.
3388 * gdb.base/commands.exp: Make all test names unique.
3389 * gdb.base/condbreak.exp: Make all test names unique.
3390 * gdb.base/dbx.exp: Make all test names unique.
3391 * gdb.base/default.exp: Make all test names unique.
3392 * gdb.base/define.exp: Make all test names unique. Conform some FAIL
3393 and TIMEOUT messages to their corresponding PASS message.
3394 * gdb.base/ending-run.exp: Make all test names unique.
3395 * gdb.base/long_long.exp: Remove duplicate test.
3396
6b0b0a9e
KB
33972001-05-21 Kevin Buettner <kevinb@redhat.com>
3398
3399 * gdb.base/finish.exp (finish_void): Allow "finish" command to
3400 stop on the call statement as well as the statement after the
3401 call.
3402
2caa35cb
MS
34032001-05-21 Michael Snyder <msnyder@redhat.com>
3404
3405 * gdb.base/long_long.exp: Allow for targets with 4-byte short.
3406
40713331
EZ
34072001-05-10 Elena Zannoni <ezannoni@redhat.com>
3408
3409 * gdb.base/completion.exp: Revamp test. Make it execute on all
3410 platforms.
3411
c2c1be8d
EZ
34122001-05-10 Elena Zannoni <ezannoni@redhat.com>
3413
2c9cd303
EZ
3414 * config/gdbserver.exp (gdb_load): Handle the case
3415 in which the arguments to gdbserver are given in the
3416 baseboard configuration file.
3417 Also handle the case in which the server needs to do a
3418 load.
3419
9671de48
KS
34202001-05-07 Keith Seitz <keiths@cygnus.com>
3421
3422 * lib/gdb.exp (gdbtk_initialize_display): New proc which will
3423 set up the display for testing.
3424 (gdbtk_start): Convert all paths to paths that tcl will like.
3425 Export target information to environment.
3426 (_gdbtk_xvfb_init): New proc to start Xvfb if available and
3427 necessary.
3428 (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
3429 (to_tcl_path): New proc to convert a given pathname into
3430 a path acceptible as an argument to a tcl command.
3431 (_gdbtk_export_target_info): New proc to export target info
3432 into the environment for gdbtk testing.
3433 (gdbtk_done): New proc to signal end-of-test.
3434
5a360f47
JB
34352001-05-06 Jim Blandy <jimb@redhat.com>
3436
3437 * restore.c: Make the code of caller0 correspond to its comment.
3438
66c756c6
MS
34392001-05-03 Michael Snyder <msnyder@redhat.com>
3440
3441 * config/sid.exp (gdb_target_sid): Check for error messages.
3442 On error or timeout, don't make expect exit (which will terminate
3443 all subsequent tests); instead just make gdb exit.
3444 (gdb_load): Check for error messages. On error or timeout,
3445 return a negative value.
3446
a966fde5
JB
34472001-04-24 Jim Blandy <jimb@redhat.com>
3448
851c18e0
JB
3449 * gdb.c++/templates.exp: If we see the prompt for the overload
3450 list, but we haven't recognized any of the longer patterns,
3451 arrange for this test to fail, not hang.
3452
a966fde5
JB
3453 * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
3454 variations.
3455
db144853
MC
34562001-04-22 Michael Chastain <chastain@redhat.com>
3457
3458 * gdb.c++/local.exp: Use the 'runto' library function.
3459 * gdb.c++/namespace.exp: Likewise.
3460 * gdb.c++/overload.exp: Likewise.
3461
3207ec21
KB
34622001-03-26 Kevin Buettner <kevinb@redhat.com>
3463
3464 * gdb.base/Makefile.in (EXECUTABLES): Add step-line.
3465 * gdb.base/step-line.exp: New file. Test step/next in presence of
3466 #line directives.
3467 * gdb.base/step-line.c: New file. Test program for the above.
3468 * gdb.base/step-line.inp: New file. We pretend that this file has
3469 been transformed by some other tool into step-line.c.
3470
13b57657
JB
34712001-03-21 Jim Blandy <jimb@redhat.com>
3472
3473 * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
3474 unmangled operator names.
3475
754cbe1c
JB
34762001-03-20 Jim Blandy <jimb@redhat.com>
3477
3478 * gdb.threads/linux-dp.exp: Recognize an additional message
3479 generated by GDB when it doesn't understand how to debug threads
3480 on the target system.
3481
177495c9
AC
34822001-03-19 Andrew Cagney <ac131313@redhat.com>
3483
3484 * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
3485
f266096b
MC
34862001-03-12 Michael Chastain <chastain@redhat.com>
3487
3488 * gdb.c++/derivation.exp: Use the 'runto' library function.
3489
cac3c2ff
MC
34902001-03-12 Michael Chastain <chastain@redhat.com>
3491
3492 * gdb.c++/annota2.exp: Fix regular expression for "post-query".
3493
b6c11a24
MC
34942001-02-24 Michael Chastain <chastain@redhat.com>
3495
3496 * gdb.c++/ref-types.exp: Change handwritten code to library
3497 function 'runto'.
3498
6bae5bce
OF
34992001-03-16 Orjan Friberg <orjanf@axis.com>
3500
3501 * gdb.base/signals.exp: Set count to 0 explicitly.
3502
0015fd9a
MS
35032001-03-15 Mark Salter <msalter@redhat.com>
3504
3505 * config/monitor.exp (gdb_target_cmd): Add explicit error return.
3506 (gdb_target_monitor): Add check of gdb_target_cmd return value.
880a15ee
MS
3507 (gdb_load): Add support for additional target_info: gdb_download_size
3508 and gdb_load_timeout.
0015fd9a 3509
fc33412a
DT
3510Thu Mar 8 16:06:00 2001 David Taylor <taylor@redhat.com>
3511
3512 * gdb.base/annota1.exp: Move test of isnative to earlier in the
3513 file -- to prevent failing when the compile fails but we have no
3514 intention of running the tests anyway.
3515
3516 * gdb.base/long_long.exp: Test target_info for no_long_long, skip
3517 tests if set.
3518
3519 * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
3520 integers.
3521
3522 * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
3523 * gdb.c++/namespace.exp: Ditto.
3524
115f06de
OF
35252001-03-07 Orjan Friberg <orjanf@axis.com>
3526
3527 * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
3528 * gdb.base/pointers.exp: Relax pattern match of decimals.
3529
b6ba6518
KB
35302001-03-06 Kevin Buettner <kevinb@redhat.com>
3531
3532 * Makefile.in, config/abug.exp, config/cfdbug.exp,
3533 config/cpu32bug.exp, config/dve.exp, config/est.exp,
3534 config/gdbserver.exp, config/hmsirom.exp, config/hppro.exp,
3535 config/i960.exp, config/m32r.exp, config/mn10300-eval.exp,
3536 config/monitor.exp, config/proelf.exp, config/rom68k.exp,
3537 config/sh.exp, config/sid.exp, config/slite.exp,
3538 config/sparclet.exp, config/udi.exp, config/unknown.exp,
3539 config/vr4300.exp, config/vr5000.exp, config/vx.exp,
3540 config/vxworks.exp, config/vxworks29k.exp,
3541 gdb.asm/asm-source.exp, gdb.base/a2-run.exp,
3542 gdb.base/all-bin.exp, gdb.base/annota1.exp,
3543 gdb.base/arithmet.exp, gdb.base/assign.exp,
3544 gdb.base/async.exp, gdb.base/attach.exp,
3545 gdb.base/bitfields.exp, gdb.base/bitops.exp,
3546 gdb.base/break.exp, gdb.base/call-ar-st.exp,
3547 gdb.base/call-rt-st.exp, gdb.base/call-strs.exp,
3548 gdb.base/callfuncs.exp, gdb.base/callfwmall.exp,
3549 gdb.base/commands.exp, gdb.base/completion.exp,
3550 gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
3551 gdb.base/constvars.exp, gdb.base/corefile.exp,
3552 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
3553 gdb.base/display.exp, gdb.base/ena-dis-br.exp,
3554 gdb.base/ending-run.exp, gdb.base/environ.exp,
3555 gdb.base/eval-skip.exp, gdb.base/exprs.exp,
3556 gdb.base/finish.exp, gdb.base/foll-exec.exp,
3557 gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp,
3558 gdb.base/funcargs.exp, gdb.base/help.exp,
3559 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp,
3560 gdb.base/logical.exp, gdb.base/long_long.exp,
3561 gdb.base/maint.exp, gdb.base/mips_pro.exp,
3562 gdb.base/miscexprs.exp, gdb.base/nodebug.exp,
3563 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp,
3564 gdb.base/pointers.exp, gdb.base/printcmds.exp,
3565 gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp,
3566 gdb.base/regs.exp, gdb.base/relational.exp,
3567 gdb.base/remote.exp, gdb.base/reread.exp,
3568 gdb.base/restore.exp, gdb.base/return2.exp,
3569 gdb.base/scope.exp, gdb.base/sect-cmd.exp,
3570 gdb.base/selftest.exp, gdb.base/setshow.exp,
3571 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
3572 gdb.base/sigall.exp, gdb.base/signals.exp,
3573 gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp,
3574 gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
3575 gdb.base/step-test.exp, gdb.base/structs.c,
3576 gdb.base/structs.exp, gdb.base/structs2.exp,
3577 gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp,
3578 gdb.base/volatile.exp, gdb.base/watchpoint.exp,
3579 gdb.base/whatis-exp.exp, gdb.base/whatis.exp,
3580 gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
3581 gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.exp,
3582 gdb.c++/derivation.exp, gdb.c++/inherit.exp,
3583 gdb.c++/local.exp, gdb.c++/member-ptr.exp, gdb.c++/method.exp,
3584 gdb.c++/misc.exp, gdb.c++/namespace.exp, gdb.c++/overload.exp,
3585 gdb.c++/ref-types.exp, gdb.c++/templates.exp,
3586 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp,
3587 gdb.disasm/am33.exp, gdb.disasm/hppa.exp,
3588 gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp,
3589 gdb.fortran/types.exp, gdb.java/jmisc.exp,
3590 gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
3591 gdb.stabs/weird.exp, gdb.threads/linux-dp.exp,
3592 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
3593 gdb.trace/circ.exp, gdb.trace/collection.exp,
3594 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
3595 gdb.trace/limits.exp, gdb.trace/packetlen.exp,
3596 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp,
3597 gdb.trace/report.exp, gdb.trace/save-trace.exp,
3598 gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
3599 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
3600 lib/gdb.exp, lib/mi-support.exp: Update/correct copyright
3601 notices.
3602
dc96c6c7 36032001-02-27 Michael Snyder <msnyder@cygnus.com>
d8f92b1f
MS
3604
3605 * gdb.base/varargs.c (find_max_double): Fix printf format string:
3606 first arg is int not float.
3607
dc96c6c7 36082001-02-22 Michael Snyder <msnyder@cygnus.com>
40f33b9b
MS
3609
3610 * gdb.base/reread.exp: Unsupported for non-native targets;
3611 doesn't work for remote debugging.
3612
9b0c4aeb
FN
36132001-02-19 Fernando Nasser <fnasser@redhat.com>
3614
3615 From Drew Moseley <dmoseley@redhat.com>
3616 * gdb.base/ending-run.exp: Properly handle the BSP state when
3617 stepping past the end of main.
3618
02aa71d5
MC
36192001-02-19 John Moore <jmoore@redhat.com>
3620
3621 * gdb.base/commands.exp (infrun_breakpoint_command_test):
3622 Converted HPUX fix for non-expected items following multiple
3623 step commands into general solution for all platforms.
3624
1fa449a4
MC
36252001-02-18 Michael Chastain <chastain@redhat.com>
3626
3627 * gdb.c++/classes.exp (do_tests): Change runto statements
3628 from "runto 'foo(void)'" to "runto 'foo'". This makes the
3629 statements demangler agnostic.
3630 * gdb.c++/virtfunc.exp (do_tests): Likewise.
3631 (gdb_virtfunc_restart): Likewise.
3632
b2f9ec70
MC
36332001-02-14 Michael Chastain <chastain@redhat.com>
3634
3635 * gdb.c++/inherit.exp (do_tests): Change runto statements
3636 from "runto 'foo(void)'" to "runto 'foo'". This makes the
3637 statements demangler agnostic.
3638
cf74b8ca
AC
3639Sun Feb 4 17:32:21 2001 Andrew Cagney <cagney@redhat.com>
3640
3641 * gdb.threads/pthreads.exp: Unify pass/fail messages for
3642 ``continue to bkpt at common_routine in thread 2'' and ``stopped
3643 before calling common_routine 15 times'' tests.
3644
99f78f56
MC
36452001-02-11 Michael Chastain <chastain@redhat.com>
3646
3647 * gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
3648 Helps the test script figure out which demangler is in use.
3649 (dm_type_foo_ref): Ditto.
3650 (dm_type_int_star): Ditto.
3651 (dm_type_long_star): Ditto.
3652 (dm_type_unsigned_int): Ditto.
3653 (dm_type_void): Ditto.
3654 (dm_type_void_star): Ditto.
99707966 3655 * gdb.base/cplusfuncs.exp (probe_demangler): New function.
99f78f56
MC
3656 Probe the gdb demangler and set variables to accommodate
3657 formatting differences.
3658 (info_func_regexp): New function. Same as info_func, but
3659 matches against a regexp.
3660 (info_func): Match against a literal string.
3661 (print_addr_2): New function. Match against a literal string,
3662 which can be different from the input to gdb.
3663 (print_addr): Simply call print_addr_2 with the same argument twice.
3664 (test_lookup_operator_functions): Use demangler formatting variables.
3665 Blow away the xfails and workarounds for gnats gdb bug gdb/18. Sort
3666 the tests in the same order as the C++ class declaration.
3667 (test_paddr_operator_functions): Ditto.
3668 (test_paddr_overloaded_functions): Ditto.
3669 (test_paddr_hairy_functions): Use demangler formatting variables.
3670 Add reference to gdb/19 for related tests.
3671 (do_tests): Call probe_demangler.
3672
1de8f023
KB
36732001-01-30 Kevin Buettner <kevinb@redhat.com>
3674
3675 * gdb.c++/templates.cc (printf): Remove unused function definition.
3676
ca3f91ed
MS
36772001-01-26 Felix Lee <flee@redhat.com>
3678
3679 * sid.exp (sid_exit): Pass host, not target, to remote_close.
3680
36812001-01-25 matthew green <mrg@redhat.com>
3682
3683 * config/sid.exp (sid_start): Call `remote_push_conn' after firing
3684 up sid.
3685 (sid_exit): Call `remote_pop_conn' after GDB is gone.
3686
36872001-01-25 matthew green <mrg@redhat.com>
3688
3689 * config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.'
3690 Deprecate $sid_spawn_id.
3691 (sid_exit): Remove code necessary only for `spawn.'
3692
36932001-01-25 matthew green <mrg@redhat.com>
3694
3695 * config/sid.exp (sid_start): Handle sim,protocol of `sid.'
3696
fb18ec4a
MC
36972001-01-28 Michael Chastain <chastain@redhat.com>
3698
3699 * gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
3700 to call when tests fail. It takes gdb out of the overloaded
3701 function choice menu back to the main prompt, so that the test
3702 program stays synchronized.
3703 (set_bp_overloaded): New proc to collect all the common
3704 code for setting a breakpoint on an overloaded name. Calls
3705 take_gdb_out_of_choice_menu when needed.
3706 (menu_overload1arg): New variable to collect the repeated
3707 instances of the expected menu for an overloaded name. Change
3708 the regular expression to handle changes in g++ type encoding:
3709 "void" can be either "void" or "", and "unsigned int" can be
3710 either "unsigned int" or "unsigned".
3711 (continue_to_bp_overloaded): Change regular expressions to handle
3712 changes in g++ type encoding.
3713 (no proc): Call take_gdb_out_of_choice_menu when needed.
3714 Remove redundant calls to "info break". Accept either "canceled"
3715 or "cancelled". Change regular expressions in "info break"
3716 calls to handle changes in g++ type encoding. Give all tests
3717 unique strings.
3718
9c646a6e
BE
37192001-01-17 Ben Elliston <bje@redhat.com>
3720
3721 * config/sid.exp: New file.
3722
9549d9c1
AC
3723Fri Jan 12 18:29:01 2001 Andrew Cagney <cagney@b1.cygnus.com>
3724
3725 * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
3726
dc96c6c7 37272000-12-21 Michael Snyder <msnyder@cygnus.com>
315f8b0e
MS
3728
3729 * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
3730 Add a RE to accept a non-ascii char if one is ever presented.
3731
b4df4f68
FN
37322000-12-20 Fernando Nasser <fnasser@redhat.com>
3733
297dd0fd 3734 * lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
b4df4f68 3735
dc96c6c7 37362000-12-18 Michael Snyder <msnyder@cygnus.com>
49c890fc
MS
3737
3738 * gdb.base/setvar.exp: Use double '\\' to quote curly braces
3739 in regexp. One '\' does not suffice on Linux.
3740
4a7bddb6
MC
37412000-12-09 Michael Chastain <chastain@redhat.com>
3742
3743 * gdb.base/break.exp (test_clear_command): Use a marker function
3744 rather than 'main' for the test function. Also move this
3745 test to an execution point where the marker function names are
3746 guaranteed to be bound to functions. (Executing tests after a
3747 'finish' from main runs into name conflicts with local names
3748 in __libc_start_main).
3749
dc96c6c7 37502000-12-07 Michael Snyder <msnyder@cygnus.com>
efb66345
MS
3751
3752 * gdb.base/finish.exp: New test for gdb's "finish" command.
3753 * gdb.base/return2.exp: New test for gdb's "return" command.
3754 * gdb.base/return2.c: New source file for above.
3755
dc96c6c7 37562000-12-05 Michael Snyder <msnyder@cygnus.com>
3c077de9
MS
3757
3758 * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
3759 * gdb.base/miscexprs.exp: Ditto.
3760 * gdb.base/pointers.exp: Ditto.
3761 * gdb.c++/derivation.exp: Ditto.
3762 * gdb.c++/local.exp: Ditto.
3763 * gdb.c++/namespace.exp: Ditto.
3764 * gdb.c++/overload.exp: Ditto.
3765 * gdb.c++/ref-types.exp: Ditto.
3766
dc96c6c7 37672000-12-05 Michael Snyder <msnyder@cygnus.com>
660fd469
MS
3768
3769 * gdb.base/constvars.exp: Test result of "up" command.
3770 * gdb.base/miscexprs.exp: Ditto.
3771 * gdb.base/pointers.exp: Ditto.
3772 * gdb.base/scope.exp: Ditto.
3773 * gdb.c++/derivation.exp: Ditto.
3774 * gdb.c++/local.exp: Ditto.
3775 * gdb.c++/namespace.exp: Ditto.
3776 * gdb.c++/overload.exp: Ditto.
3777 * gdb.c++/ref-types.exp: Ditto.
3778
44097287
FN
37792000-11-22 Michael Chastain <chastain@redhat.com>
3780
3781 * mips_pro.exp: Accept either "middle -> top -> main" or
3782 "middle -> main" in the backtrace, because gcc can optimize
3783 tail calls to jumps. Remove setup_xfail for the hppa case.
3784 Add a comment with the original warning messages from PR 3016,
3785 which was filed in 1993, to preserve them for posterity.
3786
9d2e1bab
ND
37872000-11-17 Nick Duffek <nsd@redhat.com>
3788
3789 * lib/gdb.exp (gdb_test): Override timeout with board info.
3790
1aca8eb7
ND
37912000-11-17 Nick Duffek <nsd@redhat.com>
3792
3793 * gdb.base/display.exp: Don't kill running stub. Add "again" to
3794 the second kill and detach messages.
3795
93076499
ND
37962000-11-17 Nick Duffek <nsd@redhat.com>
3797
3798 * configure.in: Add AC_EXEEXT.
3799 * configure: Regenerate.
3800 * Makefile.in (just-check): Export EXEEXT.
3801 * lib/gdb.exp ($EXEEXT): Import from environment.
3802 * gdb.base/maint.exp: Expect $EXEEXT in executable name. Don't
3803 expect "maint dump-me" on Cygwin.
3804 * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
3805 $EXEEXT.
3806
30e87cd3
ND
38072000-11-17 Nick Duffek <nsd@redhat.com>
3808
3809 * gdb.base/break.exp: Test backtrace and finish from called
3810 function on all platforms, not just HP-UX.
3811
dc96c6c7 38122000-11-03 Michael Snyder <msnyder@cygnus.com>
08e706b1
MS
3813
3814 * config/monitor.exp (gdb_target_cmd): Abstracts some of the
3815 code from gdb_target_monitor, so it can be used independantly
3816 for gdbserver. Also comment out an unnecessary PUTS.
3817
dc96c6c7 38182000-11-03 Michael Snyder <msnyder@cygnus.com>
958a4e4c
MS
3819
3820 * gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
3821 * gdb.base/corefile.exp: Expect the message "Program is being
3822 debugged already" when we send the "corefile" command, since
3823 the preceeding gdb_load may have connected gdb to a remote target.
3824 * gdb.base/display.exp: Disable hardware watchpoints if new
3825 board info variable "no_hardware_watchpoints" is true.
3826 Replace single-letter commands with more readable ones.
3827 * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
3828 if new board info variable "no_hardware_watchpoints" is true.
3829 * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
3830 to see if stdio (printf) testing is possible.
3831 * gdb.base/watchpoint.exp: Disable hardware watchpoints if new
3832 board info variable "no_hardware_watchpoints" is true. Use new
3833 proc "gdb_skip_stdio_tests" to see if printf tests are possible.
3834
39124dea
FN
38352000-11-13 Fernando Nasser <fnasser@redhat.com>
3836
3837 From Orjan Friberg <orjanf@axis.com>:
3838 * gdb.base/printcmds.exp: Escape curly braces followed by a number
3839 in array print pattern match.
3840
a9e2e984
FN
38412000-11-09 Fernando Nasser <fnasser@redhat.com>
3842
3843 * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
3844 spelling "cancelled" to U.S. spelling "canceled" to match changes
3845 made to gdb.
3846 * gdb.c++/ovldbreak.exp: Ditto.
3847
c7db355b
PS
38482000-11-06 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
3849
3850 * gdb.base/callfuncs.c (main): Moved to end of file, call
3851 t_double_values to initialize the FPU before inferior calls are made.
3852 * gdb.base/callfuncs.exp: Test for register preservation after calling
3853 inferior functions. Add tests for continuining, finishing and
3854 returning from a stop in a call dummy.
3855
dc96c6c7 38562000-10-24 Michael Snyder <msnyder@cygnus.com>
42f5c13f
MS
3857
3858 * gdb.base/commands.exp: Break up long lines, and re-indent.
3859
dc96c6c7 38602000-10-19 Michael Snyder <msnyder@cygnus.com>
ae0323a8
MS
3861
3862 * config/gdbserver.exp: Rewritten from the ground up, to make it
3863 compatible with the current dejagnu tree, and to make it work with
3864 the new "gdbserver" in libremote.
3865
dc96c6c7 38662000-10-16 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
3867
3868 * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
3869 * gdb.base/varargs.exp: Skip entire test if no printf support.
3870 * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
3871 * gdb.base/shlib-call.exp: Skip several tests if no printf support.
3872
dc96c6c7 38732000-10-13 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
3874
3875 * lib/gdb.exp (gdb_skip_float_test): New proc. Skip test if
3876 no floating point support.
3877 (gdb_skip_stdio_test): New proc. Skip test if no stdio support.
3878 * gdb.base/call-ar-st.exp: Use above procs to skip tests.
3879 * gdb.base/call-rt-st.exp: Ditto.
3880 * gdb.base/call-strs.exp: Ditto.
3881
bac5fc66
JG
38822000-08-02 Jimmy Guo <guo@hpcleara.cup.hp.com>
3883
3884 * gdb.base/sizeof.c: include <stdio.h>.
3885
3886 * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
3887 'finish', otherwise uncaptured gdb_prompt would potentially
3888 throw remaining test points out of sync.
3889
b22a6027
SB
38902000-07-26 Scott Bambrough <scottb@netwinder.org>
3891
3892 * gdb.base/recurse.exp: Run tests for all targets.
3893 * gdb.base/so-impl-ld.exp: Added wildcard to handle the
3894 gnu-oldld case on ARM.
3895 * gdb.base/watchpoint.exp (test_stepping): Clear xfail
3896 for ARM targets.
3897
d8231941
AG
3898Mon Jul 24 07:46:02 CDT 2000 Clinton Popetz <cpopetz@cygnus.com>
3899
3900 * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
3901 * gdb.java/configure: Rebuild.
3902
8caabe69
AG
3903Sun Jul 23 21:42:34 2000 Anthony Green <green@redhat.com>
3904
3905 * gdb.java/jv-exp.exp: New file.
3906
9d273ca3
AG
3907Sun Jul 23 21:02:42 2000 Anthony Green <green@redhat.com>
3908
3909 * configure: Rebuilt.
3910 * configure.in (configdirs): Add gdb.java.
3911 * gdb.java/jmisc.java: New file.
3912 * gdb.java/jmisc.exp: New file.
3913 * gdb.java/Makefile.in: New file.
3914 * gdb.java/configure: Rebuilt.
3915 * gdb.java/configure.in: New file.
3916 * lib/java.exp: New file.
3917
4f823a66
AC
3918Wed Jul 12 18:14:29 2000 Andrew Cagney <cagney@b1.cygnus.com>
3919
3920 * gdb.base/exprs.exp: Test casts to a pointer including over and
3921 underflow.
3922
2391e11d
AC
3923Thu Jul 13 11:52:53 2000 Andrew Cagney <cagney@b1.cygnus.com>
3924
3925 * gdb.base/sizeof.exp, gdb.base/sizeof.c: New files. Compare GDB
3926 and the compilers sizes.
3927
54602222
ND
39282000-07-09 Nick Duffek <nsd@redhat.com>
3929
3930 * gdb.c++/misc.cc (class ClassParam, class_param): Define.
3931 (use_methods): New function.
3932 (main): Call use_methods().
3933 * gdb.c++/classes.exp (test_method_param_class): New procedure.
3934 (do_tests): Call test_method_param_class.
3935
2bec0572
ND
39362000-07-09 Nick Duffek <nsd@redhat.com>
3937
3938 * gdb.c++/classes.exp (test_nonexistant_members): Fix name
3939 spelling.
3940 (test_enums): New procedure. Move enum tests from end of script
3941 to here. Set breakpoint on function name instead of line number.
3942 * gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
3943 (enums2): New marker function.
3944 (enums1): New function.
3945 (main): Call enums1(). Move enum tests to enums1().
3946
78492fde
AC
3947Tue Jul 4 03:43:49 2000 Andrew Cagney <cagney@b1.cygnus.com>
3948
3949 * gdb.asm/asm-source.exp: Use raw AS/LD instead of CC to
3950 compile/link program. Update line numbers.
3951 * gdb.asm/d10v.inc: Define ``startup''.
3952 * gdb.asm/asmsrc1.s: Add definition of _start.
3953
49a2cef8
AC
3954Fri Jun 23 17:45:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
3955
3956 * gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
3957
3e6c8688
EZ
39582000-06-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3959
3960 * gdb.base/maint.exp: Add 'maint print architecture' item to output
3961 of 'help maint print' command.
3962
9ff5cbe9
AC
3963Fri Jun 16 18:22:05 2000 Andrew Cagney <cagney@b1.cygnus.com>
3964
3965 * gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
3966 they use gdb_expect_list.
3967
17c579bd
AC
3968Wed Jun 7 13:02:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
3969
3970 * gdb.base/commands.exp: Use ``set remote
3971 memory-read-packet-size'' instead of ``set endian big'' to test
3972 long commands.
3973
e6d71bf3
DB
39742000-06-03 Daniel Berlin <dan@cgsoftware.com>
3975
3976 * gdb.c++/templates.exp (do_tests): Make all of these work under
3977 g++, and stop skipping them.
3978
3979 * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
3980 work under g++.
3981
e5f9ba7b
MS
3982 * gdb.c++/misc.cc: Fix ambiguous initialization with correct
3983 initialization.
3984
dc96c6c7 39852000-06-02 Michael Snyder <msnyder@cygnus.com>
7346e70f
MS
3986
3987 * gdb.base/annota1.exp (run until main breakpoint): Loosen up
3988 the regular expression: accept an (almost) arbitrary sequence of
3989 "frames-invalid" and "breakpoints-invalid" messages both before
3990 and after the "starting" message.
3991
dc96c6c7 39922000-06-02 Michael Snyder <msnyder@cygnus.com>
e5f9ba7b
MS
3993
3994 * gdb.c++/local.exp: This test has never been known to work with g++.
e6d71bf3 3995
dc96c6c7 39962000-05-18 Michael Snyder <msnyder@cygnus.com>
0a791409
MS
3997
3998 * gdb.base/annota1.exp (annotate-signal-handler-caller):
3999 Relax the regular expression a little, make it pass on Solaris 8.
4000
8216cda9
KB
40012000-05-12 Kevin Buettner <kevinb@redhat.com>
4002
4003 * gdb.base/step-test.exp: On IA-64 targets, when stepping out of
4004 a call, do not require that gdb stop on the line after the call.
4005 Instead, it is permissible for gdb to stop on the line of the
4006 call itself.
4007
1a570b2f
MS
40082000-05-12 Michael Snyder <msnyder@.cygnus.com>
4009
4010 * gdb.base/break.exp (bp on small function, optimized file):
4011 Add a second pass pattern. The behavior differs here between stabs
4012 and dwarf for one-line functions. Stabs preserves two line symbols
4013 (one before the prologue and one after) with the same line number,
4014 but dwarf regards these as duplicates and discards one of them.
4015 Therefore the address after the prologue (where the breakpoint is)
4016 has no exactly matching line symbol, and GDB reports the breakpoint
4017 as if it were in the middle of a line rather than at the beginning.
4018
dc96c6c7 40192000-05-08 Michael Snyder <msnyder@cygnus.com>
89cb06a2
MS
4020
4021 * gdb.base/interrupt.exp: Make "pass" message say "send"
4022 rather than "send_gdb" (for consistancy).
4023
7d418785
AC
4024Mon May 1 15:37:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
4025
4026 From 2000-04-28 Andreas Jaeger <aj@suse.de>:
4027 * gdb.c++/templates.cc: Properly check for GCC version number.
4028 * lib/compiler.cc: Likewise
4029
dc96c6c7 40302000-04-28 Michael Snyder <msnyder@cygnus.com>
e919ea79
MS
4031
4032 * gdb.base/break.exp: When compiled with -O2 optimization,
4033 gdb may not stop at the first line of main, due to code motion.
4034
dc96c6c7 40352000-04-26 Michael Snyder <msnyder@cygnus.com>
1960c400
MS
4036
4037 * gdb.base/call-ar-st.exp: Bail out if target is sparclet.
4038 This test depends on parsing the printf output from the target.
4039 Since the sparclet stub doesn't do stdio, this will never work.
4040 * gdb.base/call-rt-st.exp: ditto.
4041 * gdb.base/call-strs: ditto.
4042
dc96c6c7 40432000-04-24 Michael Snyder <msnyder@cygnus.com>
b84b7669
MS
4044
4045 * gdb.base/miscexprs.exp: make sizeof long array test portable.
4046
4047 * gdb.base/ending-run.exp: After connecting to a remote target,
4048 but before running, the target will appear to be in a random
4049 location. Specify both a file and a line for breakpoints.
4050 Also, the function that calls main may be called 'init'
4051 rather than 'start'.
4052
a5a51225
EZ
40532000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4054
4055 * gdb.base/help.exp: Update output for add-symbol-file command.
4056
7930cc7c
FN
40572000-04-10 Fernando Nasser <fnasser@cygnus.com>
4058
4059 From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
4060 * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
4061
23e37ab1
C
40622000-04-07 J.T. Conklin <jtc@redback.com>
4063
e93c542c
C
4064 * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
4065
23e37ab1
C
4066 * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
4067
591b8fa3
PDM
4068Thu Mar 30 13:26:19 2000 Philippe De Muyter <phdm@macqel.be>
4069
4070 * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
4071 values that can be represented exactly.
4072 * gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
4073 above change, and to not check against the directory part of the source
4074 file name.
4075 (step into print_long_arg_list): Likewise.
4076 (print print_small_structs from print_long_arg_list): Likewise.
4077 (print print_long_arg_list): Likewise.
4078
7a495180
EZ
40792000-03-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4080
30b53638 4081 * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
7a495180 4082
beb998c6
AC
4083Mon Mar 27 14:46:37 2000 Andrew Cagney <cagney@b1.cygnus.com>
4084
4085 * ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
4086
1c689132
DB
40872000-03-25 Daniel Berlin <dan@cgsoftware.com>
4088
4089 * gdb.base/commands.exp (deprecated_command_test): Add test for
4090 deprecate with no arguments.
4091
c1790a9d
JL
40922000-03-24 Jonathan Larmour <jlarmour@redhat.co.uk>
4093
4094 * gdb.base/break.exp: Add new test for setting breakpoints on
4095 optimized code so we can test breakpoints work even when function
4096 prologues may be optimized away
4097
003ba290
FN
40982000-03-23 Fernando Nasser <fnasser@totem.to.cygnus.com>
4099
4100 From David Whedon <dwhedon@gordian.com>
4101 * gdb.base/commands.exp : Added command deprecator tests.
4102
6837a0a2
DB
41032000-03-22 Daniel Berlin <dan@cgsoftware.com>
4104
4105 * gdb.base/help.exp: Added test for new apropos command.
4106
b9593231
KB
41072000-03-21 Kevin Buettner <kevinb@redhat.com>
4108
4109 * gdb.base/pointers.c (usevar): New function.
4110 (main): Make sure that global variables v_int_pointer2, rptr,
4111 and y are all referenced someplace in the program by calling
4112 usevar() on them. [Some linkers delete symbols which are
4113 never referenced. The space remains, but there's no way to
4114 get a (symbolic) handle on the variable from the debugger.]
4115
751a959b
EZ
41162000-03-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4117
4118 * gdb.base/printcmds.c: Add typedeffed arrays.
4119
4120 * gdb.base/printcmds.exp (test_print_typedef_arrays): New
4121 procedure to test arrays that are typedef'd.
4122
73a93a32
JI
41232000-03-13 James Ingham <jingham@leda.cygnus.com>
4124
4125 * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
beb998c6 4126 the library directories.
73a93a32 4127
fb40c209
AC
4128Mon Feb 21 13:05:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
4129
4130 * configure.in (configdirs): Add sub directory gdb.mi.
4131 * configure: Re-generate.
4132
4133 * gdb.mi: New directory.
beb998c6 4134
ee4dd2c9
AC
41352000-02-25 Scott Bambrough <scottb@netwinder.org>
4136
4137 * gdb.base/long_long.exp: Correct test suite failure when printing
4138 a long long value as a double on ARM platforms.
4139
70f0cc22
JB
41402000-02-16 Jim Blandy <jimb@redhat.com>
4141
4142 * gdb.base/break.exp ("breakpoint line number"): Make sure the
4143 default source file is set properly before running this test.
4144
853819b8
EZ
41452000-02-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4146
4147 * lib/gdb.exp: Tell the testsuite that now gdbtk is in the
4148 gdbtk/library directory, not in gdbtcl2.
4149
dfcd3bfb
JM
41502000-02-04 Jim Blandy <jimb@redhat.com>
4151
4152 * gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
4153 backslash from regexp pattern.
4154
4155 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): New
4156 procedure. Use it to run all the "continue to bp overloaded"
4157 tests. Note that this changes the names of the tests slightly.
4158 If the breakpoint hit message includes a hex PC value, because
4159 GCC's Dwarf 2 line info doesn't help us distinguish the prologue
4160 from the real source code, still consider that a pass.
4161
4162 * gdb.base/condbreak.exp ("run until breakpoint at marker2"):
4163 XFAIL here if the breakpoint message contains a hex address. Note
4164 similar change on 1999-11-02.
4165
4166 * gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
4167
4168 * gdb.base/ptype.exp: Establish a default source file before
4169 calling get_debug_format.
4170
41712000-02-03 Fernando Nasser <fnasser@totem.to.cygnus.com>
4172
4173 * gdb.base/watchpoint.exp: Remove duplication of test messages.
4174
8b93c638
JM
41752000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
4176
4177 * gdb.base/step-test.exp: Fix the steps to enter a callee by means
4178 of successive stepi commands -- while in the prologue we should see
4179 the function entry bracket.
4180
41812000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
4182
4183 * gdb.base/ending-run.exp: Add ARM in thumb mode case, where we
4184 reach __change_mode() when stepping through the end of main().
4185
c5394b80
JM
41862000-01-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
4187
4188 * gdb.base/default.exp: Fix expected pattern.
4189 * gdb.base/help.exp: Same.
4190
0d06e24b
JM
41912000-01-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4192
4193 * gdb.base/so-indr-cl.exp: Don't execute the test if not on HPUX.
4194 Don't use xfail's because that affects only the following test.
beb998c6 4195
0d06e24b
JM
4196 * gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
4197 solaris or linux.
4198
4199 * gdb.base/selftest.exp: Update to reflect changes to main.c.
4200
dc96c6c7 42012000-01-07 Michael Snyder <msnyder@cygnus.com>
0d06e24b 4202
beb998c6 4203 * gdb.base/display.exp: Some yacc parsers like to say
0d06e24b
JM
4204 "A syntax error" rather than "A parse error". Accept both.
4205
42062000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
4207
4208 * gdb.base/default.exp: Remove OS dependent string from "target
4209 remote" test.
4210 * gdb.base/help.exp: Same for "help target remote" test.
4211
c3f6f71d
JM
42122000-01-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4213
4214 From Jim Kingdon <kingdon@redhat.com>:
4215
4216 * gdb.c++/annota2.exp: Fix "delete bps" test to wait for the
4217 prompt (cleanup rather than necessity, but still might keep output
4218 from spilling to next test).
4219
42202000-01-02 Fred Fish <fnf@cygnus.com>
4221
4222 * gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
4223 AIX, which defines them in <sys/types.h>.
4224
ed9a39eb 42251999-12-16 Stan Shebs <shebs@andros.cygnus.com>
c4093a6a 4226
ed9a39eb
JM
4227 * gdb.base/default.exp: Match arm* etc instead of arm in "info
4228 float" test.
4229
42301999-12-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
c4093a6a 4231
ed9a39eb 4232 * gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
c4093a6a
JM
4233
4234 * gdb.base/break.exp: Add missing anchor to reg exp on "finish from
4235 outermost frame disallowed".
4236
42371999-12-09 Fernando Nasser <fnasser@totem.to.cygnus.com>
4238
4239 * gdb.base/setvar.exp: New tests for setting the value of a struct
4240 with a constant list.
4241
42421999-12-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
4243
4244 * gdb.base/setvar.exp: Remove pair os tests that expected gdb to
4245 require the user to type a cast before setting the value of a struct.
4246
de57eccd
JM
42471999-12-06 Jim Blandy <jimb@cygnus.com>
4248
4249 * gdb.base/default.exp: Expect the new 'info float' command on
4250 all i386 platforms.
4251
4252 * gdb.threads/linux-dp.exp: Expand our ability to recognize
4253 LinuxThreads libraries that don't support debugging.
4254
c2d11a7d
JM
4255Sat Dec 4 15:21:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
4256
4257 * gdb.base/remote.c: Fill the buffer with truely random data.
4258 Change the buffer type to ``unsigned char'' to simplify size
4259 arithmetic.
4260
4261 * gdb.base/remote.exp: Reduce download numbers by one. Typical
4262 stub only handles 400-1 byte packets. Verify that the download
4263 worked.
4264
42651999-11-30 Fernando Nasser <fnasser@totem.to.cygnus.com>
4266
4267 * lib/gdb.exp (gdb_expect_list): FAIL only once on multiple pattern
4268 tests, using UNRESOLVED for the untested cases. Also, does not wait
4269 for a timeout if the prompt was received before a recognizable pattern.
4270
42711999-11-29 Fernando Nasser <fnasser@totem.to.cygnus.com>
4272
4273 * lib/gdb.exp (gdb_expect_list): Fix spelling.
4274
42751999-11-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4276
4277 * gdb.base/watchpoint.exp: Add tests cases for the hit count of
4278 watchpoints.
4279
42801999-11-24 Jason Merrill <jason@casey.cygnus.com>
4281
4282 * gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
4283
4284 * gdb.c++/local.exp: Be more flexible in recognizing local class
4285 name mangling. Don't allow horribly truncated method names.
4286 * gdb.c++/derivation.exp: Expect protected inheritance.
4287 * gdb.c++/inherit.exp: Be more flexible in recognizing vbase pointers.
4288 * gdb.c++/virtfunc.exp: Likewise.
4289 * gdb.c++/classes.exp: Likewise. Don't require the enclosing scope
4290 when printing a nested enum.
4291
42921999-11-22 Jim Blandy <jimb@cygnus.com>
4293
4294 * gdb.base/step-test.exp: Properly await GDB's response to setting
4295 a breakpoint on the call to large_struct_by_value.
4296
4297 * gdb.base/ending-run.exp ("step to end of run 1"): Don't fail
4298 just because we have debug info for the `start' function.
4299
43001999-11-19 Jim Blandy <jimb@zenia.red-bean.com>
4301
4302 * gdb.threads/linux-dp.exp ("create philosopher"): Recognize the
4303 "Unknown signal" messages, which indicate (on LinuxThreads) that
4304 GDB doesn't know how to debug threads on this system. This is
4305 better than hanging while philosopher 0 dumps chatter into gdb.log.
4306
43071999-11-18 Tom Tromey <tromey@cygnus.com>
4308
4309 * gdb.trace/deltrace.exp: Updated test to reflect new error text.
4310
43111999-11-18 Fred Fish <fnf@cygnus.com>
4312
4313 * gdb.base/coremaker2.c: Add sample program for generating
4314 cores that is more self contained than coremaker.c. Eventually
4315 I'll add more code to this and tie it into the testsuite.
4316
4ce44c66
JM
43171999-11-12 Stan Shebs <shebs@andros.cygnus.com>
4318
4319 * gdb.base/dollar.exp: Remove, now in gdb.hp.
4320
43211999-11-10 Jimmy Guo <guo@cup.hp.com>
4322
4323 * gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
4324 from $srcdir/lib/.
4325 * lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
4326 and gdb.c++/.
4327
4328 * gdb.c++/derivation.exp: remove redundant get compiler info code.
4329
beb998c6 4330 * gdb.base/commands.exp: add '$gdb_prompt $' anchor to
4ce44c66
JM
4331 'continue with watch' test point.
4332
43331999-11-08 Jim Blandy <jimb@zenia.red-bean.com>
4334
4335 Merged from p2linux-990323-branch:
beb998c6 4336
4ce44c66
JM
4337 * lib/gdb.exp (gdb_continue_to_breakpoint): New function.
4338
11cf8741
JM
4339Mon Nov 8 23:07:09 1999 Andrew Cagney <cagney@amy.cygnus.com>
4340
4341 * gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
4342 {limit,fixed}''. Test ``set download-write-size''.
4343
4344Sun Nov 7 17:37:01 1999 Andrew Cagney <cagney@b1.cygnus.com>
4345
4346 * gdb.base/funcargs.exp: Rewrite stack traceback checks using
4347 gdb_expect_list.
4348
4349Fri Nov 5 18:40:52 1999 Andrew Cagney <cagney@b1.cygnus.com>
4350
4351 * lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
4352
43531999-11-03 Mark Salter <msalter@cygnus.com>
4354
4355 * gdb.base/break.exp: Fix "stub continue" pattern.
4356
43571999-11-03 Jim Blandy <jimb@zwingli.cygnus.com>
4358
4359 * gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
4360
43611999-11-02 Jim Blandy <jimb@zwingli.cygnus.com>
4362
4363 * gdb.base/display.exp ("finish"): Add timeout clause.
4364
4365 * gdb.base/condbreak.exp ("run until breakpoint at marker1"): Add
4366 plain prompt clause, so this doesn't have to time out in order to
4367 fail.
4368
4369 * gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
4370 breakpoint hit messages include an address.
4371
4372 * gdb.base/display.exp: Don't forget to escape parens in regular
4373 expressions. Unix regexp notatation sucks.
4374
43751999-11-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4376
4377 * gdb.base/annota1.exp: Test for annotate-signalled: change output
4378 order for 'signalled' message.
4379
5c44784c
JM
43801999-11-01 Stan Shebs <shebs@andros.cygnus.com>
4381
4382 From Jimmy Guo <guo@cup.hp.com>:
4383 * gdb.base/annota1.exp: Add tests for annotate ignore count change.
4384 * gdb.base/annota1.c: Add code for tests to work with.
4385
43861999-10-26 Frank Ch. Eigler <fche@cygnus.com>
4387
4388 * gdb.base/remote.exp: New test for remote downloading settings.
4389 * gdb.base/remote.c: New file with large .data.
4390
917317f4
JM
43911999-10-18 Jim Blandy <jimb@zwingli.cygnus.com>
4392
4393 * gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
4394 for LinuxThreads support, merged from the Code Fusion branch.
4395
4396Mon Oct 11 13:57:21 1999 Andrew Cagney <cagney@amy.cygnus.com>
4397
4398 * lib/gdb.exp (gdb_run_cmd): Break complicated gdb_expect
4399 containing exp_continue into a while within an expect. Don't
4400 attempt a start more than three times. Check return value from
4401 gdb_load.
beb998c6 4402
2df3850c
JM
4403Wed Oct 6 12:05:58 1999 Andrew Cagney <cagney@b1.cygnus.com>
4404
4405 * gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
4406 a pass case.
4407
2acceee2
JM
44081999-10-01 Kevin Buettner <kevinb@cygnus.com>
4409
4410 * gdb.base/break.c (main): Added a statement that we can step
4411 off of.
4412 * gdb.base/break.exp: Added tests for setting a breakpoint
4413 at an offset and stepping onto a breakpoint.
4414
44151999-10-01 Fred Fish <fnf@cygnus.com>
4416
beb998c6 4417 * gdb.base/help.exp (help add-symbol-file): Update to match current
2acceee2
JM
4418 gdb output.
4419
c2c6d25f
JM
44201999-09-18 Jim Blandy <jimb@cris.red-bean.com>
4421
4422 * gdb.base/break.exp: Code locations are in hex, don't forget!
4423 (For HP-UX.)
4424
44251999-09-17 Stan Shebs <shebs@andros.cygnus.com>
4426
4427 * condbreak.exp: Use break.c as test program.
4428 * condbreak.c: Remove, redundant with break.c.
4429
44301999-09-15 Stan Shebs <shebs@andros.cygnus.com>
4431
4432 * config/monitor.exp (gdb_target_monitor): Disable X- and
4433 Z-packets if the target needs it.
4434
44351999-09-13 James Ingham <jingham@leda.cygnus.com>
4436
4437 * gdb.c++/overload.exp: Added tests for listing overloaded
4438 functions with function pointers in the arg, explicitly calling
4439 out the version you want.
4440
cff3e48b
JM
44411999-09-09 Stan Shebs <shebs@andros.cygnus.com>
4442
4443 * long_long.exp: Add variations of test cases that work for
4444 targets with 16-bit ints and 32-bit doubles.
4445
d4f3574e
SS
44461999-09-08 Stan Shebs <shebs@andros.cygnus.com>
4447
4448 * break.c (main): Compare a possibly-uninitialized argc with an
4449 unlikely value that fits in 16 bits.
4450
44511999-09-07 Stan Shebs <shebs@andros.cygnus.com>
4452
4453 * gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
4454 0xfeeb, don't want negative numbers if ints are 16 bits.
4455
4456 * lib/gdb.exp (skip_cplus_tests): New proc.
4457 * gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
4458 gdb.c++/anon-union.exp, gdb.c++/classes.exp,
4459 gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
4460 gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
4461 gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
4462 gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
4463 gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
4464 gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
4465
4466 * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
4467
4468Fri Sep 3 15:37:12 1999 Kevin Buettner <kevinb@cygnus.com>
4469
4470 * gdb.base/corefile.exp (up): Allow a parameter to appear
4471 in the frame that we're going up to.
4472
4473 From Jim Blandy <jimb@cygnus.com>:
4474
4475 * gdb.base/default.exp (info float): Expect some output now.
4476
4477 * gdb.base/callfuncs.exp (do_function_calls): We no longer expect
4478 returning floating-point values to fail on the x86.
4479 * gdb.base/callfwmall.exp (do_function_calls): Same.
4480
4481 * gdb.base/list.exp (test_listsize): Correct expectations for
4482 listing line 1 with listsize 2. Also, listing a single line
4483 works now, as does listing three lines. [Kevin's note: There
4484 were a number of other cases fixed too where the expectations
4485 differed...]
4486
44871999-09-02 Stan Shebs <shebs@andros.cygnus.com>
4488
4489 * gdb.base/selftest.exp: Add case for when version prints as
4490 constant string instead of char pointer.
4491
104c1213
JM
44921999-08-25 Stan Shebs <shebs@andros.cygnus.com>
4493
4494 * gdb.base/ending-run.exp: Add Solaris case for what happens when
4495 stepping out of main.
4496
4497 * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
4498 G++ used.
4499
4500 * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
4501 always, expect ptype InnerLocal::NestedInnerLocal to fail always.
4502
4503 * gdb.c++/ovldbreak.exp: Update match string in test that
4504 includes a warning of multiple breakpoints.
4505
45061999-08-24 Stan Shebs <shebs@andros.cygnus.com>
4507
4508 * gdb.base/display.exp: Improve precision of step-after-finish
4509 added yesterday.
4510
4511 * gdb.base/signals.exp: Add extra wildcard to "handle all print"
4512 test.
4513
4514 * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
4515 configs when using G++, not just hppa*.
4516
45171999-08-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4518
4519 * gdb.base/async.c: New file.
4520 * gdb.base/async.exp: New file.
4521
4522Tue Aug 24 03:24:53 1999 Jeffrey A Law (law@cygnus.com)
4523
4524 * gdb.base/break.exp: Tweak PA specific tests to properly handle
4525 PA64.
4526
53a5351d
JM
4527Mon Aug 23 10:25:20 1999 Jeffrey A Law (law@cygnus.com)
4528
104c1213
JM
4529 * gdb.base/display.exp: "finish" can leave us mid-line on many
4530 targets, deal with it. Add a small constant to main, instead of
4531 1000 since main+1000 may not be a valid address in the target.
4532
53a5351d
JM
4533 * gdb.base/dollar.exp: Do not run for PA processors in wide mode
4534 on hpux11.
4535
4536 * gdb.base/attach.exp: Handle another hpux11 error message variant
4537 when attaching to a process that does not exist.
4538
45391999-08-19 J.T. Conklin <jtc@redback.com>
4540
4541 * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
4542 characters in 'continue to 1241' test.
4543
45441999-08-17 Stan Shebs <shebs@andros.cygnus.com>
4545
4546 * gdb.base/call-ar-st.exp: Add a shorter match case for the
4547 stop in print_long_arg_list, define and use a whitespace
4548 variable in print_small_structs test, add an XFAIL for Solaris.
4549 * gdb.base/dbx.exp: XFAIL func commands until somebody is
4550 interested enough to fix.
4551
7be570e7
JM
45521999-08-13 Keith Seitz <keiths@cygnus.com>
4553
4554 * gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
4555 (dbx_gdb_load): Remove. Use gdb_load instead, since that
4556 proc knows about targets other than the natives.
4557 (test_assign): Use "gdb_run_cmd" to "run" the target.
4558 Check that we've actually hit the breakpoint at main.
4559 When we attempt to assign a value to a local variable, check
4560 that the variable is in the current scope, i.e., don't use
4561 a test with an empty result.
4562
4563Tue Aug 10 15:25:16 1999 Andrew Cagney <cagney@b1.cygnus.com>
4564
4565 * gdb.base/maint.exp: Add test of ``maintenance internal-error''
4566 command.
4567
45681999-08-09 Stan Shebs <shebs@andros.cygnus.com>
4569
4570 From Jimmy Guo <guo@cup.hp.com> and others at HP:
4571 gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
4572 gdb.compat, gdb.threads-hp.
4573 gdb.hp/configure, gdb.hp/configure.in: New files.
4574 gdb.hp/Makefile.in: Recurse into new subdirs.
4575 gdb.hp/gdb.defects: New directory, tests for HP bug reports.
4576 gdb.hp/gdb.objdbg: New directory, tests for debugging info
4577 in object files.
4578 gdb.hp/tools: New directory, aux tools for HP-specific tests.
4579
96baa820
JM
45801999-08-05 Stan Shebs <shebs@andros.cygnus.com>
4581
4582 * gdb.base/display.exp: Help expect by putting a newline in the
4583 funky printf, remove a bogus p/a test.
4584
45851999-08-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4586
4587 * gdb.base/display.exp: Make sure that when we say 'run', we are
4588 connected to the target. This is necessary when running not
4589 natively.
4590
45911999-08-03 Stan Shebs <shebs@andros.cygnus.com>
4592
4593 * gdb.base/step-test.exp: Removed some extraneous messages.
4594
4595 * gdb.base/long_long.exp: Don't run memory examination tests
4596 on little-endian targets (they will need a different set of
4597 results to match).
4598
45991999-08-02 Stan Shebs <shebs@andros.cygnus.com>
4600
4601 * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
4602 until somebody decides to fix GDB.
4603
4604 * gdb.base/long_long.c: Stop compiler complaint by specifying long
4605 constant as "ULL".
4606 * gdb.base/long_long.exp: Loosen x/c test, add partial result
4607 matches for a couple x/2 commands.
4608
a0b3c4fd
JM
46091999-07-30 Stan Shebs <shebs@andros.cygnus.com>
4610
4611 * gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
4612 by merging in ref-types2 tests.
4613 * gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
4614
4615 From Jimmy Guo <guo@cup.hp.com> and others at HP:
4616 * gdb.c++/Makefile.in: Add standard actions.
4617 (EXECUTABLES): Rename from PROGS, update list.
4618 * gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
4619 from gdb.hp.
4620 * gdb.c++/anon-union.cc: Don't use anonymous struct, make
4621 foo and bar locals.
4622 * gdb.c++/anon-union.exp: Fix tests to match.
4623 * gdb.c++/classes.exp: Run if HP compiler used, add extra
4624 expect matches to handle output variations.
4625 * gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
4626 * gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
4627 output, add HP alternatives for new and delete prints.
4628 * gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
4629 gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
4630 * gdb.c++/demangle.exp: Use $style when reporting failure.
4631 * gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
4632 * gdb.c++/inherit.exp: Run if HP compiler used, add some
4633 match alternatives.
4634 * gdb.c++/local.exp: Add match alternatives or xfails for HP
4635 compilers.
4636 * gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
4637 * gdb.c++/method.exp: Add match alternatives.
4638 * gdb.c++/misc.cc: Add bool types.
4639 * gdb.c++/misc.exp: Add tests for bool types.
4640 * gdb.c++/overload.exp: Add xfails.
4641 * gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
4642 * gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
4643 add some more template parameter tests (only for HP currently).
4644 * gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
4645 * gdb.c++/virtfunc.cc: Add return type and value for main.
4646 * gdb.c++/virtfunc.exp: Run if HP compiler used, add some
4647 match alternatives.
beb998c6 4648
a0b3c4fd
JM
46491999-07-30 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4650
4651 * gdb.base/display.exp: Fix output of 'p/a &&j' test.
4652
46531999-07-29 Jim Blandy <jimb@savonarola.red-bean.com>
4654
4655 * gdb.base/signals.exp: Don't expect getting a backtrace from
4656 within a signal handler to fail on Linux.
4657
46581999-07-29 Stan Shebs <shebs@andros.cygnus.com>
4659
4660 From Jimmy Guo <guo@cup.hp.com> and others at HP:
4661 * lib/gdb.exp: Remove some gratuitious semicolons.
4662 (delete_breakpoints): Increase timeout.
4663 (gdb_expect): Add -notransfer option.
4664 (gdb_test): Use -notransfer option.
4665 (get_compiler_info): Add f77 case.
4666 (get_compiler): New proc, split out from gdb_preprocess, add f77
4667 case.
4668 (gdb_preprocess): Call get_compiler.
4669
4670 * gdb.base/Makefile.in (EXECUTABLES): Update the list.
4671 * gdb.base/attach.exp, gdb.base/display.exp,
4672 gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
4673 gdb.base/long_long.exp, gdb.base/printcmds.exp,
4674 gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
4675 third arg to gdb_test.
4676 * gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
4677 * gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
4678 HP-UX xfails, add others.
4679 * gdb.base/completion.exp: Reflect name change of self-test.
4680 * gdb.base/condbreak.exp, gdb.base/corefile.exp,
4681 gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
4682 gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
4683 HP failure number.
4684 * gdb.base/foll-vfork.exp: Loosen matches slightly, remove
4685 useless HP-UX 10.30 references.
4686 * gdb.base/maint.exp: Loosen matches.
4687 * gdb.base/pointers.c (main): Declare more_code.
4688 * gdb.base/pointers.exp: Match on output of a `next'.
4689 * gdb.base/structs.c: Add prototypes.
4690 * gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
4691 * gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
4692
46931999-07-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4694
4695 * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
4696 command.
4697
46981999-07-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4699
4700 * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
4701 Fix run to main failures. Watchpoint can be hardware watchpoint.
beb998c6
AC
4702
4703 * gdb.base/annota1.exp: Clean up some more, in case printf has
a0b3c4fd
JM
4704 debug info. Deal with lack of signal hanlder info in stack.
4705
4706 From Jim Kingdon <kingdon@redhat.com>:
4707 * gdb.base/annota1.exp: If printf has debug info, deal with it.
4708
5a2468f5
JM
47091999-07-19 Stan Shebs <shebs@andros.cygnus.com>
4710
4711 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
4712 gdb.base/foll-vfork.exp: Don't run for crosses.
4713
adf40b2e
JM
4714Tue Jul 13 23:37:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
4715
4716 * gdb.base/configure.in: Check for gdbvars.exp instead of
4717 a1-selftest.exp.
4718 * gdb.base/configure: Re-generate.
4719
47201999-07-12 Stan Shebs <shebs@andros.cygnus.com>
4721
4722 * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
4723 in trying to run first and name is too long.
4724
4725 * gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
4726 pointers2.c and pointers2.exp, respectively.
4727 * gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
4728 doschk happier.
4729
43e526b9
JM
47301999-07-08 Stan Shebs <shebs@andros.cygnus.com>
4731
4732 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
4733 callfuncs2.c and callfuncs2.exp.
4734
4735 * gdb.base/list.exp: Remove mistaken xfails.
4736 * gdb.base/list0.h: Add optional prototypes.
4737
9846de1b
JM
4738Wed Jul 7 00:27:35 1999 Andrew Cagney <cagney@amy.cygnus.com>
4739
4740 * gdb.base/setvar.exp: Increase the time-out on tests indirectly
4741 calling malloc.
4742 * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
4743 * ptype.exp: Move test for get_debug_format to before its first
4744 use.
4745
47461999-07-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4747
4748 * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
4749 * gdb.base/annota2.cc, annota2.exp: Move from here.
4750 * gdb.c++/annota2.cc, annota2.exp: To here.
4751 * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
4752
43ff13b4
JM
4753Tue Jun 29 11:56:06 1999 Andrew Cagney <cagney@b1.cygnus.com>
4754
4755 * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
4756 a consistent format.
4757
085dd6e6
JM
47581999-06-25 Stan Shebs <shebs@andros.cygnus.com>
4759
4760 From Jimmy Guo <guo@cup.hp.com> and others at HP:
4761 * lib/gdb.exp (get_compiler_info): Add detection for assorted
4762 HP compilers, also set the globals $true and $false.
4763
4764 * gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
4765 call-rt-st.c, call-strs.c, callfuncs.c, callfuncs2.c, condbreak.c,
4766 coremaker.c, ending-run.c, exprs.c, funcargs.c, interrupt.c,
4767 jump.c, langs0.c, langs1.c, langs2.c, list0.c, list1.c,
4768 long_long.c, mips_pro.c, nodebug.c, opaque0.c, opaque1.c,
4769 printcmds.c, ptype.c, recurse.c, restore.c, return.c, run.c,
4770 scope0.c, scope1.c, setshow.c, setvar.c, shmain.c, shr1.c, shr2.c,
4771 sigall.c, signals.c, so-impl-ld.c, so-indr-cl.c, solib.c,
4772 solib1.c, solib2.c, step-test.c, twice.c, varargs.c, watchpoint.c,
4773 whatis.c} Add C++ compatible function definitions and return
4774 types, add includes for library functions.
4775 * gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
4776 * gdb.base/step-test.c (myglob): Rename from glob.
4777 * gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
4778 foll-exec.c, foll-fork.c, foll-vfork.c, sum.c, vforked-prog.c: New
4779 files, move here from gdb.hp.
4780 * gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
4781 commands.exp, condbreak.exp, define.exp, ena-dis-br.exp,
4782 ending-run.exp, jump.exp. list.exp, long_long.exp, so-impl-ld.exp:
4783 Adjust line numbers in regexps.
4784
4785 * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
4786 miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
4787 instead of 0/1.
4788
4789 * gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
4790 foll-vfork.exp: New files, move here from gdb.hp.
4791 * gdb.base/page.exp: New file, test of pagination command.
4792
4793 * gdb.base/watchpoint.c (recurser): New function, for watchpoint
4794 recursion test.
4795 * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
4796
4797 * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
4798 gdb.base/solib.exp: Fix compiler invocation process.
4799
4800 * gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
4801 HP-UX 11, turn off overload resolution explicitly.
4802 * gdb.base/commands.exp: Set argument list explicitly, add
4803 watchpoint test.
4804 * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
4805 them work.
4806 * gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
4807 expressions properly.
4808 * gdb.base/corefile.exp: Loosen the match slightly.
4809 * gdb.base/default.exp: Allow "Error accessing memory" message
4810 also.
4811 * gdb.base/display.exp: Skip over x/0 j if PA64.
4812 * gdb.base/funcargs.exp: Add xfails for HP-UX.
4813 * gdb.base/interrupt.exp: Ditto.
4814 * gdb.base/langs.exp: Add symbolic matches governed by compiler
4815 in use.
4816 * gdb.base/list.exp: Add xfails for HP-UX.
4817 * gdb.base/long_long.exp: Refine some of the numeric matches.
4818 * gdb.base/mips_pro.exp: Xfail on HP-UX.
4819 * gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
4820 * gdb.base/nodebug.exp: Succeed on more varieties of output.
4821 * gdb.base/opaque.exp: Remove some HP-UX xfails.
4822 * gdb.base/ptype.exp: Succeed on more varieties of output.
4823 * gdb.base/scope.exp: Add xfails for HP-UX.
4824 * gdb.base/sect-cmd.exp: Add more cases.
4825 * gdb.base/setvar.exp: Add xfails for HP-UX.
4826 * gdb.base/shlib-call.exp: Loosen some matches slightly.
4827 * gdb.base/signals.exp: Match on void symbolically.
4828 * gdb.base/step-test.exp: Add case for PA64.
4829 * gdb.base/term.exp: Add exit and restart.
4830 * gdb.base/twice.exp: Clean up after self.
4831 * gdb.base/varargs.exp: Disable overload resolution explicitly.
4832 * gdb.base/whatis.exp: Allow more ways to pass tests.
4833
4834 * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
4835 no longer useful.
4836
4837Fri Jun 25 19:27:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
4838
4839 * lib/gdb.exp (proc gdb_expect_list): New procedure. Matches a
4840 list of patterns.
4841 * gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
4842 print_double_array(double_array)", "continuing to breakpoint
4843 1018", "print print_double_array(array_d)" and "continuing to
4844 1034" tests.
beb998c6 4845
085dd6e6
JM
48461999-06-24 Jason Molenda (jsm@bugshack.cygnus.com)
4847
4848 * Makefile.in: Add empty html and install-html targets.
4849
48501999-06-24 Stan Shebs <shebs@andros.cygnus.com>
4851
4852 * config/mt-*: Remove, these haven't been used since 1996.
4853
48541999-06-22 Stan Shebs <shebs@andros.cygnus.com>
4855
4856 * gdb.base/call-strs.c, gdb.base/ending-run.c,
4857 gdb.base/step-test.c: Include stdlib.h and string.h as needed.
4858 * gdb.c++/member-ptr.exp: Skip over these tests if using G++.
4859
9e0b60a8
JM
48601999-06-18 Stan Shebs <shebs@andros.cygnus.com>
4861
4862 * gdb.c++/overload.exp: XFAIL everything if using G++, add a
4863 simpler match case for the ptype of the big class.
4864
48651999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
4866
4867 * gdb.exp: Fix test for gdb_prompt existence.
4868
48691999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
4870
4871 * gdb.exp (gdb_test): Add fail after calls to perror.
4872
48731999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
4874
4875 * gdb.exp (gdb_test): Accept variations of Undefined command messages.
4876
48771999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
4878
4879 * gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
4880
0f71a2f6
JM
4881Fri Jun 11 12:56:50 1999 Andrew Cagney <cagney@b1.cygnus.com>
4882
4883 * gdb.base/call-strs.c (link_malloc): New function. Ensure that
4884 malloc() is linked in.
4885
48861999-06-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
4887
4888 * gdb.base/ending-run.exp: Make sure we fail and do not timeout at
4889 step at end.
4890
4891 * gdb.base/annota1.exp: Increase match_max to prevent timeout.
4892
48931999-06-08 Jim Blandy <jimb@zwingli.cygnus.com>
4894
4895 * gdb.java/jv-print.exp: New file. (Our first Java test!)
4896
cce74817
JM
4897Fri Jun 4 10:47:46 1999 Jeffrey A Law (law@cygnus.com)
4898
4899 * gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
4900 * gdb.base/mips_pro.exp: Likewise.
4901
49021999-06-02 Keith Seitz <keiths@cygnus.com>
4903
4904 * gdb.c++/templates.cc: Change all "new" operators to throw
4905 an exception.
4906 * gdb.c++/cplusfuncs.cc: Likewise.
4907
4908 * gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
4909
4910Wed Jun 2 17:37:05 1999 Andrew Cagney <cagney@b1.cygnus.com>
4911
4912 * gdb.base/condbreak.exp: Use rerun_to_main to start the program.
4913 * gdb.base/ending-run.exp: When stepping out of main, accept a
4914 step into an arbitrary assembler file.
4915
392a587b
JM
49161999-05-20 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4917
beb998c6 4918 * gdb.base/annota1.exp: Allow any number of "frames-invalid" and
392a587b 4919 "breakpoint-invalid" to be printed.
beb998c6 4920 * gdb.base/annota2.exp: Revise line number for main breakpoint. Allow any
392a587b
JM
4921 number of "frames-invalid" and "breakpoint-invalid" to be printed.
4922 * gdb.base/annota2.cc: Initialize a.x to 0.
4923
9e086581
JM
49241999-05-17 Keith Seitz <keiths@cygnus.com>
4925
4926 * gdb.base/call-ar-st.exp: Skip "print print_double_array (double_array)"
4927 when "skip_float_tests" set.
4928 Ditto for "print print_double_array(array_d)", "print print_small_structs",
4929 "print print_ten_doubles", and "step into print_long_arg_list".
4930 Don't assume we can step into "print_long_arg_list": we could step into memcpy.
4931 * gdb.base/call-rt-st.exp: Don't run float-related tests when "skip_float_tests"
4932 is set: "print print_one_double(*d1)" and "print print_two_floats(*f3)".
4933 * gdb.base/funcargs.exp: Don't run "float_and_integral_args" when
4934 "skip_float_tests" is set.
4935 * gdb.base/varargs.exp: Skip "print find_max_double(5,1.0,17.0,2.0,3.0,4.0)"
4936 when "skip_float_tests" set.
beb998c6 4937
cd0fc7c3
SS
49381999-05-06 Keith Seitz <keiths@cygnus.com>
4939
4940 * gdb.base/annota2.cc: Include stdio.h.
4941
4942Wed May 5 17:44:31 1999 Stan Shebs <shebs@andros.cygnus.com>
4943
4944 * gdb.base/crossload.exp: Remove, this has been disabled ever
4945 since BFD stopped including all targets, and cross-GDB gets
4946 plenty of testing anyway.
4947 * gdb.base/i486-elf.u, gdb.base/m68k-aout.u, gdb.base/m68k-elf.u,
4948 gdb.base/sparc-aout.u, gdb.base/i860-elf.u, gdb.base/m68k-aout2.u,
4949 gdb.base/mips-ecoff.u, gdb.base/sparc-elf.u: Remove.
4950 * gdb.base/README: Remove, was doc for this.
4951 * gdb.base/Makefile.in (CROSS_EXECUTABLES): Remove, no longer
4952 needed.
4953
b83266a0
SS
49541999-05-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4955
4956 * gdb.base/call-ar-st.exp: Fix one regular expression in test
4957 output.
4958
4959 * gdb.base/annota1.exp: New file. Annotation level 2 tests.
4960 * gdb.base/annota2.exp: New file. More annotation tests.
4961 * gdb.base/annota1.c: New file. Source file for annota1.exp.
4962 * gdb.base/annota2.cc: New file. Source file for annota2.exp.
4963
49641999-04-23 Angela Marie Thomas <angela@cygnus.com>
4965
4966 * config/cfdbug.exp: New file.
4967
7a292a7a
SS
49681999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
4969
4970 * gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
4971 Marcus Daniel's and Dale Hawkins's demangler crashes.
4972
4973 * gdb.c++/demangle.exp (test_gnu_style_demangling,
4974 test_lucid_style_demangling, test_arm_style_demangling,
4975 test_hp_style_demangling): Try Tom Tromey's core-dumping
4976 identifier under each demangling style.
4977
49781999-04-07 Jim Blandy <jimb@zwingli.cygnus.com>
4979
4980 * gdb.c++/demangle.exp: Include the current demangling style
4981 in all test names.
4982 (current_demangling_style): New global variable.
4983 (set_demangling_style, test_demangling_core, test_demangling,
4984 test_demangling_exact): New functions.
4985 (test_gnu_style_demangling, test_lucid_style_demangling,
4986 test_arm_style_demangling, test_hp_style_demangling): Use those,
4987 instead of calling gdb_test and gdb_test_exact directly.
4988 (catch_demangling_errors): New function, which reports errors
4989 signalled by the demangling test functions in an orderly way.
4990 (do_tests): Use catch_demangling_errors.
4991
49921999-04-06 Jim Blandy <jimb@zwingli.cygnus.com>
4993
4994 * gdb.base/signals.exp (test_handle_all_print): Use () for
4995 grouping in expressions, not {}.
4996
4997 * gdb.base/smoke.exp: Test value of x, not y. The latter isn't
4998 initialized yet.
4999
50001999-04-01 Stan Shebs <shebs@andros.cygnus.com>
5001
5002 * gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
5003 are listed.
5004
50051999-03-26 Stan Shebs <shebs@andros.cygnus.com>
5006
5007 * gdb.stabs/weird.exp: Test for CC being defined before
5008 looking at its value.
5009
50101999-03-25 Stan Shebs <shebs@andros.cygnus.com>
5011
5012 * gdb.base/call-ar-st.exp: Remove stray '#'.
5013 * gdb.base/miscexprs.exp: Allow "short" and "long" as well as
5014 "short int" and "long int".
5015 * gdb.c++/overload.cc: Cast the string added in the previous
5016 change, to mollify finicky HP compiler.
5017 * gdb.hp/reg-test.exp (testfile): Fix file name.
5018 * gdb.stabs/weird.exp: Don't try to run if HP compiler in use.
beb998c6 5019
7a292a7a
SS
5020 * gdb.c++/misc.cc (main): Initialize obj_with_enum.
5021 * gdb.c++/classes.exp: Fix test of obj_with_enum values, allow
5022 alternate form of enum ptype.
5023
c906108c
SS
50241999-03-23 Stan Shebs <shebs@andros.cygnus.com>
5025
7a292a7a
SS
5026 * lib/gdb.exp (skip_hp_tests): Remove gcc_used argument.
5027 * gdb.hp/*.exp: Change all to run compiler probe only after
5028 passing skip_hp_tests, so as not to waste time on guaranteed
5029 failure.
5030
c906108c
SS
5031 * gdb.c++/overload.cc: Pass string instead of char addr, always
5032 init ccpfoo.
5033 * gdb.c++/templates.cc: Fix syntax error.
5034
7a292a7a
SS
5035Tue Mar 23 14:56:36 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5036
5037 * gdb.base/commands.exp: Add test for correct position of '>'
beb998c6 5038 when issuing the 'commands' command after a 'while' or 'if'
7a292a7a
SS
5039 command.
5040
50411999-03-18 James Ingham <jingham@cygnus.com>
5042
5043 * gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
5044
5045 * gdb.c++/method.exp: It was testing an uninitialized int on the
5046 stack and assuming it was positive.
5047
5048 * gdb.base/watchpoint.exp: Use gdb_continue_to_end.
5049
5050 * gdb.base/step-test.exp: Catch a case where finish is broken and
beb998c6 5051 keep it from killing the rest of the tests.
7a292a7a
SS
5052 Use gdb_continue_to_end.
5053
5054 * gdb.base/sigall.exp: use gdb_continue_to_end.
5055
5056 * gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
5057
5058 * gdb.base/display.exp: use runto_main, not run.
5059
beb998c6
AC
5060 * gdb.base/default.exp: Check for the current error message in the
5061 r abbreviation test.
7a292a7a
SS
5062 Add strongarm to the targets that know info float.
5063
beb998c6 5064 * gdb.base/condbreak.exp: Use the gdb_run command rather than just
7a292a7a
SS
5065 run which doesn't work with monitors.
5066
5067 * gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to 1034 test.
5068
5069 * gdb.base/break.exp: use the gdb_continue_to_end proc.
5070
5071 * lib/gdb.exp: I had added gdb_continue_to_end used to run to the end of a
beb998c6
AC
5072 program. Traps the case (in Cygmon) when the program never really
5073 exits. Same as Mark's continue_to_exit, but I had put it in a lot
7a292a7a
SS
5074 more places, so I used my name. Sorry Mark...
5075
5076 * config/monitor.exp (gdb_target_monitor): added another
5077 target_info parameter: remotebinarydownload. This will set the
5078 remotebinarydownload flag if this is causing some boards trouble.
5079
50801999-03-18 Mark Salter <msalter@cygnus.com>
5081
5082 * lib/gdb.exp (continue_to_exit): New function.
5083
5084 * gdb.base/ena-dis-br.exp: Clean up for remote targets.
5085 * gdb.base/ending-run.exp: Ditto.
5086 * gdb.base/step-test.exp: Ditto.
5087
50881999-03-16 Stan Shebs <shebs@andros.cygnus.com>
5089
5090 * gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
5091 (suggested by Art Haas <ahaas@neosoft.com>).
5092
50931999-03-16 Jim Blandy <jimb@zwingli.cygnus.com>
5094
5095 * gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
5096
5097Fri Mar 12 18:06:21 1999 Stan Shebs <shebs@andros.cygnus.com>
5098
5099 * gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
5100 descriptions of types (short unsigned int vs unsigned short, etc).
5101
51021999-03-12 Jim Blandy <jimb@zwingli.cygnus.com>
5103
5104 * gdb.base/call-strs.exp: Don't assume that `step' will step over
5105 a call to strlen; sometimes we do have sources.
5106
51071999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
c906108c
SS
5108
5109 * gdb.base/call-ar-st.c (main): Terminate char_array with a null
5110 character, so GDB won't print garbage after its end.
beb998c6 5111
c906108c
SS
5112 * gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
5113 breakpoint there instead. Sometimes GCC emits memcpy to handle
5114 the large structures being passed by value, so we step into that
5115 instead of sum_array_print, which obscures what we're really testing.
5116 * gdb.base/step-test.exp: However, we do want a test that notices
5117 the bizarre steps into memcpy, so do that here. Add check for
5118 stepping into function calls that pass large structures by value.
5119 ("Is that a noun clause, or are you just happy to see me?")
5120 Remove all references to specific line numbers.
5121 * gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
5122 New type and function.
5123 (main): Call large_struct_by_value, passing it a large struct by value.
5124 * lib/gdb.exp (gdb_get_line_number): New function.
5125
5126 * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
5127 more portable.
5128
7a292a7a
SS
51291999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
5130
c906108c
SS
5131 * lib/gdb.exp: Doc fixes.
5132
7a292a7a
SS
51331999-03-05 Nick Clifton <nickc@cygnus.com>
5134
beb998c6 5135 * gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
7a292a7a
SS
5136
51371999-03-04 Jim Blandy <jimb@zwingli.cygnus.com>
5138
c906108c
SS
5139 * gdb.base/display.exp: Don't exercise the "detach" and "kill"
5140 commands. They're not germane to this test, and they don't work
5141 that way on remote targets.
5142
3fc11d3e
JM
51431999-03-01 James Ingham <jingham@cygnus.com>
5144
5145 * Changelog entries merged over from gdb development branch.
5146
3fc11d3e
JM
5147 Tue Jan 5 12:33:47 1999 Keith Seitz <keiths@cygnus.com>
5148
5149 * lib/gdb.exp (gdbtk_analyze_results): Generic function
5150 for outputting results of test run.
5151
2d4a1622 5152 1998-12-07 Martin M. Hunt <hunt@cygnus.com>
3fc11d3e
JM
5153
5154 * lib/gdb.exp (gdbtk_start): Fix path for itcl library.
3fc11d3e 5155
7a292a7a
SS
51561999-02-25 Felix Lee <flee@cygnus.com>
5157
5158 * lib/gdb.exp (debug_format): initialize
5159
c906108c
SS
51601999-02-25 Jason Molenda (jsm@bugshack.cygnus.com)
5161
5162 * gdb.base/call-ar-st.c: Include string.h, not strings.h.
5163 * gdb.base/call-rt-st.c: Ditto.
5164
c906108c
SS
51651999-02-13 Jim Blandy <jimb@zwingli.cygnus.com>
5166
5167 * gdb.threads/pthreads.exp (horiz): New variable.
5168 (test_startup): Fix regexps that capture thread numbers.
5169
51701999-02-10 Jason Molenda (jsm@bugshack.cygnus.com)
5171
5172 * gdb.base/smoke.exp: Disambiguate two test case names (both
5173 called ``print'').
5174
5175Fri Feb 5 12:42:56 1999 Stan Shebs <shebs@andros.cygnus.com>
5176
5177 * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
5178 compilation.
5179
51801999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
5181
5182 * gdb.base/miscexprs.exp: Change patterns to match GDB's
5183 actual output formatting.
5184 * gdb.base/smoke.exp: GDB removes leading 0's.
5185 * gdb.base/volatile.exp: Don't check type of remuneration;
5186 that variable is no longer defined in constvars.c.
5187 * gdb.base/step-test.c (main): Exit with explicit exit code.
5188 * gdb.base/step-test.exp: Remove two nexti checks--they are
5189 not portable.
5190
51911999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
5192
5193 * gdb.base/help.exp ("help delete display"): Fix test to match
5194 gdb's output.
5195
5196 * gdb.base/long_long.c (known_types): Initialize values to zero.
5197 * gdb.base/long_long.exp: Step one more line
5198 so 'dec' is initialized in "get to known place". GDB removes
beb998c6 5199 leading zeros. Explicitly ask for hex formatting. Use
c906108c
SS
5200 unique test case names.
5201
5202Tue Feb 2 10:16:08 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5203
beb998c6 5204 * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
c906108c
SS
5205
5206 * gdb.c++/method.exp: Add missing close brace.
5207
52081999-01-30 Jim Blandy <jimb@zwingli.cygnus.com>
5209
5210 * gdb.base/maint.exp: Use 'set height 0' to disable page
5211 prompting, not 'set height 400'.
5212
5213 Fix a bunch of timeouts.
5214 * gdb.base/maint.exp ("maint print objfiles"): Break this up into
5215 four separate tests, so expect doesn't take forever to match a ton
5216 of text against a regexp with lots of .* forms.
5217 ("maint print psymbols", "maint print symbols"): Make some of
5218 these greps more selective, so that expect doesn't try to wade
5219 through huge piles of output and time out.
5220
5221 * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
5222
5223 * gdb.base/maint.exp ("maint info breakpoints"): Split into two
5224 tests: one which doesn't expect shlib events to be reported, and
5225 another which does, but is XFAIL for all platforms other than
5226 HP/UX.
5227
5228 * gdb.base/break.exp: Teach the test suite that the `catch
5229 fork', `catch vfork', and `catch exec' commands produce error
5230 messages on platforms that don't provide these features.
5231
5232Mon Jan 25 18:35:56 1999 Stan Shebs <shebs@andros.cygnus.com>
5233
5234 * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
5235 so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
5236 (shortening names from solib_threshold.exp etc), won't run on
5237 anything but HP-UX for the foreseeable future.
5238 * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
5239 reflect move.
5240
5241Thu Jan 21 15:46:49 1999 Stan Shebs <shebs@andros.cygnus.com>
5242
5243 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
5244 gdb.trace/Makefile.in (clean): Remove all test executables.
5245
5246Tue Jan 19 17:20:09 1999 David Taylor <taylor@texas.cygnus.com>
5247
5248 * gdb.base/shlib-call.exp: add test cases to verify that gdb
5249 successfully re-sets breakpoints in shared libraries.
5250 * gdb.base/shmain.c (main): return 0, don't fall off the end.
5251
5252Fri Jan 15 14:04:57 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5253
beb998c6
AC
5254 * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
5255 and compiled w/o GCC.
c906108c
SS
5256
5257 * gdb.hp/watch-cmd.exp: ditto.
5258
5259 * gdb.hp/watch-hp.exp: ditto.
5260
5261 * gdb.hp/xdb1.exp: ditto.
5262
5263 * gdb.hp/xdb2.exp: ditto.
5264
5265 * gdb.hp/dbx.exp: ditto.
5266
5267Thu Jan 14 18:36:48 1999 Stan Shebs <shebs@andros.cygnus.com>
5268
5269 * constvars.c: Remove C++-isms.
5270 * constvars.exp: Use gdb_test everywhere, add xfails if compiled
5271 with GCC.
5272
5273Mon Jan 11 10:08:03 1999 David Taylor <taylor@texas.cygnus.com>
5274
5275 The following changes are part of the HP merge.
5276
5277 * gdb.base/break.exp: new tests to verify that catchpoints for
5278 fork, vfork, and exec don't trigger inappropriately.
5279
5280 * gdb.base/opaque.exp: compile one file at a time, then link.
5281
5282 * gdb.base/signals.exp: be more restrictive about which hppa
5283 systems receive a setup_xfail. new tests.
5284
5285 * gdb.base/solib_threshold.build: new file.
5286 * gdb.base/solib_threshold.exp: new file.
5287 * gdb.base/solib_threshold.link_opts: new file.
5288 * gdb.base/solib_threshold.mk: new file.
5289 * gdb.base/gen_solib_threshold.c: new file.
5290
5291 * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
5292 tests. New tests for enums inside classes.
5293
5294 * gdb.c++/compiler.cc: indicate support of template debugging.
5295
5296 * gdb.c++/demangle.exp: run hp style demangling tests.
5297
5298 * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
5299 tests.
5300
5301 * gdb.c++/misc.cc: changes to support new tests.
5302
5303 * gdb.c++/templates.cc: changes to support HP's compiler; changes
5304 to support new tests.
5305
5306 * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
5307 gcc, then skip these tests.
5308
5309Sun Jan 10 23:44:11 1999 David Taylor <taylor@texas.cygnus.com>
5310
5311 The following files are part of the HP merge; some had longer
5312 names at HP, but have been renamed to be no more than 14
5313 characters in length.
5314
5315 * gdb.hp/ambiguous.cc: new file.
5316 * gdb.hp/ambiguous.exp: new file.
5317 * gdb.hp/attach.exp: new file.
5318 * gdb.hp/attach2.exp: new file.
5319 * gdb.hp/classes-hp.exp: new file.
5320 * gdb.hp/ctti.exp: new file.
5321 * gdb.hp/ctti-add.cc: new file.
5322 * gdb.hp/ctti-add1.cc: new file.
5323 * gdb.hp/ctti-add2.cc: new file.
5324 * gdb.hp/ctti-add3.cc: new file.
5325 * gdb.hp/dbx.exp: new file.
5326 * gdb.hp/exception.cc: new file.
5327 * gdb.hp/exception.exp: new file.
5328 * gdb.hp/foll-exec.c: new file.
5329 * gdb.hp/foll-exec.exp: new file.
5330 * gdb.hp/foll-fork.c: new file.
5331 * gdb.hp/foll-fork.exp: new file.
5332 * gdb.hp/foll-vfork.c: new file.
5333 * gdb.hp/foll-vfork.exp: new file.
5334 * gdb.hp/inherit-hp.exp: new file.
5335 * gdb.hp/more-steps.exp: new file.
5336 * gdb.hp/namespace.cc: new file.
5337 * gdb.hp/namespace.exp: new file.
5338 * gdb.hp/optimize.exp: new file.
5339 * gdb.hp/pxdb.c: new file.
5340 * gdb.hp/pxdb.exp: new file.
5341 * gdb.hp/quicksort.exp: new file.
5342 * gdb.hp/reg-test.exp: new file.
5343 * gdb.hp/reg-test.s: new file.
5344 * gdb.hp/sized-enum.c: new file.
5345 * gdb.hp/sized-enum.exp: new file.
5346 * gdb.hp/start-stop.exp: new file.
5347 * gdb.hp/templ-hp.cc: new file.
5348 * gdb.hp/templ-hp.exp: new file.
5349 * gdb.hp/thr-lib.c: new file.
5350 * gdb.hp/thr-lib.exp: new file.
5351 * gdb.hp/thr-lib.h: new file.
5352 * gdb.hp/thr-liblib.c: new file.
5353 * gdb.hp/virtfun-hp.c: new file.
5354 * gdb.hp/virtfun-hp.exp: new file.
5355 * gdb.hp/watch-cmd.exp: new file.
5356 * gdb.hp/watch-hp.exp: new file.
5357 * gdb.hp/xdb1.exp: new file.
5358 * gdb.hp/xdb2.exp: new file.
5359 * gdb.hp/xdb3.exp: new file.
5360
5361Wed Jan 6 18:41:15 1999 David Taylor <taylor@texas.cygnus.com>
5362
5363 The following files are part of the HP merge; some had longer
5364 names at HP, but have been renamed to be no more than 14
5365 characters in length.
5366
5367 * gdb.base/ss.h: new file.
5368 * gdb.base/call-ar-st.c: new file.
5369 * gdb.base/call-ar-st.exp: new file.
5370 * gdb.base/call-rt-st.c: new file.
5371 * gdb.base/call-rt-st-exp: new file.
5372 * gdb.base/call-strs.exp: new file.
5373 * gdb.base/ena-dis-br.exp: new file.
5374 * gdb.base/environ.exp: new file.
5375 * gdb.base/long_long.exp: new file.
5376 * gdb.base/sect-cmd.exp: new file.
5377 * gdb.base/shlib-cl2.exp: new file.
5378 * gdb.base/smoke.exp: new file.
5379 * gdb.base/so-impl-ld.c: new file.
5380 * gdb.base/so-impl-ld.exp: new file.
5381 * gdb.base/so-indr-cl.c: new file.
5382 * gdb.base/so-indr-cl.exp: new file.
5383 * gdb.base/varargs.exp: new file.
5384 * gdb.base/volatile.exp: new file.
5385 * gdb.base/whatis-exp.exp: new file.
7a292a7a 5386 * gdb.base/display.exp: new file.
c906108c
SS
5387 * gdb.c++/derivation.exp: new file.
5388 * gdb.c++/local.exp: new file.
5389 * gdb.c++/member-ptr.exp: new file.
5390 * gdb.c++/overload.exp: new file.
5391 * gdb.c++/ovldbreak.exp: new file.
5392 * gdb.c++/ref-types.exp: new file.
5393 * gdb.c++/ref-types2.exp: new file.
5394 * gdb.c++/userdef.exp: new file.
beb998c6 5395
c906108c
SS
5396Wed Jan 6 13:50:57 1999 Stan Shebs <shebs@andros.cygnus.com>
5397
5398 * gdb.base/default.exp: Reflect wording change in remote.c.
5399
dc96c6c7 5400Tue Jan 5 19:14:51 1999 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5401
5402 * gdb.base/help.exp: Update to reflect current text.
5403
5404Tue Jan 5 13:05:32 1999 David Taylor <taylor@texas.cygnus.com>
5405
5406 * gdb.c++/anon-union.cc: make foo and bar global, otherwise
5407 they're stack variables and contain garbage.
5408 * gdb.c++/anon-union.exp: new file.
5409
5410 The following changes were made by David Taylor
5411 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
5412 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
5413 in changes by HP.
5414
5415 * gdb.base/bitops.exp: new file.
5416 * gdb.base/default.exp: change expected messages for catch and
5417 info catch tests to reflect HP merge changes.
5418 * gdb.base/enable-disable-break.exp
5419 * gdb.base/ending-run.c: new file.
5420 * gdb.base/long_long.c: new file.
5421 * gdb.base/maint.exp: new file.
5422 * gdb.base/pointers2.exp: new file.
5423 * gdb.base/shlib-call2.exp: new file.
5424 * gdb.base/solib.exp: new file.
5425 * gdb.base/step-test.c: new file.
5426 * gdb.c++/anon-union.cc: new file.
5427 * gdb.c++/local.cc: new file.
5428 * gdb.c++/member-pointer.cc: new file.
5429 * gdb.c++/method.cc: new file.
5430 * gdb.c++/ref-types.cc: new file.
5431 * gdb.c++/ref-types2.cc: new file.
5432 * gdb.c++/userdef.cc: new file.
beb998c6 5433
c906108c
SS
5434 * gdb.base/scope.exp: compile one file at a time, then link.
5435 * gdb.base/langs.exp: ditto.
5436 * gdb.base/list.exp: ditto.
beb998c6 5437
c906108c
SS
5438Mon Jan 4 10:06:43 1999 David Taylor <taylor@texas.cygnus.com>
5439
5440 The following changes were made by David Taylor
5441 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
5442 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
5443 in changes by HP.
beb998c6 5444
c906108c
SS
5445 * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
5446 skip tests. When compiling pass c++ flag to gdb_compile.
5447 * gdb.c++/
beb998c6 5448
c906108c
SS
5449 * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
5450 test for on hppa*-*-hpux*; use args to see if c++ was specified.
5451 (skip_hp_tests): new function.
5452 (gdb_preprocess): new function.
5453
5454 * configure.in (hpdir): decide whether to configure gdb.hp.
5455 * configure: regenerated.
5456
5457 * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
5458 to delete on clean.
5459 (EXECUTABLES): update to reflect new additions.
5460 * gdb.base/commands.exp: update message expected.
5461 * gdb.base/default.exp: add copyright notice.
5462 * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
5463 * gdb.base/help.exp: update messages to reflect current text.
5464 * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
5465 targets for recurse tests.
5466 * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
5467 skip this file.
5468
5469 * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
5470 * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
5471 compilation.
5472 * gdb.c++/misc.exp: ditto.
5473 * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
5474 run the tests. tell gdb_compile that it's a c++ compilation.
5475
5476 * gdb.threads/pthreads.exp: fix typo in message.
beb998c6 5477
c906108c
SS
5478 * gdb.base/all-bin.exp: new file.
5479 * gdb.base/arithmet.exp: new file.
5480 * gdb.base/assign.exp: new file.
5481 * gdb.base/completion.exp: new file.
5482 * gdb.base/cond-expr.exp: new file.
5483 * gdb.base/condbreak.exp: new file.
5484 * gdb.base/define.exp: new file.
5485 * gdb.base/dollar.exp: new file.
5486 * gdb.base/environment.exp: new file.
5487 * gdb.base/eval-skip.exp: new file.
5488 * gdb.base/jump.exp: new file.
5489 * gdb.base/logical.exp: new file.
5490 * gdb.base/pointers.exp: new file.
5491 * gdb.base/relational.exp: new file.
5492 * gdb.base/section_command.exp: new file.
5493 * gdb.base/whatis-expr.exp: new file.
5494
5495 * gdb.base/all-types.c: new file.
5496 * gdb.base/call-array-struct.c: new file.
5497 * gdb.base/call-return-struct.c: new file.
5498 * gdb.base/call-strings.c: new file.
5499 * gdb.base/callfuncs2.c: new file.
5500 * gdb.base/condbreak.c: new file.
5501 * gdb.base/constvars.c: new file.
5502 * gdb.base/display.c: new file.
5503 * gdb.base/int-type.c: new file.
5504 * gdb.base/jump.c: new file.
5505 * gdb.base/miscexprs.c: new file.
5506 * gdb.base/pointers.c: new file.
5507 * gdb.base/pointers2.c: new file.
5508 * gdb.base/shmain.c: new file.
5509 * gdb.base/shr1.c: new file.
5510 * gdb.base/shr2.c: new file.
5511 * gdb.base/solib.c: new file.
5512 * gdb.base/solib1.c: new file.
5513 * gdb.base/solib2.c: new file.
5514 * gdb.base/varargs.c: new file.
5515 * gdb.c++/derivation.cc: new file.
5516 * gdb.c++/overload.cc: new file.
5517 * gdb.c++/ovldbreak.cc: new file.
5518 * gdb.hp/attach.c: new file.
5519 * gdb.hp/attach2.c: new file.
5520 * gdb.hp/average.c: new file.
5521 * gdb.hp/compiler.c: new file.
5522 * gdb.hp/compiler.cc: new file.
5523 * gdb.hp/execd-program.c: new file.
5524 * gdb.hp/follow-exec.c: new file.
5525 * gdb.hp/follow-fork.c: new file.
5526 * gdb.hp/follow-vfork-and-exec.c: new file.
5527 * gdb.hp/misc-hp.cc: new file.
5528 * gdb.hp/more-steps.c: new file.
5529 * gdb.hp/optimize.c: new file.
5530 * gdb.hp/quicksort.c: new file.
5531 * gdb.hp/run-hp.c: new file.
5532 * gdb.hp/start-stop.c: new file.
5533 * gdb.hp/sum.c: new file.
5534 * gdb.hp/templates-hp.cc: new file.
5535 * gdb.hp/thread-local-in-lib.c: new file.
5536 * gdb.hp/thread-local-in-lib.h: new file.
5537 * gdb.hp/thread-local-in-lib.lib.c: new file.
5538 * gdb.hp/vforked-program.c: new file.
5539 * gdb.hp/virtfunc-hp.cc: new file.
5540 * gdb.hp/watchpoint-hp.c: new file.
5541 * gdb.hp/xdb.c: new file.
5542 * gdb.hp/xdb0.c: new file.
5543 * gdb.hp/xdb0.h: new file.
5544 * gdb.hp/xdb1.c: new file.
5545
5546Mon Dec 21 14:08:38 1998 David Taylor <taylor@texas.cygnus.com>
5547
5548 The following change was made by Edith Epstein
5549 <eepstein@cygnus.com> as part of a project to merge in changes
5550 originally made by HP; HP did not create ChangeLog entries.
5551
5552 * gdb.c++/demangle.exp: changed the expected output for some
5553 ARM-style mangling -- removed second reference to datatype.
5554 For example, maint demangle __dt__11T1__pt__2_cFv
5555 T1<char>::~T1<char>(void)
5556 becomes,
5557 maint demangle __dt__11T1__pt__2_cFv
5558 T1<char>::~T1(void)
5559
5560 (test_hp_style_demangling): new hp specific demangling test cases.
beb998c6 5561
c906108c
SS
5562Mon Dec 14 15:07:03 1998 Jeffrey A Law (law@cygnus.com)
5563
5564 * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
5565 * gdb.trace/backtrace.exp: Likewise.
5566 * gdb.trace/circ.exp: Likewise.
5567 * gdb.trace/collection.exp: Likewise.
5568 * gdb.trace/deltrace.exp: Likewise.
5569 * gdb.trace/infotrace.exp: Likewise.
5570 * gdb.trace/limits.exp: Likewise.
5571 * gdb.trace/packetlen.exp: Likewise.
5572 * gdb.trace/passc-dyn.exp: Likewise.
5573 * gdb.trace/passcount.exp: Likewise.
5574 * gdb.trace/report.exp: Likewise.
5575 * gdb.trace/save-trace.exp: Likewise.
5576 * gdb.trace/tfind.exp: Likewise.
5577 * gdb.trace/tracecmd.exp: Likewise.
5578 * gdb.trace/while-dyn.exp: Likewise.
5579 * gdb.trace/while-stepping.exp: Likewise.
5580
55811998-12-07 Jim Blandy <jimb@zwingli.cygnus.com>
5582
5583 * gdb.base/restore.exp, gdb.base/restore.c: New tests.
5584
5585Wed Dec 2 20:03:53 1998 Stan Shebs <shebs@andros.cygnus.com>
5586
5587 From Brendan Kehoe:
5588 * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
5589 int return types.
5590
5591Sat Oct 24 18:04:22 1998 Felix Lee <flee@cygnus.com>
5592
5593 * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
5594 remote dos host testing right.
5595
5596Mon Oct 19 01:31:59 1998 Felix Lee <flee@cygnus.com>
5597
5598 * gdb.base/corefile.exp: remove some xfails.
5599
5600Thu Oct 15 10:04:38 1998 Andrew Cagney <cagney@b1.cygnus.com>
5601
5602 * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
5603 have different timestamps.
5604
5605Thu Oct 1 20:56:14 1998 Andrew Cagney <cagney@b1.cygnus.com>
5606
5607 * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
5608 gdb.base/default.exp: Replace "exec" with "executable".
5609
5610Tue Sep 29 15:06:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
5611
5612 * gdb.base/default.exp: Change else if to elseif from previous
5613 delta.
5614
5615Mon Sep 28 13:21:43 1998 Nick Clifton <nickc@cygnus.com>
5616
5617 * gdb.base/default.exp: Add brace missing from previous delta.
5618
5619Mon Sep 21 14:39:27 1998 Nick Clifton <nickc@cygnus.com>
5620
5621 * gdb.base/default.exp: Support test for info float for all
5622 varieties of arm toolchain.
5623
dc96c6c7 5624Fri Sep 18 14:07:44 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5625
5626 * gdb.trace/*.exp: remove "remote_download" command.
5627
dc96c6c7 5628Wed Sep 16 11:38:21 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5629
5630 * gdb.trace/*.exp: remove -gdwarf from compile.
5631
5632Wed Sep 16 01:23:11 1998 Felix Lee <flee@cygnus.com>
5633
5634 * gdb.trace/configure.in(AC_INIT): typo
5635 * gdb.trace/configure: regenerated
5636
dc96c6c7 5637Mon Sep 14 20:00:04 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5638
5639 * config/m68k-emc.exp: New file.
5640 * lib/<emc-support.exp trace-support.exp}: New files.
5641 * configure.in: add new test directory gdb.trace.
5642 * gdb.trace/{configure configure.in Makefile.in}: New files.
5643 * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
5644 * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
5645 * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
5646 * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
5647 * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
5648 * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
5649 * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
beb998c6 5650
dc96c6c7 5651Fri Sep 11 13:58:02 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5652
5653 * gdb.c++/classes.exp: Change all regular expressions to match
5654 arbitrary combinations of newline/carriage-return, so that they
5655 will work equally well on Unix and Windows.
5656 * gdb.c++/inherit.exp: ditto.
5657 * gdb.c++/virtfunc.exp: ditto.
5658
56591998-08-11 Dawn Perchik <dawn@cygnus.com>
5660
5661 * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
5662
c2d11a7d
JM
5663Fri Jul 24 15:51:34 1998 Jeffrey A Law (law@cygnus.com)
5664
5665 * gdb.disasm/am33.s: Add tests for autoincrement instructions.
5666 * gdb.disasm/am33.exp: Run time. Update tests which use r8-r15
5667 to use a0-a3/d0-d3 as needed.
5668
5669Thu Jul 16 18:20:46 1998 Jeffrey A Law (law@cygnus.com)
5670
5671 * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
5672 * gdb.disasm/am33.exp: Corresponding changes.
5673
c906108c
SS
56741998-07-11 Felix Lee <flee@cygnus.com>
5675
5676 * gdb.base/callfuncs.exp: add cmp10 test.
5677 * gdb.base/callfuncs.c (cmp10): new function.
5678
5679Thurs Jul 9 11:08:31 1998 Dawn Perchik <dawn@cygnus.com>
5680
beb998c6 5681 * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
c906108c
SS
5682 into two parts to get around a synchronization problem in expect.
5683
3fc11d3e
JM
5684Fri Jun 26 14:27:13 1998 Keith Seitz <keiths@cygnus.com>
5685
5686 * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
5687
5688 * configure.in: Add options for gdbtk testsuite.
5689
5690 * configure: Regenerate.
5691
5692 * gdb.gdbtk: New directory to hold gdbtk tests.
5693
c906108c
SS
5694Fri Jun 26 14:52:47 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
5695
5696 * gdb.fortran/types.exp: Escape brackets in expect patterns
5697 for test_float_literal_types_accepted tests.
5698 * gdb.base/scope.exp: Remove extraneous newline in filelocal_bss
5699 before run test.
5700
c2d11a7d
JM
5701Fri Jun 26 11:12:17 1998 Jeffrey A Law (law@cygnus.com)
5702
5703 * am33.exp: Just compile, do not link the testcase.
5704 * am33.s: Add ".am33" pseudoop to force am33 mode.
5705
c906108c
SS
57061998-06-25 Felix Lee <flee@cygnus.com>
5707
5708 * gdb.base/setshow.exp: make sure $pc is sane.
5709
5710 * gdb.stabs/weird.exp: split expect patterns properly.
5711
c2d11a7d
JM
5712Wed Jun 24 13:03:15 1998 Jeffrey A Law (law@cygnus.com)
5713
5714 * gdb.disasm/am33.s: New disassembler testfile for the am33.
5715 * gdb.disasm/am33.exp: Run it.
5716
dc96c6c7 5717Tue Jun 23 11:45:01 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5718
5719 * gdb.base/funcargs.exp: simplify expect strings to ease pattern
5720 match processing (and eliminate spurious timeouts when running).
5721
dc96c6c7 5722Fri Jun 12 17:28:22 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5723
5724 * gdb.base/signals.exp (test_handle_all_print): put back Mach
5725 exception test, but conditionalize it on target [mach | gnu].
5726
dc96c6c7 5727Wed Jun 10 10:40:03 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5728
5729 * gdb.base/overlays.exp: fixup compile line for linker script.
5730
5731Thu Jun 4 21:54:15 1998 Felix Lee <flee@zog.cygnus.com>
5732
5733 * gdb.fortran/types.exp: don't guess at float size.
5734
5735Thu May 21 02:28:37 1998 Felix Lee <flee@zog.cygnus.com>
5736
5737 * gdb.base/exprs.exp: delete test that depends on int size.
5738
5739Sun May 17 17:10:22 1998 Bob Manson <manson@charmed.cygnus.com>
5740
5741 * config/sim.exp: Removed checks for target triplets.
5742 (gdb_target_sim): Use gdb,target_sim_options.
5743
5744Sat May 16 23:43:35 1998 Mark Alexander <marka@cygnus.com>
5745
5746 * gdb.base/reread.exp: New file.
5747 * gdb.base/reread1.c: New file.
5748 * gdb.base/reread2.c: New file.
5749
5750Sat May 16 23:22:09 1998 Mark Alexander <marka@cygnus.com>
5751
5752 * config/sim.exp: Use 'target sim -sparclite' when running
5753 SPARClite programs.
5754
5755Sat May 16 18:48:08 1998 Doug Evans <devans@canuck.cygnus.com>
5756
5757 * gdb.base/structs2.exp: New file.
5758 * gdb.base/structs2.c: New file.
5759
5760Wed May 13 13:36:14 1998 Doug Evans <devans@canuck.cygnus.com>
5761
5762 * gdb.asm/common.inc: New file.
5763 * gdb.asm/d10v.inc: New file.
5764 * asm-source.exp: Pass -I's to gas to find .inc files.
5765 Update line numbers in expected output.
5766 * asmsrc1.s: Rewrite.
5767 * asmsrc2.s: Rewrite.
5768 * configure.in: Create arch.inc symlink.
5769 * configure: Regenerate.
5770 * Makefile.in (distclean): Delete arch.inc.
5771
5772Wed May 6 10:30:54 1998 John Metzler <jmetzler@cygnus.com>
5773
5774 * callfuncs.c (t_enum_value1) : Cleanup return value warnings
5775 (t_enum_value2): ditto
5776 (t_enum_value3): ditto
5777 (main): ditto
5778Fri May 1 09:33:37 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
5779
5780 * gdb.base/break.exp: Remove xfail for `deleting all breakpoints
5781 when none' unexpected prompt case, fixed by breakpoint.c:delete_command
5782 change.
5783 Use gdb_test instead of send_gdb/gdb_expect sequences.
5784
5785Thu Apr 23 12:56:19 1998 Jason Molenda (crash@bugshack.cygnus.com)
5786
5787 * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
5788 not void.
5789
5790Thu Apr 16 10:52:34 1998 John Metzler <jmetzler@cygnus.com>
5791
5792 * gdb.base/branches.c: Code with lots of loops and
5793 subroutines. Used to test gdbs ability to single step through PC
5794 changes, especially to test mips-tdep.c:mips_next_pc
5795
5796Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
5797
5798 * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
5799 more rigorous EGCS C++ error checking.
5800
5801Fri Apr 10 22:38:12 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5802
5803 * gdb.base/help.exp: Clean up `help set args' and `help show args'
beb998c6 5804 tests.
c906108c 5805 * gdb.base/interrupt.exp: Add "i*86-*-solaris2*" xfail for calling
beb998c6 5806 function when asleep.
c906108c 5807 * gdb.base/signals.exp: Add "i*86-*-solaris2*" xfails. Add comment
beb998c6
AC
5808 for i*86 Linux and SVR4 signal handling problems.
5809 Remove linux xfail for `next to handler in signals_tests_1', fixed
5810 by recent infrun.c change.
c906108c 5811 Limit backtrace to 10 frames to avoid timeout problems with infinite
beb998c6 5812 stack backtraces.
c906108c
SS
5813 Adjust expect pattern in `handle all print' test to match Apr 28 1997
5814 target.[ch] change.
5815
5816Tue Mar 31 00:40:32 1998 Bob Manson <manson@charmed.cygnus.com>
5817
5818 * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
5819 for a newline from gdb before continuing.
5820 (default_gdb_exit): Just look for y or n.
5821 (gdb_test): Detect abnormal exit from GDB running on DOS; if
5822 it does, fail the rests of the tests in the file.
5823
5824Tue Mar 24 22:44:52 1998 Bob Manson <manson@charmed.cygnus.com>
5825
5826 * config/cygmon.exp: New file.
5827
5828Mon Mar 16 21:39:11 1998 Bob Manson <manson@charmed.cygnus.com>
5829
5830 * gdb.base/list.exp: Fix problem with "list default lines around
5831 main" test on remote targets.
5832
5833 * gdb.base/scope.exp: Fix problem with filelocal_bss before
5834 run test on remote targets.
5835
5836Thu Mar 12 16:23:00 1998 Doug Evans <devans@canuck.cygnus.com>
5837
5838 * gdb.asm: New directory.
5839 * configure.in: Configure it.
5840 * configure: Regenerate.
5841 * gdb.asm/{Makefile.in,configure.in,configure}: New files.
5842 * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
5843
5844Mon Feb 23 08:22:44 1998 Mark Alexander <marka@cygnus.com>
5845
5846 * config/mn10300-eval.exp: New file to support MN10300 eval board.
5847
dc96c6c7 5848Wed Feb 18 16:43:46 1998 Michael Snyder (msnyder@cygnus.com)
beb998c6 5849
c906108c
SS
5850 * gdb.base/overlays (several files): Merge the two overlay
5851 managers into one. Change variables (foox, barx, bazx, grbxx)
5852 back into ints but force them to load in their proper sections.
5853
5854Thu Feb 12 13:49:30 1998 Andrew Cagney <cagney@b1.cygnus.com>
5855
5856 * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
5857 on-chip insn memory and IMAP1 to upper 128k.
5858 (D10VCopy): Handle memory regions crossing 16k boundaries.
5859 (D10VCopy): Transfer data in 32 bit chunks.
5860
5861Tue Feb 10 17:23:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
5862
5863 * gdb.base/overlays.c (main): Exit normally when result is
5864 correct.
5865
5866 * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
5867 map. Include space for printf in .text segment.
5868
5869 * gdb.base/d10vovly.c (D10VTranslate): New function, handle
5870 updated d10v memory VMA/LMA map.
5871 (D10VCopy): Call D10VTranslate.
beb998c6 5872
c906108c
SS
5873Fri Feb 6 14:13:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
5874
5875 * gdb.base/m32rovly.c: Force variable _novlys into .data section.
5876
5877 * gdb.base/bar.c (barx, bar): Change variable to small array so
5878 that it won't be put into the .sdata - small data -
5879 section. Update reference.
5880 * gdb.base/baz.c (bazx, baz): Ditto.
5881 * gdb.base/foo.c (foox, foo): Ditto.
5882 * gdb.base/grbx.c (grbxx, grbx): Ditto.
5883
5884 * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
5885 to be arrays.
beb998c6 5886
dc96c6c7 5887Thu Jan 29 14:48:19 1998 Michael Snyder (msnyder@cygnus.com)
beb998c6 5888
c906108c
SS
5889 * gdb.base/overlays.exp: fix up and get working again.
5890 Add tests for backtraces from an overlay function.
beb998c6 5891
c906108c
SS
5892Fri Jan 23 07:52:45 1998 Fred Fish <fnf@cygnus.com>
5893
5894 * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
5895 "calling function with watchpoint enabled".
5896
5897Thu Jan 22 14:23:29 1998 Fred Fish <fnf@cygnus.com>
5898
5899 * gdb.base/break.exp (test_next_with_recursion): Remove
5900 gdb_suppress_tests for d10v-*-*.
5901 * lib/gdb.exp (gdb_suppress_tests): Disable this function
5902 pending review of whether it is useful or not.
5903
5904Tue Jan 20 13:02:09 1998 Mark Alexander <marka@cygnus.com>
5905
5906 * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
5907
5908Mon Jan 19 08:53:04 1998 Mark Alexander <marka@cygnus.com>
5909
5910 * gdb.base/break.exp: Increase timeout for slow TX39 boards.
5911 * config/dve.exp: New file to support Densan boards.
5912
5913Mon Dec 15 22:38:05 1997 Andrew Cagney <cagney@b1.cygnus.com>
5914
5915 * gdb.base/interrupt.exp: Document problem of simulators, signals,
5916 reads and BSD.
5917
5918Wed Nov 26 22:29:18 1997 Bob Manson <manson@charmed.cygnus.com>
5919
5920 * config/monitor.exp: Be a bit less picky about the "Remote debugging"
5921 response.
5922
5923 * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
5924
5925Tue Nov 25 12:46:36 1997 Andrew Cagney <cagney@b1.cygnus.com>
5926
5927 * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
5928 test.
5929
5930 * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
5931 target_sizeof_long and target_bigendian_p.
5932 (structs_by_value, structs_by_reference): Check values according
5933 to targets word size and endianess.
beb998c6 5934
c906108c
SS
5935Mon Nov 24 16:37:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
5936
5937 * gdb.base/langs.exp: For "continue to exit" ignore any trailing
5938 output.
5939
5940Fri Oct 17 13:24:43 1997 Stan Shebs <shebs@andros.cygnus.com>
5941
5942 * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
5943 Update test of set args help to match source change.
5944
5945Fri Sep 26 17:36:20 1997 Jason Molenda (crash@pern.cygnus.com)
5946
5947 * gdb.base/default.exp: Expect help system output to be in
5948 alphabetical order.
5949 * gdb.base/help.exp: Ditto.
5950
5951Wed Sep 24 13:08:14 1997 Bob Manson <manson@charmed.cygnus.com>
5952
5953 * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
5954 "i*86-pc-linux-gnu*".
5955 * gdb.base/interrupt.exp: Ditto.
5956 * gdb.base/corefile.exp: Ditto.
5957
5958 * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
5959 define vxworks when building the testcase.
5960
5961 * gdb.base/ptype.exp: Fix testnames to be unique.
5962 * gdb.base/radix.exp: Ditto.
5963 * gdb.base/term.exp: Ditto.
5964 * gdb.base/whatis.exp: Ditto.
5965 * gdb.c++/classes.exp: Ditto.
5966
5967Tue Sep 16 22:21:48 1997 Bob Manson <manson@charmed.cygnus.com>
5968
5969 * gdb.base/callfuncs.exp: Fix indentation.
5970
5971 * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
5972 suppress_flag has been set.
5973 (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
5974 target feature.
5975
5976Mon Sep 15 15:43:17 1997 Bob Manson <manson@charmed.cygnus.com>
5977
5978 * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
5979 the testcase.
5980
5981 * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
5982 set_debug_traps() and breakpoint().
5983 * gdb.c++/misc.cc (main): Ditto.
5984 * gdb.c++/templates.cc (main): Ditto.
5985 * gdb.c++/virtfunc.cc (main): Ditto.
5986
5987Fri Sep 12 16:56:38 1997 Bob Manson <manson@charmed.cygnus.com>
5988
5989 * lib/gdb.exp(gdb_step_for_stub): New function.
5990 (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
5991 exists, reload the executable and do a "continue" instead of
5992 doing a jump.
5993 (runto_main): Use gdb_step_for_stub.
beb998c6 5994
c906108c
SS
5995 * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
5996 tests to have unique names.
5997 * gdb.base/callfuncs.exp: Ditto.
5998 * gdb.base/commands.exp: Ditto.
5999 * gdb.base/default.exp: Ditto.
6000 * gdb.base/help.exp: Ditto.
6001 * gdb.base/list.exp: Ditto.
6002 * gdb.base/opaque.exp: Ditto.
6003 * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
6004 similar tests.
beb998c6 6005
c906108c
SS
6006 * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
6007 * gdb.c++/cplusfuncs.cc: Ditto.
6008 * gdb.c++/virtfunc.cc: Ditto.
6009
6010 * config/monitor.exp: Keep track of the last file we saw, rather
6011 than trying to get the info from gdb.
6012
6013 * gdb.fortran/types.exp: Move comment to previous line.
6014
6015Tue Sep 2 19:55:34 1997 Bob Manson <manson@charmed.cygnus.com>
6016
6017 * config/sparclet.exp: Detect gratuitous change to sparclet gdb
6018 target mode.
6019
6020Mon Jul 28 12:14:47 1997 Stan Shebs <shebs@andros.cygnus.com>
6021
6022 From Bob Manson:
6023 * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
6024 string from GDB when it connects.
6025
6026 * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
6027
6028Thu Jul 3 15:35:12 1997 Bob Manson <manson@charmed.cygnus.com>
6029
6030 * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
6031 if we can't get a debug format from GDB (we may be testing an
6032 older GDB). Use a 10 second timeout when checking for the format.
6033
6034 * gdb.stabs/weird.exp: Fix quoting.
6035
6036 * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
6037
6038Mon Jun 30 18:31:43 1997 Bob Manson <manson@charmed.cygnus.com>
6039
6040 * config/arm-ice.exp: New file.
6041
6042Sun Jun 29 16:43:30 1997 Bob Manson <manson@charmed.cygnus.com>
6043
6044 * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
6045 until it has been modified to work with the new testsuite.
6046
99707966 6047 * gdb.*/*.exp: Instead of causing 1 unresolved test when the
c906108c
SS
6048 testcase won't compile, cause all of the testcases in the file to
6049 fail instead.
6050
6051 * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
6052 (gdb_clear_suppressed): New procedure.
6053 (gdb_stop_suppressing_tests): Only clear suppress_flag if
6054 it contains a positive value.
6055
6056Sat Jun 28 13:31:11 1997 Bob Manson <manson@charmed.cygnus.com>
6057
6058 * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
6059
6060 * gdb.c++/virtfunc.exp: Remove setting of libs variable.
6061
6062Fri Jun 27 07:44:25 1997 Fred Fish <fnf@cygnus.com>
6063
6064 * lib/gdb.exp (setup_xfail_format): New function.
6065 (get_debug_format): New function to get debug format.
6066 (debug_format): New global variable to hold last value set
6067 by get_debug_format.
6068 * gdb.base/list.exp: Call get_debug_format and expect some
6069 tests to fail for DWARF 1 and COFF formats.
6070 * gdb.c++/ptype.exp: Ditto.
6071 * gdb.c++/classes.exp: Ditto.
6072 * gdb.c++/cplusfuncs.exp: Ditto.
6073 * gdb.c++/inherit.exp: Ditto.
6074 * gdb.c++/templates.exp: Ditto.
6075 * gdb.c++/virtfunc.exp: Ditto.
beb998c6 6076
c906108c
SS
6077Wed Jun 25 09:08:51 1997 Bob Manson <manson@charmed.cygnus.com>
6078
6079 * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
6080 host doesn't have a currently-open connection.
6081
6082 * config/sparclet.exp: Cleanups and fixes to make it generic for
6083 any gdb stub target. Handle cases where gdb doesn't respond when
6084 interrupted in a sane fashion.
6085
6086 * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
6087 same thing in a totally different way.
6088
6089 * config/monitor.exp: Pass in timeouts to gdb_expect instead of
6090 setting "timeout".
6091 (gdb_start): We set the global gdb_prompt variable in
6092 default_gdb_init now.
6093
6094Sun Jun 22 09:11:02 1997 Fred Fish <fnf@cygnus.com>
6095
6096 * gdb.base/printcmds.exp: Fix "check for floating addition"
6097 regexp to accept results within approx +/- .01 of exact value.
6098 * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
6099
6100Wed Jun 18 11:11:39 1997 Bob Manson <manson@charmed.cygnus.com>
6101
6102 * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
6103 properly.
6104 (gdb_expect): Add optional timeout parameter, and add timeout
6105 value to various calls.
6106 (gdb_suppress_tests): Only give one warning message per group.
6107
6108Tue Jun 17 13:10:10 1997 Bob Manson <manson@charmed.cygnus.com>
6109
6110 * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
6111 global variables. Handle getting a value for $timeout more
6112 gracefully.
6113
6114Sat Jun 14 09:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
6115
6116 * lib/gdb.exp: Close connection to remote host if gdb doesn't
6117 initialize.
6118 (default_gdb_init): New procedure; allow gdb_init to be overridden
6119 by a target configuration file.
6120 (gdb_expect): Pass the timeout to remote_expect.
6121
6122 * config/monitor.exp(gdb_load): Fix typo in regexp.
6123
6124Thu Jun 12 20:57:12 1997 Bob Manson <manson@charmed.cygnus.com>
6125
6126 * gdb.base/funcargs.exp: Remove spurious suppress tests call.
6127
6128Tue Jun 3 15:20:20 1997 Bob Manson <manson@charmed.cygnus.com>
6129
6130 * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
6131 here. Call gdb_target_exec before rebooting the target, to make
6132 sure the connection to the target is closed.
6133 (gdb_load): Pass the name of the executable to gdb_target_monitor.
6134 Don't call gdb_file_cmd here; let gdb_target_monitor do it.
6135 Also detect "Timeout reading from remote" error.
6136
6137 * config/gdbserver.exp: Pass the executable being loaded to
6138 gdb_target_monitor. Don't call gdb_file_cmd here; let
6139 gdb_target_monitor do it.
6140
6141 * gdb.disasm/hppa.exp: Don't use exec_output.
6142
6143Fri May 23 13:28:29 1997 Bob Manson <manson@charmed.cygnus.com>
6144
6145 * gdb.base/list.exp: If we're debugging a non-native target,
6146 try to set the pc register to point to the start of the
6147 program before doing the first list command.
6148
6149 * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
6150 test_calls after restarting.
6151
6152 * lib/gdb.exp(gdb_run_cmd): Send jump command again after
6153 reloading.
6154
6155 * gdb.base/watchpoint.exp: Fix typo.
6156
6157 * gdb.base/setshow.exp: Check for use_gdb_stub.
6158
6159 * gdb.base/break.exp: Fix continue until exit test for the gdb
6160 stub case.
6161 * gdb.base/langs.exp: Ditto.
6162
6163 * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
6164 gdb_load_offset. If we weren't given a file to load, figure out
6165 what the current file is and use it.
6166
6167 * config/i386-bozo.exp: New file.
6168
6169Thu May 22 18:51:32 1997 Bob Manson <manson@charmed.cygnus.com>
6170
6171 * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
6172 feature.
6173
6174 * config/proelf.exp: New entry.
6175
6176Wed May 21 21:23:16 1997 Bob Manson <manson@charmed.cygnus.com>
6177
6178 * lib/gdb.exp: Remove spurious .* patterns at the beginning
6179 of regexps.
6180
6181 * gdb.base/watchpoint.exp: Don't run the test_stepping
6182 tests if gdb can't call functions on the target.
6183
6184 * gdb.base/setshow.exp: Don't run the set prompt tests if
6185 the board has gdb_prompt set.
6186
6187Tue May 20 08:58:49 1997 Jeffrey A Law (law@cygnus.com)
6188
6189 * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
6190 * gdb.base/commands.exp: Likewise.
6191 * gdb.base/setshow.exp: Likewise.
6192
6193Mon May 19 15:37:50 1997 Bob Manson <manson@charmed.cygnus.com>
6194
6195 * config/monitor.exp(gdb_start): Look for gdb_prompt target
6196 feature.
6197
6198 * config/i960.exp: New file.
6199
6200Thu May 1 18:01:50 1997 Bob Manson <manson@charmed.cygnus.com>
6201
6202 * gdb.base/funcargs.exp: Check for gdb,short_int target
6203 feature instead of looking for explicit target triplets.
6204
dc96c6c7 6205Mon Apr 28 17:27:40 1997 Michael Snyder <msnyder@cygnus.com>
c906108c 6206
beb998c6 6207 * gdb.base/printcmds.exp: add a couple more tests a la
c906108c
SS
6208 "p 123DEADBEEF", to check parse_number.
6209 * top.c: change "to enable to enable" to "to enable" in a couple
6210 of help strings.
6211
6212Thu Apr 24 14:38:18 1997 Jeffrey A Law (law@cygnus.com)
6213
6214 * gdb.base/callfuncs.exp: Mark some tests as expected to fail
6215 on the mn10300.
beb998c6 6216
c906108c
SS
6217Mon Apr 21 15:05:42 1997 Fred Fish <fnf@cygnus.com>
6218
6219 * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
6220 where the test executable is run with explicit args.
6221 * gdb.base/default.exp: Handle arm-*-coff case for "info float".
6222
6223Mon Apr 21 13:38:58 1997 Fred Fish <fnf@cygnus.com>
6224
6225 * gdb.base/run.c: Use FAKEARGV to build test executable that
6226 does not require a command line arg, since most simulators
6227 don't currently support passing such an arg into the simulated
6228 program.
6229 * gdb.base/commands.exp: Change tests to insert the proper
6230 value as the arg to the first recursive factorial call. Change
6231 compilation line to define FAKEARGV at compile time.
6232
6233Wed Apr 9 11:12:36 1997 Jeffrey A Law (law@cygnus.com)
6234
6235 * gdb.base/recurse.exp: Enable these tests for the mn10300.
6236 * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
6237 function with watchpoint enabled" test.
6238
6239Tue Apr 8 19:33:20 1997 Bob Manson <manson@charmed.cygnus.com>
6240
6241 * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
6242 Don't call gdb_test when the command doesn't return to a gdb prompt.
6243
6244 * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
6245 "Tests restarted" messages.
6246
6247Tue Apr 8 16:38:46 1997 Jeffrey A Law (law@cygnus.com)
6248
6249 * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
6250
dc96c6c7 6251Thu Apr 3 15:21:26 1997 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6252
6253 * gdb.base/help.exp: update help msg for INFO ADDR; add help test
6254 for INFO SYMBOL; add help tests for OVERLAY commands.
6255 * gdb.base/default.exp: add tests for INFO SYMBOL command;
6256 add tests for OVERLAY commands
6257 * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
6258 d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
6259 * gdb.base/sigall.c: add usestubs code frag
6260 * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
beb998c6 6261
c906108c
SS
6262Thu Apr 3 09:38:53 1997 Bob Manson <manson@charmed.cygnus.com>
6263
6264 * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
6265 failures.
6266 (gdb_stop_suppressing_tests): Note that tests have restarted.
6267
6268Wed Apr 2 19:04:20 1997 Bob Manson <manson@charmed.cygnus.com>
6269
6270 * config/h8300.exp: New file.
6271
6272Sun Mar 30 13:38:25 1997 Bob Manson <manson@charmed.cygnus.com>
6273
6274 * gdb.base/setshow.exp: Check for the existence of a
6275 feature, not its value.
6276
6277Sat Mar 29 11:19:46 1997 Bob Manson <manson@charmed.cygnus.com>
6278
6279 * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
6280
6281 * gdb.base/scope.exp: It's now init0(), not init().
6282
6283 * gdb.base/scope0.c: For now, change init() to be init0().
6284
6285 * config/monitor.exp: Use gdb_serial in preference to serial
6286 or netport.
6287
6288 * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
6289 and it's not already set.
6290
6291Fri Mar 28 19:54:18 1997 Bob Manson <manson@charmed.cygnus.com>
6292
6293 * gdb.base/setshow.exp: Only test the run command if the target
6294 isn't using a stub and if it supports argument passing.
6295
6296Sat Mar 22 19:50:25 1997 Bob Manson <manson@charmed.cygnus.com>
6297
6298 * config/udi.exp(gdb_start): Make sure UDICONF is set
6299 properly before starting gdb.
6300
6301Mon Mar 24 14:40:33 1997 Jeffrey A Law (law@cygnus.com)
6302
6303 * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
6304 * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
6305 * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
6306
6307Tue Mar 11 11:42:58 1997 Bob Manson <manson@charmed.cygnus.com>
6308
6309 * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
6310 specialized code to reboot the board, use remote_reboot instead.
6311
6312 * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
6313
6314 * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
6315
6316 * config/monitor.exp: Make sure we disconnect from the target.
6317 Also, try a reboot/reload cycle instead of failing if the
6318 load fails.
6319
6320Fri Mar 7 13:48:30 1997 Bob Manson <manson@charmed.cygnus.com>
6321
6322 * gdb.base/default.exp: Don't set match_max.
6323 * gdb.base/help.exp: Ditto.
6324 * gdb.base/list.exp: Ditto.
6325 * gdb.base/signals.exp: Ditto.
6326
6327 * config/monitor.exp(gdb_load): If gdb,use_standard_load is
6328 set, use remote_ld to download the testcase instead of
6329 the GDB loader.
6330
6331Wed Mar 5 00:00:43 1997 Bob Manson <manson@charmed.cygnus.com>
6332
6333 * config/vr5000.exp: New file.
6334
6335 * config/monitor.exp(gdb_target_monitor): Add pattern for
6336 "Ending remote" to detect errors in connecting.
6337
6338 * gdb.base/setshow.exp: Add .* within auto language test.
6339
6340 * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
6341 target feature.
6342
6343 * config/monitor.exp(gdb_load): Check for a failure when loading,
6344 and reboot the board if necessary.
6345
6346 * gdb.base/setvar.exp(test_set): Handle multiple prints within
6347 a set of tests. Remove print.* from the patterns being checked.
6348
6349Mon Mar 3 11:57:43 1997 Bob Manson <manson@charmed.cygnus.com>
6350
6351 * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
6352 refer to gdb_spawn_id.
6353
6354 * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
6355 longer used.
6356 * config/sparclet.exp: Ditto.
6357 * config/sparclet-old.exp: Ditto.
6358 * config/slite.exp: Ditto.
6359 * config/sim.exp: Ditto.
6360 * gdb.base/funcargs.exp: Ditto.
6361
6362 * lib/gdb.exp:Remove references to gdb_spawn_id.
6363 (gdb_expect): Move to remote.exp.
6364
6365Fri Feb 28 20:47:39 1997 Bob Manson <manson@charmed.cygnus.com>
6366
6367 * config/monitor.exp: Detect the "Couldn't establish connection"
6368 message from GDB.
6369
6370Tue Feb 25 14:08:55 1997 Bob Manson <manson@charmed.cygnus.com>
6371
6372 * gdb.base/bitfields.exp: Use runto instead of explicit
6373 gdb_run_cmd/gdb_expect sequences.
6374
6375 * gdb.base/break.exp(text_next_with_recursion): Add match for
6376 gdb_expect call.
6377
6378 * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
6379 We also need to handle the "A program is being debugged already"
6380 prompt from gdb. Use gdb_test to set the baud rate.
6381
6382 * lib/gdb.exp(gdb_init): Increase the default expect buffer size
6383 to 20000. Really. I mean it.
6384
6385Mon Feb 24 13:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
6386
6387 * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
6388 fails. If suppress_flag is set, skip perror message about not
6389 being able to send to GDB.
6390 (send_gdb): If suppress_flag is set, don't try to send commands to
6391 GDB.
6392 (gdb_expect): If suppress_flag is set, always fail immediately.
6393 (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
6394 (gdb_init): Call gdb_stop_suppressing_tests.
6395 (default_gdb_exit): Ditto.
6396 (default_gdb_start): Ditto.
6397
6398 * gdb.base/bitfields.exp: Call gdb_suppress_tests and
6399 gdb_stop_suppressing_tests as appropriate.
6400 * gdb.base/break.exp: Ditto.
6401 * gdb.base/callfuncs.exp: Ditto.
6402 * gdb.base/commands.exp: Ditto.
6403 * gdb.base/exprs.exp: Ditto.
6404 * gdb.base/funcargs.exp: Ditto.
6405 * gdb.base/list.exp: Ditto.
6406 * gdb.base/recurse.exp: Ditto.
6407 * gdb.base/scope.exp: Ditto.
6408 * gdb.base/structs.exp: Ditto.
6409 * gdb.c++/inherit.exp: Ditto.
6410
6411Sun Feb 23 19:56:02 1997 Bob Manson <manson@charmed.cygnus.com>
6412
6413 * config/vr4300.exp: New file.
6414
99707966
MC
6415 * gdb.*/*.exp: Call gdb_expect instead of expect.
6416
6417 * lib/gdb.exp(gdb_expect): New function.
c906108c
SS
6418
6419Thu Feb 20 13:57:01 1997 Bob Manson <manson@charmed.cygnus.com>
6420
6421 * lib/gdb.exp(gdb_init): New function.
6422
6423 * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
6424 for each individual variable set.
6425
6426 * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
6427 name.
6428
6429 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
6430
6431 * gdb.base/scope.exp: Use gdb_test.
6432
6433 * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
6434 aborting; the testsuite driver will do that for us (see
6435 gdb_finish). Also, use gdb_test in a few more places.
6436
6437Thu Feb 20 13:32:24 1997 Stan Shebs <shebs@andros.cygnus.com>
6438
6439 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
6440
6441Thu Feb 20 10:34:21 1997 Jeffrey A Law (law@cygnus.com)
6442
6443 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
6444 and "add_tests" are not at the same address.
6445
6446Fri Feb 14 18:47:23 1997 Bob Manson <manson@charmed.cygnus.com>
6447
6448 * gdb.base/ptype.exp: Use gdb_test.
6449
6450Thu Feb 13 16:09:36 1997 Jeffrey A Law (law@cygnus.com)
6451
6452 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
6453 * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
6454 left in. No longer expect them to fail.
6455
6456 * gdb.stabs/*.mt; Deleted, no longer used.
6457 * gdb.stabs/configure.in: Remove references to target makefile
6458 frags.
6459 * gdb.stabs/configure: Rebuilt.
6460
6461 * gdb.disasm/*.mt: Deleted, no longer used.
6462 * gdb.disasm/configure.in: Remove references to target makefile
6463 frags. Use "sh3.s" as the unique filename for this directory.
6464 * gdb.disasm/configure: Rebuilt.
6465
6466 * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
6467 * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
6468 * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
6469
6470Tue Feb 11 16:57:58 1997 Bob Manson <manson@charmed.cygnus.com>
6471
6472 * config/udi.exp: Use mondfe,name instead of remote_host.
6473
6474Tue Feb 11 11:22:36 1997 Jeffrey A Law (law@cygnus.com)
6475
6476 * gdb.base/watchpoint.exp: Don't expect a failure when calling
6477 a function with a watchpoint enabled on the mn10200.
6478
6479 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
6480 before trying to create it!
6481
6482Mon Feb 10 16:40:47 1997 Bob Manson <manson@charmed.cygnus.com>
6483
6484 * config/vx.exp: Use hostname instead of netport.
6485
6486 * config/vxworks.exp: New file.
6487
6488 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
6489
6490 * config/monitor.exp(gdb_target_monitor): Look for a prompt from
6491 gdb before assuming everything worked. Send a ^C if a timeout
6492 occurs.
6493
6494 * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
6495 $gdb_spawn_id directly.
6496 (gdb_run_cmd): Try _start as well as start. Use the target feature
6497 gdb,start_symbol as the symbol to start from when jumping.
6498
6499Mon Feb 10 11:26:59 1997 Jeffrey A Law (law@cygnus.com)
6500
6501 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
6502 redundant) test.
6503
6504 * gdb.base/recurse.exp: Relax final value test for 'b' so that
6505 it doesn't lose for 16bit integer systems.
6506
6507Fri Feb 7 09:31:21 1997 Jeffrey A Law (law@cygnus.com)
6508
6509 * gdb.fortran/types.exp: If the target doesn't support "double"
6510 data types, then expect "real" types to only be 4 bytes.
6511
6512 * gdb.c++/virtfunc.exp: Expect failure for virtual function
6513 call tests if the target doesn't support inferior function calls.
6514
6515 * gdb.base/printcmds.exp: Allow minor deviation in FP values
6516 in printf tests.
6517
6518Thu Feb 6 12:46:14 1997 Jeffrey A Law (law@cygnus.com)
6519
6520 * gdb.base/help.exp: Disable "help set", "help show", and
6521 "help support". Simplify regexp for "help stack".
6522
6523 * gdb.base/default.exp: Set match_max to 5000 and the timeout
6524 to 60 seconds. Temporarily set match_max to 15000 around the
6525 "info copying" test.
6526
6527 * gdb.base/nodebug.exp: Don't try to do an inferior function
6528 call if the target doesn't support them.
6529 * gdb.base/printcmds.exp: Likewise.
6530 * gdb.base/setvar.exp: Likewise.
6531 * gdb.base/structs.exp: Likewise.
6532 * gdb.c++/templates.exp: Likewise.
6533 * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
6534
6535 * gdb.base/recurse.exp: Enable for the mn10200.
6536
6537 * configure.in: Do configure gdb.stabs directory for *-*-elf
6538 targets.
6539 * configure: Rebuilt.
6540
6541 * gdb.base/break.exp: Check for gdb,noresults before testing
6542 exit status and/or results from the target.
6543 * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
6544 * lib/gdb.exp: Remove old (now bogus) initialization of
6545 noinferior, noargs, noresults and nosignals.
6546
6547Tue Feb 4 21:52:17 1997 Bob Manson <manson@charmed.cygnus.com>
6548
6549 * config/sh.exp: New file.
6550
6551 * config/slite.exp: Try to connect multiple times to the board
6552 before rebooting. Only send a "monitor run" if need_monitor_run
6553 is set.
6554
6555 * gdb.base/break.exp: Don't do the "stub continue" test if
6556 the target has gdb_stub set.
6557
6558 * gdb.base/callfuncs.exp: Increase the timeout.
6559
6560 * gdb.base/interrupt.exp: Don't even try to compile the testcase
6561 if the target has gdb,noinferiorio set.
6562
6563 * gdb.base/list.exp: Increase match_max to 10000 characters.
6564
6565 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
6566
6567 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
6568 target.
6569
6570 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
6571
6572Mon Feb 3 12:09:37 1997 Bob Manson <manson@charmed.cygnus.com>
6573
6574 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
6575 trying to delete the copy of gdb. Catch the file delete so we
6576 don't die if the delete fails; also, the file should be copied to
6577 the host, not to the build.
6578
6579Sun Feb 2 00:55:14 1997 Bob Manson <manson@charmed.cygnus.com>
6580
6581 * lib/gdb.exp(gdb_test): Surround the result pattern with
6582 parenthesis in case it contains multiple regexps separated
6583 with |.
6584
6585 * gdb.base/watchpoint.exp: Use gdb_test.
6586 * gdb.base/default.exp: Ditto.
6587
6588Sat Feb 1 23:51:01 1997 Bob Manson <manson@charmed.cygnus.com>
6589
99707966 6590 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
beb998c6 6591
c906108c
SS
6592 * gdb.base/scope.exp: Use gdb_test.
6593 * gdb.c++/classes.exp: Ditto.
6594 * gdb.c++/inherit.exp: Ditto.
6595
6596Fri Jan 31 13:09:12 1997 Bob Manson <manson@charmed.cygnus.com>
6597
6598 * gdb.base/crossload.exp: Don't use execute_anywhere, use
6599 remote_exec instead.
6600 * gdb.base/corefile.exp: Don't be ridiculous.
6601 * gdb.base/*.c: Add missing stub invocations.
6602
6603Thu Jan 30 16:49:25 1997 Bob Manson <manson@charmed.cygnus.com>
6604
6605 * config/slite.exp: Miscellaneous fixes.
6606
6607 * lib/gdb.exp: Fix runto.
6608
6609 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
6610 the target.
6611
6612 * gdb.base/watchpoint.exp: Fix regexp.
6613
6614 * lib/gdb.exp(default_gdb_exit): Add a catch to the
6615 close and wait commands, as the descriptor may now be
6616 invalid. Always call "remote_close host".
6617
6618Tue Jan 28 14:42:31 1997 Bob Manson <manson@charmed.cygnus.com>
6619
6620 Major rewrite for testsuite revision.
beb998c6 6621
c906108c
SS
6622 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
6623 TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
6624 instead of relying on spawn_id to always contain a valid
6625 spawn id.
6626 (get_compiler_info): New procedure to build the ${binfile}.ci
6627 file, instead of replicating this in N different places.
6628 (gdb_compile): New procedure.
beb998c6 6629
c906108c
SS
6630 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
6631 appropriate arguments) instead of compile. Use gdb_test in a lot
6632 more places. Use send_gdb instead of send. Always run gdb_start
6633 at the start of a testcase, as this is no longer done magically.
6634
6635 config/*-gdb.exp: Rename without the -gdb suffix.
6636
6637 config/mips.exp: Use remote_close instead of exit_remote_shell.
6638 config/monitor.exp: Use target_info instead of looking at
6639 baud, timeout, etc.
6640 config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
6641
6642Sat Dec 14 00:43:57 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6643
6644 * gdb.c++/templates.exp (test_ptype_of_templates),
6645 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
6646 Update expect patterns for destructors and assignment operators
6647 to match corresponding c-typeprint.c changes.
6648 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
6649 to destructor breakpoint test, GDB should be able to set the
6650 destructor breakpoint without specifying arguments.
6651
6652Tue Dec 3 20:17:52 1996 Fred Fish <fnf@cygnus.com>
6653
6654 * gdb.threads/pthreads.exp: Change result for failure to compile due
6655 to lack of pthreads runtime support from an error to simply an
6656 unsupported test, per dejagnu standards.
6657
6658Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6659
6660 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
6661 where GDB exits to reduce pattern match time.
6662 (skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
6663
6664 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
6665
dc96c6c7 6666Tue Nov 26 18:29:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6667
6668 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
6669 * gdb.base/default.exp: ditto.
6670 * gdb.base/nodebug.exp: ditto.
6671 * gdb.base/printcmds.exp: ditto.
6672 * gdb.base/ptype.exp: ditto.
6673 * gdb.base/setvar.exp: ditto.
6674 * gdb.base/structs.exp: ditto.
6675 * gdb.base/setshow.c: Guard against uninitialized values of argc.
6676
6677Tue Nov 26 17:23:28 1996 Ian Lance Taylor <ian@cygnus.com>
6678
6679 * configure, */configure: Rebuild with autoconf 2.12.
6680
6681Sat Nov 23 13:32:15 1996 Fred Fish <fnf@cygnus.com>
6682
6683 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
6684 use new i*86-pc-linux*-gnu quads.
6685 * gdb.base/corefile.exp: Ditto.
6686 * gdb.base/signals.exp: Ditto.
6687 * gdb.base/sigall.exp: Ditto.
6688 * gdb.base/interrupt.exp: Ditto.
6689
6690 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
6691 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
6692 RedHat 4.0.
beb998c6 6693
c906108c
SS
6694 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
6695 linux. This allows the test case to at least compile on latest
6696 linux, but still not run due to missing the threads runtime library.
6697
6698Fri Nov 22 10:13:29 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6699
6700 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
6701 directory to search gdb directory. Accept and step over conditional
6702 stack alignment code. Consume $prompt in failure cases.
6703 Reset timeout to $oldtimeout instead of some arbitrary value.
6704 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
6705 timeout problems with infinite stack backtraces.
6706 * gdb.base/ptype.exp (ptype struct link, union tu_link):
6707 Accept function parameters for linkfunc member.
6708
6709Thu Nov 21 09:17:19 1996 Fred Fish <fnf@cygnus.com>
6710
6711 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
6712 (CXXFLAGS): Remove, unreferenced.
6713 (B_OPTIONS): Add for -B options and add code to initialize with
6714 previous -B options and also add -B option to pick up cross compiled
6715 runtime.
6716 (TARGET_INCLUDES): Add for -I options and add code to initialize when
6717 doing cross compiles.
6718 (target_alias): Declare global.
6719 (xgcc): Set variable to full path of gcc in build tree. Use findfile
6720 to verify that gcc exists in build tree, and if so set CC to that
6721 gcc and to use B_OPTIONS and TARGET_INCLUDES.
beb998c6 6722
c906108c
SS
6723Tue Nov 12 16:20:13 1996 Fred Fish <fnf@cygnus.com>
6724
6725 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
6726 ptype test for anonymous union. Fixup testcase to match
6727 current gcc debug output.
6728
6729Mon Nov 11 14:12:06 1996 Jeffrey A Law (law@cygnus.com)
6730
6731 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
6732 force argument to an unsigned long type.
6733
6734Mon Nov 11 10:27:55 1996 Fred Fish <fnf@cygnus.com>
6735
6736 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
6737 tests and anonymous union print/ptype tests.
6738 * gdb.base/list.exp (test_forward-search): Increase timeout by
6739 5 minutes for the "search extremely long line" case.
6740 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
6741 completely optional and that the pass/fail messages use the command as
6742 the message if that third arg is a null string.
6743 (gdb_test_exact): Arrange that a null string pattern means match a
6744 null string output rather than any output, which might include random
6745 errors.
6746 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
6747 backtrace test.
6748 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
6749 always failing and failure is now exposed by gdb.exp changes.
6750
6751Sat Nov 9 11:13:24 1996 Fred Fish <fnf@cygnus.com>
6752
6753 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
6754 weren't being noted.
6755
6756Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6757
6758 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
6759 * gdb.stabs/weird.exp: Remove v_comb xfails.
6760
dc96c6c7 6761Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6762
6763 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
6764 list.exp scope.exp watchpoint.exp]
6765 Make all timeout error msgs explicitly say "(timeout)".
beb998c6 6766
dc96c6c7 6767Mon Nov 4 12:03:06 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6768
6769 * config/monitor.exp: Increase download timeout to 1000 seconds.
6770
dc96c6c7 6771Mon Nov 4 12:02:26 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6772
6773 * config/m32r.exp: Increase timeout to 120 seconds.
6774
6775Sun Nov 3 14:37:05 1996 Fred Fish <fnf@cygnus.com>
6776
6777 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
6778 and accept older ordering as obsolescent gcc or gdb.
6779 * gdb.c++/templates.exp: Ditto.
6780 * gdb.c++/virtfunc.exp: Ditto.
6781
6782Fri Nov 1 11:56:09 1996 Fred Fish <fnf@cygnus.com>
6783
6784 * gdb.base/coremaker.c: Add code to mmap some data so we
6785 can check that it ends up in the core file.
6786 * gdb.base/corefile.exp: Add test to read mmapped data
6787 from core file.
6788
dc96c6c7 6789Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6790
6791 * config/m32r.exp: New file.
6792
6793Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
6794
6795 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
6796 that cflags can contains -gstabs, and work correctly for other tests.
6797
dc96c6c7 6798Mon Oct 21 14:00:37 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6799
6800 * gdb.base/setshow.exp: New file, tests show and set.
6801 * gdb.base/setshow.c: New file, tests show and set.
6802 * gdb.base/help.exp: Add test for help set|show annotate.
6803 * gdb.base/default.exp: Add test for set|show annotate.
6804
6805Wed Oct 16 19:03:54 1996 Stu Grossman (grossman@critters.cygnus.com)
6806
6807 * testsuite/gdb.base/break.exp: Make backtrace from factorial
6808 errors unique.
6809 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
6810 explicitly.
6811
6812Tue Oct 15 16:45:02 1996 Stu Grossman (grossman@critters.cygnus.com)
6813
6814 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
6815 and width commands. This is done elsewhere.
6816 * (gdb_start): Don't call gdb_start_sim here. That's already
6817 done in gdb_load. This fixes lots of failures in default.exp.
6818
6819Sun Oct 13 10:40:23 1996 Fred Fish <fnf@cygnus.com>
6820
6821 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
6822 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
6823 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
6824 in the same we we treat other failures (since it may be an expected
6825 condition), rather than as an error.
6826 * gdb.base/signals.exp (test_handle_all_print): Revert back to
6827 old test format.
6828
6829Fri Oct 11 17:05:22 1996 Fred Fish <fnf@cygnus.com>
6830
6831 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
6832 (distclean maintainer-clean realclean): No need to remove files
6833 twice. Nuke the duplicates.
6834 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
beb998c6 6835 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
c906108c
SS
6836 Remove config.h along with other config files.
6837
6838Mon Sep 30 20:16:22 1996 Fred Fish <fnf@cygnus.com>
6839
6840 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
6841 "p func1 ()" and note that rests of tests are skipped.
6842 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
6843 setup_xfails for "print func2::coremaker_local".
6844 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
6845 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
6846 affected by the previous run test.
6847 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
6848 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
6849 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
6850 "pass int powerset tuple" and "pass modeless int powerset tuple".
6851 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
6852 "real write 4" and "real write 8".
6853 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
6854 setup_xfails for "print vs1 after tuple assign 2",
6855 "print \$i after tuple assign 2", and
6856 "print vs2 after tuple assign 2".
6857 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
6858 meaningful error message and return -1 so the caller can
6859 suppress further tests and avoid a cascade of errors.
beb998c6 6860
c906108c
SS
6861Fri Sep 27 10:34:51 1996 Fred Fish <fnf@cygnus.com>
6862
6863 * gdb.base/a1-selftest.exp: Tweak tests to account for new
6864 format for printing version.
6865 * gdb.base/default.exp: Ditto.
6866 * gdb.base/interrupt.exp: Fix problem with cascade of
6867 errors if child process dies while calling a function.
beb998c6 6868
c906108c
SS
6869Fri Sep 13 21:43:48 1996 Fred Fish <fnf@cygnus.com>
6870
6871 * Makefile.in (VPATH): Add
6872 * Makefile.in (Makefile, config.status): Fix rules so things get
6873 remade when necessary.
6874
6875Fri Sep 13 18:16:10 1996 Fred Fish <fnf@cygnus.com>
6876
6877 * Makefile.in (just-check): Add path to sibling expect dir
6878 to environment variable specified by RPATH_ENVVAR.
6879
6880Fri Sep 13 12:05:34 1996 Fred Fish <fnf@cygnus.com>
6881
6882 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
6883 (just-check): Add shared library paths for libstdc++, tk,
6884 tcl, bfd, and opcodes to the environment variable specified
6885 in RPATH_ENVVAR.
6886 * configure.in: Add support to recognize --enable-shared flag
6887 and generate correct value for RPATH_ENVVAR.
6888 * configure: Regenerated with autoconf.
6889
6890Mon Sep 2 06:36:02 1996 Fred Fish <fnf@cygnus.com>
6891
6892 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
6893 include all osf versions.
6894 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
6895 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
6896 when target is linux. When failing to build pthreads test
6897 executable, give more meaningful message.
6898 * gdb.threads/pthreads.c: Hpux also uses old definition of second
6899 arg for pthread_create.
beb998c6 6900
c906108c
SS
6901Mon Aug 19 09:58:59 1996 Fred Fish <fnf@cygnus.com>
6902
6903 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
6904 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
6905 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
6906 and -lpthreads (everybody else).
6907 (test_startup): Fail gracefully if threads are not supported.
6908 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
6909 "p/c array_index("abcdef",2)" when not gcc compiled.
6910 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
6911 "print func2::coremaker_local" when not gcc compiled.
6912 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
6913 "ptype on opaque struct tagname (statically)",
6914 "ptype on opaque struct tagname (dynamically) 1", and
6915 "ptype on opaque struct tagname (dynamically) 2"
6916 for not compiled with gcc.
6917 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
6918 backtrace when compiled with gcc.
beb998c6 6919 * lib/gdb.exp (runto_main): Return result of "runto main" rather
c906108c
SS
6920 than always return success.
6921
6922Sat Aug 17 13:28:00 1996 Fred Fish <fnf@cygnus.com>
6923
6924 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
6925
6926Tue Aug 13 10:26:10 1996 Jeffrey A Law (law@cygnus.com)
6927
6928 * gdb.base/structs.exp: Undo last change.
6929
6930Mon Aug 12 15:29:08 1996 Fred Fish <fnf@cygnus.com>
6931
6932 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
6933 encapsulate all the steps/nexts done during self test, starting
6934 at main, and makes them less sensitive to optimization issues.
6935 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
6936 signal handler" test.
6937 * gdb.threads/pthreads.exp: Only run this for native configs.
6938 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
6939 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
6940 tests.
6941 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
6942 for "runto test_calls(void)" test.
beb998c6 6943
c906108c
SS
6944Sun Aug 11 13:11:24 1996 Fred Fish <fnf@cygnus.com>
6945
6946 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
6947 and don't expect address info in breakpoint confirmations.
6948
6949Wed Aug 7 20:47:43 1996 Fred Fish <fnf@cygnus.com>
6950
6951 * gdb.base/list.exp (test_forward_search): Increase timeout
6952 temporarily by 60 seconds for searching extremely long line,
6953 and then reset to old value when done. Increase expect input
6954 buffer to 10000.
6955
6956Wed Aug 7 15:34:22 1996 Fred Fish <fnf@cygnus.com>
6957
6958 * gdb.base/list.exp (test_forward_search): Fix to handle very
6959 long source line without overflowing expect's input buffer.
6960
6961Wed Aug 7 12:03:25 1996 Tom Tromey <tromey@creche.cygnus.com>
6962
6963 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
6964 "buffer_full".
6965
6966 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
6967 "buffer_full".
6968
6969 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
6970 "buffer_full".
6971
6972 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
6973 "buffer_full".
6974
6975Wed Aug 7 11:05:47 1996 Fred Fish <fnf@cygnus.com>
6976
6977 * configure.in (configdirs): Add gdb.threads.
6978 * configure: Regenerated with autoconf.
6979 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
6980 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
6981 * gdb.threads/configure: New, generated with autoconf.
beb998c6 6982
c906108c
SS
6983Tue Aug 6 10:23:04 1996 Tom Tromey <tromey@rtl.cygnus.com>
6984
6985 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
6986
6987Mon Aug 5 18:11:53 1996 Fred Fish <fnf@cygnus.com>
6988
6989 * gdb.base/signals.exp (test_handle_all_print): Test separately for
6990 each signal's status in the output of "handle all print".
6991 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
6992 the \r\n sequence that immediately precedes the gdb prompt.
6993 * gdb.base/a1-selftest.exp: Save original timeout and restore
6994 after test.
6995
6996Sun Aug 4 10:20:50 1996 Jeffrey A Law (law@cygnus.com)
6997
6998 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
6999 symbol.
7000
7001Fri Aug 2 17:37:26 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
7002
7003 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
7004
7005Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
7006
7007 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
7008 timeout by 60 seconds.
7009
7010Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
7011
7012 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
7013 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
7014 error return.
7015
7016Thu Jun 27 10:54:58 1996 Fred Fish <fnf@cygnus.com>
7017
7018 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
7019 gdb initialization, also report how long dejagnu waited. Restore
7020 old timeout before doing error return. Temporarily increase timeout
7021 by 3 minutes to allow for slow startups over heavy NFS use.
7022
7023Tue Jun 25 19:59:17 1996 Fred Fish <fnf@cygnus.com>
7024
7025 * lib/gdb.exp: Report timeout value for verbosity level 2.
7026 * config/gdbserver.exp: Ditto.
7027 * config/hppro.exp: Ditto.
7028 * config/mips-gdb.exp: Ditto.
7029 * config/monitor.exp: Ditto.
7030 * config/netware.exp: Ditto.
7031 * config/sim-gdb.exp: Ditto.
7032 * config/slite-gdb.exp: Ditto.
7033 * config/udi-gdb.exp: Ditto.
7034 * config/unix-gdb.exp: Ditto.
7035 * config/vx-gdb.exp: Ditto.
7036 * gdb.base/a1-selftest.exp: Ditto.
7037 * gdb.base/a2-run.exp: Ditto.
7038 * gdb.base/break.exp: Ditto.
7039 * gdb.base/corefile.exp: Ditto.
7040 * gdb.base/list.exp: Ditto.
7041 * gdb.base/recurse.exp: Ditto.
7042 * gdb.base/scope.exp: Ditto.
7043 * gdb.base/signals.exp: Ditto.
7044
7045Tue Jun 25 23:16:58 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
7046
7047 * gdb.threads/Makefile.in (docdir): Removed.
7048
7049Tue Jun 25 17:02:39 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
7050
7051 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
beb998c6 7052 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
c906108c 7053 @srcdir@.
beb998c6 7054 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
c906108c
SS
7055 autoconf 2.5 or higher.
7056 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
7057
7058Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
7059
7060 * configure: Regenerated.
7061 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
7062 avoid name clashes with SunOS headers.
7063
7064Wed Jun 5 16:43:27 1996 Jeffrey A Law (law@cygnus.com)
7065
7066 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
7067
7068Thu May 30 11:35:11 1996 Jeffrey A Law (law@cygnus.com)
7069
7070 * gdb.base/callfuncs.exp: Finish last change -- make sure the
7071 prototype information ends up in the compiler info file.
7072
7073Thu May 23 12:48:41 1996 Fred Fish <fnf@cygnus.com>
7074
7075 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
7076 attempting to regenerate it. Eliminate use of a temporary file
7077 and just generate the info file directly. Source it immediately,
7078 for consistency of use.
7079 * gdb.base/corefile.exp: Ditto
7080 * gdb.base/exprs.exp: Ditto.
7081 * gdb.base/funcargs.exp: Ditto.
7082 * gdb.base/langs.exp: Ditto.
7083 * gdb.base/list.exp: Ditto.
7084 * gdb.base/mips_pro.exp: Ditto.
7085 * gdb.base/nodebug.exp: Ditto.
7086 * gdb.base/opaque.exp: Ditto.
7087 * gdb.base/ptype.exp: Ditto.
7088 * gdb.base/scope.exp: Ditto.
7089 * gdb.base/setvar.exp: Ditto.
7090 * gdb.base/signals.exp: Ditto.
7091 * gdb.base/whatis.exp: Ditto.
7092 * gdb.c++/templates.exp: Ditto.
7093 * gdb.c++/virtfunc.exp: Ditto.
7094 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
7095 whether or not to add -lstdc++ to the compile command line args.
7096
7097Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7098
7099 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
7100 it got fixed by the recent lookup_minimal_symbol_by_pc change.
7101 Increase timeout, a lot of single stepping might be needed if the
7102 target has no hardware watchpoints.
7103
7104Wed May 15 08:47:42 1996 Jeffrey A Law (law@cygnus.com)
7105
7106 * gdb.base/break.exp: Ignore compiler warnings when compiling
7107 break.c.
7108 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
7109 * gdb.base/default.exp: Add h8300 xfails. Handle messages
7110 from remote-sim.
7111 * gdb.base/exprs.exp: Add h8300 xfails.
7112 * gdb.base/funcargs.exp: Likewise.
7113 * gdb.base/nodebug.exp: Likewise.
7114 * gdb.base/printcmds.exp: Likewise.
7115 * gdb.base/ptype.exp: Likewise.
7116 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
7117 h8300 xfails.
beb998c6 7118 * gdb.base/return.exp: Handle float/double precision problems
c906108c
SS
7119 on the h8300.
7120 * gdb.base/funcargs.c: Explicitly make last constant argument to
7121 call_after_alloca_subr an unsigned long type.
7122 * gdb.base/return.c: Include stdio.h.
7123
7124Tue May 7 22:01:12 1996 Rob Savoye <rob@chinadoll.cygnus.com>
7125
7126 * config/abug.exp: New file for the older Motorola Bug monitor
7127 that runs on the mvme13x series VME boards.
7128 * config/monitor.exp: Use the new config array for target settings
7129 if they exist.
7130
7131Fri May 3 16:02:55 1996 Stan Shebs <shebs@andros.cygnus.com>
7132
7133 * sim-gdb.exp: Make the SH simulator allocate less space when
7134 it is targeted.
7135
7136Thu May 2 12:31:56 1996 Jeffrey A Law (law@cygnus.com)
7137
7138 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
7139 test.
7140
7141Wed Mar 20 08:48:03 1996 Fred Fish <fnf@cygnus.com>
7142
7143 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
7144 "rs6000-*-*" for "list function in include file" when gcc compiled.
7145 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
7146 for "p ctable1[120]".
7147 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
7148 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
7149 Remove setup_xfail for "rs6000-*-*" for
7150 "print 'scope0.c'::filelocal before run".
7151 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
7152 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
7153 since some compilers don't allow both options to be given
7154 on the same command line. Create object file and move it.
beb998c6 7155
c906108c
SS
7156Tue Mar 19 23:49:31 1996 Fred Fish <fnf@cygnus.com>
7157
7158 * gdb.base/corefile.exp: Always regenerate the core file, since
7159 we always regenerate the coremaker program. Detect special case
7160 where registers cannot be read from core file.
beb998c6 7161
c906108c
SS
7162Tue Mar 19 16:52:49 1996 Fred Fish <fnf@cygnus.com>
7163
7164 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
7165 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
7166 * gdb.c++/templates.exp: Only match on basename of file since
7167 some formats like xcoff don't encode directory information.
7168 * gdb.stabs/weird.exp: Use the right sed script for powerpc
7169 and rs6000 AIX xcoff targets.
7170 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
7171 * configure: Regenerate.
7172 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
7173 here, rather than in distclean.
beb998c6 7174
c906108c
SS
7175Sun Mar 17 13:35:31 1996 Fred Fish <fnf@cygnus.com>
7176
7177 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
7178 defined, and use it to compile the test case with -O2. The
7179 native compilation still uses no optimization.
7180 * gdb.base/mips_pro.c: Remove inline assembly code since
7181 it is compiled PIC by default, which results in assembler
7182 warnings that make the testsuite think the compilation
7183 was unsuccessful.
7184
7185Sat Mar 16 15:02:24 1996 Fred Fish <fnf@cygnus.com>
7186
7187 * gdb.c++/misc.exp: Add note to message for
7188 "print s.a for foo struct" that this is a known gcc 2.7.2
7189 and earlier bug.
7190
7191Fri Mar 15 17:49:57 1996 Fred Fish (fnf@cygnus.com)
7192
7193 * gdb.base/break.exp: Fix pattern for matching "Delete all
7194 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
7195 setup_xfail for deleting all breakpoints test. Fix various
7196 timeout messages to include "(timeout)".
7197 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
7198 for "p t_float_values2(3.14159,float_val2)".
7199 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
7200 for "continue to call2g" when gcc compiled.
7201 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
7202 "up to foo in langs.exp", "show language at foo in langs.exp",
7203 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
7204 and "show language at fsub in langs.exp".
7205 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
7206 "list line 1 in include file", "list message for lines past EOF",
7207 "list function in include file", "list list0.h:foo", and
7208 "list filename:function; nonexistant function".
7209 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
7210 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
7211 and "ptype t_char_array" to be for native cc only.
beb998c6 7212
c906108c
SS
7213Fri Mar 15 16:17:22 1996 Fred Fish <fnf@cygnus.com>
7214
beb998c6 7215 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
c906108c
SS
7216 setup_xfail for "print coremaker_bss", "print coremaker_ro",
7217 "print func2::coremaker_local", and "backtrace in corefile.exp".
7218
7219Wed Mar 13 14:54:11 1996 Fred Fish <fnf@cygnus.com>
7220
7221 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
7222 "bt in signals.exp". This problem only appears when running
7223 the testsuite, and then only intermittently.
7224
7225Tue Mar 12 15:00:16 1996 Stan Shebs <shebs@andros.cygnus.com>
7226
7227 * gdb.base/return.exp (return_tests): Differentiate between
7228 two tests of continuing.
7229
7230Tue Mar 5 14:33:33 1996 Stan Shebs <shebs@andros.cygnus.com>
7231
7232 * */Makefile.in (maintainer-clean): Remove config.log.
7233 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
7234 * gdb.c++/Makefile.in (PROGS): Add inherit.
7235 (clean): Remove *.ci.
7236
7237Tue Feb 20 16:36:10 1996 Fred Fish <fnf@cygnus.com>
7238
7239 * gdb.c++/misc.cc: Add test code from Mike Stump.
7240 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
7241
7242Sun Feb 18 11:39:12 1996 Fred Fish <fnf@cygnus.com>
7243
7244 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
7245 to "alpha-*-osf2*" and add comment.
7246 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
7247 setup_xfail for "step over execarg initialization" and
7248 "step over corearg initialization".
7249 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
7250 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
7251 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
7252 gcc compiled for "print coremaker_bss", "print coremaker_ro",
7253 "print func2::coremaker_local", and "backtrace in corefile.exp".
7254 * gdb.base/signals.exp: Build and source signals.ci.
7255 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
7256 to be for gcc only.
7257 * lib/gdb.exp: Move verbose statements outside conditionals.
beb998c6 7258
c906108c
SS
7259Sat Feb 17 02:22:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7260
7261 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
7262 Feb 3 procfs.c change.
7263
7264Fri Feb 16 13:25:31 1996 Fred Fish <fnf@cygnus.com>
7265
7266 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
7267
7268Thu Feb 15 08:12:55 1996 Fred Fish <fnf@cygnus.com>
7269
7270 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
7271 from dejagnu's apparent default of 10 seconds, which gives random
7272 results when running the tests over NFS on moderately loaded systems.
7273 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
7274
7275Mon Feb 12 16:50:28 1996 Fred Fish <fnf@cygnus.com>
7276
7277 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
7278 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
7279 result reports.
7280
7281Fri Feb 9 15:56:51 1996 Fred Fish <fnf@cygnus.com>
7282
7283 * configure.in (CY_AC_PATH_TCLH): Remove.
7284 * configure: Regenerate.
7285
7286Fri Feb 9 08:21:31 1996 Fred Fish <fnf@cygnus.com>
7287
7288 * gdb.c++/Makefile.in (clean): Add missing '{'.
7289
7290Fri Feb 2 10:19:40 1996 Jeffrey A Law (law@cygnus.com)
7291
7292 * lib/gdb.exp: Provide a default value for noinferior.
7293
7294 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
7295 Load libgloss.exp.
7296
7297Thu Feb 1 20:20:14 1996 Jeffrey A Law (law@cygnus.com)
7298
7299 * gdb.disasm/hppa.exp: Compile directly into an executable, use
7300 the executable, not the .o to run the tests from.
7301
7302Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com)
7303
7304 * gdb.base/break.exp: Don't test for program exit or exit status
7305 if $noresults if nonzero.
7306 * gdb.base/langs.exp: Likewise.
7307 * gdb.base/watchpoint.exp: Likewise.
7308
7309 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
7310 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
7311 trying to compile the testcase.
7312
7313Wed Jan 24 23:42:39 1996 Doug Evans <dje@charmed.cygnus.com>
7314
7315 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
7316 * gdb.base/signals.exp (continue to handler): Likewise.
7317
7318Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
7319
7320 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
7321
7322 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
7323
7324Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
7325
7326 * gdb.base/corefile.exp: Recognize "not found" as failure
7327 when trying to determine if a core file was generated.
7328 If no core file was generate the first time, try again without
7329 the ulimit -c to work around braindamaged shells.
7330
7331Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
7332
7333 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
7334 [] tests with "test" and enclose string in quotes.
7335 * gdb.stabs/configure: Rebuild
beb998c6 7336
c906108c
SS
7337Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
7338
7339 Changes in sync with expect:
7340 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
7341 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
7342 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
7343 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
7344 argument to AC_REQUIRE.
7345 * configure: Regenerated.
7346
7347Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
7348
7349 * gdb.base/corefile.exp: When generating a core, discard any
7350 error messages about ulimit not found and the "core dumped"
7351 message from the shell that runs the coredumper.
7352
7353Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
7354
7355 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
7356
7357 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
7358 which sed script to run. Expect failure for v_comb test
7359 on PA targets too.
beb998c6 7360
c906108c
SS
7361Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
7362
7363 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
7364 "print func2::coremaker_local" and for "backtrace in corefile.exp"
7365
7366Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
7367
7368 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
7369 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
7370 "sparc-sun-solaris*" xfails for "p v_comb".
7371 * lib/gdb.exp (default_gdb_start): Fix typo.
7372 * gdb.base/corefile.exp: Allow "Core was generated by ..."
7373 messages to not include the full program name that caused
7374 the core dump since some systems (such as solaris) apparently
7375 truncate this path to about 80 characters.
7376 When generating a core file first try increasing the core file
7377 size limit to unlimited since some systems may default it to
7378 zero, and it is harmless to try it. Move the test for failing
7379 to generate a core file to where it will actually get executed.
7380 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
7381 new gdb result from g++ debug info improvements and make old
7382 pattern obsolescent. Also account for size_t differences
7383 (may be int or long).
7384 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
7385 initialization before function call is placed in the delay slot
7386 and thus appears to be skipped over by commands such as "next".
7387
7388Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
7389
7390 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
7391
7392Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
7393
7394 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
7395 input source file; fix code to compile test to deal with this
7396 convention.
7397 * gdb.c++/*.exp: Likewise.
7398
7399Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
7400
7401 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
7402 "bt in signals.exp".
7403
7404Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
7405
7406 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
7407 "step over execarg initialization" and
7408 "step over corearg initialization".
7409
7410Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
7411
7412 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
7413 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
7414
7415Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
7416
7417 From Rob Savoye (rob@poseidon.cygnus.com)
7418 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
7419 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
7420 configure.in}, gdb.disasm/{Makefile.in, configure.in},
7421 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
7422 configure.in}: Major reworking for autoconfig.
7423 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
7424 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
7425 New files.
7426 * config/unix-gdb.exp: Make GDB global.
7427 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
7428 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
7429 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
7430 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
7431 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
7432 term.exp, twice.exp, watchpoint.exp, whatis.exp},
7433 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
7434 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
7435 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
7436 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
7437 pr-8136.exp, result.exp, string.exp, tuples.exp},
7438 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
7439 to returns as necessary, arrange for test to compile own testcase
7440 executable.
7441 * lib/gdb.exp: Changes for testsuite to compile own test cases.
beb998c6 7442
c906108c
SS
7443Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
7444
7445 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
7446 clear_xfail at end of test which might not call either pass or fail.
7447 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
7448 "backtrace through signal handler".
7449
7450Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7451
7452 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
7453 continuing from a job control stop signal.
7454 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
7455
7456Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
7457
7458 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
7459 * gdb.base/corefile.exp: Likewise.
7460 * gdb.base/funcargs.exp: Likewise.
7461
7462Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
7463
7464 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
7465 * config/monitor.exp: Add support for setting baud rate.
7466
7467Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
7468
7469 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
7470 i*86-*-linux* xfails for "backtrace through signal handler".
7471 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
7472 "print func2::coremaker_local".
7473 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
7474 alpha-dec-osf2* xfail for
7475 "delete all breakpoints when none".
7476
7477Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
7478
7479 * gdb.base/break.exp: Change test that deletes all breakpoints
7480 when no user breakpoints are installed. A post 4.15 change
7481 causes gdb to no longer prompt in this case.
7482
7483Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
7484
7485 * gdb.base/return.exp (return_tests): Change xfail for test
7486 "correct value returned double test" to stop xfailing at
7487 Solaris 2.5. Apparently the bug has been fixed.
7488
7489Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
7490
7491 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
7492 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
7493
7494Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
7495
7496 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
7497 * gdb.disasm/hppa.s: Corresponding changes.
7498
7499Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
7500
7501 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
7502 makefile fragment.
7503 * config/mt-hpux: Deleted.
7504
7505Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
7506
beb998c6 7507 * Many files: When warning about suppressed tests due to a
c906108c
SS
7508 nonexistant test binary, avoid incrementing the warning count.
7509
7510Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
7511
7512 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
beb998c6 7513
c906108c
SS
7514Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7515
7516 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
7517 "sparc-*-solaris2*".
7518
7519Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7520
7521 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
7522 Add global and local variables and initialize them.
7523 * gdb.base/corefile.exp: Test correct mapping of corefile sections
7524 by printing variables. Remove rs6000 and powerpc xfails, BFD now
7525 extracts the file name and terminating signal from the core file.
7526 * TODO: Remove note about tests for correct mapping of corefile.
7527 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
7528 from optimizing it away.
7529 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
7530 handles common blocks.
7531
7532Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
7533
7534 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
7535 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
7536
7537Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
7538
7539 * Makefile.in (maintainer-clean): New target, synonym for
7540 realclean.
7541 * gdb.base/Makefile.in (maintainer-clean): Likewise.
7542 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
7543 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
7544 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
7545 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
7546 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
7547
7548Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
7549
7550 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
7551 xfails when not gcc compiled for "print foo::funclocal".
7552 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
7553 "print foo::funclocal at foo",
7554 "print 'scope1.c'::foo::funclocal at foo",
7555 "print foo::funclocal_bss at foo",
7556 "print 'scope1.c'::foo::funclocal_bss at foo",
7557 "print foo::funclocal_ro at foo",
7558 "print 'scope1.c'::foo::funclocal_ro at foo",
7559 "print bar::funclocal at foo" and
7560 "print 'scope1.c'::bar::funclocal at foo".
7561 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
7562 gcc compiled for "print foo::funclocal at bar".
7563 Expand all messages to ensure that they identify that
7564 the test is at bar().
7565 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
7566 gcc compiled for:
7567 "ptype on opaque struct pointer (statically)",
7568 "ptype on opaque struct tagname (statically)",
7569 "ptype on opaque struct pointer (dynamically) 1",
7570 "ptype on opaque struct tagname (dynamically) 1",
7571 "ptype on opaque struct pointer (dynamically) 2" and
7572 "ptype on opaque struct tagname (dynamically) 2
7573 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
7574 gcc compiled for:
7575 "p datalocal"
7576 "whatis datalocal",
7577 "ptype datalocal",
7578 "p bsslocal",
7579 "whatis bsslocal", and
7580 "ptype bsslocal".
7581 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
7582 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
7583 when not gcc compiled.
7584 * gdb.base/funcargs.exp (float_and_integral_args): Add
7585 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
7586 compiled.
7587 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
7588 "backtrace from call6a" when not gcc compiled.
7589 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
7590 "backtrace from call7a" when not gcc compiled.
7591 * gdb.base/callfuncs.exp (do_function_calls):
7592 Add "hppa*-*-hpux*" xfail when not gcc compiled for
7593 "p t_char_array_values(char_array_val2,char_array_val1)",
7594 "p t_char_array_values(char_array_val1,char_array_val2)",
7595 "p t_char_array_values("carray 1","carray 2")",
7596 "p t_char_array_values("carray 1",char_array_val2)",
7597 "p t_char_array_values(char_array_val1,"carray 2")",
7598 "p sum_args(1,{2})",
7599 "p sum_args(2,{2,3})",
7600 "p sum_args(3,{2,3,4})",
7601 "p sum_args(4,{2,3,4,5})"
7602 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
7603 "backtrace in corefile.exp" when not gcc compiled.
7604
7605Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7606
7607 * gdb.base/signals.exp: Rewrite `handle all print' test as
7608 a procedure. Accept blanks or TABs as whitespace, increase
7609 timeout and expect input buffer size for the large output
7610 from the command. Remove "i*86-*-bsdi2.0" xfail.
7611
7612Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7613
7614 * gdb.base/setvar.exp: Add new testcases for truncation when
7615 assigning invalid values to bitfields.
7616
7617Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
7618
beb998c6 7619 * gdb.base/callfuncs.exp (do_function_calls): Remove
c906108c
SS
7620 mips-sgi-irix* xfail for
7621 "call inferior func with struct - returns char *"
7622 and fix test so that an optional (unsigned char *) cast is
7623 accepted in the result.
7624
7625Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
7626
7627 * gdb.base/funcargs.exp (float_and_integral_args): Remove
7628 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
7629 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
7630 * gdb.base/signals.exp: Remove duplicate "handle all print" test
7631 that accidentally got checked in.
7632
7633Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
7634
beb998c6 7635 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
c906108c
SS
7636 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
7637 compiled test.
7638 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
7639 Add mips-sgi-irix5* xfail for not gcc compiled.
7640 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
7641 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc compiled for
7642 "p top", "whatis top", "p middle", and "whatis middle".
7643 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
7644 "whatis signed char" for not gcc compiled.
7645 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
7646 "set variable signed char=-1 (-1)" and
7647 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
7648 * gdb.base/funcargs.exp (float_and_integral_args):
7649 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
7650 Add mips-sgi-irix* xfail when not gcc compiled for
7651 "continue to call2b".
7652 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
7653 "continue to call2g".
7654 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc compiled for
7655 "backtrace from call6a"
7656 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc compiled for
7657 "backtrace from call7k".
7658 Add mips-sgi-irix5* xfail when not gcc compiled for
7659 "backtrace from call7a".
7660 (localvars_after_alloca): Fix gdb_test cmds for
7661 "print * after runto ...".
7662 Remove rs6000-*-* xfails for
7663 "print i after runto localvars_after_alloca" and
7664 "print l after runto localvars_after_alloca"
7665 for all compilers.
7666 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
7667 when not compiled with gcc, for:
7668 "print signed char == (minus)",
7669 "print signed char != (minus)",
7670 "print signed char < (minus)",
7671 "print signed char > (minus)".
7672 * gdb.base/callfuncs.exp (do_function_calls):
7673 Add mips-sgi-irix* xfail, when compiled with native compiler, for
7674 "call inferior func with struct - returns char *".
beb998c6 7675 * gdb.base/return.exp (return_tests): Change xfail for
c906108c
SS
7676 "correct value returned double test" to include Solaris 2.4.
7677 * gdb.base/funcargs.exp (float_and_integral_args):
7678 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
beb998c6 7679
c906108c
SS
7680Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7681
7682 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
7683 enumeration bitfields if compiling with GNU C.
7684 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
7685 to empty' prompt.
7686
7687Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
7688
7689 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
7690 test for PRO targets.
7691
7692 * gdb.base/funcargs.exp: Avoid ever setting more than 8
7693 breakpoints in the inferior at any given time by making
7694 two groups of breakpoints for call2*, call6* and call7*
7695 tests.
7696
7697Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7698
7699 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
7700 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
7701 from optimizing it away.
7702 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
7703 "call inferior func with struct".
7704
7705Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
7706
7707 * configure.in: Only configure gdb.chill for particular targets.
7708
7709Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
7710
7711 * gdb.base/Makefile.in: Add action to .c.o transformation
7712 rule that generates a .ci file for each .o file and remove
7713 explicit .c.o rules except for callfuncs.o.
7714 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
7715 generates a .ci file for each .o file and remove explicit
7716 .cc.o rules.
7717 (clean): Remove *.tmp *.ci files.
7718 (EXECUTABLES): Remove templ-info.exp.
7719 * gdb.base/compiler.c: New file.
7720 * gdb.c++/compiler.cc: New file
7721 * gdb.base/scope.exp: Source gdb.base/scope.ci.
7722 Change rs6000-*-* xfail for
7723 "print 'scope0.c'::filelocal_ro" and
7724 "print 'scope1.c'::filelocal" and
7725 "print 'scope1.c'::filelocal_bss" and
7726 "print 'scope1.c'::filelocal_ro" and
7727 "print 'scope1.c'::foo::funclocal" and
7728 "print 'scope1.c'::foo::funclocal_ro" and
7729 "print 'scope1.c'::bar::funclocal" and
7730 "print 'scope0.c'::filelocal_ro" and
7731 "print 'scope1.c'::filelocal at foo" and
7732 "print 'scope1.c'::filelocal_bss at foo" and
7733 "print 'scope1.c'::filelocal_ro at foo" and
7734 "print 'scope1.c'::foo::funclocal at foo" and
7735 "print 'scope1.c'::foo::funclocal_bss at foo" and
7736 "print 'scope1.c'::foo::funclocal_ro at foo" and
7737 "print 'scope1.c'::bar::funclocal at foo" and
7738 "print 'scope0.c'::filelocal_ro" and
7739 "print 'scope1.c'::filelocal" and
7740 "print 'scope1.c'::filelocal_bss" and
7741 "print 'scope1.c'::filelocal_ro" and
7742 "print 'scope1.c'::foo::funclocal" and
7743 "print 'scope1.c'::foo::funclocal_bss" and
7744 "print 'scope1.c'::foo::funclocal_ro" and
7745 "print 'scope1.c'::bar::funclocal" and
7746 "print 'scope1.c'::bar::funclocal_bss"
7747 to only be xfail'd when not compiled with gcc.
beb998c6 7748 Add rs6000-*-* xfail for
c906108c
SS
7749 "print 'scope0.c'::filelocal_bss before run"
7750 when compiled with gcc.
7751 (test_at_main): Add rs6000-*-* xfail for
7752 "print filelocal_ro in test_at_main"
7753 when compiled with gcc.
7754 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
beb998c6 7755 Add rs6000-*-aix* xfail for
c906108c
SS
7756 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
7757 "ptype t_char_array", not compiled with gcc.
7758 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
7759 xfail for "list foo (in include file)" when gcc compiled.
7760 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
7761 (integral_args): Add rs6000-*-* xfail for
7762 "run to call0a" if not compiled with gcc.
7763 (unsigned_integral_args): Add rs6000-*-* xfail for
7764 "run to call1a" if not compiled with gcc.
7765 (float_and_integral_args): Add rs6000-*-* xfail for
7766 "run to call2a" if not compiled with gcc and for
7767 "continue to call2b" for any compiler.
7768 Add rs6000-*-* xfail to
7769 "print f1 after run to call2a" for gcc compiled.
7770 (discard_and_shuffle): Add rs6000-*-* xfail for
7771 "run to call6a".
7772 (shuffle_round_robin): Add rs6000-*-* xfail for
7773 "backtrace from call7a" if not compiled with gcc.
7774 Add rs6000-*-* xfail for
7775 "backtrace from call7b" if compiled with gcc.
7776 (call_after_alloca): Add rs6000-*-* xfail for
7777 "print c in call_after_alloca" and
7778 "print s in call_after_alloca" and
7779 "backtrace from call_after_alloca_subr"
7780 if not compiled with gcc.
7781 (localvars_in_indirect_call): Add rs6000-*-* xfail for
7782 "print c in localvars_in_indirect_call" and
7783 "print c in localvars_in_indirect_call" and
7784 "backtrace in indirectly called function" and
7785 "stepping into indirectly called function"
7786 if not compiled with gcc.
7787 (localvars_after_alloca): Add rs6000-*-* xfail for
7788 "print c after runto localvars_after_alloca" and
7789 "print s after runto localvars_after_alloca" and
7790 "print i after runto localvars_after_alloca" and
7791 "print l after runto localvars_after_alloca"
7792 for all compilers.
7793 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
7794 than whatis-info.exp.
7795 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
7796 than opaque-info.exp.
7797 Setup rs6000-*-* xfail for
beb998c6 7798 "ptype on opaque struct pointer (statically)" and
c906108c
SS
7799 "ptype on opaque struct pointer (dynamically)" when
7800 not compiled with gcc.
7801 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
7802 rather than callf-info.exp.
7803 (do_function_calls): Add clear_xfail for rs6000-*-* for
7804 "p t_float_values2(3.14159,float_val2)". Seems to work
7805 fine there, both with xlc and gcc. Need to find out what
7806 it is doing right and fix other platforms.
7807 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
7808 "call inferior func with struct - returns int",
7809 "call inferior func with struct - returns long",
7810 "call inferior func with struct - returns float",
7811 "call inferior func with struct - returns double",
7812 "call inferior func with struct - returns char *",
7813 but only if not gcc compiled (presumes xlc compiled).
7814 Change rs6000-*-* xfails for
7815 "call inferior func with struct - returns char" and
7816 " call inferior func with struct - returns short" to only
7817 xfail if not using gcc.
7818 (clean mostlyclean): Remove *.ci and *.tmp files.
7819 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
7820 than templ-info.exp.
7821 * gdb.base/langs.exp: Source gdb.base/langs.ci.
7822 Add rs6000-*-* xfail for "up to foo in langs.exp"
7823 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
7824 when not gcc compiled.
beb998c6 7825
c906108c
SS
7826Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
7827
7828 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
7829 * gdb.base/corefile.exp: Likewise.
7830 * gdb.base/list.exp: Likewise.
7831 * gdb.base/scope.exp: Likewise.
7832 * gdb.base/siganls.exp: Likewise.
7833
7834 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
7835 compiler output.
7836 * gdb.base/whatis.exp: Likewise.
7837
7838Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
7839
7840 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
7841 failure (opcode table has been fixed to match reality).
7842
7843Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
7844
7845 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
7846 "call inferior func with struct - returns char",
7847 "call inferior func with struct - returns short"
7848
7849 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
7850 "print 'scope0.c'::filelocal at main",
7851 "print 'scope0.c'::filelocal_bss in test_at_main",
7852 "print 'scope0.c'::filelocal at foo",
7853 "print 'scope0.c'::filelocal_bss in test_at_foo",
7854 "print 'scope0.c'::filelocal at bar",
7855 "print 'scope0.c'::filelocal_bss in test_at_bar"
beb998c6 7856
c906108c
SS
7857 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
7858 in source file 1". This bug seems to have been fixed with both
7859 gcc and native cc (was native assembler bug?).
7860
7861Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
7862
7863 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
7864 "backtrace through signal handler" to "i*86-*-sysv4*".
7865 * gdb.base/signals.exp: Add xfail for "'next' behaved as
7866 continue" case. Add "known SVR4 bug" to fail message.
7867 Add "i*86-*-bsdi2.0" xfail for "handle all print".
7868 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
7869 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
7870 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
7871 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
7872 "up to foo in langs.exp", "show language at foo in
7873 langs.exp", "up to cppsub_ in langs.exp", "show
7874 language at cppsub_ in langs.exp", "up to fsub in
7875 langs.exp", and "show language at fsub in langs.exp".
7876 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
7877 "bactrace in corefile.exp".
7878 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
7879 "call inferior function with struct - returns float" and
7880 "call inferior function with struct - returns double".
beb998c6 7881
c906108c
SS
7882Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
7883
7884 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
7885 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
7886 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
7887 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
7888
7889Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
7890
7891 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
7892 (or overriden) "CHILL" macro rather then bare "gcc".
7893 Also look for ../../gcc/xgcc since that is what we will
7894 actually need, not "Makefile". Remove following assignment
7895 of CHILL to CHILL_FOR_TARGET because that results in
7896 recursive definition.
7897
7898Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
7899
7900 * gdb.base/corefile.exp: Change xfail for backtrace in
7901 corefile.exp from linuxaout to all linux.
7902 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
7903 cases where we miss the breakpoint at the signal handler
7904 for some reason. Setup xfail for linuxoldld/linuxaout and
7905 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
7906 hitting SIGURG breakpoint.
7907 * gdb.base/signals.exp: Setup xfail for "next" acting like
7908 continue to add linuxoldld. Setup xfail for all linux for
7909 "next to handler in signals_tests_1", "backtrace in
7910 signals_tests_1", "continue to func1", "pass SIGUSR1",
7911 and continue to handler".
7912
7913Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
7914
7915 * Update all FSF addresses except those in COPYING* files.
7916
7917Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
7918
7919 * gdb.base/a2-run.exp: Change messages to be more explicit about
7920 the status of args, and quote binfile in results.
7921
7922Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
7923
7924 * gdb.base/callfuncs.exp: Add tests for passing structs to
7925 inferior functions and return various types.
7926 * gdb.base/callfuncs.c: Add functions to receive a struct
7927 and return a member of the struct, in various types.
7928
7929Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7930
7931 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
7932
7933Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
7934
7935 * config/vxworks29k.exp: New file, sources vxworks.exp.
7936
7937Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
7938
7939 * config/gdbremote.exp: New file. Testing framework using
7940 gdbserver.
7941
7942Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
7943
7944 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
7945 "call function when asleep" and "send end of file".
7946 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
7947 for "backtrace in corefile.exp".
7948 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
7949 for "backtrace through signal handler".
7950 * gdb.base/corefile.exp: Make sure we actually generate a core file
7951 before trying the core tests. Some systems allow the user to suppress
7952 generation of core files and default to that (linux for example).
7953 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
7954 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
7955
7956Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
7957
7958 * gdb.threads: New directory with some crude multi-threaded
7959 gdb tests (step.exp and step2.exp).
7960 * config/mt-lynx (STEP_EXECUTABLE): Define.
7961 (THREADFLAGS): Define.
7962
7963Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
7964
7965 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
7966
7967 * gdb.base/signals.exp: Disable whole file for lynx until
7968 further notice.
7969
7970 * gdb.base/signals.exp: xfail test where "next" acts like
7971 "continue" for lynx.
7972
7973 * gdb.base/interrupt.exp: xfail test for calling function while
7974 inferior is asleep for lynx.
7975
7976 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
7977 than one cr-lf after each command.
7978
7979Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7980
7981 * configure.in: Reinstate setting of stabsdirs variable, fix
7982 typo in setting up configdirs for native builds.
7983
7984 * gdb.base/return.exp: Fix typo in return double test.
7985 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
7986 compiler from optimizing them away.
7987
7988Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
7989
7990 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
7991 sequences to be echo'd by gdb when using gdb_test.
7992 * gdb.chill/chexp.exp: Likewise.
7993 * gdb.fortran/exprs.exp: Likewise
7994
7995Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
7996
7997 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
7998 after the inferior gdb has started.
7999
8000 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
8001 after each command.
8002 * gdb.base/funcargs.exp: Likewise.
8003 * gdb.base/gdbvars.exp: Likewise.
8004 * gdb.base/interrupt.exp: Likewise.
8005 * gdb.base/list.exp: Likewise.
8006 * gdb.base/watchpoint.exp: Likewise.
8007 * gdb.c++/demangle.exp: Likewise.
8008 * gdb.c++/inherit.exp: Likewise.
8009 * gdb.chill/chexp.exp: Likewise.
8010 * gdb.fortran/exprs.exp: Likewise.
8011
8012 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
8013 test if we can't handle IO to/from the inferior.
8014
8015 * gdb.c++/misc.exp: Always check for a program already being
8016 started after sending a "run" command to gdb.
8017
8018 * gdb.base/twice.exp: Start with a fresh gdb.
8019
8020 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
8021 only depend on gdb's expression code, not the chill runtime.
8022
8023 * gdb.base/return.c: Put return values into variables so we
8024 can have gdb print them rather than depending on the program
8025 to print them.
8026 * gdb.base/return.exp: Corresponding changes.
8027
8028 * lib/gdb.exp: Provide default value for noinferiorio.
8029 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
8030 the inferior.
8031
8032 * gdb.base/break.exp: Always check for a program already being
8033 started after sending a "run" command to gdb.
8034 (text_next_with_recursion): Don't check the output from the
8035 program's printf statement. Instead just make sure the program
8036 exited.
8037
8038 * gdb.base/commands.exp: Protect tests which need arguments with
8039 $noargs conditionals.
8040
8041Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8042
8043 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
8044 of structure member arrays to match gdb/valops.c:value_addr change.
8045
8046Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
8047
8048 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
8049 cases.
8050
8051Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
8052
8053 * configure.in (configdirs): Remove gdb.chill from default list
8054 of subdirs and then add it back in only if doing a native build.
8055 The current chill compiler does not yet work in any cross build.
8056 * Revert all signal changes from Jul 6.
8057 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
8058 for sh-hms targets, allowing these tests to link, with no other
8059 changes. Testing is suppressed by setting "nosignals" in site.exp.
8060
8061Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
8062
8063 * configure.in (signaldirs): Define and add to configdirs for all
8064 targets except some specific ones that are known to not support signals.
8065 Also clean up formatting.
8066 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
8067 (signals, sigall): Remove rules to build.
8068 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
8069 Moved to new gdb.signals directory.
8070 * gdb.signals: New test directory.
8071 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
8072 signals.c signals.exp}: New or moved files.
8073
8074Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
8075
8076 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
8077
8078Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
8079
8080 * gdb.base/return.exp: Xfail `return double' test failure
8081 on at least Solaris 2.3 and handle future/past versions on
8082 a case by case basis as appropriate. Also update message
8083 to include i*86 failures.
8084
8085Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8086
8087 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
8088
8089 * lib/gdb.exp: Fix comment which erroneously identified
8090 gdb_file_cmd as gdb_load (the 19 May change was in fact to
8091 gdb_file_cmd not gdb_load).
8092 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
8093
8094 * gdb.base/setvar.exp: Make test names consistent between pass and
8095 fail cases. Use gdb_test more.
8096
8097Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8098
8099 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
8100
8101Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8102
8103 * gdb.base/help.exp: Fix expected help string for `show commands'.
8104
8105Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
8106
8107 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
8108
8109 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
8110 of a text section.
8111
8112Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
8113
8114 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
8115 that loop eventually terminates. Fix Connection refused logic so
8116 that testsuite will expire nicely.
8117
8118Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
8119
8120 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
8121 config/rom68k.exp: New tcl glue for the appropriate monitors.
8122 These all just end up calling monitor.exp.
8123 * config/monitor.exp (gdb_target_monitor): Handle `Connection
8124 refused' by retrying. Cleanup some timeout issues.
8125 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
8126 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
8127 callers don't have to set/restore global timeout variable.
8128
8129 * The following set of changes centralizes management of the global
8130 timeout variable. This way, it can be set in one target dependent
8131 place instead of dozens of places scattered throughout the test suite.
8132 If you need to lengthen a timeout, then you should either set timeout
8133 in one of the config/{target}.exp files, or multiply it by a factor.
8134 Setting it to an absolute value is always going to lose for some
8135 targets.
8136 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
8137 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
8138 * gdb.base/funcargs.exp: Don't set timeout.
8139 * gdb.base/list.exp (test_forward_search): Only use local timeout.
8140 * gdb.base/printcmds.exp (test_print_string_constants
8141 test_print_array_constants): Don't set timeout.
8142 * gdb.base/ptype.exp: Don't set timeout.
8143 * gdb.base/recurse.exp: Don't set timeout.
8144 * gdb.base/return.exp: Don't set timeout.
8145 * gdb.base/watchpoint.exp: Don't set timeout.
8146 * gdb.c++/classes.exp (do_tests): Don't set timeout.
8147 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
8148
8149Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
8150
8151 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
8152
8153Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8154
8155 * lib/gdb.exp: Disable chill tests for irix5.
8156
8157Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8158
8159 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
8160 each test pass or fail.
8161
8162Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8163
8164 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
8165 xlc not gcc.
8166
8167Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
8168
8169 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
8170
8171Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
8172
8173 * config/est.exp: Fix copyright and comments. Remove dead code.
8174 Use targetname, serialport and baud variables instead of fixed
8175 constants.
8176 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
8177 * config/cpu32bug.exp: New file to support cpu32bug monitors.
8178
8179Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8180
8181 * gdb.base/watchpoint.exp: Don't run
8182 test_watchpoint_triggered_in_syscall for sunos.
8183
8184Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8185
8186 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
8187 they don't seem to exist. Do include stdio.h.
8188
8189Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8190
8191 * gdb.base/a1-selftest.exp: Add alpha xfail.
8192
8193Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8194
8195 * gdb.base/watchpoint.c (main): Prompt before calling read().
8196 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
8197 Revise accordingly. Remove cruft about sending "123" several
8198 times, until it gets noticed. Clean up the "print buf[0]" stuff
8199 so that it passes or fails, and waits for prompts in the usual way.
8200
8201Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8202
8203 * gdb.base/recurse.exp: Fix comment.
8204
8205 * TODO: Remove item about printing variables in nodebug.exp. Add
8206 item about enabling tests which are only run on some targets.
8207
8208 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
8209 fail, make test names unique, use new gdb_test convention
8210 regarding pattern, use gdb_test more, etc.).
8211
8212 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
8213 fail, make test names unique, etc.).
8214
8215Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8216
8217 * gdb.base/nodebug.c: Change return type of top and middle to
8218 short.
8219 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
8220 are fixed by the recent mdebugread.c changes. Allow `short ()'
8221 as type for top and middle.
8222
8223Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8224
8225 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
8226 nearly as I can tell, the whole thing was an accident in Stu's
8227 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
8228 to replace a send/expect pair with gdb_test, but ended up only
8229 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
8230 of 30 Mar 1995 took care of it, but left this vestigial comment
8231 which I am now nuking.
8232
8233Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8234
8235 * gdb.base/break.exp: Look for different line number for
8236 breakpoint at main depending on usestubs.
8237
8238Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8239
8240 * gdb.base/list.exp: Adjust some alternate expect patterns to
8241 match recent list0.c change. Add alternate expect pattern for
8242 output from `list default lines around main' for optimizing
8243 compilers.
8244
8245Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8246
8247 * lib/gdb.exp: If nosignals is not set, set it to 0.
8248
8249Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
8250
8251 * config/slite-gdb.exp: Responds to load symbol table prompt.
8252 * gdb.base/break.exp: Adjust line number, fix rerun.
8253 * gdb.base/langs0.c: Add #ifdef usestubs.
8254
8255Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
8256
8257 * gdb.base/list.exp: Adjust line contents after adding new lines in
8258 list0.c. Also fix a syntax error.
8259
8260 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
8261 * gdb.base/break.exp: ditto.
8262 * gdb.base/list.exp: ditto.
8263 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
8264 * gdb.base/run.c: ditto.
8265 * gdb.base/list0.c: ditto.
8266 * gdb.base/funcargs.c: ditto.
8267
8268Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
8269
8270 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
8271 $targetname, $serialport and $baud instead of hardwired variables.
8272 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
8273 target doesn't support signals.
8274
8275Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
8276
8277 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
8278
8279Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8280
8281 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
8282 Don't rely on the value of an auto variable before it has been
8283 initialized. Use gdb_test more.
8284
8285Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8286
8287 * lib/gdb.exp (default_gdb_version): A version number must start
8288 with a digit, but other than that contains all characters up to
8289 the first whitespace character.
8290
8291Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8292
8293 * gdb.base/commands.exp (breakpoint_command_test): New tests.
8294
8295Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8296
8297 * gdb.c++/*.exp: Warn if executable does not exist. The original
8298 reason for skipping the warning was that configure.in sometimes
8299 intentionally skipped building the executables but the tcl code
8300 had no way of knowing. That (a) was always bogus with respect to
8301 error handling, (b) is no longer true (right now there is no way
8302 to skip C++ tests).
8303
8304 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
8305
8306Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8307
8308 * gdb.base/list.exp: Add expect patterns for output from
8309 SunPRO compiled executables.
8310 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
8311 types.
8312
8313Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8314
8315 * gdb.base/break.exp (test_next_with_recursion): Accept any line
8316 number (we are already testing that the correct source line text
8317 gets printed).
8318
8319 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
8320 that is what is intended, but something needed to be done to get
8321 sunos4 native working again.
8322
8323 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
8324
8325 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
8326 apparently went with a (very) old xfail.
8327
8328Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
8329
8330 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
8331 runto_main is a proc in gdb.exp that will do 'step' for target use
8332 stubs.
8333 * gdb.base/exprs.exp: ditto.
8334 * gdb.base/interrupt.exp: ditto.
8335 * gdb.base/opaque.exp: ditto.
8336 * gdb.base/printcmds.exp: ditto.
8337 * gdb.base/ptype.exp: ditto.
8338 * gdb.base/scope.exp: ditto.
8339 * gdb.base/setvar.exp: ditto.
8340 * gdb.base/signals.exp: ditto.
8341 * gdb.base/twice.exp: ditto.
8342 * gdb.c++/classes.exp: ditto.
8343 * gdb.c++/inherit.exp: ditto.
8344 * gdb.c++/templates.exp: ditto.
8345 * gdb.base/break.exp: no run and hit main for stubs. Change line
8346 numbers for breakpoints and info breakpoint.
8347 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
8348 breakpoint().
8349 * gdb.base/callfuncs.c: ditto.
8350 * gdb.base/exprs: ditto.
8351 * gdb.base/interrupt.c: ditto.
8352 * gdb.base/opaque0.c: ditto.
8353 * gdb.base/printcmds.c: ditto.
8354 * gdb.base/ptype.c: ditto.
8355 * gdb.base/scope0.c: ditto.
8356 * gdb.base/setvar.c: ditto.
8357 * gdb.base/signals.c: ditto.
8358 * gdb.base/twice.c: ditto.
8359 * gdb.c++/misc.cc: ditto.
8360 * gdb.c++/templates.cc: ditto.
8361
8362Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8363
8364 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
8365
8366 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
8367 somewhere between `read' and `main.c'. I'm pretty sure the
8368 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
8369 and it isn't particularly useful.
8370
8371 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
8372
8373Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8374
8375 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
8376
8377Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
8378
8379 * config/mt-slite: add LIBS and -nostdlib.
8380 * config/slite-gdb.exp: add this new file to support sparclite target.
8381
8382Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
8383
8384 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
8385
8386 * gdb.base/a2-run.exp: Change argument to istarget from
8387 "*-*-vxworks" to "*-*-vxworks*".
8388 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
8389
8390Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
8391
8392 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
8393 will not runto main but do a 'step' to step out of breakpoint().
8394 * config/mt-slite: add -Dusestubs.
8395
8396Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8397
8398 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
8399 instead of just @.
8400
8401 * gdb.base/signals.exp: Add test for "handle all print".
8402 * TODO: Remove "handle all print". Also remove item about
8403 checking copyright date (I don't like the idea of a spurious FAIL
8404 based on when we run the tests).
8405
8406 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
8407 for SunOS4 (reason for failure not investigated). Remove
8408 redundant test for $binfile.
8409
8410 * gdb.base/nodebug.c (array_index): Call malloc.
8411
8412 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
8413
8414Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
8415
8416 * gdb.base/recurse.exp: Update gdb_test invocation to use new
8417 conventions and slightly simplify the matching regexp.
8418
8419Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8420
8421 * gdb.base/break.exp: Update gdb_test invocation to use new
8422 convention.
8423
8424 * lib/gdb.exp: If noargs is not set, set it to 0.
8425
8426 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
8427 tests unique.
8428
8429 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
8430
8431Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8432
8433 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
8434 one argument of type "<non-float parameter>".
8435
8436Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
8437
8438 * config/rom68k.exp: New file to support Motorola IDP board.
8439 * gdb.base/a2-run.exp: Skip this file if noargs is set.
8440 * gdb.base/break.c: Change things around so that this program
8441 doesn't depend upon args. This is necessary to make remote
8442 targets work (in general, they can't take args).
8443 * gdb.base/break.exp: Don't try to send args to program. Don't
8444 expect output. Also, replace lots of code with gdb_test.
8445
8446Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8447
8448 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
8449 printing of '\'' (which is what the comment says we are testing,
8450 even though we were not), not '''.
8451 (test_integer_literals_rejected): Test that printing ''' is an error.
8452
8453 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
8454 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
8455 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
8456 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
8457 Use gdb_test not test_print_accept.
8458 * lib/gdb.exp: Remove test_print_accept.
8459
8460 * gdb.base/signals.exp (signal_tests_1): Make pass message
8461 consistent with fail message.
8462
8463 * gdb.base/whatis.exp: Remove xfails for printing char vs.
8464 unsigned char; the bug (PR 1821) is fixed.
8465
8466 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
8467
8468 * gdb.base/scope.exp (test_at_localscopes): Call pass for
8469 successful tests--makes xfailing them work right.
8470
8471Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8472
8473 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
8474 only \r\n, not .*. The test can pass .* as the last thing in
8475 $pattern if that is what it wants. In addition to providing this
8476 flexibility, this change should speed up pattern matching in cases
8477 where the pattern already ended with .* (there were a number of
8478 them). This change also helps catch bad patterns--in the old
8479 scheme the typo "char \*" instead of "char \\*" would pass. Now
8480 it is caught.
8481 * Many .exp files: Update callers.
8482
8483 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
8484 clearer and does not spuriously match multiple ('s. Likewise for
8485 ) and *.
8486
8487 * gdb.base/nodebug.exp: Test ability to call a function and pass
8488 it a string (even with no debugging info).
8489
8490 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
8491 "p '\'", which is the same as "p ''" once tcl gets done with
8492 quoting, to "p '\\'", which I suspect is what is intended (one
8493 backslash gets sent to GDB).
8494
8495 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
8496
8497Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8498
8499 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
8500 1817) was fixed literally years ago.
8501
8502Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8503
8504 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
8505 test, it causes stepping out of call_after_alloca_subr with
8506 optimizing compilers.
8507 (localvars_in_indirect_call): Consume GDB prompt if `finish'
8508 fails.
8509
8510 * gdb.c++/templates.exp: Source templ-info.exp only if
8511 the templates executable exists.
8512
8513 * gdb.c++/misc.cc (class Contains_static_instance,
8514 class Contains_nested_static_instance),
8515 gdb.c++/classes.exp (test_static_members): Test printing of
8516 a class that contains a static instance of the class.
8517
8518Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8519
8520 * gdb.base/langs2.c (cppsub_): Don't prototype.
8521 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
8522 only, I believe).
8523
8524Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8525
8526 * lib/gdb.exp (skip_chill_tests): New procedure.
8527
8528 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
8529
8530Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
8531
8532 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
8533 each expect pattern. Cuts runtime from 12 to about 4 seconds.
8534
8535Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8536
8537 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
8538
8539 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
8540 disassemble 8, not 16, instructions for part 4.
8541
8542 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
8543 support the latter anymore.
8544
8545 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
8546 -DNO_PROTOTYPES.
8547 * gdb.base/callfuncs.c: Control use of prototypes based on
8548 NO_PROTOTYPES, not __STDC__.
8549 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
8550 t_float_values2 tests if prototypes in use.
8551
8552 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
8553 t_double_values): When checking differences against DELTA, check
8554 that difference is within the range (-DELTA,DELTA), not just
8555 (-infinity,DELTA).
8556
8557Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
8558
8559 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
8560 'file' command firts, then 'target', then 'load', this is due to gdb
8561 target set up.
8562 * config/mips-gdb.exp: Fix a couple regular exp bugs.
8563
8564Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
8565
8566 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
8567 FP load/store variants.
8568 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
8569
8570Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
8571
8572 * gdb.base/term.exp: Do not give a warning if not native, it is
8573 not an abnormal condition.
8574
8575Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
8576
8577 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
8578 t_char_array".
8579
8580Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
8581
8582 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
8583 are getting the version number.
8584
8585 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
8586 if not native, it is not an abnormal condition.
8587
8588Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8589
8590 * lib/gdb.exp: Just use "file exists", rather than undocumented
8591 dejagnu procedure "findfile".
8592
8593Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
8594
8595 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
8596 (LDFLAGS): Set to -Xlinker -Ur.
8597
8598 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
8599 Removed, these values are set by lib/gdb.exp.
8600
8601 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
8602
8603Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
8604
8605 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
8606 of replicating gdb startup code.
8607
8608 * config/mt-vxworks (LDFLAGS): Set to -r.
8609 (CFLAGS_FOR_TARGET): Removed.
8610
8611 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
8612 (gdb) and gdb for vxworks uses (vxgdb).
8613
8614 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
8615 executable is not in the tree and host != target, use sed and
8616 program_transform_name to determine the gdb name used by the
8617 target.
8618
8619 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
8620 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
8621
8622Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8623
8624 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
8625 floats, chars, and shorts where there are ANSI-style function
8626 definitions.
8627
8628 * gdb.base/langs.exp, gdb.base/langs*: New test.
8629 * gdb.base/Makefile.in: Build it.
8630 * TODO: Remove item about checking that C names don't get C++
8631 demangling applied; this test tests it.
8632
8633Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8634
8635 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
8636 went with the const70 xfail. The xfail went away a year ago.
8637
8638 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
8639
8640 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
8641 for hp300.
8642
8643 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
8644
8645 * gdb.base/a1-selftest.exp: Don't run on hp300.
8646
8647Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8648
8649 * Makefile.in (site.exp): Set host_alias and target_alias as well
8650 as host_triplet and target_triplet.
8651
8652Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8653
8654 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
8655
8656 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
8657 places as other ecoff systems).
8658
8659 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
8660 ultrix.
8661
8662Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8663
8664 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
8665 remove them.
8666 * gdb.base/nodebug.exp: Accept "function" in addition to "text
8667 variable and "variable" in addition to "data variable".
8668 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
8669
8670 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
8671 2.
8672 * gdb.base/list1.c (long_line): Add additional statement at start
8673 of function.
8674 * gdb.base/list.exp (test_forward_search): Update line number to
8675 reflect new statement.
8676
8677Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8678
8679 * gdb.base/signals.exp: Reinitialize searched source directories
8680 after gdb_start call.
8681
8682Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
8683
8684 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
8685 * gdb.stabs/Makefile.in: Likewise.
8686
8687 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
8688 change. Instead split the tests into smaller pieces.
8689 * gdb.disasm/hppa.s: Corresponding changes.
8690
8691Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8692
8693 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
8694 Quote ^C when passing it to stty. For some shells ^ is a pipe.
8695
8696 * gdb.base/funcargs.exp: Modify many tests so that every test
8697 either passes or fails. Make some test names unique.
8698
8699Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8700
8701 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
8702 Call stty to set interrupt character.
8703
8704 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
8705 for HP assembler versus GNU assembler based on actual behavior of
8706 $(CC), rather than assuming that $(AS) is always the GNU assembler.
8707
8708 * TODO: Suggest a few more stepping tests.
8709
8710Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
8711
8712 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
8713 restart GDB for h8300 after a continue.
8714 (return): Add pattern to match a29k-udi behavior.
8715 * gdb.base/nodebug.exp: Remove obsolete comment.
8716 * gdb.base/regs.exp: New file, testing of register displays.
8717 * gdb.base/return.exp: Fix typo in reference to $objdir.
8718 * gdb.base/whatis.exp: Always start with a fresh GDB.
8719
8720Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8721
8722 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
8723 higher, these tests generate a lot of output.
8724
8725Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8726
8727 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
8728 code following the catch silently ignored some errors; without the
8729 catch they should be thrown like any other tcl error. Also, the
8730 catch used "" instead of {} which meant all the callers who wanted
8731 to include one of the characters "[]$ had to quote it an extra time.
8732 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
8733 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
8734 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
8735 Remove extra quoting.
8736
8737Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
8738
8739 * gdb.base/commands.exp: Make test names unique; every test either
8740 passes or fails. Update some comments.
8741
8742 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
8743
8744Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8745
8746 The following fixes a FAIL caused by the fact that the alpha stabs
8747 configuration didn't use the ".if alpha" code in weird.def.
8748 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
8749 bit pointer, so the 32 bit version works even on the alpha.
8750 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
8751 Remove the stuff which allowed us to have separate versions for
8752 alpha and everything else.
8753
8754 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
8755 regexp which "info func operator\[\](" is supposed to match. Fix
8756 string to send to GDB. Note that GDB still doesn't work right. Add a
8757 new test for "info func .perator\[\](" which GDB does handle correctly.
8758
8759 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
8760
8761Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8762
8763 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
8764 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
8765 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
8766 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
8767 it makes the tests harder to understand and confuses test-o-matic.
8768 The preferred style is that each test provides a PASS or a FAIL,
8769 and has a unique message (e.g. "continue #54" not just "continue")
8770 which is the same for the pass and the fail.
8771 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
8772 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
8773 to lib/gdb.exp.
8774 * gdb.base/printcmds.exp: Use test_print_accept. Remove
8775 prt_accept which was basically the same thing. Likewise for
8776 test_print_reject and prt_reject.
8777 * lib/gdb.exp (test_print_reject): Add some more error message
8778 patterns to match from the former printcmds.exp (prt_reject).
8779 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
8780 One defect of the passcount stuff is that some of it failed to
8781 report XPASS where appropriate.
8782 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
8783 stuff before and after arg in expected pattern.
8784 (test_paddr_operator_functions): Re-do test without print_addr_of;
8785 this is the only test which seems to want extra stuff there.
8786
8787Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8788
8789 * gdb.base/nodebug.exp: Update new tests to reflect improved
8790 wording of gdb output.
8791
8792 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
8793 and "ptype" work on variables in files compiled without -g.
8794 Replaces commented out "maint print msymbol" tests.
8795
8796Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8797
8798 * gdb.base/setvar.c (dummy): Call malloc.
8799
8800 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
8801 losing with the irix4 sed.
8802
8803 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
8804 ALRM" on irix4.
8805
8806Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8807
8808 * TODO: Remove items about corefile.exp testing new exec-file and
8809 backtrace; both are now done. Add items about printing enums.
8810
8811Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8812
8813 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
8814 "get signal $thissig" test fails.
8815
8816 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
8817
8818Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8819
8820 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
8821 compiler warning with dec alpha compiler.
8822
8823 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
8824 extra \n from gdb_test call (this explains why the prompt test
8825 that I removed yesterday was there).
8826 (user_defined_command_test): Remove extra \n and prompt test.
8827
8828 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
8829 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
8830 doesn't exist.
8831 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
8832 Also remove alpha workaround, which turns out to be because
8833 SIGABRT == SIGLOST.
8834
8835 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
8836
8837 * gdb.base/help.exp: Don't test "help show".
8838
8839Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8840
8841 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
8842 "set print address" is on.
8843 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
8844 pass prompt to gdb_test; gdb_test already looks for the prompt.
8845
8846 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
8847
8848 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
8849 was a vestige of the manual TESTSTRATEGY, and the purpose of it
8850 was to make sure that gdb can read a core file. But (a) the "read
8851 the corefile" part didn't make it to a1-selftest.exp, we just
8852 delete the corefile after creating it, and (b) we test reading
8853 corefiles in corefile.exp anyway. Also, this test left around a
8854 xgdb process on Solaris.
8855
8856 * gdb.base/corefile.exp: Also test backtrace.
8857
8858Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
8859
8860 * gdb.base/commands.exp: Test a simple user defined command with
8861 arguments and if/while statements; verify the full user command is
8862 printed by "show user".
8863
8864 * gdb.base/commands.exp: Test if/while commands as part of a
8865 breakpoint command list; verify they appear in breakpoint
8866 information.
8867
8868Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8869
8870 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
8871 than by dividing by zero.
8872
8873Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
8874
8875 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
8876 performing an inferior call with watchpoints enabled.
8877 * gdb.base/watchpoint.c (main): Delete second unnecessary read
8878 call.
8879
8880Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8881
8882 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
8883 of "file" command.
8884
8885 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
8886 Add additional pattern for when "int operator int(void);" appears
8887 in a different order.
8888
8889Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8890
8891 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
8892
8893 * gdb.base/help.exp: Replace most of docstrings for "info signals"
8894 and "signal" with ".*".
8895
8896Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8897
8898 * TODO: Add note about "handle all nostop".
8899
8900 * gdb.base/{sigall.c, sigall.exp}: New test.
8901 * gdb.base/Makefile.in: Add it.
8902
8903Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
8904
8905 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
8906 when invoking GDB, suppresses any windowing interface.
8907
8908Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
8909
8910 * config/sim-gdb: New file, simulator testing support.
8911
8912Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
8913
8914 * gdb.base/interrupt.exp: Test calling func1 twice.
8915
8916Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
8917
8918 * gdb.base/list.exp (test_forward_search): Set timeout higher
8919 when we'll be getting lots of output from gdb.
8920
8921 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
8922 "init_malloc" to after the expect statement. Run it if that
8923 regexp is taken, but also for two others which happen if source
8924 cannot be found.
8925
8926Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8927
8928 * gdb.base/printcmds.exp: New test, for printing register before
8929 program is running.
8930
8931Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8932
8933 * gdb.base/list.exp: Correct some alternate expect patterns
8934 to reflect changes in list1.c.
8935
8936Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8937
8938 * TODO: Add item regarding large frames.
8939
8940 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
8941
8942 * TODO: Remove item about enabling return.exp; it
8943 is enabled. Suggest a few more "return" tests.
8944
8945Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8946
8947 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
8948 anonymous unions.
8949
8950Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8951
8952 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
8953 and pr-5646.o, so "make" is the same as "make all", not "make
8954 pr-4975.o".
8955
8956Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
8957
8958 * gdb.base/list.exp: Adjust expectations to reflect changes in
8959 list1.c.
8960 (test_forward_search): New test proc.
8961 * gdb.base/list1.c (long_line): New function, has long source line.
8962
8963Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
8964
8965 * gdb.base/a1-selftest.exp: Change initial stepping to know about
8966 additional line of code that was added.
8967
8968Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
8969
8970 * gdb.disasm/hppa.s: Break the large branching tests into smaller
8971 tests so as not to overflow expect's input buffers.
8972 * gdb.disasm/hppa.exp: Corresponding changes.
8973
8974Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8975
8976 Beginnings of template debugging tests.
8977 * gdb.c++/templ-info.cc: New file to test for template
8978 debugging capability of the compiler.
8979 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
8980 templ-info.cc.
8981 * gdb.c++/templates.cc: Add explicit template instantiations
8982 to enable compiling with -fno-implicit-templates. Add destructor
8983 and 'value' method to T5 class for template tests.
8984 * gdb.c++/templates.exp: Add testcases for printing of template
8985 types, setting breakpoints on template methods and calling a
beb998c6 8986 template method.
c906108c
SS
8987
8988Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
8989
8990 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
8991 branch target since some assemblers (gas-2.5) may emit a
8992 relocation for the branch instead of resolving it in the
8993 assembler.
8994
8995Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8996
8997 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
8998 through signal handler.
8999
9000Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9001
9002 * configure.in (*-*-netware): Use config/mt-netware.
9003
9004 * config/mt-netware: New file.
9005 * config/mt-i386-netware: Removed, separate configs for different
9006 netware architectures are no longer needed now that we have
9007 --with-headers.
9008
9009Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9010
9011 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
9012 by the recent changes to use ANSI C arithmetic conversions.
9013
9014Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9015
9016 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
9017 bug involving using inferior_pid to figure out whether to select a
9018 frame.
9019
9020Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
9021
9022 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
9023 match the current disassembler output.
9024
9025Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
9026
9027 * gdb.fortran/exprs.exp: Expect VOID instead of void.
9028 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
9029 types, expect "int" as type of integer values (for now).
9030
9031Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
9032
9033 * gdb.base/commands.exp: New tests for if/while commands.
9034
9035Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
9036
9037 * lib/gdb.exp (runto): Replace sub-pattern for hex value
9038 by .*, since hex values have different syntax in Chill mode.
9039
9040Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9041
9042 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
9043 linefeed from expect pattern for repeated types with indices > 9.
9044
9045Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
9046
9047 First part of Fortran test suite.
9048 * gdb.fortran: New directory.
9049 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
9050
9051Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9052
9053 * gdb.base/default.exp: Update expect pattern for load command
9054 without arguments.
9055
9056Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
9057
9058 * configure.in: Change i386 to i[345]86.
9059 * gdb.base/configure.in: Likewise.
9060 * gdb.c++/configure.in: Likewise.
9061 * gdb.chill/configure.in: Likewise.
9062
9063Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
9064
9065 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
9066 patterns, since that is not a valid context for comments.
9067
9068Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
9069
9070 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
9071 repeated types and repeated types with indices > 9.
9072
9073Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
9074
9075 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
9076 2417; old bug has been fixed.
9077
9078Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
9079
9080 * gdb.base/interrupt.exp: When trying to wake up the inferior,
9081 send the newline ourselves instead of assuming gdb_test will do
9082 so when passed an empty input string.
9083
9084 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
9085 stabs testcode.
9086
9087Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9088
9089 * lib/gdb.exp (gdb_test): Don't send anything if the first
9090 argument is an empty string. This makes cases where we want to
9091 match output that is already in expect's buffers (for example,
9092 matching a breakpoint after gdb_run_cmd has been called) work
9093 reliably.
9094
9095Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9096
9097 * config/netware.exp: New file.
9098
9099Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9100
9101 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
9102 the -B and -L prefixes so we can find the debugging stub.
9103
9104 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
9105 there and we are using the gcc from the tree.
9106
9107 * gdb.base/types.c: Removed.
9108
9109 * gdb.base/configure.in: Look for makefile fragments in ../config.
9110 Recognize i386-*-netware.
9111 * gdb.c++/configure.in: Likewise.
9112
9113Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9114
9115 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
9116 the correct TCL syntax.
9117
9118Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9119
9120 * gdb.base/opaque.exp: use runto instead of messing around with
9121 breakpoints. Simplify by using gdb_test.
9122
9123 * gdb.base/bitfields.exp: restart between tests on netware targets
9124 because breakpoints aren't relocated after target death. Run
9125 processes to completion.
9126
9127 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
9128
9129Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
9130
9131 * Makefile.in: Remove extra tabs that confuse some versions
9132 of "make". Use the newly built gdb to test with by default,
9133 rather than the first one in the tester's search path.
9134
9135Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
9136
9137 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
9138
9139 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
9140 condition help.
9141
9142Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9143
9144 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
9145
9146 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
9147 running.
9148 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
9149 * gdb.base/funcargs.exp: Likewise.
9150
9151 * gdb.base/bitfields.exp: Simplify by using gdb_test.
9152 * gdb.base/funcargs.exp: Likewise.
9153
9154 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
9155 message is "".
9156
9157Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9158
9159 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
9160 return,signals,twice}.exp: Handle non-existant binaries
9161 consistantly.
9162
9163 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
9164 * gdb.base/Makefile.in: Don't try to generate a core dump, we
9165 might testing a cross development system.
9166
9167Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9168
9169 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
9170 runtest script is relative to ${srcdir}, not ${rootdir}.
9171
9172Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
9173
9174 * gdb.base/signals.exp: Allow for optionality of breakpoint
9175 address.
9176
9177Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9178
9179 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
9180
9181Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9182
9183 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
9184 for size_t definition.
9185 * gdb.c++/templates.cc: Likewise
9186
9187 * config/mt-i386-netware: New file.
9188
9189 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
9190 defined.
9191
9192 * gdb.base/Makefile.in: Added support for systems that name core
9193 files by appending "core" to the program name.
9194 * gdb.base/a1-selftest.exp: Likewise.
9195
9196Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9197
9198 * gdb.base/return.exp: Add comment and message for `return double'
9199 test failure on Sparc Solaris.
9200
9201Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
9202
9203 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
9204
9205Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9206
9207 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
9208 from optimizing them away.
9209 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
9210 patterns to include default constructors and assignment operators,
9211 to match gcc versions beyond 2.5.8. Accept any cplus demangling
9212 character in the output of the virtual base pointer.
9213
9214Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9215
9216 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
9217 expression match in print_addr_of to avoid unintented matches.
9218 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
9219 versions up to 2.5.8.
9220
9221Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9222
9223 * gdb.base/list.exp: Tweak alternate pattern for listing of an
9224 included file to run under newer versions of expect.
9225 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
9226 consecutive >'s in templates to accomodate recent cplus-dem.c change.
9227 Remove xfail for the virtual table of BDDHookV.
9228
9229Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
9230
9231 * lib/gdb.exp (string_to_regexp): Set a default result.
9232 (default_gdb_start): Fix misleading message.
9233
9234Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
9235
9236 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
9237 Remove all CC, etc definitions.
9238 * config/mt-hpux: New file.
9239 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
9240 (CFLAGS, LDFLAGS): Define.
9241 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
9242
9243 * Makefile.in (site.exp): Don't insert host_os, etc.
9244 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
9245 (distclean): Check existence of subdir.
9246 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
9247 * gdb.base/Makefile.in: General cleanup and simplification.
9248 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
9249 to build executables. Use default rule to build .o files.
9250 (EXPECT, RUNTEST, CC): Fix relative pathname.
9251 (site.exp): Don't insert host_os, etc.
9252 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
9253 and/or SIGUSR1 defined.
9254 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
9255 * gdb.c++/Makefile.in: General cleanup and simplification.
9256 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
9257 (CFLAGS): Remove.
9258 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
9259
9260Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
9261
9262 * gdb.base/recurse.exp: Misc changes to get tests running again
9263 after Kung's changes to the watchpoint code.
9264 * gdb.base/watchpoint.exp: Likewise.
9265
9266Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
9267
9268 * lib/gdb.exp (string_to_regexp): Convert {\} also.
9269
9270Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
9271
9272 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
9273 * lib/gdb.exp (default_gdb_start): Define.
9274 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
9275 gdb.base/funcargs.exp, gdb.base/opaque.exp,
9276 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
9277 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
9278 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
9279 Don't call gdb_target_udi in between tests.
9280
9281Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9282
9283 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
9284 (which was basically just a local version of the same thing). In
9285 addition to avoiding duplication, gdb_test_exact is faster.
9286 * lib/gdb.exp (gdb_test_exact): Fix typo.
9287
9288 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
9289 don't give an error.
9290
9291 * gdb.base/term.exp: Call delete_breakpoints before starting.
9292
9293 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
9294 (t10): Add comment.
9295
9296Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
9297
9298 Reorganization of the GDB Test Suite.
9299
9300 * gdb.base: New directory, contains all the basic tests.
9301 * gdb.c++: New directory, tests specific to C++.
9302 * gdb.chill: New directory, tests specific to Chill.
9303 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
9304 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
9305 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
9306 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
9307 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
9308 t30-31 to chill).
9309 * */gdbme.*: Rename to match appropriate expect scripts.
9310 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
9311 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
9312 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
9313 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
9314 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
9315 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
9316 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
9317 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
9318 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
9319 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
9320 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
9321 gdb.c++/virtfunc.cc: New names of C++ files.
9322 * gdb.chill/chillvars.ch: New name of Chill file.
9323 * gdb.base/configure.in, gdb.c++/configure.in,
9324 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
9325 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
9326 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
9327 * configure.in (configdirs): Update to reflect directory changes.
9328 (target_abbrev): No longer define for any configuration.
9329 * Makefile.in: Cosmetic improvements to header comments.
9330
9331Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
9332
9333 Various changes to gdb.t31:
9334
9335 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
9336 * gdbme.ch: Make all key-words and predefineds be upper-case.
9337 * chillvars.exp: Expect key-words and predefinds in upper-case.
9338
9339 * chillvars.exp: Use gdb_test_exact many places.
9340 Change expected output for arrays (which now includes index labels).
9341
9342 * pr-5020.exp, gdme.ch (module PR_5020):
9343 New test, for PR-5020.
9344
9345Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
9346
9347 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
9348 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
9349
9350Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
9351
9352 * Makefile.in: Fix bit-rot in definitions of CHILL,
9353 CHILL_FOR_TARGET and Chill_LIB.
9354 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
9355 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
9356 CHILL, and CHILL_LIB.
9357
9358Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
9359
9360 * Revert the previous changes. Please see Rob's directory
9361 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
9362
9363Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
9364
9365 * Makefile.in, configure.in, config/mips-gdb.exp,
9366 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
9367 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
9368 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
9369 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
9370 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
9371 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
9372 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
9373 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
9374 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
9375 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
9376 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
9377 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
9378 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
9379 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
9380 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
9381 changes from 94Q1.
9382
9383Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
9384
9385 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
9386 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
9387 Rob's new testing fragments.
9388
9389Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
9390
9391 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
9392 lib/gdb.exp: Replace error proc calls with perror.
9393
9394Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
9395
9396 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
9397 version also, match on casted version strings, and match on
9398 gdb startup case where the line numbers might be messed up.
9399
9400Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
9401
9402 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
9403 (CFLAGS): Delete it from here.
9404
9405Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
9406
9407 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
9408
9409Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
9410
9411 * Makefile.in (RUNTEST): Default to just "runtest".
9412
9413Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9414
9415 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
9416 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
9417 the code has been restructured.
9418
9419Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9420
9421 * gdb.t00/default.exp (set write): Allow any number of \r and/or
9422 \n, not just one of each.
9423
9424 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
9425 /bin/cc gives a warning if you do.
9426
9427Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
9428
beb998c6 9429 * gdb.t24/demangle.exp: change expect pattern of
c906108c
SS
9430 __t10ListS_link1ZUiRCUiPT0
9431
9432Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9433
9434 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
9435 on local variables in recursive functions.
9436
9437 * gdb.t07/Makefile.in: Build the new test.
9438
9439Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9440
9441 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
9442 directly. Instead compare the return values from actual calls.
9443
9444Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
9445
9446 * Makefile.in (check): Set TCL_LIBRARY for runtest.
9447
9448Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9449
9450 * From Peter Schauer with minor modifications.
9451 * gdb.t15/return.exp (return_tests): Handle targets where "return"
9452 stops in mid-line in the caller. Add xfail for returning a float
9453 value on X86 targets.
9454
9455Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9456
9457 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
9458 to avoid expect lossage.
9459 (fmem_LRbug_tests): Likewise.
9460 * gdb.disasm/hppa.s: Corresponding changes.
9461
9462 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
9463 conditions to work with latest dejagnu/expect.
9464
9465 * gdb.t15/funcargs.exp (finish from indirect call): No longer
9466 expected to fail on the PA.
9467 (backtrace in call with trampolines): Explicitly require main
9468 to be frame #1 (no trampolines should show up in backtrace).
9469
9470 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
9471 "continue -expect".
9472 * gdb.t06/break.exp: Likewise.
9473 * gdb.t07/watchpoint.exp: Likewise.
9474 * gdb.t13/bitfields.exp: Likewise.
9475 * gdb.t15/{funcargs,return}.exp: Likewise.
9476 * gdb.stabs/weird.exp: Likewise.
9477 * config/{mips,udi}-gdb.exp: Likewise.
9478
9479 * hppa.sed: Enclose comments within a sed command to avoid
9480 losing with the old OSF1 sed.
9481
9482Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9483
9484 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
9485 sequent dynix.
9486 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
9487 * gdb.t15/funcargs.exp: Conditionally step again to really
9488 finish from marker_call_with_trampolines. Handle the case where
9489 the first step from within call_with_trampolines already steps
9490 us back to main.
9491 * gdb.t15/gdbme.c: Add comment to closing brace of
9492 call_with_trampolines for funcargs.exp.
9493
9494Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9495
beb998c6 9496 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
c906108c
SS
9497 Fix typo(s).
9498
9499Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9500
9501 * gdb.t07/gdbme.c: More code for watchpoint testing.
9502
9503 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
9504 "Hardware watchpoint" throughout file.
9505 (test_watchpoint_triggered_in_syscall): New test.
9506 (test_complex_watchpoint): New test.
9507
9508Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9509
9510 * gdbme.c (call_with_trampolines): New function to try and step
9511 into. Tests trampoline problems on the PA.
9512
9513 * funcargs.exp (localvars_in_indirect_call): No longer expect
9514 stepping into indirect call to fail on PAs.
9515 (test_stepping_over_trampolines): New test.
9516
9517Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9518
9519 * TODO: Add suggestions for static member function tests, and
9520 completion tests.
9521
9522Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9523
9524 * TODO: Add suggestions for "p/a" tests.
9525
9526 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
9527 (default_gdb_exit): Replace all the hair with sending "quit" to
9528 the process with a simple close.
9529
9530Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9531
9532 * TODO: Add suggestions for shared library tests.
9533
9534Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9535
9536 * TODO: Add suggestions for x/s tests.
9537
9538Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9539
9540 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
9541 "enable once", and "enable breakpoints once" with ".*".
9542
9543Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9544
9545 * TODO: Add suggestions about structure passing tests.
9546
9547Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9548
9549 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
9550 the primary1 test, use work around if __GNUC__ < 2.
9551 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
9552 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
9553 Test for bad output rather than waiting for timeout. Issue
9554 second continue only if first continue failed.
9555
9556Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
9557
9558 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
9559 operator[] test with gdb_test because the old code didn't seem to
9560 be getting the quoting right with the new dejagnu.
9561
9562Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
9563
9564 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
9565 one from the path.
9566 * Makefile.in: Use a fresh expect if there is one, use runtest
9567 from the src tree if there is one.
beb998c6 9568
c906108c
SS
9569Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
9570
9571 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
9572 next over recursive call. Revise the tests from that point on
9573 (which had been skipped) to match GDB's actual (correct) output.
9574
9575 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
9576 with next over a breakpoint whose condition is false.
9577
9578 * gdb.t00/help.exp: Comment out "help set print" tests just like
9579 (and for same reason as) "help set" test.
9580
9581Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9582
9583 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
9584 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
9585
9586Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9587
9588 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
9589 necessary gdb_target_udi.
9590
9591 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
9592
9593 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
9594 1838 and 2417; they are fixed.
9595
9596 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
9597 gdb.t03/ptype.exp (ptype structure, ptype union):
9598 Remove xfails; the test is looser than when the xfails were added.
9599
9600 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
9601 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
9602
9603 * gdb.t01/run.exp: Only run shell test if isnative.
9604
9605 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
9606 since "run" automatically loads if necessary. Call gdb_target_udi
9607 after the "file" since "file" kills any execution target.
9608
9609 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
9610 GDB. GDB doesn't work that way (not anymore at least) on UDI.
9611 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
9612 argument for UDI.
9613
9614Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
9615
9616 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
9617
9618 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
9619
9620Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9621
9622 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
9623 properly quoting regexps. This makes the second argument to
9624 demangle a fixed string, which matches the callers, instead of a
9625 shell-style pattern which is what the previous implementation
9626 used. Update some of the callers.
9627
9628Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9629
9630 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
9631 (comib_nullified_tests): Fix typo.
9632 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
9633 strings. No longer expected to fail.
9634
9635 * gdb.disasm/hppa.s (addib_tests): Fix typo.
9636 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
9637 strings. No longer expected to fail.
9638
9639 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
9640 string. No longer expected to fail.
9641
9642Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9643
9644 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
9645 No longer expected to fail.
9646
9647 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
9648 string. No longer expected to fail.
9649
9650Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9651
9652 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
9653 only in the names (I probably got most of them). I was even
9654 generous with some which differed in underscores in names, and
9655 probably missed a few, and I *still* was able to remove almost a
9656 third of the file with almost no impact on testsuite coverage.
9657
9658Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9659
9660 * gdb.t00/default.exp: Match udi_attach error message as well as
9661 the one from child_attach.
9662
9663 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
9664
9665 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
9666
9667 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
9668 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
9669
9670 * Move test with enums and partial symbols back to
9671 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
9672 Reverts the change of 26 May 93. Per today's change to
9673 stabs.texinfo, the behavior that weird.exp was expecting was
9674 unreasonable; what is important is that the compiler+gdb get
9675 things right, which happens with a recent gcc. Also fix the test
9676 to deal with native compilers which put out the stab gdb can't
9677 deal with.
9678
9679Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9680
9681 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
9682 in the names. The main thing these accomplish is to slow things down.
9683 Many more such duplicates surely remain.
9684
9685 * gdb.t00/help.exp: Comment out "help support" test just like
9686 (and for same reason as) "help set" test.
9687
9688Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
9689
9690 * gdb.t06/break.exp: Remove setup_xfails for
9691 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
9692 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
9693 about known bug in gcc to include up through 2.5.8.
9694 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
9695 well as "_vb$".
9696 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
9697 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
9698 with latest gcc and gdb.
9699 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
9700 well as "_vb$".
9701
9702Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9703
9704 * configure.in (hppa*-*-*): Also configure and build stabs-only
9705 tests.
9706
9707Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9708
9709 * gdb.t10/hppa.mt: A makefile fragment for the PA.
9710 * gdb.t10/configure.in (hppa*-*-*): Use it.
9711
9712Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9713
9714 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
9715
9716Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9717
9718 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
9719 versions prior to 1.13.5.
9720
9721Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9722
9723 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
9724 the prompt is at the start of a line.
9725
9726Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9727
9728 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
9729 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
9730 in the copr tests now.
9731 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
9732 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
9733 expected to fail.
9734
9735Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
9736
9737 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
9738 gdb.t31/chillvars.exp, lib/gdb.exp:
9739 Tweak to run under either version of expect.
9740 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
9741 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
9742 * gdb.t11/list.exp: Remove extraneous whitespace.
9743
9744Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9745
9746 * gdb.t16/printcmds.exp (test_print_strings): Accept
9747 "(unsigned char *) " before the string.
9748
9749 * TODO: Add notes about printing of fancy types and GDB expressions.
9750
9751Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
9752
9753 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
9754 * gdb.t06/configure.in: Don't try to compile signals test program
beb998c6 9755 if doing mips-idt-ecoff.
c906108c
SS
9756
9757Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
9758
9759 * Most .exp files: Tweak to run under either version of expect.
9760
9761Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9762
9763 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
9764 xfails; I'm not sure why they are failing, but not because of PR 1806.
9765
9766Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
9767
9768 * config/unix-gdb.exp: Remove gdb_unload cause it's already
9769 defined in lib/gdb.exp.
9770
9771Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9772
9773 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
9774 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
9775 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
9776 have to be typeless.
9777
9778Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9779
9780 * TODO: Add suggestion for copyright year test.
9781
9782Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
9783
9784 * configure.in (*-*-lynxos*): Add stabs tests.
9785
9786Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
9787
9788 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
9789 so insert a tab before any assembler directive in column zero.
9790
9791 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
9792 stores.
9793 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
9794 stores.
9795 (fpu_short_memory_tests): Likewise.
9796
9797Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9798
9799 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
9800 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
9801 .stabs directives in comments.
9802
9803Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9804
9805 * TODO: New file, describing tests we could write.
9806 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
9807
9808Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9809
9810 * gdb.t06/signals.exp: Add kludge to force re-sync.
9811
9812 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
9813 to xgdb instead of gdb, get out of gdb.
9814
9815Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
9816
9817 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
9818 for info.
9819
9820Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
9821
9822 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
9823 * gdb.stabs/configure.in (hppa*-*-*): Use it.
9824 * gdb.stabs/hppa.sed: New sed script for the PA.
9825
9826Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9827
9828 * gdb.stabs: Re-write weird.def and configuration to use sed
9829 instead of cpp. sed is portable and POSIX; cpp is neither.
9830
9831Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9832
9833 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
9834
9835Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9836
9837 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
9838
9839Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9840
9841 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
9842 "_vb$".
9843 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
9844 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
9845
9846Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9847
9848 * lib/gdb.exp: Comment out code which depends on non-existent
9849 `transform' procedure.
9850
9851Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
9852
9853 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
9854 * lib/gdb.exp: Transform tool name.
9855 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
9856 1.1's new error handling system.
9857
9858Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9859
9860 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
9861
9862Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9863
9864 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
9865 They made pattern matching so slow that timeouts happened on
9866 heavily loaded systems. Now any output from "show print" which
9867 gets us back to the GDB prompt is a PASS.
9868
9869Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
9870
9871 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
9872
9873Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9874
9875 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
9876
9877 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
9878 It is not from PR 3220.
9879
9880Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9881
9882 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
9883 just started failing because they depended on the order the
9884 subcommands are presented, or exact docstring text. This kind of
9885 test is a pain and has minimal benefit.
9886
9887Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9888
9889 * gdb.t09/corefile.exp: At end of test, use "core" command with
9890 no arguments.
9891
9892Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
9893
9894 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
9895 17}/Makefile.in: Make it possible to run the testsuite with Sun
9896 make and CC = cross gcc by adding explicit build rules for .o
9897 files.
9898
9899Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9900
9901 * gdb.t15/funcargs.exp: Don't put comments on same line as
9902 setup_xfail (@#$*%& tcl braindamage!).
beb998c6 9903
c906108c
SS
9904Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9905
9906 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
9907
9908Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
9909
9910 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
9911 * gdb.t20/inherit.exp: remove three dumplicate entries.
9912
9913Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9914
9915 * gdb.t06/break.exp: For "next over recursive call", fail on any
9916 incorrect output, not just on "factorial (value=2)".
9917
9918Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9919
9920 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
9921 working now. Add an xfail if accesing a bss variable causes
9922 a memory error if the target is not yet run.
9923
9924Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9925
9926 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
9927 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
9928 name of __st* demangling (2 strings). Did Kung really get the
9929 more than 95 others right without testing them?
9930
9931Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
9932
9933 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
9934
9935Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
9936
9937 * configure.in (configdirs): Add gdb.disasm
9938 * gdb.disasm: New directory for GDB disassembler tests.
9939 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
9940
9941Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9942
9943 * gdb.t00/help.exp: Don't test "help set".
9944
9945 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
9946 from within expect statements. None of these happen anymore and
9947 they cause regressions to be silently unnoticed.
9948
9949 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
9950 messages) about known failures with gcc cygnus-2.4.5-930417.
9951
9952 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
9953 comp-info.exp so it gets built if it doesn't exist.
9954
9955 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
9956 it is no longer used.
9957 * gdb.t13/comp-info.c: Removed.
9958
9959Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
9960
9961 * gdb.t06/signals.exp: Add xfail for sun3.
9962
9963Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9964
9965 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
9966 relevant because ^C doesn't get sent but failure can be reproduced
9967 interactively).
9968
9969Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9970
9971 * gdb.stabs/alpha.mt: New configuration file for alpha.
9972 * gdb.stabs/configure.in: Use it.
9973 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
9974 sharing with alpha.mt, redefine long to word via preprocessor.
9975 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
9976 for alpha.
9977 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
9978 native cc.
9979 * gdb.t00/teststrategy.exp: Change expect string so that we
9980 consume the `(xgdb)' from the command echo and from the gdb prompt.
9981 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
9982 gdb currently compares all values as long, so this failure probably
9983 applies to any configuration where LONGEST is bigger than a target int.
9984 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
9985 with gcc.
9986 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
9987 to handle opaque pointers, gcc is.
9988 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
9989 as first argument. Include <sys/types.h> and change all operator
9990 new definitions to use size_t.
9991 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
9992 now that we use size_t.
9993
9994Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9995
9996 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
9997 a long or float array cast all array members to the same type.
9998 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
9999 with 64 bit longs.
10000 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
10001 on alpha.
10002 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
10003
10004Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10005
10006 * gdb.t24 (demangle.exp): Constructors of templates have names like
10007 vector<int>::vector(int) not vector<int>::vector<int>(int). See
10008 section 14.6 of the ARM.
10009
10010 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
10011 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
10012 accomplish little and slow down the testsuite.
10013
10014 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
10015 Accept spaces various places.
10016
10017Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10018
10019 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
10020 with watchpoint enabled.
10021
10022 * Makefile.in: Remove definition of CC and remove the second
10023 definition of CXX (the "CXX = gcc" one remains). These definitions
10024 were causing backquotes to be expanded within backquotes, which
10025 doesn't work.
10026
10027Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
10028
10029 * gdb.t17/callfuncs.exp: Add "return 0" to end.
10030
10031Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10032
10033 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
10034 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
10035 by mips cc and contains no stabs entries.
10036
10037Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
10038
10039 * config/vx-gdb.exp: Use fake device to load files rather than
10040 NFS.
10041 * lib/gdb.exp: New proc to do "file" command.
10042 * config/unix-gdb.exp: Use new "file" proc.
10043
10044Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
10045
10046 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
10047 Rework board rebooting slightly.
10048 (gdb_exit): Don't exit from the remote shell; there isn't one.
10049 * gdb.stabs/weird.exp: If a program is being debugged already,
10050 kill it.
10051 * gdb.t04/setvar.exp: Stop and restart gdb.
10052 * gdb.t05/expr.exp: Likewise.
10053 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
10054 restart gdb and reload the program.
10055 * gdb.t08/opaque.exp: Likewise.
10056 * gdb.t12/scope.exp: Likewise.
10057 * gdb.t13/bitfields.exp: Likewise.
10058 * gdb.t15/funcargs.exp: Likewise.
10059 * gdb.t20/classes.exp: Likewise.
10060 * gdb.t03/ptype.exp: Increase timeout.
10061 * gdb.t16/printcmds.exp (test_print_string_constants,
10062 test_print_array_constants): Likewise.
10063 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
10064 * gdb.t20/classes.exp (do_tests): Likewise.
10065 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
10066
10067Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
10068
10069 * gdb.stabs: Renamed *wierd* to *weird*.
10070
10071Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
10072
10073 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
10074 for timeout. Add "known gcc 2.4.5 bug" to failure message.
10075
10076Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
10077
10078 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
10079 (do_tests): Remove xfail for whatis on one_var and two_var.
10080
10081Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
10082
10083 * Makefile.in: Made cross building work better by adding
10084 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
10085
10086Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10087
10088 * gdb.t15/{return.c,return.exp,Makefile.in}:
10089 New test, currently commented out.
10090
10091Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
10092
10093 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
10094 still running and removes the leftover named socket so GDb can do
10095 clean restarts.
10096
10097Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
10098
10099 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
10100 console, not GDB.
10101 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
10102 cross testing works better with "make check"
10103 * config/unix-gdb: Use default procedures for exit and version.
10104 * config/vx-gdb.exp: Cleaned up and massaged back to working order
10105 with the newest VxWorks.
10106
10107Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10108
10109 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
10110 old form.
10111
10112 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
10113 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
10114
10115 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
10116
10117 * config/unix-gdb.exp: Remove this version of gdb_exit
10118 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
10119 Rob says he'll look at it when he gets back to testing boards.
10120
10121Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
10122
10123 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
10124 an expected fail for certain ptype commands.
10125
10126 * gdb.t20/classes.exp: Update expected results of "ptype class
10127 Base1" to account for the constructor that now appears in the type.
10128
10129Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
10130
10131 * configure.in (configdirs): Restore gdb.t04, which mysteriously
10132 disappeared from list.
10133 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
10134 "alldone" proc with call to cleanup and exit.
10135 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
10136 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
10137 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
10138 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
10139 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
10140 "alldone" proc with simple returns that suppress remaining
10141 tests. The alldone proc went away many months ago.
10142
10143Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10144
10145 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
10146
10147 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
10148
10149Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10150
10151 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
10152 as vax gdb will display them.
10153
10154Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10155
10156 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
10157 optimizers.
10158
10159 * scope.exp: Change "bad value for localval" messages so each one
10160 is unique.
10161
10162 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
10163 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
10164
10165 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
10166
10167Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10168
10169 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
10170 doesn't exist (due to optimization).
10171
10172Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10173
10174 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
10175 contains \r because the filename is long.
10176
10177 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
10178 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
10179
10180Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10181
10182 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
10183 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
10184 Ultrix.
10185 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
10186 int tests.
10187 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
10188
10189Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
10190
10191 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
10192
10193 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
beb998c6 10194 to match does not match the passing case but still matches the
c906108c
SS
10195 failing case.
10196
10197Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10198
10199 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
10200
10201Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
10202
10203 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
10204 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
10205 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
10206 Remove various versions of gdb_exit.
10207 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
10208 gdb_exit.
10209 * config/unix-gdb.exp: gdb_exit remains here, and should override
10210 the generic version, since it's doing a lot of wierd stuff that
10211 the other versions aren't. FIXME, fold it in, or abandon this
10212 version.
10213
10214Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10215
10216 * gdb.t24/demangle.exp: Add tests for PR 3220.
10217
10218Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10219
10220 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
10221
10222Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
10223
10224 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
10225 "i386-*-*". Works for i486 as well.
10226
10227 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
10228 bug, and expand domain of xfail to all SVR4 systems, since the
10229 actual problem is likely to be in generic SVR4 /proc support.
10230
10231Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10232
10233 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
10234
10235Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
10236
10237 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
10238 xfails for other systems. Match a missing 'Continuing.' as an
10239 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
10240
10241 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
10242 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
10243 Only issue warning for missing executables if -all option is used.
10244
10245 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
10246 file if -all option is used. It's like an unpredictable XFAIL.
10247
10248Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10249
10250 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
10251 for dynamically linked binaries.
10252
10253 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
10254
10255Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10256
10257 * gdb.t20/inherit.exp: Change message for "print tagless struct"
10258 to state that this is a known bug in old versions of g++.
10259
10260Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10261
10262 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
10263 while waiting for `Continuing'.
10264
10265Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
10266
10267 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
10268 in text, data, and bss.
10269 * gdb.t10/nodebug.c: Add local and global test variables for
10270 initialized and uninitialized data.
10271
10272Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10273
10274 * config/unix-gdb.exp (gdb_exit): Add "wait".
10275
10276Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10277
10278 * gdb.t06/signals.exp: xfail the continue from the handler for all
10279 targets.
10280
10281 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
10282 function with watchpoints enabled, the i386 call dummy starts with
10283 a call.
10284
10285 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
10286 386 bsd names its corefiles.
10287
10288Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
10289
10290 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
10291 compilers don't grok it.
10292 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
10293 with small octal ints rather than character constants, which
10294 are signed and might not fit if first promoted to int.
10295
10296Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
10297
10298 * gdb.t09/Makefile.in (clean): Remove corefile.
10299
10300Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10301
10302 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
10303
10304Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10305 and Jim Kingdon (kingdon@cygnus.com)
10306
10307 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
10308 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
10309 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
10310
10311Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10312
10313 * gdb.t17/interrupt.exp: Add xfail for hppa.
10314
10315Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10316
10317 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
10318 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
10319 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
10320 to determine signed-ness of bitfields and use the result to setup
10321 the xfail.
10322 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
10323 * gdb.t15/funcargs.exp: Use them to step until the second indirect
10324 call line is reached if necessary.
10325
10326Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10327
10328 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
10329
10330Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10331
10332 * gdb.t06/break.exp: Also test `clear' command.
10333
10334Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
10335
10336 * gdb.t00/teststrategy.exp: Remove extra quote.
10337
10338 * gdb.t07/watchpoint.exp: Change xfail for calling function with
10339 watchpoint enabled to be for all non-68k machines.
10340
10341 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
10342
10343Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10344
10345 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
10346 targets use aout.mt instead of ecoff.mt as gas understands
10347 standard aout format.
10348
10349Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
10350
10351 * lib/gdb.exp (runto): Don't insist that function we are running to
10352 was compiled with -g.
10353
10354 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
10355
10356 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
10357 to get back into the read system call.
10358 Accept leading newline in case where we woke it up.
10359
10360Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10361
10362 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
10363 to make the stabs test work on ecoff systems using gcc and -with-stabs.
10364 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
10365 enable ecoff configuration.
10366
10367Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10368
10369 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
10370
10371Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10372
10373 * gdb.t16/printcmds.exp: Add another printf test.
10374
10375Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
10376
10377 * configure.in: If configured -with-stabs on any target, add
10378 stabsdirs to configdirs.
10379
10380Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10381
10382 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
10383 fun" so pattern does not match the command itself.
10384
10385Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10386
10387 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
10388
10389Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10390
10391 * gdb.t17/interrupt.exp: Test for more things.
10392
10393Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10394
10395 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
10396 compiler arranges the code and line numbers.
10397
10398 * gdb.t17/interrupt.exp: Don't send \n after ^C.
10399
10400Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10401
10402 * gdb.t00/help.exp: Increase expect input buffer size.
10403
10404Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10405
10406 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
10407
10408 * gdb.t07/watchpoint.exp: Add xfail for hppa.
10409
10410 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
10411
10412 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
10413 [0-9]*, not just [0-9].
10414
10415Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10416
10417 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
10418
10419 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
10420
10421Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10422
10423 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
10424
10425Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10426
10427 * gdb.t06/signals.c: Add xfails for sun3.
10428
10429 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
10430
10431 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
10432 test_stepping tests.
10433
10434Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10435
10436 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
10437
10438 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
10439
10440 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
10441 rather than actually putting it through cpp twice.
10442
10443 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
10444
10445Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
10446
10447 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
10448 no longer needed.
10449
10450Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10451
10452 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
10453
10454 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
10455 C++ features prints as "struct", make it a pass, not an xfail.
10456
10457Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10458
10459 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
10460 Don't require VA to print as "class" rather than "struct".
10461
10462Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
10463
10464 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
10465
10466Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10467
10468 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
10469
10470Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10471
10472 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
10473 order.
10474
10475Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10476
10477 * gdb.t16/printcmds.exp: Add printf tests.
10478
10479 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
10480
10481 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
10482
10483Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
10484
10485 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
10486 pass counts, to counteract any existing or future setup_xfails.
10487
10488Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10489
10490 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
10491 {BEGIN,END}_COMMON for common block instead of STAB.
10492 * gdb.stabs/wierd.exp: Add xfail for rs6000.
10493
10494 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
10495 intp_var should be N_GSYM not N_LSYM.
10496 wierd-aout.S: Use a label for the value of the N_SO.
10497 wierd.def: Remove all backslashes.
10498 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
10499
10500Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10501
10502 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
10503 get the expected next to inheritance3.
10504
10505Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10506
10507 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
10508 now that gcc-2.4 gets it right.
10509
10510Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10511
10512 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
10513
10514 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
10515 generating comp-info.exp which works for cross-compilation.
10516
10517Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
10518
10519 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
10520 "*-*-sysv4.*".
10521
10522Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
10523
10524 * gdb.t01/run.exp: Start with a fresh gdb.
10525 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
10526 SVR4.x.
10527
10528Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
10529
10530 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
10531 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
10532 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
10533 Makefile.in (distclean, realclean): Remove gdbme.c from list of
10534 things to remove.
10535
10536Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
10537
10538 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
10539 test cases from bug reports.
10540
10541Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
10542
10543 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
10544 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
10545 avoid spurious xfails.
10546 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
10547 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
10548 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
10549
10550Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
10551
10552 * gdb.t00/teststrategy.exp: Rework to provide more useful
10553 description of each test, fix problem with systems that define
10554 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
10555 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
10556 results for "next over recursive call" so timeouts aren't taken
10557 by error.
10558
10559Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
10560
10561 * gdb.t12/scope.exp: Test printing of variables before run.
10562
10563 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
10564 printed in wrong order due to sorting.
10565
10566Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
10567
10568 * gdb.t00/teststrategy.exp: Fix expected results for printing
10569 user entered string constant. Is array of char, prints with no
10570 address.
10571
10572 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
10573 commands.
10574 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
10575 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
10576 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
10577 of struct of char arrays.
10578 * gdb.t00/radix.exp: New tests for radix commands.
10579
10580Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
10581
10582 * gdb.t16/printcmd.exp: Print a variable before running program
10583 (with xfail for AIX).
10584
10585Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
10586
10587 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
10588
10589 * gdb.t16/printcmd.exp: Don't print variables before running program.
10590
10591 * gdb.t06/break.exp: Don't require envp argument to main.
10592
10593 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
10594
10595 * gdb.t02/whatis.exp, gdb.t11/list.exp:
10596 Add xfails for rs6000.
10597
10598 * gdb.t02/whatis.exp: Change other tests not to re-test something
10599 we already tested.
10600
10601 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
10602 each type used has a variable of that type.
10603
10604Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
10605
10606 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
10607
10608Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
10609
10610 * configure.in: change srctrigger to be a file, not a directory
10611
10612Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
10613
10614 * configure.in (mips-idt-ecoff*): Added trailing '*'.
10615
10616 * gdb.t11/list.exp: Fixed a couple of typos.
10617
10618Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
10619
10620 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
10621 is fixed and PR is closed.
10622 * gdb.t16 (gdbme.c): Add simple test string variable.
10623 * gdb.t16 (printcmds.exp): Add tests with simple test string
10624 variable, primarily for boundaries on "set print elements".
10625
10626Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
10627
10628 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
10629 Make leading 0's optional and don't expect a tab in the middle
10630 of the number.
10631
10632 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
10633
10634 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
10635 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
10636 don't end command passed to gdb_test with newline.
10637
10638 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
10639 signed keyword away, don't expect signed bitfields to be signed.
10640
10641 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
10642 printing with only as many 1's as are in the field as well as printing
10643 with 32 1's (see comment).
10644
10645Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
10646
10647 * gdb.t00/default.exp: Start with a fresh gdb.
10648 * configure.in (configdirs): Remove gdb.t31 until the chill
10649 compiler works again. It no longer is able to find chillrt0
10650 since it isn't in libchill.a anymore.
10651 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
10652 wierd.o, make more modular.
10653 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
10654 spurious newlines that caused problems.
10655
10656Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10657
10658 * Move test with enums and partial symbols from gdb.t03/ptype.exp
10659 to gdb.stabs/wierd.exp since GCC has worked around the bug.
10660 gdb.stabs/wierd.{exp,def}: Many new tests.
10661
10662 * gdb.t00/default.exp: update info line for new message.
10663
10664 * gdb.t02/{whatis.exp,gdbme.c}:
10665 Test that "char *" doesn't print as "caddr_t".
10666
10667Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10668
10669 * gdb.t00/help.exp: Use .* in place of some help messages which
10670 just changed.
10671 gdb.t00/default.exp: Update "info frame" test for new message.
10672 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
10673 Remove some xfails
10674
10675Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10676
10677 * gdb.t03/{gdbme.c,ptype.exp}:
10678 Add tests for typedef'd struct and union without tags.
10679 Also check "whatis" on a variable of a typedef'd enum without a tag.
10680
10681 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
10682 PRMS 1823; the bug still exists but isn't reproduced by this test
10683 anymore), and remove rs6000 XFAIL (the bug is fixed).
10684
10685 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
10686 duplicated from whatis.exp. For those that are left, accept
10687 "long", "long int", or "int" for long variables (whatis.exp already
10688 has an XFAIL for "int", so no need to fail it here).
10689
10690 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
10691 Deal with GCC's names for types now that GDB uses the compiler's names.
10692
10693 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
10694 setup_xfail's for sunos4. If we #defined the signed keyword away,
10695 don't expect GDB to know that char it is signed.
10696
10697 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
10698
10699Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
10700
10701 * configure.in (configdirs): Add gdb.t24 for C++ tests that
10702 should work on any system, regardless of debugging format.
10703 * gdb.t21/demangle.exp: Move to gdb.t24.
10704 * gdb.t24/demangle.exp: Move from gdb.t21.
10705 * gdb.t24/{Makefile.in, configure.in}: New files.
10706
10707Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10708
10709 * configure.in: Do gdb.stabs and C++ tests only for stabs.
10710 * gdb.stabs: New directory.
10711
10712Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10713
10714 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
10715 not just "Quit anyway?".
10716
10717Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
10718
10719 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
10720 that all setup_xfails are immediately followed by clear_xfails.
10721
10722Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
10723
10724 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
10725 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
10726 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
10727 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
10728 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
10729 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
10730 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
10731 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
10732 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
10733 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
10734 gdb.t31/chillvars.exp, lib/gdb.exp:
10735 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
10736 bug-gdb@prep.ai.mit.edu.
10737
10738Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
10739
10740 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
10741 with 0.0, not integer 0.
10742
10743Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
10744
10745 * gdb.t06/break.exp: Update for "Kill the program" message change.
10746
10747Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
10748
10749 * Makefile.in (GDBFLAGS): Set to -nx.
10750 * Makefile.in (site.exp): Use GDBFLAGS.
10751
10752Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
10753
10754 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
10755 Makefiles.
10756 (check): depend on just-check.
10757 (just-check): added so that tests can be run without a noop
10758 build pass.
10759
10760Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
10761
10762 Switch to using configure's configdirs.
10763 * Makefile.in (Makefile): add configure.in dependency.
10764 (SUBDIRS): removed redundant assignment.
10765 * configure.in: switch subdirs assignment to configdirs.
10766 * gdb.t*/configure.in: new files.
10767
10768Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
10769
10770 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
10771 works.
10772
10773Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
10774
10775 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
10776 in explicit rules. Apparently this is not supported by some makes.
10777
10778Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
10779
10780 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
10781
10782Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10783
10784 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
10785 disappeared.
10786
10787Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
10788
10789 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
10790
10791Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
10792
10793 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
10794 watchpoint problem that is now fixed.
10795 * gdb.t30/chexp.exp: Remove setup_xfail for printing
10796 uninitialized convenience variables.
10797 * gdb.t31/chillvars.exp: Fix expected patterns for printing
10798 structures.
10799
10800Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10801
10802 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
10803 which causes expect to get out of sync with gdb on long output
10804 from help set.
10805 * gdb.t09/corefile.exp: Make expected pattern for core file
10806 failing signal and frame output format less sun specific.
10807
10808Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
10809
10810 * gdb.t31/chillvars.exp: Add and remove initial dummy
10811 breakpoint, so that symbol table is forced in.
10812 (Needed at least on Sunos4, though it seems not SVR4.)
10813 * gdb.t31/chillvars.exp: Update for changed output format.
10814
10815Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
10816
10817 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
10818
10819Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
10820
10821 * Makefile.in: Added --srcdir when invoking runtest, removed the
10822 need for a local config file. (optional now)
10823
10824Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
10825
10826 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
10827 failure count used to force early termination. Add some more
10828 expected failures for gnu style demangling.
10829
10830Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10831
10832 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
10833 pmi variable from gdb.t20/gdbme to get optimized away.
10834 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
10835 Check for written corefile upon timeout _and_ eof.
10836
10837Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10838
10839 * config/unix-gdb.exp: Add missing return 0.
10840
10841Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10842
10843 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
10844 test termination.
10845
10846Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
10847
10848 * configure.in (subdirs): Put back gdb.t17 which mysteriously
10849 disappeared.
10850
10851Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
10852
10853 * gdb.t10/crossload.exp: Disable the i860-elf test until such
10854 time as i860 support works.
10855
beb998c6 10856 * gdb.t15/funcargs.exp: Fix expected outputs to include
c906108c
SS
10857 "backtrace 100\r" rather than just "backtrace\r", to match last
10858 change.
10859
10860Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
10861
10862 * config/udi-gdb.exp (gdb_exit): Remove close command.
10863 (gdb_target_udi): New procedure to set the UDI target.
10864 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
10865 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
10866 Added waits for prompts after several question responses. Added
10867 some more responses used by a29k-amd-udi-gdb.
10868 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
10869 pass different arguments, restart UDI connection after program
10870 completion.
10871 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
10872 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
10873 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
10874 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
10875 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
10876 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
10877 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
10878 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
10879 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
10880 after program completion.
10881 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
10882 compiled with a SELECT_VECS setting.
10883 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
10884 infinite recursion.
10885
10886 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
10887 Added checks for COFF results, and made them expected failures for
10888 all targets. It would be better to make them expected failures
10889 for COFF targets only.
10890
10891Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
10892
10893 * Makefile.in: add null dvi target, don't bother to recurse
10894 through test directories for info and install-info; rename
10895 $(datadir) to be dejagnu instead of deja-gnu
10896
10897Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
10898
10899 * gdb.t31/gdbme.ch: Re-enable code that previously caused
10900 compiler to coredump.
10901 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
10902 code.
10903
10904Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
10905
10906 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
10907 coredump.
10908 * gdb.t31/chillvars.exp: Comment out tests that depend on that
10909 code.
10910
10911Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
10912
10913 * gdb.t03/ptype.exp: tests for return code from gdb_test.
10914 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
10915 which in a shell. Deletes xgdb when done.
10916 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
10917 Tests the return from the "set height" or "set width" commands.
10918 Added a few return codes where needed.
10919
10920Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
10921
10922 * Makefile.in (SUBDIRS): Add gdb.t17.
10923 * configure.in (subdirs): Add gdb.t17.
10924 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
10925 files to test gdb's calling of functions in the inferior with
10926 the correct arguments and gdb's ability to retrieve any
10927 result returned.
10928
10929Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
10930
10931 * config/unix-gdb.exp (gdb_exit): Remove close commands that
10932 may be called after gdb goes away. Previous versions of expect
10933 needed these to avoid file descriptor leaks, but they cause
10934 errors with the current revision of expect.
10935 * gdb.t00/gdbvars.exp: Use -re on expected output after
10936 setting sevenbit-strings.
10937 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
10938 to set sevenbit-strings consistent across tests.
10939 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
10940 set sevenbit-strings consistent across tests.
10941
10942Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
10943
10944 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
10945 expected output to match current "expect" expectations.
10946
10947Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
10948
10949 * gdb.t00/default.exp: Change expected output for default "source"
10950 command, to match new gdb behavior which requires a filename to
10951 source.
10952
10953Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
10954
10955 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
10956 expected fail for i486-*-* that misses the marker2 function.
10957 * gdb.t10/crossload.exp (bfddefault): Allow successful
10958 recognition of a format to pass even if no symbols are found.
10959 Explicitly catch failures where the format is not recognized
10960 or is ambiguous, and add the reason to the fail message.
10961 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
10962 the cause is and invalid target and add reason to failure message.
10963 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
10964 elf32-i386, elf32-sparc, and elf32-i860.
10965 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
10966 Set up expected failure for 'filename'::variable scope resolution,
10967 which is now apparently broken on all targets.
10968 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
10969 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
10970 gdb.t23/templates.exp: Change failure for missing binfile into
10971 just a warning.
10972 gdb.t21/demangle.exp: Change all cfront references to 'arm'
10973 references.
10974
10975Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
10976
10977 * gdb.t00/default.exp: Add expected output for default "source"
10978 command, to match new gdb behavior.
10979 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
10980
10981Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
10982
10983 * config/*-gdb.exp: returns an error, rather than exiting on
10984 internal errors.
10985
10986Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
10987
10988 * gdb.t03/gdbme.c: Add pointer to struct variable.
10989 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
10990 referencing struct members.
10991
10992Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
10993
10994 * configure.in (mips-idt-ecoff): New target.
10995 * config/mips-gdb.exp: New file for remote board using MIPS remote
10996 debugging protocol.
10997
10998 * Redid configuration scheme. Removed gdb.t*/configure.in.
10999 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
11000 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
11001 distclean targets. Built executables via .o files. Adjusted
11002 tests to account for source files in $(srcdir) rather than
11003 $(objdir).
11004 * lib/gdb.exp (runto): Don't expect () after the function name,
11005 because it may have arguments.
11006
11007Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
11008
11009 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
11010 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
11011 expected failures for mips-idt-* and mips-sgi-*.
11012 * gdb.t00/default.exp (attach): Kill process if requested.
11013 * gdb.t00/help.exp (help target core, help target): Accept a gdb
11014 that does not read core files.
11015 * gdb.t01/run.exp: Removed checks for exit status code.
11016 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
11017 it is linked in.
11018 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
11019 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
11020 appropriate, rather than doing it by hand.
11021 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
11022 execution.
11023 * gdb.t10/crossload.exp: Kill existing program if needed.
11024 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
11025 appropriate, rather than doing it by hand. Always increase
11026 timeout for this test, not just for VxWorks.
11027
11028Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
11029
11030 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
11031 of Chill STRUCT types and STRUCT values.
11032 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
11033 than "char".
11034 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
beb998c6 11035 struct2): New struct definitions and initializations to test
c906108c
SS
11036 simple Chill STRUCT types.
11037
11038Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
11039
11040 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
11041 the null byte at the end of strings.
11042 * gdb.t00/default.exp: Make show version insensitive to copyright
11043 date.
11044 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
11045 to avoid dependencies on target char signedness.
11046 * gdb.t16/printcmds.exp: Update expected results for explicitly
11047 unsigned char.
11048 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
11049 now work.
11050 * gdb.t21/demangle.exp: Add many more patterns for template
11051 demangling, most of them being expected failures.
11052 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
11053 string we are matching for, to match on the whole string.
11054 * gdb.t21/demangle.exp: Add many new test strings to demangle,
11055 and fix a whole bunch that had incorrect expected output but were
11056 passing anyway because of the bug in "proc demangle".
11057 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
11058 type.
11059 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
11060
11061Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
11062
11063 * gdb/testsuite: made modifications to testcases, etc., to allow
11064 them to work properly given the reorganization of deja-gnu and the
11065 relocation of the testcases from deja-gnu to a "tool" subdirectory.
11066
11067Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
11068
11069 * gdb/testsuite: Initial creation of gdb/testsuite.
11070 Migrated dejagnu testcases and support files for testing nm to
11071 gdb/testsuite from deja-gnu. These files were moved "as is"
11072 with no modifications. This migration is part of a major overhaul
11073 of dejagnu. The modifications to these testcases, etc., which
11074 will allow them to work with the new version of dejagnu will be
11075 made in a future update.
11076\f
11077Local Variables:
ef043731 11078mode: change-log
c906108c
SS
11079left-margin: 8
11080fill-column: 74
11081version-control: never
11082End:
This page took 0.904934 seconds and 4 git commands to generate.