]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/testsuite/ChangeLog
2003-12-05 Michael Chastain <mec.gnu@mindspring.com>
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
ba9b20a7
MC
12003-12-05 Michael Chastain <mec.gnu@mindspring.com>
2
3 Partial fix for PR testsuite/1456.
4 * gdb.base/scope.exp (test_at_main): Replace references to
5 gcc_compiled with calls to test_compiler_info.
6 (test_at_foo): Likewise.
7 (test_at_bar): Likewise.
8
b74b6d0b
MC
92003-12-04 Michael Chastain <mec.gnu@mindspring.com>
10
11 Partial fix for PR testsuite/1456.
12 * gdb.base/so-impl-ld.exp: Replace reference to gcc_compiled with call
13 to test_compiler_info.
14
ccfa3402
MC
152003-12-03 Michael Chastain <mec.gnu@mindspring.com>
16
17 * gdb.base/so-impl-ld.exp: Update copyright notice.
18
f6246aba
MC
192003-12-02 Michael Chastain <mec.gnu@mindspring.com>
20
21 Partial fix for PR testsuite/1456.
22 * gdb.base/mips_pro.exp: Replace references to gcc_compiled with calls
23 to test_compiler_info.
24
13ae734a
MC
252003-11-28 Michael Chastain <mec.gnu@mindspring.com>
26
27 * gdb.objc/objcdecode.exp: Match and KFAIL the output that comes
28 from current versions of gdb. Clean up regular expressions.
29 Delete redundant timeout case.
30
d8e1cdee
MC
312003-11-28 Michael Chastain <mec.gnu@mindspring.com>
32
33 * gdb.objc/nondebug.exp: Match and KFAIL the output that comes
34 from current versions of gdb. Clean up regular expressions.
35 Delete redundant timeout case.
36
96457b64
MC
372003-12-01 Michael Chastain <mec.gnu@mindspring.com>
38
39 Partial fix for PR testsuite/1456.
40 * gdb.base/callfuncs.exp (do_function_calls): Replace reference to
41 gcc_compiled with call to test_compiler_info.
42
f35309fc
MC
432003-11-30 Michael Chastain <mec.gnu@mindspring.com>
44
45 Partial fix for PR testsuite/1456.
46 * gdb.base/list.exp (test_list_function): Delete unused declaration
47 of gcc_compiled.
48
d7afdf9b
MC
492003-11-29 Michael Chastain <mec.gnu@mindspring.com>
50
51 Partial fix for PR testsuite/1456.
52 * gdb.base/complex.exp: Replace reference to gcc_compiled with
53 call to test_compiler_info.
54
71507b56
MK
552003-11-29 Mark Kettenis <kettenis@gnu.org>
56
57 * gdb.asm/asm-source.exp: Initialize asm-note to "empty". Set
58 asm-note to "netbsd" for *-*-netbsdelf* and x86_64-*-netbsd*. Use
59 it to create the appropriate note.inc.
60 * gdb.asm/asmsrc1.s: Include "note.inc".
61 * gdb.asm/netbsd.inc: New file.
62 * gdb.asm/empty.inc: New file.
63
f81f93f7
MC
642003-11-28 Michael Chastain <mec.gnu@mindspring.com>
65
66 Partial fix for PR testsuite/1456.
67 * gdb.base/constvars.exp: Replace references to gcc_compiled with
68 calls to test_compiler_info.
69
9a77938e
MC
702003-11-27 Michael Chastain <mec.gnu@mindspring.com>
71
72 Partial fix for PR testsuite/1456.
73 * gdb.base/volatile.exp: Replace references to gcc_compiled with
74 calls to test_compiler_info.
75
e8367dc7
MK
762003-11-27 Mark Kettenis <kettenis@gnu.org>
77
78 * gdb.base/structs.exp: Use i*86-*-* instead of i686-*-* as a
79 pattern for the KFAILs.
80
526c61ee
AF
812003-11-25 Adam Fedor <fedor@gnu.org>
82
83 * gdb.objc/objcdecode.exp: Test for PR objc/1238.
84 * gdb.objc/objcdecode.m: New file.
85
28f2d600
AF
862003-11-25 Adam Fedor <fedor@gnu.org>
87
88 * gdb.objc/nondebug.exp: Test for PR objc/1236.
89 * gdb.objc/nondebug.m: New file.
90
a3895cee
BE
912003-11-26 Ben Elliston <bje@wasabisystems.com>
92
93 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
94 NetBSD as it does on FreeBSD. Modelled on a similar change by
95 Mark Kettenis on 2003-05-30.
96 (link-flags): Set to "--entry _start" regardless of target.
97 Special linker flags are to be appended to $link-flags.
98 * gdb.asm/mips.inc (gdbasm_startup): Remove __start label.
99
c9f2c8a3
MC
1002003-11-25 Michael Chastain <mec.gnu@mindspring.com>
101
102 * gdb.cp/method.exp: Accept output of new demangler.
103
15a0587a 1042003-11-25 Michael Chastain <mec.gnu@mindspring.com>
f4e8b6f3
MC
105
106 * gdb/class2.exp: New file.
107 * gdb/class2.cc: New file.
108
3c00b570
MC
1092003-11-25 Michael Chastain <mec.gnu@mindspring.com>
110
111 * gdb.cp/templates.exp (test_ptype_of_templates): Accept output
112 of new demangler.
113
7027acc7
MK
1142003-11-23 Mark Kettenis <kettenis@gnu.org>
115
116 * gdb.arch/i386-unwind.exp: Use gdb_run_cmd and gdb_expect instead
117 of gdb_test "run".
118
b0e1598a
MK
1192003-11-23 Mark Kettenis <kettenis@gnu.org>
120
121 * gdb.arch/i386-unwind.exp: Don't use runto_main. Change
122 "continue" into "run".
123
4d9eda44
MC
1242003-11-23 Michael Chastain <mec.gnu@mindspring.com>
125
126 Partial fix for PR testsuite/1456.
127 * gdb.cp/ambiguous.exp: Replace reference to gcc_compiled with
128 call to test_compiler_info.
129 * gdb.cp/ctti.exp: Likewise.
130 * gdb.cp/derivation.exp: Likewise.
131 * gdb.cp/member-ptr.exp: Likewise.
132 * gdb.cp/virtfunc.exp (test_virtual_calls): Remove unused
133 reference to gcc_compiled.
134
1352003-11-23 Michael Chastain <mec.gnu@mindspring.com>
b729099e
MC
136
137 Fix PR testsuite/1463.
138 * gdb.base/structs.exp (start_structs_test): Call
139 get_debug_format before using the debug format.
140
d422fe19
AC
1412003-11-22 Andrew Cagney <cagney@redhat.com>
142
143 * lib/gdb.exp (gdb_test_multiple): Add simple example.
144 * gdb.base/structs.exp: Use gdb_test_multiple.
145
039cf96d
AC
1462003-11-20 Andrew Cagney <cagney@redhat.com>
147
6882279b
AC
148 * gdb.base/structs.exp: Handle and recover from internal errors.
149 Replace "foo${n}" with "foo<n>" in test messages.
150
e53890ae
AC
151 * gdb.base/structs.exp: Update copyright. Rewrite.
152 * gdb.base/structs.c: Update copyright. Rewrite.
153
2b211c59
AC
154 * lib/gdb.exp (gdb_internal_error_resync): Issue a perror when the
155 resync count exceeded.
156
039cf96d
AC
157 * gdb.base/maint.exp: Use gdb_internal_error_resync to recover
158 from the internal error.
159 * lib/gdb.exp (gdb_internal_error_resync): New procedure.
160 Original from Jim Blandy.
161 (gdb_test_multiple): Use gdb_internal_error_resync.
2b211c59 162
eac98b22
AC
1632003-11-19 Andrew Cagney <cagney@redhat.com>
164
165 * gdb.base/callfuncs.exp: Change the XFAILed descriptor test to a
166 KFAIL.
167
67455b2a
MK
1682003-11-17 Mark Kettenis <kettenis@gnu.org>
169
170 New testcase for PR backtrace/1435.
171 * gdb.arch/i386-unwind.exp: New file.
172 * gdb.arch/i386-unwind.c: New file.
173
853d6e5b
AC
1742003-11-17 Andrew Cagney <cagney@redhat.com>
175
176 * lib/gdb.exp (compiler_info): New global.
177 (test_compiler_info): New function.
178 (get_compiler_info): Set compiler_info.
179 * lib/compiler.c, lib/compiler.cc: Add copyright. When GNUC, set
180 "compiler_info" to gcc-<major>-<minor>.
181
38cf6e11
MC
1822003-11-15 Michael Chastain <mec.gnu@mindspring.com>
183
184 * gdb.trace/configure: Remove.
185
a50d3602
EZ
1862003-11-13 Elena Zannoni <ezannoni@redhat.com>
187
188 * gdb.base/break.c: Add comments to aid finding line numbers for
189 breakpoints.
190 * gdb.base/break.exp: Remove all references to explicit line
191 numbers.
192
d9407aaa
NC
1932003-11-11 Nick Clifton <nickc@redhat.com>
194
195 * gdb.base/shreloc.exp: Do not run for targets which do not
196 support shared objects.
197
db488fc1
CV
1982003-11-10 Corinna Vinschen <vinschen@redhat.com>
199
200 * gdb.base/fileio.exp: Drop tests for nointerrupts and noinferiorio.
201 Don't run tests if nofileio flag is given.
202
6a90a18e
EZ
2032003-11-07 Elena Zannoni <ezannoni@redhat.com>
204
205 * gdb.cp/annota3.exp: Make sure we can match 'Hardware watchpoint'
206 as well as 'Watchpoint'.
207
0b915e9c
EZ
2082003-11-06 Elena Zannoni <ezannoni@redhat.com>
209
210 Reported by Jim Ingham <jingham@apple.com>:
211 * gdb.base/annota1.exp: Match at least one occurrence of the
212 signal handler annotation.
213
d7e4b55f
EZ
2142003-11-06 Elena Zannoni <ezannoni@redhat.com>
215
216 * gdb.cp/annota2.exp: Make sure we can match 'Hardware watchpoint'
217 as well as 'Watchpoint'.
218
2fe4e8d0
MC
2192003-11-05 Michael Chastain <mec@shout.net>
220
221 * gdb.mi/pthreads.c (routine): Handle early return from sleep.
222
6ef88553
KW
2232003-11-03 Kris Warkentin <kewarken@qnx.com>
224
225 * gdb.arch/gdb1291.c: New test file.
226 * gdb.arch/gdb1291.exp: New test script.
227 * gdb.arch/gdb1431.c: New test file.
228 * gdb.arch/gdb1431.exp: New test script.
229
ae7dc4d8
MC
2302003-10-22 Michael Chastain <mec@shout.net>
231
232 * gdb.mi/pthreads.c: Add copyright notice.
233
c39d7427
MC
2342003-10-22 Michael Chastain <mec@shout.net>
235
236 * gdb.threads/pthreads.c: Add copyright notice.
237
8b7d96c1
MC
2382003-10-20 Michael Chastain <mec@shout.net>
239
240 * gdb.base/gdb1056.exp: New test script.
241
d1d69fdd
DJ
2422003-10-13 Daniel Jacobowitz <drow@mvista.com>
243
244 * gdb.threads/killed.exp: Use gdb_run_cmd.
245
7d605576
DJ
2462003-10-13 Daniel Jacobowitz <drow@mvista.com>
247
248 * gdb.base/gcore.exp: Issue an UNSUPPORTED and exit if we can't
249 create a core file.
250 * gdb.threads/gcore-thread.exp: Likewise.
251
618ec112
CV
2522003-10-13 Corinna Vinschen <vinschen@redhat.com>
253
254 * gdb.base/call-rt-st.c (struct bit_flags_char_t): New bitfield
255 type, based on char type.
256 (struct bit_flags_short_t): New bitfield type, based on short type.
257 (init_bit_flags_char): New fuction.
258 (init_bit_flags_short): Ditto.
259 (print_bit_flags_char): Ditto.
260 (print_bit_flags_short): Ditto.
261 (main): Add handling for bit_flags_char_t and bit_flags_short_t.
262
9367a73c
MC
2632003-10-11 Michael Chastain <mec@shout.net>
264
265 * gdb.base/call-rt-st.exp: Update copyright year.
266
1decf120
KI
2672003-10-10 Kei Sakamoto <sakamoto.kei@renesas.com>
268
269 * config/hmsirom.exp: Replace "Hitachi" with "Renesas".
270 * gdb.disasm/sh3.s: Ditto.
271
5445b2ae
DJ
2722003-10-07 Daniel Jacobowitz <drow@mvista.com>
273
274 * gdb.threads/switch-threads.exp: New test.
275 * gdb.threads/switch-threads.c: New source file.
276
aec24853
CV
2772003-10-07 Corinna Vinschen <vinschen@redhat.com>
278
279 * gdb.base/ending-run.exp: Add sh specific case.
280
adc7428d
AC
2812003-10-06 Andrew Cagney <cagney@redhat.com>
282
283 * gdb.base/watchpoint.exp: Delete obsolete clear_xfail.
284 * gdb.disasm/mn10200.exp: Delete obsolete file.
285
c9d37158
DJ
2862003-09-29 Daniel Jacobowitz <drow@mvista.com>
287
288 * ChangeLog: Correct an entry command.exp -> commands.exp.
289 * gdb.base/commands.exp (bp_deleted_in_command_test)
290 (temporary_breakpoint_commands): Check noargs.
291
79c2c32d
DC
2922003-09-25 David Carlton <carlton@kealia.com>
293
294 * gdb.cp/namespace.exp: Tweak comments. Add non-quoted versions
295 of some print tests, where appropriate. Add tests for C::D::cd,
296 E::ce, F::cXfX, G::XgX.
297 * gdb.cp/namespace.cc: Add XgX, cXfX, ce.
298
594e6d67
RE
2992003-09-25 Richard Earnshaw <rearnsha@arm.com>
300
301 * lib/java.exp (java_init): Import target_alias before using it.
302
10f0d451
DC
3032003-09-25 David Carlton <carlton@kealia.com>
304
305 * gdb.base/corefile.exp: Delete obsolete setup_xfail.
306
274bcba0
EZ
3072003-09-23 Elena Zannoni <ezannoni@redhat.com>
308
309 * gdb.base/selftest.exp: Accomodate more instruction reordering
310 weirdness.
311
cdbf20f7
MC
3122003-09-17 Michael Chastain <mec@shout.net>
313
314 * gdb.cp/gdb1355.exp: New file.
315 * gdb.cp/gdb1355.c: New file.
316
71e06f80
CV
3172003-09-15 Corinna Vinschen <vinschen@redhat.com>
318
319 * gdb.asm/asm-source.exp: Add sh*-*-* as supported target.
320 * gdb.asm/sh.inc: New file.
321
5c4e30ca
DC
3222003-09-11 David Carlton <carlton@kealia.com>
323
bd45b7af
DC
324 * gdb.cp/namespace.exp: Add tests for namespace types.
325 * gdb.cp/maint.exp (test_help): Test 'help maint cp namespace'.
5c4e30ca
DC
326 (test_namespace): New.
327
1c199746
EZ
3282003-09-11 Elena Zannoni <ezannoni@redhat.com>
329
330 * gdb.base/relocate.exp: Handle new gdb output at startup.
3fcf0ced 331 * gdb.stabs/weird.exp: Ditto.
1c199746 332
04ed252f
MC
3332003-09-08 Michael Chastain <mec@shout.net>
334
335 * gdb.base/gdb1250.c: Rename 'gamma' to 'my_gamma'.
336
d8a2d9e7
MC
3372003-09-07 Michael Chastain <mec@shout.net>
338
339 * gdb.cp/classes.exp: Accommodate both 'syntax error' and
340 'parse error'.
341
161afb24
MK
3422003-09-07 Mark Kettenis <m.kettenis@osp.nl>
343
344 * gdb.arch/i386-prologue.exp: Add checks for saved registers.
345
49f2741a
MC
3462003-08-30 Michael Chastain <mec@shout.net>
347
348 * gdb.base/selftest.exp: Remove support for m68k*-*-hpux.
349 * gdb.gdb/observer.exp: Ditto.
350 * gdb.gdb/xfullpath.exp: Ditto.
351
8afa723e
MK
3522003-08-29 Mark Kettenis <kettenis@gnu.org>
353
354 * gdb.base/interrupt.exp: XFAIL "call function when asleep" for
355 *-*-*bsd*.
356
f31dfe3b
JJ
3572003-08-28 Jeff Johnston <jjohnstn@redhat.com>
358
359 * gdb.base/dump.exp: Skip for ia64.
360
4630e498
JJ
3612003-08-25 Jeff Johnston <jjohnstn@redhat.com>
362
363 * gdb.asm/asm-source.exp: Add ia64 support.
364 * gdb.asm/ia64.inc: New file.
365
1105b7ef
MC
3662003-08-22 Michael Chastain <mec@shout.net>
367
368 * gdb.cp: New directory.
369 * gdb.cp/*: Copy from gdb.c++/*.
370 * gdb.c++/*: Remove.
371 * Makefile.in: Change gdb.c++ to gdb.cp.
372 * configure.in: Ditto.
373 * configure: Regnerate.
374
c945b932
MK
3752003-08-18 Mark Kettenis <kettenis@gnu.org>
376
377 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1338.
378 * gdb.arch/i386-prologue.c (gdb1338): Add function.
379
2b66634b
DJ
3802003-08-17 Daniel Jacobowitz <drow@mvista.com>
381
382 * mi-var-display.exp (-var-list-children weird): Accept function
383 pointers with argument types.
384 * mi1-var-display.exp (-var-list-children weird): Likewise.
385 * mi2-var-display.exp (-var-list-children weird): Likewise.
386
a356f73b
DJ
3872003-08-17 Daniel Jacobowitz <drow@mvista.com>
388
389 * gdb.base/annota3.exp: Add missing newline.
390
483417b8
MC
3912003-08-06 Michael Chastain <mec@shout.net>
392
393 * gdb.java/jmisc1.exp: Add test for pr gdb/1322.
394
c99c59c3
MS
3952003-08-12 Michael Snyder <msnyder@redhat.com>
396
397 * gdb.base/float.exp: Add test for SH.
398
55ed7501
MK
3992003-08-10 Mark Kettenis <kettenis@gnu.org>
400
401 * gdb.arch/i386-prologue.c, gdb.arch/i386-prologue.exp: New files.
402
1a371f2e
EZ
4032003-08-07 Elena Zannoni <ezannoni@redhat.com>
404
405 * gdb.base/completion.exp: Remove reduntant completion test
406 on filename.
407
e0f353ce
EZ
4082003-08-07 Elena Zannoni <ezannoni@redhat.com>
409
410 * gdb.base/attach.exp, gdb.base/detach.exp, gdb.base/gcore.exp,
411 gdb.mi/mi-basics.exp, gdb.threads/gcore-thread.exp,
412 gdb.trace/save-trace.exp: Make sure that full pathnames are
413 escaped correctly.
414
5710a1af
EZ
4152003-08-07 Elena Zannoni <ezannoni@redhat.com>
416
417 * configure.in: Don't generate config.h from config.hin.
418 * configure: Regenerate.
419 * config.hin: Remove file.
420 * gdb.mi/pthreads.c: Remove include of config.h, and other ifdefs.
421 * gdb.threads/pthreads.c: Ditto.
422
dcd81ce9
DJ
4232003-08-07 Daniel Jacobowitz <drow@mvista.com>
424
425 From Kei Sakamoto <sakamoto.kei@renesas.com>:
426 * gdb.asm/asm-source.exp : Add -lgloss to link-flags.
427 * gdb.asm/m32r.inc : Remove an illegal nop after bl instruction.
428 Replace ld24 with seth/add3.
429
6009d884
AC
4302003-08-02 Andrew Cagney <cagney@redhat.com>
431
432 * gdb.base/annota3.exp: New file.
433 * gdb.base/annota3.c: New file.
434 * gdb.c++/annota3.exp: New file.
435 * gdb.c++/annota3.cc: New file.
436
51514e06
MC
4372003-07-29 Michael Chastain <mec@shout.net>
438
439 * gdb.threads/tls.c (spin): Check errno only if sem_wait
440 actually failed.
441 (do_pass): Likewise.
442 * gdb.threads/tls.exp: Always initialize no_of_threads.
443
4ee6625b
DJ
4442003-07-27 Daniel Jacobowitz <drow@mvista.com>
445
446 * gdb.threads/print-threads.exp (test_all_threads): Loosen KFAIL
447 pattern.
448 * gdb.threads/tls-shared.exp: Don't use gdb_suppress_entire_file.
449 * gdb.threads/tls.exp: Recognize one case of the host library not
450 supporting TLS.
451
225f2bf6
AC
4522003-07-27 Andrew Cagney <cagney@redhat.com>
453
454 * gdb.base/fileio.exp: Use SH when running commands using
455 remote_exec.
456
bcb27c9f
DJ
4572003-07-24 Daniel Jacobowitz <drow@mvista.com>
458
459 From Kei Sakamoto <sakamoto.kei@renesas.com>:
460 * gdb.base/relocate.c (dummy): New padding array.
461
3d67be83
MS
4622003-07-22 Michael Snyder <msnyder@redhat.com>
463
464 * gdb.disasm/8300s.s: Fix syntax of bsr insn.
465
466 * gdb.disasm/h8300s.exp : Minor changes in disassembler output require
467 patterns to be more general, accepting old and new output.
468 Some output chars (such as '+') also must be quoted.
469 Some addresses are displayed numerically instead of
470 symbolically.
471
57ba3b85
MS
4722003-07-23 Michael Snyder <msnyder@redhat.com>
473
686d097c
MS
474 * gdb.base/return2.exp: Don't test long-long return.
475
57ba3b85
MS
476 * gdb.disasm/t01_mov.s: New file, h8300sx disassembly tests.
477 * gdb.disasm/t01_mov.exp: Ditto.
478 * gdb.disasm/t02_mova.s: Ditto.
479 * gdb.disasm/t02_mova.exp: Ditto.
480 * gdb.disasm/t03_add.s: Ditto.
481 * gdb.disasm/t03_add.exp: Ditto.
482 * gdb.disasm/t04_sub.s: Ditto.
483 * gdb.disasm/t04_sub.exp: Ditto.
484 * gdb.disasm/t05_cmp.s: Ditto.
485 * gdb.disasm/t05_cmp.exp: Ditto.
486 * gdb.disasm/t06_ari2.s: Ditto.
487 * gdb.disasm/t06_ari2.exp: Ditto.
488 * gdb.disasm/t07_ari3.s: Ditto.
489 * gdb.disasm/t07_ari3.exp: Ditto.
490 * gdb.disasm/t08_or.s: Ditto.
491 * gdb.disasm/t08_or.exp: Ditto.
492 * gdb.disasm/t09_xor.s: Ditto.
493 * gdb.disasm/t09_xor.exp: Ditto.
494 * gdb.disasm/t10_and.s: Ditto.
495 * gdb.disasm/t10_and.exp: Ditto.
496 * gdb.disasm/t11_logs.s: Ditto.
497 * gdb.disasm/t11_logs.exp: Ditto.
498 * gdb.disasm/t12_bit.s: Ditto.
499 * gdb.disasm/t12_bit.exp: Ditto.
500 * gdb.disasm/t13_otr.s: Ditto.
501 * gdb.disasm/t13_otr.exp: Ditto.
502
e00759ef
EZ
5032003-07-22 Elena Zannoni <ezannoni@redhat.com>
504
505 * gdb.threads/tls.exp :Add kfail for 'info address' case.
506
8bc2021f
EZ
5072003-07-22 Elena Zannoni <ezannoni@redhat.com>
508
509 * gdb.threads/tls.c : New file.
510 * gdb.threads/tls.exp : New file.
511 * gdb.threads/tls-main.c : New file.
512 * gdb.threads/tls-shared.c : New file.
513 * gdb.threads/tls-shared.exp : New file.
514
89320c4c
AS
5152003-07-22 Andreas Schwab <schwab@suse.de>
516
517 * gdb.asm/powerpc.inc (gdbasm_startup): Force alignment.
518
180dea7c
AS
5192003-07-20 Andreas Schwab <schwab@suse.de>
520
521 * gdb.base/selftest.exp (do_steps_and_nexts): Add more patterns
522 due to insn reordering.
523
0714963c
AC
5242003-07-15 Andrew Cagney <cagney@redhat.com>
525
526 * gdb.asm/asm-source.exp: Do not allow "start" in the backtrace.
527
98a23b3f
MC
5282003-07-15 Michael Chastain <mec@shout.net>
529
530 * gdb.base/gdb1250.exp: New file.
531 * gdb.base/gdb1250.c: New file.
532
27e417a2
ML
5332003-07-09 Michal Ludvig <mludvig@suse.cz>
534
535 * gdb.c++/templates.exp (test_ptype_of_templates): Recognize
536 expansion of size_t to 'unsigned long', not only to 'unsigned'.
537
8bc2021f
EZ
5382003-07-09 Elena Zannoni <ezannoni@redhat.com>
539
540 * gdb.threads/tls.c: New file.
541 * gdb.threads/tls.exp: New file.
542 * gdb.threads/tls-main.c: New file.
543 * gdb.threads/tls-shared.c: New file.
544 * gdb.threads/tls-shared.exp: New file.
545
d99968dc
EZ
5462003-07-09 Elena Zannoni <ezannoni@redhat.com>
547
548 * gdb.base/annota1.exp: Make sure that we properly escape the
549 full path of the source file. Xfail more permissive patterns,
550 due to a compiler debug info problem.
551
83876b3b
AS
5522003-07-07 Andreas Schwab <schwab@suse.de>
553
2705e972
AS
554 * gdb.asm/m68k.inc: New file.
555 * gdb.asm/asm-source.exp: Use it for m68k-*-*.
556
83876b3b
AS
557 * gdb.objc/basicclass.exp ("Call an Objective-C method with no
558 arguments"): Also match negative number.
559
560 * gdb.base/float.exp ("info float"): Add test for m68k-*-*.
561
3a871b37
DJ
5622003-07-03 Daniel Jacobowitz <drow@mvista.com>
563
564 * gdb.base/store.c (charest): New typedef.
565 (add_char): Rename to add_charest, update.
566 (wack_char): Rename to wack_charest, update types. Return l + r
567 to keep r live across the call.
568 (wack_short, wack_int, wack_long, wack_longest, wack_float)
569 (wack_double, wack_doublest): Return l + r to keep r live across
570 the call.
571 * gdb.base/store.exp: Accomodate store.c changes.
572
b2a7f303
DC
5732003-06-30 David Carlton <carlton@kealia.com>
574
575 * gdb.c++/maint.exp (test_invalid_name): New.
576 (test_first_component): Add tests for invalid names.
577
3c6cb4a1
MC
5782003-06-29 Michael Chastain <mec@shout.net>
579
580 * gdb.c++/inherit.exp (test_print_svi_classes): Accept gdb
581 output of '<VTT for class>' for virtual base classes.
582
f1c2644b
DJ
5832003-06-29 Daniel Jacobowitz <drow@mvista.com>
584
585 * gdb.base/completion.exp: Tab-complete "complet" instead of
586 "compl".
587 * gdb.base/complex.exp, gdb.base/complex.c: New files.
588
18080350
DJ
5892003-06-29 Daniel Jacobowitz <drow@mvista.com>
590
591 * gdb.base/constvars.exp: Remove most xfails for GCC 3.x.
592 * gdb.base/volatile.exp: Likewise.
593
f56973f8
DJ
5942003-06-29 Daniel Jacobowitz <drow@mvista.com>
595
596 * gdb.threads/print-threads.exp (test_all_threads): Add kfail for
597 gdb/1265.
598
5992003-06-28 Michael Chastain <mec@shout.net>
48fe539f
DJ
600 Daniel Jacobowitz <drow@mvista.com>
601
602 * gdb.base/selftest.exp (do_steps_and_nexts): Increase maximum
603 initial line count of 'captured_main' from 26 to 32.
604 (test_with_self): Allow xmalloc call to be interleaved with the
605 preceding two lines.
606
e766d4d6
JB
6072003-06-24 Joel Brobecker <brobecker@gnat.com>
608
609 * gdb.base/bang.exp: New testcase.
610
f125c9a4
JB
6112003-06-23 Joel Brobecker <brobecker@gnat.com>
612
613 * gdb.base/langs.exp: Add some tests for the "minimal" language
614 support.
615
6e25beaf
EZ
6162003-06-23 Elena Zannoni <ezannoni@redhat.com>
617
618 * gdb.objc/basicclass.exp: Return -1 if we cannot compile
619 the testcase.
620
2f816dda
DJ
6212003-06-22 Daniel Jacobowitz <drow@mvista.com>
622
623 * gdb.base/relocate.exp: Test add-symbol-file with a variable
624 offset.
625
db5a5748
DJ
6262003-06-22 Daniel Jacobowitz <drow@mvista.com>
627
628 * gdb.c++/pr-1210.cc: New file.
629 * gdb.c++/pr-1210.exp: New file.
630
1df0c130
DJ
6312003-06-21 Daniel Jacobowitz <drow@mvista.com>
632
633 * lib/mi-support.exp (mi_run_cmd): Expect an MI response to
634 000-exec-continue.
635
a92feac0
MK
6362003-06-15 Mark Kettenis <kettenis@gnu.org>
637
638 * gdb.base/attach.exp: Use -1 for the ID of a nonexistent process
639 on *-*-*bsd* instead of *-*-freebsd*.
640
81a58f5b
AC
6412003-06-14 Andrew Cagney <cagney@redhat.com>
642
643 * gdb.base/store.exp: Test longest and doublest. Test all
644 parameters. Weaken return statement match.
645 * gdb.base/store.c: Add longest and doublest - aka long long and
646 long double functions. Put all parameters into local register
647 variables. Use negative values.
648
b257a0d3
AC
6492003-06-14 Andrew Cagney <cagney@redhat.com>
650
651 * gdb.base/fileio.c: Include <errno.h>, and <sys/wait.h>. Gag
652 -Wformat errors. Add lost line. Use WEXITSTATUS to get system
653 exit status.
654 * gdb.base/fileio.exp: Disable target when nointerrupts and
655 noinferiorio, instead of limiting it to remote. Use remote_exec
656 instead of system.
657
21c38304
JJ
6582003-06-12 Jeff Johnston <jjohnstn@redhat.com>
659
660 * gdb.base/float.exp: Add ia64 support.
661
1bcdb424
CV
6622003-06-12 Corinna Vinschen <vinschen@redhat.com>
663
664 * gdb.base/fileio.exp: Run only on remote targets.
665
6aeb981f
CV
6662003-06-10 Corinna Vinschen <vinschen@redhat.com>
667
668 * gdb.base/fileio.c: New file, testing File-I/O.
669 * gdb.base/fileio.exp: Ditto.
670
53df362e
RG
6712003-06-09 Raoul Gough <RaoulGough@yahoo.co.uk>
672
673 * gdb.base/shreloc.exp: New file, check symbol values obtained from
674 shared objects after relocation at load time (gdb PR/1132).
675 * gdb.base/shreloc.c, gdb.base/shreloc1.c, gdb.base/shreloc2.c:
676 as above, part of the shared object relocation test.
677
ffee1b46
MK
6782003-06-08 Mark Kettenis <kettenis@gnu.org>
679
b5ca3722
MK
680 * gdb.base/readline.exp: Add tests for operate-and-get-next with a
681 fully filled history list.
682 * gdb.base/gdb_history: New file.
683
03ed860d
MK
684 * gdb.base/signals.exp: XFAIL "continue to func1" on
685 i*86-*-freebsd*.
686
ffee1b46
MK
687 * gdb.base/attach.exp: When trying to attach to a nonexistent
688 process, make it possible to specify the PID based on the target,
689 and do so for *-*-freebsd*.
690
d80dbb52
RH
6912003-06-02 Richard Henderson <rth@redhat.com>
692
693 * gdb.base/float.exp: Add expected regexp for alpha-*-*.
694
6dd77b81
RH
6952003-06-02 Richard Henderson <rth@redhat.com>
696
697 * gdb.base/selftest.exp: Next over lim_at_start initialization.
698
f6347e16
RH
6992003-06-02 Richard Henderson <rth@redhat.com>
700
701 * gdb.base/dump.exp [alpha*-*-*]: Add -taso linker switch.
702
2c161407
DJ
7032003-06-01 Daniel Jacobowitz <drow@mvista.com>
704
705 * gdb.asm/asm-source.exp: Dissassemble from &globalvar instead
706 of globalvar.
707
572eb746
MK
7082003-06-01 Mark Kettenis <kettenis@gnu.org>
709
710 * gdb.asm/asm-source.exp: Check for memory read errors in
711 disassembler test on *BSD too.
712
9e9617a5
RH
7132003-06-01 Richard Henderson <rth@redhat.com>
714
715 * gdb.asm/alpha.inc (gdbasm_enter): Use numeric register names
716 for .frame.
717 (gdbasm_call): Lose ldgp.
718 (gdbasm_startup): Add frame information.
719 * gdb.asm/asm-source.exp (alpha*-*): Add -no-mdebug to asm-flags.
720
7b34ad4e
MK
7212003-05-31 Mark Kettenis <kettenis@gnu.org>
722
723 * gdb.base/float.exp: Expect similar output for x86_64-*-* as for
724 i?86-*-*.
725
10059fdf
MK
7262003-05-30 Mark Kettenis <kettenis@gnu.org>
727
728 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
729 FreeBSD.
730
acf4b816
RH
7312003-05-29 Richard Henderson <rth@redhat.com>
732
733 * gdb.asm/alpha.inc: New file.
734 * gdb.asm/asm-source.exp: Use it.
735
e9ecd949
JB
7362003-05-29 Jim Blandy <jimb@redhat.com>
737
738 * gdb.base/corefile.exp: Find corefiles on Linux, which names them
739 'core.PID'.
740
e3e5a4f3
JB
7412003-05-22 Jim Blandy <jimb@redhat.com>
742
743 * gdb.base/corefile.exp: Tolerate stuff after argument parens in
744 backtrace.
745
72fe3d25
DC
7462003-05-20 David Carlton <carlton@math.stanford.edu>
747
748 * gdb.c++/namespace1.cc: Actually do 'cvs add' before committing
749 this time.
750
58da2eb2
DC
7512003-05-19 David Carlton <carlton@bactrian.org>
752
753 * gdb.c++/rtti.exp: New file, containing tests for PR c++/488.
754 * gdb.c++/rtti.h, gdb.c++/rtti1.cc, gdb.c++/rtti2.cc: Ditto.
755
1fcb5155
DC
7562003-05-19 David Carlton <carlton@bactrian.org>
757
758 * gdb.c++/namespace.exp: Add namespace scope and anonymous
759 namespace tests.
760 Bump copyright date.
761 * gdb.c++/namespace.cc: Add anonymous namespace and namespace C.
762 (main): Call C::D::marker2.
763 * gdb.c++/namespace1.cc: New file.
764
85e85163
JJ
7652003-05-14 Jeff Johnston <jjohnstn@redhat.com>
766
767 Roland McGrath <roland@redhat.com>
768 * gdb.threads/linux-dp.exp: Account for fact that in nptl model
769 there is no manager thread.
770
a25fbfec
JJ
7712003-05-08 Jeff Johnston <jjohnstn@redhat.com>
772
773 * gdb.threads/schedlock.exp: Remove assumption that all threads
774 will run in a particular small time slice. Also ensure we break
775 in one of the child threads rather than the main thread.
776
be375bae
JB
7772003-05-07 Jim Blandy <jimb@redhat.com>
778
09bf6082
JB
779 Add support for assembly source testing on the s390x.
780 * gdb.asm/asm-source.exp: Add a case for the s390x-*-*
781 architecture.
782 * gdb.asm/s390x.inc: New file.
783
be375bae
JB
784 * gdb.asm/asm-source.exp: Use a 'switch -glob' statement, not a
785 succession of 'if' statements.
786
00905d52
AC
7872003-05-05 Andrew Cagney <cagney@redhat.com>
788
789 * gdb.base/maint.exp: Add tests for "maint print dummy-frames".
790
b1e29e33
AC
7912003-05-05 Andrew Cagney <cagney@redhat.com>
792
793 * gdb.base/watchpoint.exp: Rename CALL_DUMMY_BREAKPOINT_OFFSET to
794 DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET in comments.
795
e33d66ec
EZ
7962003-05-02 Elena Zannoni <ezannoni@redhat.com>
797
798 * gdb.base/charset.exp: Update based on new behavior of set/show
799 charset commands.
800
2b6fd0d8
AC
8012003-05-01 Andrew Cagney <cagney@redhat.com>
802
803 * gdb.asm/asm-source.exp: Check that "disassm" and "x/i" of a
804 variable do not give memory errors.
805
130cacce
AF
8062003-04-30 Adam Fedor <fedor@gnu.org>
807
808 * Makefile.in (ALL_SUBDIRS): Add gdb.objc
809 * configure.in (AC_OUTPUT): Add gdb.objc/Makefile
810 * gdb.objc/Makefile.in, gdb.objc/basicclass.exp,
811 gdb.objc/basicclass.m: : New files
812
813 * lib/gdb.exp (gdb_compile_objc): New procedure.
814
bea71854
DJ
8152003-04-27 Daniel Jacobowitz <drow@mvista.com>
816
817 * gdb.base/signals.exp: Make backtrace tests more specific.
818
0f20eeea
DC
8192003-04-23 David Carlton <carlton@bactrian.org>
820
821 * gdb.c++/maint.exp (test_first_component): Add tests for
822 'operator' in more locations.
823
c8c4d8dc
KB
8242003-04-16 Kevin Buettner <kevinb@redhat.com>
825
826 * gdb.base/args.exp: Invoke gdb_load for simulator targets.
827
3fe60e3c
EZ
8282003-04-16 Elena Zannoni <ezannoni@redhat.com>
829
830 * gdb.base/completion.exp: Make 'info func mark' complete on 'info
831 func marke' instead. Update test name.
832
9219021c
DC
8332003-04-15 David Carlton <carlton@math.stanford.edu>
834
835 * gdb.c++/maint.exp: New file.
836
5dd55bdd
EZ
8372003-04-14 Elena Zannoni <ezannoni@redhat.com>
838
839 * gdb.threads/schedlock.c: Change type of thread function argument
840 to long, to avoid warnings on 64-bit platforms.
841
00890572
EZ
8422003-04-14 Elena Zannoni <ezannoni@redhat.com>
843
844 * gdb.base/attach.exp: Add new message from ptrace in case of
845 attaching to nonexistent process.
846
93201743
JB
8472003-04-11 Jim Blandy <jimb@redhat.com>
848
849 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
850 gdb.c++/userdef.cc: Place comments on the lines to which the
851 marker function might return.
852 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
853 gdb.c++/userdef.exp: Look for those comments to check that we've
854 returned to the right place, instead of checking line numbers.
855
2a11c64d
EZ
8562003-04-11 Elena Zannoni <ezannoni@redhat.com>
857
858 * gdb.threads/pthreads.exp (test_startup): When setting a breakpoint
859 match on sourcefile name, instead of directory name.
860
68ab8fc5
EZ
8612003-04-10 Elena Zannoni <ezannoni@redhat.com>
862
863 * gdb.base/completion.exp: Use string_to_regexp to match the
864 working directory name.
865
5624293a
JB
8662003-04-09 Jim Blandy <jimb@redhat.com>
867
868 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
869 gdb.c++/userdef.exp: If GDB fails to restore the selected frame
870 after an inferior function call, report the failure, but allow the
871 test to continue.
872
f1f02ee4
SC
8732003-04-05 Stephane Carrez <stcarrez@nerim.fr>
874
875 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
876 with -DPROTOTYPES.
877
6eb79af0
SC
8782003-04-05 Stephane Carrez <stcarrez@nerim.fr>
879
880 * gdb.base/break.exp: Revert last patch.
881
8dfb4cf0
SC
8822003-04-04 Stephane Carrez <stcarrez@nerim.fr>
883
884 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
885 with -DPROTOTYPES.
886
ed4c619a
AC
8872003-04-02 Andrew Cagney <cagney@redhat.com>
888
889 * gdb.base/callfuncs.exp: Make "print add" messages unique.
890 * gdb.base/ending-run.exp: Put spaces around "breakpoint" to stop
891 matching directories by the name breakpoint.
892 * gdb.base/pointers.exp: Make "ptype pppC" message consistent.
893 Make "continue to marker1" consistent.
894 * gdb.base/call-rt-st.exp: Make "finish out from loop_count"
895 message consistent.
896 * lib/gdb.exp: Put "the program is no longer running", and "the
897 program exited" in parenthesis.
898 * lib/mi-support.exp: Ditto.
899
4e35d5f0
BR
9002003-04-02 Bob Rossi <bob_rossi@cox.net>
901
902 * gdb.mi/mi-file.exp: New file for -file-list-exec-source-file.
903
71900fe8
AC
9042003-03-29 Andrew Cagney <cagney@redhat.com>
905
906 * gdb.base/sizeof.c (main): Print the value of '\377'.
907 * gdb.base/sizeof.exp: Check the sign of '\377'.
908
c0655a16
MC
9092003-03-27 Michael Chastain <mec@shout.net>
910
911 * gdb.base/gdb1090.exp: New file.
912 * gdb.base/gdb1090.cc: New file.
913
5b2a3989
JB
9142003-03-27 J. Brobecker <brobecker@gnat.com>
915
916 * gdb.gdb/observer.exp: New regression test.
917
79876890
MC
9182003-03-27 Michael Chastain <mec@shout.net>
919
920 * gdb.base/list.exp: Remove setup_xfail_format for DWARF 1.
921 * gdb.base/ptype.exp: Likewise.
922
6eac95e3
CV
9232003-03-27 Corinna Vinschen <vinschen@redhat.com>
924
925 * gdb.c++/casts.exp: Fix startup to run also on embedded targets.
926
e8c71839
MC
9272003-03-26 Michael Chastain <mec@shout.net>
928
929 * gdb.base/ptype.exp: Actually use some typedef'd types.
930
71b10041
SC
9312003-03-21 Stephane Carrez <stcarrez@nerim.fr>
932
933 * gdb.asm/asm-source.exp: Set asm-arch for m6811 and m6812.
934 * gdb.asm/m68hc11.inc: New file for HC11/HC12 macros.
935
2512cf80
CV
9362003-03-20 Corinna Vinschen <vinschen@redhat.com>
937
938 * gdb.base/default.exp: Fix regular expression.
939
0d195a4f
CV
9402003-03-20 Corinna Vinschen <vinschen@redhat.com>
941
942 * gdb.base/args.exp: Fix regular expression.
943
8a2dbca8
CV
9442003-03-20 Corinna Vinschen <vinschen@redhat.com>
945
946 * gdb.base/help.exp: Allow Win32 child process.
947
bf028682
CV
9482003-03-20 Corinna Vinschen <vinschen@redhat.com>
949
950 * gdb.base/ending-run.exp: Check for Cygwin specific wrapper function
951 when stepping out of main().
952
182dbe85
CV
9532003-03-20 Corinna Vinschen <vinschen@redhat.com>
954
955 * gdb.base/default.exp: Check for win32 specific message when calling
956 "run" without executable.
957
d67a6ba5
CV
9582003-03-20 Corinna Vinschen <vinschen@redhat.com>
959
960 * gdb.base/args.exp: Expect .exe in output.
961
a955b5bb
CV
9622003-03-20 Corinna Vinschen <vinschen@redhat.com>
963
964 * gdb.asm/asm-source.exp: Add appropriate --entry linker flag for
965 Cygwin native.
966
bf6bad4b
AC
9672003-03-17 Andrew Cagney <cagney@redhat.com>
968
969 From Elena Zannoni <ezannoni@redhat.com>. Test e500 abi and
970 vector registes.
971 * gdb.arch/e500-regs.c, gdb.arch/e500-regs.exp: New files.
972 * gdb.arch/e500-abi.c, gdb.arch/e500-abi.exp: New files.
973
293e9a31
DC
9742003-03-17 David Carlton <carlton@math.stanford.edu>
975
976 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): New
977 test, for PR breakpoints/38.
978 Call test_watchpoint_and_breakpoint.
979 * gdb.base/watchpoint.c (func3): New function.
980 (main): Call func3.
981
5330f2db
DC
9822003-03-04 David Carlton <carlton@math.stanford.edu>
983
984 * gdb.c++/templates.exp (do_tests): Accept valid const in "print
985 Garply<Garply<char> >:: garply".
986 (test_ptype_of_templates): KFAIL "ptype T5<int>" and "ptype t5i"
987 with respect to PR c++/1111; note also PR c++/1113.
988 (test_template_breakpoints): KFAIL "constructor breakpoint" with
989 respect to PR c++/1062.
990 KFAIL "destructor breakpoint" with respect to PR c++/1112.
991
6ece72da
DC
9922003-03-03 David Carlton <carlton@math.stanford.edu>
993
994 * gdb.c++/classes.exp (test_enums): KFAIL "ptype obj_with_enum"
995 with respect to PR c++/57.
996 KFAIL "print (ClassWithEnum::PrivEnum) 42" with respect to PR
997 c++/826.
998 Create "print ('ClassWithEnum::PrivEnum') 42"; KFAIL it with
999 respect to PR c++/57.
1000
85ca1584
DC
10012003-03-03 David Carlton <carlton@math.stanford.edu>
1002
1003 * gdb.c++/templates.exp (do_tests): Convert the KFAILs with
1004 respect to PR c++/33 into FAILs.
1005
98e9c5b8
MC
10062003-03-03 Michael Chastain <mec@shout.net>
1007
7bedbf27
MC
1008 * configure.in: Update copyright years.
1009
10102003-03-03 Michael Chastain <mec@shout.net>
1011
1012 * Makefile.in: Update copyright years.
98e9c5b8 1013
f683e100
DC
10142003-02-28 David Carlton <carlton@math.stanford.edu>
1015
1016 * gdb.c++/classes.exp (test_ptype_class_objects): Accept it if we
1017 print class instead of struct and/or superfluous protection
1018 specifiers, as long as the resulting output is equivalent to the
1019 source code.
1020 Delete FIXME from end of messages on tests that don't need
1021 fixing.
1022
a9e0cf2c
DC
10232003-02-28 David Carlton <carlton@math.stanford.edu>
1024
1025 * gdb.c++/templates.exp (do_tests): Allow const in the two
1026 Foo<volatile char *>::foo tests.
1027
e8d359df
MS
10282003-02-27 Michael Snyder <msnyder@redhat.com>
1029
1030 * gdb.base/restore.c (main): Return zero, so exit code
1031 will be consistant.
1032
0b71dc91
DC
10332003-02-26 David Carlton <carlton@math.stanford.edu>
1034
1035 * gdb.c++/templates.exp (do_tests): KFAIL the "print Foo<volatile
1036 char *>::foo" test with respect to PR c++/33. Create a new test
1037 which is identical to that one except that it doesn't put the
1038 space between the "char" and the "*"; KFAIL it, too.
1039
dd14ab43
DC
10402003-02-26 David Carlton <carlton@math.stanford.edu>
1041
1042 * gdb.c++/templates.exp (do_tests): Convert XFAILs about printing
1043 template types into either PASSes or KFAILs (corresponding to PR
1044 c++/57). Tweak indentation. Update copyright.
1045
1146c7f1
SC
10462003-02-23 Stephane Carrez <stcarrez@nerim.fr>
1047
1048 * lib/gdb.exp: Don't execute C++ tests on m6811/m6812 targets.
1049
74641dfb
MC
10502003-02-13 Michael Chastain <mec@shout.net>
1051
1052 * gdb.base/exprs.exp: Remove i960 remnants.
1053 * gdb.base/funcargs.exp: Likewise.
1054 * gdb.base/list.exp: Likewise.
1055 * gdb.base/ptype.exp: Likewise.
1056
559cd2d0
DC
10572003-02-14 David Carlton <carlton@math.stanford.edu>
1058
1059 * gdb.c++/virtfunc.exp (test_virtual_calls): Change 'print
1060 pEe->D::vg()" from XFAIL to KFAIL.
1061
c4f90d87
JM
10622003-02-13 Jason Molenda (jmolenda@apple.com)
1063
1064 * gdb.base/maint.exp: Update maint print statistics regexp to include
1065 new entries.
1066
cbc4d97c
MC
10672003-02-13 Michael Chastain <mec@shout.net>
1068
1069 * gdb.c++/inherit.exp: Remove call to get_debug_format.
1070
40f235b7
MC
10712003-02-12 Michael Chastain <mec@shout.net>
1072
1073 * gdb.c++/classes.exp: Remove setup_xfail_format for DWARF 1.
1074 * gdb.c++/inherit.exp: Likewise.
1075 * gdb.c++/cplusfuncs.exp: Remove suppression logic for DWARF 1.
1076 * gdb.c++/templates.exp: Likewise.
1077 * gdb.c++/virtfunc.exp: Likewise.
1078
c56716b0
JM
10792003-02-06 Jason Molenda (jason-cl@molenda.com)
1080
1081 * gdb.mi/mi-syn-frame.c (subroutine): Add a comment explaining
1082 why the code is written that way.
1083
070afcf8
MC
10842003-02-05 Michael Chastain <mec@shout.net>
1085
1086 * gdb.base/dump.exp: Add missing copyright line.
1087
5d0331e5
JM
10882003-02-05 Jason Molenda (jason-cl@molenda.com)
1089
f7ae6d3e 1090 * gdb.mi/mi-syn-frame.c (subroutine): Add an extra statement
5d0331e5
JM
1091 at the beginning so the breakpoint doesn't get set on the loop.
1092
92851186
MC
10932003-02-05 Michael Chastain <mec@shout.net>
1094
1095 * gdb.c++/local.exp: Relax the test for PR gdb/825 to accept
1096 output for configurations with gcc 2.95.3.
1097
cbf1e085
AC
10982003-02-05 Keith Seitz <keiths@redhat.com>
1099 Andrew Cagney <ac131313@redhat.com>
1100
1101 * gdb.mi/mi-cli.exp: New file.
1102
29518e1e
MC
11032003-02-04 Michael Chastain <mec@shout.net>
1104
1105 * gdb.c++/anon-union.exp: Do not call gdb_suppress_entire_file.
1106 Call perror and then continue.
1107
5af1d5f3
MC
11082003-02-03 Michael Chastain <mec@shout.net>
1109
1110 * gdb.c++/pr-1023.cc: New file.
1111 * gdb.c++/pr-1023.exp: New file.
1112
6b549786
JB
11132003-02-05 Jim Blandy <jimb@redhat.com>
1114
1115 * gdb.c++/local.exp: Don't expect Local to be in scope in main;
1116 it's local to foobar. Check for it there, and check that it's not
1117 present in main.
1118 * gdb.c++/local.cc (marker2): New function.
1119 (foobar): Call marker1.
1120 (main): Call marker2 instead of marker1.
1121
67f16606
AC
11222003-02-04 Andrew Cagney <ac131313@redhat.com>
1123
1124 * gdb.disasm/mn10200.exp: Obsolete file.
1125 * gdb.trace/Makefile.in (clean mostlyclean): Remove mn10200.
1126 * gdb.disasm/Makefile.in (clean mostlyclean): Remove mn10200.
1127 * gdb.base/watchpoint.exp: Mark the mn10200 xfails as obsolete.
1128
1c5cb38e
DC
11292003-02-04 David Carlton <carlton@math.stanford.edu>
1130
1131 * gdb.c++/overload.exp: Test intToChar(1).
1132 * gdb.c++/overload.cc (intToChar): New.
1133 (main): Call intToChar.
1134
d1fe6965
DC
11352003-02-03 David Carlton <carlton@math.stanford.edu>
1136
1137 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): Add
1138 'might_kfail' arg.
1139 KFAIL some of the continue_to_bp_overloaded calls, according to
1140 PR c++/1025.
1141
9ba61c5d
MC
11422003-02-01 Michael Chastain <mec@shout.net>
1143
1144 * gdb.base/advance.c (marker1): New marker function.
1145 * gdb.base/advance.exp: When the 'advance' command lands on the
1146 return breakpoint, it can legitimately stop on either the
1147 current line or the next line. Accommodate both outcomes.
1148 * gdb.base/until.exp: Likewise.
1149
e7494ffb
AC
11502003-02-02 Andrew Cagney <ac131313@redhat.com>
1151
1152 2002-11-10 Jason Molenda (jason-cl@molenda.com):
1153 * gdb.mi/mi-var-child.exp: -var-list-children's CHILDREN field is
1154 now a list, not a tuple.
1155 * gdb.mi/mi-var-display.exp: Ditto.
1156 * gdb.mi/gdb792.exp: Ditto.
1157
075559bc
AC
11582003-02-01 Andrew Cagney <ac131313@redhat.com>
1159
1160 From 2002-11-09 Jason Molenda (jason-cl@molenda.com):
1161 * gdb.mi/mi-syn-frame.exp: New tests for synthetic frames in
1162 stack backtraces.
1163 * gdb.mi/mi-syn-frame.c: Part of same.
1164
2bd4c7b1
MK
11652003-02-01 Mark Kettenis <kettenis@gnu.org>
1166
1167 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
1168 gdb.mi/mi1-pthreads.exp: Return instead of calling
1169 gdb_suppress_entire_file.
1170
eabd8992
MS
11712003-02-01 Mark Salter <msalter@redhat.com>
1172
1173 * gdb.asm/arm.inc (gdbasm_startup): Clear frame pointer, not sp.
1174
71469e2f
MS
11752003-01-31 Mark Salter <msalter@redhat.com>
1176
1177 * lib/mi-support.exp (mi_gdb_load): Support remote targets.
1178 Support empty arg.
1179
38a94d44
MC
11802003-01-30 Michael Chastain <mec@shout.net>
1181
1182 * lib/gdb.exp: Revert patch of 2003-01-06, which set LC_ALL.
1183 This was a workaround for a UTF-8 bug in readline 4.3. The bug
1184 has been fixed in gdb/readline on 2003-01-09.
1185
19ea9e73
MS
11862003-01-29 Michael Snyder <msnyder@redhat.com>
1187
e8d359df
MS
1188 * gdb.base/maint.exp: Allow for leading underscore in symbol.
1189 * gdb.base/display.exp: Allow for leading underscore in symbol.
19ea9e73
MS
1190 * gdb.base/args.exp: Skip if target does not support args passing.
1191
2307bd6a
DJ
11922003-01-22 Daniel Jacobowitz <drow@mvista.com>
1193
19ea9e73 1194 * lib/gdb.exp (gdb_test_multiple): New function, cloned from
2307bd6a
DJ
1195 gdb_test. Accept a list of expect arguments as the third
1196 parameter.
1197 (gdb_test): Use it.
1198
f2dd3617
EZ
11992003-01-20 Elena Zannoni <ezannoni@redhat.com>
1200
1201 * gdb.arch/altivec-abi.exp: Set variable 'srcfile' differently, to
1202 allow for different test tree configurations. Update some
1203 tescases accordingly.
1204 * gdb.arch/altivec-regs.exp: Ditto.
1205 * gdb.asm/asm-source.exp: Ditto.
1206 * gdb.base/advance.exp: Ditto.
1207 * gdb.base/display.exp: Ditto.
1208 * gdb.base/long_long.exp: Ditto.
1209 * gdb.base/mips_pro.exp: Ditto.
1210 * gdb.base/overlays.exp: Ditto.
1211 * gdb.base/relocate.exp: Ditto.
1212 * gdb.base/setshow.exp: Ditto.
1213 * gdb.base/step-line.exp: Ditto.
1214 * gdb.base/step-test.exp: Ditto.
1215 * gdb.base/until.exp: Ditto.
1216 * gdb.c++/virtfunc.exp: Get rid of variable 'src'.
1217
c71cdefd
DC
12182003-01-17 David Carlton <carlton@math.stanford.edu>
1219
1220 * gdb.c++/demangle.exp (test_lucid_style_demangling): KFAIL test
1221 corresponding to PR c++/945.
1222 Update copyright.
1223
fdba05d7
DC
12242003-01-17 David Carlton <carlton@math.stanford.edu>
1225
1226 * gdb.c++/inherit.exp (test_print_mi_members): KFAIL tests
1227 corresponding to PR c++/68.
1228
12292003-01-17 David Carlton <carlton@math.stanford.edu>
d2b29e01
DC
1230
1231 * gdb.c++/cplusfuncs.exp (print_addr_2_kfail): New procedure.
1232 (test_paddr_hairy_functions): Call print_addr_2_kfail for
1233 hairyfunc5 through hairyfunc7. KFAIL for PR c++/19.
1234
c362c33a
EZ
12352003-01-15 Elena Zannoni <ezannoni@redhat.com>
1236
0fbc361c
EZ
1237 * gdb.base/break.exp: Fix change of default location, because of
1238 removal of until tests.
1239 * gdb.base/help.exp: Update test for new 'until' help message.
1240 Add test for help on 'advance'.
c362c33a
EZ
1241 * gdb.base/args.exp: Fix foobar with GDBFLAGS global.
1242
dabf8a35
MK
12432003-01-15 Mark Kettenis <kettenis@gnu.org>
1244
1245 * gdb.base/default.exp: Adapt "info float" test for recent changes
1246 to that command. Add test for "info vector".
1247 * gdb.base/float.exp: New file. Add test for "info float" that
1248 resembles the old test in gdb.base/default.exp.
1249
a1769aca
DC
12502003-01-15 David Carlton <carlton@math.stanford.edu>
1251
1252 * gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot.
1253
82025e13
EZ
12542003-01-15 Elena Zannoni <ezannoni@redhat.com>
1255
1256 * gdb.base/break.exp: Move the tests of until command from here...
1257 * gdb.base/until.exp: ... to here. New file. Add other tests.
1258 * gdb.base/advance.c: New file.
1259 * gdb.base/advance.exp: New file.
1260
8f9ab801
EZ
12612003-01-14 Elena Zannoni <ezannoni@redhat.com>
1262
1263 * gdb.base/args.c: New file.
1264 * gdb.base/args.exp: New file.
1265
9ae66589
DJ
12662003-01-14 Daniel Jacobowitz <drow@mvista.com>
1267
1268 * gdb.c++/virtfunc.exp: Remove fixed XFAIL.
1269
8d77e5c3
DJ
12702003-01-14 Daniel Jacobowitz <drow@mvista.com>
1271
1272 * gdb.threads/killed.exp: Use KFAIL for gdb/568.
1273
12d2f0a1
DJ
12742003-01-14 Daniel Jacobowitz <drow@mvista.com>
1275
1276 * gdb.base/constvars.exp: Remove two extra XFAILs. Update copyright
1277 dates.
1278
6ca37014
DJ
12792003-01-13 Daniel Jacobowitz <drow@mvista.com>
1280
1281 * gdb.c++/printmethod.exp (print virtual method): Accept "(void)".
1282
b0023472
DJ
12832003-01-13 Daniel Jacobowitz <drow@mvista.com>
1284
1285 * gdb.base/printcmds.exp: Enable setup_kfail for gdb/538
1286 (ptype &*"foo").
1287 * gdb.c++/local.exp: Enable setup_kfail for gdb/482.
1288
d6abaea5
DJ
12892002-01-13 Daniel Jacobowitz <drow@mvista.com>
1290
1291 * gdb.mi/mi-console.exp: Remove extra "(known bug)".
1292 * gdb.mi/mi1-console.exp: Likewise.
1293
dfd536a7
DJ
12942002-01-13 Daniel Jacobowitz <drow@mvista.com>
1295
1296 * gdb.mi/mi-console.exp: Add KFAIL for "Hello message (known bug)".
1297 * gdb.mi/mi1-console.exp: Likewise.
1298
a1fb14a2
DJ
12992003-01-13 Daniel Jacobowitz <drow@mvista.com>
1300
1301 * gdb.c++/overload.exp: Remove some fixed XFAILs.
1302
c4cf40b7
DJ
13032003-01-09 Daniel Jacobowitz <drow@mvista.com>
1304
1305 * gdb.base/detach.exp: New test.
1306
696d5a5b
DJ
13072003-01-09 Daniel Jacobowitz <drow@mvista.com>
1308
1309 * Makefile.in (ALL_SUBDIRS): New variable.
1310 (subdirs, clean, distclean): Use it.
1311 * gdb.arch/Makefile.in: Clean up Makefile. Remove rules for
1312 regenerating Makefile, since it is generated from the top level.
1313 * gdb.asm/Makefile.in: Likewise.
1314 * gdb.base/Makefile.in: Likewise.
1315 * gdb.c++/Makefile.in: Likewise.
1316 * gdb.disasm/Makefile.in: Likewise.
1317 * gdb.java/Makefile.in: Likewise.
1318 * gdb.mi/Makefile.in: Likewise.
1319 * gdb.threads/Makefile.in: Likewise.
1320 * gdb.trace/Makefile.in: Likewise.
1321
754533e4
DC
13222003-01-09 David Carlton <carlton@math.stanford.edu>
1323
1324 * gdb.c++/annota2.exp: KFAIL "watch triggered on a.x".
1325 Add copyright year 2003.
1326
d8b3e9ee
MC
13272003-01-06 Michael Chastain <mec@shout.net>
1328
1329 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set):
1330 When selecting a thread, 'line' and 'file' are optional.
1331 * gdb.mi/mi1-pthreads.exp: Likewise.
1332
8e9e0fe6
AS
13332003-01-06 Andreas Schwab <schwab@suse.de>
1334
1335 * lib/gdb.exp: Set LC_ALL to "C" to avoid spurious testsuite
1336 failures.
1337
b5ab8ff3
DJ
13382003-01-04 Daniel Jacobowitz <drow@mvista.com>
1339
1340 Fix PR gdb/844
1341 * lib/gdb.exp (gdb_compile): Handle "quiet" option.
1342 (gdb_compile_pthreads): Pass "quiet" to gdb_compile.
1343
1344 * gdb.threads/gcore-thread.exp: Use gdb_compile_pthreads. Return
1345 instead of calling gdb_suppress_entire_file.
1346 * gdb.threads/print-threads.exp: Likewise.
1347 * gdb.threads/schedlock.exp: Likewise.
1348
1349 * gdb.threads/killed.exp: Return instead of calling
1350 gdb_suppress_entire_file.
1351 * gdb.threads/linux-dp.exp: Likewise.
1352 * gdb.threads/pthreads.exp: Likewise.
1353
1e698235
DJ
13542003-01-04 Daniel Jacobowitz <drow@mvista.com>
1355
1356 * gdb.base/callfuncs.exp: Don't XFAIL unprototyped functions for
1357 stabs.
1358 * gdb.base/completion.exp: Allow marker1(void) as well as marker1().
1359 * gdb.base/whatis.exp: Always allow (void) after function names.
1360
147ff08c
DJ
13612003-01-04 Daniel Jacobowitz <drow@mvista.com>
1362
1363 * gdb.c++/casts.exp: Correct regexp.
1364
dc62bfc2
MK
13652003-01-04 Mark Kettenis <kettenis@gnu.org>
1366
1367 * configure.in: Call AC_CONFIG_HEADER. Don't call
1368 AC_CONFIG_SUBDIRS on gdb.arch, gdb.asm, gdb.base gdb.c++ gdb.java,
1369 gdb.disasm, gdb.mi, gdb.threads and gdb.trace. Call
1370 AC_CHECK_HEADERS on pthread.h. Put Makefiles in the
1371 aforementioned directories in the AC_OUPUT call.
1372 * config.hin: New file.
1373 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
1374 gdb.mi/mi1-pthreads.exp, gdb.threads/gcore-thread.exp,
1375 gdb.threads/killed.exp, gdb.threads/print-threads.exp,
1376 gdb.threads/pthreads.exp, gdb.threads/schedlock.exp: Make sure we
1377 pass -I$objdir instead of -I$objdir/$subdir in compilation.
1378 * gdb.arch/configure.in, gdb.arch/configure, gdb.asm/configure.in,
1379 gdb.asm/configure, gdb.base/configure.in, gdb.base/configure,
1380 gdb.c++/configure.in, gdb.c++/configure, gdb.disasm/configure.in,
1381 gdb.disasm/configure, gdb.java/configure.in, gdb.java/configure,
1382 gdb.mi/configure.in, gdb.mi/configure, gdb.mi/config.in,
1383 gdb.threads/configure.in, gdb.threads/configure,
1384 gdb.threads/config.in, gdb.trace/configure.in,
1385 gdb.trace/configure: Removed.
1386
77afa639
MC
13872003-01-03 Michael Chastain <mec@shout.net>
1388
1389 * gdb.base/miscexprs.c: Fix PR gdb/697, "buglet in
1390 testsuite/gdb.base/miscexprs.c, off-by-1 array reference".
1391
7634bb6e
DJ
13922003-01-03 Daniel Jacobowitz <drow@mvista.com>
1393
1394 * gdb.base/store.exp: Fix regular expressions.
1395
b39c905e
MK
13962002-12-28 Mark Kettenis <kettenis@gnu.org>
1397
1398 * configure.in: Rewrite.
1399 * configure: Regenerated.
1400
0a8551dd
DC
14012003-01-03 David Carlton <carlton@math.stanford.edu>
1402
1403 * gdb.base/psymtab.exp: New file.
1404 * gdb.base/psymtab1.c: Ditto.
1405 * gdb.base/psymtab2.c: Ditto.
1406
c60b7188
AF
14072002-12-23 Adam Fedor <fedor@gnu.org>
1408
1409 * gdb.base/maint.exp: Update expect output to include 'ObjC'.
1410
ee73db83
DC
14112002-12-23 David Carlton <carlton@math.stanford.edu>
1412
1413 * gdb.base/selftest.exp (do_steps_and_nexts): Allow initial brace
1414 and current_directory initialization.
1415
d6c1774e
JB
14162002-12-22 Jim Blandy <jimb@redhat.com>
1417
f0a847b8
JB
1418 * gdb.trace/tfind.exp: Pass '-O1' flag via the 'optimize' option,
1419 rather than as part of the output file name.
1420
d6c1774e
JB
1421 * gdb.base/attach.exp: There's no need to copy the test program to
1422 /tmp; that was only ever necessary on HP/UX, and this test is
1423 entirely disabled there anyway.
1424
f0708dbb
JB
14252002-12-21 Jim Blandy <jimb@redhat.com>
1426
4c2acfea
JB
1427 * gdb.c++/psmang.exp: Doc fix.
1428
f0708dbb
JB
1429 * gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: New
1430 test.
1431
9579e000
DC
14322002-12-20 David Carlton <carlton@math.stanford.edu>
1433
1434 * gdb.c++/annota2.exp: KFAIL annotate-quit.
1435
d1810171
MC
14362002-12-18 Michael Chastain <mec@shout.net>
1437
1438 * gdb.c++/annota2.exp: Add copyright year 2002.
1439
76565097
DC
14402002-12-17 David Carlton <carlton@math.stanford.edu>
1441
1442 * gdb.c++/try_catch.cc: Add marker comments.
1443 * gdb.c++/try_catch.exp: Get line numbers from marker comments.
1444 * gdb.c++/m-data.cc: Delete namespace __gnu_test.
1445 * gdb.c++/m-static.cc: Ditto.
1446 * gdb.c++/m-static1.cc: Ditto.
1447 * gdb.c++/try_catch.cc: Ditto.
1448
da81390b
JJ
14492002-12-16 Jeff Johnston <jjohnstn@redhat.com>
1450
1451 * lib/mi-support.exp (mi_reinitialize_dir): Check mi level
1452 to see whether we are using the new -environment-directory
1453 command which resets via -r or the old version of the command
1454 which may prompt the user. Part of fix for gdb/741.
1455
b304d130
AC
14562002-12-13 Andrew Cagney <ac131313@redhat.com>
1457
1458 * gdb.fortran/types.exp: Update obsolete comment.
1459 * gdb.fortran/exprs.exp: Ditto.
1460 * lib/gdb.exp: Delete obsolete code.
1461 * gdb.chill/ChangeLog, gdb.chill/Makefile.in: Delete.
1462 * gdb.chill/builtins.ch, gdb.chill/builtins.exp: Delete.
1463 * gdb.chill/callch.ch, gdb.chill/callch.exp: Delete.
1464 * gdb.chill/chexp.exp, gdb.chill/chillvars.ch: Delete.
1465 * gdb.chill/chillvars.exp, gdb.chill/configure: Delete.
1466 * gdb.chill/configure.in, gdb.chill/enum.ch: Delete.
1467 * gdb.chill/enum.exp, gdb.chill/func1.ch: Delete.
1468 * gdb.chill/gch1041.ch, gdb.chill/gch1041.exp: Delete.
1469 * gdb.chill/gch1272.ch, gdb.chill/gch1272.exp: Delete.
1470 * gdb.chill/gch1280.ch, gdb.chill/gch1280.exp: Delete.
1471 * gdb.chill/gch922.ch, gdb.chill/gch922.exp: Delete.
1472 * gdb.chill/gch981.ch, gdb.chill/gch981.exp: Delete.
1473 * gdb.chill/misc.ch, gdb.chill/misc.exp: Delete.
1474 * gdb.chill/powerset.ch, gdb.chill/powerset.exp: Delete.
1475 * gdb.chill/pr-4975-grt.ch, gdb.chill/pr-4975.ch: Delete.
1476 * gdb.chill/pr-4975.exp, gdb.chill/pr-5016.ch: Delete.
1477 * gdb.chill/pr-5016.exp, gdb.chill/pr-5020.ch: Delete.
1478 * gdb.chill/pr-5020.exp, gdb.chill/pr-5022.ch: Delete.
1479 * gdb.chill/pr-5022.exp, gdb.chill/pr-5646-grt.ch: Delete.
1480 * gdb.chill/pr-5646.ch, gdb.chill/pr-5646.exp: Delete.
1481 * gdb.chill/pr-5984.ch, gdb.chill/pr-5984.exp: Delete.
1482 * gdb.chill/pr-6292.ch, gdb.chill/pr-6292.exp: Delete.
1483 * gdb.chill/pr-6632-grt.ch, gdb.chill/pr-6632.ch: Delete.
1484 * gdb.chill/pr-6632.exp, gdb.chill/pr-8134.exp: Delete.
1485 * gdb.chill/pr-8136.ch, gdb.chill/pr-8136.exp: Delete.
1486 * gdb.chill/pr-8405.ch, gdb.chill/pr-8405.exp: Delete.
1487 * gdb.chill/pr-8742.ch, gdb.chill/pr-8742.exp: Delete.
1488 * gdb.chill/pr-8894-grt.ch, gdb.chill/pr-8894.ch: Delete.
1489 * gdb.chill/pr-8894.exp, gdb.chill/pr-9095.ch: Delete.
1490 * gdb.chill/pr-9095.exp, gdb.chill/pr-9946.ch: Delete.
1491 * gdb.chill/pr-9946.exp, gdb.chill/result.ch: Delete.
1492 * gdb.chill/result.exp, gdb.chill/string.ch: Delete.
1493 * gdb.chill/string.exp, gdb.chill/tests1.ch: Delete.
1494 * gdb.chill/tests1.exp, gdb.chill/tests2.ch: Delete.
1495 * gdb.chill/tests2.exp, gdb.chill/tuples.ch: Delete.
1496 * gdb.chill/tuples.exp, gdb.chill/xstruct-grt.ch: Delete.
1497 * gdb.chill/xstruct.ch, gdb.chill/xstruct.exp: Delete.
1498
a23b6e6a
DC
14992002-12-11 David Carlton <carlton@math.stanford.edu>
1500
1501 * gdb.c++/m-data.exp: Add test for members that shadow global
1502 variables: see PR gdb/804.
1503 * gdb.c++/m-data.cc: Ditto.
1504
6604731b
DJ
15052002-12-10 Daniel Jacobowitz <drow@mvista.com>
1506
1507 * gdb.base/foll-vfork.exp: Re-enable test on HP/UX.
1508
de46ecd7
DC
15092002-12-06 David Carlton <carlton@math.stanford.edu>
1510
1511 * gdb.base/store.c: Don't declare functions static.
1512
27e829d0
AC
15132002-12-04 Andrew Cagney <ac131313@redhat.com>
1514
1515 * gdb.base/store.exp, gdb.base/store.c: New files.
1516
92806416
DJ
15172002-12-03 Daniel Jacobowitz <drow@mvista.com>
1518
1519 * gdb.base/selftest.exp: Update for current gdb.
1520
3bcbaac5
DJ
15212002-12-03 Daniel Jacobowitz <drow@mvista.com>
1522
1523 * gdb.base/maint.exp: Only dump symbols from one source file
1524 or objfile.
1525
f4f00b1f
DJ
15262002-12-03 Daniel Jacobowitz <drow@mvista.com>
1527
1528 * gdb.base/step-test.exp: Allow MIPS to return to the line of a
1529 function call.
1530
f1c8a949
JB
15312002-11-25 Jim Blandy <jimb@redhat.com>
1532
1533 * lib/mi-support.exp (mi_delete_breakpoints): Change name of
1534 function appearing in error message.
1535
9e297a97
DJ
15362002-11-21 Daniel Jacobowitz <drow@mvista.com>
1537
1538 * gdb.base/maint.exp (help maint dump-me): Update with typo fix.
1539
1f312e79
JJ
15402002-11-08 Jeff Johnston <jjohnstn@redhat.com>
1541
1542 * lib/mi-support.exp (mi_gdb_start): Verify the startup message
1543 for mi1 and current mi is in correct format. New mi startup message
1544 should be in mi console format. This is part of fix for PR gdb/604.
1545
83c31e7d
FN
15462002-09-18 Fernando Nasser <fnasser@redhat.com>
1547
1548 * gdb.asm/asm-source.exp: Adjust patter to new disassembler routine
1549 which explicitly prints the zero offset as "+0".
1550
322b3f65
DJ
15512002-10-22 Daniel Jacobowitz <drow@mvista.com>
1552
1553 * gdb.threads/schedlock.c (args): Make unsigned.
1554
15552002-10-21 Daniel Jacobowitz <drow@mvista.com>
1556
1557 * gdb.asm/asm-source.exp: Add "mips*-*" pattern. Update line
1558 numbers. Allow "foo2|selected stack frame".
1559 * gdb.asm/asmsrc1.s: Use gdbasm_declare and gdbasm_end.
1560 * gdb.asm/asmsrc2.s: Likewise.
1561 * gdb.asm/common.inc: Define gdbasm_declare and gdbasm_end. Update
1562 comments.
1563 * gdb.asm/mips.inc: New file.
1564
5e2fe5b8
AF
15652002-10-18 Adam Fedor <fedor@gnu.org>
1566
1567 * gdb.base/default.exp: Update expected output to include 'ObjC'.
1568 * gdb.base/help.exp: Likewise.
1569
abe1a5d0
KB
15702002-10-17 Kevin Buettner <kevinb@redhat.com>
1571
1572 * gdb.base/constvars.c (struct crass, struct crisp): New structs.
1573 * gdb.base/constvars.exp (ptype crass, ptype crisp): New tests.
1574
10abb1d4
JB
15752002-10-02 Jim Blandy <jimb@redhat.com>
1576
1577 * gdb.c++/casts.cc, gdb.c++/casts.exp: New test.
1578
1f609b42
AC
15792002-10-01 Andrew Cagney <ac131313@redhat.com>
1580
1581 * mi1-basics.exp: Copy of mi1-basics.exp MIFLAGS set "-i=mi1".
1582 * mi1-break.exp, mi1-console.exp, mi1-disassemble.exp: Ditto.
1583 * mi1-eval.exp, mi1-hack-cli.exp, mi1-pthreads.exp: Ditto.
1584 * mi1-read-memory.exp, mi1-regs.exp, mi1-return.exp: Ditto.
1585 * mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp: Ditto.
1586 * mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp: Ditto.
1587 * mi1-var-cmd.exp, mi1-var-display.exp, mi1-watch.exp: Ditto.
1588
0aee02e4
AC
15892002-09-29 Andrew Cagney <ac131313@redhat.com>
1590
1591 * mi0-basics.exp, mi0-break.exp, mi0-console.exp: Delete.
1592 * mi0-disassemble.exp, mi0-eval.exp: Delete.
1593 * mi0-hack-cli.exp, mi0-read-memory.exp: Delete.
1594 * mi0-regs.exp, mi0-return.exp, mi0-simplerun.exp: Delete.
1595 * mi0-stack.exp, mi0-stepi.exp, mi0-until.exp: Delete.
1596 * mi0-var-block.exp, mi0-var-child.exp: Delete.
1597 * mi0-var-cmd.exp, mi0-var-display.exp, mi0-watch.exp: Delete.
1598
6fde09ad
KB
15992002-09-27 Kevin Buettner <kevinb@redhat.com>
1600
1601 * gdb.base/annota1.exp (info break): Make directory components of
1602 path optional since not all compilers emit this debug information.
1603
1604 * gdb.base/shlib-call.exp (step inside shr2): Don't fail if first
1605 step ends up stepping out of the function instead of stopping on
1606 the epilogue.
1607
9e8aab75
KS
16082002-09-26 Keith Seitz <keiths@redhat.com>
1609
1610 * lib/insight-support.exp (gdbtk_start): Figure out where
1611 the insight executable is based on where gdb is. Use this
1612 executable to start insight instead of gdb.
1613
e36180d7
AC
16142002-09-25 Andrew Cagney <cagney@redhat.com>
1615
1616 * gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
1617
9dd34b2b
AC
16182002-09-24 Andrew Cagney <ac131313@redhat.com>
1619
1620 * gdb.gdb/complaints.exp (test_initial_complaints): Rename
1621 test_isolated_complaints.
1622 (test_empty_complaint): New function.
1623 (test_empty_complaints): New function. Check no output when no
1624 complaints.
1625
dea97812
KB
16262002-09-19 Jim Blandy <jimb@redhat.com>
1627
1628 * gdb.base/charset.exp, gdb.base/charset.c: New files.
1629
54951bd7
AC
16302002-09-19 Andrew Cagney <ac131313@redhat.com>
1631
1632 * gdb.gdb/complaints.exp: New file.
1633
dec43320
AC
16342002-09-18 Andrew Cagney <ac131313@redhat.com>
1635
1636 * gdb.base/maint.exp: Check `help maint internal-warning'.
1637
e70d6e3f
DC
16382002-09-18 David Carlton <carlton@math.stanford.edu>
1639
1640 * gdb.c++/m-static.exp: Remove breakpoints depending on line
1641 numbers, and replace them by a single breakpoint after the
1642 constructors are all finished.
1643 Add test 4.
1644 * gdb.c++/m-static.cc: Add test 4.
1645 * gdb.c++/m-static.h: New file.
1646 * gdb.c++/m-static1.cc: New file.
1647
1648 * gdb.c++/printmethod.exp: New file.
1649 * gdb.c++/printmethod.cc: New file.
1650
1651 * gdb.c++/pr-574.exp: New file.
1652 * gdb.c++/pr-574.cc: New file.
1653
afb5c968
CV
16542002-09-18 Corinna Vinschen <vinschen@redhat.com>
1655
1656 * gdb.base/ending-run.exp: Add handling of "step to end of run" for
1657 embedded targets which never actually exit.
1658
31e45dee
FN
16592002-09-18 Fernando Nasser <fnasser@redhat.com>
1660
1661 * gdb.base/ending-run.exp: Properly mark "continue after exit" and
1662 "don't step after run" as unresolved or unsupported, instead of xfail.
1663
a283c5a1
CV
16642002-09-18 Corinna Vinschen <vinschen@redhat.com>
1665
1666 * gdb.base/ending-run.exp: Fix expected string for _wrap_main to
1667 allow correct handling of #ifdef UNDERSCORES from dejagnu/testglue.c.
1668 Add newline to expected string in "step out of main (status wrapper)"
1669 case.
1670
11350d2a
CV
16712002-09-18 Corinna Vinschen <vinschen@redhat.com>
1672
1673 * lib/gdb.exp (rerun_to_main): Allow restarting application.
1674 * gdb.base/ena-dis-br.exp (rerun_to_main): Eliminate.
1675
0deec7d6
TT
16762002-09-17 Tom Tromey <tromey@redhat.com>
1677
1678 * gdb.base/printcmds.exp (test_print_string_constants): Expect
1679 \000, not \0, in double-quoted string.
1680
b2b4a1b5
CV
16812002-09-14 Corinna Vinschen <vinschen@redhat.com>
1682
c9d37158 1683 * gdb.base/commands.exp: Don't expect a "Program exited normally"
b2b4a1b5
CV
1684 string after running the commands execution on breakpoint tests.
1685
1c56143a
CV
16862002-09-13 Corinna Vinschen <vinschen@redhat.com>
1687
1688 * lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.
1689
37f8da45
JB
16902002-09-12 Joel Brobecker <brobecker@gnat.com>
1691
1692 * gdb.base/call-strs.exp: Fix a small typo in one of the comments.
1693
08b468e0
KS
16942002-09-10 Keith Seitz <keiths@redhat.com>
1695
1696 * lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
1697 runto proc.
1698 (mi_run_to_main): Use mi_runto.
1699 (mi_execute_to): Renamed from mi_run_to. Changed all callers.
1700
dc360f58
KS
17012002-09-10 Keith Seitz <keiths@redhat.com>
1702
1703 * lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
1704 regexp for stopping at main. Could have multiple event notifications.
1705 Don't assume that main was declared with no parameters.
1706 (mi_next): Use mi_step_to.
1707 (mi_step): Use mi_next_to.
1708
ce3abcfb
CV
17092002-09-09 Corinna Vinschen <vinschen@redhat.com>
1710
1711 * gdb.base/default.exp: Fix expected string in `info float' test.
1712
d1f5b980
BE
17132002-09-09 Ben Elliston <bje@redhat.com>
1714
1715 * config/mips.exp: Update comments.
1716 * config/mips-idt.exp: Likewise.
1717 * config/nind.exp: Likewise.
1718 * config/slite.exp: Likewise.
1719 * config/sparclet.exp: Likewise.
1720 * config/udi.exp: Likewise.
1721 * config/vx.exp: Likewise.
1722 * config/vxworks29k.exp: Likewise.
1723
2f71430b
JB
17242002-09-05 Jim Blandy <jimb@redhat.com>
1725
1726 * gdb.threads/killed.exp: Fix test failure message.
1727
7ddebc7e
KS
17282002-09-04 Keith Seitz <keiths@redhat.com>
1729
1730 * lib/mi-support.exp: Update copyright.
1731 (mi_gdb_test): Increase the priority of the expected pattern
1732 so that it matches gdb_test.
1733
0ae67eb3
KS
17342002-09-03 Keith Seitz <keiths@redhat.com>
1735
1736 * lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
1737 Use integer comparison instead of string comparison for testing
1738 whether binary was built.
1739
38fc42c8
JB
17402002-09-03 Jim Blandy <jimb@redhat.com>
1741
1742 * gdb.threads/killed.exp, gdb.threads/killed.c: New test.
1743
b6ff0e81
JB
17442002-08-29 Jim Blandy <jimb@redhat.com>
1745
1746 * gdb.threads/pthreads.exp: Move the portable thread compilation
1747 code into a function in lib/gdb.exp, and call that from here.
1748 * lib/gdb.exp (gdb_compile_pthreads): New function.
1749
07c98896
KS
17502002-08-29 Keith Seitz <keiths@redhat.com>
1751
1752 * lib/mi-support.exp (mi_gdb_test): Add global declaration for
1753 expect_out so that callers can get at it.
1754
0312286c
DJ
17552002-08-23 Daniel Jacobowitz <drow@mvista.com>
1756
1757 * gdb.threads/print-threads.c: New file.
1758 * gdb.threads/print-threads.exp: New file.
1759 * gdb.threads/schedlock.c: New file.
1760 * gdb.threads/schedlock.exp: New file.
1761
dd039bc4
EZ
17622002-08-22 Elena Zannoni <ezannoni@redhat.com>
1763
1764 * gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
1765 not altivec.c.
1766
1f36144c
MK
17672002-08-17 Mark Kettenis <kettenis@gnu.org>
1768
1769 * gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
1770 targets. The problem should be fixed now.
1771
16057ec7 17722002-08-15 Mark Kettenis <kettenis@gnu.org>
5415e7c5
MK
1773
1774 * gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
1775 2002-07-24 change that removes final dots from error messages.
1776
3c1499ad
TT
17772002-08-13 Tom Tromey <tromey@redhat.com>
1778
1779 * gdb.base/readline.exp: New file.
1780
a20ce2c3
AC
17812002-08-01 Andrew Cagney <ac131313@redhat.com>
1782
1783 * lib/gdb.exp (gdb_expect_list): Only print one pass, fail, or
1784 supress message.
1785
db034ac5
AC
17862002-08-01 Andrew Cagney <cagney@redhat.com>
1787
1788 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL,
1789 CHILL_FOR_TARGET and CHILL_LIB.
1790 * configure.in (configdirs): Remove gdb.chill.
1791 * configure: Regenerate.
1792 * lib/gdb.exp: Obsolete references to chill.
1793 * gdb.fortran/types.exp: Ditto.
1794 * gdb.fortran/exprs.exp: Ditto.
1795
3e000b18
KB
17962002-07-30 Kevin Buettner <kevinb@redhat.com>
1797
1798 * gdb.base/shlib-call.exp (additional_flags): Conditionally
1799 set Irix-specific compile and link flags.
1800
28f4966b
KB
18012002-07-29 Kevin Buettner <kevinb@redhat.com>
1802
1803 * lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
1804 source files. The ``-o'' option doesn't work with the ``-E'' option
1805 when using the Irix compiler.
1806
46c0d5a6
DJ
18072002-07-19 Daniel Jacobowitz <drow@mvista.com>
1808
1809 * config/gdbserver.exp (gdb_load): Don't use TCL varargs.
1810 Improve support for reusing an exec file. Copy exec file
1811 to target, and run gdbserver on the target instead of on the host.
1812
eecf4bed
JB
18132002-07-18 Jim Blandy <jimb@redhat.com>
1814
0f815cdf
JB
1815 * gdb.base/ending-run.exp: Don't expect to see the program end in
1816 some orderly fashion when we're running on a real stand-alone
1817 board.
1818
eecf4bed
JB
1819 * gdb.base/interrupt.exp: Correct logic for skipping tests on
1820 targets that don't support interrupts.
1821
52d309e4
JB
18222002-07-10 Paul N. Hilfinger <hilfingr@otisco.mckusick.com>
1823
1824 * gdb.base/attach.exp: Add patterns to match output from /proc-based
1825 systems.
1826 Move comments in expect statements to inside the actions, so that they
1827 don't get matched against.
1828
ff683d9e
MK
18292002-07-10 Mark Kettenis <kettenis@gnu.org>
1830
1831 * gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
1832 function when asleep" test.
1833
b5356753
AC
18342002-07-10 Andrew Cagney <ac131313@redhat.com>
1835
1836 * gdb.base/page.exp: Rewrite to handle problems with very long
1837 `info set' output. Update copyright.
1838
6aa4d13a
AC
18392002-06-26 Andrew Cagney <ac131313@redhat.com>
1840
1841 * gdb.hp/configure.in (AC_CONFIG_SUBDIRS): Do not try to configure
1842 gdb.threads-hp.
1843 * gdb.hp/configure: Regenerate.
1844 * gdb.hp/gdb.threads-hp/configure.in: Delete file.
1845 * gdb.hp/gdb.threads-hp/configure: Delete file.
1846 * gdb.hp/gdb.threads-hp/Makefile.in: Delete file.
1847
8cf8c2b8
AC
18482002-06-22 Andrew Cagney <ac131313@redhat.com>
1849
1850 * gdb.base/selftest.exp (do_stes_and_next): Skip calls to
1851 setlocale, bindtextdomain and textdomain.
1852
6827a8f8
JB
18532002-06-11 Jim Blandy <jimb@redhat.com>
1854
919d772c
JB
1855 * lib/gdb.exp (get_debug_format): Tolerate message saying whether
1856 preprocessor macro information is present.
1857
6827a8f8
JB
1858 * macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: New
1859 tests.
1860
c15b0d21
MS
18612002-06-06 Michael Snyder <msnyder@redhat.com>
1862
c5984d70
MS
1863 * gdb.base/overlays.exp: Record addresses of overlay
1864 functions in TCL variables rather than in GDB variables,
1865 to avoid having GDB convert them to pointers (with loss
1866 of information).
1867
99a8512b
MS
1868 * gdb.base/d10v.ld: Merge in several years worth of
1869 default linker script changes.
c15b0d21
MS
1870 * gdb.base/long_long.exp: Add check for sizeof (long double).
1871
be26fe0d
ML
18722002-06-06 Michal Ludvig <mludvig@suse.cz>
1873
1874 * gdb.asm/asm-source.exp: Add x86-64 target.
1875 * gdb.asm/x86_64.inc: New.
1876
258093ca 18772002-05-30 Michael Chastain <mec@shout.net>
258093ca 1878
4b3153f1 1879 From Benjamin Kosnik <bkoz@redhat.com>:
258093ca
MC
1880 * gdb.c++/m-static.cc: New file.
1881 * gdb.c++/m-static.exp: New file.
1882
241264c6
MS
18832002-05-28 Michael Snyder <msnyder@redhat.com>
1884
1885 * gdb.base/call-ar-st.exp: Allow for reduced floating point
1886 precision.
1887
9bba8c8f 18882002-05-27 Michael Chastain <mec@shout.net>
71ea1be0 1889
4b3153f1 1890 From Benjamin Kosnik <bkoz@redhat.com>:
71ea1be0
MC
1891 * gdb.c++/m-data.cc: New file.
1892 * gdb.c++/m-data.exp: New file.
1893
18942002-05-27 Michael Chastain <mec@shout.net>
9bba8c8f 1895
4b3153f1 1896 From Benjamin Kosnik <bkoz@redhat.com>:
9bba8c8f
MC
1897 * gdb.c++/try_catch.cc: New file.
1898 * gdb.c++/try_catch.exp: New file.
1899
def1b996
MC
19002002-05-27 Michael Chastain <mec@shout.net>
1901
1902 * gdb.c++/local.exp: Accept more nested types in output.
1903
522ba268
MC
19042002-05-26 Michael Chastain <mec@shout.net>
1905
1906 * gdb.base/call-rt-st.exp: Fix typo in brace quoting.
1907
277254ba
MS
19082002-05-15 Nick Clifton <nickc@cambridge.redhat.com>
1909
1910 * lib/gdb.exp (gdb_wrapper_init): Just because
1911 gdb_wrapper_file exists, this does not mean that the file
1912 should not be rebuilt. That is what gdb_wrapper_initialized
1913 is for.
1914 (default_gdb_init): Reset gdb_wrapper_initialized.
1915
b61a8733
MS
19162002-05-23 Michael Snyder <msnyder@redhat.com>
1917
5bdb6d01
MS
1918 * gdb.base/all-bin.exp: Revise previous patch by just reducing
1919 the precision of the floating point test results.
1920 * gdb.base/call-rt-st.exp: Ditto.
1921
b61a8733
MS
1922 * gdb.base/all-bin.exp: Allow for reduced floating point precision.
1923 * gdb.base/call-rt-st.exp: Ditto.
1924
56f6e910
MC
19252002-05-19 Michael Chastain <mec@shout.net>
1926
1927 * gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
1928
ad0b0016
EZ
19292002-05-19 Elena Zannoni <ezannoni@redhat.com>
1930
1931 * configure.in (configdirs): Add gdb.arch.
1932 * configure: Regenerate.
1933
f617d2b6
JB
19342002-05-17 Jim Blandy <jimb@redhat.com>
1935
1936 * gdb.base/completion.exp: Recognize the more detailed error
1937 messages produced by the macro expander's lexical analyzer.
1938
eac2a696
EZ
19392002-05-14 Elena Zannoni <ezannoni@redhat.com>
1940
1941 * gdb.arch/altivec-abi.c: New file.
1942 * gdb.arch/altivec-abi.exp: New file.
1943 * gdb.arch/altivec-regs.c: New file.
1944 * gdb.arch/altivec-regs.exp: New file.
1945
2fdde8f8
DJ
19462002-05-14 Daniel Jacobowitz <drow@mvista.com>
1947
1948 * gdb.base/maint.exp (maint print type): Update for new type
1949 structure.
eac2a696 1950
e31f1a7c
EZ
19512002-05-14 Elena Zannoni <ezannoni@redhat.com>
1952
1953 * gdb.arch: New directory.
1954 * gdb.arch/configure.in: New file.
1955 * gdb.arch/configure: New file.
1956 * gdb.arch/Makefile.in: New file.
1957
db589741
CV
19582002-05-13 Corinna Vinschen <vinschen@redhat.com>
1959
1960 * gdb.asm/asm-source.exp: Add v850 as supported target.
1961 * gdb.asm/v850.inc: New file.
1962
8ce2a7dc
DJ
19632002-05-13 Daniel Jacobowitz <drow@mvista.com>
1964
1965 * gdb.c++/annota2.exp (annotate-quit): Add comment.
1966
df763c7f
DJ
19672002-05-12 Daniel Jacobowitz <drow@mvista.com>
1968
1969 * gdb.base/break.exp: Check 'break "marker2"'.
1970
377daeed
MS
19712002-05-10 Michael Snyder <msnyder@redhat.com>
1972
1973 * gdb.base/long_long.exp: Fix typo.
1974
c4b7bc2b
JB
19752002-05-10 Jim Blandy <jimb@redhat.com>
1976
ecac9a4e
JB
1977 * gdb.base/printcmds.exp: Don't xfail the ptype command. This is
1978 a bug.
1979
c4b7bc2b
JB
1980 * gdb.base/printcmds.exp (test_integer_literals_rejected):
1981 Recognize more detailed error message produced by the macro
1982 expander's lexical analyzer.
1983 * lib/gdb.exp (test_print_reject): Same.
1984
e71019a1
MK
19852002-05-09 Mark Kettenis <kettenis@gnu.org>
1986
1987 * gdb.c++/method.exp: Fix typo.
1988
fedfc8e6
MS
19892002-05-08 Michael Snyder <msnyder@redhat.com>
1990
166a1957
MS
1991 * gdb.mi/mi-var-child.exp: Accept (void) as well as ().
1992 * gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
fedfc8e6 1993 * gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
35928259
MS
1994 * gdb.base/long_long.exp: Merge clauses for arm and xscale.
1995 Add iftarget clause for strongarm.
1996
f1c47eb2
MS
19972002-05-06 Michael Snyder <msnyder@redhat.com>
1998
cb9a9d3e
MS
1999 * lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
2000 (gdb_continue_to_end): Accept output from status wrapper.
2001 * gdb.base/ending-run.exp: Add case for output from status wrapper.
2002 Clean up fail messages to match pass messages.
2003
f1c47eb2
MS
2004 Enable the "needs_status_wrapper" testsuite feature.
2005 * lib/gdb.exp (gdb_wrapper_init): New procedure.
2006 (gdb_compile): Conditionally call gdb_wrapper_init.
2007 * gdb.base/a2-run.exp: Recognize output from status wrapper.
2008 * gdb.c++/method.exp: Recognize output from status wrapper.
2009
6079c749
BE
20102002-05-06 Ben Elliston <bje@redhat.com>
2011From Graydon Hoare <graydon@redhat.com>
2012
2013 * config/sid.exp: Include support for "rawsid" protocol.
2014
188baff3
JB
20152002-05-03 Jim Blandy <jimb@redhat.com>
2016
2017 * gdb.c++/hang.exp: Check for corruption of the cv_type chain.
2018 * gdb.c++/hang3.C: New file.
2019
b9c07f0f
AC
20202002-05-04 Andrew Cagney <ac131313@redhat.com>
2021
2022 * gdb.base/default.exp: Remove obsolete code.
2023 * gdb.c++/misc.exp: Ditto. Update copyright.
2024 * gdb.c++/cplusfuncs.exp: Ditto. Update copyright.
2025 * gdb.base/whatis.exp: Ditto. Update copyright.
2026 * gdb.base/scope.exp: Ditto. Update copyright.
2027 * gdb.base/ptype.exp: Ditto. Update copyright.
2028 * gdb.base/printcmds.exp: Ditto. Update copyright.
2029 * gdb.base/opaque.exp: Ditto. Update copyright.
2030 * gdb.base/list.exp: Ditto.
2031 * gdb.base/funcargs.exp: Ditto. Update copyright.
2032 * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
2033 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
2034 * gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
2035 * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
2036 * gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
2037 * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
2038
5c7a0397
MS
20392002-05-02 Michael Snyder <msnyder@redhat.com>
2040
d6dcc264 2041 * gdb.base/watchpoint.exp: Add xscale target.
5c7a0397
MS
2042 * gdb.base/long_long.exp: Add xscale target.
2043 * gdb.base/default.exp: Add xscale target.
2044
eb7f1c48
JB
20452002-05-01 Jim Blandy <jimb@redhat.com>
2046
2047 * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
2048 gdb.c++/hang.exp: New test.
2049
a6befae8
FF
20502002-05-01 Fred Fish <fnf@redhat.com>
2051
2052 * gdb.base/completion.exp: Handle completions of "./Make" for
2053 more than one completion possibility, as is the case when we
2054 build and test in the source tree.
2055
0a310277
AG
20562002-04-29 Anthony Green <green@redhat.com>
2057
2058 * gdb.java/jmisc1.exp: New file.
2059 * gdb.java/jmisc2.exp: New file.
2060
6ff9af88
DJ
20612002-04-24 Daniel Jacobowitz <drow@mvista.com>
2062
2063 * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
2064
96b3d632
EZ
20652002-04-23 Elena Zannoni <ezannoni@redhat.com>
2066
2067 * gdb.base/help.exp: Change 'help status' to allow for target
2068 dependent output differences.
2069
5019bb54
MC
20702002-04-22 Michael Chastain <mec@shout.net>
2071
2072 * gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
2073
a805a116
MC
20742002-04-22 Michael Chastain <mec@shout.net>
2075
2076 * gdb.c++/method.exp: Fix syntax of reference to gdb/277.
2077
a1706bfd
DM
20782002-04-17 David S. Miller <davem@redhat.com>
2079
2080 * gdb.asm/sparc64.inc: New file.
2081 * gdb.asm/asm-source.exp: Handle sparc64-*-*.
2082
a73a20a2
EZ
20832002-04-19 Elena Zannoni <ezannoni@redhat.com>
2084
2085 * gdb.asm/asm-source.exp: Don't use a symlink, just copy the
2086 instruction file directly into the build tree. Clean up at end of
2087 test.
2088
ba678339
DM
20892002-04-18 David S. Miller <davem@redhat.com>
2090
2091 * gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
2092 handle 64-bit platforms correctly.
2093 * gdb.base/maint.exp: Likewise.
2094
b03399da
KB
20952002-04-18 Kevin Buettner <kevinb@redhat.com>
2096
2097 * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
2098 ``-fpic'' when compiling files comprising a shared library, but
2099 it does need additional linker flags in order to find shared
2100 libraries at run time.
2101
e2004992
KB
21022002-04-18 Kevin Buettner <kevinb@redhat.com>
2103
2104 * gdb.base/cvexpr.c (use): New function.
2105 (main): Invoke use() on all global variables to prevent
2106 some linkers from deleting these otherwise unused symbols.
2107
d8937120
MC
21082002-04-17 Michael Chastain <mec@shout.net>
2109From David S. Miller <davem@redhat.com>
2110
2111 * gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
2112 handle 64-bit platforms correctly.
2113
ffd61a58
MS
21142002-04-12 Michael Snyder <msnyder@redhat.com>
2115From Jim Blandy <jimb@redhat.com>
2116 * gdb.base/foo.c (foox): Remove section attribute; the linker
2117 script can handle this instead.
2118 * gdb.base/bar.c (barx): Same.
2119 * gdb.base/baz.c (bazx): Same.
2120 * gdb.base/grbx.c (grbxx): Same.
2121
2122 * gdb.base/overlays.exp: New test: check that GDB's manual overlay
2123 manager doesn't automatically unmap overlays unnecessarily.
2124
6b8426a6
MH
21252002-04-10 Martin M. Hunt <hunt@redhat.com>
2126
2127 * gdb.base/ending-run.exp: Fix pattern for Mips targets
2128 stepping out of main.
2129
34af4875
MC
21302002-04-09 Michael Chastain <mec@shout.net>
2131
2132 * gdb.c++/local.cc (main): Move call to marker1() inside nested
2133 scope so that the nested scope tests will make sense.
2134 * gdb.c++/local.exp: Write patterns that actually work with gcc
2135 (the HP patterns "were never known to work with gcc").
2136 Keep the old aCC patterns too.
2137
2d1676a0
DJ
21382002-04-09 Daniel Jacobowitz <drow@mvista.com>
2139
2140 * gdb.base/attach.exp: Correct target board test.
2141
3a63e3f9
MC
21422002-04-08 Michael Chastain <mec@shout.net>
2143
2144 * gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
2145 in a const method. Add some xfail and fail cases for configurations
2146 that do not emit the "const ...".
2147
f18dabd2
MC
21482002-04-07 Michael Chastain <mec@shout.net>
2149
2150 * gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
2151 Accept "A * const" and "const A * const" as type of "this".
2152 Fix spelling of getFunky throughout. Make messages uniform.
2153
0fcddd82
EZ
21542002-04-07 Elena Zannoni <ezannoni@redhat.com>
2155
2156 Work around for PR gdb/285:
2157 * gdb.asm/asm-source.exp: Bail out if multilibs are detected.
2158
16a8534a
EZ
21592002-04-07 Elena Zannoni <ezannoni@redhat.com>
2160
2161 * gdb.asm/asm-source.exp: Build symbolic link to arch specific
2162 instructions file at run time instead of configure time.
2163 Sometimes we run the test in a directory that is not the one we
2164 configured in.
2165 * gdb.asm/configure.in: Delete creation of symlink.
2166 * gdb.asm/configure: Regenerate.
2167
24181d81
JB
21682002-04-05 J. Brobecker <brobecker@gnat.com>
2169
2170 * gdb.gdb/xfullpath.exp: New test, to exercise the new
2171 xfullpath () function.
2172
7cdb7107
DJ
21732002-04-04 Daniel Jacobowitz <drow@mvista.com>
2174
2175 * gdb.asm/Makefile.in: Correct dependencies.
2176
2177 * gdb.asm/powerpc.inc: New file.
2178 * gdb.asm/asm-source.exp: Add PowerPC.
2179 * gdb.asm/configure.in: Likewise.
2180 * gdb.asm/configure: Regenerated.
2181
a7d17088
DJ
21822002-04-04 Daniel Jacobowitz <drow@mvista.com>
2183
2184 * gdb.base/relocate.exp: New file.
2185 * gdb.base/relocate.c: New file.
2186
cd721503
FF
21872002-04-04 Fred Fish <fnf@redhat.com>
2188
2189 * gdb.base/step-test.exp: Update comment regarding stopping in
2190 memcpy/bcopy calls inserted as part of the compiler runtime.
2191
b22ad7a7
MS
21922002-04-04 Michael Snyder <msnyder@redhat.com>
2193
2194 * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
2195
5f279fa6
DJ
21962002-04-03 Daniel Jacobowitz <drow@mvista.com>
2197
2198 * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
2199 (gdb_expect): Remove $notransfer hack.
2200
dd0fd3ce
DJ
22012002-04-02 Daniel Jacobowitz <drow@mvista.com>
2202
2203 * gdb.c++/classes.exp ("calling method for small class"): Match
2204 updated register output.
2205
1e50cda1
DJ
22062002-03-30 Daniel Jacobowitz <drow@mvista.com>
2207
2208 Fix PR gdb/452
2209 * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
2210 when finished. Make gdb_file_cmd send "exec-file" when
2211 appropriate.
2212
24015922
DJ
22132002-03-30 Daniel Jacobowitz <drow@mvista.com>
2214
2215 * gdb.base/attach.exp: Remove extra setup_xfail.
2216
dd7dfd64
MS
22172002-03-26 Michael Snyder <msnyder@redhat.com>
2218
2219 * gdb.base/default.exp: Add tests for dump, append, and restore.
2220 * gdb.base/help.exp: Add tests for dump, append, and restore.
2221 * gdb.base/dump.exp: New file, test dump, append and restore.
2222 * gdb.base/dump.c: New file.
2223
48b2f8d7
MS
22242002-03-27 Michael Snyder <msnyder@redhat.com>
2225
2226 * gdb.base/help.exp: Modify expect strings to reflect
2227 clean-ups in help messages.
2228
05b4d525
FF
22292002-03-26 Fred Fish <fnf@redhat.com>
2230
2231 * gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
2232 have debugging info for those functions and the compiler uses them
2233 internally to copy structs around.
2234
d7679631
FF
22352002-03-26 Fred Fish <fnf@redhat.com>
2236
2237 * gdb.base/list.exp: Revert the change made yesterday and add note
2238 about why we don't list the default lines for remote targets.
2239
523ac3f9
MS
22402002-03-25 Michael Snyder <msnyder@redhat.com>
2241
2242 * gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
2243
754b2b8d
FF
22442002-03-25 Fred Fish <fnf@redhat.com>
2245
2246 * gdb.base/list.exp: This test works on remote targets so remove
2247 the short circuit for remote targets. Update copyright.
2248
33c3e192
FF
22492002-03-25 Fred Fish <fnf@redhat.com>
2250
2251 * gdb.base/attach.exp: Fix logic error that was suppressing this
2252 test for all non hppa*-*-hpux* targets, instead of the hp target.
2253 Move comments closer to the suppression point. Also now need to
2254 check that we are running natively.
2255
d43e73ee
MS
22562002-03-22 Michael Snyder <msnyder@redhat.com>
2257
882c8f02
MS
2258 * gdb.base/default.exp: Add test for gcore. Update copyright.
2259 * gdb.base/help.exp: Add test for gcore. Update copyright.
d43e73ee 2260
04c12f60
FF
22612002-03-06 Fred Fish <fnf@redhat.com>
2262
2263 * gdb.base/funcargs.c: Remove extraneous ';' character.
2264 * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
2265
b43df995
MC
22662002-03-04 Michael Chastain <mec@shout.net>
2267
2268 * gdb.mi/mi-var-cmd.exp: In test "create local variable func",
2269 accommodate gcc v3 function signature.
2270 * gdb.mi/mi0-var-cmd-exp: Ditto.
2271
92362027
AC
22722002-02-24 Andrew Cagney <ac131313@redhat.com>
2273
2274 * testsuite/gdb.base/huge.c: Replace ``Linux'' with either
2275 ``GNU/Linux'' or ``Linux kernel''
2276 * testsuite/gdb.threads/pthreads.c: Ditto.
2277
258ad32d
MC
22782002-02-24 Michael Chastain <mec@shout.net>
2279
2280 * gdb.threads/pthreads.c (thread1): Add a return statement.
2281 (thread2): Likewise.
2282 (foo): Likewise.
2283
04c3b3d4
MC
22842002-02-23 Michael Chastain <mec@shout.net>
2285
2286 * gdb.threads/linux-dp.c (philosopher): Add a return statement
2287 to placate gcc.
2288
5a2a0a20
MC
22892002-02-23 Michael Chastain <mec@shout.net>
2290
2291 * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
2292 test "ptype bint". The test passes on all my stabs configurations.
2293
a640f7fc
JB
22942002-02-21 Jim Blandy <jimb@redhat.com>
2295
27924826
JB
2296 * gdb.asm/asm-source.exp: Parse the output from `info sources' one
2297 filename at a time, and watch for the ones we want to see.
2298
a640f7fc
JB
2299 * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
2300 types of pointers to prototyped functions.
2301
edcc8c75
AC
23022002-02-20 Andrew Cagney <ac131313@redhat.com>
2303
2304 * gdb.base/sizeof.c (main): Call fill_structs. Print value of
2305 signed, unsigned and straight char.
2306 (padding_char, padding_short, padding_int, padding_long,
2307 padding_long_long, padding_float, padding_double,
2308 padding_long_double): New global variables.
2309 (fill, fill_structs): New functions.
2310
2311 * gdb.base/sizeof.exp: Check for signed and unsigned char. Check
2312 for correctly sized writes. Update copyright.
2313 (get_valueof): New procedure.
2314 (get_sizeof): Call get_valueof.
2315 (check_valueof): New procedure.
2316 (check_padding): New procedure.
2317
ac57ea44
MC
23182002-02-20 Michael Chastain <mec@shout.net>
2319
2320 * gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
2321 to setup_xfail. Document some of the remaining calls.
2322
7a10c941
MC
23232002-02-18 Michael Chastain <mec@shout.net>
2324
2325 * gdb.c++/userdef.exp: Update copyright year.
2326
fb8acdcc
DJ
23272002-02-18 Daniel Jacobowitz <drow@mvista.com>
2328
2329 * gdb.c++/userdef.exp: Test overloaded operators properly.
2330 Remove xfails.
2331
fda6ae12
MS
23322002-02-14 Michael Snyder <msnyder@redhat.com>
2333
2334 * gdb.base/gcore.exp: Relax recognition of function breakpoint.
2335
676a0442
DJ
23362002-02-14 Daniel Jacobowitz <drow@mvista.com>
2337
2338 * gdb.base/a2-run.exp: Check for a remote target properly.
2339 * gdb.base/annota1.exp: Likewise.
2340 * gdb.base/list.exp: Likewise.
2341 * gdb.base/reread.exp: Likewise.
2342 * gdb.base/scope.exp: Likewise.
2343 * gdb.base/shlib-call.exp: Likewise.
2344 * gdb.base/term.exp: Likewise.
2345 * gdb.c++/annota2.exp: Likewise.
2346
78b4f468
RE
23472002-02-13 Richard Earnshaw <rearnsha@arm.com>
2348
2349 * gdb.base/watchpoint.exp: Restore previous timeout at end of test.
2350
9a81ba51
MC
23512002-02-10 Michael Chastain <mec@shout.net>
2352
2353 * gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
2354 (call_after_alloca): Ditto.
2355
004af6c7
DJ
23562002-02-10 Daniel Jacobowitz <drow@mvista.com>
2357
2358 * gdb.base/ending-run.exp: Guard "cont" test with
2359 gdb_skip_stdio_test.
2360
37225f62
JB
23612002-02-06 Jim Blandy <jimb@redhat.com>
2362
2363 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
2364 from here...
2365 * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
2366 To here. Disable this test on non-HP platforms. Add big comment.
2367
fe6fdd96
MS
23682002-02-04 Michael Snyder <msnyder@redhat.com>
2369
2370 * gdb.base/ovlymgr.c (ovly_copy): Generalize for targets
2371 other than d10v and m32r.
2372
036fad3f
RE
23732002-02-02 Richard Earnshaw <rearnsha@arm.com>
2374
2375 * gdb.base/default.exp: Rewrite test patterns to reduce time
2376 taken to match them.
2377
7148ab62
DJ
23782002-01-30 Daniel Jacobowitz <drow@mvista.com>
2379
2380 * gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
2381 Allow a start function above main.
2382 * gdb.threads/linux-dp.exp: Fix copyright date.
2383
396cc255
DJ
23842002-01-30 Daniel Jacobowitz <drow@mvista.com>
2385
2386 * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
2387 (check_philosopher_stack): Check for manager thread before checking
2388 for a just-starting thread.
2389
f038d31b
DJ
23902002-01-30 Daniel Jacobowitz <drow@mvista.com>
2391
2392 From Neil Booth <neil@daikokuya.demon.co.uk>:
2393 * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
2394 warnings.
2395
b3ff9d9a
FF
23962002-01-21 Fred Fish <fnf@redhat.com>
2397
2398 * gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
2399 not caller.
2400
39ad761d
JB
24012002-01-21 Jim Blandy <jimb@redhat.com>
2402
2403 * gdb.base/reread.exp: Check that GDB properly re-reads the
2404 executable file when it changes while no inferior is running.
2405
aaf320fa
FF
24062002-01-21 Fred Fish <fnf@redhat.com>
2407
2408 * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
2409 optionally accept the "shlib events" variation.
2410
808a31f5
JB
24112002-01-21 Jim Blandy <jimb@redhat.com>
2412
2413 * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
2414 call `fflush' after every `printf', so that the output is produced
2415 at predictable points, regardless of whatever buffering does (or
2416 doesn't) take place.
2417 * gdb.base/ending-run.exp: Adjust tests to expect output to appear
2418 at different points.
2419
4420d5e2
DJ
24202002-01-20 Daniel Jacobowitz <drow@mvista.com>
2421
2422 * gdb.c++/inherit.exp: Update copyright years.
2423 * gdb.c++/method.exp: Likewise.
2424
3e36a0f4
DJ
24252002-01-20 Daniel Jacobowitz <drow@mvista.com>
2426
2427 * gdb.c++/classes.exp: Update for improved v3 support and skipping
2428 artificial methods/arguments.
2429 * gdb.c++/derivation.exp: Likewise.
2430 * gdb.c++/inherit.exp: Likewise.
2431 * gdb.c++/method.exp: Likewise.
2432 * gdb.c++/virtfunc.exp: Likewise.
2433
b4ceaee6
AC
24342002-01-18 Andrew Cagney <ac131313@redhat.com>
2435
2436 * gdb.hp/gdb.threads-hp/usrthfork.exp: Mark as obsolete.
2437 * gdb.hp/gdb.threads-hp/usrthcore.exp: Ditto.
2438 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Ditto.
2439 * gdb.hp/gdb.threads-hp/usrthfork.c: Ditto.
2440 * gdb.hp/gdb.threads-hp/usrthbasic.c: Ditto.
2441 * gdb.hp/gdb.threads-hp/usrthcore.c: Ditto.
2442
ecace851
JB
24432002-01-17 Jim Blandy <jimb@redhat.com>
2444
2445 * gdb.asm/asm-source.exp (info symbol): Take another shot at
2446 anchoring the pattern matching the entry point symbol's name.
2447
375fc983
AC
24482002-01-17 Andrew Cagney <ac131313@redhat.com>
2449
2450 * gdb.base/maint.exp: Update ``maint internal-error'' to match
2451 continue/quit query. Update copyright.
2452
fe6fdd96
MS
24532002-01-14 Michael Snyder <msnyder@redhat.com>
2454
2455 * gdb.base/gcore.exp: Remove extra debugging output.
2456
e017c81f
DJ
24572002-01-13 Daniel Jacobowitz <drow@mvista.com>
2458
2459 * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
2460 for slightly dubious v2 mangled string.
2461
37ab3bf8
DJ
24622002-01-13 Daniel Jacobowitz <drow@mvista.com>
2463
2464 * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
2465
1bc05c3a 24662002-01-10 Jason Merrill <jason@redhat.com>
7b2ac63b 2467
1bc05c3a 2468 * gdb.c++/namespace.exp: Accept trailing const for 'this'.
7b2ac63b 2469
1bc05c3a
JM
2470 * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
2471 constructors.
2472 * gdb.c++/derivation.exp: Likewise.
2473 * gdb.c++/templates.exp: Likewise.
2474 * gdb.c++/virtfunc.exp: Likewise.
ffcb195b 2475
1bc05c3a
JM
24762002-01-10 Michael Snyder <msnyder@redhat.com>
2477
2478 * gdb.c++/namespace.exp: Accept both '\0' and '\000'.
ffcb195b 2479
a911c360
MS
24802002-01-08 Michael Snyder <msnyder@redhat.com>
2481
2482 * gdb.base/gcore.exp: New test for generate-core-file command.
2483 * gdb.base/gcore.c: Testcase for above.
2484 * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
2485
ea2119ec
JM
24862002-01-08 Jason Merrill <jason@redhat.com>
2487
2488 * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
2489
68203136
FF
24902002-01-07 Fred Fish <fnf@redhat.com>
2491
2492 * gdb.c++/overload.exp: Remove unconditional xfails for:
2493 print foo_instance1.overloadargs(1)
2494 print foo_instance1.overloadargs(1, 2)
2495 print foo_instance1.overloadargs(1, 2, 3)
2496 print foo_instance1.overloadargs(1, 2, 3, 4)
2497 print foo_instance1.overloadargs(1, 2, 3, 4, 5)
2498 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
2499 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
2500 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
2501 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
2502 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
2503 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
2504 print foo_instance1.overload1arg()
2505 print foo_instance1.overload1arg((char)arg2)
2506 print foo_instance1.overload1arg((signed char)arg3)
2507 print foo_instance1.overload1arg((unsigned char)arg4)
2508 print foo_instance1.overload1arg((int)arg7)
2509 print foo_instance1.overload1arg((unsigned int)arg8)
2510 print foo_instance1.overload1arg((float)arg11)
2511 print foo_instance1.overload1arg((double)arg12)
2512
21b9b5b1
MS
25132002-01-07 Michael Snyder <msnyder@redhat.com>
2514
2515 * gdb.base/huge.exp: New test. Print a very large target data object.
2516 (skip_huge_test): New test variable. Define if you want to skip this
2517 test. The test reads an 8 megabyte data object from the target, so it
2518 might be very time consuming on remote targets with a slow connection.
2519 * gdb.base/huge.c: New file. Test case for above.
2520
725f922e
FF
25212002-01-07 Fred Fish <fnf@redhat.com>
2522
2523 * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
2524 g_instance.bfoo, and g_instance.cfoo.
2525
634d57ec
JL
2526Mon Jan 7 12:22:18 2002 Jeffrey A Law (law@redhat.com)
2527
f286b2c3
JL
2528 * gdb.base/break.c (multi_line_if_conditional): New function.
2529 (multi_ilne_while_conditional): Likewise.
2530 * gdb.base/break.exp: Verify that a breakpoint on a multi-line
2531 IF or WHILE condition puts the breakpoint at the start of
2532 the condition.
2533
634d57ec
JL
2534 * gdb.base/selftest.exp (backtrace through signal handler): Remove
2535 hppa*-*-hpux* expected failure.
2536 * gdb.base/structs.exp (do_function_calls): Similarly.
2537
2538 * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
2539 watchpoints.
2540
9fbfe2dc
AC
25412002-01-06 Andrew Cagney <ac131313@redhat.com>
2542
2543 Fix PR gdb/66.
2544 * gdb.base/structs.exp: Replace skip for a29k with skip for
2545 gdb,cannot_call_functions.
2546 * gdb.base/call-ar-st.exp: Remove references to a29k in comments.
2547 * gdb.base/callfuncs.exp: Ditto.
2548 * gdb.base/call-rt-st.exp: Ditto.
2549 * gdb.base/call-strs.exp: Ditto.
2550 * gdb.base/callfwmall.exp: Ditto.
2551 * gdb.base/scope.exp: Obsolete xfail a29k.
2552 * gdb.c++/misc.exp: Ditto.
2553 * gdb.c++/cplusfuncs.exp: Ditto.
2554 * gdb.base/ptype.exp: Ditto.
2555 * gdb.base/printcmds.exp: Ditto.
2556 * gdb.base/opaque.exp: Ditto.
2557 * gdb.base/list.exp: Ditto.
2558 * gdb.base/funcargs.exp: Ditto.
2559 * gdb.base/default.exp: Ditto.
2560
8ddad156
MS
25612002-01-04 Michael Snyder <msnyder@redhat.com>
2562
ca4976a6 2563 * gdb.base/info-proc.exp: New file, test for "info proc" cmd.
8ddad156
MS
2564 * gdb.base/maint.exp: Add tests for maint info sections options.
2565
1b074332
JL
2566Fri Dec 21 09:42:11 2001 Jeffrey A Law (law@redhat.com)
2567
2568 * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
2569
7d159115
CV
25702001-12-20 Corinna Vinschen <vinschen@redhat.com>
2571
2572 * gdb.asm/arm.inc: New file.
2573 * gdb.asm/asm-source.exp: Add arm targets.
2574 * gdb.asm/configure.in: Ditto.
2575 * gdb.asm/configure: Recreated from configure.in.
2576
8fb87725
JL
2577Thu Dec 20 09:54:36 2001 Jeffrey A Law (law@redhat.com)
2578
afabe08c
JL
2579 * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
2580 with HP's compiler.
2581 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
2582 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
2583 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
2584 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
2585
2586 * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
2587 either HP's compilers or GCC.
2588
db521deb
JL
2589 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
2590 a SIGBUS or SIGSEGV.
2591
2592 * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
2593
2594 * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
2595 can be compiled with either HP's compiler or GCC.
2596
cfa88ab7
JL
2597 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
2598 * gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
2599 * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
2600
ca344dff
JL
2601 * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
2602 to match current gdb output. Update due to using auto-solib-limit
2603 for limiting instead of overloading auto-solib-add.
2604 * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
2605 test program.
2606
3f3c6e55 2607 * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
ca344dff
JL
2608 * gdb.hp/gdb.base-hp/dollar.exp: Likewise
2609 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
2610 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
2611 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
2612 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
2613 * gdb.hp/gdb.defects/bs15503.exp: Likewise.
2614 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
2615 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
2616 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
2617 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
2618 * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
2619 * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
3f3c6e55 2620
8fb87725
JL
2621 * gdb.base/annota1.exp: Expect failure for hpux11 when posting
2622 a SIGTRAP to the inferior.
2623
cf599fa7
CV
26242001-12-19 Corinna Vinschen <vinschen@redhat.com>
2625
2626 * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
2627 Substitute call to target_link by call to gdb_compile.
2628
2cd045cd
JL
2629Wed Dec 19 14:10:57 2001 Jeffrey A Law (law@redhat.com)
2630
2631 * gdb.base/break.exp: Fix HP specific search string when testing
2632 backtracing in a called function.
2633
2634 * gdb.base/constvars.exp: Only set lang to C++ if we're
2635 compiling the test with HP's compilers.
2636 * gdb.base/volatile.exp: Similarly.
2637
99ebe9ac
JB
26382001-12-19 Jim Blandy <jimb@redhat.com>
2639
2640 * gdb.base/printcmds.exp: Expect the null character to be printed
2641 as '\0', and the '\013' to be printed as '\v'.
2642 * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
2643 * gdb.base/setvar.exp: Same.
2644
b9891b29
JB
26452001-12-17 Jim Blandy <jimb@redhat.com>
2646
0eba65ab
JB
2647 * gdb.base/completion.exp: Rather than completing very long
2648 filenames, which can make the readline library produce output we
2649 don't recognize, cd to the directory first, and then complete
2650 using nice, short relative paths.
2651
6970b5b1
JB
2652 * gdb.base/completion.exp: On some systems, there is, in fact, a
2653 variable named `b' in scope, since GDB treats all static
2654 variables as being in scope. So use `no_var_named_this'
2655 instead of `b'.
2656
b9891b29
JB
2657 * gdb.base/corefile.exp: Recognize the message saying that GDB
2658 can't find the core file's registers as a failure.
2659
e6ccd35f
JSC
26602001-12-13 Jackie Smith Cashion <jsmith@redhat.com>
2661
2662 * gdb.base/commands.exp (user_defined_command_test): Make "show user"
2663 test expect string more specific.
2664
105ba819
CV
26652001-12-13 Corinna Vinschen <vinschen@redhat.com>
2666
2667 * gdb.asm/asm-source.exp: Add support for xstormy16.
2668 * gdb.asm/configure.in: Ditto.
2669 * gdb.asm/configure: Rebuild.
2670 * gdb.asm/xstormy16.inc: New file.
2671
e9e79dd9
FF
26722001-12-10 Fred Fish <fnf@redhat.com>
2673
2674 * gdb.base/maint.exp: Update to match changes in type dumping code.
2675
347dc97d
JB
26762001-12-10 Jim Blandy <jimb@redhat.com>
2677
2678 * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
2679 matching the entry point symbol's name at the beginning of the
2680 line.
2681
5178b9d6
DJ
26822001-12-07 Daniel Jacobowitz <drow@mvista.com>
2683
2684 * gdb.c++/classes.exp, gdb.c++/derivation.exp,
2685 gdb.c++/inherit.exp, gdb.c++/method.exp,
2686 gdb.c++/namespace.exp, gdb.c++/templates.exp,
2687 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
2688 and class layout support.
2689
af890c52
DJ
26902001-12-07 Daniel Jacobowitz <drow@mvista.com>
2691
2692 * gdb.c++/classes.exp: Add test for static member function.
2693 * gdb.c++/misc.cc: Add class with static member function.
2694
7a345fb3
JB
26952001-12-07 Jim Blandy <jimb@redhat.com>
2696
f2e54a80 2697 If GDB says it can't find the struct the function returned, report
8032bf31
JB
2698 those tests as `unsupported'.
2699 * gdb.base/call-rt-st.exp (print_struct_call): New function.
2700 Rewrite subsequent tests to use it.
2701
2702 If GDB says it can't find the struct the function returned, report
f2e54a80
JB
2703 those tests as `unsupported'.
2704 * gdb.base/structs.exp (call_struct_func): New function.
2705 (do_function_calls): Use call_struct_func to call the functions
2706 returning structs.
2707
0bc69509
JB
2708 * gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
2709 whether functions are prototyped or not, so we can't possibly pass
2710 arguments to t_float_values2 properly.
2711
7a345fb3
JB
2712 * gdb.base/break.exp: (test_next_with_recursion): Don't change the
2713 value of `timeout' for targets other than the mips*tx39-*.
2714
edb6ede1
MS
27152001-12-06 Michael Snyder <msnyder@redhat.com>
2716
2717 * gdb.asm/asm-source.exp: Add tests for info target, info symbol,
2718 and detect whether the start symbol has a leading underscore.
2719
2d842f13
JB
27202001-12-04 Jim Blandy <jimb@redhat.com>
2721
2722 * gdb.base/completion.exp: Clarify indentation.
2723
68550daf
JB
27242001-12-03 Jim Blandy <jimb@redhat.com>
2725
2726 * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
2727 variables on the S/390, not `.word'.
2728
cd5195a8
JB
27292001-11-30 Jim Blandy <jimb@redhat.com>
2730
2731 Add assembly-source tests for s390-ibm-linux.
2732 * gdb.asm/s390.inc: New file.
2733 * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
2734 the S/390 architecture.
2735 * gdb.asm/configure: Regenerated.
2736
ca9efc90
MS
27372001-11-30 Michael Snyder <msnyder@redhat.com>
2738
2739 * gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
2740 next, info source, info sources, info line, global and static
2741 variables, and static functions.
2742 * gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
2743 * gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
2744 * gdb.asm/asmsrc1.s: Add a static function and some variables.
2745 * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
2746 * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
2747 (gdbasm_leave): Restore frame pointer.
2748 (gdbasm_startup): Copy stack set-up from crt0.S.
2749
d0e66976
FN
27502001-11-26 Fernando Nasser <fnasser@redhat.com>
2751
2752 From 2001-11-12 Jackie Smith Cashion <jsmith@redhat.com>:
2753 * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
2754 to a local (non-static) variable. Copy tstruct.a to a static buffer
2755 and return a pointer to that buffer.
2756 * gdb.base/callfwmall.c (t_structs_a): Ditto.
2757
e2334072
MK
27582001-11-24 Mark Kettenis <kettenis@gnu.org>
2759
2760 * gdb.asm/configure.in: Fix recognition of ix86 target.
2761 * gdb.asm/configure: Regenerate.
2762
756caa3d
MS
27632001-11-21 Michael Snyder <msnyder@redhat.com>
2764
2765 * gdb.asm/sparc.inc: New file.
2766 * gdb.asm/asm-source.exp: Recognize sparc target.
2767 * gdb.asm/configure.in: Recognize sparc target.
2768 * gdb.asm/configure: Regenerate.
2769
9a4d72d5
MS
27702001-11-21 Michael Snyder <msnyder@redhat.com>
2771
2772 * gdb.asm/m32r.inc: New file.
2773 * gdb.asm/asm-source.exp: Recognize m32r target.
2774 * gdb.asm/configure.in: Recognize m32r target.
2775 * gdb.asm/configure: Regenerate.
2776
a773d1cd
MS
27772001-11-20 Michael Snyder <msnyder@redhat.com>
2778
017ac23d
MS
2779 * gdb.asm/i386.inc: New file.
2780 * gdb.asm/asm-source.exp: Recognize ix86 target.
2781 * gdb.asm/configure.in: Recognize ix86 target.
2782 * gdb.asm/configure: Regenerate.
2783
a773d1cd
MS
2784 * gdb.c++/namespace.exp: Fix quotes in output messages.
2785
bb632afb
MS
27862001-11-14 Michael Snyder <msnyder@redhat.com>
2787
25d559ca 2788 * gdb.base/code-expr.exp: New file. Tests use of the "@code"
bb632afb
MS
2789 qualifier in a type cast expression, to designate an address
2790 in the instruction space (Harvard architecture).
2791
4749e309
MS
27922001-11-13 Michael Snyder <msnyder@redhat.com>
2793
2794 * gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
2795 Tests for expressions using 'const' and 'volatile'.
2796
25050984
CV
27972001-11-13 Corinna Vinschen <vinschen@redhat.com>
2798
2799 * gdb.asm/asm-sources.exp: Allow defining linker flags.
2800
1902c51f
DJ
28012001-11-12 Daniel Jacobowitz <drow@mvista.com>
2802
2803 * lib/mi-support.exp (mi_run_to_helper): Move comments
2804 outside of gdb_expect.
2805
dcf95b47
DJ
28062001-11-11 Daniel Jacobowitz <drow@mvista.com>
2807
2808 * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
2809 mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
2810 mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
2811 mi0_run_to): New functions.
2812 * gdb.mi/mi-simplerun.exp: Use them.
2813 * gdb.mi/mi0-simplerun.exp: Likewise.
2814 * gdb.mi/mi-var-cmd.exp: Likewise.
2815 * gdb.mi/mi0-var-cmd.exp: Likewise.
2816
45b074e1
AC
28172001-11-10 Andrew Cagney <ac131313@redhat.com>
2818
2819 * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
2820 * gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
2821
bf50d346
AC
28222001-11-09 Andrew Cagney <ac131313@redhat.com>
2823
2824 * gdb.base/restore.exp: Include $expected value in restored test
2825 message.
2826
9383332c
AC
28272001-11-09 Andrew Cagney <ac131313@redhat.com>
2828
2829 * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
2830 implemented.
2831
db62520a
MS
28322001-11-08 Michael Snyder <msnyder@redhat.com>
2833
2834 * gdb.base/callfuncs.exp: Add tests for nested call dummies.
2835 Add pass/fail message for stop at breakpoint in call dummy function.
2836
b5703437
MS
28372001-11-07 Michael Snyder <msnyder@redhat.com>
2838
760f6330
MS
2839 * gdb.c++/templates.exp (test_template_breakpoints):
2840 If we get an overload menu, but it does not match what
2841 we expect, we still need to issue the "cancel" command.
3b2a7ae5
MS
2842 * gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
2843 making the whitespace optional. Argument for "new" may be
2844 "unsigned" as well as "unsigned int/long".
eef747c0
MS
2845 * gdb.c++/templates.exp: Replace "const &" with "const ?&",
2846 making the whitespace optional. Also replace "(void) with
2847 "((void|)), making the keyword "void" optional.
63f50499
MS
2848 * gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
2849 making the whitespace optional. Also replace "(void) with
2850 "((void|)), making the keyword "void" optional.
3bf40917
MS
2851 * gdb.base/callfuncs.c (t_float_values): This function must
2852 _not_ be prototyped, and the following function (t_float_values2)
2853 must be prototyped (if the compiler supports it), so that GDB
2854 can be tested against both cases. Usually one case involves
2855 promotion of float to double, while the other does not.
2856 * gdb.base/callfwmall.c: Ditto.
b5703437
MS
2857 * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
2858 includes a stack frame for "start".
2859
c8ab4e6d
JB
28602001-11-05 Jim Blandy <jimb@redhat.com>
2861
2862 * gdb.stabs/weird.exp: Delete "p v_comb" test. It assumes that
2863 pointers are 32 bits long, and that offsets of relocs are always
2864 stored in the data (REL-style), and not in the reloc entry itself
2865 (RELA-style).
2866 * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
2867 stabs.
2868
3f08ced9
MS
28692001-11-01 Michael Snyder <msnyder@redhat.com>
2870
2871 * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
2872 and regular expression operators by using quoting.
2873
cbfa24cd
MS
28742001-10-31 Michael Snyder <msnyder@redhat.com>
2875
2876 * gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
2877 depending on what the symbol table contains.
2878 * gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
2879 the output of the ptype command. Similarly, accept both "const &"
2880 and "const&".
2881
aaa68313
CV
28822001-10-31 Corinna Vinschen <vinschen@redhat.com>
2883
2884 * gdb.base/miscexprs.c (main): Add usage of preprocessor
2885 symbol `STORAGE' to allow to choose the storage class of
2886 the local datastructures.
2887 * gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
2888 compiler directive.
2889
91740388
MS
28902001-10-30 Michael Snyder <msnyder@redhat.com>
2891
2892 * gdb.base/jump.exp: Allow it to run for all targets.
2893
1b7c05e7
CV
28942001-10-29 Corinna Vinschen <vinschen@redhat.com>
2895
2896 * gdb.base/call-ar-st.c (print_double_array): Match for loop
2897 with new double_array size.
2898 (main): Change storage class of all local variables to static.
2899 Reduce size of double_array to 9.
2900 * gdb.base/call-ar-st.exp: Increase timeout value.
2901 Change expected output for double array to match new size in
2902 call-ar-st.c.
2903
36a22261
CV
29042001-10-29 Corinna Vinschen <vinschen@redhat.com>
2905
2906 * gdb.base/ending-run.exp: Create identical output when passing
2907 `step to end of run' case. Add regular expression branch satisfying
2908 Stormy16 target.
2909
92b8ae91
MK
29102001-10-28 Mark Kettenis <kettenis@gnu.org>
2911
2912 * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
2913 that we catch the expected failure under Linux/x86.
2914
cb135b83
OF
29152001-10-29 Orjan Friberg <orjanf@axis.com>
2916
2917 * gdb.base/setvar.exp: Escape curly braces.
2918 * gdb.stabs/weird.exp: Ditto.
2919
6884aa54
DJ
29202001-10-27 Daniel Jacobowitz <drow@mvista.com>
2921
2922 * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
2923 * gdm.mi/mi0-hack-cli.exp: Likewise.
2924
0398c9aa
AC
29252001-10-25 Andrew Cagney <ac131313@redhat.com>
2926
2927 * gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
2928 messages.
2929
d20bf2e8
AC
29302001-10-21 Andrew Cagney <ac131313@redhat.com>
2931
2932 * lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
2933 checking MI enabled.
2934
03dd63aa
CV
29352001-10-09 Corinna Vinschen <vinschen@redhat.com>
2936
2937 * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
2938
1d9d99f3
FCE
29392001-10-04 Frank Ch. Eigler <fche@redhat.com>
2940
2941 * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
2942 if gdb child process crashes, just signal an error.
2943
838ae6c4
JB
29442001-10-02 Jim Blandy <jimb@redhat.com>
2945
2946 * lib/gdb.exp (test_xfail_format): Simplify.
2947
2948 * lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
2949 front of the variable name `format'. Simplify `if'.
2950
8f0cbc1c
DJ
29512001-10-01 Daniel Jacobowitz <drow@mvista.com>
2952
2953 * gdb.threads/pthreads.exp: Wait for output and delay
2954 before sending ^C.
2955
1f08dafd
DJ
29562001-10-01 Daniel Jacobowitz <drow@mvista.com>
2957
2958 * gdb.mi/mi-var-display.exp (continue to incr_a): Recognize
2959 some incorrect output instead of timing out.
2960 * gdb.mi/mi-var-display.exp (continue to incr_a): Likewise.
2961
674f90ff
CV
29622001-09-28 Corinna Vinschen <vinschen@redhat.com>
2963
2964 * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
2965 check to allow additional `int'.
2966
9b284272
DJ
29672001-09-27 Daniel Jacobowitz <drow@mvista.com>
2968
2969 * gdb.base/completion.exp: Remove incorrect 'p "a' test.
2970 Add tests for 'p "break' (pass) and 'p "break.' (xfail).
2971
b55a4771
MS
29722001-09-27 Michael Snyder <msnyder@redhat.com>
2973
2974 * lib/gdb.exp (test_debug_format): New proc.
2975 (setup_xfail_format): Use new proc test_debug_format.
2976 * gdb.base/constvars.exp (local_compiler_xfail_check): New
2977 proc; use new service proc test_debug_format.
2978 Replace all other "gcc_compiled" tests with this test.
2979 * gdb.base/volatile.exp (local_compiler_xfail_check): New
2980 proc; use new service proc test_debug_format.
2981 Replace all other "gcc_compiled" tests with this test.
2982
29832001-09-27 Michael Snyder <msnyder@redhat.com>
2984
2985 * gdb.base/cvexpr.exp: New file.
2986 * gdb.base/cvexpr.c: New file
2987 Test for expressions using const and volatile keywords.
2988
4e6667ac
CV
29892001-09-26 Corinna Vinschen <vinschen@redhat.com>
2990
2991 * gdb.base/constvars.exp: Check for different orders of keywords
2992 and additional "int" strings in output.
2993
4f337972
AC
29942001-09-22 Andrew Cagney <ac131313@redhat.com>
2995
2996 * gdb.base/maint.exp: Add "maintenance set/show" to list of valid
2997 responses from "help maint".
2998
2015650d
FCE
29992001-09-19 Frank Ch. Eigler <fche@redhat.com>
3000
3001 * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
3002 to localhost:NNN instead of :NNN, in case Xvfb is listening
3003 only on TCP.
3004
f3bcedc1
CV
30052001-09-19 Corinna Vinschen <vinschen@redhat.com>
3006
3007 * gdb.base/recurse.exp: When checking leaving the watchpoint
3008 scope, recognize when gdb is in function's epilogue and pass.
3009
6b819c92
KS
30102001-09-18 Keith Seitz <keiths@redhat.com>
3011
3012 * lib/insight-support.exp (_gdbtk_export_target_info): Add
3013 support for running tests against sid targets.
3014 (gdbtk_done): Ditto.
3015
a10c9419
CV
30162001-09-18 Corinna Vinschen <vinschen@redhat.com>
3017
3018 * gdb.base/ending-run.c (main): Set stdout buffersize
3019 to the same reasonable value for any target.
3020 * gdb.base/ending-run.exp: Add a regular expression
3021 to make testsuite happy on Sanyo Stormy16 target.
3022
739d0d99
CV
30232001-09-17 Corinna Vinschen <vinschen@redhat.com>
3024
3025 * gdb.base/display.c (do_loops): Add float variable `f'.
3026 Increment f in loop.
3027 * gdb.base/display.exp: Increment timeout by 60 seconds.
3028 Change float display test to use variable `f'.
3029
1b8947f0
JB
30302001-09-17 Jim Blandy <jimb@redhat.com>
3031
3032 * gdb.base/restore.exp: Use temporary breakpoints, to avoid
3033 overflowing the limited breakpoint tables on some ROM monitors
3034 (like the ROM68K).
3035
9890ac81
FCE
30362001-09-15 Frank Ch. Eigler <fche@redhat.com>
3037
3038 * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
3039 the "-ac" (disable access control) flag.
3040
6db765ea
JH
30412001-08-30 Jeff Holcomb <jeffh@redhat.com>
3042
3043 * gdb.base/remote.c: Use a small buffer for targets with 16-bit
3044 ints.
3045
4c32cc04
KS
30462001-08-30 Keith Seitz <keiths@redhat.com>
3047
3048 * lib/gdb.exp: Move all insight-related functionality into
3049 separate file.
3050 * lib/insight-support.exp: New file.
3051
8d6e6f81
FCE
30522001-08-29 Frank Ch. Eigler <fche@redhat.com>
3053
3054 * config/sid.exp (sid_start): Never set sid verbosity; disable
3055 expect_background {} that consumed its stdout; tolerate </dev/null.
3056 Attempt to set endianness override in "sid" protocol mode. Cleanup.
3057
6a90e1d0
AC
30582001-08-18 Andrew Cagney <ac131313@redhat.com>
3059
3060 * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
3061 CLI jump command to start it.
3062 (mi_run_to_main): Fail immediatly when unexpected output.
3063
1759b3c3
AC
30642001-08-18 Andrew Cagney <ac131313@redhat.com>
3065
3066 * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
3067 beginning of function. Fix PR gdb/191.
3068
61d11d80
FCE
30692001-08-16 Frank Ch. Eigler <fche@redhat.com>
3070
3071 * config/sid.exp (sid_start): Don't warn if we cannot figure out
3072 what to force sid endianness to.
3073
942a4df2
KS
30742001-08-15 Keith Seitz <keiths@redhat.com>
3075
3076 * lib/gdb.exp (gdbtk_start): Don't set environment
3077 variables for TCL_LIBRARY and friends. Insight will
3078 now figure these out for itself.
3079
0521c418
MS
30802001-08-02 Michael Snyder <msnyder@redhat.com>
3081
3082 * gdb.base/completion.exp: Remove the symbol "a64l" from
3083 the expect string; this is target-specific, and not related
3084 to what is being tested.
3085
74a9a58a
DB
30862001-08-02 Dave Brolley <brolley@redhat.com>
3087
3088 * config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
3089
c70819fa
MS
30902001-07-25 Michael Snyder <msnyder@redhat.com>
3091
c2b8fa57
MS
3092 * gdb.base/consecutive.exp: New file. Test stepping over
3093 breakpoints on consecutive instructions.
3094 * gdb.base/consecutive.c: New file.
3095
c70819fa
MS
3096 * gdb.base/call-rt-st.exp: Use double-backslash to quote
3097 curly braces in regular expressions.
3098
2b1a1355
MS
30992001-07-25 Michael Snyder <msnyder@redhat.com>
3100
3101 * gdb.base/ending-run.exp: Accept "Program exited normally" as
3102 legitimate output from stepping out of main.
3103
413eca6f
KS
31042001-07-22 Keith Seitz <keiths@redhat.com>
3105
3106 * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
3107 the empty string, do not run the tests.
3108
7e5a9322
SC
31092001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
3110
3111 * gdb.base/long_long.exp: Detect size of pointer. Take into
3112 account 2-byte pointers when testing for p/a results.
3113
de58f10f
SC
31142001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
3115
3116 * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
3117 and defined to 1K for m68hc11.
3118 (random_data): Reduce table to 1K for embedded platforms (68hc11).
3119 * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
3120 (sizeof_random_data): New variable to tell the size of the data table;
3121 don't test past this size; always run to main.
3122
d6f5fea1
SC
31232001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
3124
3125 * gdb.base/return2.exp: return of long long and double fails for
3126 68HC11; don't execute these tests on that platform.
3127 * gdb.base/return.exp: Return of a double fails for 68hc11.
3128
c477543d
SC
31292001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
3130
3131 * call-ar-st.exp: Use gdb_skip_float_test to avoid executing
3132 tests that print a float.
3133 * call-rt-st.exp: Likewise.
3134
63cf1c79
MK
31352001-07-12 Mark Kettenis <kettenis@gnu.org>
3136
3137 * gdb.base/so-impl-ld.exp: Remove stray space that prevented
3138 running this test on Linux.
3139
112f9ab5
MC
31402001-06-24 Michael Chastain <chastain@redhat.com>
3141
3142 * gdb.base/arithmet.exp: Remove some tests to make all test names
3143 unique.
3144
4970cb0f
MS
31452001-07-03 Michael Snyder <msnyder@redhat.com>
3146
3147 * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
3148 the output of the ptype command.
3149
d85da69f
MS
31502001-07-02 Michael Snyder <msnyder@redhat.com>
3151
4c8a82de
MS
3152 * gdb.base/completion.exp: Don't assume that break.c is the only
3153 source file that may contain functions named "marker".
d85da69f
MS
3154 * gdb.base/corefile.exp: Quote the curly braces in regexp.
3155
8afc772b
AC
31562001-06-28 Andrew Cagney <ac131313@redhat.com>
3157
3158 * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
3159 of files to delete.
3160
3161 From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
3162 * gdb.disasm/h8300s.exp: New file.
3163 gdb.disasm/h8300s.s: Likewise.
3164
cff22675
AC
31652001-06-27 Andrew Cagney <ac131313@redhat.com>
3166
3167 * lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format
3168 empty breakpoint tables.
3169
68c81b54
AC
31702001-06-25 Andrew Cagney <ac131313@redhat.com>
3171
3172 * lib/mi-support.exp: Update args=... part of stop-reason
3173 patterns. Accept either a list or a tuple.
3174
2dd62704
AC
31752001-06-23 Andrew Cagney <ac131313@redhat.com>
3176
3177 * lib/mi-support.exp: Remove local emacs variable defining
3178 change-log-default-name.
3179
b4127474
MC
31802001-06-22 Michael Chastain <chastain@redhat.com>
3181
3182 * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
3183 This is operationally compatible with the previous version.
3184
8dbfb380
JB
31852001-06-13 Jim Blandy <jimb@redhat.com>
3186
3187 * lib/gdb.exp (gdb_test): Doc fix.
3188
f2d8c86d
MC
31892001-06-10 Michael Chastain <chastain@redhat.com>
3190
3191 * gdb.base/exprs.exp: Remove a duplicate test.
3192
81564d34
JB
31932001-06-06 Jim Blandy <jimb@redhat.com>
3194
3195 * gdb.base/return2.exp (main): Use values to test float and double
3196 returns that are not NaN's, to avoid being confused by IEEE
3197 comparison rules.
3198
da55addb
MS
31992001-06-04 Michael Snyder <msnyder@redhat.com>
3200
3201 * gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
3202 non-zero if control_c fails. Terminate the test on failure,
3203 rather than wait for 12 more tests to time out.
3204
42c65987
JB
32052001-06-06 Jim Blandy <jimb@redhat.com>
3206
b18bced9
JB
3207 * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
3208 Don't forget to match the GDB prompt.
3209
42c65987
JB
3210 * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
3211
5b41e5f0
JB
32122001-06-04 Jim Blandy <jimb@redhat.com>
3213
3214 * gdb.base/help.exp: Update pattern to exclude `print-load-map'
3215 command.
3216
015e046f
KB
32172001-05-31 Kevin Buettner <kevinb@redhat.com>
3218
3219 * gdb.base/annota1.exp (info break): Match four or more spaces
3220 after "Address".
3221
fb1ffbbe
MC
32222001-05-31 Michael Chastain <chastain@redhat.com>
3223
3224 * gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
3225 (dm_type_int_star): Likewise.
3226 (dm_type_long_star): Likewise.
3227 (dm_type_void_star): Likewise.
3228
5ea2a32c
KB
32292001-05-29 Kevin Buettner <kevinb@redhat.com>
3230
3231 * gdb.base/completion.exp (INPUTRC): Set this environment variable
3232 to a known value in order to get consistent results regardless
3233 of the setting of INPUTRC or the presence or contents of .inputrc.
3234
ae23c492
MS
32352001-05-24 Michael Snyder <msnyder@redhat.com>
3236
ac55707e
MS
3237 * gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
3238 Don't require that the main thread and the manager thread are the
3239 first in the list.
3240
ae23c492
MS
3241 * gdb.threads/pthreads.exp (test_startup): Relax test for thread
3242 debugging. If test fails, issue an "unsupported" not a "fail".
3243
400071f1
JB
32442001-05-24 Jim Blandy <jimb@redhat.com>
3245
3246 Don't assume that short is shorter than int.
3247 * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
3248 assume that shorts are smaller than ints. On a 16-bit machine,
3249 this isn't true.
3250 ("print unsigned char == (~0)"): Add test that verifies that ~0,
3251 an int, is not equal to ~0 stored in an unsigned char. This tests
3252 the same thing that the previous test meant to, but works on
3253 16-bit machines, too.
3254 ("print unsigned char != (~0)"): Same test, complemented.
3255
0816a3e5
MS
32562001-05-24 Michael Snyder <msnyder@redhat.com>
3257
3258 * gdb.threads/pthreads.exp (all_threads_running): Add an explicit
3259 test for (full_coverage == 0). This makes the test run faster,
3260 and prevents dejagnu getting out of step.
3261
f6dc23a9
KB
32622001-05-23 Kevin Buettner <kevinb@redhat.com>
3263
3264 * gdb.base/finish.exp (finish_void): Revise pattern for
3265 stopping on the call statement to not permit stopping at
3266 the start of the instructions comprising the call sequence.
3267
7dbd117d
MC
32682001-05-19 Michael Chastain <chastain@redhat.com>
3269
3270 * gdb.base/callfuncs.exp: Make all test names unique.
3271 * gdb.base/commands.exp: Make all test names unique.
3272 * gdb.base/condbreak.exp: Make all test names unique.
3273 * gdb.base/dbx.exp: Make all test names unique.
3274 * gdb.base/default.exp: Make all test names unique.
3275 * gdb.base/define.exp: Make all test names unique. Conform some FAIL
3276 and TIMEOUT messages to their corresponding PASS message.
3277 * gdb.base/ending-run.exp: Make all test names unique.
3278 * gdb.base/long_long.exp: Remove duplicate test.
3279
6b0b0a9e
KB
32802001-05-21 Kevin Buettner <kevinb@redhat.com>
3281
3282 * gdb.base/finish.exp (finish_void): Allow "finish" command to
3283 stop on the call statement as well as the statement after the
3284 call.
3285
2caa35cb
MS
32862001-05-21 Michael Snyder <msnyder@redhat.com>
3287
3288 * gdb.base/long_long.exp: Allow for targets with 4-byte short.
3289
40713331
EZ
32902001-05-10 Elena Zannoni <ezannoni@redhat.com>
3291
3292 * gdb.base/completion.exp: Revamp test. Make it execute on all
3293 platforms.
3294
c2c1be8d
EZ
32952001-05-10 Elena Zannoni <ezannoni@redhat.com>
3296
2c9cd303
EZ
3297 * config/gdbserver.exp (gdb_load): Handle the case
3298 in which the arguments to gdbserver are given in the
3299 baseboard configuration file.
3300 Also handle the case in which the server needs to do a
3301 load.
3302
9671de48
KS
33032001-05-07 Keith Seitz <keiths@cygnus.com>
3304
3305 * lib/gdb.exp (gdbtk_initialize_display): New proc which will
3306 set up the display for testing.
3307 (gdbtk_start): Convert all paths to paths that tcl will like.
3308 Export target information to environment.
3309 (_gdbtk_xvfb_init): New proc to start Xvfb if available and
3310 necessary.
3311 (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
3312 (to_tcl_path): New proc to convert a given pathname into
3313 a path acceptible as an argument to a tcl command.
3314 (_gdbtk_export_target_info): New proc to export target info
3315 into the environment for gdbtk testing.
3316 (gdbtk_done): New proc to signal end-of-test.
3317
5a360f47
JB
33182001-05-06 Jim Blandy <jimb@redhat.com>
3319
3320 * restore.c: Make the code of caller0 correspond to its comment.
3321
66c756c6
MS
33222001-05-03 Michael Snyder <msnyder@redhat.com>
3323
3324 * config/sid.exp (gdb_target_sid): Check for error messages.
3325 On error or timeout, don't make expect exit (which will terminate
3326 all subsequent tests); instead just make gdb exit.
3327 (gdb_load): Check for error messages. On error or timeout,
3328 return a negative value.
3329
a966fde5
JB
33302001-04-24 Jim Blandy <jimb@redhat.com>
3331
851c18e0
JB
3332 * gdb.c++/templates.exp: If we see the prompt for the overload
3333 list, but we haven't recognized any of the longer patterns,
3334 arrange for this test to fail, not hang.
3335
a966fde5
JB
3336 * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
3337 variations.
3338
db144853
MC
33392001-04-22 Michael Chastain <chastain@redhat.com>
3340
3341 * gdb.c++/local.exp: Use the 'runto' library function.
3342 * gdb.c++/namespace.exp: Likewise.
3343 * gdb.c++/overload.exp: Likewise.
3344
3207ec21
KB
33452001-03-26 Kevin Buettner <kevinb@redhat.com>
3346
3347 * gdb.base/Makefile.in (EXECUTABLES): Add step-line.
3348 * gdb.base/step-line.exp: New file. Test step/next in presence of
3349 #line directives.
3350 * gdb.base/step-line.c: New file. Test program for the above.
3351 * gdb.base/step-line.inp: New file. We pretend that this file has
3352 been transformed by some other tool into step-line.c.
3353
13b57657
JB
33542001-03-21 Jim Blandy <jimb@redhat.com>
3355
3356 * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
3357 unmangled operator names.
3358
754cbe1c
JB
33592001-03-20 Jim Blandy <jimb@redhat.com>
3360
3361 * gdb.threads/linux-dp.exp: Recognize an additional message
3362 generated by GDB when it doesn't understand how to debug threads
3363 on the target system.
3364
177495c9
AC
33652001-03-19 Andrew Cagney <ac131313@redhat.com>
3366
3367 * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
3368
f266096b
MC
33692001-03-12 Michael Chastain <chastain@redhat.com>
3370
3371 * gdb.c++/derivation.exp: Use the 'runto' library function.
3372
cac3c2ff
MC
33732001-03-12 Michael Chastain <chastain@redhat.com>
3374
3375 * gdb.c++/annota2.exp: Fix regular expression for "post-query".
3376
b6c11a24
MC
33772001-02-24 Michael Chastain <chastain@redhat.com>
3378
3379 * gdb.c++/ref-types.exp: Change handwritten code to library
3380 function 'runto'.
3381
6bae5bce
OF
33822001-03-16 Orjan Friberg <orjanf@axis.com>
3383
3384 * gdb.base/signals.exp: Set count to 0 explicitly.
3385
0015fd9a
MS
33862001-03-15 Mark Salter <msalter@redhat.com>
3387
3388 * config/monitor.exp (gdb_target_cmd): Add explicit error return.
3389 (gdb_target_monitor): Add check of gdb_target_cmd return value.
880a15ee
MS
3390 (gdb_load): Add support for additional target_info: gdb_download_size
3391 and gdb_load_timeout.
0015fd9a 3392
fc33412a
DT
3393Thu Mar 8 16:06:00 2001 David Taylor <taylor@redhat.com>
3394
3395 * gdb.base/annota1.exp: Move test of isnative to earlier in the
3396 file -- to prevent failing when the compile fails but we have no
3397 intention of running the tests anyway.
3398
3399 * gdb.base/long_long.exp: Test target_info for no_long_long, skip
3400 tests if set.
3401
3402 * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
3403 integers.
3404
3405 * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
3406 * gdb.c++/namespace.exp: Ditto.
3407
115f06de
OF
34082001-03-07 Orjan Friberg <orjanf@axis.com>
3409
3410 * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
3411 * gdb.base/pointers.exp: Relax pattern match of decimals.
3412
b6ba6518
KB
34132001-03-06 Kevin Buettner <kevinb@redhat.com>
3414
3415 * Makefile.in, config/abug.exp, config/cfdbug.exp,
3416 config/cpu32bug.exp, config/dve.exp, config/est.exp,
3417 config/gdbserver.exp, config/hmsirom.exp, config/hppro.exp,
3418 config/i960.exp, config/m32r.exp, config/mn10300-eval.exp,
3419 config/monitor.exp, config/proelf.exp, config/rom68k.exp,
3420 config/sh.exp, config/sid.exp, config/slite.exp,
3421 config/sparclet.exp, config/udi.exp, config/unknown.exp,
3422 config/vr4300.exp, config/vr5000.exp, config/vx.exp,
3423 config/vxworks.exp, config/vxworks29k.exp,
3424 gdb.asm/asm-source.exp, gdb.base/a2-run.exp,
3425 gdb.base/all-bin.exp, gdb.base/annota1.exp,
3426 gdb.base/arithmet.exp, gdb.base/assign.exp,
3427 gdb.base/async.exp, gdb.base/attach.exp,
3428 gdb.base/bitfields.exp, gdb.base/bitops.exp,
3429 gdb.base/break.exp, gdb.base/call-ar-st.exp,
3430 gdb.base/call-rt-st.exp, gdb.base/call-strs.exp,
3431 gdb.base/callfuncs.exp, gdb.base/callfwmall.exp,
3432 gdb.base/commands.exp, gdb.base/completion.exp,
3433 gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
3434 gdb.base/constvars.exp, gdb.base/corefile.exp,
3435 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
3436 gdb.base/display.exp, gdb.base/ena-dis-br.exp,
3437 gdb.base/ending-run.exp, gdb.base/environ.exp,
3438 gdb.base/eval-skip.exp, gdb.base/exprs.exp,
3439 gdb.base/finish.exp, gdb.base/foll-exec.exp,
3440 gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp,
3441 gdb.base/funcargs.exp, gdb.base/help.exp,
3442 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp,
3443 gdb.base/logical.exp, gdb.base/long_long.exp,
3444 gdb.base/maint.exp, gdb.base/mips_pro.exp,
3445 gdb.base/miscexprs.exp, gdb.base/nodebug.exp,
3446 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp,
3447 gdb.base/pointers.exp, gdb.base/printcmds.exp,
3448 gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp,
3449 gdb.base/regs.exp, gdb.base/relational.exp,
3450 gdb.base/remote.exp, gdb.base/reread.exp,
3451 gdb.base/restore.exp, gdb.base/return2.exp,
3452 gdb.base/scope.exp, gdb.base/sect-cmd.exp,
3453 gdb.base/selftest.exp, gdb.base/setshow.exp,
3454 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
3455 gdb.base/sigall.exp, gdb.base/signals.exp,
3456 gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp,
3457 gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
3458 gdb.base/step-test.exp, gdb.base/structs.c,
3459 gdb.base/structs.exp, gdb.base/structs2.exp,
3460 gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp,
3461 gdb.base/volatile.exp, gdb.base/watchpoint.exp,
3462 gdb.base/whatis-exp.exp, gdb.base/whatis.exp,
3463 gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
3464 gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.exp,
3465 gdb.c++/derivation.exp, gdb.c++/inherit.exp,
3466 gdb.c++/local.exp, gdb.c++/member-ptr.exp, gdb.c++/method.exp,
3467 gdb.c++/misc.exp, gdb.c++/namespace.exp, gdb.c++/overload.exp,
3468 gdb.c++/ref-types.exp, gdb.c++/templates.exp,
3469 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp,
3470 gdb.disasm/am33.exp, gdb.disasm/hppa.exp,
3471 gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp,
3472 gdb.fortran/types.exp, gdb.java/jmisc.exp,
3473 gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
3474 gdb.stabs/weird.exp, gdb.threads/linux-dp.exp,
3475 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
3476 gdb.trace/circ.exp, gdb.trace/collection.exp,
3477 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
3478 gdb.trace/limits.exp, gdb.trace/packetlen.exp,
3479 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp,
3480 gdb.trace/report.exp, gdb.trace/save-trace.exp,
3481 gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
3482 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
3483 lib/gdb.exp, lib/mi-support.exp: Update/correct copyright
3484 notices.
3485
dc96c6c7 34862001-02-27 Michael Snyder <msnyder@cygnus.com>
d8f92b1f
MS
3487
3488 * gdb.base/varargs.c (find_max_double): Fix printf format string:
3489 first arg is int not float.
3490
dc96c6c7 34912001-02-22 Michael Snyder <msnyder@cygnus.com>
40f33b9b
MS
3492
3493 * gdb.base/reread.exp: Unsupported for non-native targets;
3494 doesn't work for remote debugging.
3495
9b0c4aeb
FN
34962001-02-19 Fernando Nasser <fnasser@redhat.com>
3497
3498 From Drew Moseley <dmoseley@redhat.com>
3499 * gdb.base/ending-run.exp: Properly handle the BSP state when
3500 stepping past the end of main.
3501
02aa71d5
MC
35022001-02-19 John Moore <jmoore@redhat.com>
3503
3504 * gdb.base/commands.exp (infrun_breakpoint_command_test):
3505 Converted HPUX fix for non-expected items following multiple
3506 step commands into general solution for all platforms.
3507
1fa449a4
MC
35082001-02-18 Michael Chastain <chastain@redhat.com>
3509
3510 * gdb.c++/classes.exp (do_tests): Change runto statements
3511 from "runto 'foo(void)'" to "runto 'foo'". This makes the
3512 statements demangler agnostic.
3513 * gdb.c++/virtfunc.exp (do_tests): Likewise.
3514 (gdb_virtfunc_restart): Likewise.
3515
b2f9ec70
MC
35162001-02-14 Michael Chastain <chastain@redhat.com>
3517
3518 * gdb.c++/inherit.exp (do_tests): Change runto statements
3519 from "runto 'foo(void)'" to "runto 'foo'". This makes the
3520 statements demangler agnostic.
3521
cf74b8ca
AC
3522Sun Feb 4 17:32:21 2001 Andrew Cagney <cagney@redhat.com>
3523
3524 * gdb.threads/pthreads.exp: Unify pass/fail messages for
3525 ``continue to bkpt at common_routine in thread 2'' and ``stopped
3526 before calling common_routine 15 times'' tests.
3527
99f78f56
MC
35282001-02-11 Michael Chastain <chastain@redhat.com>
3529
3530 * gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
3531 Helps the test script figure out which demangler is in use.
3532 (dm_type_foo_ref): Ditto.
3533 (dm_type_int_star): Ditto.
3534 (dm_type_long_star): Ditto.
3535 (dm_type_unsigned_int): Ditto.
3536 (dm_type_void): Ditto.
3537 (dm_type_void_star): Ditto.
99707966 3538 * gdb.base/cplusfuncs.exp (probe_demangler): New function.
99f78f56
MC
3539 Probe the gdb demangler and set variables to accommodate
3540 formatting differences.
3541 (info_func_regexp): New function. Same as info_func, but
3542 matches against a regexp.
3543 (info_func): Match against a literal string.
3544 (print_addr_2): New function. Match against a literal string,
3545 which can be different from the input to gdb.
3546 (print_addr): Simply call print_addr_2 with the same argument twice.
3547 (test_lookup_operator_functions): Use demangler formatting variables.
3548 Blow away the xfails and workarounds for gnats gdb bug gdb/18. Sort
3549 the tests in the same order as the C++ class declaration.
3550 (test_paddr_operator_functions): Ditto.
3551 (test_paddr_overloaded_functions): Ditto.
3552 (test_paddr_hairy_functions): Use demangler formatting variables.
3553 Add reference to gdb/19 for related tests.
3554 (do_tests): Call probe_demangler.
3555
1de8f023
KB
35562001-01-30 Kevin Buettner <kevinb@redhat.com>
3557
3558 * gdb.c++/templates.cc (printf): Remove unused function definition.
3559
ca3f91ed
MS
35602001-01-26 Felix Lee <flee@redhat.com>
3561
3562 * sid.exp (sid_exit): Pass host, not target, to remote_close.
3563
35642001-01-25 matthew green <mrg@redhat.com>
3565
3566 * config/sid.exp (sid_start): Call `remote_push_conn' after firing
3567 up sid.
3568 (sid_exit): Call `remote_pop_conn' after GDB is gone.
3569
35702001-01-25 matthew green <mrg@redhat.com>
3571
3572 * config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.'
3573 Deprecate $sid_spawn_id.
3574 (sid_exit): Remove code necessary only for `spawn.'
3575
35762001-01-25 matthew green <mrg@redhat.com>
3577
3578 * config/sid.exp (sid_start): Handle sim,protocol of `sid.'
3579
fb18ec4a
MC
35802001-01-28 Michael Chastain <chastain@redhat.com>
3581
3582 * gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
3583 to call when tests fail. It takes gdb out of the overloaded
3584 function choice menu back to the main prompt, so that the test
3585 program stays synchronized.
3586 (set_bp_overloaded): New proc to collect all the common
3587 code for setting a breakpoint on an overloaded name. Calls
3588 take_gdb_out_of_choice_menu when needed.
3589 (menu_overload1arg): New variable to collect the repeated
3590 instances of the expected menu for an overloaded name. Change
3591 the regular expression to handle changes in g++ type encoding:
3592 "void" can be either "void" or "", and "unsigned int" can be
3593 either "unsigned int" or "unsigned".
3594 (continue_to_bp_overloaded): Change regular expressions to handle
3595 changes in g++ type encoding.
3596 (no proc): Call take_gdb_out_of_choice_menu when needed.
3597 Remove redundant calls to "info break". Accept either "canceled"
3598 or "cancelled". Change regular expressions in "info break"
3599 calls to handle changes in g++ type encoding. Give all tests
3600 unique strings.
3601
9c646a6e
BE
36022001-01-17 Ben Elliston <bje@redhat.com>
3603
3604 * config/sid.exp: New file.
3605
9549d9c1
AC
3606Fri Jan 12 18:29:01 2001 Andrew Cagney <cagney@b1.cygnus.com>
3607
3608 * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
3609
dc96c6c7 36102000-12-21 Michael Snyder <msnyder@cygnus.com>
315f8b0e
MS
3611
3612 * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
3613 Add a RE to accept a non-ascii char if one is ever presented.
3614
b4df4f68
FN
36152000-12-20 Fernando Nasser <fnasser@redhat.com>
3616
297dd0fd 3617 * lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
b4df4f68 3618
dc96c6c7 36192000-12-18 Michael Snyder <msnyder@cygnus.com>
49c890fc
MS
3620
3621 * gdb.base/setvar.exp: Use double '\\' to quote curly braces
3622 in regexp. One '\' does not suffice on Linux.
3623
4a7bddb6
MC
36242000-12-09 Michael Chastain <chastain@redhat.com>
3625
3626 * gdb.base/break.exp (test_clear_command): Use a marker function
3627 rather than 'main' for the test function. Also move this
3628 test to an execution point where the marker function names are
3629 guaranteed to be bound to functions. (Executing tests after a
3630 'finish' from main runs into name conflicts with local names
3631 in __libc_start_main).
3632
dc96c6c7 36332000-12-07 Michael Snyder <msnyder@cygnus.com>
efb66345
MS
3634
3635 * gdb.base/finish.exp: New test for gdb's "finish" command.
3636 * gdb.base/return2.exp: New test for gdb's "return" command.
3637 * gdb.base/return2.c: New source file for above.
3638
dc96c6c7 36392000-12-05 Michael Snyder <msnyder@cygnus.com>
3c077de9
MS
3640
3641 * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
3642 * gdb.base/miscexprs.exp: Ditto.
3643 * gdb.base/pointers.exp: Ditto.
3644 * gdb.c++/derivation.exp: Ditto.
3645 * gdb.c++/local.exp: Ditto.
3646 * gdb.c++/namespace.exp: Ditto.
3647 * gdb.c++/overload.exp: Ditto.
3648 * gdb.c++/ref-types.exp: Ditto.
3649
dc96c6c7 36502000-12-05 Michael Snyder <msnyder@cygnus.com>
660fd469
MS
3651
3652 * gdb.base/constvars.exp: Test result of "up" command.
3653 * gdb.base/miscexprs.exp: Ditto.
3654 * gdb.base/pointers.exp: Ditto.
3655 * gdb.base/scope.exp: Ditto.
3656 * gdb.c++/derivation.exp: Ditto.
3657 * gdb.c++/local.exp: Ditto.
3658 * gdb.c++/namespace.exp: Ditto.
3659 * gdb.c++/overload.exp: Ditto.
3660 * gdb.c++/ref-types.exp: Ditto.
3661
44097287
FN
36622000-11-22 Michael Chastain <chastain@redhat.com>
3663
3664 * mips_pro.exp: Accept either "middle -> top -> main" or
3665 "middle -> main" in the backtrace, because gcc can optimize
3666 tail calls to jumps. Remove setup_xfail for the hppa case.
3667 Add a comment with the original warning messages from PR 3016,
3668 which was filed in 1993, to preserve them for posterity.
3669
9d2e1bab
ND
36702000-11-17 Nick Duffek <nsd@redhat.com>
3671
3672 * lib/gdb.exp (gdb_test): Override timeout with board info.
3673
1aca8eb7
ND
36742000-11-17 Nick Duffek <nsd@redhat.com>
3675
3676 * gdb.base/display.exp: Don't kill running stub. Add "again" to
3677 the second kill and detach messages.
3678
93076499
ND
36792000-11-17 Nick Duffek <nsd@redhat.com>
3680
3681 * configure.in: Add AC_EXEEXT.
3682 * configure: Regenerate.
3683 * Makefile.in (just-check): Export EXEEXT.
3684 * lib/gdb.exp ($EXEEXT): Import from environment.
3685 * gdb.base/maint.exp: Expect $EXEEXT in executable name. Don't
3686 expect "maint dump-me" on Cygwin.
3687 * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
3688 $EXEEXT.
3689
30e87cd3
ND
36902000-11-17 Nick Duffek <nsd@redhat.com>
3691
3692 * gdb.base/break.exp: Test backtrace and finish from called
3693 function on all platforms, not just HP-UX.
3694
dc96c6c7 36952000-11-03 Michael Snyder <msnyder@cygnus.com>
08e706b1
MS
3696
3697 * config/monitor.exp (gdb_target_cmd): Abstracts some of the
3698 code from gdb_target_monitor, so it can be used independantly
3699 for gdbserver. Also comment out an unnecessary PUTS.
3700
dc96c6c7 37012000-11-03 Michael Snyder <msnyder@cygnus.com>
958a4e4c
MS
3702
3703 * gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
3704 * gdb.base/corefile.exp: Expect the message "Program is being
3705 debugged already" when we send the "corefile" command, since
3706 the preceeding gdb_load may have connected gdb to a remote target.
3707 * gdb.base/display.exp: Disable hardware watchpoints if new
3708 board info variable "no_hardware_watchpoints" is true.
3709 Replace single-letter commands with more readable ones.
3710 * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
3711 if new board info variable "no_hardware_watchpoints" is true.
3712 * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
3713 to see if stdio (printf) testing is possible.
3714 * gdb.base/watchpoint.exp: Disable hardware watchpoints if new
3715 board info variable "no_hardware_watchpoints" is true. Use new
3716 proc "gdb_skip_stdio_tests" to see if printf tests are possible.
3717
39124dea
FN
37182000-11-13 Fernando Nasser <fnasser@redhat.com>
3719
3720 From Orjan Friberg <orjanf@axis.com>:
3721 * gdb.base/printcmds.exp: Escape curly braces followed by a number
3722 in array print pattern match.
3723
a9e2e984
FN
37242000-11-09 Fernando Nasser <fnasser@redhat.com>
3725
3726 * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
3727 spelling "cancelled" to U.S. spelling "canceled" to match changes
3728 made to gdb.
3729 * gdb.c++/ovldbreak.exp: Ditto.
3730
c7db355b
PS
37312000-11-06 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
3732
3733 * gdb.base/callfuncs.c (main): Moved to end of file, call
3734 t_double_values to initialize the FPU before inferior calls are made.
3735 * gdb.base/callfuncs.exp: Test for register preservation after calling
3736 inferior functions. Add tests for continuining, finishing and
3737 returning from a stop in a call dummy.
3738
dc96c6c7 37392000-10-24 Michael Snyder <msnyder@cygnus.com>
42f5c13f
MS
3740
3741 * gdb.base/commands.exp: Break up long lines, and re-indent.
3742
dc96c6c7 37432000-10-19 Michael Snyder <msnyder@cygnus.com>
ae0323a8
MS
3744
3745 * config/gdbserver.exp: Rewritten from the ground up, to make it
3746 compatible with the current dejagnu tree, and to make it work with
3747 the new "gdbserver" in libremote.
3748
dc96c6c7 37492000-10-16 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
3750
3751 * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
3752 * gdb.base/varargs.exp: Skip entire test if no printf support.
3753 * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
3754 * gdb.base/shlib-call.exp: Skip several tests if no printf support.
3755
dc96c6c7 37562000-10-13 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
3757
3758 * lib/gdb.exp (gdb_skip_float_test): New proc. Skip test if
3759 no floating point support.
3760 (gdb_skip_stdio_test): New proc. Skip test if no stdio support.
3761 * gdb.base/call-ar-st.exp: Use above procs to skip tests.
3762 * gdb.base/call-rt-st.exp: Ditto.
3763 * gdb.base/call-strs.exp: Ditto.
3764
bac5fc66
JG
37652000-08-02 Jimmy Guo <guo@hpcleara.cup.hp.com>
3766
3767 * gdb.base/sizeof.c: include <stdio.h>.
3768
3769 * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
3770 'finish', otherwise uncaptured gdb_prompt would potentially
3771 throw remaining test points out of sync.
3772
b22a6027
SB
37732000-07-26 Scott Bambrough <scottb@netwinder.org>
3774
3775 * gdb.base/recurse.exp: Run tests for all targets.
3776 * gdb.base/so-impl-ld.exp: Added wildcard to handle the
3777 gnu-oldld case on ARM.
3778 * gdb.base/watchpoint.exp (test_stepping): Clear xfail
3779 for ARM targets.
3780
d8231941
AG
3781Mon Jul 24 07:46:02 CDT 2000 Clinton Popetz <cpopetz@cygnus.com>
3782
3783 * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
3784 * gdb.java/configure: Rebuild.
3785
8caabe69
AG
3786Sun Jul 23 21:42:34 2000 Anthony Green <green@redhat.com>
3787
3788 * gdb.java/jv-exp.exp: New file.
3789
9d273ca3
AG
3790Sun Jul 23 21:02:42 2000 Anthony Green <green@redhat.com>
3791
3792 * configure: Rebuilt.
3793 * configure.in (configdirs): Add gdb.java.
3794 * gdb.java/jmisc.java: New file.
3795 * gdb.java/jmisc.exp: New file.
3796 * gdb.java/Makefile.in: New file.
3797 * gdb.java/configure: Rebuilt.
3798 * gdb.java/configure.in: New file.
3799 * lib/java.exp: New file.
3800
4f823a66
AC
3801Wed Jul 12 18:14:29 2000 Andrew Cagney <cagney@b1.cygnus.com>
3802
3803 * gdb.base/exprs.exp: Test casts to a pointer including over and
3804 underflow.
3805
2391e11d
AC
3806Thu Jul 13 11:52:53 2000 Andrew Cagney <cagney@b1.cygnus.com>
3807
3808 * gdb.base/sizeof.exp, gdb.base/sizeof.c: New files. Compare GDB
3809 and the compilers sizes.
3810
54602222
ND
38112000-07-09 Nick Duffek <nsd@redhat.com>
3812
3813 * gdb.c++/misc.cc (class ClassParam, class_param): Define.
3814 (use_methods): New function.
3815 (main): Call use_methods().
3816 * gdb.c++/classes.exp (test_method_param_class): New procedure.
3817 (do_tests): Call test_method_param_class.
3818
2bec0572
ND
38192000-07-09 Nick Duffek <nsd@redhat.com>
3820
3821 * gdb.c++/classes.exp (test_nonexistant_members): Fix name
3822 spelling.
3823 (test_enums): New procedure. Move enum tests from end of script
3824 to here. Set breakpoint on function name instead of line number.
3825 * gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
3826 (enums2): New marker function.
3827 (enums1): New function.
3828 (main): Call enums1(). Move enum tests to enums1().
3829
78492fde
AC
3830Tue Jul 4 03:43:49 2000 Andrew Cagney <cagney@b1.cygnus.com>
3831
3832 * gdb.asm/asm-source.exp: Use raw AS/LD instead of CC to
3833 compile/link program. Update line numbers.
3834 * gdb.asm/d10v.inc: Define ``startup''.
3835 * gdb.asm/asmsrc1.s: Add definition of _start.
3836
49a2cef8
AC
3837Fri Jun 23 17:45:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
3838
3839 * gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
3840
3e6c8688
EZ
38412000-06-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3842
3843 * gdb.base/maint.exp: Add 'maint print architecture' item to output
3844 of 'help maint print' command.
3845
9ff5cbe9
AC
3846Fri Jun 16 18:22:05 2000 Andrew Cagney <cagney@b1.cygnus.com>
3847
3848 * gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
3849 they use gdb_expect_list.
3850
17c579bd
AC
3851Wed Jun 7 13:02:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
3852
3853 * gdb.base/commands.exp: Use ``set remote
3854 memory-read-packet-size'' instead of ``set endian big'' to test
3855 long commands.
3856
e6d71bf3
DB
38572000-06-03 Daniel Berlin <dan@cgsoftware.com>
3858
3859 * gdb.c++/templates.exp (do_tests): Make all of these work under
3860 g++, and stop skipping them.
3861
3862 * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
3863 work under g++.
3864
e5f9ba7b
MS
3865 * gdb.c++/misc.cc: Fix ambiguous initialization with correct
3866 initialization.
3867
dc96c6c7 38682000-06-02 Michael Snyder <msnyder@cygnus.com>
7346e70f
MS
3869
3870 * gdb.base/annota1.exp (run until main breakpoint): Loosen up
3871 the regular expression: accept an (almost) arbitrary sequence of
3872 "frames-invalid" and "breakpoints-invalid" messages both before
3873 and after the "starting" message.
3874
dc96c6c7 38752000-06-02 Michael Snyder <msnyder@cygnus.com>
e5f9ba7b
MS
3876
3877 * gdb.c++/local.exp: This test has never been known to work with g++.
e6d71bf3 3878
dc96c6c7 38792000-05-18 Michael Snyder <msnyder@cygnus.com>
0a791409
MS
3880
3881 * gdb.base/annota1.exp (annotate-signal-handler-caller):
3882 Relax the regular expression a little, make it pass on Solaris 8.
3883
8216cda9
KB
38842000-05-12 Kevin Buettner <kevinb@redhat.com>
3885
3886 * gdb.base/step-test.exp: On IA-64 targets, when stepping out of
3887 a call, do not require that gdb stop on the line after the call.
3888 Instead, it is permissible for gdb to stop on the line of the
3889 call itself.
3890
1a570b2f
MS
38912000-05-12 Michael Snyder <msnyder@.cygnus.com>
3892
3893 * gdb.base/break.exp (bp on small function, optimized file):
3894 Add a second pass pattern. The behavior differs here between stabs
3895 and dwarf for one-line functions. Stabs preserves two line symbols
3896 (one before the prologue and one after) with the same line number,
3897 but dwarf regards these as duplicates and discards one of them.
3898 Therefore the address after the prologue (where the breakpoint is)
3899 has no exactly matching line symbol, and GDB reports the breakpoint
3900 as if it were in the middle of a line rather than at the beginning.
3901
dc96c6c7 39022000-05-08 Michael Snyder <msnyder@cygnus.com>
89cb06a2
MS
3903
3904 * gdb.base/interrupt.exp: Make "pass" message say "send"
3905 rather than "send_gdb" (for consistancy).
3906
7d418785
AC
3907Mon May 1 15:37:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
3908
3909 From 2000-04-28 Andreas Jaeger <aj@suse.de>:
3910 * gdb.c++/templates.cc: Properly check for GCC version number.
3911 * lib/compiler.cc: Likewise
3912
dc96c6c7 39132000-04-28 Michael Snyder <msnyder@cygnus.com>
e919ea79
MS
3914
3915 * gdb.base/break.exp: When compiled with -O2 optimization,
3916 gdb may not stop at the first line of main, due to code motion.
3917
dc96c6c7 39182000-04-26 Michael Snyder <msnyder@cygnus.com>
1960c400
MS
3919
3920 * gdb.base/call-ar-st.exp: Bail out if target is sparclet.
3921 This test depends on parsing the printf output from the target.
3922 Since the sparclet stub doesn't do stdio, this will never work.
3923 * gdb.base/call-rt-st.exp: ditto.
3924 * gdb.base/call-strs: ditto.
3925
dc96c6c7 39262000-04-24 Michael Snyder <msnyder@cygnus.com>
b84b7669
MS
3927
3928 * gdb.base/miscexprs.exp: make sizeof long array test portable.
3929
3930 * gdb.base/ending-run.exp: After connecting to a remote target,
3931 but before running, the target will appear to be in a random
3932 location. Specify both a file and a line for breakpoints.
3933 Also, the function that calls main may be called 'init'
3934 rather than 'start'.
3935
a5a51225
EZ
39362000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3937
3938 * gdb.base/help.exp: Update output for add-symbol-file command.
3939
7930cc7c
FN
39402000-04-10 Fernando Nasser <fnasser@cygnus.com>
3941
3942 From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
3943 * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
3944
23e37ab1
C
39452000-04-07 J.T. Conklin <jtc@redback.com>
3946
e93c542c
C
3947 * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
3948
23e37ab1
C
3949 * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
3950
591b8fa3
PDM
3951Thu Mar 30 13:26:19 2000 Philippe De Muyter <phdm@macqel.be>
3952
3953 * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
3954 values that can be represented exactly.
3955 * gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
3956 above change, and to not check against the directory part of the source
3957 file name.
3958 (step into print_long_arg_list): Likewise.
3959 (print print_small_structs from print_long_arg_list): Likewise.
3960 (print print_long_arg_list): Likewise.
3961
7a495180
EZ
39622000-03-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3963
30b53638 3964 * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
7a495180 3965
beb998c6
AC
3966Mon Mar 27 14:46:37 2000 Andrew Cagney <cagney@b1.cygnus.com>
3967
3968 * ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
3969
1c689132
DB
39702000-03-25 Daniel Berlin <dan@cgsoftware.com>
3971
3972 * gdb.base/commands.exp (deprecated_command_test): Add test for
3973 deprecate with no arguments.
3974
c1790a9d
JL
39752000-03-24 Jonathan Larmour <jlarmour@redhat.co.uk>
3976
3977 * gdb.base/break.exp: Add new test for setting breakpoints on
3978 optimized code so we can test breakpoints work even when function
3979 prologues may be optimized away
3980
003ba290
FN
39812000-03-23 Fernando Nasser <fnasser@totem.to.cygnus.com>
3982
3983 From David Whedon <dwhedon@gordian.com>
3984 * gdb.base/commands.exp : Added command deprecator tests.
3985
6837a0a2
DB
39862000-03-22 Daniel Berlin <dan@cgsoftware.com>
3987
3988 * gdb.base/help.exp: Added test for new apropos command.
3989
b9593231
KB
39902000-03-21 Kevin Buettner <kevinb@redhat.com>
3991
3992 * gdb.base/pointers.c (usevar): New function.
3993 (main): Make sure that global variables v_int_pointer2, rptr,
3994 and y are all referenced someplace in the program by calling
3995 usevar() on them. [Some linkers delete symbols which are
3996 never referenced. The space remains, but there's no way to
3997 get a (symbolic) handle on the variable from the debugger.]
3998
751a959b
EZ
39992000-03-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4000
4001 * gdb.base/printcmds.c: Add typedeffed arrays.
4002
4003 * gdb.base/printcmds.exp (test_print_typedef_arrays): New
4004 procedure to test arrays that are typedef'd.
4005
73a93a32
JI
40062000-03-13 James Ingham <jingham@leda.cygnus.com>
4007
4008 * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
beb998c6 4009 the library directories.
73a93a32 4010
fb40c209
AC
4011Mon Feb 21 13:05:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
4012
4013 * configure.in (configdirs): Add sub directory gdb.mi.
4014 * configure: Re-generate.
4015
4016 * gdb.mi: New directory.
beb998c6 4017
ee4dd2c9
AC
40182000-02-25 Scott Bambrough <scottb@netwinder.org>
4019
4020 * gdb.base/long_long.exp: Correct test suite failure when printing
4021 a long long value as a double on ARM platforms.
4022
70f0cc22
JB
40232000-02-16 Jim Blandy <jimb@redhat.com>
4024
4025 * gdb.base/break.exp ("breakpoint line number"): Make sure the
4026 default source file is set properly before running this test.
4027
853819b8
EZ
40282000-02-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4029
4030 * lib/gdb.exp: Tell the testsuite that now gdbtk is in the
4031 gdbtk/library directory, not in gdbtcl2.
4032
dfcd3bfb
JM
40332000-02-04 Jim Blandy <jimb@redhat.com>
4034
4035 * gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
4036 backslash from regexp pattern.
4037
4038 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): New
4039 procedure. Use it to run all the "continue to bp overloaded"
4040 tests. Note that this changes the names of the tests slightly.
4041 If the breakpoint hit message includes a hex PC value, because
4042 GCC's Dwarf 2 line info doesn't help us distinguish the prologue
4043 from the real source code, still consider that a pass.
4044
4045 * gdb.base/condbreak.exp ("run until breakpoint at marker2"):
4046 XFAIL here if the breakpoint message contains a hex address. Note
4047 similar change on 1999-11-02.
4048
4049 * gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
4050
4051 * gdb.base/ptype.exp: Establish a default source file before
4052 calling get_debug_format.
4053
40542000-02-03 Fernando Nasser <fnasser@totem.to.cygnus.com>
4055
4056 * gdb.base/watchpoint.exp: Remove duplication of test messages.
4057
8b93c638
JM
40582000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
4059
4060 * gdb.base/step-test.exp: Fix the steps to enter a callee by means
4061 of successive stepi commands -- while in the prologue we should see
4062 the function entry bracket.
4063
40642000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
4065
4066 * gdb.base/ending-run.exp: Add ARM in thumb mode case, where we
4067 reach __change_mode() when stepping through the end of main().
4068
c5394b80
JM
40692000-01-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
4070
4071 * gdb.base/default.exp: Fix expected pattern.
4072 * gdb.base/help.exp: Same.
4073
0d06e24b
JM
40742000-01-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4075
4076 * gdb.base/so-indr-cl.exp: Don't execute the test if not on HPUX.
4077 Don't use xfail's because that affects only the following test.
beb998c6 4078
0d06e24b
JM
4079 * gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
4080 solaris or linux.
4081
4082 * gdb.base/selftest.exp: Update to reflect changes to main.c.
4083
dc96c6c7 40842000-01-07 Michael Snyder <msnyder@cygnus.com>
0d06e24b 4085
beb998c6 4086 * gdb.base/display.exp: Some yacc parsers like to say
0d06e24b
JM
4087 "A syntax error" rather than "A parse error". Accept both.
4088
40892000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
4090
4091 * gdb.base/default.exp: Remove OS dependent string from "target
4092 remote" test.
4093 * gdb.base/help.exp: Same for "help target remote" test.
4094
c3f6f71d
JM
40952000-01-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4096
4097 From Jim Kingdon <kingdon@redhat.com>:
4098
4099 * gdb.c++/annota2.exp: Fix "delete bps" test to wait for the
4100 prompt (cleanup rather than necessity, but still might keep output
4101 from spilling to next test).
4102
41032000-01-02 Fred Fish <fnf@cygnus.com>
4104
4105 * gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
4106 AIX, which defines them in <sys/types.h>.
4107
ed9a39eb 41081999-12-16 Stan Shebs <shebs@andros.cygnus.com>
c4093a6a 4109
ed9a39eb
JM
4110 * gdb.base/default.exp: Match arm* etc instead of arm in "info
4111 float" test.
4112
41131999-12-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
c4093a6a 4114
ed9a39eb 4115 * gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
c4093a6a
JM
4116
4117 * gdb.base/break.exp: Add missing anchor to reg exp on "finish from
4118 outermost frame disallowed".
4119
41201999-12-09 Fernando Nasser <fnasser@totem.to.cygnus.com>
4121
4122 * gdb.base/setvar.exp: New tests for setting the value of a struct
4123 with a constant list.
4124
41251999-12-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
4126
4127 * gdb.base/setvar.exp: Remove pair os tests that expected gdb to
4128 require the user to type a cast before setting the value of a struct.
4129
de57eccd
JM
41301999-12-06 Jim Blandy <jimb@cygnus.com>
4131
4132 * gdb.base/default.exp: Expect the new 'info float' command on
4133 all i386 platforms.
4134
4135 * gdb.threads/linux-dp.exp: Expand our ability to recognize
4136 LinuxThreads libraries that don't support debugging.
4137
c2d11a7d
JM
4138Sat Dec 4 15:21:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
4139
4140 * gdb.base/remote.c: Fill the buffer with truely random data.
4141 Change the buffer type to ``unsigned char'' to simplify size
4142 arithmetic.
4143
4144 * gdb.base/remote.exp: Reduce download numbers by one. Typical
4145 stub only handles 400-1 byte packets. Verify that the download
4146 worked.
4147
41481999-11-30 Fernando Nasser <fnasser@totem.to.cygnus.com>
4149
4150 * lib/gdb.exp (gdb_expect_list): FAIL only once on multiple pattern
4151 tests, using UNRESOLVED for the untested cases. Also, does not wait
4152 for a timeout if the prompt was received before a recognizable pattern.
4153
41541999-11-29 Fernando Nasser <fnasser@totem.to.cygnus.com>
4155
4156 * lib/gdb.exp (gdb_expect_list): Fix spelling.
4157
41581999-11-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4159
4160 * gdb.base/watchpoint.exp: Add tests cases for the hit count of
4161 watchpoints.
4162
41631999-11-24 Jason Merrill <jason@casey.cygnus.com>
4164
4165 * gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
4166
4167 * gdb.c++/local.exp: Be more flexible in recognizing local class
4168 name mangling. Don't allow horribly truncated method names.
4169 * gdb.c++/derivation.exp: Expect protected inheritance.
4170 * gdb.c++/inherit.exp: Be more flexible in recognizing vbase pointers.
4171 * gdb.c++/virtfunc.exp: Likewise.
4172 * gdb.c++/classes.exp: Likewise. Don't require the enclosing scope
4173 when printing a nested enum.
4174
41751999-11-22 Jim Blandy <jimb@cygnus.com>
4176
4177 * gdb.base/step-test.exp: Properly await GDB's response to setting
4178 a breakpoint on the call to large_struct_by_value.
4179
4180 * gdb.base/ending-run.exp ("step to end of run 1"): Don't fail
4181 just because we have debug info for the `start' function.
4182
41831999-11-19 Jim Blandy <jimb@zenia.red-bean.com>
4184
4185 * gdb.threads/linux-dp.exp ("create philosopher"): Recognize the
4186 "Unknown signal" messages, which indicate (on LinuxThreads) that
4187 GDB doesn't know how to debug threads on this system. This is
4188 better than hanging while philosopher 0 dumps chatter into gdb.log.
4189
41901999-11-18 Tom Tromey <tromey@cygnus.com>
4191
4192 * gdb.trace/deltrace.exp: Updated test to reflect new error text.
4193
41941999-11-18 Fred Fish <fnf@cygnus.com>
4195
4196 * gdb.base/coremaker2.c: Add sample program for generating
4197 cores that is more self contained than coremaker.c. Eventually
4198 I'll add more code to this and tie it into the testsuite.
4199
4ce44c66
JM
42001999-11-12 Stan Shebs <shebs@andros.cygnus.com>
4201
4202 * gdb.base/dollar.exp: Remove, now in gdb.hp.
4203
42041999-11-10 Jimmy Guo <guo@cup.hp.com>
4205
4206 * gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
4207 from $srcdir/lib/.
4208 * lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
4209 and gdb.c++/.
4210
4211 * gdb.c++/derivation.exp: remove redundant get compiler info code.
4212
beb998c6 4213 * gdb.base/commands.exp: add '$gdb_prompt $' anchor to
4ce44c66
JM
4214 'continue with watch' test point.
4215
42161999-11-08 Jim Blandy <jimb@zenia.red-bean.com>
4217
4218 Merged from p2linux-990323-branch:
beb998c6 4219
4ce44c66
JM
4220 * lib/gdb.exp (gdb_continue_to_breakpoint): New function.
4221
11cf8741
JM
4222Mon Nov 8 23:07:09 1999 Andrew Cagney <cagney@amy.cygnus.com>
4223
4224 * gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
4225 {limit,fixed}''. Test ``set download-write-size''.
4226
4227Sun Nov 7 17:37:01 1999 Andrew Cagney <cagney@b1.cygnus.com>
4228
4229 * gdb.base/funcargs.exp: Rewrite stack traceback checks using
4230 gdb_expect_list.
4231
4232Fri Nov 5 18:40:52 1999 Andrew Cagney <cagney@b1.cygnus.com>
4233
4234 * lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
4235
42361999-11-03 Mark Salter <msalter@cygnus.com>
4237
4238 * gdb.base/break.exp: Fix "stub continue" pattern.
4239
42401999-11-03 Jim Blandy <jimb@zwingli.cygnus.com>
4241
4242 * gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
4243
42441999-11-02 Jim Blandy <jimb@zwingli.cygnus.com>
4245
4246 * gdb.base/display.exp ("finish"): Add timeout clause.
4247
4248 * gdb.base/condbreak.exp ("run until breakpoint at marker1"): Add
4249 plain prompt clause, so this doesn't have to time out in order to
4250 fail.
4251
4252 * gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
4253 breakpoint hit messages include an address.
4254
4255 * gdb.base/display.exp: Don't forget to escape parens in regular
4256 expressions. Unix regexp notatation sucks.
4257
42581999-11-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4259
4260 * gdb.base/annota1.exp: Test for annotate-signalled: change output
4261 order for 'signalled' message.
4262
5c44784c
JM
42631999-11-01 Stan Shebs <shebs@andros.cygnus.com>
4264
4265 From Jimmy Guo <guo@cup.hp.com>:
4266 * gdb.base/annota1.exp: Add tests for annotate ignore count change.
4267 * gdb.base/annota1.c: Add code for tests to work with.
4268
42691999-10-26 Frank Ch. Eigler <fche@cygnus.com>
4270
4271 * gdb.base/remote.exp: New test for remote downloading settings.
4272 * gdb.base/remote.c: New file with large .data.
4273
917317f4
JM
42741999-10-18 Jim Blandy <jimb@zwingli.cygnus.com>
4275
4276 * gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
4277 for LinuxThreads support, merged from the Code Fusion branch.
4278
4279Mon Oct 11 13:57:21 1999 Andrew Cagney <cagney@amy.cygnus.com>
4280
4281 * lib/gdb.exp (gdb_run_cmd): Break complicated gdb_expect
4282 containing exp_continue into a while within an expect. Don't
4283 attempt a start more than three times. Check return value from
4284 gdb_load.
beb998c6 4285
2df3850c
JM
4286Wed Oct 6 12:05:58 1999 Andrew Cagney <cagney@b1.cygnus.com>
4287
4288 * gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
4289 a pass case.
4290
2acceee2
JM
42911999-10-01 Kevin Buettner <kevinb@cygnus.com>
4292
4293 * gdb.base/break.c (main): Added a statement that we can step
4294 off of.
4295 * gdb.base/break.exp: Added tests for setting a breakpoint
4296 at an offset and stepping onto a breakpoint.
4297
42981999-10-01 Fred Fish <fnf@cygnus.com>
4299
beb998c6 4300 * gdb.base/help.exp (help add-symbol-file): Update to match current
2acceee2
JM
4301 gdb output.
4302
c2c6d25f
JM
43031999-09-18 Jim Blandy <jimb@cris.red-bean.com>
4304
4305 * gdb.base/break.exp: Code locations are in hex, don't forget!
4306 (For HP-UX.)
4307
43081999-09-17 Stan Shebs <shebs@andros.cygnus.com>
4309
4310 * condbreak.exp: Use break.c as test program.
4311 * condbreak.c: Remove, redundant with break.c.
4312
43131999-09-15 Stan Shebs <shebs@andros.cygnus.com>
4314
4315 * config/monitor.exp (gdb_target_monitor): Disable X- and
4316 Z-packets if the target needs it.
4317
43181999-09-13 James Ingham <jingham@leda.cygnus.com>
4319
4320 * gdb.c++/overload.exp: Added tests for listing overloaded
4321 functions with function pointers in the arg, explicitly calling
4322 out the version you want.
4323
cff3e48b
JM
43241999-09-09 Stan Shebs <shebs@andros.cygnus.com>
4325
4326 * long_long.exp: Add variations of test cases that work for
4327 targets with 16-bit ints and 32-bit doubles.
4328
d4f3574e
SS
43291999-09-08 Stan Shebs <shebs@andros.cygnus.com>
4330
4331 * break.c (main): Compare a possibly-uninitialized argc with an
4332 unlikely value that fits in 16 bits.
4333
43341999-09-07 Stan Shebs <shebs@andros.cygnus.com>
4335
4336 * gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
4337 0xfeeb, don't want negative numbers if ints are 16 bits.
4338
4339 * lib/gdb.exp (skip_cplus_tests): New proc.
4340 * gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
4341 gdb.c++/anon-union.exp, gdb.c++/classes.exp,
4342 gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
4343 gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
4344 gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
4345 gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
4346 gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
4347 gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
4348
4349 * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
4350
4351Fri Sep 3 15:37:12 1999 Kevin Buettner <kevinb@cygnus.com>
4352
4353 * gdb.base/corefile.exp (up): Allow a parameter to appear
4354 in the frame that we're going up to.
4355
4356 From Jim Blandy <jimb@cygnus.com>:
4357
4358 * gdb.base/default.exp (info float): Expect some output now.
4359
4360 * gdb.base/callfuncs.exp (do_function_calls): We no longer expect
4361 returning floating-point values to fail on the x86.
4362 * gdb.base/callfwmall.exp (do_function_calls): Same.
4363
4364 * gdb.base/list.exp (test_listsize): Correct expectations for
4365 listing line 1 with listsize 2. Also, listing a single line
4366 works now, as does listing three lines. [Kevin's note: There
4367 were a number of other cases fixed too where the expectations
4368 differed...]
4369
43701999-09-02 Stan Shebs <shebs@andros.cygnus.com>
4371
4372 * gdb.base/selftest.exp: Add case for when version prints as
4373 constant string instead of char pointer.
4374
104c1213
JM
43751999-08-25 Stan Shebs <shebs@andros.cygnus.com>
4376
4377 * gdb.base/ending-run.exp: Add Solaris case for what happens when
4378 stepping out of main.
4379
4380 * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
4381 G++ used.
4382
4383 * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
4384 always, expect ptype InnerLocal::NestedInnerLocal to fail always.
4385
4386 * gdb.c++/ovldbreak.exp: Update match string in test that
4387 includes a warning of multiple breakpoints.
4388
43891999-08-24 Stan Shebs <shebs@andros.cygnus.com>
4390
4391 * gdb.base/display.exp: Improve precision of step-after-finish
4392 added yesterday.
4393
4394 * gdb.base/signals.exp: Add extra wildcard to "handle all print"
4395 test.
4396
4397 * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
4398 configs when using G++, not just hppa*.
4399
44001999-08-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4401
4402 * gdb.base/async.c: New file.
4403 * gdb.base/async.exp: New file.
4404
4405Tue Aug 24 03:24:53 1999 Jeffrey A Law (law@cygnus.com)
4406
4407 * gdb.base/break.exp: Tweak PA specific tests to properly handle
4408 PA64.
4409
53a5351d
JM
4410Mon Aug 23 10:25:20 1999 Jeffrey A Law (law@cygnus.com)
4411
104c1213
JM
4412 * gdb.base/display.exp: "finish" can leave us mid-line on many
4413 targets, deal with it. Add a small constant to main, instead of
4414 1000 since main+1000 may not be a valid address in the target.
4415
53a5351d
JM
4416 * gdb.base/dollar.exp: Do not run for PA processors in wide mode
4417 on hpux11.
4418
4419 * gdb.base/attach.exp: Handle another hpux11 error message variant
4420 when attaching to a process that does not exist.
4421
44221999-08-19 J.T. Conklin <jtc@redback.com>
4423
4424 * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
4425 characters in 'continue to 1241' test.
4426
44271999-08-17 Stan Shebs <shebs@andros.cygnus.com>
4428
4429 * gdb.base/call-ar-st.exp: Add a shorter match case for the
4430 stop in print_long_arg_list, define and use a whitespace
4431 variable in print_small_structs test, add an XFAIL for Solaris.
4432 * gdb.base/dbx.exp: XFAIL func commands until somebody is
4433 interested enough to fix.
4434
7be570e7
JM
44351999-08-13 Keith Seitz <keiths@cygnus.com>
4436
4437 * gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
4438 (dbx_gdb_load): Remove. Use gdb_load instead, since that
4439 proc knows about targets other than the natives.
4440 (test_assign): Use "gdb_run_cmd" to "run" the target.
4441 Check that we've actually hit the breakpoint at main.
4442 When we attempt to assign a value to a local variable, check
4443 that the variable is in the current scope, i.e., don't use
4444 a test with an empty result.
4445
4446Tue Aug 10 15:25:16 1999 Andrew Cagney <cagney@b1.cygnus.com>
4447
4448 * gdb.base/maint.exp: Add test of ``maintenance internal-error''
4449 command.
4450
44511999-08-09 Stan Shebs <shebs@andros.cygnus.com>
4452
4453 From Jimmy Guo <guo@cup.hp.com> and others at HP:
4454 gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
4455 gdb.compat, gdb.threads-hp.
4456 gdb.hp/configure, gdb.hp/configure.in: New files.
4457 gdb.hp/Makefile.in: Recurse into new subdirs.
4458 gdb.hp/gdb.defects: New directory, tests for HP bug reports.
4459 gdb.hp/gdb.objdbg: New directory, tests for debugging info
4460 in object files.
4461 gdb.hp/tools: New directory, aux tools for HP-specific tests.
4462
96baa820
JM
44631999-08-05 Stan Shebs <shebs@andros.cygnus.com>
4464
4465 * gdb.base/display.exp: Help expect by putting a newline in the
4466 funky printf, remove a bogus p/a test.
4467
44681999-08-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4469
4470 * gdb.base/display.exp: Make sure that when we say 'run', we are
4471 connected to the target. This is necessary when running not
4472 natively.
4473
44741999-08-03 Stan Shebs <shebs@andros.cygnus.com>
4475
4476 * gdb.base/step-test.exp: Removed some extraneous messages.
4477
4478 * gdb.base/long_long.exp: Don't run memory examination tests
4479 on little-endian targets (they will need a different set of
4480 results to match).
4481
44821999-08-02 Stan Shebs <shebs@andros.cygnus.com>
4483
4484 * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
4485 until somebody decides to fix GDB.
4486
4487 * gdb.base/long_long.c: Stop compiler complaint by specifying long
4488 constant as "ULL".
4489 * gdb.base/long_long.exp: Loosen x/c test, add partial result
4490 matches for a couple x/2 commands.
4491
a0b3c4fd
JM
44921999-07-30 Stan Shebs <shebs@andros.cygnus.com>
4493
4494 * gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
4495 by merging in ref-types2 tests.
4496 * gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
4497
4498 From Jimmy Guo <guo@cup.hp.com> and others at HP:
4499 * gdb.c++/Makefile.in: Add standard actions.
4500 (EXECUTABLES): Rename from PROGS, update list.
4501 * gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
4502 from gdb.hp.
4503 * gdb.c++/anon-union.cc: Don't use anonymous struct, make
4504 foo and bar locals.
4505 * gdb.c++/anon-union.exp: Fix tests to match.
4506 * gdb.c++/classes.exp: Run if HP compiler used, add extra
4507 expect matches to handle output variations.
4508 * gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
4509 * gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
4510 output, add HP alternatives for new and delete prints.
4511 * gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
4512 gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
4513 * gdb.c++/demangle.exp: Use $style when reporting failure.
4514 * gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
4515 * gdb.c++/inherit.exp: Run if HP compiler used, add some
4516 match alternatives.
4517 * gdb.c++/local.exp: Add match alternatives or xfails for HP
4518 compilers.
4519 * gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
4520 * gdb.c++/method.exp: Add match alternatives.
4521 * gdb.c++/misc.cc: Add bool types.
4522 * gdb.c++/misc.exp: Add tests for bool types.
4523 * gdb.c++/overload.exp: Add xfails.
4524 * gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
4525 * gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
4526 add some more template parameter tests (only for HP currently).
4527 * gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
4528 * gdb.c++/virtfunc.cc: Add return type and value for main.
4529 * gdb.c++/virtfunc.exp: Run if HP compiler used, add some
4530 match alternatives.
beb998c6 4531
a0b3c4fd
JM
45321999-07-30 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4533
4534 * gdb.base/display.exp: Fix output of 'p/a &&j' test.
4535
45361999-07-29 Jim Blandy <jimb@savonarola.red-bean.com>
4537
4538 * gdb.base/signals.exp: Don't expect getting a backtrace from
4539 within a signal handler to fail on Linux.
4540
45411999-07-29 Stan Shebs <shebs@andros.cygnus.com>
4542
4543 From Jimmy Guo <guo@cup.hp.com> and others at HP:
4544 * lib/gdb.exp: Remove some gratuitious semicolons.
4545 (delete_breakpoints): Increase timeout.
4546 (gdb_expect): Add -notransfer option.
4547 (gdb_test): Use -notransfer option.
4548 (get_compiler_info): Add f77 case.
4549 (get_compiler): New proc, split out from gdb_preprocess, add f77
4550 case.
4551 (gdb_preprocess): Call get_compiler.
4552
4553 * gdb.base/Makefile.in (EXECUTABLES): Update the list.
4554 * gdb.base/attach.exp, gdb.base/display.exp,
4555 gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
4556 gdb.base/long_long.exp, gdb.base/printcmds.exp,
4557 gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
4558 third arg to gdb_test.
4559 * gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
4560 * gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
4561 HP-UX xfails, add others.
4562 * gdb.base/completion.exp: Reflect name change of self-test.
4563 * gdb.base/condbreak.exp, gdb.base/corefile.exp,
4564 gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
4565 gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
4566 HP failure number.
4567 * gdb.base/foll-vfork.exp: Loosen matches slightly, remove
4568 useless HP-UX 10.30 references.
4569 * gdb.base/maint.exp: Loosen matches.
4570 * gdb.base/pointers.c (main): Declare more_code.
4571 * gdb.base/pointers.exp: Match on output of a `next'.
4572 * gdb.base/structs.c: Add prototypes.
4573 * gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
4574 * gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
4575
45761999-07-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4577
4578 * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
4579 command.
4580
45811999-07-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4582
4583 * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
4584 Fix run to main failures. Watchpoint can be hardware watchpoint.
beb998c6
AC
4585
4586 * gdb.base/annota1.exp: Clean up some more, in case printf has
a0b3c4fd
JM
4587 debug info. Deal with lack of signal hanlder info in stack.
4588
4589 From Jim Kingdon <kingdon@redhat.com>:
4590 * gdb.base/annota1.exp: If printf has debug info, deal with it.
4591
5a2468f5
JM
45921999-07-19 Stan Shebs <shebs@andros.cygnus.com>
4593
4594 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
4595 gdb.base/foll-vfork.exp: Don't run for crosses.
4596
adf40b2e
JM
4597Tue Jul 13 23:37:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
4598
4599 * gdb.base/configure.in: Check for gdbvars.exp instead of
4600 a1-selftest.exp.
4601 * gdb.base/configure: Re-generate.
4602
46031999-07-12 Stan Shebs <shebs@andros.cygnus.com>
4604
4605 * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
4606 in trying to run first and name is too long.
4607
4608 * gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
4609 pointers2.c and pointers2.exp, respectively.
4610 * gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
4611 doschk happier.
4612
43e526b9
JM
46131999-07-08 Stan Shebs <shebs@andros.cygnus.com>
4614
4615 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
4616 callfuncs2.c and callfuncs2.exp.
4617
4618 * gdb.base/list.exp: Remove mistaken xfails.
4619 * gdb.base/list0.h: Add optional prototypes.
4620
9846de1b
JM
4621Wed Jul 7 00:27:35 1999 Andrew Cagney <cagney@amy.cygnus.com>
4622
4623 * gdb.base/setvar.exp: Increase the time-out on tests indirectly
4624 calling malloc.
4625 * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
4626 * ptype.exp: Move test for get_debug_format to before its first
4627 use.
4628
46291999-07-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4630
4631 * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
4632 * gdb.base/annota2.cc, annota2.exp: Move from here.
4633 * gdb.c++/annota2.cc, annota2.exp: To here.
4634 * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
4635
43ff13b4
JM
4636Tue Jun 29 11:56:06 1999 Andrew Cagney <cagney@b1.cygnus.com>
4637
4638 * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
4639 a consistent format.
4640
085dd6e6
JM
46411999-06-25 Stan Shebs <shebs@andros.cygnus.com>
4642
4643 From Jimmy Guo <guo@cup.hp.com> and others at HP:
4644 * lib/gdb.exp (get_compiler_info): Add detection for assorted
4645 HP compilers, also set the globals $true and $false.
4646
4647 * gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
4648 call-rt-st.c, call-strs.c, callfuncs.c, callfuncs2.c, condbreak.c,
4649 coremaker.c, ending-run.c, exprs.c, funcargs.c, interrupt.c,
4650 jump.c, langs0.c, langs1.c, langs2.c, list0.c, list1.c,
4651 long_long.c, mips_pro.c, nodebug.c, opaque0.c, opaque1.c,
4652 printcmds.c, ptype.c, recurse.c, restore.c, return.c, run.c,
4653 scope0.c, scope1.c, setshow.c, setvar.c, shmain.c, shr1.c, shr2.c,
4654 sigall.c, signals.c, so-impl-ld.c, so-indr-cl.c, solib.c,
4655 solib1.c, solib2.c, step-test.c, twice.c, varargs.c, watchpoint.c,
4656 whatis.c} Add C++ compatible function definitions and return
4657 types, add includes for library functions.
4658 * gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
4659 * gdb.base/step-test.c (myglob): Rename from glob.
4660 * gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
4661 foll-exec.c, foll-fork.c, foll-vfork.c, sum.c, vforked-prog.c: New
4662 files, move here from gdb.hp.
4663 * gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
4664 commands.exp, condbreak.exp, define.exp, ena-dis-br.exp,
4665 ending-run.exp, jump.exp. list.exp, long_long.exp, so-impl-ld.exp:
4666 Adjust line numbers in regexps.
4667
4668 * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
4669 miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
4670 instead of 0/1.
4671
4672 * gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
4673 foll-vfork.exp: New files, move here from gdb.hp.
4674 * gdb.base/page.exp: New file, test of pagination command.
4675
4676 * gdb.base/watchpoint.c (recurser): New function, for watchpoint
4677 recursion test.
4678 * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
4679
4680 * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
4681 gdb.base/solib.exp: Fix compiler invocation process.
4682
4683 * gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
4684 HP-UX 11, turn off overload resolution explicitly.
4685 * gdb.base/commands.exp: Set argument list explicitly, add
4686 watchpoint test.
4687 * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
4688 them work.
4689 * gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
4690 expressions properly.
4691 * gdb.base/corefile.exp: Loosen the match slightly.
4692 * gdb.base/default.exp: Allow "Error accessing memory" message
4693 also.
4694 * gdb.base/display.exp: Skip over x/0 j if PA64.
4695 * gdb.base/funcargs.exp: Add xfails for HP-UX.
4696 * gdb.base/interrupt.exp: Ditto.
4697 * gdb.base/langs.exp: Add symbolic matches governed by compiler
4698 in use.
4699 * gdb.base/list.exp: Add xfails for HP-UX.
4700 * gdb.base/long_long.exp: Refine some of the numeric matches.
4701 * gdb.base/mips_pro.exp: Xfail on HP-UX.
4702 * gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
4703 * gdb.base/nodebug.exp: Succeed on more varieties of output.
4704 * gdb.base/opaque.exp: Remove some HP-UX xfails.
4705 * gdb.base/ptype.exp: Succeed on more varieties of output.
4706 * gdb.base/scope.exp: Add xfails for HP-UX.
4707 * gdb.base/sect-cmd.exp: Add more cases.
4708 * gdb.base/setvar.exp: Add xfails for HP-UX.
4709 * gdb.base/shlib-call.exp: Loosen some matches slightly.
4710 * gdb.base/signals.exp: Match on void symbolically.
4711 * gdb.base/step-test.exp: Add case for PA64.
4712 * gdb.base/term.exp: Add exit and restart.
4713 * gdb.base/twice.exp: Clean up after self.
4714 * gdb.base/varargs.exp: Disable overload resolution explicitly.
4715 * gdb.base/whatis.exp: Allow more ways to pass tests.
4716
4717 * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
4718 no longer useful.
4719
4720Fri Jun 25 19:27:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
4721
4722 * lib/gdb.exp (proc gdb_expect_list): New procedure. Matches a
4723 list of patterns.
4724 * gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
4725 print_double_array(double_array)", "continuing to breakpoint
4726 1018", "print print_double_array(array_d)" and "continuing to
4727 1034" tests.
beb998c6 4728
085dd6e6
JM
47291999-06-24 Jason Molenda (jsm@bugshack.cygnus.com)
4730
4731 * Makefile.in: Add empty html and install-html targets.
4732
47331999-06-24 Stan Shebs <shebs@andros.cygnus.com>
4734
4735 * config/mt-*: Remove, these haven't been used since 1996.
4736
47371999-06-22 Stan Shebs <shebs@andros.cygnus.com>
4738
4739 * gdb.base/call-strs.c, gdb.base/ending-run.c,
4740 gdb.base/step-test.c: Include stdlib.h and string.h as needed.
4741 * gdb.c++/member-ptr.exp: Skip over these tests if using G++.
4742
9e0b60a8
JM
47431999-06-18 Stan Shebs <shebs@andros.cygnus.com>
4744
4745 * gdb.c++/overload.exp: XFAIL everything if using G++, add a
4746 simpler match case for the ptype of the big class.
4747
47481999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
4749
4750 * gdb.exp: Fix test for gdb_prompt existence.
4751
47521999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
4753
4754 * gdb.exp (gdb_test): Add fail after calls to perror.
4755
47561999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
4757
4758 * gdb.exp (gdb_test): Accept variations of Undefined command messages.
4759
47601999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
4761
4762 * gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
4763
0f71a2f6
JM
4764Fri Jun 11 12:56:50 1999 Andrew Cagney <cagney@b1.cygnus.com>
4765
4766 * gdb.base/call-strs.c (link_malloc): New function. Ensure that
4767 malloc() is linked in.
4768
47691999-06-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
4770
4771 * gdb.base/ending-run.exp: Make sure we fail and do not timeout at
4772 step at end.
4773
4774 * gdb.base/annota1.exp: Increase match_max to prevent timeout.
4775
47761999-06-08 Jim Blandy <jimb@zwingli.cygnus.com>
4777
4778 * gdb.java/jv-print.exp: New file. (Our first Java test!)
4779
cce74817
JM
4780Fri Jun 4 10:47:46 1999 Jeffrey A Law (law@cygnus.com)
4781
4782 * gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
4783 * gdb.base/mips_pro.exp: Likewise.
4784
47851999-06-02 Keith Seitz <keiths@cygnus.com>
4786
4787 * gdb.c++/templates.cc: Change all "new" operators to throw
4788 an exception.
4789 * gdb.c++/cplusfuncs.cc: Likewise.
4790
4791 * gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
4792
4793Wed Jun 2 17:37:05 1999 Andrew Cagney <cagney@b1.cygnus.com>
4794
4795 * gdb.base/condbreak.exp: Use rerun_to_main to start the program.
4796 * gdb.base/ending-run.exp: When stepping out of main, accept a
4797 step into an arbitrary assembler file.
4798
392a587b
JM
47991999-05-20 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4800
beb998c6 4801 * gdb.base/annota1.exp: Allow any number of "frames-invalid" and
392a587b 4802 "breakpoint-invalid" to be printed.
beb998c6 4803 * gdb.base/annota2.exp: Revise line number for main breakpoint. Allow any
392a587b
JM
4804 number of "frames-invalid" and "breakpoint-invalid" to be printed.
4805 * gdb.base/annota2.cc: Initialize a.x to 0.
4806
9e086581
JM
48071999-05-17 Keith Seitz <keiths@cygnus.com>
4808
4809 * gdb.base/call-ar-st.exp: Skip "print print_double_array (double_array)"
4810 when "skip_float_tests" set.
4811 Ditto for "print print_double_array(array_d)", "print print_small_structs",
4812 "print print_ten_doubles", and "step into print_long_arg_list".
4813 Don't assume we can step into "print_long_arg_list": we could step into memcpy.
4814 * gdb.base/call-rt-st.exp: Don't run float-related tests when "skip_float_tests"
4815 is set: "print print_one_double(*d1)" and "print print_two_floats(*f3)".
4816 * gdb.base/funcargs.exp: Don't run "float_and_integral_args" when
4817 "skip_float_tests" is set.
4818 * gdb.base/varargs.exp: Skip "print find_max_double(5,1.0,17.0,2.0,3.0,4.0)"
4819 when "skip_float_tests" set.
beb998c6 4820
cd0fc7c3
SS
48211999-05-06 Keith Seitz <keiths@cygnus.com>
4822
4823 * gdb.base/annota2.cc: Include stdio.h.
4824
4825Wed May 5 17:44:31 1999 Stan Shebs <shebs@andros.cygnus.com>
4826
4827 * gdb.base/crossload.exp: Remove, this has been disabled ever
4828 since BFD stopped including all targets, and cross-GDB gets
4829 plenty of testing anyway.
4830 * gdb.base/i486-elf.u, gdb.base/m68k-aout.u, gdb.base/m68k-elf.u,
4831 gdb.base/sparc-aout.u, gdb.base/i860-elf.u, gdb.base/m68k-aout2.u,
4832 gdb.base/mips-ecoff.u, gdb.base/sparc-elf.u: Remove.
4833 * gdb.base/README: Remove, was doc for this.
4834 * gdb.base/Makefile.in (CROSS_EXECUTABLES): Remove, no longer
4835 needed.
4836
b83266a0
SS
48371999-05-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4838
4839 * gdb.base/call-ar-st.exp: Fix one regular expression in test
4840 output.
4841
4842 * gdb.base/annota1.exp: New file. Annotation level 2 tests.
4843 * gdb.base/annota2.exp: New file. More annotation tests.
4844 * gdb.base/annota1.c: New file. Source file for annota1.exp.
4845 * gdb.base/annota2.cc: New file. Source file for annota2.exp.
4846
48471999-04-23 Angela Marie Thomas <angela@cygnus.com>
4848
4849 * config/cfdbug.exp: New file.
4850
7a292a7a
SS
48511999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
4852
4853 * gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
4854 Marcus Daniel's and Dale Hawkins's demangler crashes.
4855
4856 * gdb.c++/demangle.exp (test_gnu_style_demangling,
4857 test_lucid_style_demangling, test_arm_style_demangling,
4858 test_hp_style_demangling): Try Tom Tromey's core-dumping
4859 identifier under each demangling style.
4860
48611999-04-07 Jim Blandy <jimb@zwingli.cygnus.com>
4862
4863 * gdb.c++/demangle.exp: Include the current demangling style
4864 in all test names.
4865 (current_demangling_style): New global variable.
4866 (set_demangling_style, test_demangling_core, test_demangling,
4867 test_demangling_exact): New functions.
4868 (test_gnu_style_demangling, test_lucid_style_demangling,
4869 test_arm_style_demangling, test_hp_style_demangling): Use those,
4870 instead of calling gdb_test and gdb_test_exact directly.
4871 (catch_demangling_errors): New function, which reports errors
4872 signalled by the demangling test functions in an orderly way.
4873 (do_tests): Use catch_demangling_errors.
4874
48751999-04-06 Jim Blandy <jimb@zwingli.cygnus.com>
4876
4877 * gdb.base/signals.exp (test_handle_all_print): Use () for
4878 grouping in expressions, not {}.
4879
4880 * gdb.base/smoke.exp: Test value of x, not y. The latter isn't
4881 initialized yet.
4882
48831999-04-01 Stan Shebs <shebs@andros.cygnus.com>
4884
4885 * gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
4886 are listed.
4887
48881999-03-26 Stan Shebs <shebs@andros.cygnus.com>
4889
4890 * gdb.stabs/weird.exp: Test for CC being defined before
4891 looking at its value.
4892
48931999-03-25 Stan Shebs <shebs@andros.cygnus.com>
4894
4895 * gdb.base/call-ar-st.exp: Remove stray '#'.
4896 * gdb.base/miscexprs.exp: Allow "short" and "long" as well as
4897 "short int" and "long int".
4898 * gdb.c++/overload.cc: Cast the string added in the previous
4899 change, to mollify finicky HP compiler.
4900 * gdb.hp/reg-test.exp (testfile): Fix file name.
4901 * gdb.stabs/weird.exp: Don't try to run if HP compiler in use.
beb998c6 4902
7a292a7a
SS
4903 * gdb.c++/misc.cc (main): Initialize obj_with_enum.
4904 * gdb.c++/classes.exp: Fix test of obj_with_enum values, allow
4905 alternate form of enum ptype.
4906
c906108c
SS
49071999-03-23 Stan Shebs <shebs@andros.cygnus.com>
4908
7a292a7a
SS
4909 * lib/gdb.exp (skip_hp_tests): Remove gcc_used argument.
4910 * gdb.hp/*.exp: Change all to run compiler probe only after
4911 passing skip_hp_tests, so as not to waste time on guaranteed
4912 failure.
4913
c906108c
SS
4914 * gdb.c++/overload.cc: Pass string instead of char addr, always
4915 init ccpfoo.
4916 * gdb.c++/templates.cc: Fix syntax error.
4917
7a292a7a
SS
4918Tue Mar 23 14:56:36 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4919
4920 * gdb.base/commands.exp: Add test for correct position of '>'
beb998c6 4921 when issuing the 'commands' command after a 'while' or 'if'
7a292a7a
SS
4922 command.
4923
49241999-03-18 James Ingham <jingham@cygnus.com>
4925
4926 * gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
4927
4928 * gdb.c++/method.exp: It was testing an uninitialized int on the
4929 stack and assuming it was positive.
4930
4931 * gdb.base/watchpoint.exp: Use gdb_continue_to_end.
4932
4933 * gdb.base/step-test.exp: Catch a case where finish is broken and
beb998c6 4934 keep it from killing the rest of the tests.
7a292a7a
SS
4935 Use gdb_continue_to_end.
4936
4937 * gdb.base/sigall.exp: use gdb_continue_to_end.
4938
4939 * gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
4940
4941 * gdb.base/display.exp: use runto_main, not run.
4942
beb998c6
AC
4943 * gdb.base/default.exp: Check for the current error message in the
4944 r abbreviation test.
7a292a7a
SS
4945 Add strongarm to the targets that know info float.
4946
beb998c6 4947 * gdb.base/condbreak.exp: Use the gdb_run command rather than just
7a292a7a
SS
4948 run which doesn't work with monitors.
4949
4950 * gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to 1034 test.
4951
4952 * gdb.base/break.exp: use the gdb_continue_to_end proc.
4953
4954 * lib/gdb.exp: I had added gdb_continue_to_end used to run to the end of a
beb998c6
AC
4955 program. Traps the case (in Cygmon) when the program never really
4956 exits. Same as Mark's continue_to_exit, but I had put it in a lot
7a292a7a
SS
4957 more places, so I used my name. Sorry Mark...
4958
4959 * config/monitor.exp (gdb_target_monitor): added another
4960 target_info parameter: remotebinarydownload. This will set the
4961 remotebinarydownload flag if this is causing some boards trouble.
4962
49631999-03-18 Mark Salter <msalter@cygnus.com>
4964
4965 * lib/gdb.exp (continue_to_exit): New function.
4966
4967 * gdb.base/ena-dis-br.exp: Clean up for remote targets.
4968 * gdb.base/ending-run.exp: Ditto.
4969 * gdb.base/step-test.exp: Ditto.
4970
49711999-03-16 Stan Shebs <shebs@andros.cygnus.com>
4972
4973 * gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
4974 (suggested by Art Haas <ahaas@neosoft.com>).
4975
49761999-03-16 Jim Blandy <jimb@zwingli.cygnus.com>
4977
4978 * gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
4979
4980Fri Mar 12 18:06:21 1999 Stan Shebs <shebs@andros.cygnus.com>
4981
4982 * gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
4983 descriptions of types (short unsigned int vs unsigned short, etc).
4984
49851999-03-12 Jim Blandy <jimb@zwingli.cygnus.com>
4986
4987 * gdb.base/call-strs.exp: Don't assume that `step' will step over
4988 a call to strlen; sometimes we do have sources.
4989
49901999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
c906108c
SS
4991
4992 * gdb.base/call-ar-st.c (main): Terminate char_array with a null
4993 character, so GDB won't print garbage after its end.
beb998c6 4994
c906108c
SS
4995 * gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
4996 breakpoint there instead. Sometimes GCC emits memcpy to handle
4997 the large structures being passed by value, so we step into that
4998 instead of sum_array_print, which obscures what we're really testing.
4999 * gdb.base/step-test.exp: However, we do want a test that notices
5000 the bizarre steps into memcpy, so do that here. Add check for
5001 stepping into function calls that pass large structures by value.
5002 ("Is that a noun clause, or are you just happy to see me?")
5003 Remove all references to specific line numbers.
5004 * gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
5005 New type and function.
5006 (main): Call large_struct_by_value, passing it a large struct by value.
5007 * lib/gdb.exp (gdb_get_line_number): New function.
5008
5009 * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
5010 more portable.
5011
7a292a7a
SS
50121999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
5013
c906108c
SS
5014 * lib/gdb.exp: Doc fixes.
5015
7a292a7a
SS
50161999-03-05 Nick Clifton <nickc@cygnus.com>
5017
beb998c6 5018 * gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
7a292a7a
SS
5019
50201999-03-04 Jim Blandy <jimb@zwingli.cygnus.com>
5021
c906108c
SS
5022 * gdb.base/display.exp: Don't exercise the "detach" and "kill"
5023 commands. They're not germane to this test, and they don't work
5024 that way on remote targets.
5025
3fc11d3e
JM
50261999-03-01 James Ingham <jingham@cygnus.com>
5027
5028 * Changelog entries merged over from gdb development branch.
5029
3fc11d3e
JM
5030 Tue Jan 5 12:33:47 1999 Keith Seitz <keiths@cygnus.com>
5031
5032 * lib/gdb.exp (gdbtk_analyze_results): Generic function
5033 for outputting results of test run.
5034
2d4a1622 5035 1998-12-07 Martin M. Hunt <hunt@cygnus.com>
3fc11d3e
JM
5036
5037 * lib/gdb.exp (gdbtk_start): Fix path for itcl library.
3fc11d3e 5038
7a292a7a
SS
50391999-02-25 Felix Lee <flee@cygnus.com>
5040
5041 * lib/gdb.exp (debug_format): initialize
5042
c906108c
SS
50431999-02-25 Jason Molenda (jsm@bugshack.cygnus.com)
5044
5045 * gdb.base/call-ar-st.c: Include string.h, not strings.h.
5046 * gdb.base/call-rt-st.c: Ditto.
5047
c906108c
SS
50481999-02-13 Jim Blandy <jimb@zwingli.cygnus.com>
5049
5050 * gdb.threads/pthreads.exp (horiz): New variable.
5051 (test_startup): Fix regexps that capture thread numbers.
5052
50531999-02-10 Jason Molenda (jsm@bugshack.cygnus.com)
5054
5055 * gdb.base/smoke.exp: Disambiguate two test case names (both
5056 called ``print'').
5057
5058Fri Feb 5 12:42:56 1999 Stan Shebs <shebs@andros.cygnus.com>
5059
5060 * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
5061 compilation.
5062
50631999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
5064
5065 * gdb.base/miscexprs.exp: Change patterns to match GDB's
5066 actual output formatting.
5067 * gdb.base/smoke.exp: GDB removes leading 0's.
5068 * gdb.base/volatile.exp: Don't check type of remuneration;
5069 that variable is no longer defined in constvars.c.
5070 * gdb.base/step-test.c (main): Exit with explicit exit code.
5071 * gdb.base/step-test.exp: Remove two nexti checks--they are
5072 not portable.
5073
50741999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
5075
5076 * gdb.base/help.exp ("help delete display"): Fix test to match
5077 gdb's output.
5078
5079 * gdb.base/long_long.c (known_types): Initialize values to zero.
5080 * gdb.base/long_long.exp: Step one more line
5081 so 'dec' is initialized in "get to known place". GDB removes
beb998c6 5082 leading zeros. Explicitly ask for hex formatting. Use
c906108c
SS
5083 unique test case names.
5084
5085Tue Feb 2 10:16:08 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5086
beb998c6 5087 * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
c906108c
SS
5088
5089 * gdb.c++/method.exp: Add missing close brace.
5090
50911999-01-30 Jim Blandy <jimb@zwingli.cygnus.com>
5092
5093 * gdb.base/maint.exp: Use 'set height 0' to disable page
5094 prompting, not 'set height 400'.
5095
5096 Fix a bunch of timeouts.
5097 * gdb.base/maint.exp ("maint print objfiles"): Break this up into
5098 four separate tests, so expect doesn't take forever to match a ton
5099 of text against a regexp with lots of .* forms.
5100 ("maint print psymbols", "maint print symbols"): Make some of
5101 these greps more selective, so that expect doesn't try to wade
5102 through huge piles of output and time out.
5103
5104 * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
5105
5106 * gdb.base/maint.exp ("maint info breakpoints"): Split into two
5107 tests: one which doesn't expect shlib events to be reported, and
5108 another which does, but is XFAIL for all platforms other than
5109 HP/UX.
5110
5111 * gdb.base/break.exp: Teach the test suite that the `catch
5112 fork', `catch vfork', and `catch exec' commands produce error
5113 messages on platforms that don't provide these features.
5114
5115Mon Jan 25 18:35:56 1999 Stan Shebs <shebs@andros.cygnus.com>
5116
5117 * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
5118 so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
5119 (shortening names from solib_threshold.exp etc), won't run on
5120 anything but HP-UX for the foreseeable future.
5121 * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
5122 reflect move.
5123
5124Thu Jan 21 15:46:49 1999 Stan Shebs <shebs@andros.cygnus.com>
5125
5126 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
5127 gdb.trace/Makefile.in (clean): Remove all test executables.
5128
5129Tue Jan 19 17:20:09 1999 David Taylor <taylor@texas.cygnus.com>
5130
5131 * gdb.base/shlib-call.exp: add test cases to verify that gdb
5132 successfully re-sets breakpoints in shared libraries.
5133 * gdb.base/shmain.c (main): return 0, don't fall off the end.
5134
5135Fri Jan 15 14:04:57 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5136
beb998c6
AC
5137 * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
5138 and compiled w/o GCC.
c906108c
SS
5139
5140 * gdb.hp/watch-cmd.exp: ditto.
5141
5142 * gdb.hp/watch-hp.exp: ditto.
5143
5144 * gdb.hp/xdb1.exp: ditto.
5145
5146 * gdb.hp/xdb2.exp: ditto.
5147
5148 * gdb.hp/dbx.exp: ditto.
5149
5150Thu Jan 14 18:36:48 1999 Stan Shebs <shebs@andros.cygnus.com>
5151
5152 * constvars.c: Remove C++-isms.
5153 * constvars.exp: Use gdb_test everywhere, add xfails if compiled
5154 with GCC.
5155
5156Mon Jan 11 10:08:03 1999 David Taylor <taylor@texas.cygnus.com>
5157
5158 The following changes are part of the HP merge.
5159
5160 * gdb.base/break.exp: new tests to verify that catchpoints for
5161 fork, vfork, and exec don't trigger inappropriately.
5162
5163 * gdb.base/opaque.exp: compile one file at a time, then link.
5164
5165 * gdb.base/signals.exp: be more restrictive about which hppa
5166 systems receive a setup_xfail. new tests.
5167
5168 * gdb.base/solib_threshold.build: new file.
5169 * gdb.base/solib_threshold.exp: new file.
5170 * gdb.base/solib_threshold.link_opts: new file.
5171 * gdb.base/solib_threshold.mk: new file.
5172 * gdb.base/gen_solib_threshold.c: new file.
5173
5174 * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
5175 tests. New tests for enums inside classes.
5176
5177 * gdb.c++/compiler.cc: indicate support of template debugging.
5178
5179 * gdb.c++/demangle.exp: run hp style demangling tests.
5180
5181 * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
5182 tests.
5183
5184 * gdb.c++/misc.cc: changes to support new tests.
5185
5186 * gdb.c++/templates.cc: changes to support HP's compiler; changes
5187 to support new tests.
5188
5189 * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
5190 gcc, then skip these tests.
5191
5192Sun Jan 10 23:44:11 1999 David Taylor <taylor@texas.cygnus.com>
5193
5194 The following files are part of the HP merge; some had longer
5195 names at HP, but have been renamed to be no more than 14
5196 characters in length.
5197
5198 * gdb.hp/ambiguous.cc: new file.
5199 * gdb.hp/ambiguous.exp: new file.
5200 * gdb.hp/attach.exp: new file.
5201 * gdb.hp/attach2.exp: new file.
5202 * gdb.hp/classes-hp.exp: new file.
5203 * gdb.hp/ctti.exp: new file.
5204 * gdb.hp/ctti-add.cc: new file.
5205 * gdb.hp/ctti-add1.cc: new file.
5206 * gdb.hp/ctti-add2.cc: new file.
5207 * gdb.hp/ctti-add3.cc: new file.
5208 * gdb.hp/dbx.exp: new file.
5209 * gdb.hp/exception.cc: new file.
5210 * gdb.hp/exception.exp: new file.
5211 * gdb.hp/foll-exec.c: new file.
5212 * gdb.hp/foll-exec.exp: new file.
5213 * gdb.hp/foll-fork.c: new file.
5214 * gdb.hp/foll-fork.exp: new file.
5215 * gdb.hp/foll-vfork.c: new file.
5216 * gdb.hp/foll-vfork.exp: new file.
5217 * gdb.hp/inherit-hp.exp: new file.
5218 * gdb.hp/more-steps.exp: new file.
5219 * gdb.hp/namespace.cc: new file.
5220 * gdb.hp/namespace.exp: new file.
5221 * gdb.hp/optimize.exp: new file.
5222 * gdb.hp/pxdb.c: new file.
5223 * gdb.hp/pxdb.exp: new file.
5224 * gdb.hp/quicksort.exp: new file.
5225 * gdb.hp/reg-test.exp: new file.
5226 * gdb.hp/reg-test.s: new file.
5227 * gdb.hp/sized-enum.c: new file.
5228 * gdb.hp/sized-enum.exp: new file.
5229 * gdb.hp/start-stop.exp: new file.
5230 * gdb.hp/templ-hp.cc: new file.
5231 * gdb.hp/templ-hp.exp: new file.
5232 * gdb.hp/thr-lib.c: new file.
5233 * gdb.hp/thr-lib.exp: new file.
5234 * gdb.hp/thr-lib.h: new file.
5235 * gdb.hp/thr-liblib.c: new file.
5236 * gdb.hp/virtfun-hp.c: new file.
5237 * gdb.hp/virtfun-hp.exp: new file.
5238 * gdb.hp/watch-cmd.exp: new file.
5239 * gdb.hp/watch-hp.exp: new file.
5240 * gdb.hp/xdb1.exp: new file.
5241 * gdb.hp/xdb2.exp: new file.
5242 * gdb.hp/xdb3.exp: new file.
5243
5244Wed Jan 6 18:41:15 1999 David Taylor <taylor@texas.cygnus.com>
5245
5246 The following files are part of the HP merge; some had longer
5247 names at HP, but have been renamed to be no more than 14
5248 characters in length.
5249
5250 * gdb.base/ss.h: new file.
5251 * gdb.base/call-ar-st.c: new file.
5252 * gdb.base/call-ar-st.exp: new file.
5253 * gdb.base/call-rt-st.c: new file.
5254 * gdb.base/call-rt-st-exp: new file.
5255 * gdb.base/call-strs.exp: new file.
5256 * gdb.base/ena-dis-br.exp: new file.
5257 * gdb.base/environ.exp: new file.
5258 * gdb.base/long_long.exp: new file.
5259 * gdb.base/sect-cmd.exp: new file.
5260 * gdb.base/shlib-cl2.exp: new file.
5261 * gdb.base/smoke.exp: new file.
5262 * gdb.base/so-impl-ld.c: new file.
5263 * gdb.base/so-impl-ld.exp: new file.
5264 * gdb.base/so-indr-cl.c: new file.
5265 * gdb.base/so-indr-cl.exp: new file.
5266 * gdb.base/varargs.exp: new file.
5267 * gdb.base/volatile.exp: new file.
5268 * gdb.base/whatis-exp.exp: new file.
7a292a7a 5269 * gdb.base/display.exp: new file.
c906108c
SS
5270 * gdb.c++/derivation.exp: new file.
5271 * gdb.c++/local.exp: new file.
5272 * gdb.c++/member-ptr.exp: new file.
5273 * gdb.c++/overload.exp: new file.
5274 * gdb.c++/ovldbreak.exp: new file.
5275 * gdb.c++/ref-types.exp: new file.
5276 * gdb.c++/ref-types2.exp: new file.
5277 * gdb.c++/userdef.exp: new file.
beb998c6 5278
c906108c
SS
5279Wed Jan 6 13:50:57 1999 Stan Shebs <shebs@andros.cygnus.com>
5280
5281 * gdb.base/default.exp: Reflect wording change in remote.c.
5282
dc96c6c7 5283Tue Jan 5 19:14:51 1999 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5284
5285 * gdb.base/help.exp: Update to reflect current text.
5286
5287Tue Jan 5 13:05:32 1999 David Taylor <taylor@texas.cygnus.com>
5288
5289 * gdb.c++/anon-union.cc: make foo and bar global, otherwise
5290 they're stack variables and contain garbage.
5291 * gdb.c++/anon-union.exp: new file.
5292
5293 The following changes were made by David Taylor
5294 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
5295 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
5296 in changes by HP.
5297
5298 * gdb.base/bitops.exp: new file.
5299 * gdb.base/default.exp: change expected messages for catch and
5300 info catch tests to reflect HP merge changes.
5301 * gdb.base/enable-disable-break.exp
5302 * gdb.base/ending-run.c: new file.
5303 * gdb.base/long_long.c: new file.
5304 * gdb.base/maint.exp: new file.
5305 * gdb.base/pointers2.exp: new file.
5306 * gdb.base/shlib-call2.exp: new file.
5307 * gdb.base/solib.exp: new file.
5308 * gdb.base/step-test.c: new file.
5309 * gdb.c++/anon-union.cc: new file.
5310 * gdb.c++/local.cc: new file.
5311 * gdb.c++/member-pointer.cc: new file.
5312 * gdb.c++/method.cc: new file.
5313 * gdb.c++/ref-types.cc: new file.
5314 * gdb.c++/ref-types2.cc: new file.
5315 * gdb.c++/userdef.cc: new file.
beb998c6 5316
c906108c
SS
5317 * gdb.base/scope.exp: compile one file at a time, then link.
5318 * gdb.base/langs.exp: ditto.
5319 * gdb.base/list.exp: ditto.
beb998c6 5320
c906108c
SS
5321Mon Jan 4 10:06:43 1999 David Taylor <taylor@texas.cygnus.com>
5322
5323 The following changes were made by David Taylor
5324 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
5325 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
5326 in changes by HP.
beb998c6 5327
c906108c
SS
5328 * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
5329 skip tests. When compiling pass c++ flag to gdb_compile.
5330 * gdb.c++/
beb998c6 5331
c906108c
SS
5332 * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
5333 test for on hppa*-*-hpux*; use args to see if c++ was specified.
5334 (skip_hp_tests): new function.
5335 (gdb_preprocess): new function.
5336
5337 * configure.in (hpdir): decide whether to configure gdb.hp.
5338 * configure: regenerated.
5339
5340 * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
5341 to delete on clean.
5342 (EXECUTABLES): update to reflect new additions.
5343 * gdb.base/commands.exp: update message expected.
5344 * gdb.base/default.exp: add copyright notice.
5345 * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
5346 * gdb.base/help.exp: update messages to reflect current text.
5347 * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
5348 targets for recurse tests.
5349 * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
5350 skip this file.
5351
5352 * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
5353 * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
5354 compilation.
5355 * gdb.c++/misc.exp: ditto.
5356 * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
5357 run the tests. tell gdb_compile that it's a c++ compilation.
5358
5359 * gdb.threads/pthreads.exp: fix typo in message.
beb998c6 5360
c906108c
SS
5361 * gdb.base/all-bin.exp: new file.
5362 * gdb.base/arithmet.exp: new file.
5363 * gdb.base/assign.exp: new file.
5364 * gdb.base/completion.exp: new file.
5365 * gdb.base/cond-expr.exp: new file.
5366 * gdb.base/condbreak.exp: new file.
5367 * gdb.base/define.exp: new file.
5368 * gdb.base/dollar.exp: new file.
5369 * gdb.base/environment.exp: new file.
5370 * gdb.base/eval-skip.exp: new file.
5371 * gdb.base/jump.exp: new file.
5372 * gdb.base/logical.exp: new file.
5373 * gdb.base/pointers.exp: new file.
5374 * gdb.base/relational.exp: new file.
5375 * gdb.base/section_command.exp: new file.
5376 * gdb.base/whatis-expr.exp: new file.
5377
5378 * gdb.base/all-types.c: new file.
5379 * gdb.base/call-array-struct.c: new file.
5380 * gdb.base/call-return-struct.c: new file.
5381 * gdb.base/call-strings.c: new file.
5382 * gdb.base/callfuncs2.c: new file.
5383 * gdb.base/condbreak.c: new file.
5384 * gdb.base/constvars.c: new file.
5385 * gdb.base/display.c: new file.
5386 * gdb.base/int-type.c: new file.
5387 * gdb.base/jump.c: new file.
5388 * gdb.base/miscexprs.c: new file.
5389 * gdb.base/pointers.c: new file.
5390 * gdb.base/pointers2.c: new file.
5391 * gdb.base/shmain.c: new file.
5392 * gdb.base/shr1.c: new file.
5393 * gdb.base/shr2.c: new file.
5394 * gdb.base/solib.c: new file.
5395 * gdb.base/solib1.c: new file.
5396 * gdb.base/solib2.c: new file.
5397 * gdb.base/varargs.c: new file.
5398 * gdb.c++/derivation.cc: new file.
5399 * gdb.c++/overload.cc: new file.
5400 * gdb.c++/ovldbreak.cc: new file.
5401 * gdb.hp/attach.c: new file.
5402 * gdb.hp/attach2.c: new file.
5403 * gdb.hp/average.c: new file.
5404 * gdb.hp/compiler.c: new file.
5405 * gdb.hp/compiler.cc: new file.
5406 * gdb.hp/execd-program.c: new file.
5407 * gdb.hp/follow-exec.c: new file.
5408 * gdb.hp/follow-fork.c: new file.
5409 * gdb.hp/follow-vfork-and-exec.c: new file.
5410 * gdb.hp/misc-hp.cc: new file.
5411 * gdb.hp/more-steps.c: new file.
5412 * gdb.hp/optimize.c: new file.
5413 * gdb.hp/quicksort.c: new file.
5414 * gdb.hp/run-hp.c: new file.
5415 * gdb.hp/start-stop.c: new file.
5416 * gdb.hp/sum.c: new file.
5417 * gdb.hp/templates-hp.cc: new file.
5418 * gdb.hp/thread-local-in-lib.c: new file.
5419 * gdb.hp/thread-local-in-lib.h: new file.
5420 * gdb.hp/thread-local-in-lib.lib.c: new file.
5421 * gdb.hp/vforked-program.c: new file.
5422 * gdb.hp/virtfunc-hp.cc: new file.
5423 * gdb.hp/watchpoint-hp.c: new file.
5424 * gdb.hp/xdb.c: new file.
5425 * gdb.hp/xdb0.c: new file.
5426 * gdb.hp/xdb0.h: new file.
5427 * gdb.hp/xdb1.c: new file.
5428
5429Mon Dec 21 14:08:38 1998 David Taylor <taylor@texas.cygnus.com>
5430
5431 The following change was made by Edith Epstein
5432 <eepstein@cygnus.com> as part of a project to merge in changes
5433 originally made by HP; HP did not create ChangeLog entries.
5434
5435 * gdb.c++/demangle.exp: changed the expected output for some
5436 ARM-style mangling -- removed second reference to datatype.
5437 For example, maint demangle __dt__11T1__pt__2_cFv
5438 T1<char>::~T1<char>(void)
5439 becomes,
5440 maint demangle __dt__11T1__pt__2_cFv
5441 T1<char>::~T1(void)
5442
5443 (test_hp_style_demangling): new hp specific demangling test cases.
beb998c6 5444
c906108c
SS
5445Mon Dec 14 15:07:03 1998 Jeffrey A Law (law@cygnus.com)
5446
5447 * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
5448 * gdb.trace/backtrace.exp: Likewise.
5449 * gdb.trace/circ.exp: Likewise.
5450 * gdb.trace/collection.exp: Likewise.
5451 * gdb.trace/deltrace.exp: Likewise.
5452 * gdb.trace/infotrace.exp: Likewise.
5453 * gdb.trace/limits.exp: Likewise.
5454 * gdb.trace/packetlen.exp: Likewise.
5455 * gdb.trace/passc-dyn.exp: Likewise.
5456 * gdb.trace/passcount.exp: Likewise.
5457 * gdb.trace/report.exp: Likewise.
5458 * gdb.trace/save-trace.exp: Likewise.
5459 * gdb.trace/tfind.exp: Likewise.
5460 * gdb.trace/tracecmd.exp: Likewise.
5461 * gdb.trace/while-dyn.exp: Likewise.
5462 * gdb.trace/while-stepping.exp: Likewise.
5463
54641998-12-07 Jim Blandy <jimb@zwingli.cygnus.com>
5465
5466 * gdb.base/restore.exp, gdb.base/restore.c: New tests.
5467
5468Wed Dec 2 20:03:53 1998 Stan Shebs <shebs@andros.cygnus.com>
5469
5470 From Brendan Kehoe:
5471 * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
5472 int return types.
5473
5474Sat Oct 24 18:04:22 1998 Felix Lee <flee@cygnus.com>
5475
5476 * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
5477 remote dos host testing right.
5478
5479Mon Oct 19 01:31:59 1998 Felix Lee <flee@cygnus.com>
5480
5481 * gdb.base/corefile.exp: remove some xfails.
5482
5483Thu Oct 15 10:04:38 1998 Andrew Cagney <cagney@b1.cygnus.com>
5484
5485 * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
5486 have different timestamps.
5487
5488Thu Oct 1 20:56:14 1998 Andrew Cagney <cagney@b1.cygnus.com>
5489
5490 * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
5491 gdb.base/default.exp: Replace "exec" with "executable".
5492
5493Tue Sep 29 15:06:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
5494
5495 * gdb.base/default.exp: Change else if to elseif from previous
5496 delta.
5497
5498Mon Sep 28 13:21:43 1998 Nick Clifton <nickc@cygnus.com>
5499
5500 * gdb.base/default.exp: Add brace missing from previous delta.
5501
5502Mon Sep 21 14:39:27 1998 Nick Clifton <nickc@cygnus.com>
5503
5504 * gdb.base/default.exp: Support test for info float for all
5505 varieties of arm toolchain.
5506
dc96c6c7 5507Fri Sep 18 14:07:44 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5508
5509 * gdb.trace/*.exp: remove "remote_download" command.
5510
dc96c6c7 5511Wed Sep 16 11:38:21 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5512
5513 * gdb.trace/*.exp: remove -gdwarf from compile.
5514
5515Wed Sep 16 01:23:11 1998 Felix Lee <flee@cygnus.com>
5516
5517 * gdb.trace/configure.in(AC_INIT): typo
5518 * gdb.trace/configure: regenerated
5519
dc96c6c7 5520Mon Sep 14 20:00:04 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5521
5522 * config/m68k-emc.exp: New file.
5523 * lib/<emc-support.exp trace-support.exp}: New files.
5524 * configure.in: add new test directory gdb.trace.
5525 * gdb.trace/{configure configure.in Makefile.in}: New files.
5526 * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
5527 * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
5528 * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
5529 * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
5530 * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
5531 * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
5532 * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
beb998c6 5533
dc96c6c7 5534Fri Sep 11 13:58:02 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5535
5536 * gdb.c++/classes.exp: Change all regular expressions to match
5537 arbitrary combinations of newline/carriage-return, so that they
5538 will work equally well on Unix and Windows.
5539 * gdb.c++/inherit.exp: ditto.
5540 * gdb.c++/virtfunc.exp: ditto.
5541
55421998-08-11 Dawn Perchik <dawn@cygnus.com>
5543
5544 * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
5545
c2d11a7d
JM
5546Fri Jul 24 15:51:34 1998 Jeffrey A Law (law@cygnus.com)
5547
5548 * gdb.disasm/am33.s: Add tests for autoincrement instructions.
5549 * gdb.disasm/am33.exp: Run time. Update tests which use r8-r15
5550 to use a0-a3/d0-d3 as needed.
5551
5552Thu Jul 16 18:20:46 1998 Jeffrey A Law (law@cygnus.com)
5553
5554 * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
5555 * gdb.disasm/am33.exp: Corresponding changes.
5556
c906108c
SS
55571998-07-11 Felix Lee <flee@cygnus.com>
5558
5559 * gdb.base/callfuncs.exp: add cmp10 test.
5560 * gdb.base/callfuncs.c (cmp10): new function.
5561
5562Thurs Jul 9 11:08:31 1998 Dawn Perchik <dawn@cygnus.com>
5563
beb998c6 5564 * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
c906108c
SS
5565 into two parts to get around a synchronization problem in expect.
5566
3fc11d3e
JM
5567Fri Jun 26 14:27:13 1998 Keith Seitz <keiths@cygnus.com>
5568
5569 * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
5570
5571 * configure.in: Add options for gdbtk testsuite.
5572
5573 * configure: Regenerate.
5574
5575 * gdb.gdbtk: New directory to hold gdbtk tests.
5576
c906108c
SS
5577Fri Jun 26 14:52:47 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
5578
5579 * gdb.fortran/types.exp: Escape brackets in expect patterns
5580 for test_float_literal_types_accepted tests.
5581 * gdb.base/scope.exp: Remove extraneous newline in filelocal_bss
5582 before run test.
5583
c2d11a7d
JM
5584Fri Jun 26 11:12:17 1998 Jeffrey A Law (law@cygnus.com)
5585
5586 * am33.exp: Just compile, do not link the testcase.
5587 * am33.s: Add ".am33" pseudoop to force am33 mode.
5588
c906108c
SS
55891998-06-25 Felix Lee <flee@cygnus.com>
5590
5591 * gdb.base/setshow.exp: make sure $pc is sane.
5592
5593 * gdb.stabs/weird.exp: split expect patterns properly.
5594
c2d11a7d
JM
5595Wed Jun 24 13:03:15 1998 Jeffrey A Law (law@cygnus.com)
5596
5597 * gdb.disasm/am33.s: New disassembler testfile for the am33.
5598 * gdb.disasm/am33.exp: Run it.
5599
dc96c6c7 5600Tue Jun 23 11:45:01 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5601
5602 * gdb.base/funcargs.exp: simplify expect strings to ease pattern
5603 match processing (and eliminate spurious timeouts when running).
5604
dc96c6c7 5605Fri Jun 12 17:28:22 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5606
5607 * gdb.base/signals.exp (test_handle_all_print): put back Mach
5608 exception test, but conditionalize it on target [mach | gnu].
5609
dc96c6c7 5610Wed Jun 10 10:40:03 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5611
5612 * gdb.base/overlays.exp: fixup compile line for linker script.
5613
5614Thu Jun 4 21:54:15 1998 Felix Lee <flee@zog.cygnus.com>
5615
5616 * gdb.fortran/types.exp: don't guess at float size.
5617
5618Thu May 21 02:28:37 1998 Felix Lee <flee@zog.cygnus.com>
5619
5620 * gdb.base/exprs.exp: delete test that depends on int size.
5621
5622Sun May 17 17:10:22 1998 Bob Manson <manson@charmed.cygnus.com>
5623
5624 * config/sim.exp: Removed checks for target triplets.
5625 (gdb_target_sim): Use gdb,target_sim_options.
5626
5627Sat May 16 23:43:35 1998 Mark Alexander <marka@cygnus.com>
5628
5629 * gdb.base/reread.exp: New file.
5630 * gdb.base/reread1.c: New file.
5631 * gdb.base/reread2.c: New file.
5632
5633Sat May 16 23:22:09 1998 Mark Alexander <marka@cygnus.com>
5634
5635 * config/sim.exp: Use 'target sim -sparclite' when running
5636 SPARClite programs.
5637
5638Sat May 16 18:48:08 1998 Doug Evans <devans@canuck.cygnus.com>
5639
5640 * gdb.base/structs2.exp: New file.
5641 * gdb.base/structs2.c: New file.
5642
5643Wed May 13 13:36:14 1998 Doug Evans <devans@canuck.cygnus.com>
5644
5645 * gdb.asm/common.inc: New file.
5646 * gdb.asm/d10v.inc: New file.
5647 * asm-source.exp: Pass -I's to gas to find .inc files.
5648 Update line numbers in expected output.
5649 * asmsrc1.s: Rewrite.
5650 * asmsrc2.s: Rewrite.
5651 * configure.in: Create arch.inc symlink.
5652 * configure: Regenerate.
5653 * Makefile.in (distclean): Delete arch.inc.
5654
5655Wed May 6 10:30:54 1998 John Metzler <jmetzler@cygnus.com>
5656
5657 * callfuncs.c (t_enum_value1) : Cleanup return value warnings
5658 (t_enum_value2): ditto
5659 (t_enum_value3): ditto
5660 (main): ditto
5661Fri May 1 09:33:37 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
5662
5663 * gdb.base/break.exp: Remove xfail for `deleting all breakpoints
5664 when none' unexpected prompt case, fixed by breakpoint.c:delete_command
5665 change.
5666 Use gdb_test instead of send_gdb/gdb_expect sequences.
5667
5668Thu Apr 23 12:56:19 1998 Jason Molenda (crash@bugshack.cygnus.com)
5669
5670 * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
5671 not void.
5672
5673Thu Apr 16 10:52:34 1998 John Metzler <jmetzler@cygnus.com>
5674
5675 * gdb.base/branches.c: Code with lots of loops and
5676 subroutines. Used to test gdbs ability to single step through PC
5677 changes, especially to test mips-tdep.c:mips_next_pc
5678
5679Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
5680
5681 * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
5682 more rigorous EGCS C++ error checking.
5683
5684Fri Apr 10 22:38:12 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5685
5686 * gdb.base/help.exp: Clean up `help set args' and `help show args'
beb998c6 5687 tests.
c906108c 5688 * gdb.base/interrupt.exp: Add "i*86-*-solaris2*" xfail for calling
beb998c6 5689 function when asleep.
c906108c 5690 * gdb.base/signals.exp: Add "i*86-*-solaris2*" xfails. Add comment
beb998c6
AC
5691 for i*86 Linux and SVR4 signal handling problems.
5692 Remove linux xfail for `next to handler in signals_tests_1', fixed
5693 by recent infrun.c change.
c906108c 5694 Limit backtrace to 10 frames to avoid timeout problems with infinite
beb998c6 5695 stack backtraces.
c906108c
SS
5696 Adjust expect pattern in `handle all print' test to match Apr 28 1997
5697 target.[ch] change.
5698
5699Tue Mar 31 00:40:32 1998 Bob Manson <manson@charmed.cygnus.com>
5700
5701 * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
5702 for a newline from gdb before continuing.
5703 (default_gdb_exit): Just look for y or n.
5704 (gdb_test): Detect abnormal exit from GDB running on DOS; if
5705 it does, fail the rests of the tests in the file.
5706
5707Tue Mar 24 22:44:52 1998 Bob Manson <manson@charmed.cygnus.com>
5708
5709 * config/cygmon.exp: New file.
5710
5711Mon Mar 16 21:39:11 1998 Bob Manson <manson@charmed.cygnus.com>
5712
5713 * gdb.base/list.exp: Fix problem with "list default lines around
5714 main" test on remote targets.
5715
5716 * gdb.base/scope.exp: Fix problem with filelocal_bss before
5717 run test on remote targets.
5718
5719Thu Mar 12 16:23:00 1998 Doug Evans <devans@canuck.cygnus.com>
5720
5721 * gdb.asm: New directory.
5722 * configure.in: Configure it.
5723 * configure: Regenerate.
5724 * gdb.asm/{Makefile.in,configure.in,configure}: New files.
5725 * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
5726
5727Mon Feb 23 08:22:44 1998 Mark Alexander <marka@cygnus.com>
5728
5729 * config/mn10300-eval.exp: New file to support MN10300 eval board.
5730
dc96c6c7 5731Wed Feb 18 16:43:46 1998 Michael Snyder (msnyder@cygnus.com)
beb998c6 5732
c906108c
SS
5733 * gdb.base/overlays (several files): Merge the two overlay
5734 managers into one. Change variables (foox, barx, bazx, grbxx)
5735 back into ints but force them to load in their proper sections.
5736
5737Thu Feb 12 13:49:30 1998 Andrew Cagney <cagney@b1.cygnus.com>
5738
5739 * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
5740 on-chip insn memory and IMAP1 to upper 128k.
5741 (D10VCopy): Handle memory regions crossing 16k boundaries.
5742 (D10VCopy): Transfer data in 32 bit chunks.
5743
5744Tue Feb 10 17:23:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
5745
5746 * gdb.base/overlays.c (main): Exit normally when result is
5747 correct.
5748
5749 * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
5750 map. Include space for printf in .text segment.
5751
5752 * gdb.base/d10vovly.c (D10VTranslate): New function, handle
5753 updated d10v memory VMA/LMA map.
5754 (D10VCopy): Call D10VTranslate.
beb998c6 5755
c906108c
SS
5756Fri Feb 6 14:13:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
5757
5758 * gdb.base/m32rovly.c: Force variable _novlys into .data section.
5759
5760 * gdb.base/bar.c (barx, bar): Change variable to small array so
5761 that it won't be put into the .sdata - small data -
5762 section. Update reference.
5763 * gdb.base/baz.c (bazx, baz): Ditto.
5764 * gdb.base/foo.c (foox, foo): Ditto.
5765 * gdb.base/grbx.c (grbxx, grbx): Ditto.
5766
5767 * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
5768 to be arrays.
beb998c6 5769
dc96c6c7 5770Thu Jan 29 14:48:19 1998 Michael Snyder (msnyder@cygnus.com)
beb998c6 5771
c906108c
SS
5772 * gdb.base/overlays.exp: fix up and get working again.
5773 Add tests for backtraces from an overlay function.
beb998c6 5774
c906108c
SS
5775Fri Jan 23 07:52:45 1998 Fred Fish <fnf@cygnus.com>
5776
5777 * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
5778 "calling function with watchpoint enabled".
5779
5780Thu Jan 22 14:23:29 1998 Fred Fish <fnf@cygnus.com>
5781
5782 * gdb.base/break.exp (test_next_with_recursion): Remove
5783 gdb_suppress_tests for d10v-*-*.
5784 * lib/gdb.exp (gdb_suppress_tests): Disable this function
5785 pending review of whether it is useful or not.
5786
5787Tue Jan 20 13:02:09 1998 Mark Alexander <marka@cygnus.com>
5788
5789 * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
5790
5791Mon Jan 19 08:53:04 1998 Mark Alexander <marka@cygnus.com>
5792
5793 * gdb.base/break.exp: Increase timeout for slow TX39 boards.
5794 * config/dve.exp: New file to support Densan boards.
5795
5796Mon Dec 15 22:38:05 1997 Andrew Cagney <cagney@b1.cygnus.com>
5797
5798 * gdb.base/interrupt.exp: Document problem of simulators, signals,
5799 reads and BSD.
5800
5801Wed Nov 26 22:29:18 1997 Bob Manson <manson@charmed.cygnus.com>
5802
5803 * config/monitor.exp: Be a bit less picky about the "Remote debugging"
5804 response.
5805
5806 * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
5807
5808Tue Nov 25 12:46:36 1997 Andrew Cagney <cagney@b1.cygnus.com>
5809
5810 * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
5811 test.
5812
5813 * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
5814 target_sizeof_long and target_bigendian_p.
5815 (structs_by_value, structs_by_reference): Check values according
5816 to targets word size and endianess.
beb998c6 5817
c906108c
SS
5818Mon Nov 24 16:37:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
5819
5820 * gdb.base/langs.exp: For "continue to exit" ignore any trailing
5821 output.
5822
5823Fri Oct 17 13:24:43 1997 Stan Shebs <shebs@andros.cygnus.com>
5824
5825 * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
5826 Update test of set args help to match source change.
5827
5828Fri Sep 26 17:36:20 1997 Jason Molenda (crash@pern.cygnus.com)
5829
5830 * gdb.base/default.exp: Expect help system output to be in
5831 alphabetical order.
5832 * gdb.base/help.exp: Ditto.
5833
5834Wed Sep 24 13:08:14 1997 Bob Manson <manson@charmed.cygnus.com>
5835
5836 * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
5837 "i*86-pc-linux-gnu*".
5838 * gdb.base/interrupt.exp: Ditto.
5839 * gdb.base/corefile.exp: Ditto.
5840
5841 * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
5842 define vxworks when building the testcase.
5843
5844 * gdb.base/ptype.exp: Fix testnames to be unique.
5845 * gdb.base/radix.exp: Ditto.
5846 * gdb.base/term.exp: Ditto.
5847 * gdb.base/whatis.exp: Ditto.
5848 * gdb.c++/classes.exp: Ditto.
5849
5850Tue Sep 16 22:21:48 1997 Bob Manson <manson@charmed.cygnus.com>
5851
5852 * gdb.base/callfuncs.exp: Fix indentation.
5853
5854 * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
5855 suppress_flag has been set.
5856 (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
5857 target feature.
5858
5859Mon Sep 15 15:43:17 1997 Bob Manson <manson@charmed.cygnus.com>
5860
5861 * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
5862 the testcase.
5863
5864 * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
5865 set_debug_traps() and breakpoint().
5866 * gdb.c++/misc.cc (main): Ditto.
5867 * gdb.c++/templates.cc (main): Ditto.
5868 * gdb.c++/virtfunc.cc (main): Ditto.
5869
5870Fri Sep 12 16:56:38 1997 Bob Manson <manson@charmed.cygnus.com>
5871
5872 * lib/gdb.exp(gdb_step_for_stub): New function.
5873 (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
5874 exists, reload the executable and do a "continue" instead of
5875 doing a jump.
5876 (runto_main): Use gdb_step_for_stub.
beb998c6 5877
c906108c
SS
5878 * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
5879 tests to have unique names.
5880 * gdb.base/callfuncs.exp: Ditto.
5881 * gdb.base/commands.exp: Ditto.
5882 * gdb.base/default.exp: Ditto.
5883 * gdb.base/help.exp: Ditto.
5884 * gdb.base/list.exp: Ditto.
5885 * gdb.base/opaque.exp: Ditto.
5886 * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
5887 similar tests.
beb998c6 5888
c906108c
SS
5889 * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
5890 * gdb.c++/cplusfuncs.cc: Ditto.
5891 * gdb.c++/virtfunc.cc: Ditto.
5892
5893 * config/monitor.exp: Keep track of the last file we saw, rather
5894 than trying to get the info from gdb.
5895
5896 * gdb.fortran/types.exp: Move comment to previous line.
5897
5898Tue Sep 2 19:55:34 1997 Bob Manson <manson@charmed.cygnus.com>
5899
5900 * config/sparclet.exp: Detect gratuitous change to sparclet gdb
5901 target mode.
5902
5903Mon Jul 28 12:14:47 1997 Stan Shebs <shebs@andros.cygnus.com>
5904
5905 From Bob Manson:
5906 * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
5907 string from GDB when it connects.
5908
5909 * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
5910
5911Thu Jul 3 15:35:12 1997 Bob Manson <manson@charmed.cygnus.com>
5912
5913 * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
5914 if we can't get a debug format from GDB (we may be testing an
5915 older GDB). Use a 10 second timeout when checking for the format.
5916
5917 * gdb.stabs/weird.exp: Fix quoting.
5918
5919 * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
5920
5921Mon Jun 30 18:31:43 1997 Bob Manson <manson@charmed.cygnus.com>
5922
5923 * config/arm-ice.exp: New file.
5924
5925Sun Jun 29 16:43:30 1997 Bob Manson <manson@charmed.cygnus.com>
5926
5927 * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
5928 until it has been modified to work with the new testsuite.
5929
99707966 5930 * gdb.*/*.exp: Instead of causing 1 unresolved test when the
c906108c
SS
5931 testcase won't compile, cause all of the testcases in the file to
5932 fail instead.
5933
5934 * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
5935 (gdb_clear_suppressed): New procedure.
5936 (gdb_stop_suppressing_tests): Only clear suppress_flag if
5937 it contains a positive value.
5938
5939Sat Jun 28 13:31:11 1997 Bob Manson <manson@charmed.cygnus.com>
5940
5941 * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
5942
5943 * gdb.c++/virtfunc.exp: Remove setting of libs variable.
5944
5945Fri Jun 27 07:44:25 1997 Fred Fish <fnf@cygnus.com>
5946
5947 * lib/gdb.exp (setup_xfail_format): New function.
5948 (get_debug_format): New function to get debug format.
5949 (debug_format): New global variable to hold last value set
5950 by get_debug_format.
5951 * gdb.base/list.exp: Call get_debug_format and expect some
5952 tests to fail for DWARF 1 and COFF formats.
5953 * gdb.c++/ptype.exp: Ditto.
5954 * gdb.c++/classes.exp: Ditto.
5955 * gdb.c++/cplusfuncs.exp: Ditto.
5956 * gdb.c++/inherit.exp: Ditto.
5957 * gdb.c++/templates.exp: Ditto.
5958 * gdb.c++/virtfunc.exp: Ditto.
beb998c6 5959
c906108c
SS
5960Wed Jun 25 09:08:51 1997 Bob Manson <manson@charmed.cygnus.com>
5961
5962 * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
5963 host doesn't have a currently-open connection.
5964
5965 * config/sparclet.exp: Cleanups and fixes to make it generic for
5966 any gdb stub target. Handle cases where gdb doesn't respond when
5967 interrupted in a sane fashion.
5968
5969 * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
5970 same thing in a totally different way.
5971
5972 * config/monitor.exp: Pass in timeouts to gdb_expect instead of
5973 setting "timeout".
5974 (gdb_start): We set the global gdb_prompt variable in
5975 default_gdb_init now.
5976
5977Sun Jun 22 09:11:02 1997 Fred Fish <fnf@cygnus.com>
5978
5979 * gdb.base/printcmds.exp: Fix "check for floating addition"
5980 regexp to accept results within approx +/- .01 of exact value.
5981 * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
5982
5983Wed Jun 18 11:11:39 1997 Bob Manson <manson@charmed.cygnus.com>
5984
5985 * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
5986 properly.
5987 (gdb_expect): Add optional timeout parameter, and add timeout
5988 value to various calls.
5989 (gdb_suppress_tests): Only give one warning message per group.
5990
5991Tue Jun 17 13:10:10 1997 Bob Manson <manson@charmed.cygnus.com>
5992
5993 * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
5994 global variables. Handle getting a value for $timeout more
5995 gracefully.
5996
5997Sat Jun 14 09:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
5998
5999 * lib/gdb.exp: Close connection to remote host if gdb doesn't
6000 initialize.
6001 (default_gdb_init): New procedure; allow gdb_init to be overridden
6002 by a target configuration file.
6003 (gdb_expect): Pass the timeout to remote_expect.
6004
6005 * config/monitor.exp(gdb_load): Fix typo in regexp.
6006
6007Thu Jun 12 20:57:12 1997 Bob Manson <manson@charmed.cygnus.com>
6008
6009 * gdb.base/funcargs.exp: Remove spurious suppress tests call.
6010
6011Tue Jun 3 15:20:20 1997 Bob Manson <manson@charmed.cygnus.com>
6012
6013 * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
6014 here. Call gdb_target_exec before rebooting the target, to make
6015 sure the connection to the target is closed.
6016 (gdb_load): Pass the name of the executable to gdb_target_monitor.
6017 Don't call gdb_file_cmd here; let gdb_target_monitor do it.
6018 Also detect "Timeout reading from remote" error.
6019
6020 * config/gdbserver.exp: Pass the executable being loaded to
6021 gdb_target_monitor. Don't call gdb_file_cmd here; let
6022 gdb_target_monitor do it.
6023
6024 * gdb.disasm/hppa.exp: Don't use exec_output.
6025
6026Fri May 23 13:28:29 1997 Bob Manson <manson@charmed.cygnus.com>
6027
6028 * gdb.base/list.exp: If we're debugging a non-native target,
6029 try to set the pc register to point to the start of the
6030 program before doing the first list command.
6031
6032 * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
6033 test_calls after restarting.
6034
6035 * lib/gdb.exp(gdb_run_cmd): Send jump command again after
6036 reloading.
6037
6038 * gdb.base/watchpoint.exp: Fix typo.
6039
6040 * gdb.base/setshow.exp: Check for use_gdb_stub.
6041
6042 * gdb.base/break.exp: Fix continue until exit test for the gdb
6043 stub case.
6044 * gdb.base/langs.exp: Ditto.
6045
6046 * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
6047 gdb_load_offset. If we weren't given a file to load, figure out
6048 what the current file is and use it.
6049
6050 * config/i386-bozo.exp: New file.
6051
6052Thu May 22 18:51:32 1997 Bob Manson <manson@charmed.cygnus.com>
6053
6054 * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
6055 feature.
6056
6057 * config/proelf.exp: New entry.
6058
6059Wed May 21 21:23:16 1997 Bob Manson <manson@charmed.cygnus.com>
6060
6061 * lib/gdb.exp: Remove spurious .* patterns at the beginning
6062 of regexps.
6063
6064 * gdb.base/watchpoint.exp: Don't run the test_stepping
6065 tests if gdb can't call functions on the target.
6066
6067 * gdb.base/setshow.exp: Don't run the set prompt tests if
6068 the board has gdb_prompt set.
6069
6070Tue May 20 08:58:49 1997 Jeffrey A Law (law@cygnus.com)
6071
6072 * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
6073 * gdb.base/commands.exp: Likewise.
6074 * gdb.base/setshow.exp: Likewise.
6075
6076Mon May 19 15:37:50 1997 Bob Manson <manson@charmed.cygnus.com>
6077
6078 * config/monitor.exp(gdb_start): Look for gdb_prompt target
6079 feature.
6080
6081 * config/i960.exp: New file.
6082
6083Thu May 1 18:01:50 1997 Bob Manson <manson@charmed.cygnus.com>
6084
6085 * gdb.base/funcargs.exp: Check for gdb,short_int target
6086 feature instead of looking for explicit target triplets.
6087
dc96c6c7 6088Mon Apr 28 17:27:40 1997 Michael Snyder <msnyder@cygnus.com>
c906108c 6089
beb998c6 6090 * gdb.base/printcmds.exp: add a couple more tests a la
c906108c
SS
6091 "p 123DEADBEEF", to check parse_number.
6092 * top.c: change "to enable to enable" to "to enable" in a couple
6093 of help strings.
6094
6095Thu Apr 24 14:38:18 1997 Jeffrey A Law (law@cygnus.com)
6096
6097 * gdb.base/callfuncs.exp: Mark some tests as expected to fail
6098 on the mn10300.
beb998c6 6099
c906108c
SS
6100Mon Apr 21 15:05:42 1997 Fred Fish <fnf@cygnus.com>
6101
6102 * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
6103 where the test executable is run with explicit args.
6104 * gdb.base/default.exp: Handle arm-*-coff case for "info float".
6105
6106Mon Apr 21 13:38:58 1997 Fred Fish <fnf@cygnus.com>
6107
6108 * gdb.base/run.c: Use FAKEARGV to build test executable that
6109 does not require a command line arg, since most simulators
6110 don't currently support passing such an arg into the simulated
6111 program.
6112 * gdb.base/commands.exp: Change tests to insert the proper
6113 value as the arg to the first recursive factorial call. Change
6114 compilation line to define FAKEARGV at compile time.
6115
6116Wed Apr 9 11:12:36 1997 Jeffrey A Law (law@cygnus.com)
6117
6118 * gdb.base/recurse.exp: Enable these tests for the mn10300.
6119 * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
6120 function with watchpoint enabled" test.
6121
6122Tue Apr 8 19:33:20 1997 Bob Manson <manson@charmed.cygnus.com>
6123
6124 * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
6125 Don't call gdb_test when the command doesn't return to a gdb prompt.
6126
6127 * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
6128 "Tests restarted" messages.
6129
6130Tue Apr 8 16:38:46 1997 Jeffrey A Law (law@cygnus.com)
6131
6132 * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
6133
dc96c6c7 6134Thu Apr 3 15:21:26 1997 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6135
6136 * gdb.base/help.exp: update help msg for INFO ADDR; add help test
6137 for INFO SYMBOL; add help tests for OVERLAY commands.
6138 * gdb.base/default.exp: add tests for INFO SYMBOL command;
6139 add tests for OVERLAY commands
6140 * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
6141 d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
6142 * gdb.base/sigall.c: add usestubs code frag
6143 * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
beb998c6 6144
c906108c
SS
6145Thu Apr 3 09:38:53 1997 Bob Manson <manson@charmed.cygnus.com>
6146
6147 * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
6148 failures.
6149 (gdb_stop_suppressing_tests): Note that tests have restarted.
6150
6151Wed Apr 2 19:04:20 1997 Bob Manson <manson@charmed.cygnus.com>
6152
6153 * config/h8300.exp: New file.
6154
6155Sun Mar 30 13:38:25 1997 Bob Manson <manson@charmed.cygnus.com>
6156
6157 * gdb.base/setshow.exp: Check for the existence of a
6158 feature, not its value.
6159
6160Sat Mar 29 11:19:46 1997 Bob Manson <manson@charmed.cygnus.com>
6161
6162 * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
6163
6164 * gdb.base/scope.exp: It's now init0(), not init().
6165
6166 * gdb.base/scope0.c: For now, change init() to be init0().
6167
6168 * config/monitor.exp: Use gdb_serial in preference to serial
6169 or netport.
6170
6171 * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
6172 and it's not already set.
6173
6174Fri Mar 28 19:54:18 1997 Bob Manson <manson@charmed.cygnus.com>
6175
6176 * gdb.base/setshow.exp: Only test the run command if the target
6177 isn't using a stub and if it supports argument passing.
6178
6179Sat Mar 22 19:50:25 1997 Bob Manson <manson@charmed.cygnus.com>
6180
6181 * config/udi.exp(gdb_start): Make sure UDICONF is set
6182 properly before starting gdb.
6183
6184Mon Mar 24 14:40:33 1997 Jeffrey A Law (law@cygnus.com)
6185
6186 * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
6187 * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
6188 * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
6189
6190Tue Mar 11 11:42:58 1997 Bob Manson <manson@charmed.cygnus.com>
6191
6192 * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
6193 specialized code to reboot the board, use remote_reboot instead.
6194
6195 * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
6196
6197 * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
6198
6199 * config/monitor.exp: Make sure we disconnect from the target.
6200 Also, try a reboot/reload cycle instead of failing if the
6201 load fails.
6202
6203Fri Mar 7 13:48:30 1997 Bob Manson <manson@charmed.cygnus.com>
6204
6205 * gdb.base/default.exp: Don't set match_max.
6206 * gdb.base/help.exp: Ditto.
6207 * gdb.base/list.exp: Ditto.
6208 * gdb.base/signals.exp: Ditto.
6209
6210 * config/monitor.exp(gdb_load): If gdb,use_standard_load is
6211 set, use remote_ld to download the testcase instead of
6212 the GDB loader.
6213
6214Wed Mar 5 00:00:43 1997 Bob Manson <manson@charmed.cygnus.com>
6215
6216 * config/vr5000.exp: New file.
6217
6218 * config/monitor.exp(gdb_target_monitor): Add pattern for
6219 "Ending remote" to detect errors in connecting.
6220
6221 * gdb.base/setshow.exp: Add .* within auto language test.
6222
6223 * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
6224 target feature.
6225
6226 * config/monitor.exp(gdb_load): Check for a failure when loading,
6227 and reboot the board if necessary.
6228
6229 * gdb.base/setvar.exp(test_set): Handle multiple prints within
6230 a set of tests. Remove print.* from the patterns being checked.
6231
6232Mon Mar 3 11:57:43 1997 Bob Manson <manson@charmed.cygnus.com>
6233
6234 * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
6235 refer to gdb_spawn_id.
6236
6237 * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
6238 longer used.
6239 * config/sparclet.exp: Ditto.
6240 * config/sparclet-old.exp: Ditto.
6241 * config/slite.exp: Ditto.
6242 * config/sim.exp: Ditto.
6243 * gdb.base/funcargs.exp: Ditto.
6244
6245 * lib/gdb.exp:Remove references to gdb_spawn_id.
6246 (gdb_expect): Move to remote.exp.
6247
6248Fri Feb 28 20:47:39 1997 Bob Manson <manson@charmed.cygnus.com>
6249
6250 * config/monitor.exp: Detect the "Couldn't establish connection"
6251 message from GDB.
6252
6253Tue Feb 25 14:08:55 1997 Bob Manson <manson@charmed.cygnus.com>
6254
6255 * gdb.base/bitfields.exp: Use runto instead of explicit
6256 gdb_run_cmd/gdb_expect sequences.
6257
6258 * gdb.base/break.exp(text_next_with_recursion): Add match for
6259 gdb_expect call.
6260
6261 * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
6262 We also need to handle the "A program is being debugged already"
6263 prompt from gdb. Use gdb_test to set the baud rate.
6264
6265 * lib/gdb.exp(gdb_init): Increase the default expect buffer size
6266 to 20000. Really. I mean it.
6267
6268Mon Feb 24 13:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
6269
6270 * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
6271 fails. If suppress_flag is set, skip perror message about not
6272 being able to send to GDB.
6273 (send_gdb): If suppress_flag is set, don't try to send commands to
6274 GDB.
6275 (gdb_expect): If suppress_flag is set, always fail immediately.
6276 (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
6277 (gdb_init): Call gdb_stop_suppressing_tests.
6278 (default_gdb_exit): Ditto.
6279 (default_gdb_start): Ditto.
6280
6281 * gdb.base/bitfields.exp: Call gdb_suppress_tests and
6282 gdb_stop_suppressing_tests as appropriate.
6283 * gdb.base/break.exp: Ditto.
6284 * gdb.base/callfuncs.exp: Ditto.
6285 * gdb.base/commands.exp: Ditto.
6286 * gdb.base/exprs.exp: Ditto.
6287 * gdb.base/funcargs.exp: Ditto.
6288 * gdb.base/list.exp: Ditto.
6289 * gdb.base/recurse.exp: Ditto.
6290 * gdb.base/scope.exp: Ditto.
6291 * gdb.base/structs.exp: Ditto.
6292 * gdb.c++/inherit.exp: Ditto.
6293
6294Sun Feb 23 19:56:02 1997 Bob Manson <manson@charmed.cygnus.com>
6295
6296 * config/vr4300.exp: New file.
6297
99707966
MC
6298 * gdb.*/*.exp: Call gdb_expect instead of expect.
6299
6300 * lib/gdb.exp(gdb_expect): New function.
c906108c
SS
6301
6302Thu Feb 20 13:57:01 1997 Bob Manson <manson@charmed.cygnus.com>
6303
6304 * lib/gdb.exp(gdb_init): New function.
6305
6306 * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
6307 for each individual variable set.
6308
6309 * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
6310 name.
6311
6312 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
6313
6314 * gdb.base/scope.exp: Use gdb_test.
6315
6316 * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
6317 aborting; the testsuite driver will do that for us (see
6318 gdb_finish). Also, use gdb_test in a few more places.
6319
6320Thu Feb 20 13:32:24 1997 Stan Shebs <shebs@andros.cygnus.com>
6321
6322 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
6323
6324Thu Feb 20 10:34:21 1997 Jeffrey A Law (law@cygnus.com)
6325
6326 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
6327 and "add_tests" are not at the same address.
6328
6329Fri Feb 14 18:47:23 1997 Bob Manson <manson@charmed.cygnus.com>
6330
6331 * gdb.base/ptype.exp: Use gdb_test.
6332
6333Thu Feb 13 16:09:36 1997 Jeffrey A Law (law@cygnus.com)
6334
6335 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
6336 * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
6337 left in. No longer expect them to fail.
6338
6339 * gdb.stabs/*.mt; Deleted, no longer used.
6340 * gdb.stabs/configure.in: Remove references to target makefile
6341 frags.
6342 * gdb.stabs/configure: Rebuilt.
6343
6344 * gdb.disasm/*.mt: Deleted, no longer used.
6345 * gdb.disasm/configure.in: Remove references to target makefile
6346 frags. Use "sh3.s" as the unique filename for this directory.
6347 * gdb.disasm/configure: Rebuilt.
6348
6349 * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
6350 * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
6351 * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
6352
6353Tue Feb 11 16:57:58 1997 Bob Manson <manson@charmed.cygnus.com>
6354
6355 * config/udi.exp: Use mondfe,name instead of remote_host.
6356
6357Tue Feb 11 11:22:36 1997 Jeffrey A Law (law@cygnus.com)
6358
6359 * gdb.base/watchpoint.exp: Don't expect a failure when calling
6360 a function with a watchpoint enabled on the mn10200.
6361
6362 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
6363 before trying to create it!
6364
6365Mon Feb 10 16:40:47 1997 Bob Manson <manson@charmed.cygnus.com>
6366
6367 * config/vx.exp: Use hostname instead of netport.
6368
6369 * config/vxworks.exp: New file.
6370
6371 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
6372
6373 * config/monitor.exp(gdb_target_monitor): Look for a prompt from
6374 gdb before assuming everything worked. Send a ^C if a timeout
6375 occurs.
6376
6377 * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
6378 $gdb_spawn_id directly.
6379 (gdb_run_cmd): Try _start as well as start. Use the target feature
6380 gdb,start_symbol as the symbol to start from when jumping.
6381
6382Mon Feb 10 11:26:59 1997 Jeffrey A Law (law@cygnus.com)
6383
6384 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
6385 redundant) test.
6386
6387 * gdb.base/recurse.exp: Relax final value test for 'b' so that
6388 it doesn't lose for 16bit integer systems.
6389
6390Fri Feb 7 09:31:21 1997 Jeffrey A Law (law@cygnus.com)
6391
6392 * gdb.fortran/types.exp: If the target doesn't support "double"
6393 data types, then expect "real" types to only be 4 bytes.
6394
6395 * gdb.c++/virtfunc.exp: Expect failure for virtual function
6396 call tests if the target doesn't support inferior function calls.
6397
6398 * gdb.base/printcmds.exp: Allow minor deviation in FP values
6399 in printf tests.
6400
6401Thu Feb 6 12:46:14 1997 Jeffrey A Law (law@cygnus.com)
6402
6403 * gdb.base/help.exp: Disable "help set", "help show", and
6404 "help support". Simplify regexp for "help stack".
6405
6406 * gdb.base/default.exp: Set match_max to 5000 and the timeout
6407 to 60 seconds. Temporarily set match_max to 15000 around the
6408 "info copying" test.
6409
6410 * gdb.base/nodebug.exp: Don't try to do an inferior function
6411 call if the target doesn't support them.
6412 * gdb.base/printcmds.exp: Likewise.
6413 * gdb.base/setvar.exp: Likewise.
6414 * gdb.base/structs.exp: Likewise.
6415 * gdb.c++/templates.exp: Likewise.
6416 * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
6417
6418 * gdb.base/recurse.exp: Enable for the mn10200.
6419
6420 * configure.in: Do configure gdb.stabs directory for *-*-elf
6421 targets.
6422 * configure: Rebuilt.
6423
6424 * gdb.base/break.exp: Check for gdb,noresults before testing
6425 exit status and/or results from the target.
6426 * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
6427 * lib/gdb.exp: Remove old (now bogus) initialization of
6428 noinferior, noargs, noresults and nosignals.
6429
6430Tue Feb 4 21:52:17 1997 Bob Manson <manson@charmed.cygnus.com>
6431
6432 * config/sh.exp: New file.
6433
6434 * config/slite.exp: Try to connect multiple times to the board
6435 before rebooting. Only send a "monitor run" if need_monitor_run
6436 is set.
6437
6438 * gdb.base/break.exp: Don't do the "stub continue" test if
6439 the target has gdb_stub set.
6440
6441 * gdb.base/callfuncs.exp: Increase the timeout.
6442
6443 * gdb.base/interrupt.exp: Don't even try to compile the testcase
6444 if the target has gdb,noinferiorio set.
6445
6446 * gdb.base/list.exp: Increase match_max to 10000 characters.
6447
6448 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
6449
6450 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
6451 target.
6452
6453 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
6454
6455Mon Feb 3 12:09:37 1997 Bob Manson <manson@charmed.cygnus.com>
6456
6457 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
6458 trying to delete the copy of gdb. Catch the file delete so we
6459 don't die if the delete fails; also, the file should be copied to
6460 the host, not to the build.
6461
6462Sun Feb 2 00:55:14 1997 Bob Manson <manson@charmed.cygnus.com>
6463
6464 * lib/gdb.exp(gdb_test): Surround the result pattern with
6465 parenthesis in case it contains multiple regexps separated
6466 with |.
6467
6468 * gdb.base/watchpoint.exp: Use gdb_test.
6469 * gdb.base/default.exp: Ditto.
6470
6471Sat Feb 1 23:51:01 1997 Bob Manson <manson@charmed.cygnus.com>
6472
99707966 6473 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
beb998c6 6474
c906108c
SS
6475 * gdb.base/scope.exp: Use gdb_test.
6476 * gdb.c++/classes.exp: Ditto.
6477 * gdb.c++/inherit.exp: Ditto.
6478
6479Fri Jan 31 13:09:12 1997 Bob Manson <manson@charmed.cygnus.com>
6480
6481 * gdb.base/crossload.exp: Don't use execute_anywhere, use
6482 remote_exec instead.
6483 * gdb.base/corefile.exp: Don't be ridiculous.
6484 * gdb.base/*.c: Add missing stub invocations.
6485
6486Thu Jan 30 16:49:25 1997 Bob Manson <manson@charmed.cygnus.com>
6487
6488 * config/slite.exp: Miscellaneous fixes.
6489
6490 * lib/gdb.exp: Fix runto.
6491
6492 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
6493 the target.
6494
6495 * gdb.base/watchpoint.exp: Fix regexp.
6496
6497 * lib/gdb.exp(default_gdb_exit): Add a catch to the
6498 close and wait commands, as the descriptor may now be
6499 invalid. Always call "remote_close host".
6500
6501Tue Jan 28 14:42:31 1997 Bob Manson <manson@charmed.cygnus.com>
6502
6503 Major rewrite for testsuite revision.
beb998c6 6504
c906108c
SS
6505 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
6506 TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
6507 instead of relying on spawn_id to always contain a valid
6508 spawn id.
6509 (get_compiler_info): New procedure to build the ${binfile}.ci
6510 file, instead of replicating this in N different places.
6511 (gdb_compile): New procedure.
beb998c6 6512
c906108c
SS
6513 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
6514 appropriate arguments) instead of compile. Use gdb_test in a lot
6515 more places. Use send_gdb instead of send. Always run gdb_start
6516 at the start of a testcase, as this is no longer done magically.
6517
6518 config/*-gdb.exp: Rename without the -gdb suffix.
6519
6520 config/mips.exp: Use remote_close instead of exit_remote_shell.
6521 config/monitor.exp: Use target_info instead of looking at
6522 baud, timeout, etc.
6523 config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
6524
6525Sat Dec 14 00:43:57 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6526
6527 * gdb.c++/templates.exp (test_ptype_of_templates),
6528 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
6529 Update expect patterns for destructors and assignment operators
6530 to match corresponding c-typeprint.c changes.
6531 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
6532 to destructor breakpoint test, GDB should be able to set the
6533 destructor breakpoint without specifying arguments.
6534
6535Tue Dec 3 20:17:52 1996 Fred Fish <fnf@cygnus.com>
6536
6537 * gdb.threads/pthreads.exp: Change result for failure to compile due
6538 to lack of pthreads runtime support from an error to simply an
6539 unsupported test, per dejagnu standards.
6540
6541Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6542
6543 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
6544 where GDB exits to reduce pattern match time.
6545 (skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
6546
6547 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
6548
dc96c6c7 6549Tue Nov 26 18:29:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6550
6551 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
6552 * gdb.base/default.exp: ditto.
6553 * gdb.base/nodebug.exp: ditto.
6554 * gdb.base/printcmds.exp: ditto.
6555 * gdb.base/ptype.exp: ditto.
6556 * gdb.base/setvar.exp: ditto.
6557 * gdb.base/structs.exp: ditto.
6558 * gdb.base/setshow.c: Guard against uninitialized values of argc.
6559
6560Tue Nov 26 17:23:28 1996 Ian Lance Taylor <ian@cygnus.com>
6561
6562 * configure, */configure: Rebuild with autoconf 2.12.
6563
6564Sat Nov 23 13:32:15 1996 Fred Fish <fnf@cygnus.com>
6565
6566 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
6567 use new i*86-pc-linux*-gnu quads.
6568 * gdb.base/corefile.exp: Ditto.
6569 * gdb.base/signals.exp: Ditto.
6570 * gdb.base/sigall.exp: Ditto.
6571 * gdb.base/interrupt.exp: Ditto.
6572
6573 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
6574 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
6575 RedHat 4.0.
beb998c6 6576
c906108c
SS
6577 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
6578 linux. This allows the test case to at least compile on latest
6579 linux, but still not run due to missing the threads runtime library.
6580
6581Fri Nov 22 10:13:29 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6582
6583 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
6584 directory to search gdb directory. Accept and step over conditional
6585 stack alignment code. Consume $prompt in failure cases.
6586 Reset timeout to $oldtimeout instead of some arbitrary value.
6587 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
6588 timeout problems with infinite stack backtraces.
6589 * gdb.base/ptype.exp (ptype struct link, union tu_link):
6590 Accept function parameters for linkfunc member.
6591
6592Thu Nov 21 09:17:19 1996 Fred Fish <fnf@cygnus.com>
6593
6594 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
6595 (CXXFLAGS): Remove, unreferenced.
6596 (B_OPTIONS): Add for -B options and add code to initialize with
6597 previous -B options and also add -B option to pick up cross compiled
6598 runtime.
6599 (TARGET_INCLUDES): Add for -I options and add code to initialize when
6600 doing cross compiles.
6601 (target_alias): Declare global.
6602 (xgcc): Set variable to full path of gcc in build tree. Use findfile
6603 to verify that gcc exists in build tree, and if so set CC to that
6604 gcc and to use B_OPTIONS and TARGET_INCLUDES.
beb998c6 6605
c906108c
SS
6606Tue Nov 12 16:20:13 1996 Fred Fish <fnf@cygnus.com>
6607
6608 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
6609 ptype test for anonymous union. Fixup testcase to match
6610 current gcc debug output.
6611
6612Mon Nov 11 14:12:06 1996 Jeffrey A Law (law@cygnus.com)
6613
6614 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
6615 force argument to an unsigned long type.
6616
6617Mon Nov 11 10:27:55 1996 Fred Fish <fnf@cygnus.com>
6618
6619 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
6620 tests and anonymous union print/ptype tests.
6621 * gdb.base/list.exp (test_forward-search): Increase timeout by
6622 5 minutes for the "search extremely long line" case.
6623 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
6624 completely optional and that the pass/fail messages use the command as
6625 the message if that third arg is a null string.
6626 (gdb_test_exact): Arrange that a null string pattern means match a
6627 null string output rather than any output, which might include random
6628 errors.
6629 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
6630 backtrace test.
6631 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
6632 always failing and failure is now exposed by gdb.exp changes.
6633
6634Sat Nov 9 11:13:24 1996 Fred Fish <fnf@cygnus.com>
6635
6636 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
6637 weren't being noted.
6638
6639Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6640
6641 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
6642 * gdb.stabs/weird.exp: Remove v_comb xfails.
6643
dc96c6c7 6644Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6645
6646 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
6647 list.exp scope.exp watchpoint.exp]
6648 Make all timeout error msgs explicitly say "(timeout)".
beb998c6 6649
dc96c6c7 6650Mon Nov 4 12:03:06 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6651
6652 * config/monitor.exp: Increase download timeout to 1000 seconds.
6653
dc96c6c7 6654Mon Nov 4 12:02:26 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6655
6656 * config/m32r.exp: Increase timeout to 120 seconds.
6657
6658Sun Nov 3 14:37:05 1996 Fred Fish <fnf@cygnus.com>
6659
6660 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
6661 and accept older ordering as obsolescent gcc or gdb.
6662 * gdb.c++/templates.exp: Ditto.
6663 * gdb.c++/virtfunc.exp: Ditto.
6664
6665Fri Nov 1 11:56:09 1996 Fred Fish <fnf@cygnus.com>
6666
6667 * gdb.base/coremaker.c: Add code to mmap some data so we
6668 can check that it ends up in the core file.
6669 * gdb.base/corefile.exp: Add test to read mmapped data
6670 from core file.
6671
dc96c6c7 6672Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6673
6674 * config/m32r.exp: New file.
6675
6676Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
6677
6678 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
6679 that cflags can contains -gstabs, and work correctly for other tests.
6680
dc96c6c7 6681Mon Oct 21 14:00:37 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6682
6683 * gdb.base/setshow.exp: New file, tests show and set.
6684 * gdb.base/setshow.c: New file, tests show and set.
6685 * gdb.base/help.exp: Add test for help set|show annotate.
6686 * gdb.base/default.exp: Add test for set|show annotate.
6687
6688Wed Oct 16 19:03:54 1996 Stu Grossman (grossman@critters.cygnus.com)
6689
6690 * testsuite/gdb.base/break.exp: Make backtrace from factorial
6691 errors unique.
6692 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
6693 explicitly.
6694
6695Tue Oct 15 16:45:02 1996 Stu Grossman (grossman@critters.cygnus.com)
6696
6697 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
6698 and width commands. This is done elsewhere.
6699 * (gdb_start): Don't call gdb_start_sim here. That's already
6700 done in gdb_load. This fixes lots of failures in default.exp.
6701
6702Sun Oct 13 10:40:23 1996 Fred Fish <fnf@cygnus.com>
6703
6704 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
6705 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
6706 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
6707 in the same we we treat other failures (since it may be an expected
6708 condition), rather than as an error.
6709 * gdb.base/signals.exp (test_handle_all_print): Revert back to
6710 old test format.
6711
6712Fri Oct 11 17:05:22 1996 Fred Fish <fnf@cygnus.com>
6713
6714 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
6715 (distclean maintainer-clean realclean): No need to remove files
6716 twice. Nuke the duplicates.
6717 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
beb998c6 6718 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
c906108c
SS
6719 Remove config.h along with other config files.
6720
6721Mon Sep 30 20:16:22 1996 Fred Fish <fnf@cygnus.com>
6722
6723 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
6724 "p func1 ()" and note that rests of tests are skipped.
6725 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
6726 setup_xfails for "print func2::coremaker_local".
6727 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
6728 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
6729 affected by the previous run test.
6730 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
6731 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
6732 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
6733 "pass int powerset tuple" and "pass modeless int powerset tuple".
6734 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
6735 "real write 4" and "real write 8".
6736 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
6737 setup_xfails for "print vs1 after tuple assign 2",
6738 "print \$i after tuple assign 2", and
6739 "print vs2 after tuple assign 2".
6740 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
6741 meaningful error message and return -1 so the caller can
6742 suppress further tests and avoid a cascade of errors.
beb998c6 6743
c906108c
SS
6744Fri Sep 27 10:34:51 1996 Fred Fish <fnf@cygnus.com>
6745
6746 * gdb.base/a1-selftest.exp: Tweak tests to account for new
6747 format for printing version.
6748 * gdb.base/default.exp: Ditto.
6749 * gdb.base/interrupt.exp: Fix problem with cascade of
6750 errors if child process dies while calling a function.
beb998c6 6751
c906108c
SS
6752Fri Sep 13 21:43:48 1996 Fred Fish <fnf@cygnus.com>
6753
6754 * Makefile.in (VPATH): Add
6755 * Makefile.in (Makefile, config.status): Fix rules so things get
6756 remade when necessary.
6757
6758Fri Sep 13 18:16:10 1996 Fred Fish <fnf@cygnus.com>
6759
6760 * Makefile.in (just-check): Add path to sibling expect dir
6761 to environment variable specified by RPATH_ENVVAR.
6762
6763Fri Sep 13 12:05:34 1996 Fred Fish <fnf@cygnus.com>
6764
6765 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
6766 (just-check): Add shared library paths for libstdc++, tk,
6767 tcl, bfd, and opcodes to the environment variable specified
6768 in RPATH_ENVVAR.
6769 * configure.in: Add support to recognize --enable-shared flag
6770 and generate correct value for RPATH_ENVVAR.
6771 * configure: Regenerated with autoconf.
6772
6773Mon Sep 2 06:36:02 1996 Fred Fish <fnf@cygnus.com>
6774
6775 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
6776 include all osf versions.
6777 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
6778 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
6779 when target is linux. When failing to build pthreads test
6780 executable, give more meaningful message.
6781 * gdb.threads/pthreads.c: Hpux also uses old definition of second
6782 arg for pthread_create.
beb998c6 6783
c906108c
SS
6784Mon Aug 19 09:58:59 1996 Fred Fish <fnf@cygnus.com>
6785
6786 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
6787 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
6788 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
6789 and -lpthreads (everybody else).
6790 (test_startup): Fail gracefully if threads are not supported.
6791 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
6792 "p/c array_index("abcdef",2)" when not gcc compiled.
6793 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
6794 "print func2::coremaker_local" when not gcc compiled.
6795 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
6796 "ptype on opaque struct tagname (statically)",
6797 "ptype on opaque struct tagname (dynamically) 1", and
6798 "ptype on opaque struct tagname (dynamically) 2"
6799 for not compiled with gcc.
6800 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
6801 backtrace when compiled with gcc.
beb998c6 6802 * lib/gdb.exp (runto_main): Return result of "runto main" rather
c906108c
SS
6803 than always return success.
6804
6805Sat Aug 17 13:28:00 1996 Fred Fish <fnf@cygnus.com>
6806
6807 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
6808
6809Tue Aug 13 10:26:10 1996 Jeffrey A Law (law@cygnus.com)
6810
6811 * gdb.base/structs.exp: Undo last change.
6812
6813Mon Aug 12 15:29:08 1996 Fred Fish <fnf@cygnus.com>
6814
6815 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
6816 encapsulate all the steps/nexts done during self test, starting
6817 at main, and makes them less sensitive to optimization issues.
6818 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
6819 signal handler" test.
6820 * gdb.threads/pthreads.exp: Only run this for native configs.
6821 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
6822 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
6823 tests.
6824 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
6825 for "runto test_calls(void)" test.
beb998c6 6826
c906108c
SS
6827Sun Aug 11 13:11:24 1996 Fred Fish <fnf@cygnus.com>
6828
6829 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
6830 and don't expect address info in breakpoint confirmations.
6831
6832Wed Aug 7 20:47:43 1996 Fred Fish <fnf@cygnus.com>
6833
6834 * gdb.base/list.exp (test_forward_search): Increase timeout
6835 temporarily by 60 seconds for searching extremely long line,
6836 and then reset to old value when done. Increase expect input
6837 buffer to 10000.
6838
6839Wed Aug 7 15:34:22 1996 Fred Fish <fnf@cygnus.com>
6840
6841 * gdb.base/list.exp (test_forward_search): Fix to handle very
6842 long source line without overflowing expect's input buffer.
6843
6844Wed Aug 7 12:03:25 1996 Tom Tromey <tromey@creche.cygnus.com>
6845
6846 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
6847 "buffer_full".
6848
6849 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
6850 "buffer_full".
6851
6852 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
6853 "buffer_full".
6854
6855 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
6856 "buffer_full".
6857
6858Wed Aug 7 11:05:47 1996 Fred Fish <fnf@cygnus.com>
6859
6860 * configure.in (configdirs): Add gdb.threads.
6861 * configure: Regenerated with autoconf.
6862 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
6863 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
6864 * gdb.threads/configure: New, generated with autoconf.
beb998c6 6865
c906108c
SS
6866Tue Aug 6 10:23:04 1996 Tom Tromey <tromey@rtl.cygnus.com>
6867
6868 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
6869
6870Mon Aug 5 18:11:53 1996 Fred Fish <fnf@cygnus.com>
6871
6872 * gdb.base/signals.exp (test_handle_all_print): Test separately for
6873 each signal's status in the output of "handle all print".
6874 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
6875 the \r\n sequence that immediately precedes the gdb prompt.
6876 * gdb.base/a1-selftest.exp: Save original timeout and restore
6877 after test.
6878
6879Sun Aug 4 10:20:50 1996 Jeffrey A Law (law@cygnus.com)
6880
6881 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
6882 symbol.
6883
6884Fri Aug 2 17:37:26 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
6885
6886 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
6887
6888Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
6889
6890 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
6891 timeout by 60 seconds.
6892
6893Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
6894
6895 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
6896 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
6897 error return.
6898
6899Thu Jun 27 10:54:58 1996 Fred Fish <fnf@cygnus.com>
6900
6901 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
6902 gdb initialization, also report how long dejagnu waited. Restore
6903 old timeout before doing error return. Temporarily increase timeout
6904 by 3 minutes to allow for slow startups over heavy NFS use.
6905
6906Tue Jun 25 19:59:17 1996 Fred Fish <fnf@cygnus.com>
6907
6908 * lib/gdb.exp: Report timeout value for verbosity level 2.
6909 * config/gdbserver.exp: Ditto.
6910 * config/hppro.exp: Ditto.
6911 * config/mips-gdb.exp: Ditto.
6912 * config/monitor.exp: Ditto.
6913 * config/netware.exp: Ditto.
6914 * config/sim-gdb.exp: Ditto.
6915 * config/slite-gdb.exp: Ditto.
6916 * config/udi-gdb.exp: Ditto.
6917 * config/unix-gdb.exp: Ditto.
6918 * config/vx-gdb.exp: Ditto.
6919 * gdb.base/a1-selftest.exp: Ditto.
6920 * gdb.base/a2-run.exp: Ditto.
6921 * gdb.base/break.exp: Ditto.
6922 * gdb.base/corefile.exp: Ditto.
6923 * gdb.base/list.exp: Ditto.
6924 * gdb.base/recurse.exp: Ditto.
6925 * gdb.base/scope.exp: Ditto.
6926 * gdb.base/signals.exp: Ditto.
6927
6928Tue Jun 25 23:16:58 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
6929
6930 * gdb.threads/Makefile.in (docdir): Removed.
6931
6932Tue Jun 25 17:02:39 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
6933
6934 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
beb998c6 6935 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
c906108c 6936 @srcdir@.
beb998c6 6937 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
c906108c
SS
6938 autoconf 2.5 or higher.
6939 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
6940
6941Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
6942
6943 * configure: Regenerated.
6944 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
6945 avoid name clashes with SunOS headers.
6946
6947Wed Jun 5 16:43:27 1996 Jeffrey A Law (law@cygnus.com)
6948
6949 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
6950
6951Thu May 30 11:35:11 1996 Jeffrey A Law (law@cygnus.com)
6952
6953 * gdb.base/callfuncs.exp: Finish last change -- make sure the
6954 prototype information ends up in the compiler info file.
6955
6956Thu May 23 12:48:41 1996 Fred Fish <fnf@cygnus.com>
6957
6958 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
6959 attempting to regenerate it. Eliminate use of a temporary file
6960 and just generate the info file directly. Source it immediately,
6961 for consistency of use.
6962 * gdb.base/corefile.exp: Ditto
6963 * gdb.base/exprs.exp: Ditto.
6964 * gdb.base/funcargs.exp: Ditto.
6965 * gdb.base/langs.exp: Ditto.
6966 * gdb.base/list.exp: Ditto.
6967 * gdb.base/mips_pro.exp: Ditto.
6968 * gdb.base/nodebug.exp: Ditto.
6969 * gdb.base/opaque.exp: Ditto.
6970 * gdb.base/ptype.exp: Ditto.
6971 * gdb.base/scope.exp: Ditto.
6972 * gdb.base/setvar.exp: Ditto.
6973 * gdb.base/signals.exp: Ditto.
6974 * gdb.base/whatis.exp: Ditto.
6975 * gdb.c++/templates.exp: Ditto.
6976 * gdb.c++/virtfunc.exp: Ditto.
6977 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
6978 whether or not to add -lstdc++ to the compile command line args.
6979
6980Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6981
6982 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
6983 it got fixed by the recent lookup_minimal_symbol_by_pc change.
6984 Increase timeout, a lot of single stepping might be needed if the
6985 target has no hardware watchpoints.
6986
6987Wed May 15 08:47:42 1996 Jeffrey A Law (law@cygnus.com)
6988
6989 * gdb.base/break.exp: Ignore compiler warnings when compiling
6990 break.c.
6991 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
6992 * gdb.base/default.exp: Add h8300 xfails. Handle messages
6993 from remote-sim.
6994 * gdb.base/exprs.exp: Add h8300 xfails.
6995 * gdb.base/funcargs.exp: Likewise.
6996 * gdb.base/nodebug.exp: Likewise.
6997 * gdb.base/printcmds.exp: Likewise.
6998 * gdb.base/ptype.exp: Likewise.
6999 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
7000 h8300 xfails.
beb998c6 7001 * gdb.base/return.exp: Handle float/double precision problems
c906108c
SS
7002 on the h8300.
7003 * gdb.base/funcargs.c: Explicitly make last constant argument to
7004 call_after_alloca_subr an unsigned long type.
7005 * gdb.base/return.c: Include stdio.h.
7006
7007Tue May 7 22:01:12 1996 Rob Savoye <rob@chinadoll.cygnus.com>
7008
7009 * config/abug.exp: New file for the older Motorola Bug monitor
7010 that runs on the mvme13x series VME boards.
7011 * config/monitor.exp: Use the new config array for target settings
7012 if they exist.
7013
7014Fri May 3 16:02:55 1996 Stan Shebs <shebs@andros.cygnus.com>
7015
7016 * sim-gdb.exp: Make the SH simulator allocate less space when
7017 it is targeted.
7018
7019Thu May 2 12:31:56 1996 Jeffrey A Law (law@cygnus.com)
7020
7021 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
7022 test.
7023
7024Wed Mar 20 08:48:03 1996 Fred Fish <fnf@cygnus.com>
7025
7026 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
7027 "rs6000-*-*" for "list function in include file" when gcc compiled.
7028 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
7029 for "p ctable1[120]".
7030 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
7031 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
7032 Remove setup_xfail for "rs6000-*-*" for
7033 "print 'scope0.c'::filelocal before run".
7034 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
7035 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
7036 since some compilers don't allow both options to be given
7037 on the same command line. Create object file and move it.
beb998c6 7038
c906108c
SS
7039Tue Mar 19 23:49:31 1996 Fred Fish <fnf@cygnus.com>
7040
7041 * gdb.base/corefile.exp: Always regenerate the core file, since
7042 we always regenerate the coremaker program. Detect special case
7043 where registers cannot be read from core file.
beb998c6 7044
c906108c
SS
7045Tue Mar 19 16:52:49 1996 Fred Fish <fnf@cygnus.com>
7046
7047 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
7048 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
7049 * gdb.c++/templates.exp: Only match on basename of file since
7050 some formats like xcoff don't encode directory information.
7051 * gdb.stabs/weird.exp: Use the right sed script for powerpc
7052 and rs6000 AIX xcoff targets.
7053 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
7054 * configure: Regenerate.
7055 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
7056 here, rather than in distclean.
beb998c6 7057
c906108c
SS
7058Sun Mar 17 13:35:31 1996 Fred Fish <fnf@cygnus.com>
7059
7060 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
7061 defined, and use it to compile the test case with -O2. The
7062 native compilation still uses no optimization.
7063 * gdb.base/mips_pro.c: Remove inline assembly code since
7064 it is compiled PIC by default, which results in assembler
7065 warnings that make the testsuite think the compilation
7066 was unsuccessful.
7067
7068Sat Mar 16 15:02:24 1996 Fred Fish <fnf@cygnus.com>
7069
7070 * gdb.c++/misc.exp: Add note to message for
7071 "print s.a for foo struct" that this is a known gcc 2.7.2
7072 and earlier bug.
7073
7074Fri Mar 15 17:49:57 1996 Fred Fish (fnf@cygnus.com)
7075
7076 * gdb.base/break.exp: Fix pattern for matching "Delete all
7077 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
7078 setup_xfail for deleting all breakpoints test. Fix various
7079 timeout messages to include "(timeout)".
7080 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
7081 for "p t_float_values2(3.14159,float_val2)".
7082 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
7083 for "continue to call2g" when gcc compiled.
7084 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
7085 "up to foo in langs.exp", "show language at foo in langs.exp",
7086 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
7087 and "show language at fsub in langs.exp".
7088 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
7089 "list line 1 in include file", "list message for lines past EOF",
7090 "list function in include file", "list list0.h:foo", and
7091 "list filename:function; nonexistant function".
7092 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
7093 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
7094 and "ptype t_char_array" to be for native cc only.
beb998c6 7095
c906108c
SS
7096Fri Mar 15 16:17:22 1996 Fred Fish <fnf@cygnus.com>
7097
beb998c6 7098 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
c906108c
SS
7099 setup_xfail for "print coremaker_bss", "print coremaker_ro",
7100 "print func2::coremaker_local", and "backtrace in corefile.exp".
7101
7102Wed Mar 13 14:54:11 1996 Fred Fish <fnf@cygnus.com>
7103
7104 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
7105 "bt in signals.exp". This problem only appears when running
7106 the testsuite, and then only intermittently.
7107
7108Tue Mar 12 15:00:16 1996 Stan Shebs <shebs@andros.cygnus.com>
7109
7110 * gdb.base/return.exp (return_tests): Differentiate between
7111 two tests of continuing.
7112
7113Tue Mar 5 14:33:33 1996 Stan Shebs <shebs@andros.cygnus.com>
7114
7115 * */Makefile.in (maintainer-clean): Remove config.log.
7116 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
7117 * gdb.c++/Makefile.in (PROGS): Add inherit.
7118 (clean): Remove *.ci.
7119
7120Tue Feb 20 16:36:10 1996 Fred Fish <fnf@cygnus.com>
7121
7122 * gdb.c++/misc.cc: Add test code from Mike Stump.
7123 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
7124
7125Sun Feb 18 11:39:12 1996 Fred Fish <fnf@cygnus.com>
7126
7127 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
7128 to "alpha-*-osf2*" and add comment.
7129 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
7130 setup_xfail for "step over execarg initialization" and
7131 "step over corearg initialization".
7132 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
7133 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
7134 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
7135 gcc compiled for "print coremaker_bss", "print coremaker_ro",
7136 "print func2::coremaker_local", and "backtrace in corefile.exp".
7137 * gdb.base/signals.exp: Build and source signals.ci.
7138 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
7139 to be for gcc only.
7140 * lib/gdb.exp: Move verbose statements outside conditionals.
beb998c6 7141
c906108c
SS
7142Sat Feb 17 02:22:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7143
7144 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
7145 Feb 3 procfs.c change.
7146
7147Fri Feb 16 13:25:31 1996 Fred Fish <fnf@cygnus.com>
7148
7149 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
7150
7151Thu Feb 15 08:12:55 1996 Fred Fish <fnf@cygnus.com>
7152
7153 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
7154 from dejagnu's apparent default of 10 seconds, which gives random
7155 results when running the tests over NFS on moderately loaded systems.
7156 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
7157
7158Mon Feb 12 16:50:28 1996 Fred Fish <fnf@cygnus.com>
7159
7160 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
7161 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
7162 result reports.
7163
7164Fri Feb 9 15:56:51 1996 Fred Fish <fnf@cygnus.com>
7165
7166 * configure.in (CY_AC_PATH_TCLH): Remove.
7167 * configure: Regenerate.
7168
7169Fri Feb 9 08:21:31 1996 Fred Fish <fnf@cygnus.com>
7170
7171 * gdb.c++/Makefile.in (clean): Add missing '{'.
7172
7173Fri Feb 2 10:19:40 1996 Jeffrey A Law (law@cygnus.com)
7174
7175 * lib/gdb.exp: Provide a default value for noinferior.
7176
7177 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
7178 Load libgloss.exp.
7179
7180Thu Feb 1 20:20:14 1996 Jeffrey A Law (law@cygnus.com)
7181
7182 * gdb.disasm/hppa.exp: Compile directly into an executable, use
7183 the executable, not the .o to run the tests from.
7184
7185Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com)
7186
7187 * gdb.base/break.exp: Don't test for program exit or exit status
7188 if $noresults if nonzero.
7189 * gdb.base/langs.exp: Likewise.
7190 * gdb.base/watchpoint.exp: Likewise.
7191
7192 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
7193 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
7194 trying to compile the testcase.
7195
7196Wed Jan 24 23:42:39 1996 Doug Evans <dje@charmed.cygnus.com>
7197
7198 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
7199 * gdb.base/signals.exp (continue to handler): Likewise.
7200
7201Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
7202
7203 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
7204
7205 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
7206
7207Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
7208
7209 * gdb.base/corefile.exp: Recognize "not found" as failure
7210 when trying to determine if a core file was generated.
7211 If no core file was generate the first time, try again without
7212 the ulimit -c to work around braindamaged shells.
7213
7214Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
7215
7216 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
7217 [] tests with "test" and enclose string in quotes.
7218 * gdb.stabs/configure: Rebuild
beb998c6 7219
c906108c
SS
7220Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
7221
7222 Changes in sync with expect:
7223 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
7224 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
7225 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
7226 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
7227 argument to AC_REQUIRE.
7228 * configure: Regenerated.
7229
7230Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
7231
7232 * gdb.base/corefile.exp: When generating a core, discard any
7233 error messages about ulimit not found and the "core dumped"
7234 message from the shell that runs the coredumper.
7235
7236Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
7237
7238 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
7239
7240 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
7241 which sed script to run. Expect failure for v_comb test
7242 on PA targets too.
beb998c6 7243
c906108c
SS
7244Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
7245
7246 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
7247 "print func2::coremaker_local" and for "backtrace in corefile.exp"
7248
7249Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
7250
7251 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
7252 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
7253 "sparc-sun-solaris*" xfails for "p v_comb".
7254 * lib/gdb.exp (default_gdb_start): Fix typo.
7255 * gdb.base/corefile.exp: Allow "Core was generated by ..."
7256 messages to not include the full program name that caused
7257 the core dump since some systems (such as solaris) apparently
7258 truncate this path to about 80 characters.
7259 When generating a core file first try increasing the core file
7260 size limit to unlimited since some systems may default it to
7261 zero, and it is harmless to try it. Move the test for failing
7262 to generate a core file to where it will actually get executed.
7263 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
7264 new gdb result from g++ debug info improvements and make old
7265 pattern obsolescent. Also account for size_t differences
7266 (may be int or long).
7267 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
7268 initialization before function call is placed in the delay slot
7269 and thus appears to be skipped over by commands such as "next".
7270
7271Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
7272
7273 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
7274
7275Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
7276
7277 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
7278 input source file; fix code to compile test to deal with this
7279 convention.
7280 * gdb.c++/*.exp: Likewise.
7281
7282Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
7283
7284 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
7285 "bt in signals.exp".
7286
7287Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
7288
7289 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
7290 "step over execarg initialization" and
7291 "step over corearg initialization".
7292
7293Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
7294
7295 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
7296 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
7297
7298Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
7299
7300 From Rob Savoye (rob@poseidon.cygnus.com)
7301 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
7302 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
7303 configure.in}, gdb.disasm/{Makefile.in, configure.in},
7304 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
7305 configure.in}: Major reworking for autoconfig.
7306 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
7307 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
7308 New files.
7309 * config/unix-gdb.exp: Make GDB global.
7310 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
7311 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
7312 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
7313 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
7314 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
7315 term.exp, twice.exp, watchpoint.exp, whatis.exp},
7316 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
7317 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
7318 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
7319 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
7320 pr-8136.exp, result.exp, string.exp, tuples.exp},
7321 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
7322 to returns as necessary, arrange for test to compile own testcase
7323 executable.
7324 * lib/gdb.exp: Changes for testsuite to compile own test cases.
beb998c6 7325
c906108c
SS
7326Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
7327
7328 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
7329 clear_xfail at end of test which might not call either pass or fail.
7330 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
7331 "backtrace through signal handler".
7332
7333Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7334
7335 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
7336 continuing from a job control stop signal.
7337 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
7338
7339Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
7340
7341 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
7342 * gdb.base/corefile.exp: Likewise.
7343 * gdb.base/funcargs.exp: Likewise.
7344
7345Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
7346
7347 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
7348 * config/monitor.exp: Add support for setting baud rate.
7349
7350Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
7351
7352 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
7353 i*86-*-linux* xfails for "backtrace through signal handler".
7354 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
7355 "print func2::coremaker_local".
7356 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
7357 alpha-dec-osf2* xfail for
7358 "delete all breakpoints when none".
7359
7360Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
7361
7362 * gdb.base/break.exp: Change test that deletes all breakpoints
7363 when no user breakpoints are installed. A post 4.15 change
7364 causes gdb to no longer prompt in this case.
7365
7366Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
7367
7368 * gdb.base/return.exp (return_tests): Change xfail for test
7369 "correct value returned double test" to stop xfailing at
7370 Solaris 2.5. Apparently the bug has been fixed.
7371
7372Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
7373
7374 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
7375 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
7376
7377Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
7378
7379 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
7380 * gdb.disasm/hppa.s: Corresponding changes.
7381
7382Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
7383
7384 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
7385 makefile fragment.
7386 * config/mt-hpux: Deleted.
7387
7388Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
7389
beb998c6 7390 * Many files: When warning about suppressed tests due to a
c906108c
SS
7391 nonexistant test binary, avoid incrementing the warning count.
7392
7393Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
7394
7395 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
beb998c6 7396
c906108c
SS
7397Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7398
7399 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
7400 "sparc-*-solaris2*".
7401
7402Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7403
7404 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
7405 Add global and local variables and initialize them.
7406 * gdb.base/corefile.exp: Test correct mapping of corefile sections
7407 by printing variables. Remove rs6000 and powerpc xfails, BFD now
7408 extracts the file name and terminating signal from the core file.
7409 * TODO: Remove note about tests for correct mapping of corefile.
7410 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
7411 from optimizing it away.
7412 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
7413 handles common blocks.
7414
7415Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
7416
7417 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
7418 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
7419
7420Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
7421
7422 * Makefile.in (maintainer-clean): New target, synonym for
7423 realclean.
7424 * gdb.base/Makefile.in (maintainer-clean): Likewise.
7425 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
7426 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
7427 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
7428 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
7429 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
7430
7431Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
7432
7433 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
7434 xfails when not gcc compiled for "print foo::funclocal".
7435 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
7436 "print foo::funclocal at foo",
7437 "print 'scope1.c'::foo::funclocal at foo",
7438 "print foo::funclocal_bss at foo",
7439 "print 'scope1.c'::foo::funclocal_bss at foo",
7440 "print foo::funclocal_ro at foo",
7441 "print 'scope1.c'::foo::funclocal_ro at foo",
7442 "print bar::funclocal at foo" and
7443 "print 'scope1.c'::bar::funclocal at foo".
7444 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
7445 gcc compiled for "print foo::funclocal at bar".
7446 Expand all messages to ensure that they identify that
7447 the test is at bar().
7448 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
7449 gcc compiled for:
7450 "ptype on opaque struct pointer (statically)",
7451 "ptype on opaque struct tagname (statically)",
7452 "ptype on opaque struct pointer (dynamically) 1",
7453 "ptype on opaque struct tagname (dynamically) 1",
7454 "ptype on opaque struct pointer (dynamically) 2" and
7455 "ptype on opaque struct tagname (dynamically) 2
7456 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
7457 gcc compiled for:
7458 "p datalocal"
7459 "whatis datalocal",
7460 "ptype datalocal",
7461 "p bsslocal",
7462 "whatis bsslocal", and
7463 "ptype bsslocal".
7464 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
7465 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
7466 when not gcc compiled.
7467 * gdb.base/funcargs.exp (float_and_integral_args): Add
7468 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
7469 compiled.
7470 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
7471 "backtrace from call6a" when not gcc compiled.
7472 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
7473 "backtrace from call7a" when not gcc compiled.
7474 * gdb.base/callfuncs.exp (do_function_calls):
7475 Add "hppa*-*-hpux*" xfail when not gcc compiled for
7476 "p t_char_array_values(char_array_val2,char_array_val1)",
7477 "p t_char_array_values(char_array_val1,char_array_val2)",
7478 "p t_char_array_values("carray 1","carray 2")",
7479 "p t_char_array_values("carray 1",char_array_val2)",
7480 "p t_char_array_values(char_array_val1,"carray 2")",
7481 "p sum_args(1,{2})",
7482 "p sum_args(2,{2,3})",
7483 "p sum_args(3,{2,3,4})",
7484 "p sum_args(4,{2,3,4,5})"
7485 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
7486 "backtrace in corefile.exp" when not gcc compiled.
7487
7488Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7489
7490 * gdb.base/signals.exp: Rewrite `handle all print' test as
7491 a procedure. Accept blanks or TABs as whitespace, increase
7492 timeout and expect input buffer size for the large output
7493 from the command. Remove "i*86-*-bsdi2.0" xfail.
7494
7495Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7496
7497 * gdb.base/setvar.exp: Add new testcases for truncation when
7498 assigning invalid values to bitfields.
7499
7500Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
7501
beb998c6 7502 * gdb.base/callfuncs.exp (do_function_calls): Remove
c906108c
SS
7503 mips-sgi-irix* xfail for
7504 "call inferior func with struct - returns char *"
7505 and fix test so that an optional (unsigned char *) cast is
7506 accepted in the result.
7507
7508Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
7509
7510 * gdb.base/funcargs.exp (float_and_integral_args): Remove
7511 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
7512 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
7513 * gdb.base/signals.exp: Remove duplicate "handle all print" test
7514 that accidentally got checked in.
7515
7516Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
7517
beb998c6 7518 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
c906108c
SS
7519 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
7520 compiled test.
7521 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
7522 Add mips-sgi-irix5* xfail for not gcc compiled.
7523 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
7524 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc compiled for
7525 "p top", "whatis top", "p middle", and "whatis middle".
7526 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
7527 "whatis signed char" for not gcc compiled.
7528 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
7529 "set variable signed char=-1 (-1)" and
7530 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
7531 * gdb.base/funcargs.exp (float_and_integral_args):
7532 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
7533 Add mips-sgi-irix* xfail when not gcc compiled for
7534 "continue to call2b".
7535 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
7536 "continue to call2g".
7537 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc compiled for
7538 "backtrace from call6a"
7539 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc compiled for
7540 "backtrace from call7k".
7541 Add mips-sgi-irix5* xfail when not gcc compiled for
7542 "backtrace from call7a".
7543 (localvars_after_alloca): Fix gdb_test cmds for
7544 "print * after runto ...".
7545 Remove rs6000-*-* xfails for
7546 "print i after runto localvars_after_alloca" and
7547 "print l after runto localvars_after_alloca"
7548 for all compilers.
7549 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
7550 when not compiled with gcc, for:
7551 "print signed char == (minus)",
7552 "print signed char != (minus)",
7553 "print signed char < (minus)",
7554 "print signed char > (minus)".
7555 * gdb.base/callfuncs.exp (do_function_calls):
7556 Add mips-sgi-irix* xfail, when compiled with native compiler, for
7557 "call inferior func with struct - returns char *".
beb998c6 7558 * gdb.base/return.exp (return_tests): Change xfail for
c906108c
SS
7559 "correct value returned double test" to include Solaris 2.4.
7560 * gdb.base/funcargs.exp (float_and_integral_args):
7561 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
beb998c6 7562
c906108c
SS
7563Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7564
7565 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
7566 enumeration bitfields if compiling with GNU C.
7567 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
7568 to empty' prompt.
7569
7570Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
7571
7572 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
7573 test for PRO targets.
7574
7575 * gdb.base/funcargs.exp: Avoid ever setting more than 8
7576 breakpoints in the inferior at any given time by making
7577 two groups of breakpoints for call2*, call6* and call7*
7578 tests.
7579
7580Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7581
7582 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
7583 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
7584 from optimizing it away.
7585 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
7586 "call inferior func with struct".
7587
7588Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
7589
7590 * configure.in: Only configure gdb.chill for particular targets.
7591
7592Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
7593
7594 * gdb.base/Makefile.in: Add action to .c.o transformation
7595 rule that generates a .ci file for each .o file and remove
7596 explicit .c.o rules except for callfuncs.o.
7597 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
7598 generates a .ci file for each .o file and remove explicit
7599 .cc.o rules.
7600 (clean): Remove *.tmp *.ci files.
7601 (EXECUTABLES): Remove templ-info.exp.
7602 * gdb.base/compiler.c: New file.
7603 * gdb.c++/compiler.cc: New file
7604 * gdb.base/scope.exp: Source gdb.base/scope.ci.
7605 Change rs6000-*-* xfail for
7606 "print 'scope0.c'::filelocal_ro" and
7607 "print 'scope1.c'::filelocal" and
7608 "print 'scope1.c'::filelocal_bss" and
7609 "print 'scope1.c'::filelocal_ro" and
7610 "print 'scope1.c'::foo::funclocal" and
7611 "print 'scope1.c'::foo::funclocal_ro" and
7612 "print 'scope1.c'::bar::funclocal" and
7613 "print 'scope0.c'::filelocal_ro" and
7614 "print 'scope1.c'::filelocal at foo" and
7615 "print 'scope1.c'::filelocal_bss at foo" and
7616 "print 'scope1.c'::filelocal_ro at foo" and
7617 "print 'scope1.c'::foo::funclocal at foo" and
7618 "print 'scope1.c'::foo::funclocal_bss at foo" and
7619 "print 'scope1.c'::foo::funclocal_ro at foo" and
7620 "print 'scope1.c'::bar::funclocal at foo" and
7621 "print 'scope0.c'::filelocal_ro" and
7622 "print 'scope1.c'::filelocal" and
7623 "print 'scope1.c'::filelocal_bss" and
7624 "print 'scope1.c'::filelocal_ro" and
7625 "print 'scope1.c'::foo::funclocal" and
7626 "print 'scope1.c'::foo::funclocal_bss" and
7627 "print 'scope1.c'::foo::funclocal_ro" and
7628 "print 'scope1.c'::bar::funclocal" and
7629 "print 'scope1.c'::bar::funclocal_bss"
7630 to only be xfail'd when not compiled with gcc.
beb998c6 7631 Add rs6000-*-* xfail for
c906108c
SS
7632 "print 'scope0.c'::filelocal_bss before run"
7633 when compiled with gcc.
7634 (test_at_main): Add rs6000-*-* xfail for
7635 "print filelocal_ro in test_at_main"
7636 when compiled with gcc.
7637 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
beb998c6 7638 Add rs6000-*-aix* xfail for
c906108c
SS
7639 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
7640 "ptype t_char_array", not compiled with gcc.
7641 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
7642 xfail for "list foo (in include file)" when gcc compiled.
7643 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
7644 (integral_args): Add rs6000-*-* xfail for
7645 "run to call0a" if not compiled with gcc.
7646 (unsigned_integral_args): Add rs6000-*-* xfail for
7647 "run to call1a" if not compiled with gcc.
7648 (float_and_integral_args): Add rs6000-*-* xfail for
7649 "run to call2a" if not compiled with gcc and for
7650 "continue to call2b" for any compiler.
7651 Add rs6000-*-* xfail to
7652 "print f1 after run to call2a" for gcc compiled.
7653 (discard_and_shuffle): Add rs6000-*-* xfail for
7654 "run to call6a".
7655 (shuffle_round_robin): Add rs6000-*-* xfail for
7656 "backtrace from call7a" if not compiled with gcc.
7657 Add rs6000-*-* xfail for
7658 "backtrace from call7b" if compiled with gcc.
7659 (call_after_alloca): Add rs6000-*-* xfail for
7660 "print c in call_after_alloca" and
7661 "print s in call_after_alloca" and
7662 "backtrace from call_after_alloca_subr"
7663 if not compiled with gcc.
7664 (localvars_in_indirect_call): Add rs6000-*-* xfail for
7665 "print c in localvars_in_indirect_call" and
7666 "print c in localvars_in_indirect_call" and
7667 "backtrace in indirectly called function" and
7668 "stepping into indirectly called function"
7669 if not compiled with gcc.
7670 (localvars_after_alloca): Add rs6000-*-* xfail for
7671 "print c after runto localvars_after_alloca" and
7672 "print s after runto localvars_after_alloca" and
7673 "print i after runto localvars_after_alloca" and
7674 "print l after runto localvars_after_alloca"
7675 for all compilers.
7676 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
7677 than whatis-info.exp.
7678 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
7679 than opaque-info.exp.
7680 Setup rs6000-*-* xfail for
beb998c6 7681 "ptype on opaque struct pointer (statically)" and
c906108c
SS
7682 "ptype on opaque struct pointer (dynamically)" when
7683 not compiled with gcc.
7684 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
7685 rather than callf-info.exp.
7686 (do_function_calls): Add clear_xfail for rs6000-*-* for
7687 "p t_float_values2(3.14159,float_val2)". Seems to work
7688 fine there, both with xlc and gcc. Need to find out what
7689 it is doing right and fix other platforms.
7690 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
7691 "call inferior func with struct - returns int",
7692 "call inferior func with struct - returns long",
7693 "call inferior func with struct - returns float",
7694 "call inferior func with struct - returns double",
7695 "call inferior func with struct - returns char *",
7696 but only if not gcc compiled (presumes xlc compiled).
7697 Change rs6000-*-* xfails for
7698 "call inferior func with struct - returns char" and
7699 " call inferior func with struct - returns short" to only
7700 xfail if not using gcc.
7701 (clean mostlyclean): Remove *.ci and *.tmp files.
7702 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
7703 than templ-info.exp.
7704 * gdb.base/langs.exp: Source gdb.base/langs.ci.
7705 Add rs6000-*-* xfail for "up to foo in langs.exp"
7706 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
7707 when not gcc compiled.
beb998c6 7708
c906108c
SS
7709Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
7710
7711 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
7712 * gdb.base/corefile.exp: Likewise.
7713 * gdb.base/list.exp: Likewise.
7714 * gdb.base/scope.exp: Likewise.
7715 * gdb.base/siganls.exp: Likewise.
7716
7717 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
7718 compiler output.
7719 * gdb.base/whatis.exp: Likewise.
7720
7721Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
7722
7723 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
7724 failure (opcode table has been fixed to match reality).
7725
7726Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
7727
7728 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
7729 "call inferior func with struct - returns char",
7730 "call inferior func with struct - returns short"
7731
7732 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
7733 "print 'scope0.c'::filelocal at main",
7734 "print 'scope0.c'::filelocal_bss in test_at_main",
7735 "print 'scope0.c'::filelocal at foo",
7736 "print 'scope0.c'::filelocal_bss in test_at_foo",
7737 "print 'scope0.c'::filelocal at bar",
7738 "print 'scope0.c'::filelocal_bss in test_at_bar"
beb998c6 7739
c906108c
SS
7740 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
7741 in source file 1". This bug seems to have been fixed with both
7742 gcc and native cc (was native assembler bug?).
7743
7744Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
7745
7746 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
7747 "backtrace through signal handler" to "i*86-*-sysv4*".
7748 * gdb.base/signals.exp: Add xfail for "'next' behaved as
7749 continue" case. Add "known SVR4 bug" to fail message.
7750 Add "i*86-*-bsdi2.0" xfail for "handle all print".
7751 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
7752 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
7753 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
7754 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
7755 "up to foo in langs.exp", "show language at foo in
7756 langs.exp", "up to cppsub_ in langs.exp", "show
7757 language at cppsub_ in langs.exp", "up to fsub in
7758 langs.exp", and "show language at fsub in langs.exp".
7759 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
7760 "bactrace in corefile.exp".
7761 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
7762 "call inferior function with struct - returns float" and
7763 "call inferior function with struct - returns double".
beb998c6 7764
c906108c
SS
7765Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
7766
7767 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
7768 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
7769 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
7770 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
7771
7772Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
7773
7774 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
7775 (or overriden) "CHILL" macro rather then bare "gcc".
7776 Also look for ../../gcc/xgcc since that is what we will
7777 actually need, not "Makefile". Remove following assignment
7778 of CHILL to CHILL_FOR_TARGET because that results in
7779 recursive definition.
7780
7781Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
7782
7783 * gdb.base/corefile.exp: Change xfail for backtrace in
7784 corefile.exp from linuxaout to all linux.
7785 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
7786 cases where we miss the breakpoint at the signal handler
7787 for some reason. Setup xfail for linuxoldld/linuxaout and
7788 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
7789 hitting SIGURG breakpoint.
7790 * gdb.base/signals.exp: Setup xfail for "next" acting like
7791 continue to add linuxoldld. Setup xfail for all linux for
7792 "next to handler in signals_tests_1", "backtrace in
7793 signals_tests_1", "continue to func1", "pass SIGUSR1",
7794 and continue to handler".
7795
7796Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
7797
7798 * Update all FSF addresses except those in COPYING* files.
7799
7800Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
7801
7802 * gdb.base/a2-run.exp: Change messages to be more explicit about
7803 the status of args, and quote binfile in results.
7804
7805Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
7806
7807 * gdb.base/callfuncs.exp: Add tests for passing structs to
7808 inferior functions and return various types.
7809 * gdb.base/callfuncs.c: Add functions to receive a struct
7810 and return a member of the struct, in various types.
7811
7812Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7813
7814 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
7815
7816Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
7817
7818 * config/vxworks29k.exp: New file, sources vxworks.exp.
7819
7820Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
7821
7822 * config/gdbremote.exp: New file. Testing framework using
7823 gdbserver.
7824
7825Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
7826
7827 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
7828 "call function when asleep" and "send end of file".
7829 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
7830 for "backtrace in corefile.exp".
7831 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
7832 for "backtrace through signal handler".
7833 * gdb.base/corefile.exp: Make sure we actually generate a core file
7834 before trying the core tests. Some systems allow the user to suppress
7835 generation of core files and default to that (linux for example).
7836 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
7837 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
7838
7839Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
7840
7841 * gdb.threads: New directory with some crude multi-threaded
7842 gdb tests (step.exp and step2.exp).
7843 * config/mt-lynx (STEP_EXECUTABLE): Define.
7844 (THREADFLAGS): Define.
7845
7846Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
7847
7848 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
7849
7850 * gdb.base/signals.exp: Disable whole file for lynx until
7851 further notice.
7852
7853 * gdb.base/signals.exp: xfail test where "next" acts like
7854 "continue" for lynx.
7855
7856 * gdb.base/interrupt.exp: xfail test for calling function while
7857 inferior is asleep for lynx.
7858
7859 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
7860 than one cr-lf after each command.
7861
7862Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7863
7864 * configure.in: Reinstate setting of stabsdirs variable, fix
7865 typo in setting up configdirs for native builds.
7866
7867 * gdb.base/return.exp: Fix typo in return double test.
7868 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
7869 compiler from optimizing them away.
7870
7871Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
7872
7873 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
7874 sequences to be echo'd by gdb when using gdb_test.
7875 * gdb.chill/chexp.exp: Likewise.
7876 * gdb.fortran/exprs.exp: Likewise
7877
7878Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
7879
7880 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
7881 after the inferior gdb has started.
7882
7883 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
7884 after each command.
7885 * gdb.base/funcargs.exp: Likewise.
7886 * gdb.base/gdbvars.exp: Likewise.
7887 * gdb.base/interrupt.exp: Likewise.
7888 * gdb.base/list.exp: Likewise.
7889 * gdb.base/watchpoint.exp: Likewise.
7890 * gdb.c++/demangle.exp: Likewise.
7891 * gdb.c++/inherit.exp: Likewise.
7892 * gdb.chill/chexp.exp: Likewise.
7893 * gdb.fortran/exprs.exp: Likewise.
7894
7895 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
7896 test if we can't handle IO to/from the inferior.
7897
7898 * gdb.c++/misc.exp: Always check for a program already being
7899 started after sending a "run" command to gdb.
7900
7901 * gdb.base/twice.exp: Start with a fresh gdb.
7902
7903 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
7904 only depend on gdb's expression code, not the chill runtime.
7905
7906 * gdb.base/return.c: Put return values into variables so we
7907 can have gdb print them rather than depending on the program
7908 to print them.
7909 * gdb.base/return.exp: Corresponding changes.
7910
7911 * lib/gdb.exp: Provide default value for noinferiorio.
7912 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
7913 the inferior.
7914
7915 * gdb.base/break.exp: Always check for a program already being
7916 started after sending a "run" command to gdb.
7917 (text_next_with_recursion): Don't check the output from the
7918 program's printf statement. Instead just make sure the program
7919 exited.
7920
7921 * gdb.base/commands.exp: Protect tests which need arguments with
7922 $noargs conditionals.
7923
7924Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7925
7926 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
7927 of structure member arrays to match gdb/valops.c:value_addr change.
7928
7929Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
7930
7931 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
7932 cases.
7933
7934Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
7935
7936 * configure.in (configdirs): Remove gdb.chill from default list
7937 of subdirs and then add it back in only if doing a native build.
7938 The current chill compiler does not yet work in any cross build.
7939 * Revert all signal changes from Jul 6.
7940 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
7941 for sh-hms targets, allowing these tests to link, with no other
7942 changes. Testing is suppressed by setting "nosignals" in site.exp.
7943
7944Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
7945
7946 * configure.in (signaldirs): Define and add to configdirs for all
7947 targets except some specific ones that are known to not support signals.
7948 Also clean up formatting.
7949 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
7950 (signals, sigall): Remove rules to build.
7951 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
7952 Moved to new gdb.signals directory.
7953 * gdb.signals: New test directory.
7954 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
7955 signals.c signals.exp}: New or moved files.
7956
7957Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
7958
7959 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
7960
7961Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
7962
7963 * gdb.base/return.exp: Xfail `return double' test failure
7964 on at least Solaris 2.3 and handle future/past versions on
7965 a case by case basis as appropriate. Also update message
7966 to include i*86 failures.
7967
7968Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7969
7970 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
7971
7972 * lib/gdb.exp: Fix comment which erroneously identified
7973 gdb_file_cmd as gdb_load (the 19 May change was in fact to
7974 gdb_file_cmd not gdb_load).
7975 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
7976
7977 * gdb.base/setvar.exp: Make test names consistent between pass and
7978 fail cases. Use gdb_test more.
7979
7980Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7981
7982 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
7983
7984Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7985
7986 * gdb.base/help.exp: Fix expected help string for `show commands'.
7987
7988Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
7989
7990 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
7991
7992 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
7993 of a text section.
7994
7995Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
7996
7997 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
7998 that loop eventually terminates. Fix Connection refused logic so
7999 that testsuite will expire nicely.
8000
8001Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
8002
8003 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
8004 config/rom68k.exp: New tcl glue for the appropriate monitors.
8005 These all just end up calling monitor.exp.
8006 * config/monitor.exp (gdb_target_monitor): Handle `Connection
8007 refused' by retrying. Cleanup some timeout issues.
8008 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
8009 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
8010 callers don't have to set/restore global timeout variable.
8011
8012 * The following set of changes centralizes management of the global
8013 timeout variable. This way, it can be set in one target dependent
8014 place instead of dozens of places scattered throughout the test suite.
8015 If you need to lengthen a timeout, then you should either set timeout
8016 in one of the config/{target}.exp files, or multiply it by a factor.
8017 Setting it to an absolute value is always going to lose for some
8018 targets.
8019 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
8020 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
8021 * gdb.base/funcargs.exp: Don't set timeout.
8022 * gdb.base/list.exp (test_forward_search): Only use local timeout.
8023 * gdb.base/printcmds.exp (test_print_string_constants
8024 test_print_array_constants): Don't set timeout.
8025 * gdb.base/ptype.exp: Don't set timeout.
8026 * gdb.base/recurse.exp: Don't set timeout.
8027 * gdb.base/return.exp: Don't set timeout.
8028 * gdb.base/watchpoint.exp: Don't set timeout.
8029 * gdb.c++/classes.exp (do_tests): Don't set timeout.
8030 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
8031
8032Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
8033
8034 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
8035
8036Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8037
8038 * lib/gdb.exp: Disable chill tests for irix5.
8039
8040Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8041
8042 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
8043 each test pass or fail.
8044
8045Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8046
8047 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
8048 xlc not gcc.
8049
8050Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
8051
8052 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
8053
8054Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
8055
8056 * config/est.exp: Fix copyright and comments. Remove dead code.
8057 Use targetname, serialport and baud variables instead of fixed
8058 constants.
8059 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
8060 * config/cpu32bug.exp: New file to support cpu32bug monitors.
8061
8062Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8063
8064 * gdb.base/watchpoint.exp: Don't run
8065 test_watchpoint_triggered_in_syscall for sunos.
8066
8067Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8068
8069 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
8070 they don't seem to exist. Do include stdio.h.
8071
8072Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8073
8074 * gdb.base/a1-selftest.exp: Add alpha xfail.
8075
8076Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8077
8078 * gdb.base/watchpoint.c (main): Prompt before calling read().
8079 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
8080 Revise accordingly. Remove cruft about sending "123" several
8081 times, until it gets noticed. Clean up the "print buf[0]" stuff
8082 so that it passes or fails, and waits for prompts in the usual way.
8083
8084Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8085
8086 * gdb.base/recurse.exp: Fix comment.
8087
8088 * TODO: Remove item about printing variables in nodebug.exp. Add
8089 item about enabling tests which are only run on some targets.
8090
8091 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
8092 fail, make test names unique, use new gdb_test convention
8093 regarding pattern, use gdb_test more, etc.).
8094
8095 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
8096 fail, make test names unique, etc.).
8097
8098Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8099
8100 * gdb.base/nodebug.c: Change return type of top and middle to
8101 short.
8102 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
8103 are fixed by the recent mdebugread.c changes. Allow `short ()'
8104 as type for top and middle.
8105
8106Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8107
8108 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
8109 nearly as I can tell, the whole thing was an accident in Stu's
8110 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
8111 to replace a send/expect pair with gdb_test, but ended up only
8112 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
8113 of 30 Mar 1995 took care of it, but left this vestigial comment
8114 which I am now nuking.
8115
8116Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8117
8118 * gdb.base/break.exp: Look for different line number for
8119 breakpoint at main depending on usestubs.
8120
8121Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8122
8123 * gdb.base/list.exp: Adjust some alternate expect patterns to
8124 match recent list0.c change. Add alternate expect pattern for
8125 output from `list default lines around main' for optimizing
8126 compilers.
8127
8128Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8129
8130 * lib/gdb.exp: If nosignals is not set, set it to 0.
8131
8132Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
8133
8134 * config/slite-gdb.exp: Responds to load symbol table prompt.
8135 * gdb.base/break.exp: Adjust line number, fix rerun.
8136 * gdb.base/langs0.c: Add #ifdef usestubs.
8137
8138Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
8139
8140 * gdb.base/list.exp: Adjust line contents after adding new lines in
8141 list0.c. Also fix a syntax error.
8142
8143 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
8144 * gdb.base/break.exp: ditto.
8145 * gdb.base/list.exp: ditto.
8146 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
8147 * gdb.base/run.c: ditto.
8148 * gdb.base/list0.c: ditto.
8149 * gdb.base/funcargs.c: ditto.
8150
8151Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
8152
8153 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
8154 $targetname, $serialport and $baud instead of hardwired variables.
8155 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
8156 target doesn't support signals.
8157
8158Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
8159
8160 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
8161
8162Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8163
8164 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
8165 Don't rely on the value of an auto variable before it has been
8166 initialized. Use gdb_test more.
8167
8168Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8169
8170 * lib/gdb.exp (default_gdb_version): A version number must start
8171 with a digit, but other than that contains all characters up to
8172 the first whitespace character.
8173
8174Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8175
8176 * gdb.base/commands.exp (breakpoint_command_test): New tests.
8177
8178Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8179
8180 * gdb.c++/*.exp: Warn if executable does not exist. The original
8181 reason for skipping the warning was that configure.in sometimes
8182 intentionally skipped building the executables but the tcl code
8183 had no way of knowing. That (a) was always bogus with respect to
8184 error handling, (b) is no longer true (right now there is no way
8185 to skip C++ tests).
8186
8187 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
8188
8189Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8190
8191 * gdb.base/list.exp: Add expect patterns for output from
8192 SunPRO compiled executables.
8193 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
8194 types.
8195
8196Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8197
8198 * gdb.base/break.exp (test_next_with_recursion): Accept any line
8199 number (we are already testing that the correct source line text
8200 gets printed).
8201
8202 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
8203 that is what is intended, but something needed to be done to get
8204 sunos4 native working again.
8205
8206 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
8207
8208 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
8209 apparently went with a (very) old xfail.
8210
8211Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
8212
8213 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
8214 runto_main is a proc in gdb.exp that will do 'step' for target use
8215 stubs.
8216 * gdb.base/exprs.exp: ditto.
8217 * gdb.base/interrupt.exp: ditto.
8218 * gdb.base/opaque.exp: ditto.
8219 * gdb.base/printcmds.exp: ditto.
8220 * gdb.base/ptype.exp: ditto.
8221 * gdb.base/scope.exp: ditto.
8222 * gdb.base/setvar.exp: ditto.
8223 * gdb.base/signals.exp: ditto.
8224 * gdb.base/twice.exp: ditto.
8225 * gdb.c++/classes.exp: ditto.
8226 * gdb.c++/inherit.exp: ditto.
8227 * gdb.c++/templates.exp: ditto.
8228 * gdb.base/break.exp: no run and hit main for stubs. Change line
8229 numbers for breakpoints and info breakpoint.
8230 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
8231 breakpoint().
8232 * gdb.base/callfuncs.c: ditto.
8233 * gdb.base/exprs: ditto.
8234 * gdb.base/interrupt.c: ditto.
8235 * gdb.base/opaque0.c: ditto.
8236 * gdb.base/printcmds.c: ditto.
8237 * gdb.base/ptype.c: ditto.
8238 * gdb.base/scope0.c: ditto.
8239 * gdb.base/setvar.c: ditto.
8240 * gdb.base/signals.c: ditto.
8241 * gdb.base/twice.c: ditto.
8242 * gdb.c++/misc.cc: ditto.
8243 * gdb.c++/templates.cc: ditto.
8244
8245Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8246
8247 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
8248
8249 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
8250 somewhere between `read' and `main.c'. I'm pretty sure the
8251 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
8252 and it isn't particularly useful.
8253
8254 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
8255
8256Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8257
8258 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
8259
8260Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
8261
8262 * config/mt-slite: add LIBS and -nostdlib.
8263 * config/slite-gdb.exp: add this new file to support sparclite target.
8264
8265Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
8266
8267 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
8268
8269 * gdb.base/a2-run.exp: Change argument to istarget from
8270 "*-*-vxworks" to "*-*-vxworks*".
8271 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
8272
8273Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
8274
8275 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
8276 will not runto main but do a 'step' to step out of breakpoint().
8277 * config/mt-slite: add -Dusestubs.
8278
8279Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8280
8281 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
8282 instead of just @.
8283
8284 * gdb.base/signals.exp: Add test for "handle all print".
8285 * TODO: Remove "handle all print". Also remove item about
8286 checking copyright date (I don't like the idea of a spurious FAIL
8287 based on when we run the tests).
8288
8289 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
8290 for SunOS4 (reason for failure not investigated). Remove
8291 redundant test for $binfile.
8292
8293 * gdb.base/nodebug.c (array_index): Call malloc.
8294
8295 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
8296
8297Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
8298
8299 * gdb.base/recurse.exp: Update gdb_test invocation to use new
8300 conventions and slightly simplify the matching regexp.
8301
8302Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8303
8304 * gdb.base/break.exp: Update gdb_test invocation to use new
8305 convention.
8306
8307 * lib/gdb.exp: If noargs is not set, set it to 0.
8308
8309 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
8310 tests unique.
8311
8312 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
8313
8314Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8315
8316 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
8317 one argument of type "<non-float parameter>".
8318
8319Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
8320
8321 * config/rom68k.exp: New file to support Motorola IDP board.
8322 * gdb.base/a2-run.exp: Skip this file if noargs is set.
8323 * gdb.base/break.c: Change things around so that this program
8324 doesn't depend upon args. This is necessary to make remote
8325 targets work (in general, they can't take args).
8326 * gdb.base/break.exp: Don't try to send args to program. Don't
8327 expect output. Also, replace lots of code with gdb_test.
8328
8329Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8330
8331 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
8332 printing of '\'' (which is what the comment says we are testing,
8333 even though we were not), not '''.
8334 (test_integer_literals_rejected): Test that printing ''' is an error.
8335
8336 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
8337 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
8338 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
8339 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
8340 Use gdb_test not test_print_accept.
8341 * lib/gdb.exp: Remove test_print_accept.
8342
8343 * gdb.base/signals.exp (signal_tests_1): Make pass message
8344 consistent with fail message.
8345
8346 * gdb.base/whatis.exp: Remove xfails for printing char vs.
8347 unsigned char; the bug (PR 1821) is fixed.
8348
8349 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
8350
8351 * gdb.base/scope.exp (test_at_localscopes): Call pass for
8352 successful tests--makes xfailing them work right.
8353
8354Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8355
8356 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
8357 only \r\n, not .*. The test can pass .* as the last thing in
8358 $pattern if that is what it wants. In addition to providing this
8359 flexibility, this change should speed up pattern matching in cases
8360 where the pattern already ended with .* (there were a number of
8361 them). This change also helps catch bad patterns--in the old
8362 scheme the typo "char \*" instead of "char \\*" would pass. Now
8363 it is caught.
8364 * Many .exp files: Update callers.
8365
8366 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
8367 clearer and does not spuriously match multiple ('s. Likewise for
8368 ) and *.
8369
8370 * gdb.base/nodebug.exp: Test ability to call a function and pass
8371 it a string (even with no debugging info).
8372
8373 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
8374 "p '\'", which is the same as "p ''" once tcl gets done with
8375 quoting, to "p '\\'", which I suspect is what is intended (one
8376 backslash gets sent to GDB).
8377
8378 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
8379
8380Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8381
8382 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
8383 1817) was fixed literally years ago.
8384
8385Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8386
8387 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
8388 test, it causes stepping out of call_after_alloca_subr with
8389 optimizing compilers.
8390 (localvars_in_indirect_call): Consume GDB prompt if `finish'
8391 fails.
8392
8393 * gdb.c++/templates.exp: Source templ-info.exp only if
8394 the templates executable exists.
8395
8396 * gdb.c++/misc.cc (class Contains_static_instance,
8397 class Contains_nested_static_instance),
8398 gdb.c++/classes.exp (test_static_members): Test printing of
8399 a class that contains a static instance of the class.
8400
8401Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8402
8403 * gdb.base/langs2.c (cppsub_): Don't prototype.
8404 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
8405 only, I believe).
8406
8407Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8408
8409 * lib/gdb.exp (skip_chill_tests): New procedure.
8410
8411 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
8412
8413Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
8414
8415 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
8416 each expect pattern. Cuts runtime from 12 to about 4 seconds.
8417
8418Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8419
8420 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
8421
8422 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
8423 disassemble 8, not 16, instructions for part 4.
8424
8425 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
8426 support the latter anymore.
8427
8428 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
8429 -DNO_PROTOTYPES.
8430 * gdb.base/callfuncs.c: Control use of prototypes based on
8431 NO_PROTOTYPES, not __STDC__.
8432 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
8433 t_float_values2 tests if prototypes in use.
8434
8435 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
8436 t_double_values): When checking differences against DELTA, check
8437 that difference is within the range (-DELTA,DELTA), not just
8438 (-infinity,DELTA).
8439
8440Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
8441
8442 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
8443 'file' command firts, then 'target', then 'load', this is due to gdb
8444 target set up.
8445 * config/mips-gdb.exp: Fix a couple regular exp bugs.
8446
8447Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
8448
8449 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
8450 FP load/store variants.
8451 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
8452
8453Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
8454
8455 * gdb.base/term.exp: Do not give a warning if not native, it is
8456 not an abnormal condition.
8457
8458Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
8459
8460 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
8461 t_char_array".
8462
8463Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
8464
8465 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
8466 are getting the version number.
8467
8468 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
8469 if not native, it is not an abnormal condition.
8470
8471Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8472
8473 * lib/gdb.exp: Just use "file exists", rather than undocumented
8474 dejagnu procedure "findfile".
8475
8476Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
8477
8478 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
8479 (LDFLAGS): Set to -Xlinker -Ur.
8480
8481 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
8482 Removed, these values are set by lib/gdb.exp.
8483
8484 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
8485
8486Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
8487
8488 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
8489 of replicating gdb startup code.
8490
8491 * config/mt-vxworks (LDFLAGS): Set to -r.
8492 (CFLAGS_FOR_TARGET): Removed.
8493
8494 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
8495 (gdb) and gdb for vxworks uses (vxgdb).
8496
8497 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
8498 executable is not in the tree and host != target, use sed and
8499 program_transform_name to determine the gdb name used by the
8500 target.
8501
8502 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
8503 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
8504
8505Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8506
8507 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
8508 floats, chars, and shorts where there are ANSI-style function
8509 definitions.
8510
8511 * gdb.base/langs.exp, gdb.base/langs*: New test.
8512 * gdb.base/Makefile.in: Build it.
8513 * TODO: Remove item about checking that C names don't get C++
8514 demangling applied; this test tests it.
8515
8516Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8517
8518 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
8519 went with the const70 xfail. The xfail went away a year ago.
8520
8521 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
8522
8523 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
8524 for hp300.
8525
8526 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
8527
8528 * gdb.base/a1-selftest.exp: Don't run on hp300.
8529
8530Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8531
8532 * Makefile.in (site.exp): Set host_alias and target_alias as well
8533 as host_triplet and target_triplet.
8534
8535Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8536
8537 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
8538
8539 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
8540 places as other ecoff systems).
8541
8542 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
8543 ultrix.
8544
8545Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8546
8547 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
8548 remove them.
8549 * gdb.base/nodebug.exp: Accept "function" in addition to "text
8550 variable and "variable" in addition to "data variable".
8551 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
8552
8553 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
8554 2.
8555 * gdb.base/list1.c (long_line): Add additional statement at start
8556 of function.
8557 * gdb.base/list.exp (test_forward_search): Update line number to
8558 reflect new statement.
8559
8560Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8561
8562 * gdb.base/signals.exp: Reinitialize searched source directories
8563 after gdb_start call.
8564
8565Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
8566
8567 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
8568 * gdb.stabs/Makefile.in: Likewise.
8569
8570 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
8571 change. Instead split the tests into smaller pieces.
8572 * gdb.disasm/hppa.s: Corresponding changes.
8573
8574Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8575
8576 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
8577 Quote ^C when passing it to stty. For some shells ^ is a pipe.
8578
8579 * gdb.base/funcargs.exp: Modify many tests so that every test
8580 either passes or fails. Make some test names unique.
8581
8582Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8583
8584 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
8585 Call stty to set interrupt character.
8586
8587 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
8588 for HP assembler versus GNU assembler based on actual behavior of
8589 $(CC), rather than assuming that $(AS) is always the GNU assembler.
8590
8591 * TODO: Suggest a few more stepping tests.
8592
8593Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
8594
8595 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
8596 restart GDB for h8300 after a continue.
8597 (return): Add pattern to match a29k-udi behavior.
8598 * gdb.base/nodebug.exp: Remove obsolete comment.
8599 * gdb.base/regs.exp: New file, testing of register displays.
8600 * gdb.base/return.exp: Fix typo in reference to $objdir.
8601 * gdb.base/whatis.exp: Always start with a fresh GDB.
8602
8603Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8604
8605 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
8606 higher, these tests generate a lot of output.
8607
8608Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8609
8610 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
8611 code following the catch silently ignored some errors; without the
8612 catch they should be thrown like any other tcl error. Also, the
8613 catch used "" instead of {} which meant all the callers who wanted
8614 to include one of the characters "[]$ had to quote it an extra time.
8615 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
8616 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
8617 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
8618 Remove extra quoting.
8619
8620Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
8621
8622 * gdb.base/commands.exp: Make test names unique; every test either
8623 passes or fails. Update some comments.
8624
8625 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
8626
8627Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8628
8629 The following fixes a FAIL caused by the fact that the alpha stabs
8630 configuration didn't use the ".if alpha" code in weird.def.
8631 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
8632 bit pointer, so the 32 bit version works even on the alpha.
8633 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
8634 Remove the stuff which allowed us to have separate versions for
8635 alpha and everything else.
8636
8637 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
8638 regexp which "info func operator\[\](" is supposed to match. Fix
8639 string to send to GDB. Note that GDB still doesn't work right. Add a
8640 new test for "info func .perator\[\](" which GDB does handle correctly.
8641
8642 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
8643
8644Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8645
8646 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
8647 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
8648 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
8649 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
8650 it makes the tests harder to understand and confuses test-o-matic.
8651 The preferred style is that each test provides a PASS or a FAIL,
8652 and has a unique message (e.g. "continue #54" not just "continue")
8653 which is the same for the pass and the fail.
8654 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
8655 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
8656 to lib/gdb.exp.
8657 * gdb.base/printcmds.exp: Use test_print_accept. Remove
8658 prt_accept which was basically the same thing. Likewise for
8659 test_print_reject and prt_reject.
8660 * lib/gdb.exp (test_print_reject): Add some more error message
8661 patterns to match from the former printcmds.exp (prt_reject).
8662 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
8663 One defect of the passcount stuff is that some of it failed to
8664 report XPASS where appropriate.
8665 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
8666 stuff before and after arg in expected pattern.
8667 (test_paddr_operator_functions): Re-do test without print_addr_of;
8668 this is the only test which seems to want extra stuff there.
8669
8670Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8671
8672 * gdb.base/nodebug.exp: Update new tests to reflect improved
8673 wording of gdb output.
8674
8675 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
8676 and "ptype" work on variables in files compiled without -g.
8677 Replaces commented out "maint print msymbol" tests.
8678
8679Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8680
8681 * gdb.base/setvar.c (dummy): Call malloc.
8682
8683 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
8684 losing with the irix4 sed.
8685
8686 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
8687 ALRM" on irix4.
8688
8689Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8690
8691 * TODO: Remove items about corefile.exp testing new exec-file and
8692 backtrace; both are now done. Add items about printing enums.
8693
8694Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8695
8696 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
8697 "get signal $thissig" test fails.
8698
8699 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
8700
8701Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8702
8703 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
8704 compiler warning with dec alpha compiler.
8705
8706 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
8707 extra \n from gdb_test call (this explains why the prompt test
8708 that I removed yesterday was there).
8709 (user_defined_command_test): Remove extra \n and prompt test.
8710
8711 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
8712 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
8713 doesn't exist.
8714 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
8715 Also remove alpha workaround, which turns out to be because
8716 SIGABRT == SIGLOST.
8717
8718 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
8719
8720 * gdb.base/help.exp: Don't test "help show".
8721
8722Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8723
8724 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
8725 "set print address" is on.
8726 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
8727 pass prompt to gdb_test; gdb_test already looks for the prompt.
8728
8729 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
8730
8731 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
8732 was a vestige of the manual TESTSTRATEGY, and the purpose of it
8733 was to make sure that gdb can read a core file. But (a) the "read
8734 the corefile" part didn't make it to a1-selftest.exp, we just
8735 delete the corefile after creating it, and (b) we test reading
8736 corefiles in corefile.exp anyway. Also, this test left around a
8737 xgdb process on Solaris.
8738
8739 * gdb.base/corefile.exp: Also test backtrace.
8740
8741Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
8742
8743 * gdb.base/commands.exp: Test a simple user defined command with
8744 arguments and if/while statements; verify the full user command is
8745 printed by "show user".
8746
8747 * gdb.base/commands.exp: Test if/while commands as part of a
8748 breakpoint command list; verify they appear in breakpoint
8749 information.
8750
8751Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8752
8753 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
8754 than by dividing by zero.
8755
8756Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
8757
8758 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
8759 performing an inferior call with watchpoints enabled.
8760 * gdb.base/watchpoint.c (main): Delete second unnecessary read
8761 call.
8762
8763Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8764
8765 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
8766 of "file" command.
8767
8768 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
8769 Add additional pattern for when "int operator int(void);" appears
8770 in a different order.
8771
8772Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8773
8774 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
8775
8776 * gdb.base/help.exp: Replace most of docstrings for "info signals"
8777 and "signal" with ".*".
8778
8779Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8780
8781 * TODO: Add note about "handle all nostop".
8782
8783 * gdb.base/{sigall.c, sigall.exp}: New test.
8784 * gdb.base/Makefile.in: Add it.
8785
8786Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
8787
8788 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
8789 when invoking GDB, suppresses any windowing interface.
8790
8791Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
8792
8793 * config/sim-gdb: New file, simulator testing support.
8794
8795Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
8796
8797 * gdb.base/interrupt.exp: Test calling func1 twice.
8798
8799Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
8800
8801 * gdb.base/list.exp (test_forward_search): Set timeout higher
8802 when we'll be getting lots of output from gdb.
8803
8804 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
8805 "init_malloc" to after the expect statement. Run it if that
8806 regexp is taken, but also for two others which happen if source
8807 cannot be found.
8808
8809Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8810
8811 * gdb.base/printcmds.exp: New test, for printing register before
8812 program is running.
8813
8814Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8815
8816 * gdb.base/list.exp: Correct some alternate expect patterns
8817 to reflect changes in list1.c.
8818
8819Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8820
8821 * TODO: Add item regarding large frames.
8822
8823 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
8824
8825 * TODO: Remove item about enabling return.exp; it
8826 is enabled. Suggest a few more "return" tests.
8827
8828Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8829
8830 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
8831 anonymous unions.
8832
8833Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8834
8835 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
8836 and pr-5646.o, so "make" is the same as "make all", not "make
8837 pr-4975.o".
8838
8839Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
8840
8841 * gdb.base/list.exp: Adjust expectations to reflect changes in
8842 list1.c.
8843 (test_forward_search): New test proc.
8844 * gdb.base/list1.c (long_line): New function, has long source line.
8845
8846Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
8847
8848 * gdb.base/a1-selftest.exp: Change initial stepping to know about
8849 additional line of code that was added.
8850
8851Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
8852
8853 * gdb.disasm/hppa.s: Break the large branching tests into smaller
8854 tests so as not to overflow expect's input buffers.
8855 * gdb.disasm/hppa.exp: Corresponding changes.
8856
8857Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8858
8859 Beginnings of template debugging tests.
8860 * gdb.c++/templ-info.cc: New file to test for template
8861 debugging capability of the compiler.
8862 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
8863 templ-info.cc.
8864 * gdb.c++/templates.cc: Add explicit template instantiations
8865 to enable compiling with -fno-implicit-templates. Add destructor
8866 and 'value' method to T5 class for template tests.
8867 * gdb.c++/templates.exp: Add testcases for printing of template
8868 types, setting breakpoints on template methods and calling a
beb998c6 8869 template method.
c906108c
SS
8870
8871Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
8872
8873 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
8874 branch target since some assemblers (gas-2.5) may emit a
8875 relocation for the branch instead of resolving it in the
8876 assembler.
8877
8878Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8879
8880 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
8881 through signal handler.
8882
8883Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8884
8885 * configure.in (*-*-netware): Use config/mt-netware.
8886
8887 * config/mt-netware: New file.
8888 * config/mt-i386-netware: Removed, separate configs for different
8889 netware architectures are no longer needed now that we have
8890 --with-headers.
8891
8892Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8893
8894 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
8895 by the recent changes to use ANSI C arithmetic conversions.
8896
8897Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8898
8899 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
8900 bug involving using inferior_pid to figure out whether to select a
8901 frame.
8902
8903Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
8904
8905 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
8906 match the current disassembler output.
8907
8908Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
8909
8910 * gdb.fortran/exprs.exp: Expect VOID instead of void.
8911 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
8912 types, expect "int" as type of integer values (for now).
8913
8914Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
8915
8916 * gdb.base/commands.exp: New tests for if/while commands.
8917
8918Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
8919
8920 * lib/gdb.exp (runto): Replace sub-pattern for hex value
8921 by .*, since hex values have different syntax in Chill mode.
8922
8923Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8924
8925 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
8926 linefeed from expect pattern for repeated types with indices > 9.
8927
8928Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
8929
8930 First part of Fortran test suite.
8931 * gdb.fortran: New directory.
8932 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
8933
8934Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8935
8936 * gdb.base/default.exp: Update expect pattern for load command
8937 without arguments.
8938
8939Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
8940
8941 * configure.in: Change i386 to i[345]86.
8942 * gdb.base/configure.in: Likewise.
8943 * gdb.c++/configure.in: Likewise.
8944 * gdb.chill/configure.in: Likewise.
8945
8946Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
8947
8948 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
8949 patterns, since that is not a valid context for comments.
8950
8951Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
8952
8953 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
8954 repeated types and repeated types with indices > 9.
8955
8956Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
8957
8958 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
8959 2417; old bug has been fixed.
8960
8961Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
8962
8963 * gdb.base/interrupt.exp: When trying to wake up the inferior,
8964 send the newline ourselves instead of assuming gdb_test will do
8965 so when passed an empty input string.
8966
8967 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
8968 stabs testcode.
8969
8970Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8971
8972 * lib/gdb.exp (gdb_test): Don't send anything if the first
8973 argument is an empty string. This makes cases where we want to
8974 match output that is already in expect's buffers (for example,
8975 matching a breakpoint after gdb_run_cmd has been called) work
8976 reliably.
8977
8978Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8979
8980 * config/netware.exp: New file.
8981
8982Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8983
8984 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
8985 the -B and -L prefixes so we can find the debugging stub.
8986
8987 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
8988 there and we are using the gcc from the tree.
8989
8990 * gdb.base/types.c: Removed.
8991
8992 * gdb.base/configure.in: Look for makefile fragments in ../config.
8993 Recognize i386-*-netware.
8994 * gdb.c++/configure.in: Likewise.
8995
8996Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8997
8998 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
8999 the correct TCL syntax.
9000
9001Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9002
9003 * gdb.base/opaque.exp: use runto instead of messing around with
9004 breakpoints. Simplify by using gdb_test.
9005
9006 * gdb.base/bitfields.exp: restart between tests on netware targets
9007 because breakpoints aren't relocated after target death. Run
9008 processes to completion.
9009
9010 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
9011
9012Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
9013
9014 * Makefile.in: Remove extra tabs that confuse some versions
9015 of "make". Use the newly built gdb to test with by default,
9016 rather than the first one in the tester's search path.
9017
9018Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
9019
9020 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
9021
9022 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
9023 condition help.
9024
9025Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9026
9027 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
9028
9029 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
9030 running.
9031 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
9032 * gdb.base/funcargs.exp: Likewise.
9033
9034 * gdb.base/bitfields.exp: Simplify by using gdb_test.
9035 * gdb.base/funcargs.exp: Likewise.
9036
9037 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
9038 message is "".
9039
9040Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9041
9042 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
9043 return,signals,twice}.exp: Handle non-existant binaries
9044 consistantly.
9045
9046 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
9047 * gdb.base/Makefile.in: Don't try to generate a core dump, we
9048 might testing a cross development system.
9049
9050Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9051
9052 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
9053 runtest script is relative to ${srcdir}, not ${rootdir}.
9054
9055Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
9056
9057 * gdb.base/signals.exp: Allow for optionality of breakpoint
9058 address.
9059
9060Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9061
9062 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
9063
9064Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9065
9066 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
9067 for size_t definition.
9068 * gdb.c++/templates.cc: Likewise
9069
9070 * config/mt-i386-netware: New file.
9071
9072 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
9073 defined.
9074
9075 * gdb.base/Makefile.in: Added support for systems that name core
9076 files by appending "core" to the program name.
9077 * gdb.base/a1-selftest.exp: Likewise.
9078
9079Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9080
9081 * gdb.base/return.exp: Add comment and message for `return double'
9082 test failure on Sparc Solaris.
9083
9084Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
9085
9086 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
9087
9088Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9089
9090 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
9091 from optimizing them away.
9092 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
9093 patterns to include default constructors and assignment operators,
9094 to match gcc versions beyond 2.5.8. Accept any cplus demangling
9095 character in the output of the virtual base pointer.
9096
9097Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9098
9099 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
9100 expression match in print_addr_of to avoid unintented matches.
9101 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
9102 versions up to 2.5.8.
9103
9104Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9105
9106 * gdb.base/list.exp: Tweak alternate pattern for listing of an
9107 included file to run under newer versions of expect.
9108 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
9109 consecutive >'s in templates to accomodate recent cplus-dem.c change.
9110 Remove xfail for the virtual table of BDDHookV.
9111
9112Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
9113
9114 * lib/gdb.exp (string_to_regexp): Set a default result.
9115 (default_gdb_start): Fix misleading message.
9116
9117Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
9118
9119 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
9120 Remove all CC, etc definitions.
9121 * config/mt-hpux: New file.
9122 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
9123 (CFLAGS, LDFLAGS): Define.
9124 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
9125
9126 * Makefile.in (site.exp): Don't insert host_os, etc.
9127 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
9128 (distclean): Check existence of subdir.
9129 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
9130 * gdb.base/Makefile.in: General cleanup and simplification.
9131 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
9132 to build executables. Use default rule to build .o files.
9133 (EXPECT, RUNTEST, CC): Fix relative pathname.
9134 (site.exp): Don't insert host_os, etc.
9135 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
9136 and/or SIGUSR1 defined.
9137 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
9138 * gdb.c++/Makefile.in: General cleanup and simplification.
9139 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
9140 (CFLAGS): Remove.
9141 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
9142
9143Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
9144
9145 * gdb.base/recurse.exp: Misc changes to get tests running again
9146 after Kung's changes to the watchpoint code.
9147 * gdb.base/watchpoint.exp: Likewise.
9148
9149Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
9150
9151 * lib/gdb.exp (string_to_regexp): Convert {\} also.
9152
9153Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
9154
9155 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
9156 * lib/gdb.exp (default_gdb_start): Define.
9157 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
9158 gdb.base/funcargs.exp, gdb.base/opaque.exp,
9159 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
9160 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
9161 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
9162 Don't call gdb_target_udi in between tests.
9163
9164Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9165
9166 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
9167 (which was basically just a local version of the same thing). In
9168 addition to avoiding duplication, gdb_test_exact is faster.
9169 * lib/gdb.exp (gdb_test_exact): Fix typo.
9170
9171 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
9172 don't give an error.
9173
9174 * gdb.base/term.exp: Call delete_breakpoints before starting.
9175
9176 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
9177 (t10): Add comment.
9178
9179Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
9180
9181 Reorganization of the GDB Test Suite.
9182
9183 * gdb.base: New directory, contains all the basic tests.
9184 * gdb.c++: New directory, tests specific to C++.
9185 * gdb.chill: New directory, tests specific to Chill.
9186 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
9187 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
9188 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
9189 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
9190 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
9191 t30-31 to chill).
9192 * */gdbme.*: Rename to match appropriate expect scripts.
9193 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
9194 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
9195 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
9196 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
9197 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
9198 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
9199 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
9200 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
9201 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
9202 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
9203 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
9204 gdb.c++/virtfunc.cc: New names of C++ files.
9205 * gdb.chill/chillvars.ch: New name of Chill file.
9206 * gdb.base/configure.in, gdb.c++/configure.in,
9207 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
9208 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
9209 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
9210 * configure.in (configdirs): Update to reflect directory changes.
9211 (target_abbrev): No longer define for any configuration.
9212 * Makefile.in: Cosmetic improvements to header comments.
9213
9214Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
9215
9216 Various changes to gdb.t31:
9217
9218 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
9219 * gdbme.ch: Make all key-words and predefineds be upper-case.
9220 * chillvars.exp: Expect key-words and predefinds in upper-case.
9221
9222 * chillvars.exp: Use gdb_test_exact many places.
9223 Change expected output for arrays (which now includes index labels).
9224
9225 * pr-5020.exp, gdme.ch (module PR_5020):
9226 New test, for PR-5020.
9227
9228Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
9229
9230 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
9231 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
9232
9233Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
9234
9235 * Makefile.in: Fix bit-rot in definitions of CHILL,
9236 CHILL_FOR_TARGET and Chill_LIB.
9237 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
9238 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
9239 CHILL, and CHILL_LIB.
9240
9241Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
9242
9243 * Revert the previous changes. Please see Rob's directory
9244 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
9245
9246Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
9247
9248 * Makefile.in, configure.in, config/mips-gdb.exp,
9249 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
9250 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
9251 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
9252 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
9253 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
9254 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
9255 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
9256 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
9257 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
9258 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
9259 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
9260 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
9261 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
9262 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
9263 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
9264 changes from 94Q1.
9265
9266Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
9267
9268 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
9269 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
9270 Rob's new testing fragments.
9271
9272Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
9273
9274 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
9275 lib/gdb.exp: Replace error proc calls with perror.
9276
9277Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
9278
9279 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
9280 version also, match on casted version strings, and match on
9281 gdb startup case where the line numbers might be messed up.
9282
9283Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
9284
9285 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
9286 (CFLAGS): Delete it from here.
9287
9288Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
9289
9290 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
9291
9292Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
9293
9294 * Makefile.in (RUNTEST): Default to just "runtest".
9295
9296Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9297
9298 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
9299 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
9300 the code has been restructured.
9301
9302Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9303
9304 * gdb.t00/default.exp (set write): Allow any number of \r and/or
9305 \n, not just one of each.
9306
9307 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
9308 /bin/cc gives a warning if you do.
9309
9310Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
9311
beb998c6 9312 * gdb.t24/demangle.exp: change expect pattern of
c906108c
SS
9313 __t10ListS_link1ZUiRCUiPT0
9314
9315Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9316
9317 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
9318 on local variables in recursive functions.
9319
9320 * gdb.t07/Makefile.in: Build the new test.
9321
9322Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9323
9324 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
9325 directly. Instead compare the return values from actual calls.
9326
9327Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
9328
9329 * Makefile.in (check): Set TCL_LIBRARY for runtest.
9330
9331Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9332
9333 * From Peter Schauer with minor modifications.
9334 * gdb.t15/return.exp (return_tests): Handle targets where "return"
9335 stops in mid-line in the caller. Add xfail for returning a float
9336 value on X86 targets.
9337
9338Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9339
9340 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
9341 to avoid expect lossage.
9342 (fmem_LRbug_tests): Likewise.
9343 * gdb.disasm/hppa.s: Corresponding changes.
9344
9345 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
9346 conditions to work with latest dejagnu/expect.
9347
9348 * gdb.t15/funcargs.exp (finish from indirect call): No longer
9349 expected to fail on the PA.
9350 (backtrace in call with trampolines): Explicitly require main
9351 to be frame #1 (no trampolines should show up in backtrace).
9352
9353 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
9354 "continue -expect".
9355 * gdb.t06/break.exp: Likewise.
9356 * gdb.t07/watchpoint.exp: Likewise.
9357 * gdb.t13/bitfields.exp: Likewise.
9358 * gdb.t15/{funcargs,return}.exp: Likewise.
9359 * gdb.stabs/weird.exp: Likewise.
9360 * config/{mips,udi}-gdb.exp: Likewise.
9361
9362 * hppa.sed: Enclose comments within a sed command to avoid
9363 losing with the old OSF1 sed.
9364
9365Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9366
9367 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
9368 sequent dynix.
9369 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
9370 * gdb.t15/funcargs.exp: Conditionally step again to really
9371 finish from marker_call_with_trampolines. Handle the case where
9372 the first step from within call_with_trampolines already steps
9373 us back to main.
9374 * gdb.t15/gdbme.c: Add comment to closing brace of
9375 call_with_trampolines for funcargs.exp.
9376
9377Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9378
beb998c6 9379 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
c906108c
SS
9380 Fix typo(s).
9381
9382Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9383
9384 * gdb.t07/gdbme.c: More code for watchpoint testing.
9385
9386 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
9387 "Hardware watchpoint" throughout file.
9388 (test_watchpoint_triggered_in_syscall): New test.
9389 (test_complex_watchpoint): New test.
9390
9391Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9392
9393 * gdbme.c (call_with_trampolines): New function to try and step
9394 into. Tests trampoline problems on the PA.
9395
9396 * funcargs.exp (localvars_in_indirect_call): No longer expect
9397 stepping into indirect call to fail on PAs.
9398 (test_stepping_over_trampolines): New test.
9399
9400Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9401
9402 * TODO: Add suggestions for static member function tests, and
9403 completion tests.
9404
9405Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9406
9407 * TODO: Add suggestions for "p/a" tests.
9408
9409 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
9410 (default_gdb_exit): Replace all the hair with sending "quit" to
9411 the process with a simple close.
9412
9413Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9414
9415 * TODO: Add suggestions for shared library tests.
9416
9417Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9418
9419 * TODO: Add suggestions for x/s tests.
9420
9421Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9422
9423 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
9424 "enable once", and "enable breakpoints once" with ".*".
9425
9426Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9427
9428 * TODO: Add suggestions about structure passing tests.
9429
9430Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9431
9432 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
9433 the primary1 test, use work around if __GNUC__ < 2.
9434 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
9435 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
9436 Test for bad output rather than waiting for timeout. Issue
9437 second continue only if first continue failed.
9438
9439Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
9440
9441 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
9442 operator[] test with gdb_test because the old code didn't seem to
9443 be getting the quoting right with the new dejagnu.
9444
9445Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
9446
9447 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
9448 one from the path.
9449 * Makefile.in: Use a fresh expect if there is one, use runtest
9450 from the src tree if there is one.
beb998c6 9451
c906108c
SS
9452Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
9453
9454 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
9455 next over recursive call. Revise the tests from that point on
9456 (which had been skipped) to match GDB's actual (correct) output.
9457
9458 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
9459 with next over a breakpoint whose condition is false.
9460
9461 * gdb.t00/help.exp: Comment out "help set print" tests just like
9462 (and for same reason as) "help set" test.
9463
9464Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9465
9466 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
9467 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
9468
9469Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9470
9471 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
9472 necessary gdb_target_udi.
9473
9474 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
9475
9476 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
9477 1838 and 2417; they are fixed.
9478
9479 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
9480 gdb.t03/ptype.exp (ptype structure, ptype union):
9481 Remove xfails; the test is looser than when the xfails were added.
9482
9483 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
9484 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
9485
9486 * gdb.t01/run.exp: Only run shell test if isnative.
9487
9488 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
9489 since "run" automatically loads if necessary. Call gdb_target_udi
9490 after the "file" since "file" kills any execution target.
9491
9492 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
9493 GDB. GDB doesn't work that way (not anymore at least) on UDI.
9494 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
9495 argument for UDI.
9496
9497Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
9498
9499 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
9500
9501 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
9502
9503Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9504
9505 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
9506 properly quoting regexps. This makes the second argument to
9507 demangle a fixed string, which matches the callers, instead of a
9508 shell-style pattern which is what the previous implementation
9509 used. Update some of the callers.
9510
9511Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9512
9513 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
9514 (comib_nullified_tests): Fix typo.
9515 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
9516 strings. No longer expected to fail.
9517
9518 * gdb.disasm/hppa.s (addib_tests): Fix typo.
9519 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
9520 strings. No longer expected to fail.
9521
9522 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
9523 string. No longer expected to fail.
9524
9525Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9526
9527 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
9528 No longer expected to fail.
9529
9530 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
9531 string. No longer expected to fail.
9532
9533Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9534
9535 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
9536 only in the names (I probably got most of them). I was even
9537 generous with some which differed in underscores in names, and
9538 probably missed a few, and I *still* was able to remove almost a
9539 third of the file with almost no impact on testsuite coverage.
9540
9541Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9542
9543 * gdb.t00/default.exp: Match udi_attach error message as well as
9544 the one from child_attach.
9545
9546 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
9547
9548 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
9549
9550 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
9551 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
9552
9553 * Move test with enums and partial symbols back to
9554 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
9555 Reverts the change of 26 May 93. Per today's change to
9556 stabs.texinfo, the behavior that weird.exp was expecting was
9557 unreasonable; what is important is that the compiler+gdb get
9558 things right, which happens with a recent gcc. Also fix the test
9559 to deal with native compilers which put out the stab gdb can't
9560 deal with.
9561
9562Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9563
9564 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
9565 in the names. The main thing these accomplish is to slow things down.
9566 Many more such duplicates surely remain.
9567
9568 * gdb.t00/help.exp: Comment out "help support" test just like
9569 (and for same reason as) "help set" test.
9570
9571Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
9572
9573 * gdb.t06/break.exp: Remove setup_xfails for
9574 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
9575 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
9576 about known bug in gcc to include up through 2.5.8.
9577 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
9578 well as "_vb$".
9579 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
9580 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
9581 with latest gcc and gdb.
9582 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
9583 well as "_vb$".
9584
9585Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9586
9587 * configure.in (hppa*-*-*): Also configure and build stabs-only
9588 tests.
9589
9590Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9591
9592 * gdb.t10/hppa.mt: A makefile fragment for the PA.
9593 * gdb.t10/configure.in (hppa*-*-*): Use it.
9594
9595Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9596
9597 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
9598
9599Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9600
9601 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
9602 versions prior to 1.13.5.
9603
9604Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9605
9606 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
9607 the prompt is at the start of a line.
9608
9609Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9610
9611 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
9612 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
9613 in the copr tests now.
9614 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
9615 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
9616 expected to fail.
9617
9618Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
9619
9620 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
9621 gdb.t31/chillvars.exp, lib/gdb.exp:
9622 Tweak to run under either version of expect.
9623 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
9624 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
9625 * gdb.t11/list.exp: Remove extraneous whitespace.
9626
9627Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9628
9629 * gdb.t16/printcmds.exp (test_print_strings): Accept
9630 "(unsigned char *) " before the string.
9631
9632 * TODO: Add notes about printing of fancy types and GDB expressions.
9633
9634Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
9635
9636 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
9637 * gdb.t06/configure.in: Don't try to compile signals test program
beb998c6 9638 if doing mips-idt-ecoff.
c906108c
SS
9639
9640Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
9641
9642 * Most .exp files: Tweak to run under either version of expect.
9643
9644Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9645
9646 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
9647 xfails; I'm not sure why they are failing, but not because of PR 1806.
9648
9649Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
9650
9651 * config/unix-gdb.exp: Remove gdb_unload cause it's already
9652 defined in lib/gdb.exp.
9653
9654Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9655
9656 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
9657 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
9658 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
9659 have to be typeless.
9660
9661Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9662
9663 * TODO: Add suggestion for copyright year test.
9664
9665Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
9666
9667 * configure.in (*-*-lynxos*): Add stabs tests.
9668
9669Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
9670
9671 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
9672 so insert a tab before any assembler directive in column zero.
9673
9674 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
9675 stores.
9676 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
9677 stores.
9678 (fpu_short_memory_tests): Likewise.
9679
9680Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9681
9682 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
9683 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
9684 .stabs directives in comments.
9685
9686Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9687
9688 * TODO: New file, describing tests we could write.
9689 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
9690
9691Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9692
9693 * gdb.t06/signals.exp: Add kludge to force re-sync.
9694
9695 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
9696 to xgdb instead of gdb, get out of gdb.
9697
9698Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
9699
9700 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
9701 for info.
9702
9703Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
9704
9705 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
9706 * gdb.stabs/configure.in (hppa*-*-*): Use it.
9707 * gdb.stabs/hppa.sed: New sed script for the PA.
9708
9709Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9710
9711 * gdb.stabs: Re-write weird.def and configuration to use sed
9712 instead of cpp. sed is portable and POSIX; cpp is neither.
9713
9714Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9715
9716 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
9717
9718Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9719
9720 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
9721
9722Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9723
9724 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
9725 "_vb$".
9726 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
9727 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
9728
9729Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9730
9731 * lib/gdb.exp: Comment out code which depends on non-existent
9732 `transform' procedure.
9733
9734Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
9735
9736 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
9737 * lib/gdb.exp: Transform tool name.
9738 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
9739 1.1's new error handling system.
9740
9741Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9742
9743 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
9744
9745Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9746
9747 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
9748 They made pattern matching so slow that timeouts happened on
9749 heavily loaded systems. Now any output from "show print" which
9750 gets us back to the GDB prompt is a PASS.
9751
9752Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
9753
9754 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
9755
9756Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9757
9758 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
9759
9760 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
9761 It is not from PR 3220.
9762
9763Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9764
9765 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
9766 just started failing because they depended on the order the
9767 subcommands are presented, or exact docstring text. This kind of
9768 test is a pain and has minimal benefit.
9769
9770Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9771
9772 * gdb.t09/corefile.exp: At end of test, use "core" command with
9773 no arguments.
9774
9775Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
9776
9777 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
9778 17}/Makefile.in: Make it possible to run the testsuite with Sun
9779 make and CC = cross gcc by adding explicit build rules for .o
9780 files.
9781
9782Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9783
9784 * gdb.t15/funcargs.exp: Don't put comments on same line as
9785 setup_xfail (@#$*%& tcl braindamage!).
beb998c6 9786
c906108c
SS
9787Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9788
9789 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
9790
9791Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
9792
9793 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
9794 * gdb.t20/inherit.exp: remove three dumplicate entries.
9795
9796Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9797
9798 * gdb.t06/break.exp: For "next over recursive call", fail on any
9799 incorrect output, not just on "factorial (value=2)".
9800
9801Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9802
9803 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
9804 working now. Add an xfail if accesing a bss variable causes
9805 a memory error if the target is not yet run.
9806
9807Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9808
9809 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
9810 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
9811 name of __st* demangling (2 strings). Did Kung really get the
9812 more than 95 others right without testing them?
9813
9814Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
9815
9816 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
9817
9818Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
9819
9820 * configure.in (configdirs): Add gdb.disasm
9821 * gdb.disasm: New directory for GDB disassembler tests.
9822 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
9823
9824Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9825
9826 * gdb.t00/help.exp: Don't test "help set".
9827
9828 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
9829 from within expect statements. None of these happen anymore and
9830 they cause regressions to be silently unnoticed.
9831
9832 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
9833 messages) about known failures with gcc cygnus-2.4.5-930417.
9834
9835 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
9836 comp-info.exp so it gets built if it doesn't exist.
9837
9838 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
9839 it is no longer used.
9840 * gdb.t13/comp-info.c: Removed.
9841
9842Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
9843
9844 * gdb.t06/signals.exp: Add xfail for sun3.
9845
9846Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9847
9848 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
9849 relevant because ^C doesn't get sent but failure can be reproduced
9850 interactively).
9851
9852Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9853
9854 * gdb.stabs/alpha.mt: New configuration file for alpha.
9855 * gdb.stabs/configure.in: Use it.
9856 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
9857 sharing with alpha.mt, redefine long to word via preprocessor.
9858 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
9859 for alpha.
9860 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
9861 native cc.
9862 * gdb.t00/teststrategy.exp: Change expect string so that we
9863 consume the `(xgdb)' from the command echo and from the gdb prompt.
9864 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
9865 gdb currently compares all values as long, so this failure probably
9866 applies to any configuration where LONGEST is bigger than a target int.
9867 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
9868 with gcc.
9869 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
9870 to handle opaque pointers, gcc is.
9871 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
9872 as first argument. Include <sys/types.h> and change all operator
9873 new definitions to use size_t.
9874 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
9875 now that we use size_t.
9876
9877Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9878
9879 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
9880 a long or float array cast all array members to the same type.
9881 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
9882 with 64 bit longs.
9883 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
9884 on alpha.
9885 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
9886
9887Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9888
9889 * gdb.t24 (demangle.exp): Constructors of templates have names like
9890 vector<int>::vector(int) not vector<int>::vector<int>(int). See
9891 section 14.6 of the ARM.
9892
9893 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
9894 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
9895 accomplish little and slow down the testsuite.
9896
9897 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
9898 Accept spaces various places.
9899
9900Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9901
9902 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
9903 with watchpoint enabled.
9904
9905 * Makefile.in: Remove definition of CC and remove the second
9906 definition of CXX (the "CXX = gcc" one remains). These definitions
9907 were causing backquotes to be expanded within backquotes, which
9908 doesn't work.
9909
9910Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
9911
9912 * gdb.t17/callfuncs.exp: Add "return 0" to end.
9913
9914Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9915
9916 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
9917 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
9918 by mips cc and contains no stabs entries.
9919
9920Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
9921
9922 * config/vx-gdb.exp: Use fake device to load files rather than
9923 NFS.
9924 * lib/gdb.exp: New proc to do "file" command.
9925 * config/unix-gdb.exp: Use new "file" proc.
9926
9927Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
9928
9929 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
9930 Rework board rebooting slightly.
9931 (gdb_exit): Don't exit from the remote shell; there isn't one.
9932 * gdb.stabs/weird.exp: If a program is being debugged already,
9933 kill it.
9934 * gdb.t04/setvar.exp: Stop and restart gdb.
9935 * gdb.t05/expr.exp: Likewise.
9936 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
9937 restart gdb and reload the program.
9938 * gdb.t08/opaque.exp: Likewise.
9939 * gdb.t12/scope.exp: Likewise.
9940 * gdb.t13/bitfields.exp: Likewise.
9941 * gdb.t15/funcargs.exp: Likewise.
9942 * gdb.t20/classes.exp: Likewise.
9943 * gdb.t03/ptype.exp: Increase timeout.
9944 * gdb.t16/printcmds.exp (test_print_string_constants,
9945 test_print_array_constants): Likewise.
9946 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
9947 * gdb.t20/classes.exp (do_tests): Likewise.
9948 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
9949
9950Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
9951
9952 * gdb.stabs: Renamed *wierd* to *weird*.
9953
9954Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
9955
9956 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
9957 for timeout. Add "known gcc 2.4.5 bug" to failure message.
9958
9959Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
9960
9961 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
9962 (do_tests): Remove xfail for whatis on one_var and two_var.
9963
9964Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
9965
9966 * Makefile.in: Made cross building work better by adding
9967 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
9968
9969Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9970
9971 * gdb.t15/{return.c,return.exp,Makefile.in}:
9972 New test, currently commented out.
9973
9974Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
9975
9976 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
9977 still running and removes the leftover named socket so GDb can do
9978 clean restarts.
9979
9980Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
9981
9982 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
9983 console, not GDB.
9984 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
9985 cross testing works better with "make check"
9986 * config/unix-gdb: Use default procedures for exit and version.
9987 * config/vx-gdb.exp: Cleaned up and massaged back to working order
9988 with the newest VxWorks.
9989
9990Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9991
9992 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
9993 old form.
9994
9995 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
9996 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
9997
9998 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
9999
10000 * config/unix-gdb.exp: Remove this version of gdb_exit
10001 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
10002 Rob says he'll look at it when he gets back to testing boards.
10003
10004Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
10005
10006 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
10007 an expected fail for certain ptype commands.
10008
10009 * gdb.t20/classes.exp: Update expected results of "ptype class
10010 Base1" to account for the constructor that now appears in the type.
10011
10012Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
10013
10014 * configure.in (configdirs): Restore gdb.t04, which mysteriously
10015 disappeared from list.
10016 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
10017 "alldone" proc with call to cleanup and exit.
10018 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
10019 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
10020 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
10021 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
10022 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
10023 "alldone" proc with simple returns that suppress remaining
10024 tests. The alldone proc went away many months ago.
10025
10026Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10027
10028 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
10029
10030 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
10031
10032Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10033
10034 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
10035 as vax gdb will display them.
10036
10037Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10038
10039 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
10040 optimizers.
10041
10042 * scope.exp: Change "bad value for localval" messages so each one
10043 is unique.
10044
10045 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
10046 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
10047
10048 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
10049
10050Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10051
10052 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
10053 doesn't exist (due to optimization).
10054
10055Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10056
10057 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
10058 contains \r because the filename is long.
10059
10060 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
10061 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
10062
10063Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10064
10065 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
10066 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
10067 Ultrix.
10068 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
10069 int tests.
10070 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
10071
10072Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
10073
10074 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
10075
10076 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
beb998c6 10077 to match does not match the passing case but still matches the
c906108c
SS
10078 failing case.
10079
10080Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10081
10082 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
10083
10084Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
10085
10086 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
10087 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
10088 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
10089 Remove various versions of gdb_exit.
10090 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
10091 gdb_exit.
10092 * config/unix-gdb.exp: gdb_exit remains here, and should override
10093 the generic version, since it's doing a lot of wierd stuff that
10094 the other versions aren't. FIXME, fold it in, or abandon this
10095 version.
10096
10097Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10098
10099 * gdb.t24/demangle.exp: Add tests for PR 3220.
10100
10101Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10102
10103 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
10104
10105Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
10106
10107 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
10108 "i386-*-*". Works for i486 as well.
10109
10110 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
10111 bug, and expand domain of xfail to all SVR4 systems, since the
10112 actual problem is likely to be in generic SVR4 /proc support.
10113
10114Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10115
10116 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
10117
10118Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
10119
10120 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
10121 xfails for other systems. Match a missing 'Continuing.' as an
10122 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
10123
10124 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
10125 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
10126 Only issue warning for missing executables if -all option is used.
10127
10128 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
10129 file if -all option is used. It's like an unpredictable XFAIL.
10130
10131Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10132
10133 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
10134 for dynamically linked binaries.
10135
10136 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
10137
10138Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10139
10140 * gdb.t20/inherit.exp: Change message for "print tagless struct"
10141 to state that this is a known bug in old versions of g++.
10142
10143Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10144
10145 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
10146 while waiting for `Continuing'.
10147
10148Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
10149
10150 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
10151 in text, data, and bss.
10152 * gdb.t10/nodebug.c: Add local and global test variables for
10153 initialized and uninitialized data.
10154
10155Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10156
10157 * config/unix-gdb.exp (gdb_exit): Add "wait".
10158
10159Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10160
10161 * gdb.t06/signals.exp: xfail the continue from the handler for all
10162 targets.
10163
10164 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
10165 function with watchpoints enabled, the i386 call dummy starts with
10166 a call.
10167
10168 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
10169 386 bsd names its corefiles.
10170
10171Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
10172
10173 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
10174 compilers don't grok it.
10175 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
10176 with small octal ints rather than character constants, which
10177 are signed and might not fit if first promoted to int.
10178
10179Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
10180
10181 * gdb.t09/Makefile.in (clean): Remove corefile.
10182
10183Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10184
10185 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
10186
10187Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10188 and Jim Kingdon (kingdon@cygnus.com)
10189
10190 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
10191 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
10192 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
10193
10194Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10195
10196 * gdb.t17/interrupt.exp: Add xfail for hppa.
10197
10198Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10199
10200 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
10201 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
10202 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
10203 to determine signed-ness of bitfields and use the result to setup
10204 the xfail.
10205 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
10206 * gdb.t15/funcargs.exp: Use them to step until the second indirect
10207 call line is reached if necessary.
10208
10209Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10210
10211 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
10212
10213Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10214
10215 * gdb.t06/break.exp: Also test `clear' command.
10216
10217Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
10218
10219 * gdb.t00/teststrategy.exp: Remove extra quote.
10220
10221 * gdb.t07/watchpoint.exp: Change xfail for calling function with
10222 watchpoint enabled to be for all non-68k machines.
10223
10224 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
10225
10226Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10227
10228 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
10229 targets use aout.mt instead of ecoff.mt as gas understands
10230 standard aout format.
10231
10232Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
10233
10234 * lib/gdb.exp (runto): Don't insist that function we are running to
10235 was compiled with -g.
10236
10237 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
10238
10239 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
10240 to get back into the read system call.
10241 Accept leading newline in case where we woke it up.
10242
10243Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10244
10245 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
10246 to make the stabs test work on ecoff systems using gcc and -with-stabs.
10247 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
10248 enable ecoff configuration.
10249
10250Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10251
10252 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
10253
10254Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10255
10256 * gdb.t16/printcmds.exp: Add another printf test.
10257
10258Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
10259
10260 * configure.in: If configured -with-stabs on any target, add
10261 stabsdirs to configdirs.
10262
10263Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10264
10265 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
10266 fun" so pattern does not match the command itself.
10267
10268Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10269
10270 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
10271
10272Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10273
10274 * gdb.t17/interrupt.exp: Test for more things.
10275
10276Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10277
10278 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
10279 compiler arranges the code and line numbers.
10280
10281 * gdb.t17/interrupt.exp: Don't send \n after ^C.
10282
10283Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10284
10285 * gdb.t00/help.exp: Increase expect input buffer size.
10286
10287Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10288
10289 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
10290
10291 * gdb.t07/watchpoint.exp: Add xfail for hppa.
10292
10293 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
10294
10295 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
10296 [0-9]*, not just [0-9].
10297
10298Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10299
10300 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
10301
10302 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
10303
10304Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10305
10306 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
10307
10308Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10309
10310 * gdb.t06/signals.c: Add xfails for sun3.
10311
10312 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
10313
10314 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
10315 test_stepping tests.
10316
10317Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10318
10319 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
10320
10321 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
10322
10323 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
10324 rather than actually putting it through cpp twice.
10325
10326 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
10327
10328Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
10329
10330 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
10331 no longer needed.
10332
10333Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10334
10335 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
10336
10337 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
10338 C++ features prints as "struct", make it a pass, not an xfail.
10339
10340Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10341
10342 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
10343 Don't require VA to print as "class" rather than "struct".
10344
10345Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
10346
10347 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
10348
10349Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10350
10351 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
10352
10353Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10354
10355 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
10356 order.
10357
10358Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10359
10360 * gdb.t16/printcmds.exp: Add printf tests.
10361
10362 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
10363
10364 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
10365
10366Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
10367
10368 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
10369 pass counts, to counteract any existing or future setup_xfails.
10370
10371Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10372
10373 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
10374 {BEGIN,END}_COMMON for common block instead of STAB.
10375 * gdb.stabs/wierd.exp: Add xfail for rs6000.
10376
10377 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
10378 intp_var should be N_GSYM not N_LSYM.
10379 wierd-aout.S: Use a label for the value of the N_SO.
10380 wierd.def: Remove all backslashes.
10381 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
10382
10383Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10384
10385 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
10386 get the expected next to inheritance3.
10387
10388Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10389
10390 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
10391 now that gcc-2.4 gets it right.
10392
10393Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10394
10395 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
10396
10397 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
10398 generating comp-info.exp which works for cross-compilation.
10399
10400Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
10401
10402 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
10403 "*-*-sysv4.*".
10404
10405Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
10406
10407 * gdb.t01/run.exp: Start with a fresh gdb.
10408 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
10409 SVR4.x.
10410
10411Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
10412
10413 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
10414 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
10415 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
10416 Makefile.in (distclean, realclean): Remove gdbme.c from list of
10417 things to remove.
10418
10419Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
10420
10421 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
10422 test cases from bug reports.
10423
10424Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
10425
10426 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
10427 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
10428 avoid spurious xfails.
10429 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
10430 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
10431 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
10432
10433Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
10434
10435 * gdb.t00/teststrategy.exp: Rework to provide more useful
10436 description of each test, fix problem with systems that define
10437 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
10438 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
10439 results for "next over recursive call" so timeouts aren't taken
10440 by error.
10441
10442Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
10443
10444 * gdb.t12/scope.exp: Test printing of variables before run.
10445
10446 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
10447 printed in wrong order due to sorting.
10448
10449Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
10450
10451 * gdb.t00/teststrategy.exp: Fix expected results for printing
10452 user entered string constant. Is array of char, prints with no
10453 address.
10454
10455 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
10456 commands.
10457 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
10458 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
10459 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
10460 of struct of char arrays.
10461 * gdb.t00/radix.exp: New tests for radix commands.
10462
10463Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
10464
10465 * gdb.t16/printcmd.exp: Print a variable before running program
10466 (with xfail for AIX).
10467
10468Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
10469
10470 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
10471
10472 * gdb.t16/printcmd.exp: Don't print variables before running program.
10473
10474 * gdb.t06/break.exp: Don't require envp argument to main.
10475
10476 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
10477
10478 * gdb.t02/whatis.exp, gdb.t11/list.exp:
10479 Add xfails for rs6000.
10480
10481 * gdb.t02/whatis.exp: Change other tests not to re-test something
10482 we already tested.
10483
10484 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
10485 each type used has a variable of that type.
10486
10487Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
10488
10489 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
10490
10491Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
10492
10493 * configure.in: change srctrigger to be a file, not a directory
10494
10495Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
10496
10497 * configure.in (mips-idt-ecoff*): Added trailing '*'.
10498
10499 * gdb.t11/list.exp: Fixed a couple of typos.
10500
10501Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
10502
10503 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
10504 is fixed and PR is closed.
10505 * gdb.t16 (gdbme.c): Add simple test string variable.
10506 * gdb.t16 (printcmds.exp): Add tests with simple test string
10507 variable, primarily for boundaries on "set print elements".
10508
10509Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
10510
10511 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
10512 Make leading 0's optional and don't expect a tab in the middle
10513 of the number.
10514
10515 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
10516
10517 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
10518 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
10519 don't end command passed to gdb_test with newline.
10520
10521 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
10522 signed keyword away, don't expect signed bitfields to be signed.
10523
10524 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
10525 printing with only as many 1's as are in the field as well as printing
10526 with 32 1's (see comment).
10527
10528Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
10529
10530 * gdb.t00/default.exp: Start with a fresh gdb.
10531 * configure.in (configdirs): Remove gdb.t31 until the chill
10532 compiler works again. It no longer is able to find chillrt0
10533 since it isn't in libchill.a anymore.
10534 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
10535 wierd.o, make more modular.
10536 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
10537 spurious newlines that caused problems.
10538
10539Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10540
10541 * Move test with enums and partial symbols from gdb.t03/ptype.exp
10542 to gdb.stabs/wierd.exp since GCC has worked around the bug.
10543 gdb.stabs/wierd.{exp,def}: Many new tests.
10544
10545 * gdb.t00/default.exp: update info line for new message.
10546
10547 * gdb.t02/{whatis.exp,gdbme.c}:
10548 Test that "char *" doesn't print as "caddr_t".
10549
10550Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10551
10552 * gdb.t00/help.exp: Use .* in place of some help messages which
10553 just changed.
10554 gdb.t00/default.exp: Update "info frame" test for new message.
10555 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
10556 Remove some xfails
10557
10558Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10559
10560 * gdb.t03/{gdbme.c,ptype.exp}:
10561 Add tests for typedef'd struct and union without tags.
10562 Also check "whatis" on a variable of a typedef'd enum without a tag.
10563
10564 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
10565 PRMS 1823; the bug still exists but isn't reproduced by this test
10566 anymore), and remove rs6000 XFAIL (the bug is fixed).
10567
10568 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
10569 duplicated from whatis.exp. For those that are left, accept
10570 "long", "long int", or "int" for long variables (whatis.exp already
10571 has an XFAIL for "int", so no need to fail it here).
10572
10573 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
10574 Deal with GCC's names for types now that GDB uses the compiler's names.
10575
10576 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
10577 setup_xfail's for sunos4. If we #defined the signed keyword away,
10578 don't expect GDB to know that char it is signed.
10579
10580 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
10581
10582Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
10583
10584 * configure.in (configdirs): Add gdb.t24 for C++ tests that
10585 should work on any system, regardless of debugging format.
10586 * gdb.t21/demangle.exp: Move to gdb.t24.
10587 * gdb.t24/demangle.exp: Move from gdb.t21.
10588 * gdb.t24/{Makefile.in, configure.in}: New files.
10589
10590Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10591
10592 * configure.in: Do gdb.stabs and C++ tests only for stabs.
10593 * gdb.stabs: New directory.
10594
10595Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10596
10597 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
10598 not just "Quit anyway?".
10599
10600Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
10601
10602 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
10603 that all setup_xfails are immediately followed by clear_xfails.
10604
10605Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
10606
10607 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
10608 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
10609 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
10610 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
10611 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
10612 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
10613 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
10614 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
10615 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
10616 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
10617 gdb.t31/chillvars.exp, lib/gdb.exp:
10618 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
10619 bug-gdb@prep.ai.mit.edu.
10620
10621Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
10622
10623 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
10624 with 0.0, not integer 0.
10625
10626Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
10627
10628 * gdb.t06/break.exp: Update for "Kill the program" message change.
10629
10630Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
10631
10632 * Makefile.in (GDBFLAGS): Set to -nx.
10633 * Makefile.in (site.exp): Use GDBFLAGS.
10634
10635Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
10636
10637 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
10638 Makefiles.
10639 (check): depend on just-check.
10640 (just-check): added so that tests can be run without a noop
10641 build pass.
10642
10643Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
10644
10645 Switch to using configure's configdirs.
10646 * Makefile.in (Makefile): add configure.in dependency.
10647 (SUBDIRS): removed redundant assignment.
10648 * configure.in: switch subdirs assignment to configdirs.
10649 * gdb.t*/configure.in: new files.
10650
10651Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
10652
10653 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
10654 works.
10655
10656Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
10657
10658 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
10659 in explicit rules. Apparently this is not supported by some makes.
10660
10661Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
10662
10663 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
10664
10665Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10666
10667 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
10668 disappeared.
10669
10670Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
10671
10672 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
10673
10674Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
10675
10676 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
10677 watchpoint problem that is now fixed.
10678 * gdb.t30/chexp.exp: Remove setup_xfail for printing
10679 uninitialized convenience variables.
10680 * gdb.t31/chillvars.exp: Fix expected patterns for printing
10681 structures.
10682
10683Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10684
10685 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
10686 which causes expect to get out of sync with gdb on long output
10687 from help set.
10688 * gdb.t09/corefile.exp: Make expected pattern for core file
10689 failing signal and frame output format less sun specific.
10690
10691Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
10692
10693 * gdb.t31/chillvars.exp: Add and remove initial dummy
10694 breakpoint, so that symbol table is forced in.
10695 (Needed at least on Sunos4, though it seems not SVR4.)
10696 * gdb.t31/chillvars.exp: Update for changed output format.
10697
10698Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
10699
10700 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
10701
10702Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
10703
10704 * Makefile.in: Added --srcdir when invoking runtest, removed the
10705 need for a local config file. (optional now)
10706
10707Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
10708
10709 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
10710 failure count used to force early termination. Add some more
10711 expected failures for gnu style demangling.
10712
10713Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10714
10715 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
10716 pmi variable from gdb.t20/gdbme to get optimized away.
10717 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
10718 Check for written corefile upon timeout _and_ eof.
10719
10720Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10721
10722 * config/unix-gdb.exp: Add missing return 0.
10723
10724Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10725
10726 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
10727 test termination.
10728
10729Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
10730
10731 * configure.in (subdirs): Put back gdb.t17 which mysteriously
10732 disappeared.
10733
10734Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
10735
10736 * gdb.t10/crossload.exp: Disable the i860-elf test until such
10737 time as i860 support works.
10738
beb998c6 10739 * gdb.t15/funcargs.exp: Fix expected outputs to include
c906108c
SS
10740 "backtrace 100\r" rather than just "backtrace\r", to match last
10741 change.
10742
10743Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
10744
10745 * config/udi-gdb.exp (gdb_exit): Remove close command.
10746 (gdb_target_udi): New procedure to set the UDI target.
10747 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
10748 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
10749 Added waits for prompts after several question responses. Added
10750 some more responses used by a29k-amd-udi-gdb.
10751 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
10752 pass different arguments, restart UDI connection after program
10753 completion.
10754 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
10755 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
10756 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
10757 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
10758 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
10759 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
10760 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
10761 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
10762 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
10763 after program completion.
10764 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
10765 compiled with a SELECT_VECS setting.
10766 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
10767 infinite recursion.
10768
10769 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
10770 Added checks for COFF results, and made them expected failures for
10771 all targets. It would be better to make them expected failures
10772 for COFF targets only.
10773
10774Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
10775
10776 * Makefile.in: add null dvi target, don't bother to recurse
10777 through test directories for info and install-info; rename
10778 $(datadir) to be dejagnu instead of deja-gnu
10779
10780Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
10781
10782 * gdb.t31/gdbme.ch: Re-enable code that previously caused
10783 compiler to coredump.
10784 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
10785 code.
10786
10787Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
10788
10789 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
10790 coredump.
10791 * gdb.t31/chillvars.exp: Comment out tests that depend on that
10792 code.
10793
10794Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
10795
10796 * gdb.t03/ptype.exp: tests for return code from gdb_test.
10797 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
10798 which in a shell. Deletes xgdb when done.
10799 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
10800 Tests the return from the "set height" or "set width" commands.
10801 Added a few return codes where needed.
10802
10803Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
10804
10805 * Makefile.in (SUBDIRS): Add gdb.t17.
10806 * configure.in (subdirs): Add gdb.t17.
10807 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
10808 files to test gdb's calling of functions in the inferior with
10809 the correct arguments and gdb's ability to retrieve any
10810 result returned.
10811
10812Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
10813
10814 * config/unix-gdb.exp (gdb_exit): Remove close commands that
10815 may be called after gdb goes away. Previous versions of expect
10816 needed these to avoid file descriptor leaks, but they cause
10817 errors with the current revision of expect.
10818 * gdb.t00/gdbvars.exp: Use -re on expected output after
10819 setting sevenbit-strings.
10820 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
10821 to set sevenbit-strings consistent across tests.
10822 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
10823 set sevenbit-strings consistent across tests.
10824
10825Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
10826
10827 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
10828 expected output to match current "expect" expectations.
10829
10830Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
10831
10832 * gdb.t00/default.exp: Change expected output for default "source"
10833 command, to match new gdb behavior which requires a filename to
10834 source.
10835
10836Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
10837
10838 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
10839 expected fail for i486-*-* that misses the marker2 function.
10840 * gdb.t10/crossload.exp (bfddefault): Allow successful
10841 recognition of a format to pass even if no symbols are found.
10842 Explicitly catch failures where the format is not recognized
10843 or is ambiguous, and add the reason to the fail message.
10844 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
10845 the cause is and invalid target and add reason to failure message.
10846 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
10847 elf32-i386, elf32-sparc, and elf32-i860.
10848 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
10849 Set up expected failure for 'filename'::variable scope resolution,
10850 which is now apparently broken on all targets.
10851 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
10852 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
10853 gdb.t23/templates.exp: Change failure for missing binfile into
10854 just a warning.
10855 gdb.t21/demangle.exp: Change all cfront references to 'arm'
10856 references.
10857
10858Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
10859
10860 * gdb.t00/default.exp: Add expected output for default "source"
10861 command, to match new gdb behavior.
10862 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
10863
10864Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
10865
10866 * config/*-gdb.exp: returns an error, rather than exiting on
10867 internal errors.
10868
10869Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
10870
10871 * gdb.t03/gdbme.c: Add pointer to struct variable.
10872 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
10873 referencing struct members.
10874
10875Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
10876
10877 * configure.in (mips-idt-ecoff): New target.
10878 * config/mips-gdb.exp: New file for remote board using MIPS remote
10879 debugging protocol.
10880
10881 * Redid configuration scheme. Removed gdb.t*/configure.in.
10882 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
10883 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
10884 distclean targets. Built executables via .o files. Adjusted
10885 tests to account for source files in $(srcdir) rather than
10886 $(objdir).
10887 * lib/gdb.exp (runto): Don't expect () after the function name,
10888 because it may have arguments.
10889
10890Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
10891
10892 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
10893 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
10894 expected failures for mips-idt-* and mips-sgi-*.
10895 * gdb.t00/default.exp (attach): Kill process if requested.
10896 * gdb.t00/help.exp (help target core, help target): Accept a gdb
10897 that does not read core files.
10898 * gdb.t01/run.exp: Removed checks for exit status code.
10899 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
10900 it is linked in.
10901 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
10902 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
10903 appropriate, rather than doing it by hand.
10904 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
10905 execution.
10906 * gdb.t10/crossload.exp: Kill existing program if needed.
10907 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
10908 appropriate, rather than doing it by hand. Always increase
10909 timeout for this test, not just for VxWorks.
10910
10911Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
10912
10913 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
10914 of Chill STRUCT types and STRUCT values.
10915 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
10916 than "char".
10917 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
beb998c6 10918 struct2): New struct definitions and initializations to test
c906108c
SS
10919 simple Chill STRUCT types.
10920
10921Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
10922
10923 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
10924 the null byte at the end of strings.
10925 * gdb.t00/default.exp: Make show version insensitive to copyright
10926 date.
10927 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
10928 to avoid dependencies on target char signedness.
10929 * gdb.t16/printcmds.exp: Update expected results for explicitly
10930 unsigned char.
10931 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
10932 now work.
10933 * gdb.t21/demangle.exp: Add many more patterns for template
10934 demangling, most of them being expected failures.
10935 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
10936 string we are matching for, to match on the whole string.
10937 * gdb.t21/demangle.exp: Add many new test strings to demangle,
10938 and fix a whole bunch that had incorrect expected output but were
10939 passing anyway because of the bug in "proc demangle".
10940 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
10941 type.
10942 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
10943
10944Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
10945
10946 * gdb/testsuite: made modifications to testcases, etc., to allow
10947 them to work properly given the reorganization of deja-gnu and the
10948 relocation of the testcases from deja-gnu to a "tool" subdirectory.
10949
10950Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
10951
10952 * gdb/testsuite: Initial creation of gdb/testsuite.
10953 Migrated dejagnu testcases and support files for testing nm to
10954 gdb/testsuite from deja-gnu. These files were moved "as is"
10955 with no modifications. This migration is part of a major overhaul
10956 of dejagnu. The modifications to these testcases, etc., which
10957 will allow them to work with the new version of dejagnu will be
10958 made in a future update.
10959\f
10960Local Variables:
ef043731 10961mode: change-log
c906108c
SS
10962left-margin: 8
10963fill-column: 74
10964version-control: never
10965End: