]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/testsuite/ChangeLog
* dwarf2dbg.c: Convert to ISO-C.
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
374451f0
MC
12003-12-05 Michael Chastain <mec.gnu@mindspring.com>
2
3 * gdb.cp/rtti.exp: Accept new wording of warning from
4 cp_lookup_rtti_type.
5
ba9b20a7
MC
62003-12-05 Michael Chastain <mec.gnu@mindspring.com>
7
8 Partial fix for PR testsuite/1456.
9 * gdb.base/scope.exp (test_at_main): Replace references to
10 gcc_compiled with calls to test_compiler_info.
11 (test_at_foo): Likewise.
12 (test_at_bar): Likewise.
13
b74b6d0b
MC
142003-12-04 Michael Chastain <mec.gnu@mindspring.com>
15
16 Partial fix for PR testsuite/1456.
17 * gdb.base/so-impl-ld.exp: Replace reference to gcc_compiled with call
18 to test_compiler_info.
19
ccfa3402
MC
202003-12-03 Michael Chastain <mec.gnu@mindspring.com>
21
22 * gdb.base/so-impl-ld.exp: Update copyright notice.
23
f6246aba
MC
242003-12-02 Michael Chastain <mec.gnu@mindspring.com>
25
26 Partial fix for PR testsuite/1456.
27 * gdb.base/mips_pro.exp: Replace references to gcc_compiled with calls
28 to test_compiler_info.
29
13ae734a
MC
302003-11-28 Michael Chastain <mec.gnu@mindspring.com>
31
32 * gdb.objc/objcdecode.exp: Match and KFAIL the output that comes
33 from current versions of gdb. Clean up regular expressions.
34 Delete redundant timeout case.
35
d8e1cdee
MC
362003-11-28 Michael Chastain <mec.gnu@mindspring.com>
37
38 * gdb.objc/nondebug.exp: Match and KFAIL the output that comes
39 from current versions of gdb. Clean up regular expressions.
40 Delete redundant timeout case.
41
96457b64
MC
422003-12-01 Michael Chastain <mec.gnu@mindspring.com>
43
44 Partial fix for PR testsuite/1456.
45 * gdb.base/callfuncs.exp (do_function_calls): Replace reference to
46 gcc_compiled with call to test_compiler_info.
47
f35309fc
MC
482003-11-30 Michael Chastain <mec.gnu@mindspring.com>
49
50 Partial fix for PR testsuite/1456.
51 * gdb.base/list.exp (test_list_function): Delete unused declaration
52 of gcc_compiled.
53
d7afdf9b
MC
542003-11-29 Michael Chastain <mec.gnu@mindspring.com>
55
56 Partial fix for PR testsuite/1456.
57 * gdb.base/complex.exp: Replace reference to gcc_compiled with
58 call to test_compiler_info.
59
71507b56
MK
602003-11-29 Mark Kettenis <kettenis@gnu.org>
61
62 * gdb.asm/asm-source.exp: Initialize asm-note to "empty". Set
63 asm-note to "netbsd" for *-*-netbsdelf* and x86_64-*-netbsd*. Use
64 it to create the appropriate note.inc.
65 * gdb.asm/asmsrc1.s: Include "note.inc".
66 * gdb.asm/netbsd.inc: New file.
67 * gdb.asm/empty.inc: New file.
68
f81f93f7
MC
692003-11-28 Michael Chastain <mec.gnu@mindspring.com>
70
71 Partial fix for PR testsuite/1456.
72 * gdb.base/constvars.exp: Replace references to gcc_compiled with
73 calls to test_compiler_info.
74
9a77938e
MC
752003-11-27 Michael Chastain <mec.gnu@mindspring.com>
76
77 Partial fix for PR testsuite/1456.
78 * gdb.base/volatile.exp: Replace references to gcc_compiled with
79 calls to test_compiler_info.
80
e8367dc7
MK
812003-11-27 Mark Kettenis <kettenis@gnu.org>
82
83 * gdb.base/structs.exp: Use i*86-*-* instead of i686-*-* as a
84 pattern for the KFAILs.
85
526c61ee
AF
862003-11-25 Adam Fedor <fedor@gnu.org>
87
88 * gdb.objc/objcdecode.exp: Test for PR objc/1238.
89 * gdb.objc/objcdecode.m: New file.
90
28f2d600
AF
912003-11-25 Adam Fedor <fedor@gnu.org>
92
93 * gdb.objc/nondebug.exp: Test for PR objc/1236.
94 * gdb.objc/nondebug.m: New file.
95
a3895cee
BE
962003-11-26 Ben Elliston <bje@wasabisystems.com>
97
98 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
99 NetBSD as it does on FreeBSD. Modelled on a similar change by
100 Mark Kettenis on 2003-05-30.
101 (link-flags): Set to "--entry _start" regardless of target.
102 Special linker flags are to be appended to $link-flags.
103 * gdb.asm/mips.inc (gdbasm_startup): Remove __start label.
104
c9f2c8a3
MC
1052003-11-25 Michael Chastain <mec.gnu@mindspring.com>
106
107 * gdb.cp/method.exp: Accept output of new demangler.
108
15a0587a 1092003-11-25 Michael Chastain <mec.gnu@mindspring.com>
f4e8b6f3
MC
110
111 * gdb/class2.exp: New file.
112 * gdb/class2.cc: New file.
113
3c00b570
MC
1142003-11-25 Michael Chastain <mec.gnu@mindspring.com>
115
116 * gdb.cp/templates.exp (test_ptype_of_templates): Accept output
117 of new demangler.
118
7027acc7
MK
1192003-11-23 Mark Kettenis <kettenis@gnu.org>
120
121 * gdb.arch/i386-unwind.exp: Use gdb_run_cmd and gdb_expect instead
122 of gdb_test "run".
123
b0e1598a
MK
1242003-11-23 Mark Kettenis <kettenis@gnu.org>
125
126 * gdb.arch/i386-unwind.exp: Don't use runto_main. Change
127 "continue" into "run".
128
4d9eda44
MC
1292003-11-23 Michael Chastain <mec.gnu@mindspring.com>
130
131 Partial fix for PR testsuite/1456.
132 * gdb.cp/ambiguous.exp: Replace reference to gcc_compiled with
133 call to test_compiler_info.
134 * gdb.cp/ctti.exp: Likewise.
135 * gdb.cp/derivation.exp: Likewise.
136 * gdb.cp/member-ptr.exp: Likewise.
137 * gdb.cp/virtfunc.exp (test_virtual_calls): Remove unused
138 reference to gcc_compiled.
139
1402003-11-23 Michael Chastain <mec.gnu@mindspring.com>
b729099e
MC
141
142 Fix PR testsuite/1463.
143 * gdb.base/structs.exp (start_structs_test): Call
144 get_debug_format before using the debug format.
145
d422fe19
AC
1462003-11-22 Andrew Cagney <cagney@redhat.com>
147
148 * lib/gdb.exp (gdb_test_multiple): Add simple example.
149 * gdb.base/structs.exp: Use gdb_test_multiple.
150
039cf96d
AC
1512003-11-20 Andrew Cagney <cagney@redhat.com>
152
6882279b
AC
153 * gdb.base/structs.exp: Handle and recover from internal errors.
154 Replace "foo${n}" with "foo<n>" in test messages.
155
e53890ae
AC
156 * gdb.base/structs.exp: Update copyright. Rewrite.
157 * gdb.base/structs.c: Update copyright. Rewrite.
158
2b211c59
AC
159 * lib/gdb.exp (gdb_internal_error_resync): Issue a perror when the
160 resync count exceeded.
161
039cf96d
AC
162 * gdb.base/maint.exp: Use gdb_internal_error_resync to recover
163 from the internal error.
164 * lib/gdb.exp (gdb_internal_error_resync): New procedure.
165 Original from Jim Blandy.
166 (gdb_test_multiple): Use gdb_internal_error_resync.
2b211c59 167
eac98b22
AC
1682003-11-19 Andrew Cagney <cagney@redhat.com>
169
170 * gdb.base/callfuncs.exp: Change the XFAILed descriptor test to a
171 KFAIL.
172
67455b2a
MK
1732003-11-17 Mark Kettenis <kettenis@gnu.org>
174
175 New testcase for PR backtrace/1435.
176 * gdb.arch/i386-unwind.exp: New file.
177 * gdb.arch/i386-unwind.c: New file.
178
853d6e5b
AC
1792003-11-17 Andrew Cagney <cagney@redhat.com>
180
181 * lib/gdb.exp (compiler_info): New global.
182 (test_compiler_info): New function.
183 (get_compiler_info): Set compiler_info.
184 * lib/compiler.c, lib/compiler.cc: Add copyright. When GNUC, set
185 "compiler_info" to gcc-<major>-<minor>.
186
38cf6e11
MC
1872003-11-15 Michael Chastain <mec.gnu@mindspring.com>
188
189 * gdb.trace/configure: Remove.
190
a50d3602
EZ
1912003-11-13 Elena Zannoni <ezannoni@redhat.com>
192
193 * gdb.base/break.c: Add comments to aid finding line numbers for
194 breakpoints.
195 * gdb.base/break.exp: Remove all references to explicit line
196 numbers.
197
d9407aaa
NC
1982003-11-11 Nick Clifton <nickc@redhat.com>
199
200 * gdb.base/shreloc.exp: Do not run for targets which do not
201 support shared objects.
202
db488fc1
CV
2032003-11-10 Corinna Vinschen <vinschen@redhat.com>
204
205 * gdb.base/fileio.exp: Drop tests for nointerrupts and noinferiorio.
206 Don't run tests if nofileio flag is given.
207
6a90a18e
EZ
2082003-11-07 Elena Zannoni <ezannoni@redhat.com>
209
210 * gdb.cp/annota3.exp: Make sure we can match 'Hardware watchpoint'
211 as well as 'Watchpoint'.
212
0b915e9c
EZ
2132003-11-06 Elena Zannoni <ezannoni@redhat.com>
214
215 Reported by Jim Ingham <jingham@apple.com>:
216 * gdb.base/annota1.exp: Match at least one occurrence of the
217 signal handler annotation.
218
d7e4b55f
EZ
2192003-11-06 Elena Zannoni <ezannoni@redhat.com>
220
221 * gdb.cp/annota2.exp: Make sure we can match 'Hardware watchpoint'
222 as well as 'Watchpoint'.
223
2fe4e8d0
MC
2242003-11-05 Michael Chastain <mec@shout.net>
225
226 * gdb.mi/pthreads.c (routine): Handle early return from sleep.
227
6ef88553
KW
2282003-11-03 Kris Warkentin <kewarken@qnx.com>
229
230 * gdb.arch/gdb1291.c: New test file.
231 * gdb.arch/gdb1291.exp: New test script.
232 * gdb.arch/gdb1431.c: New test file.
233 * gdb.arch/gdb1431.exp: New test script.
234
ae7dc4d8
MC
2352003-10-22 Michael Chastain <mec@shout.net>
236
237 * gdb.mi/pthreads.c: Add copyright notice.
238
c39d7427
MC
2392003-10-22 Michael Chastain <mec@shout.net>
240
241 * gdb.threads/pthreads.c: Add copyright notice.
242
8b7d96c1
MC
2432003-10-20 Michael Chastain <mec@shout.net>
244
245 * gdb.base/gdb1056.exp: New test script.
246
d1d69fdd
DJ
2472003-10-13 Daniel Jacobowitz <drow@mvista.com>
248
249 * gdb.threads/killed.exp: Use gdb_run_cmd.
250
7d605576
DJ
2512003-10-13 Daniel Jacobowitz <drow@mvista.com>
252
253 * gdb.base/gcore.exp: Issue an UNSUPPORTED and exit if we can't
254 create a core file.
255 * gdb.threads/gcore-thread.exp: Likewise.
256
618ec112
CV
2572003-10-13 Corinna Vinschen <vinschen@redhat.com>
258
259 * gdb.base/call-rt-st.c (struct bit_flags_char_t): New bitfield
260 type, based on char type.
261 (struct bit_flags_short_t): New bitfield type, based on short type.
262 (init_bit_flags_char): New fuction.
263 (init_bit_flags_short): Ditto.
264 (print_bit_flags_char): Ditto.
265 (print_bit_flags_short): Ditto.
266 (main): Add handling for bit_flags_char_t and bit_flags_short_t.
267
9367a73c
MC
2682003-10-11 Michael Chastain <mec@shout.net>
269
270 * gdb.base/call-rt-st.exp: Update copyright year.
271
1decf120
KI
2722003-10-10 Kei Sakamoto <sakamoto.kei@renesas.com>
273
274 * config/hmsirom.exp: Replace "Hitachi" with "Renesas".
275 * gdb.disasm/sh3.s: Ditto.
276
5445b2ae
DJ
2772003-10-07 Daniel Jacobowitz <drow@mvista.com>
278
279 * gdb.threads/switch-threads.exp: New test.
280 * gdb.threads/switch-threads.c: New source file.
281
aec24853
CV
2822003-10-07 Corinna Vinschen <vinschen@redhat.com>
283
284 * gdb.base/ending-run.exp: Add sh specific case.
285
adc7428d
AC
2862003-10-06 Andrew Cagney <cagney@redhat.com>
287
288 * gdb.base/watchpoint.exp: Delete obsolete clear_xfail.
289 * gdb.disasm/mn10200.exp: Delete obsolete file.
290
c9d37158
DJ
2912003-09-29 Daniel Jacobowitz <drow@mvista.com>
292
293 * ChangeLog: Correct an entry command.exp -> commands.exp.
294 * gdb.base/commands.exp (bp_deleted_in_command_test)
295 (temporary_breakpoint_commands): Check noargs.
296
79c2c32d
DC
2972003-09-25 David Carlton <carlton@kealia.com>
298
299 * gdb.cp/namespace.exp: Tweak comments. Add non-quoted versions
300 of some print tests, where appropriate. Add tests for C::D::cd,
301 E::ce, F::cXfX, G::XgX.
302 * gdb.cp/namespace.cc: Add XgX, cXfX, ce.
303
594e6d67
RE
3042003-09-25 Richard Earnshaw <rearnsha@arm.com>
305
306 * lib/java.exp (java_init): Import target_alias before using it.
307
10f0d451
DC
3082003-09-25 David Carlton <carlton@kealia.com>
309
310 * gdb.base/corefile.exp: Delete obsolete setup_xfail.
311
274bcba0
EZ
3122003-09-23 Elena Zannoni <ezannoni@redhat.com>
313
314 * gdb.base/selftest.exp: Accomodate more instruction reordering
315 weirdness.
316
cdbf20f7
MC
3172003-09-17 Michael Chastain <mec@shout.net>
318
319 * gdb.cp/gdb1355.exp: New file.
320 * gdb.cp/gdb1355.c: New file.
321
71e06f80
CV
3222003-09-15 Corinna Vinschen <vinschen@redhat.com>
323
324 * gdb.asm/asm-source.exp: Add sh*-*-* as supported target.
325 * gdb.asm/sh.inc: New file.
326
5c4e30ca
DC
3272003-09-11 David Carlton <carlton@kealia.com>
328
bd45b7af
DC
329 * gdb.cp/namespace.exp: Add tests for namespace types.
330 * gdb.cp/maint.exp (test_help): Test 'help maint cp namespace'.
5c4e30ca
DC
331 (test_namespace): New.
332
1c199746
EZ
3332003-09-11 Elena Zannoni <ezannoni@redhat.com>
334
335 * gdb.base/relocate.exp: Handle new gdb output at startup.
3fcf0ced 336 * gdb.stabs/weird.exp: Ditto.
1c199746 337
04ed252f
MC
3382003-09-08 Michael Chastain <mec@shout.net>
339
340 * gdb.base/gdb1250.c: Rename 'gamma' to 'my_gamma'.
341
d8a2d9e7
MC
3422003-09-07 Michael Chastain <mec@shout.net>
343
344 * gdb.cp/classes.exp: Accommodate both 'syntax error' and
345 'parse error'.
346
161afb24
MK
3472003-09-07 Mark Kettenis <m.kettenis@osp.nl>
348
349 * gdb.arch/i386-prologue.exp: Add checks for saved registers.
350
49f2741a
MC
3512003-08-30 Michael Chastain <mec@shout.net>
352
353 * gdb.base/selftest.exp: Remove support for m68k*-*-hpux.
354 * gdb.gdb/observer.exp: Ditto.
355 * gdb.gdb/xfullpath.exp: Ditto.
356
8afa723e
MK
3572003-08-29 Mark Kettenis <kettenis@gnu.org>
358
359 * gdb.base/interrupt.exp: XFAIL "call function when asleep" for
360 *-*-*bsd*.
361
f31dfe3b
JJ
3622003-08-28 Jeff Johnston <jjohnstn@redhat.com>
363
364 * gdb.base/dump.exp: Skip for ia64.
365
4630e498
JJ
3662003-08-25 Jeff Johnston <jjohnstn@redhat.com>
367
368 * gdb.asm/asm-source.exp: Add ia64 support.
369 * gdb.asm/ia64.inc: New file.
370
1105b7ef
MC
3712003-08-22 Michael Chastain <mec@shout.net>
372
373 * gdb.cp: New directory.
374 * gdb.cp/*: Copy from gdb.c++/*.
375 * gdb.c++/*: Remove.
376 * Makefile.in: Change gdb.c++ to gdb.cp.
377 * configure.in: Ditto.
378 * configure: Regnerate.
379
c945b932
MK
3802003-08-18 Mark Kettenis <kettenis@gnu.org>
381
382 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1338.
383 * gdb.arch/i386-prologue.c (gdb1338): Add function.
384
2b66634b
DJ
3852003-08-17 Daniel Jacobowitz <drow@mvista.com>
386
387 * mi-var-display.exp (-var-list-children weird): Accept function
388 pointers with argument types.
389 * mi1-var-display.exp (-var-list-children weird): Likewise.
390 * mi2-var-display.exp (-var-list-children weird): Likewise.
391
a356f73b
DJ
3922003-08-17 Daniel Jacobowitz <drow@mvista.com>
393
394 * gdb.base/annota3.exp: Add missing newline.
395
483417b8
MC
3962003-08-06 Michael Chastain <mec@shout.net>
397
398 * gdb.java/jmisc1.exp: Add test for pr gdb/1322.
399
c99c59c3
MS
4002003-08-12 Michael Snyder <msnyder@redhat.com>
401
402 * gdb.base/float.exp: Add test for SH.
403
55ed7501
MK
4042003-08-10 Mark Kettenis <kettenis@gnu.org>
405
406 * gdb.arch/i386-prologue.c, gdb.arch/i386-prologue.exp: New files.
407
1a371f2e
EZ
4082003-08-07 Elena Zannoni <ezannoni@redhat.com>
409
410 * gdb.base/completion.exp: Remove reduntant completion test
411 on filename.
412
e0f353ce
EZ
4132003-08-07 Elena Zannoni <ezannoni@redhat.com>
414
415 * gdb.base/attach.exp, gdb.base/detach.exp, gdb.base/gcore.exp,
416 gdb.mi/mi-basics.exp, gdb.threads/gcore-thread.exp,
417 gdb.trace/save-trace.exp: Make sure that full pathnames are
418 escaped correctly.
419
5710a1af
EZ
4202003-08-07 Elena Zannoni <ezannoni@redhat.com>
421
422 * configure.in: Don't generate config.h from config.hin.
423 * configure: Regenerate.
424 * config.hin: Remove file.
425 * gdb.mi/pthreads.c: Remove include of config.h, and other ifdefs.
426 * gdb.threads/pthreads.c: Ditto.
427
dcd81ce9
DJ
4282003-08-07 Daniel Jacobowitz <drow@mvista.com>
429
430 From Kei Sakamoto <sakamoto.kei@renesas.com>:
431 * gdb.asm/asm-source.exp : Add -lgloss to link-flags.
432 * gdb.asm/m32r.inc : Remove an illegal nop after bl instruction.
433 Replace ld24 with seth/add3.
434
6009d884
AC
4352003-08-02 Andrew Cagney <cagney@redhat.com>
436
437 * gdb.base/annota3.exp: New file.
438 * gdb.base/annota3.c: New file.
439 * gdb.c++/annota3.exp: New file.
440 * gdb.c++/annota3.cc: New file.
441
51514e06
MC
4422003-07-29 Michael Chastain <mec@shout.net>
443
444 * gdb.threads/tls.c (spin): Check errno only if sem_wait
445 actually failed.
446 (do_pass): Likewise.
447 * gdb.threads/tls.exp: Always initialize no_of_threads.
448
4ee6625b
DJ
4492003-07-27 Daniel Jacobowitz <drow@mvista.com>
450
451 * gdb.threads/print-threads.exp (test_all_threads): Loosen KFAIL
452 pattern.
453 * gdb.threads/tls-shared.exp: Don't use gdb_suppress_entire_file.
454 * gdb.threads/tls.exp: Recognize one case of the host library not
455 supporting TLS.
456
225f2bf6
AC
4572003-07-27 Andrew Cagney <cagney@redhat.com>
458
459 * gdb.base/fileio.exp: Use SH when running commands using
460 remote_exec.
461
bcb27c9f
DJ
4622003-07-24 Daniel Jacobowitz <drow@mvista.com>
463
464 From Kei Sakamoto <sakamoto.kei@renesas.com>:
465 * gdb.base/relocate.c (dummy): New padding array.
466
3d67be83
MS
4672003-07-22 Michael Snyder <msnyder@redhat.com>
468
469 * gdb.disasm/8300s.s: Fix syntax of bsr insn.
470
471 * gdb.disasm/h8300s.exp : Minor changes in disassembler output require
472 patterns to be more general, accepting old and new output.
473 Some output chars (such as '+') also must be quoted.
474 Some addresses are displayed numerically instead of
475 symbolically.
476
57ba3b85
MS
4772003-07-23 Michael Snyder <msnyder@redhat.com>
478
686d097c
MS
479 * gdb.base/return2.exp: Don't test long-long return.
480
57ba3b85
MS
481 * gdb.disasm/t01_mov.s: New file, h8300sx disassembly tests.
482 * gdb.disasm/t01_mov.exp: Ditto.
483 * gdb.disasm/t02_mova.s: Ditto.
484 * gdb.disasm/t02_mova.exp: Ditto.
485 * gdb.disasm/t03_add.s: Ditto.
486 * gdb.disasm/t03_add.exp: Ditto.
487 * gdb.disasm/t04_sub.s: Ditto.
488 * gdb.disasm/t04_sub.exp: Ditto.
489 * gdb.disasm/t05_cmp.s: Ditto.
490 * gdb.disasm/t05_cmp.exp: Ditto.
491 * gdb.disasm/t06_ari2.s: Ditto.
492 * gdb.disasm/t06_ari2.exp: Ditto.
493 * gdb.disasm/t07_ari3.s: Ditto.
494 * gdb.disasm/t07_ari3.exp: Ditto.
495 * gdb.disasm/t08_or.s: Ditto.
496 * gdb.disasm/t08_or.exp: Ditto.
497 * gdb.disasm/t09_xor.s: Ditto.
498 * gdb.disasm/t09_xor.exp: Ditto.
499 * gdb.disasm/t10_and.s: Ditto.
500 * gdb.disasm/t10_and.exp: Ditto.
501 * gdb.disasm/t11_logs.s: Ditto.
502 * gdb.disasm/t11_logs.exp: Ditto.
503 * gdb.disasm/t12_bit.s: Ditto.
504 * gdb.disasm/t12_bit.exp: Ditto.
505 * gdb.disasm/t13_otr.s: Ditto.
506 * gdb.disasm/t13_otr.exp: Ditto.
507
e00759ef
EZ
5082003-07-22 Elena Zannoni <ezannoni@redhat.com>
509
510 * gdb.threads/tls.exp :Add kfail for 'info address' case.
511
8bc2021f
EZ
5122003-07-22 Elena Zannoni <ezannoni@redhat.com>
513
514 * gdb.threads/tls.c : New file.
515 * gdb.threads/tls.exp : New file.
516 * gdb.threads/tls-main.c : New file.
517 * gdb.threads/tls-shared.c : New file.
518 * gdb.threads/tls-shared.exp : New file.
519
89320c4c
AS
5202003-07-22 Andreas Schwab <schwab@suse.de>
521
522 * gdb.asm/powerpc.inc (gdbasm_startup): Force alignment.
523
180dea7c
AS
5242003-07-20 Andreas Schwab <schwab@suse.de>
525
526 * gdb.base/selftest.exp (do_steps_and_nexts): Add more patterns
527 due to insn reordering.
528
0714963c
AC
5292003-07-15 Andrew Cagney <cagney@redhat.com>
530
531 * gdb.asm/asm-source.exp: Do not allow "start" in the backtrace.
532
98a23b3f
MC
5332003-07-15 Michael Chastain <mec@shout.net>
534
535 * gdb.base/gdb1250.exp: New file.
536 * gdb.base/gdb1250.c: New file.
537
27e417a2
ML
5382003-07-09 Michal Ludvig <mludvig@suse.cz>
539
540 * gdb.c++/templates.exp (test_ptype_of_templates): Recognize
541 expansion of size_t to 'unsigned long', not only to 'unsigned'.
542
8bc2021f
EZ
5432003-07-09 Elena Zannoni <ezannoni@redhat.com>
544
545 * gdb.threads/tls.c: New file.
546 * gdb.threads/tls.exp: New file.
547 * gdb.threads/tls-main.c: New file.
548 * gdb.threads/tls-shared.c: New file.
549 * gdb.threads/tls-shared.exp: New file.
550
d99968dc
EZ
5512003-07-09 Elena Zannoni <ezannoni@redhat.com>
552
553 * gdb.base/annota1.exp: Make sure that we properly escape the
554 full path of the source file. Xfail more permissive patterns,
555 due to a compiler debug info problem.
556
83876b3b
AS
5572003-07-07 Andreas Schwab <schwab@suse.de>
558
2705e972
AS
559 * gdb.asm/m68k.inc: New file.
560 * gdb.asm/asm-source.exp: Use it for m68k-*-*.
561
83876b3b
AS
562 * gdb.objc/basicclass.exp ("Call an Objective-C method with no
563 arguments"): Also match negative number.
564
565 * gdb.base/float.exp ("info float"): Add test for m68k-*-*.
566
3a871b37
DJ
5672003-07-03 Daniel Jacobowitz <drow@mvista.com>
568
569 * gdb.base/store.c (charest): New typedef.
570 (add_char): Rename to add_charest, update.
571 (wack_char): Rename to wack_charest, update types. Return l + r
572 to keep r live across the call.
573 (wack_short, wack_int, wack_long, wack_longest, wack_float)
574 (wack_double, wack_doublest): Return l + r to keep r live across
575 the call.
576 * gdb.base/store.exp: Accomodate store.c changes.
577
b2a7f303
DC
5782003-06-30 David Carlton <carlton@kealia.com>
579
580 * gdb.c++/maint.exp (test_invalid_name): New.
581 (test_first_component): Add tests for invalid names.
582
3c6cb4a1
MC
5832003-06-29 Michael Chastain <mec@shout.net>
584
585 * gdb.c++/inherit.exp (test_print_svi_classes): Accept gdb
586 output of '<VTT for class>' for virtual base classes.
587
f1c2644b
DJ
5882003-06-29 Daniel Jacobowitz <drow@mvista.com>
589
590 * gdb.base/completion.exp: Tab-complete "complet" instead of
591 "compl".
592 * gdb.base/complex.exp, gdb.base/complex.c: New files.
593
18080350
DJ
5942003-06-29 Daniel Jacobowitz <drow@mvista.com>
595
596 * gdb.base/constvars.exp: Remove most xfails for GCC 3.x.
597 * gdb.base/volatile.exp: Likewise.
598
f56973f8
DJ
5992003-06-29 Daniel Jacobowitz <drow@mvista.com>
600
601 * gdb.threads/print-threads.exp (test_all_threads): Add kfail for
602 gdb/1265.
603
6042003-06-28 Michael Chastain <mec@shout.net>
48fe539f
DJ
605 Daniel Jacobowitz <drow@mvista.com>
606
607 * gdb.base/selftest.exp (do_steps_and_nexts): Increase maximum
608 initial line count of 'captured_main' from 26 to 32.
609 (test_with_self): Allow xmalloc call to be interleaved with the
610 preceding two lines.
611
e766d4d6
JB
6122003-06-24 Joel Brobecker <brobecker@gnat.com>
613
614 * gdb.base/bang.exp: New testcase.
615
f125c9a4
JB
6162003-06-23 Joel Brobecker <brobecker@gnat.com>
617
618 * gdb.base/langs.exp: Add some tests for the "minimal" language
619 support.
620
6e25beaf
EZ
6212003-06-23 Elena Zannoni <ezannoni@redhat.com>
622
623 * gdb.objc/basicclass.exp: Return -1 if we cannot compile
624 the testcase.
625
2f816dda
DJ
6262003-06-22 Daniel Jacobowitz <drow@mvista.com>
627
628 * gdb.base/relocate.exp: Test add-symbol-file with a variable
629 offset.
630
db5a5748
DJ
6312003-06-22 Daniel Jacobowitz <drow@mvista.com>
632
633 * gdb.c++/pr-1210.cc: New file.
634 * gdb.c++/pr-1210.exp: New file.
635
1df0c130
DJ
6362003-06-21 Daniel Jacobowitz <drow@mvista.com>
637
638 * lib/mi-support.exp (mi_run_cmd): Expect an MI response to
639 000-exec-continue.
640
a92feac0
MK
6412003-06-15 Mark Kettenis <kettenis@gnu.org>
642
643 * gdb.base/attach.exp: Use -1 for the ID of a nonexistent process
644 on *-*-*bsd* instead of *-*-freebsd*.
645
81a58f5b
AC
6462003-06-14 Andrew Cagney <cagney@redhat.com>
647
648 * gdb.base/store.exp: Test longest and doublest. Test all
649 parameters. Weaken return statement match.
650 * gdb.base/store.c: Add longest and doublest - aka long long and
651 long double functions. Put all parameters into local register
652 variables. Use negative values.
653
b257a0d3
AC
6542003-06-14 Andrew Cagney <cagney@redhat.com>
655
656 * gdb.base/fileio.c: Include <errno.h>, and <sys/wait.h>. Gag
657 -Wformat errors. Add lost line. Use WEXITSTATUS to get system
658 exit status.
659 * gdb.base/fileio.exp: Disable target when nointerrupts and
660 noinferiorio, instead of limiting it to remote. Use remote_exec
661 instead of system.
662
21c38304
JJ
6632003-06-12 Jeff Johnston <jjohnstn@redhat.com>
664
665 * gdb.base/float.exp: Add ia64 support.
666
1bcdb424
CV
6672003-06-12 Corinna Vinschen <vinschen@redhat.com>
668
669 * gdb.base/fileio.exp: Run only on remote targets.
670
6aeb981f
CV
6712003-06-10 Corinna Vinschen <vinschen@redhat.com>
672
673 * gdb.base/fileio.c: New file, testing File-I/O.
674 * gdb.base/fileio.exp: Ditto.
675
53df362e
RG
6762003-06-09 Raoul Gough <RaoulGough@yahoo.co.uk>
677
678 * gdb.base/shreloc.exp: New file, check symbol values obtained from
679 shared objects after relocation at load time (gdb PR/1132).
680 * gdb.base/shreloc.c, gdb.base/shreloc1.c, gdb.base/shreloc2.c:
681 as above, part of the shared object relocation test.
682
ffee1b46
MK
6832003-06-08 Mark Kettenis <kettenis@gnu.org>
684
b5ca3722
MK
685 * gdb.base/readline.exp: Add tests for operate-and-get-next with a
686 fully filled history list.
687 * gdb.base/gdb_history: New file.
688
03ed860d
MK
689 * gdb.base/signals.exp: XFAIL "continue to func1" on
690 i*86-*-freebsd*.
691
ffee1b46
MK
692 * gdb.base/attach.exp: When trying to attach to a nonexistent
693 process, make it possible to specify the PID based on the target,
694 and do so for *-*-freebsd*.
695
d80dbb52
RH
6962003-06-02 Richard Henderson <rth@redhat.com>
697
698 * gdb.base/float.exp: Add expected regexp for alpha-*-*.
699
6dd77b81
RH
7002003-06-02 Richard Henderson <rth@redhat.com>
701
702 * gdb.base/selftest.exp: Next over lim_at_start initialization.
703
f6347e16
RH
7042003-06-02 Richard Henderson <rth@redhat.com>
705
706 * gdb.base/dump.exp [alpha*-*-*]: Add -taso linker switch.
707
2c161407
DJ
7082003-06-01 Daniel Jacobowitz <drow@mvista.com>
709
710 * gdb.asm/asm-source.exp: Dissassemble from &globalvar instead
711 of globalvar.
712
572eb746
MK
7132003-06-01 Mark Kettenis <kettenis@gnu.org>
714
715 * gdb.asm/asm-source.exp: Check for memory read errors in
716 disassembler test on *BSD too.
717
9e9617a5
RH
7182003-06-01 Richard Henderson <rth@redhat.com>
719
720 * gdb.asm/alpha.inc (gdbasm_enter): Use numeric register names
721 for .frame.
722 (gdbasm_call): Lose ldgp.
723 (gdbasm_startup): Add frame information.
724 * gdb.asm/asm-source.exp (alpha*-*): Add -no-mdebug to asm-flags.
725
7b34ad4e
MK
7262003-05-31 Mark Kettenis <kettenis@gnu.org>
727
728 * gdb.base/float.exp: Expect similar output for x86_64-*-* as for
729 i?86-*-*.
730
10059fdf
MK
7312003-05-30 Mark Kettenis <kettenis@gnu.org>
732
733 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
734 FreeBSD.
735
acf4b816
RH
7362003-05-29 Richard Henderson <rth@redhat.com>
737
738 * gdb.asm/alpha.inc: New file.
739 * gdb.asm/asm-source.exp: Use it.
740
e9ecd949
JB
7412003-05-29 Jim Blandy <jimb@redhat.com>
742
743 * gdb.base/corefile.exp: Find corefiles on Linux, which names them
744 'core.PID'.
745
e3e5a4f3
JB
7462003-05-22 Jim Blandy <jimb@redhat.com>
747
748 * gdb.base/corefile.exp: Tolerate stuff after argument parens in
749 backtrace.
750
72fe3d25
DC
7512003-05-20 David Carlton <carlton@math.stanford.edu>
752
753 * gdb.c++/namespace1.cc: Actually do 'cvs add' before committing
754 this time.
755
58da2eb2
DC
7562003-05-19 David Carlton <carlton@bactrian.org>
757
758 * gdb.c++/rtti.exp: New file, containing tests for PR c++/488.
759 * gdb.c++/rtti.h, gdb.c++/rtti1.cc, gdb.c++/rtti2.cc: Ditto.
760
1fcb5155
DC
7612003-05-19 David Carlton <carlton@bactrian.org>
762
763 * gdb.c++/namespace.exp: Add namespace scope and anonymous
764 namespace tests.
765 Bump copyright date.
766 * gdb.c++/namespace.cc: Add anonymous namespace and namespace C.
767 (main): Call C::D::marker2.
768 * gdb.c++/namespace1.cc: New file.
769
85e85163
JJ
7702003-05-14 Jeff Johnston <jjohnstn@redhat.com>
771
772 Roland McGrath <roland@redhat.com>
773 * gdb.threads/linux-dp.exp: Account for fact that in nptl model
774 there is no manager thread.
775
a25fbfec
JJ
7762003-05-08 Jeff Johnston <jjohnstn@redhat.com>
777
778 * gdb.threads/schedlock.exp: Remove assumption that all threads
779 will run in a particular small time slice. Also ensure we break
780 in one of the child threads rather than the main thread.
781
be375bae
JB
7822003-05-07 Jim Blandy <jimb@redhat.com>
783
09bf6082
JB
784 Add support for assembly source testing on the s390x.
785 * gdb.asm/asm-source.exp: Add a case for the s390x-*-*
786 architecture.
787 * gdb.asm/s390x.inc: New file.
788
be375bae
JB
789 * gdb.asm/asm-source.exp: Use a 'switch -glob' statement, not a
790 succession of 'if' statements.
791
00905d52
AC
7922003-05-05 Andrew Cagney <cagney@redhat.com>
793
794 * gdb.base/maint.exp: Add tests for "maint print dummy-frames".
795
b1e29e33
AC
7962003-05-05 Andrew Cagney <cagney@redhat.com>
797
798 * gdb.base/watchpoint.exp: Rename CALL_DUMMY_BREAKPOINT_OFFSET to
799 DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET in comments.
800
e33d66ec
EZ
8012003-05-02 Elena Zannoni <ezannoni@redhat.com>
802
803 * gdb.base/charset.exp: Update based on new behavior of set/show
804 charset commands.
805
2b6fd0d8
AC
8062003-05-01 Andrew Cagney <cagney@redhat.com>
807
808 * gdb.asm/asm-source.exp: Check that "disassm" and "x/i" of a
809 variable do not give memory errors.
810
130cacce
AF
8112003-04-30 Adam Fedor <fedor@gnu.org>
812
813 * Makefile.in (ALL_SUBDIRS): Add gdb.objc
814 * configure.in (AC_OUTPUT): Add gdb.objc/Makefile
815 * gdb.objc/Makefile.in, gdb.objc/basicclass.exp,
816 gdb.objc/basicclass.m: : New files
817
818 * lib/gdb.exp (gdb_compile_objc): New procedure.
819
bea71854
DJ
8202003-04-27 Daniel Jacobowitz <drow@mvista.com>
821
822 * gdb.base/signals.exp: Make backtrace tests more specific.
823
0f20eeea
DC
8242003-04-23 David Carlton <carlton@bactrian.org>
825
826 * gdb.c++/maint.exp (test_first_component): Add tests for
827 'operator' in more locations.
828
c8c4d8dc
KB
8292003-04-16 Kevin Buettner <kevinb@redhat.com>
830
831 * gdb.base/args.exp: Invoke gdb_load for simulator targets.
832
3fe60e3c
EZ
8332003-04-16 Elena Zannoni <ezannoni@redhat.com>
834
835 * gdb.base/completion.exp: Make 'info func mark' complete on 'info
836 func marke' instead. Update test name.
837
9219021c
DC
8382003-04-15 David Carlton <carlton@math.stanford.edu>
839
840 * gdb.c++/maint.exp: New file.
841
5dd55bdd
EZ
8422003-04-14 Elena Zannoni <ezannoni@redhat.com>
843
844 * gdb.threads/schedlock.c: Change type of thread function argument
845 to long, to avoid warnings on 64-bit platforms.
846
00890572
EZ
8472003-04-14 Elena Zannoni <ezannoni@redhat.com>
848
849 * gdb.base/attach.exp: Add new message from ptrace in case of
850 attaching to nonexistent process.
851
93201743
JB
8522003-04-11 Jim Blandy <jimb@redhat.com>
853
854 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
855 gdb.c++/userdef.cc: Place comments on the lines to which the
856 marker function might return.
857 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
858 gdb.c++/userdef.exp: Look for those comments to check that we've
859 returned to the right place, instead of checking line numbers.
860
2a11c64d
EZ
8612003-04-11 Elena Zannoni <ezannoni@redhat.com>
862
863 * gdb.threads/pthreads.exp (test_startup): When setting a breakpoint
864 match on sourcefile name, instead of directory name.
865
68ab8fc5
EZ
8662003-04-10 Elena Zannoni <ezannoni@redhat.com>
867
868 * gdb.base/completion.exp: Use string_to_regexp to match the
869 working directory name.
870
5624293a
JB
8712003-04-09 Jim Blandy <jimb@redhat.com>
872
873 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
874 gdb.c++/userdef.exp: If GDB fails to restore the selected frame
875 after an inferior function call, report the failure, but allow the
876 test to continue.
877
f1f02ee4
SC
8782003-04-05 Stephane Carrez <stcarrez@nerim.fr>
879
880 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
881 with -DPROTOTYPES.
882
6eb79af0
SC
8832003-04-05 Stephane Carrez <stcarrez@nerim.fr>
884
885 * gdb.base/break.exp: Revert last patch.
886
8dfb4cf0
SC
8872003-04-04 Stephane Carrez <stcarrez@nerim.fr>
888
889 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
890 with -DPROTOTYPES.
891
ed4c619a
AC
8922003-04-02 Andrew Cagney <cagney@redhat.com>
893
894 * gdb.base/callfuncs.exp: Make "print add" messages unique.
895 * gdb.base/ending-run.exp: Put spaces around "breakpoint" to stop
896 matching directories by the name breakpoint.
897 * gdb.base/pointers.exp: Make "ptype pppC" message consistent.
898 Make "continue to marker1" consistent.
899 * gdb.base/call-rt-st.exp: Make "finish out from loop_count"
900 message consistent.
901 * lib/gdb.exp: Put "the program is no longer running", and "the
902 program exited" in parenthesis.
903 * lib/mi-support.exp: Ditto.
904
4e35d5f0
BR
9052003-04-02 Bob Rossi <bob_rossi@cox.net>
906
907 * gdb.mi/mi-file.exp: New file for -file-list-exec-source-file.
908
71900fe8
AC
9092003-03-29 Andrew Cagney <cagney@redhat.com>
910
911 * gdb.base/sizeof.c (main): Print the value of '\377'.
912 * gdb.base/sizeof.exp: Check the sign of '\377'.
913
c0655a16
MC
9142003-03-27 Michael Chastain <mec@shout.net>
915
916 * gdb.base/gdb1090.exp: New file.
917 * gdb.base/gdb1090.cc: New file.
918
5b2a3989
JB
9192003-03-27 J. Brobecker <brobecker@gnat.com>
920
921 * gdb.gdb/observer.exp: New regression test.
922
79876890
MC
9232003-03-27 Michael Chastain <mec@shout.net>
924
925 * gdb.base/list.exp: Remove setup_xfail_format for DWARF 1.
926 * gdb.base/ptype.exp: Likewise.
927
6eac95e3
CV
9282003-03-27 Corinna Vinschen <vinschen@redhat.com>
929
930 * gdb.c++/casts.exp: Fix startup to run also on embedded targets.
931
e8c71839
MC
9322003-03-26 Michael Chastain <mec@shout.net>
933
934 * gdb.base/ptype.exp: Actually use some typedef'd types.
935
71b10041
SC
9362003-03-21 Stephane Carrez <stcarrez@nerim.fr>
937
938 * gdb.asm/asm-source.exp: Set asm-arch for m6811 and m6812.
939 * gdb.asm/m68hc11.inc: New file for HC11/HC12 macros.
940
2512cf80
CV
9412003-03-20 Corinna Vinschen <vinschen@redhat.com>
942
943 * gdb.base/default.exp: Fix regular expression.
944
0d195a4f
CV
9452003-03-20 Corinna Vinschen <vinschen@redhat.com>
946
947 * gdb.base/args.exp: Fix regular expression.
948
8a2dbca8
CV
9492003-03-20 Corinna Vinschen <vinschen@redhat.com>
950
951 * gdb.base/help.exp: Allow Win32 child process.
952
bf028682
CV
9532003-03-20 Corinna Vinschen <vinschen@redhat.com>
954
955 * gdb.base/ending-run.exp: Check for Cygwin specific wrapper function
956 when stepping out of main().
957
182dbe85
CV
9582003-03-20 Corinna Vinschen <vinschen@redhat.com>
959
960 * gdb.base/default.exp: Check for win32 specific message when calling
961 "run" without executable.
962
d67a6ba5
CV
9632003-03-20 Corinna Vinschen <vinschen@redhat.com>
964
965 * gdb.base/args.exp: Expect .exe in output.
966
a955b5bb
CV
9672003-03-20 Corinna Vinschen <vinschen@redhat.com>
968
969 * gdb.asm/asm-source.exp: Add appropriate --entry linker flag for
970 Cygwin native.
971
bf6bad4b
AC
9722003-03-17 Andrew Cagney <cagney@redhat.com>
973
974 From Elena Zannoni <ezannoni@redhat.com>. Test e500 abi and
975 vector registes.
976 * gdb.arch/e500-regs.c, gdb.arch/e500-regs.exp: New files.
977 * gdb.arch/e500-abi.c, gdb.arch/e500-abi.exp: New files.
978
293e9a31
DC
9792003-03-17 David Carlton <carlton@math.stanford.edu>
980
981 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): New
982 test, for PR breakpoints/38.
983 Call test_watchpoint_and_breakpoint.
984 * gdb.base/watchpoint.c (func3): New function.
985 (main): Call func3.
986
5330f2db
DC
9872003-03-04 David Carlton <carlton@math.stanford.edu>
988
989 * gdb.c++/templates.exp (do_tests): Accept valid const in "print
990 Garply<Garply<char> >:: garply".
991 (test_ptype_of_templates): KFAIL "ptype T5<int>" and "ptype t5i"
992 with respect to PR c++/1111; note also PR c++/1113.
993 (test_template_breakpoints): KFAIL "constructor breakpoint" with
994 respect to PR c++/1062.
995 KFAIL "destructor breakpoint" with respect to PR c++/1112.
996
6ece72da
DC
9972003-03-03 David Carlton <carlton@math.stanford.edu>
998
999 * gdb.c++/classes.exp (test_enums): KFAIL "ptype obj_with_enum"
1000 with respect to PR c++/57.
1001 KFAIL "print (ClassWithEnum::PrivEnum) 42" with respect to PR
1002 c++/826.
1003 Create "print ('ClassWithEnum::PrivEnum') 42"; KFAIL it with
1004 respect to PR c++/57.
1005
85ca1584
DC
10062003-03-03 David Carlton <carlton@math.stanford.edu>
1007
1008 * gdb.c++/templates.exp (do_tests): Convert the KFAILs with
1009 respect to PR c++/33 into FAILs.
1010
98e9c5b8
MC
10112003-03-03 Michael Chastain <mec@shout.net>
1012
7bedbf27
MC
1013 * configure.in: Update copyright years.
1014
10152003-03-03 Michael Chastain <mec@shout.net>
1016
1017 * Makefile.in: Update copyright years.
98e9c5b8 1018
f683e100
DC
10192003-02-28 David Carlton <carlton@math.stanford.edu>
1020
1021 * gdb.c++/classes.exp (test_ptype_class_objects): Accept it if we
1022 print class instead of struct and/or superfluous protection
1023 specifiers, as long as the resulting output is equivalent to the
1024 source code.
1025 Delete FIXME from end of messages on tests that don't need
1026 fixing.
1027
a9e0cf2c
DC
10282003-02-28 David Carlton <carlton@math.stanford.edu>
1029
1030 * gdb.c++/templates.exp (do_tests): Allow const in the two
1031 Foo<volatile char *>::foo tests.
1032
e8d359df
MS
10332003-02-27 Michael Snyder <msnyder@redhat.com>
1034
1035 * gdb.base/restore.c (main): Return zero, so exit code
1036 will be consistant.
1037
0b71dc91
DC
10382003-02-26 David Carlton <carlton@math.stanford.edu>
1039
1040 * gdb.c++/templates.exp (do_tests): KFAIL the "print Foo<volatile
1041 char *>::foo" test with respect to PR c++/33. Create a new test
1042 which is identical to that one except that it doesn't put the
1043 space between the "char" and the "*"; KFAIL it, too.
1044
dd14ab43
DC
10452003-02-26 David Carlton <carlton@math.stanford.edu>
1046
1047 * gdb.c++/templates.exp (do_tests): Convert XFAILs about printing
1048 template types into either PASSes or KFAILs (corresponding to PR
1049 c++/57). Tweak indentation. Update copyright.
1050
1146c7f1
SC
10512003-02-23 Stephane Carrez <stcarrez@nerim.fr>
1052
1053 * lib/gdb.exp: Don't execute C++ tests on m6811/m6812 targets.
1054
74641dfb
MC
10552003-02-13 Michael Chastain <mec@shout.net>
1056
1057 * gdb.base/exprs.exp: Remove i960 remnants.
1058 * gdb.base/funcargs.exp: Likewise.
1059 * gdb.base/list.exp: Likewise.
1060 * gdb.base/ptype.exp: Likewise.
1061
559cd2d0
DC
10622003-02-14 David Carlton <carlton@math.stanford.edu>
1063
1064 * gdb.c++/virtfunc.exp (test_virtual_calls): Change 'print
1065 pEe->D::vg()" from XFAIL to KFAIL.
1066
c4f90d87
JM
10672003-02-13 Jason Molenda (jmolenda@apple.com)
1068
1069 * gdb.base/maint.exp: Update maint print statistics regexp to include
1070 new entries.
1071
cbc4d97c
MC
10722003-02-13 Michael Chastain <mec@shout.net>
1073
1074 * gdb.c++/inherit.exp: Remove call to get_debug_format.
1075
40f235b7
MC
10762003-02-12 Michael Chastain <mec@shout.net>
1077
1078 * gdb.c++/classes.exp: Remove setup_xfail_format for DWARF 1.
1079 * gdb.c++/inherit.exp: Likewise.
1080 * gdb.c++/cplusfuncs.exp: Remove suppression logic for DWARF 1.
1081 * gdb.c++/templates.exp: Likewise.
1082 * gdb.c++/virtfunc.exp: Likewise.
1083
c56716b0
JM
10842003-02-06 Jason Molenda (jason-cl@molenda.com)
1085
1086 * gdb.mi/mi-syn-frame.c (subroutine): Add a comment explaining
1087 why the code is written that way.
1088
070afcf8
MC
10892003-02-05 Michael Chastain <mec@shout.net>
1090
1091 * gdb.base/dump.exp: Add missing copyright line.
1092
5d0331e5
JM
10932003-02-05 Jason Molenda (jason-cl@molenda.com)
1094
f7ae6d3e 1095 * gdb.mi/mi-syn-frame.c (subroutine): Add an extra statement
5d0331e5
JM
1096 at the beginning so the breakpoint doesn't get set on the loop.
1097
92851186
MC
10982003-02-05 Michael Chastain <mec@shout.net>
1099
1100 * gdb.c++/local.exp: Relax the test for PR gdb/825 to accept
1101 output for configurations with gcc 2.95.3.
1102
cbf1e085
AC
11032003-02-05 Keith Seitz <keiths@redhat.com>
1104 Andrew Cagney <ac131313@redhat.com>
1105
1106 * gdb.mi/mi-cli.exp: New file.
1107
29518e1e
MC
11082003-02-04 Michael Chastain <mec@shout.net>
1109
1110 * gdb.c++/anon-union.exp: Do not call gdb_suppress_entire_file.
1111 Call perror and then continue.
1112
5af1d5f3
MC
11132003-02-03 Michael Chastain <mec@shout.net>
1114
1115 * gdb.c++/pr-1023.cc: New file.
1116 * gdb.c++/pr-1023.exp: New file.
1117
6b549786
JB
11182003-02-05 Jim Blandy <jimb@redhat.com>
1119
1120 * gdb.c++/local.exp: Don't expect Local to be in scope in main;
1121 it's local to foobar. Check for it there, and check that it's not
1122 present in main.
1123 * gdb.c++/local.cc (marker2): New function.
1124 (foobar): Call marker1.
1125 (main): Call marker2 instead of marker1.
1126
67f16606
AC
11272003-02-04 Andrew Cagney <ac131313@redhat.com>
1128
1129 * gdb.disasm/mn10200.exp: Obsolete file.
1130 * gdb.trace/Makefile.in (clean mostlyclean): Remove mn10200.
1131 * gdb.disasm/Makefile.in (clean mostlyclean): Remove mn10200.
1132 * gdb.base/watchpoint.exp: Mark the mn10200 xfails as obsolete.
1133
1c5cb38e
DC
11342003-02-04 David Carlton <carlton@math.stanford.edu>
1135
1136 * gdb.c++/overload.exp: Test intToChar(1).
1137 * gdb.c++/overload.cc (intToChar): New.
1138 (main): Call intToChar.
1139
d1fe6965
DC
11402003-02-03 David Carlton <carlton@math.stanford.edu>
1141
1142 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): Add
1143 'might_kfail' arg.
1144 KFAIL some of the continue_to_bp_overloaded calls, according to
1145 PR c++/1025.
1146
9ba61c5d
MC
11472003-02-01 Michael Chastain <mec@shout.net>
1148
1149 * gdb.base/advance.c (marker1): New marker function.
1150 * gdb.base/advance.exp: When the 'advance' command lands on the
1151 return breakpoint, it can legitimately stop on either the
1152 current line or the next line. Accommodate both outcomes.
1153 * gdb.base/until.exp: Likewise.
1154
e7494ffb
AC
11552003-02-02 Andrew Cagney <ac131313@redhat.com>
1156
1157 2002-11-10 Jason Molenda (jason-cl@molenda.com):
1158 * gdb.mi/mi-var-child.exp: -var-list-children's CHILDREN field is
1159 now a list, not a tuple.
1160 * gdb.mi/mi-var-display.exp: Ditto.
1161 * gdb.mi/gdb792.exp: Ditto.
1162
075559bc
AC
11632003-02-01 Andrew Cagney <ac131313@redhat.com>
1164
1165 From 2002-11-09 Jason Molenda (jason-cl@molenda.com):
1166 * gdb.mi/mi-syn-frame.exp: New tests for synthetic frames in
1167 stack backtraces.
1168 * gdb.mi/mi-syn-frame.c: Part of same.
1169
2bd4c7b1
MK
11702003-02-01 Mark Kettenis <kettenis@gnu.org>
1171
1172 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
1173 gdb.mi/mi1-pthreads.exp: Return instead of calling
1174 gdb_suppress_entire_file.
1175
eabd8992
MS
11762003-02-01 Mark Salter <msalter@redhat.com>
1177
1178 * gdb.asm/arm.inc (gdbasm_startup): Clear frame pointer, not sp.
1179
71469e2f
MS
11802003-01-31 Mark Salter <msalter@redhat.com>
1181
1182 * lib/mi-support.exp (mi_gdb_load): Support remote targets.
1183 Support empty arg.
1184
38a94d44
MC
11852003-01-30 Michael Chastain <mec@shout.net>
1186
1187 * lib/gdb.exp: Revert patch of 2003-01-06, which set LC_ALL.
1188 This was a workaround for a UTF-8 bug in readline 4.3. The bug
1189 has been fixed in gdb/readline on 2003-01-09.
1190
19ea9e73
MS
11912003-01-29 Michael Snyder <msnyder@redhat.com>
1192
e8d359df
MS
1193 * gdb.base/maint.exp: Allow for leading underscore in symbol.
1194 * gdb.base/display.exp: Allow for leading underscore in symbol.
19ea9e73
MS
1195 * gdb.base/args.exp: Skip if target does not support args passing.
1196
2307bd6a
DJ
11972003-01-22 Daniel Jacobowitz <drow@mvista.com>
1198
19ea9e73 1199 * lib/gdb.exp (gdb_test_multiple): New function, cloned from
2307bd6a
DJ
1200 gdb_test. Accept a list of expect arguments as the third
1201 parameter.
1202 (gdb_test): Use it.
1203
f2dd3617
EZ
12042003-01-20 Elena Zannoni <ezannoni@redhat.com>
1205
1206 * gdb.arch/altivec-abi.exp: Set variable 'srcfile' differently, to
1207 allow for different test tree configurations. Update some
1208 tescases accordingly.
1209 * gdb.arch/altivec-regs.exp: Ditto.
1210 * gdb.asm/asm-source.exp: Ditto.
1211 * gdb.base/advance.exp: Ditto.
1212 * gdb.base/display.exp: Ditto.
1213 * gdb.base/long_long.exp: Ditto.
1214 * gdb.base/mips_pro.exp: Ditto.
1215 * gdb.base/overlays.exp: Ditto.
1216 * gdb.base/relocate.exp: Ditto.
1217 * gdb.base/setshow.exp: Ditto.
1218 * gdb.base/step-line.exp: Ditto.
1219 * gdb.base/step-test.exp: Ditto.
1220 * gdb.base/until.exp: Ditto.
1221 * gdb.c++/virtfunc.exp: Get rid of variable 'src'.
1222
c71cdefd
DC
12232003-01-17 David Carlton <carlton@math.stanford.edu>
1224
1225 * gdb.c++/demangle.exp (test_lucid_style_demangling): KFAIL test
1226 corresponding to PR c++/945.
1227 Update copyright.
1228
fdba05d7
DC
12292003-01-17 David Carlton <carlton@math.stanford.edu>
1230
1231 * gdb.c++/inherit.exp (test_print_mi_members): KFAIL tests
1232 corresponding to PR c++/68.
1233
12342003-01-17 David Carlton <carlton@math.stanford.edu>
d2b29e01
DC
1235
1236 * gdb.c++/cplusfuncs.exp (print_addr_2_kfail): New procedure.
1237 (test_paddr_hairy_functions): Call print_addr_2_kfail for
1238 hairyfunc5 through hairyfunc7. KFAIL for PR c++/19.
1239
c362c33a
EZ
12402003-01-15 Elena Zannoni <ezannoni@redhat.com>
1241
0fbc361c
EZ
1242 * gdb.base/break.exp: Fix change of default location, because of
1243 removal of until tests.
1244 * gdb.base/help.exp: Update test for new 'until' help message.
1245 Add test for help on 'advance'.
c362c33a
EZ
1246 * gdb.base/args.exp: Fix foobar with GDBFLAGS global.
1247
dabf8a35
MK
12482003-01-15 Mark Kettenis <kettenis@gnu.org>
1249
1250 * gdb.base/default.exp: Adapt "info float" test for recent changes
1251 to that command. Add test for "info vector".
1252 * gdb.base/float.exp: New file. Add test for "info float" that
1253 resembles the old test in gdb.base/default.exp.
1254
a1769aca
DC
12552003-01-15 David Carlton <carlton@math.stanford.edu>
1256
1257 * gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot.
1258
82025e13
EZ
12592003-01-15 Elena Zannoni <ezannoni@redhat.com>
1260
1261 * gdb.base/break.exp: Move the tests of until command from here...
1262 * gdb.base/until.exp: ... to here. New file. Add other tests.
1263 * gdb.base/advance.c: New file.
1264 * gdb.base/advance.exp: New file.
1265
8f9ab801
EZ
12662003-01-14 Elena Zannoni <ezannoni@redhat.com>
1267
1268 * gdb.base/args.c: New file.
1269 * gdb.base/args.exp: New file.
1270
9ae66589
DJ
12712003-01-14 Daniel Jacobowitz <drow@mvista.com>
1272
1273 * gdb.c++/virtfunc.exp: Remove fixed XFAIL.
1274
8d77e5c3
DJ
12752003-01-14 Daniel Jacobowitz <drow@mvista.com>
1276
1277 * gdb.threads/killed.exp: Use KFAIL for gdb/568.
1278
12d2f0a1
DJ
12792003-01-14 Daniel Jacobowitz <drow@mvista.com>
1280
1281 * gdb.base/constvars.exp: Remove two extra XFAILs. Update copyright
1282 dates.
1283
6ca37014
DJ
12842003-01-13 Daniel Jacobowitz <drow@mvista.com>
1285
1286 * gdb.c++/printmethod.exp (print virtual method): Accept "(void)".
1287
b0023472
DJ
12882003-01-13 Daniel Jacobowitz <drow@mvista.com>
1289
1290 * gdb.base/printcmds.exp: Enable setup_kfail for gdb/538
1291 (ptype &*"foo").
1292 * gdb.c++/local.exp: Enable setup_kfail for gdb/482.
1293
d6abaea5
DJ
12942002-01-13 Daniel Jacobowitz <drow@mvista.com>
1295
1296 * gdb.mi/mi-console.exp: Remove extra "(known bug)".
1297 * gdb.mi/mi1-console.exp: Likewise.
1298
dfd536a7
DJ
12992002-01-13 Daniel Jacobowitz <drow@mvista.com>
1300
1301 * gdb.mi/mi-console.exp: Add KFAIL for "Hello message (known bug)".
1302 * gdb.mi/mi1-console.exp: Likewise.
1303
a1fb14a2
DJ
13042003-01-13 Daniel Jacobowitz <drow@mvista.com>
1305
1306 * gdb.c++/overload.exp: Remove some fixed XFAILs.
1307
c4cf40b7
DJ
13082003-01-09 Daniel Jacobowitz <drow@mvista.com>
1309
1310 * gdb.base/detach.exp: New test.
1311
696d5a5b
DJ
13122003-01-09 Daniel Jacobowitz <drow@mvista.com>
1313
1314 * Makefile.in (ALL_SUBDIRS): New variable.
1315 (subdirs, clean, distclean): Use it.
1316 * gdb.arch/Makefile.in: Clean up Makefile. Remove rules for
1317 regenerating Makefile, since it is generated from the top level.
1318 * gdb.asm/Makefile.in: Likewise.
1319 * gdb.base/Makefile.in: Likewise.
1320 * gdb.c++/Makefile.in: Likewise.
1321 * gdb.disasm/Makefile.in: Likewise.
1322 * gdb.java/Makefile.in: Likewise.
1323 * gdb.mi/Makefile.in: Likewise.
1324 * gdb.threads/Makefile.in: Likewise.
1325 * gdb.trace/Makefile.in: Likewise.
1326
754533e4
DC
13272003-01-09 David Carlton <carlton@math.stanford.edu>
1328
1329 * gdb.c++/annota2.exp: KFAIL "watch triggered on a.x".
1330 Add copyright year 2003.
1331
d8b3e9ee
MC
13322003-01-06 Michael Chastain <mec@shout.net>
1333
1334 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set):
1335 When selecting a thread, 'line' and 'file' are optional.
1336 * gdb.mi/mi1-pthreads.exp: Likewise.
1337
8e9e0fe6
AS
13382003-01-06 Andreas Schwab <schwab@suse.de>
1339
1340 * lib/gdb.exp: Set LC_ALL to "C" to avoid spurious testsuite
1341 failures.
1342
b5ab8ff3
DJ
13432003-01-04 Daniel Jacobowitz <drow@mvista.com>
1344
1345 Fix PR gdb/844
1346 * lib/gdb.exp (gdb_compile): Handle "quiet" option.
1347 (gdb_compile_pthreads): Pass "quiet" to gdb_compile.
1348
1349 * gdb.threads/gcore-thread.exp: Use gdb_compile_pthreads. Return
1350 instead of calling gdb_suppress_entire_file.
1351 * gdb.threads/print-threads.exp: Likewise.
1352 * gdb.threads/schedlock.exp: Likewise.
1353
1354 * gdb.threads/killed.exp: Return instead of calling
1355 gdb_suppress_entire_file.
1356 * gdb.threads/linux-dp.exp: Likewise.
1357 * gdb.threads/pthreads.exp: Likewise.
1358
1e698235
DJ
13592003-01-04 Daniel Jacobowitz <drow@mvista.com>
1360
1361 * gdb.base/callfuncs.exp: Don't XFAIL unprototyped functions for
1362 stabs.
1363 * gdb.base/completion.exp: Allow marker1(void) as well as marker1().
1364 * gdb.base/whatis.exp: Always allow (void) after function names.
1365
147ff08c
DJ
13662003-01-04 Daniel Jacobowitz <drow@mvista.com>
1367
1368 * gdb.c++/casts.exp: Correct regexp.
1369
dc62bfc2
MK
13702003-01-04 Mark Kettenis <kettenis@gnu.org>
1371
1372 * configure.in: Call AC_CONFIG_HEADER. Don't call
1373 AC_CONFIG_SUBDIRS on gdb.arch, gdb.asm, gdb.base gdb.c++ gdb.java,
1374 gdb.disasm, gdb.mi, gdb.threads and gdb.trace. Call
1375 AC_CHECK_HEADERS on pthread.h. Put Makefiles in the
1376 aforementioned directories in the AC_OUPUT call.
1377 * config.hin: New file.
1378 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
1379 gdb.mi/mi1-pthreads.exp, gdb.threads/gcore-thread.exp,
1380 gdb.threads/killed.exp, gdb.threads/print-threads.exp,
1381 gdb.threads/pthreads.exp, gdb.threads/schedlock.exp: Make sure we
1382 pass -I$objdir instead of -I$objdir/$subdir in compilation.
1383 * gdb.arch/configure.in, gdb.arch/configure, gdb.asm/configure.in,
1384 gdb.asm/configure, gdb.base/configure.in, gdb.base/configure,
1385 gdb.c++/configure.in, gdb.c++/configure, gdb.disasm/configure.in,
1386 gdb.disasm/configure, gdb.java/configure.in, gdb.java/configure,
1387 gdb.mi/configure.in, gdb.mi/configure, gdb.mi/config.in,
1388 gdb.threads/configure.in, gdb.threads/configure,
1389 gdb.threads/config.in, gdb.trace/configure.in,
1390 gdb.trace/configure: Removed.
1391
77afa639
MC
13922003-01-03 Michael Chastain <mec@shout.net>
1393
1394 * gdb.base/miscexprs.c: Fix PR gdb/697, "buglet in
1395 testsuite/gdb.base/miscexprs.c, off-by-1 array reference".
1396
7634bb6e
DJ
13972003-01-03 Daniel Jacobowitz <drow@mvista.com>
1398
1399 * gdb.base/store.exp: Fix regular expressions.
1400
b39c905e
MK
14012002-12-28 Mark Kettenis <kettenis@gnu.org>
1402
1403 * configure.in: Rewrite.
1404 * configure: Regenerated.
1405
0a8551dd
DC
14062003-01-03 David Carlton <carlton@math.stanford.edu>
1407
1408 * gdb.base/psymtab.exp: New file.
1409 * gdb.base/psymtab1.c: Ditto.
1410 * gdb.base/psymtab2.c: Ditto.
1411
c60b7188
AF
14122002-12-23 Adam Fedor <fedor@gnu.org>
1413
1414 * gdb.base/maint.exp: Update expect output to include 'ObjC'.
1415
ee73db83
DC
14162002-12-23 David Carlton <carlton@math.stanford.edu>
1417
1418 * gdb.base/selftest.exp (do_steps_and_nexts): Allow initial brace
1419 and current_directory initialization.
1420
d6c1774e
JB
14212002-12-22 Jim Blandy <jimb@redhat.com>
1422
f0a847b8
JB
1423 * gdb.trace/tfind.exp: Pass '-O1' flag via the 'optimize' option,
1424 rather than as part of the output file name.
1425
d6c1774e
JB
1426 * gdb.base/attach.exp: There's no need to copy the test program to
1427 /tmp; that was only ever necessary on HP/UX, and this test is
1428 entirely disabled there anyway.
1429
f0708dbb
JB
14302002-12-21 Jim Blandy <jimb@redhat.com>
1431
4c2acfea
JB
1432 * gdb.c++/psmang.exp: Doc fix.
1433
f0708dbb
JB
1434 * gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: New
1435 test.
1436
9579e000
DC
14372002-12-20 David Carlton <carlton@math.stanford.edu>
1438
1439 * gdb.c++/annota2.exp: KFAIL annotate-quit.
1440
d1810171
MC
14412002-12-18 Michael Chastain <mec@shout.net>
1442
1443 * gdb.c++/annota2.exp: Add copyright year 2002.
1444
76565097
DC
14452002-12-17 David Carlton <carlton@math.stanford.edu>
1446
1447 * gdb.c++/try_catch.cc: Add marker comments.
1448 * gdb.c++/try_catch.exp: Get line numbers from marker comments.
1449 * gdb.c++/m-data.cc: Delete namespace __gnu_test.
1450 * gdb.c++/m-static.cc: Ditto.
1451 * gdb.c++/m-static1.cc: Ditto.
1452 * gdb.c++/try_catch.cc: Ditto.
1453
da81390b
JJ
14542002-12-16 Jeff Johnston <jjohnstn@redhat.com>
1455
1456 * lib/mi-support.exp (mi_reinitialize_dir): Check mi level
1457 to see whether we are using the new -environment-directory
1458 command which resets via -r or the old version of the command
1459 which may prompt the user. Part of fix for gdb/741.
1460
b304d130
AC
14612002-12-13 Andrew Cagney <ac131313@redhat.com>
1462
1463 * gdb.fortran/types.exp: Update obsolete comment.
1464 * gdb.fortran/exprs.exp: Ditto.
1465 * lib/gdb.exp: Delete obsolete code.
1466 * gdb.chill/ChangeLog, gdb.chill/Makefile.in: Delete.
1467 * gdb.chill/builtins.ch, gdb.chill/builtins.exp: Delete.
1468 * gdb.chill/callch.ch, gdb.chill/callch.exp: Delete.
1469 * gdb.chill/chexp.exp, gdb.chill/chillvars.ch: Delete.
1470 * gdb.chill/chillvars.exp, gdb.chill/configure: Delete.
1471 * gdb.chill/configure.in, gdb.chill/enum.ch: Delete.
1472 * gdb.chill/enum.exp, gdb.chill/func1.ch: Delete.
1473 * gdb.chill/gch1041.ch, gdb.chill/gch1041.exp: Delete.
1474 * gdb.chill/gch1272.ch, gdb.chill/gch1272.exp: Delete.
1475 * gdb.chill/gch1280.ch, gdb.chill/gch1280.exp: Delete.
1476 * gdb.chill/gch922.ch, gdb.chill/gch922.exp: Delete.
1477 * gdb.chill/gch981.ch, gdb.chill/gch981.exp: Delete.
1478 * gdb.chill/misc.ch, gdb.chill/misc.exp: Delete.
1479 * gdb.chill/powerset.ch, gdb.chill/powerset.exp: Delete.
1480 * gdb.chill/pr-4975-grt.ch, gdb.chill/pr-4975.ch: Delete.
1481 * gdb.chill/pr-4975.exp, gdb.chill/pr-5016.ch: Delete.
1482 * gdb.chill/pr-5016.exp, gdb.chill/pr-5020.ch: Delete.
1483 * gdb.chill/pr-5020.exp, gdb.chill/pr-5022.ch: Delete.
1484 * gdb.chill/pr-5022.exp, gdb.chill/pr-5646-grt.ch: Delete.
1485 * gdb.chill/pr-5646.ch, gdb.chill/pr-5646.exp: Delete.
1486 * gdb.chill/pr-5984.ch, gdb.chill/pr-5984.exp: Delete.
1487 * gdb.chill/pr-6292.ch, gdb.chill/pr-6292.exp: Delete.
1488 * gdb.chill/pr-6632-grt.ch, gdb.chill/pr-6632.ch: Delete.
1489 * gdb.chill/pr-6632.exp, gdb.chill/pr-8134.exp: Delete.
1490 * gdb.chill/pr-8136.ch, gdb.chill/pr-8136.exp: Delete.
1491 * gdb.chill/pr-8405.ch, gdb.chill/pr-8405.exp: Delete.
1492 * gdb.chill/pr-8742.ch, gdb.chill/pr-8742.exp: Delete.
1493 * gdb.chill/pr-8894-grt.ch, gdb.chill/pr-8894.ch: Delete.
1494 * gdb.chill/pr-8894.exp, gdb.chill/pr-9095.ch: Delete.
1495 * gdb.chill/pr-9095.exp, gdb.chill/pr-9946.ch: Delete.
1496 * gdb.chill/pr-9946.exp, gdb.chill/result.ch: Delete.
1497 * gdb.chill/result.exp, gdb.chill/string.ch: Delete.
1498 * gdb.chill/string.exp, gdb.chill/tests1.ch: Delete.
1499 * gdb.chill/tests1.exp, gdb.chill/tests2.ch: Delete.
1500 * gdb.chill/tests2.exp, gdb.chill/tuples.ch: Delete.
1501 * gdb.chill/tuples.exp, gdb.chill/xstruct-grt.ch: Delete.
1502 * gdb.chill/xstruct.ch, gdb.chill/xstruct.exp: Delete.
1503
a23b6e6a
DC
15042002-12-11 David Carlton <carlton@math.stanford.edu>
1505
1506 * gdb.c++/m-data.exp: Add test for members that shadow global
1507 variables: see PR gdb/804.
1508 * gdb.c++/m-data.cc: Ditto.
1509
6604731b
DJ
15102002-12-10 Daniel Jacobowitz <drow@mvista.com>
1511
1512 * gdb.base/foll-vfork.exp: Re-enable test on HP/UX.
1513
de46ecd7
DC
15142002-12-06 David Carlton <carlton@math.stanford.edu>
1515
1516 * gdb.base/store.c: Don't declare functions static.
1517
27e829d0
AC
15182002-12-04 Andrew Cagney <ac131313@redhat.com>
1519
1520 * gdb.base/store.exp, gdb.base/store.c: New files.
1521
92806416
DJ
15222002-12-03 Daniel Jacobowitz <drow@mvista.com>
1523
1524 * gdb.base/selftest.exp: Update for current gdb.
1525
3bcbaac5
DJ
15262002-12-03 Daniel Jacobowitz <drow@mvista.com>
1527
1528 * gdb.base/maint.exp: Only dump symbols from one source file
1529 or objfile.
1530
f4f00b1f
DJ
15312002-12-03 Daniel Jacobowitz <drow@mvista.com>
1532
1533 * gdb.base/step-test.exp: Allow MIPS to return to the line of a
1534 function call.
1535
f1c8a949
JB
15362002-11-25 Jim Blandy <jimb@redhat.com>
1537
1538 * lib/mi-support.exp (mi_delete_breakpoints): Change name of
1539 function appearing in error message.
1540
9e297a97
DJ
15412002-11-21 Daniel Jacobowitz <drow@mvista.com>
1542
1543 * gdb.base/maint.exp (help maint dump-me): Update with typo fix.
1544
1f312e79
JJ
15452002-11-08 Jeff Johnston <jjohnstn@redhat.com>
1546
1547 * lib/mi-support.exp (mi_gdb_start): Verify the startup message
1548 for mi1 and current mi is in correct format. New mi startup message
1549 should be in mi console format. This is part of fix for PR gdb/604.
1550
83c31e7d
FN
15512002-09-18 Fernando Nasser <fnasser@redhat.com>
1552
1553 * gdb.asm/asm-source.exp: Adjust patter to new disassembler routine
1554 which explicitly prints the zero offset as "+0".
1555
322b3f65
DJ
15562002-10-22 Daniel Jacobowitz <drow@mvista.com>
1557
1558 * gdb.threads/schedlock.c (args): Make unsigned.
1559
15602002-10-21 Daniel Jacobowitz <drow@mvista.com>
1561
1562 * gdb.asm/asm-source.exp: Add "mips*-*" pattern. Update line
1563 numbers. Allow "foo2|selected stack frame".
1564 * gdb.asm/asmsrc1.s: Use gdbasm_declare and gdbasm_end.
1565 * gdb.asm/asmsrc2.s: Likewise.
1566 * gdb.asm/common.inc: Define gdbasm_declare and gdbasm_end. Update
1567 comments.
1568 * gdb.asm/mips.inc: New file.
1569
5e2fe5b8
AF
15702002-10-18 Adam Fedor <fedor@gnu.org>
1571
1572 * gdb.base/default.exp: Update expected output to include 'ObjC'.
1573 * gdb.base/help.exp: Likewise.
1574
abe1a5d0
KB
15752002-10-17 Kevin Buettner <kevinb@redhat.com>
1576
1577 * gdb.base/constvars.c (struct crass, struct crisp): New structs.
1578 * gdb.base/constvars.exp (ptype crass, ptype crisp): New tests.
1579
10abb1d4
JB
15802002-10-02 Jim Blandy <jimb@redhat.com>
1581
1582 * gdb.c++/casts.cc, gdb.c++/casts.exp: New test.
1583
1f609b42
AC
15842002-10-01 Andrew Cagney <ac131313@redhat.com>
1585
1586 * mi1-basics.exp: Copy of mi1-basics.exp MIFLAGS set "-i=mi1".
1587 * mi1-break.exp, mi1-console.exp, mi1-disassemble.exp: Ditto.
1588 * mi1-eval.exp, mi1-hack-cli.exp, mi1-pthreads.exp: Ditto.
1589 * mi1-read-memory.exp, mi1-regs.exp, mi1-return.exp: Ditto.
1590 * mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp: Ditto.
1591 * mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp: Ditto.
1592 * mi1-var-cmd.exp, mi1-var-display.exp, mi1-watch.exp: Ditto.
1593
0aee02e4
AC
15942002-09-29 Andrew Cagney <ac131313@redhat.com>
1595
1596 * mi0-basics.exp, mi0-break.exp, mi0-console.exp: Delete.
1597 * mi0-disassemble.exp, mi0-eval.exp: Delete.
1598 * mi0-hack-cli.exp, mi0-read-memory.exp: Delete.
1599 * mi0-regs.exp, mi0-return.exp, mi0-simplerun.exp: Delete.
1600 * mi0-stack.exp, mi0-stepi.exp, mi0-until.exp: Delete.
1601 * mi0-var-block.exp, mi0-var-child.exp: Delete.
1602 * mi0-var-cmd.exp, mi0-var-display.exp, mi0-watch.exp: Delete.
1603
6fde09ad
KB
16042002-09-27 Kevin Buettner <kevinb@redhat.com>
1605
1606 * gdb.base/annota1.exp (info break): Make directory components of
1607 path optional since not all compilers emit this debug information.
1608
1609 * gdb.base/shlib-call.exp (step inside shr2): Don't fail if first
1610 step ends up stepping out of the function instead of stopping on
1611 the epilogue.
1612
9e8aab75
KS
16132002-09-26 Keith Seitz <keiths@redhat.com>
1614
1615 * lib/insight-support.exp (gdbtk_start): Figure out where
1616 the insight executable is based on where gdb is. Use this
1617 executable to start insight instead of gdb.
1618
e36180d7
AC
16192002-09-25 Andrew Cagney <cagney@redhat.com>
1620
1621 * gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
1622
9dd34b2b
AC
16232002-09-24 Andrew Cagney <ac131313@redhat.com>
1624
1625 * gdb.gdb/complaints.exp (test_initial_complaints): Rename
1626 test_isolated_complaints.
1627 (test_empty_complaint): New function.
1628 (test_empty_complaints): New function. Check no output when no
1629 complaints.
1630
dea97812
KB
16312002-09-19 Jim Blandy <jimb@redhat.com>
1632
1633 * gdb.base/charset.exp, gdb.base/charset.c: New files.
1634
54951bd7
AC
16352002-09-19 Andrew Cagney <ac131313@redhat.com>
1636
1637 * gdb.gdb/complaints.exp: New file.
1638
dec43320
AC
16392002-09-18 Andrew Cagney <ac131313@redhat.com>
1640
1641 * gdb.base/maint.exp: Check `help maint internal-warning'.
1642
e70d6e3f
DC
16432002-09-18 David Carlton <carlton@math.stanford.edu>
1644
1645 * gdb.c++/m-static.exp: Remove breakpoints depending on line
1646 numbers, and replace them by a single breakpoint after the
1647 constructors are all finished.
1648 Add test 4.
1649 * gdb.c++/m-static.cc: Add test 4.
1650 * gdb.c++/m-static.h: New file.
1651 * gdb.c++/m-static1.cc: New file.
1652
1653 * gdb.c++/printmethod.exp: New file.
1654 * gdb.c++/printmethod.cc: New file.
1655
1656 * gdb.c++/pr-574.exp: New file.
1657 * gdb.c++/pr-574.cc: New file.
1658
afb5c968
CV
16592002-09-18 Corinna Vinschen <vinschen@redhat.com>
1660
1661 * gdb.base/ending-run.exp: Add handling of "step to end of run" for
1662 embedded targets which never actually exit.
1663
31e45dee
FN
16642002-09-18 Fernando Nasser <fnasser@redhat.com>
1665
1666 * gdb.base/ending-run.exp: Properly mark "continue after exit" and
1667 "don't step after run" as unresolved or unsupported, instead of xfail.
1668
a283c5a1
CV
16692002-09-18 Corinna Vinschen <vinschen@redhat.com>
1670
1671 * gdb.base/ending-run.exp: Fix expected string for _wrap_main to
1672 allow correct handling of #ifdef UNDERSCORES from dejagnu/testglue.c.
1673 Add newline to expected string in "step out of main (status wrapper)"
1674 case.
1675
11350d2a
CV
16762002-09-18 Corinna Vinschen <vinschen@redhat.com>
1677
1678 * lib/gdb.exp (rerun_to_main): Allow restarting application.
1679 * gdb.base/ena-dis-br.exp (rerun_to_main): Eliminate.
1680
0deec7d6
TT
16812002-09-17 Tom Tromey <tromey@redhat.com>
1682
1683 * gdb.base/printcmds.exp (test_print_string_constants): Expect
1684 \000, not \0, in double-quoted string.
1685
b2b4a1b5
CV
16862002-09-14 Corinna Vinschen <vinschen@redhat.com>
1687
c9d37158 1688 * gdb.base/commands.exp: Don't expect a "Program exited normally"
b2b4a1b5
CV
1689 string after running the commands execution on breakpoint tests.
1690
1c56143a
CV
16912002-09-13 Corinna Vinschen <vinschen@redhat.com>
1692
1693 * lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.
1694
37f8da45
JB
16952002-09-12 Joel Brobecker <brobecker@gnat.com>
1696
1697 * gdb.base/call-strs.exp: Fix a small typo in one of the comments.
1698
08b468e0
KS
16992002-09-10 Keith Seitz <keiths@redhat.com>
1700
1701 * lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
1702 runto proc.
1703 (mi_run_to_main): Use mi_runto.
1704 (mi_execute_to): Renamed from mi_run_to. Changed all callers.
1705
dc360f58
KS
17062002-09-10 Keith Seitz <keiths@redhat.com>
1707
1708 * lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
1709 regexp for stopping at main. Could have multiple event notifications.
1710 Don't assume that main was declared with no parameters.
1711 (mi_next): Use mi_step_to.
1712 (mi_step): Use mi_next_to.
1713
ce3abcfb
CV
17142002-09-09 Corinna Vinschen <vinschen@redhat.com>
1715
1716 * gdb.base/default.exp: Fix expected string in `info float' test.
1717
d1f5b980
BE
17182002-09-09 Ben Elliston <bje@redhat.com>
1719
1720 * config/mips.exp: Update comments.
1721 * config/mips-idt.exp: Likewise.
1722 * config/nind.exp: Likewise.
1723 * config/slite.exp: Likewise.
1724 * config/sparclet.exp: Likewise.
1725 * config/udi.exp: Likewise.
1726 * config/vx.exp: Likewise.
1727 * config/vxworks29k.exp: Likewise.
1728
2f71430b
JB
17292002-09-05 Jim Blandy <jimb@redhat.com>
1730
1731 * gdb.threads/killed.exp: Fix test failure message.
1732
7ddebc7e
KS
17332002-09-04 Keith Seitz <keiths@redhat.com>
1734
1735 * lib/mi-support.exp: Update copyright.
1736 (mi_gdb_test): Increase the priority of the expected pattern
1737 so that it matches gdb_test.
1738
0ae67eb3
KS
17392002-09-03 Keith Seitz <keiths@redhat.com>
1740
1741 * lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
1742 Use integer comparison instead of string comparison for testing
1743 whether binary was built.
1744
38fc42c8
JB
17452002-09-03 Jim Blandy <jimb@redhat.com>
1746
1747 * gdb.threads/killed.exp, gdb.threads/killed.c: New test.
1748
b6ff0e81
JB
17492002-08-29 Jim Blandy <jimb@redhat.com>
1750
1751 * gdb.threads/pthreads.exp: Move the portable thread compilation
1752 code into a function in lib/gdb.exp, and call that from here.
1753 * lib/gdb.exp (gdb_compile_pthreads): New function.
1754
07c98896
KS
17552002-08-29 Keith Seitz <keiths@redhat.com>
1756
1757 * lib/mi-support.exp (mi_gdb_test): Add global declaration for
1758 expect_out so that callers can get at it.
1759
0312286c
DJ
17602002-08-23 Daniel Jacobowitz <drow@mvista.com>
1761
1762 * gdb.threads/print-threads.c: New file.
1763 * gdb.threads/print-threads.exp: New file.
1764 * gdb.threads/schedlock.c: New file.
1765 * gdb.threads/schedlock.exp: New file.
1766
dd039bc4
EZ
17672002-08-22 Elena Zannoni <ezannoni@redhat.com>
1768
1769 * gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
1770 not altivec.c.
1771
1f36144c
MK
17722002-08-17 Mark Kettenis <kettenis@gnu.org>
1773
1774 * gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
1775 targets. The problem should be fixed now.
1776
16057ec7 17772002-08-15 Mark Kettenis <kettenis@gnu.org>
5415e7c5
MK
1778
1779 * gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
1780 2002-07-24 change that removes final dots from error messages.
1781
3c1499ad
TT
17822002-08-13 Tom Tromey <tromey@redhat.com>
1783
1784 * gdb.base/readline.exp: New file.
1785
a20ce2c3
AC
17862002-08-01 Andrew Cagney <ac131313@redhat.com>
1787
1788 * lib/gdb.exp (gdb_expect_list): Only print one pass, fail, or
1789 supress message.
1790
db034ac5
AC
17912002-08-01 Andrew Cagney <cagney@redhat.com>
1792
1793 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL,
1794 CHILL_FOR_TARGET and CHILL_LIB.
1795 * configure.in (configdirs): Remove gdb.chill.
1796 * configure: Regenerate.
1797 * lib/gdb.exp: Obsolete references to chill.
1798 * gdb.fortran/types.exp: Ditto.
1799 * gdb.fortran/exprs.exp: Ditto.
1800
3e000b18
KB
18012002-07-30 Kevin Buettner <kevinb@redhat.com>
1802
1803 * gdb.base/shlib-call.exp (additional_flags): Conditionally
1804 set Irix-specific compile and link flags.
1805
28f4966b
KB
18062002-07-29 Kevin Buettner <kevinb@redhat.com>
1807
1808 * lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
1809 source files. The ``-o'' option doesn't work with the ``-E'' option
1810 when using the Irix compiler.
1811
46c0d5a6
DJ
18122002-07-19 Daniel Jacobowitz <drow@mvista.com>
1813
1814 * config/gdbserver.exp (gdb_load): Don't use TCL varargs.
1815 Improve support for reusing an exec file. Copy exec file
1816 to target, and run gdbserver on the target instead of on the host.
1817
eecf4bed
JB
18182002-07-18 Jim Blandy <jimb@redhat.com>
1819
0f815cdf
JB
1820 * gdb.base/ending-run.exp: Don't expect to see the program end in
1821 some orderly fashion when we're running on a real stand-alone
1822 board.
1823
eecf4bed
JB
1824 * gdb.base/interrupt.exp: Correct logic for skipping tests on
1825 targets that don't support interrupts.
1826
52d309e4
JB
18272002-07-10 Paul N. Hilfinger <hilfingr@otisco.mckusick.com>
1828
1829 * gdb.base/attach.exp: Add patterns to match output from /proc-based
1830 systems.
1831 Move comments in expect statements to inside the actions, so that they
1832 don't get matched against.
1833
ff683d9e
MK
18342002-07-10 Mark Kettenis <kettenis@gnu.org>
1835
1836 * gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
1837 function when asleep" test.
1838
b5356753
AC
18392002-07-10 Andrew Cagney <ac131313@redhat.com>
1840
1841 * gdb.base/page.exp: Rewrite to handle problems with very long
1842 `info set' output. Update copyright.
1843
6aa4d13a
AC
18442002-06-26 Andrew Cagney <ac131313@redhat.com>
1845
1846 * gdb.hp/configure.in (AC_CONFIG_SUBDIRS): Do not try to configure
1847 gdb.threads-hp.
1848 * gdb.hp/configure: Regenerate.
1849 * gdb.hp/gdb.threads-hp/configure.in: Delete file.
1850 * gdb.hp/gdb.threads-hp/configure: Delete file.
1851 * gdb.hp/gdb.threads-hp/Makefile.in: Delete file.
1852
8cf8c2b8
AC
18532002-06-22 Andrew Cagney <ac131313@redhat.com>
1854
1855 * gdb.base/selftest.exp (do_stes_and_next): Skip calls to
1856 setlocale, bindtextdomain and textdomain.
1857
6827a8f8
JB
18582002-06-11 Jim Blandy <jimb@redhat.com>
1859
919d772c
JB
1860 * lib/gdb.exp (get_debug_format): Tolerate message saying whether
1861 preprocessor macro information is present.
1862
6827a8f8
JB
1863 * macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: New
1864 tests.
1865
c15b0d21
MS
18662002-06-06 Michael Snyder <msnyder@redhat.com>
1867
c5984d70
MS
1868 * gdb.base/overlays.exp: Record addresses of overlay
1869 functions in TCL variables rather than in GDB variables,
1870 to avoid having GDB convert them to pointers (with loss
1871 of information).
1872
99a8512b
MS
1873 * gdb.base/d10v.ld: Merge in several years worth of
1874 default linker script changes.
c15b0d21
MS
1875 * gdb.base/long_long.exp: Add check for sizeof (long double).
1876
be26fe0d
ML
18772002-06-06 Michal Ludvig <mludvig@suse.cz>
1878
1879 * gdb.asm/asm-source.exp: Add x86-64 target.
1880 * gdb.asm/x86_64.inc: New.
1881
258093ca 18822002-05-30 Michael Chastain <mec@shout.net>
258093ca 1883
4b3153f1 1884 From Benjamin Kosnik <bkoz@redhat.com>:
258093ca
MC
1885 * gdb.c++/m-static.cc: New file.
1886 * gdb.c++/m-static.exp: New file.
1887
241264c6
MS
18882002-05-28 Michael Snyder <msnyder@redhat.com>
1889
1890 * gdb.base/call-ar-st.exp: Allow for reduced floating point
1891 precision.
1892
9bba8c8f 18932002-05-27 Michael Chastain <mec@shout.net>
71ea1be0 1894
4b3153f1 1895 From Benjamin Kosnik <bkoz@redhat.com>:
71ea1be0
MC
1896 * gdb.c++/m-data.cc: New file.
1897 * gdb.c++/m-data.exp: New file.
1898
18992002-05-27 Michael Chastain <mec@shout.net>
9bba8c8f 1900
4b3153f1 1901 From Benjamin Kosnik <bkoz@redhat.com>:
9bba8c8f
MC
1902 * gdb.c++/try_catch.cc: New file.
1903 * gdb.c++/try_catch.exp: New file.
1904
def1b996
MC
19052002-05-27 Michael Chastain <mec@shout.net>
1906
1907 * gdb.c++/local.exp: Accept more nested types in output.
1908
522ba268
MC
19092002-05-26 Michael Chastain <mec@shout.net>
1910
1911 * gdb.base/call-rt-st.exp: Fix typo in brace quoting.
1912
277254ba
MS
19132002-05-15 Nick Clifton <nickc@cambridge.redhat.com>
1914
1915 * lib/gdb.exp (gdb_wrapper_init): Just because
1916 gdb_wrapper_file exists, this does not mean that the file
1917 should not be rebuilt. That is what gdb_wrapper_initialized
1918 is for.
1919 (default_gdb_init): Reset gdb_wrapper_initialized.
1920
b61a8733
MS
19212002-05-23 Michael Snyder <msnyder@redhat.com>
1922
5bdb6d01
MS
1923 * gdb.base/all-bin.exp: Revise previous patch by just reducing
1924 the precision of the floating point test results.
1925 * gdb.base/call-rt-st.exp: Ditto.
1926
b61a8733
MS
1927 * gdb.base/all-bin.exp: Allow for reduced floating point precision.
1928 * gdb.base/call-rt-st.exp: Ditto.
1929
56f6e910
MC
19302002-05-19 Michael Chastain <mec@shout.net>
1931
1932 * gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
1933
ad0b0016
EZ
19342002-05-19 Elena Zannoni <ezannoni@redhat.com>
1935
1936 * configure.in (configdirs): Add gdb.arch.
1937 * configure: Regenerate.
1938
f617d2b6
JB
19392002-05-17 Jim Blandy <jimb@redhat.com>
1940
1941 * gdb.base/completion.exp: Recognize the more detailed error
1942 messages produced by the macro expander's lexical analyzer.
1943
eac2a696
EZ
19442002-05-14 Elena Zannoni <ezannoni@redhat.com>
1945
1946 * gdb.arch/altivec-abi.c: New file.
1947 * gdb.arch/altivec-abi.exp: New file.
1948 * gdb.arch/altivec-regs.c: New file.
1949 * gdb.arch/altivec-regs.exp: New file.
1950
2fdde8f8
DJ
19512002-05-14 Daniel Jacobowitz <drow@mvista.com>
1952
1953 * gdb.base/maint.exp (maint print type): Update for new type
1954 structure.
eac2a696 1955
e31f1a7c
EZ
19562002-05-14 Elena Zannoni <ezannoni@redhat.com>
1957
1958 * gdb.arch: New directory.
1959 * gdb.arch/configure.in: New file.
1960 * gdb.arch/configure: New file.
1961 * gdb.arch/Makefile.in: New file.
1962
db589741
CV
19632002-05-13 Corinna Vinschen <vinschen@redhat.com>
1964
1965 * gdb.asm/asm-source.exp: Add v850 as supported target.
1966 * gdb.asm/v850.inc: New file.
1967
8ce2a7dc
DJ
19682002-05-13 Daniel Jacobowitz <drow@mvista.com>
1969
1970 * gdb.c++/annota2.exp (annotate-quit): Add comment.
1971
df763c7f
DJ
19722002-05-12 Daniel Jacobowitz <drow@mvista.com>
1973
1974 * gdb.base/break.exp: Check 'break "marker2"'.
1975
377daeed
MS
19762002-05-10 Michael Snyder <msnyder@redhat.com>
1977
1978 * gdb.base/long_long.exp: Fix typo.
1979
c4b7bc2b
JB
19802002-05-10 Jim Blandy <jimb@redhat.com>
1981
ecac9a4e
JB
1982 * gdb.base/printcmds.exp: Don't xfail the ptype command. This is
1983 a bug.
1984
c4b7bc2b
JB
1985 * gdb.base/printcmds.exp (test_integer_literals_rejected):
1986 Recognize more detailed error message produced by the macro
1987 expander's lexical analyzer.
1988 * lib/gdb.exp (test_print_reject): Same.
1989
e71019a1
MK
19902002-05-09 Mark Kettenis <kettenis@gnu.org>
1991
1992 * gdb.c++/method.exp: Fix typo.
1993
fedfc8e6
MS
19942002-05-08 Michael Snyder <msnyder@redhat.com>
1995
166a1957
MS
1996 * gdb.mi/mi-var-child.exp: Accept (void) as well as ().
1997 * gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
fedfc8e6 1998 * gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
35928259
MS
1999 * gdb.base/long_long.exp: Merge clauses for arm and xscale.
2000 Add iftarget clause for strongarm.
2001
f1c47eb2
MS
20022002-05-06 Michael Snyder <msnyder@redhat.com>
2003
cb9a9d3e
MS
2004 * lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
2005 (gdb_continue_to_end): Accept output from status wrapper.
2006 * gdb.base/ending-run.exp: Add case for output from status wrapper.
2007 Clean up fail messages to match pass messages.
2008
f1c47eb2
MS
2009 Enable the "needs_status_wrapper" testsuite feature.
2010 * lib/gdb.exp (gdb_wrapper_init): New procedure.
2011 (gdb_compile): Conditionally call gdb_wrapper_init.
2012 * gdb.base/a2-run.exp: Recognize output from status wrapper.
2013 * gdb.c++/method.exp: Recognize output from status wrapper.
2014
6079c749
BE
20152002-05-06 Ben Elliston <bje@redhat.com>
2016From Graydon Hoare <graydon@redhat.com>
2017
2018 * config/sid.exp: Include support for "rawsid" protocol.
2019
188baff3
JB
20202002-05-03 Jim Blandy <jimb@redhat.com>
2021
2022 * gdb.c++/hang.exp: Check for corruption of the cv_type chain.
2023 * gdb.c++/hang3.C: New file.
2024
b9c07f0f
AC
20252002-05-04 Andrew Cagney <ac131313@redhat.com>
2026
2027 * gdb.base/default.exp: Remove obsolete code.
2028 * gdb.c++/misc.exp: Ditto. Update copyright.
2029 * gdb.c++/cplusfuncs.exp: Ditto. Update copyright.
2030 * gdb.base/whatis.exp: Ditto. Update copyright.
2031 * gdb.base/scope.exp: Ditto. Update copyright.
2032 * gdb.base/ptype.exp: Ditto. Update copyright.
2033 * gdb.base/printcmds.exp: Ditto. Update copyright.
2034 * gdb.base/opaque.exp: Ditto. Update copyright.
2035 * gdb.base/list.exp: Ditto.
2036 * gdb.base/funcargs.exp: Ditto. Update copyright.
2037 * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
2038 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
2039 * gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
2040 * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
2041 * gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
2042 * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
2043
5c7a0397
MS
20442002-05-02 Michael Snyder <msnyder@redhat.com>
2045
d6dcc264 2046 * gdb.base/watchpoint.exp: Add xscale target.
5c7a0397
MS
2047 * gdb.base/long_long.exp: Add xscale target.
2048 * gdb.base/default.exp: Add xscale target.
2049
eb7f1c48
JB
20502002-05-01 Jim Blandy <jimb@redhat.com>
2051
2052 * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
2053 gdb.c++/hang.exp: New test.
2054
a6befae8
FF
20552002-05-01 Fred Fish <fnf@redhat.com>
2056
2057 * gdb.base/completion.exp: Handle completions of "./Make" for
2058 more than one completion possibility, as is the case when we
2059 build and test in the source tree.
2060
0a310277
AG
20612002-04-29 Anthony Green <green@redhat.com>
2062
2063 * gdb.java/jmisc1.exp: New file.
2064 * gdb.java/jmisc2.exp: New file.
2065
6ff9af88
DJ
20662002-04-24 Daniel Jacobowitz <drow@mvista.com>
2067
2068 * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
2069
96b3d632
EZ
20702002-04-23 Elena Zannoni <ezannoni@redhat.com>
2071
2072 * gdb.base/help.exp: Change 'help status' to allow for target
2073 dependent output differences.
2074
5019bb54
MC
20752002-04-22 Michael Chastain <mec@shout.net>
2076
2077 * gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
2078
a805a116
MC
20792002-04-22 Michael Chastain <mec@shout.net>
2080
2081 * gdb.c++/method.exp: Fix syntax of reference to gdb/277.
2082
a1706bfd
DM
20832002-04-17 David S. Miller <davem@redhat.com>
2084
2085 * gdb.asm/sparc64.inc: New file.
2086 * gdb.asm/asm-source.exp: Handle sparc64-*-*.
2087
a73a20a2
EZ
20882002-04-19 Elena Zannoni <ezannoni@redhat.com>
2089
2090 * gdb.asm/asm-source.exp: Don't use a symlink, just copy the
2091 instruction file directly into the build tree. Clean up at end of
2092 test.
2093
ba678339
DM
20942002-04-18 David S. Miller <davem@redhat.com>
2095
2096 * gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
2097 handle 64-bit platforms correctly.
2098 * gdb.base/maint.exp: Likewise.
2099
b03399da
KB
21002002-04-18 Kevin Buettner <kevinb@redhat.com>
2101
2102 * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
2103 ``-fpic'' when compiling files comprising a shared library, but
2104 it does need additional linker flags in order to find shared
2105 libraries at run time.
2106
e2004992
KB
21072002-04-18 Kevin Buettner <kevinb@redhat.com>
2108
2109 * gdb.base/cvexpr.c (use): New function.
2110 (main): Invoke use() on all global variables to prevent
2111 some linkers from deleting these otherwise unused symbols.
2112
d8937120
MC
21132002-04-17 Michael Chastain <mec@shout.net>
2114From David S. Miller <davem@redhat.com>
2115
2116 * gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
2117 handle 64-bit platforms correctly.
2118
ffd61a58
MS
21192002-04-12 Michael Snyder <msnyder@redhat.com>
2120From Jim Blandy <jimb@redhat.com>
2121 * gdb.base/foo.c (foox): Remove section attribute; the linker
2122 script can handle this instead.
2123 * gdb.base/bar.c (barx): Same.
2124 * gdb.base/baz.c (bazx): Same.
2125 * gdb.base/grbx.c (grbxx): Same.
2126
2127 * gdb.base/overlays.exp: New test: check that GDB's manual overlay
2128 manager doesn't automatically unmap overlays unnecessarily.
2129
6b8426a6
MH
21302002-04-10 Martin M. Hunt <hunt@redhat.com>
2131
2132 * gdb.base/ending-run.exp: Fix pattern for Mips targets
2133 stepping out of main.
2134
34af4875
MC
21352002-04-09 Michael Chastain <mec@shout.net>
2136
2137 * gdb.c++/local.cc (main): Move call to marker1() inside nested
2138 scope so that the nested scope tests will make sense.
2139 * gdb.c++/local.exp: Write patterns that actually work with gcc
2140 (the HP patterns "were never known to work with gcc").
2141 Keep the old aCC patterns too.
2142
2d1676a0
DJ
21432002-04-09 Daniel Jacobowitz <drow@mvista.com>
2144
2145 * gdb.base/attach.exp: Correct target board test.
2146
3a63e3f9
MC
21472002-04-08 Michael Chastain <mec@shout.net>
2148
2149 * gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
2150 in a const method. Add some xfail and fail cases for configurations
2151 that do not emit the "const ...".
2152
f18dabd2
MC
21532002-04-07 Michael Chastain <mec@shout.net>
2154
2155 * gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
2156 Accept "A * const" and "const A * const" as type of "this".
2157 Fix spelling of getFunky throughout. Make messages uniform.
2158
0fcddd82
EZ
21592002-04-07 Elena Zannoni <ezannoni@redhat.com>
2160
2161 Work around for PR gdb/285:
2162 * gdb.asm/asm-source.exp: Bail out if multilibs are detected.
2163
16a8534a
EZ
21642002-04-07 Elena Zannoni <ezannoni@redhat.com>
2165
2166 * gdb.asm/asm-source.exp: Build symbolic link to arch specific
2167 instructions file at run time instead of configure time.
2168 Sometimes we run the test in a directory that is not the one we
2169 configured in.
2170 * gdb.asm/configure.in: Delete creation of symlink.
2171 * gdb.asm/configure: Regenerate.
2172
24181d81
JB
21732002-04-05 J. Brobecker <brobecker@gnat.com>
2174
2175 * gdb.gdb/xfullpath.exp: New test, to exercise the new
2176 xfullpath () function.
2177
7cdb7107
DJ
21782002-04-04 Daniel Jacobowitz <drow@mvista.com>
2179
2180 * gdb.asm/Makefile.in: Correct dependencies.
2181
2182 * gdb.asm/powerpc.inc: New file.
2183 * gdb.asm/asm-source.exp: Add PowerPC.
2184 * gdb.asm/configure.in: Likewise.
2185 * gdb.asm/configure: Regenerated.
2186
a7d17088
DJ
21872002-04-04 Daniel Jacobowitz <drow@mvista.com>
2188
2189 * gdb.base/relocate.exp: New file.
2190 * gdb.base/relocate.c: New file.
2191
cd721503
FF
21922002-04-04 Fred Fish <fnf@redhat.com>
2193
2194 * gdb.base/step-test.exp: Update comment regarding stopping in
2195 memcpy/bcopy calls inserted as part of the compiler runtime.
2196
b22ad7a7
MS
21972002-04-04 Michael Snyder <msnyder@redhat.com>
2198
2199 * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
2200
5f279fa6
DJ
22012002-04-03 Daniel Jacobowitz <drow@mvista.com>
2202
2203 * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
2204 (gdb_expect): Remove $notransfer hack.
2205
dd0fd3ce
DJ
22062002-04-02 Daniel Jacobowitz <drow@mvista.com>
2207
2208 * gdb.c++/classes.exp ("calling method for small class"): Match
2209 updated register output.
2210
1e50cda1
DJ
22112002-03-30 Daniel Jacobowitz <drow@mvista.com>
2212
2213 Fix PR gdb/452
2214 * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
2215 when finished. Make gdb_file_cmd send "exec-file" when
2216 appropriate.
2217
24015922
DJ
22182002-03-30 Daniel Jacobowitz <drow@mvista.com>
2219
2220 * gdb.base/attach.exp: Remove extra setup_xfail.
2221
dd7dfd64
MS
22222002-03-26 Michael Snyder <msnyder@redhat.com>
2223
2224 * gdb.base/default.exp: Add tests for dump, append, and restore.
2225 * gdb.base/help.exp: Add tests for dump, append, and restore.
2226 * gdb.base/dump.exp: New file, test dump, append and restore.
2227 * gdb.base/dump.c: New file.
2228
48b2f8d7
MS
22292002-03-27 Michael Snyder <msnyder@redhat.com>
2230
2231 * gdb.base/help.exp: Modify expect strings to reflect
2232 clean-ups in help messages.
2233
05b4d525
FF
22342002-03-26 Fred Fish <fnf@redhat.com>
2235
2236 * gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
2237 have debugging info for those functions and the compiler uses them
2238 internally to copy structs around.
2239
d7679631
FF
22402002-03-26 Fred Fish <fnf@redhat.com>
2241
2242 * gdb.base/list.exp: Revert the change made yesterday and add note
2243 about why we don't list the default lines for remote targets.
2244
523ac3f9
MS
22452002-03-25 Michael Snyder <msnyder@redhat.com>
2246
2247 * gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
2248
754b2b8d
FF
22492002-03-25 Fred Fish <fnf@redhat.com>
2250
2251 * gdb.base/list.exp: This test works on remote targets so remove
2252 the short circuit for remote targets. Update copyright.
2253
33c3e192
FF
22542002-03-25 Fred Fish <fnf@redhat.com>
2255
2256 * gdb.base/attach.exp: Fix logic error that was suppressing this
2257 test for all non hppa*-*-hpux* targets, instead of the hp target.
2258 Move comments closer to the suppression point. Also now need to
2259 check that we are running natively.
2260
d43e73ee
MS
22612002-03-22 Michael Snyder <msnyder@redhat.com>
2262
882c8f02
MS
2263 * gdb.base/default.exp: Add test for gcore. Update copyright.
2264 * gdb.base/help.exp: Add test for gcore. Update copyright.
d43e73ee 2265
04c12f60
FF
22662002-03-06 Fred Fish <fnf@redhat.com>
2267
2268 * gdb.base/funcargs.c: Remove extraneous ';' character.
2269 * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
2270
b43df995
MC
22712002-03-04 Michael Chastain <mec@shout.net>
2272
2273 * gdb.mi/mi-var-cmd.exp: In test "create local variable func",
2274 accommodate gcc v3 function signature.
2275 * gdb.mi/mi0-var-cmd-exp: Ditto.
2276
92362027
AC
22772002-02-24 Andrew Cagney <ac131313@redhat.com>
2278
2279 * testsuite/gdb.base/huge.c: Replace ``Linux'' with either
2280 ``GNU/Linux'' or ``Linux kernel''
2281 * testsuite/gdb.threads/pthreads.c: Ditto.
2282
258ad32d
MC
22832002-02-24 Michael Chastain <mec@shout.net>
2284
2285 * gdb.threads/pthreads.c (thread1): Add a return statement.
2286 (thread2): Likewise.
2287 (foo): Likewise.
2288
04c3b3d4
MC
22892002-02-23 Michael Chastain <mec@shout.net>
2290
2291 * gdb.threads/linux-dp.c (philosopher): Add a return statement
2292 to placate gcc.
2293
5a2a0a20
MC
22942002-02-23 Michael Chastain <mec@shout.net>
2295
2296 * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
2297 test "ptype bint". The test passes on all my stabs configurations.
2298
a640f7fc
JB
22992002-02-21 Jim Blandy <jimb@redhat.com>
2300
27924826
JB
2301 * gdb.asm/asm-source.exp: Parse the output from `info sources' one
2302 filename at a time, and watch for the ones we want to see.
2303
a640f7fc
JB
2304 * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
2305 types of pointers to prototyped functions.
2306
edcc8c75
AC
23072002-02-20 Andrew Cagney <ac131313@redhat.com>
2308
2309 * gdb.base/sizeof.c (main): Call fill_structs. Print value of
2310 signed, unsigned and straight char.
2311 (padding_char, padding_short, padding_int, padding_long,
2312 padding_long_long, padding_float, padding_double,
2313 padding_long_double): New global variables.
2314 (fill, fill_structs): New functions.
2315
2316 * gdb.base/sizeof.exp: Check for signed and unsigned char. Check
2317 for correctly sized writes. Update copyright.
2318 (get_valueof): New procedure.
2319 (get_sizeof): Call get_valueof.
2320 (check_valueof): New procedure.
2321 (check_padding): New procedure.
2322
ac57ea44
MC
23232002-02-20 Michael Chastain <mec@shout.net>
2324
2325 * gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
2326 to setup_xfail. Document some of the remaining calls.
2327
7a10c941
MC
23282002-02-18 Michael Chastain <mec@shout.net>
2329
2330 * gdb.c++/userdef.exp: Update copyright year.
2331
fb8acdcc
DJ
23322002-02-18 Daniel Jacobowitz <drow@mvista.com>
2333
2334 * gdb.c++/userdef.exp: Test overloaded operators properly.
2335 Remove xfails.
2336
fda6ae12
MS
23372002-02-14 Michael Snyder <msnyder@redhat.com>
2338
2339 * gdb.base/gcore.exp: Relax recognition of function breakpoint.
2340
676a0442
DJ
23412002-02-14 Daniel Jacobowitz <drow@mvista.com>
2342
2343 * gdb.base/a2-run.exp: Check for a remote target properly.
2344 * gdb.base/annota1.exp: Likewise.
2345 * gdb.base/list.exp: Likewise.
2346 * gdb.base/reread.exp: Likewise.
2347 * gdb.base/scope.exp: Likewise.
2348 * gdb.base/shlib-call.exp: Likewise.
2349 * gdb.base/term.exp: Likewise.
2350 * gdb.c++/annota2.exp: Likewise.
2351
78b4f468
RE
23522002-02-13 Richard Earnshaw <rearnsha@arm.com>
2353
2354 * gdb.base/watchpoint.exp: Restore previous timeout at end of test.
2355
9a81ba51
MC
23562002-02-10 Michael Chastain <mec@shout.net>
2357
2358 * gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
2359 (call_after_alloca): Ditto.
2360
004af6c7
DJ
23612002-02-10 Daniel Jacobowitz <drow@mvista.com>
2362
2363 * gdb.base/ending-run.exp: Guard "cont" test with
2364 gdb_skip_stdio_test.
2365
37225f62
JB
23662002-02-06 Jim Blandy <jimb@redhat.com>
2367
2368 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
2369 from here...
2370 * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
2371 To here. Disable this test on non-HP platforms. Add big comment.
2372
fe6fdd96
MS
23732002-02-04 Michael Snyder <msnyder@redhat.com>
2374
2375 * gdb.base/ovlymgr.c (ovly_copy): Generalize for targets
2376 other than d10v and m32r.
2377
036fad3f
RE
23782002-02-02 Richard Earnshaw <rearnsha@arm.com>
2379
2380 * gdb.base/default.exp: Rewrite test patterns to reduce time
2381 taken to match them.
2382
7148ab62
DJ
23832002-01-30 Daniel Jacobowitz <drow@mvista.com>
2384
2385 * gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
2386 Allow a start function above main.
2387 * gdb.threads/linux-dp.exp: Fix copyright date.
2388
396cc255
DJ
23892002-01-30 Daniel Jacobowitz <drow@mvista.com>
2390
2391 * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
2392 (check_philosopher_stack): Check for manager thread before checking
2393 for a just-starting thread.
2394
f038d31b
DJ
23952002-01-30 Daniel Jacobowitz <drow@mvista.com>
2396
2397 From Neil Booth <neil@daikokuya.demon.co.uk>:
2398 * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
2399 warnings.
2400
b3ff9d9a
FF
24012002-01-21 Fred Fish <fnf@redhat.com>
2402
2403 * gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
2404 not caller.
2405
39ad761d
JB
24062002-01-21 Jim Blandy <jimb@redhat.com>
2407
2408 * gdb.base/reread.exp: Check that GDB properly re-reads the
2409 executable file when it changes while no inferior is running.
2410
aaf320fa
FF
24112002-01-21 Fred Fish <fnf@redhat.com>
2412
2413 * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
2414 optionally accept the "shlib events" variation.
2415
808a31f5
JB
24162002-01-21 Jim Blandy <jimb@redhat.com>
2417
2418 * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
2419 call `fflush' after every `printf', so that the output is produced
2420 at predictable points, regardless of whatever buffering does (or
2421 doesn't) take place.
2422 * gdb.base/ending-run.exp: Adjust tests to expect output to appear
2423 at different points.
2424
4420d5e2
DJ
24252002-01-20 Daniel Jacobowitz <drow@mvista.com>
2426
2427 * gdb.c++/inherit.exp: Update copyright years.
2428 * gdb.c++/method.exp: Likewise.
2429
3e36a0f4
DJ
24302002-01-20 Daniel Jacobowitz <drow@mvista.com>
2431
2432 * gdb.c++/classes.exp: Update for improved v3 support and skipping
2433 artificial methods/arguments.
2434 * gdb.c++/derivation.exp: Likewise.
2435 * gdb.c++/inherit.exp: Likewise.
2436 * gdb.c++/method.exp: Likewise.
2437 * gdb.c++/virtfunc.exp: Likewise.
2438
b4ceaee6
AC
24392002-01-18 Andrew Cagney <ac131313@redhat.com>
2440
2441 * gdb.hp/gdb.threads-hp/usrthfork.exp: Mark as obsolete.
2442 * gdb.hp/gdb.threads-hp/usrthcore.exp: Ditto.
2443 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Ditto.
2444 * gdb.hp/gdb.threads-hp/usrthfork.c: Ditto.
2445 * gdb.hp/gdb.threads-hp/usrthbasic.c: Ditto.
2446 * gdb.hp/gdb.threads-hp/usrthcore.c: Ditto.
2447
ecace851
JB
24482002-01-17 Jim Blandy <jimb@redhat.com>
2449
2450 * gdb.asm/asm-source.exp (info symbol): Take another shot at
2451 anchoring the pattern matching the entry point symbol's name.
2452
375fc983
AC
24532002-01-17 Andrew Cagney <ac131313@redhat.com>
2454
2455 * gdb.base/maint.exp: Update ``maint internal-error'' to match
2456 continue/quit query. Update copyright.
2457
fe6fdd96
MS
24582002-01-14 Michael Snyder <msnyder@redhat.com>
2459
2460 * gdb.base/gcore.exp: Remove extra debugging output.
2461
e017c81f
DJ
24622002-01-13 Daniel Jacobowitz <drow@mvista.com>
2463
2464 * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
2465 for slightly dubious v2 mangled string.
2466
37ab3bf8
DJ
24672002-01-13 Daniel Jacobowitz <drow@mvista.com>
2468
2469 * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
2470
1bc05c3a 24712002-01-10 Jason Merrill <jason@redhat.com>
7b2ac63b 2472
1bc05c3a 2473 * gdb.c++/namespace.exp: Accept trailing const for 'this'.
7b2ac63b 2474
1bc05c3a
JM
2475 * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
2476 constructors.
2477 * gdb.c++/derivation.exp: Likewise.
2478 * gdb.c++/templates.exp: Likewise.
2479 * gdb.c++/virtfunc.exp: Likewise.
ffcb195b 2480
1bc05c3a
JM
24812002-01-10 Michael Snyder <msnyder@redhat.com>
2482
2483 * gdb.c++/namespace.exp: Accept both '\0' and '\000'.
ffcb195b 2484
a911c360
MS
24852002-01-08 Michael Snyder <msnyder@redhat.com>
2486
2487 * gdb.base/gcore.exp: New test for generate-core-file command.
2488 * gdb.base/gcore.c: Testcase for above.
2489 * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
2490
ea2119ec
JM
24912002-01-08 Jason Merrill <jason@redhat.com>
2492
2493 * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
2494
68203136
FF
24952002-01-07 Fred Fish <fnf@redhat.com>
2496
2497 * gdb.c++/overload.exp: Remove unconditional xfails for:
2498 print foo_instance1.overloadargs(1)
2499 print foo_instance1.overloadargs(1, 2)
2500 print foo_instance1.overloadargs(1, 2, 3)
2501 print foo_instance1.overloadargs(1, 2, 3, 4)
2502 print foo_instance1.overloadargs(1, 2, 3, 4, 5)
2503 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
2504 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
2505 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
2506 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
2507 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
2508 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
2509 print foo_instance1.overload1arg()
2510 print foo_instance1.overload1arg((char)arg2)
2511 print foo_instance1.overload1arg((signed char)arg3)
2512 print foo_instance1.overload1arg((unsigned char)arg4)
2513 print foo_instance1.overload1arg((int)arg7)
2514 print foo_instance1.overload1arg((unsigned int)arg8)
2515 print foo_instance1.overload1arg((float)arg11)
2516 print foo_instance1.overload1arg((double)arg12)
2517
21b9b5b1
MS
25182002-01-07 Michael Snyder <msnyder@redhat.com>
2519
2520 * gdb.base/huge.exp: New test. Print a very large target data object.
2521 (skip_huge_test): New test variable. Define if you want to skip this
2522 test. The test reads an 8 megabyte data object from the target, so it
2523 might be very time consuming on remote targets with a slow connection.
2524 * gdb.base/huge.c: New file. Test case for above.
2525
725f922e
FF
25262002-01-07 Fred Fish <fnf@redhat.com>
2527
2528 * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
2529 g_instance.bfoo, and g_instance.cfoo.
2530
634d57ec
JL
2531Mon Jan 7 12:22:18 2002 Jeffrey A Law (law@redhat.com)
2532
f286b2c3
JL
2533 * gdb.base/break.c (multi_line_if_conditional): New function.
2534 (multi_ilne_while_conditional): Likewise.
2535 * gdb.base/break.exp: Verify that a breakpoint on a multi-line
2536 IF or WHILE condition puts the breakpoint at the start of
2537 the condition.
2538
634d57ec
JL
2539 * gdb.base/selftest.exp (backtrace through signal handler): Remove
2540 hppa*-*-hpux* expected failure.
2541 * gdb.base/structs.exp (do_function_calls): Similarly.
2542
2543 * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
2544 watchpoints.
2545
9fbfe2dc
AC
25462002-01-06 Andrew Cagney <ac131313@redhat.com>
2547
2548 Fix PR gdb/66.
2549 * gdb.base/structs.exp: Replace skip for a29k with skip for
2550 gdb,cannot_call_functions.
2551 * gdb.base/call-ar-st.exp: Remove references to a29k in comments.
2552 * gdb.base/callfuncs.exp: Ditto.
2553 * gdb.base/call-rt-st.exp: Ditto.
2554 * gdb.base/call-strs.exp: Ditto.
2555 * gdb.base/callfwmall.exp: Ditto.
2556 * gdb.base/scope.exp: Obsolete xfail a29k.
2557 * gdb.c++/misc.exp: Ditto.
2558 * gdb.c++/cplusfuncs.exp: Ditto.
2559 * gdb.base/ptype.exp: Ditto.
2560 * gdb.base/printcmds.exp: Ditto.
2561 * gdb.base/opaque.exp: Ditto.
2562 * gdb.base/list.exp: Ditto.
2563 * gdb.base/funcargs.exp: Ditto.
2564 * gdb.base/default.exp: Ditto.
2565
8ddad156
MS
25662002-01-04 Michael Snyder <msnyder@redhat.com>
2567
ca4976a6 2568 * gdb.base/info-proc.exp: New file, test for "info proc" cmd.
8ddad156
MS
2569 * gdb.base/maint.exp: Add tests for maint info sections options.
2570
1b074332
JL
2571Fri Dec 21 09:42:11 2001 Jeffrey A Law (law@redhat.com)
2572
2573 * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
2574
7d159115
CV
25752001-12-20 Corinna Vinschen <vinschen@redhat.com>
2576
2577 * gdb.asm/arm.inc: New file.
2578 * gdb.asm/asm-source.exp: Add arm targets.
2579 * gdb.asm/configure.in: Ditto.
2580 * gdb.asm/configure: Recreated from configure.in.
2581
8fb87725
JL
2582Thu Dec 20 09:54:36 2001 Jeffrey A Law (law@redhat.com)
2583
afabe08c
JL
2584 * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
2585 with HP's compiler.
2586 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
2587 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
2588 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
2589 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
2590
2591 * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
2592 either HP's compilers or GCC.
2593
db521deb
JL
2594 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
2595 a SIGBUS or SIGSEGV.
2596
2597 * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
2598
2599 * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
2600 can be compiled with either HP's compiler or GCC.
2601
cfa88ab7
JL
2602 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
2603 * gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
2604 * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
2605
ca344dff
JL
2606 * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
2607 to match current gdb output. Update due to using auto-solib-limit
2608 for limiting instead of overloading auto-solib-add.
2609 * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
2610 test program.
2611
3f3c6e55 2612 * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
ca344dff
JL
2613 * gdb.hp/gdb.base-hp/dollar.exp: Likewise
2614 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
2615 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
2616 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
2617 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
2618 * gdb.hp/gdb.defects/bs15503.exp: Likewise.
2619 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
2620 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
2621 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
2622 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
2623 * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
2624 * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
3f3c6e55 2625
8fb87725
JL
2626 * gdb.base/annota1.exp: Expect failure for hpux11 when posting
2627 a SIGTRAP to the inferior.
2628
cf599fa7
CV
26292001-12-19 Corinna Vinschen <vinschen@redhat.com>
2630
2631 * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
2632 Substitute call to target_link by call to gdb_compile.
2633
2cd045cd
JL
2634Wed Dec 19 14:10:57 2001 Jeffrey A Law (law@redhat.com)
2635
2636 * gdb.base/break.exp: Fix HP specific search string when testing
2637 backtracing in a called function.
2638
2639 * gdb.base/constvars.exp: Only set lang to C++ if we're
2640 compiling the test with HP's compilers.
2641 * gdb.base/volatile.exp: Similarly.
2642
99ebe9ac
JB
26432001-12-19 Jim Blandy <jimb@redhat.com>
2644
2645 * gdb.base/printcmds.exp: Expect the null character to be printed
2646 as '\0', and the '\013' to be printed as '\v'.
2647 * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
2648 * gdb.base/setvar.exp: Same.
2649
b9891b29
JB
26502001-12-17 Jim Blandy <jimb@redhat.com>
2651
0eba65ab
JB
2652 * gdb.base/completion.exp: Rather than completing very long
2653 filenames, which can make the readline library produce output we
2654 don't recognize, cd to the directory first, and then complete
2655 using nice, short relative paths.
2656
6970b5b1
JB
2657 * gdb.base/completion.exp: On some systems, there is, in fact, a
2658 variable named `b' in scope, since GDB treats all static
2659 variables as being in scope. So use `no_var_named_this'
2660 instead of `b'.
2661
b9891b29
JB
2662 * gdb.base/corefile.exp: Recognize the message saying that GDB
2663 can't find the core file's registers as a failure.
2664
e6ccd35f
JSC
26652001-12-13 Jackie Smith Cashion <jsmith@redhat.com>
2666
2667 * gdb.base/commands.exp (user_defined_command_test): Make "show user"
2668 test expect string more specific.
2669
105ba819
CV
26702001-12-13 Corinna Vinschen <vinschen@redhat.com>
2671
2672 * gdb.asm/asm-source.exp: Add support for xstormy16.
2673 * gdb.asm/configure.in: Ditto.
2674 * gdb.asm/configure: Rebuild.
2675 * gdb.asm/xstormy16.inc: New file.
2676
e9e79dd9
FF
26772001-12-10 Fred Fish <fnf@redhat.com>
2678
2679 * gdb.base/maint.exp: Update to match changes in type dumping code.
2680
347dc97d
JB
26812001-12-10 Jim Blandy <jimb@redhat.com>
2682
2683 * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
2684 matching the entry point symbol's name at the beginning of the
2685 line.
2686
5178b9d6
DJ
26872001-12-07 Daniel Jacobowitz <drow@mvista.com>
2688
2689 * gdb.c++/classes.exp, gdb.c++/derivation.exp,
2690 gdb.c++/inherit.exp, gdb.c++/method.exp,
2691 gdb.c++/namespace.exp, gdb.c++/templates.exp,
2692 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
2693 and class layout support.
2694
af890c52
DJ
26952001-12-07 Daniel Jacobowitz <drow@mvista.com>
2696
2697 * gdb.c++/classes.exp: Add test for static member function.
2698 * gdb.c++/misc.cc: Add class with static member function.
2699
7a345fb3
JB
27002001-12-07 Jim Blandy <jimb@redhat.com>
2701
f2e54a80 2702 If GDB says it can't find the struct the function returned, report
8032bf31
JB
2703 those tests as `unsupported'.
2704 * gdb.base/call-rt-st.exp (print_struct_call): New function.
2705 Rewrite subsequent tests to use it.
2706
2707 If GDB says it can't find the struct the function returned, report
f2e54a80
JB
2708 those tests as `unsupported'.
2709 * gdb.base/structs.exp (call_struct_func): New function.
2710 (do_function_calls): Use call_struct_func to call the functions
2711 returning structs.
2712
0bc69509
JB
2713 * gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
2714 whether functions are prototyped or not, so we can't possibly pass
2715 arguments to t_float_values2 properly.
2716
7a345fb3
JB
2717 * gdb.base/break.exp: (test_next_with_recursion): Don't change the
2718 value of `timeout' for targets other than the mips*tx39-*.
2719
edb6ede1
MS
27202001-12-06 Michael Snyder <msnyder@redhat.com>
2721
2722 * gdb.asm/asm-source.exp: Add tests for info target, info symbol,
2723 and detect whether the start symbol has a leading underscore.
2724
2d842f13
JB
27252001-12-04 Jim Blandy <jimb@redhat.com>
2726
2727 * gdb.base/completion.exp: Clarify indentation.
2728
68550daf
JB
27292001-12-03 Jim Blandy <jimb@redhat.com>
2730
2731 * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
2732 variables on the S/390, not `.word'.
2733
cd5195a8
JB
27342001-11-30 Jim Blandy <jimb@redhat.com>
2735
2736 Add assembly-source tests for s390-ibm-linux.
2737 * gdb.asm/s390.inc: New file.
2738 * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
2739 the S/390 architecture.
2740 * gdb.asm/configure: Regenerated.
2741
ca9efc90
MS
27422001-11-30 Michael Snyder <msnyder@redhat.com>
2743
2744 * gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
2745 next, info source, info sources, info line, global and static
2746 variables, and static functions.
2747 * gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
2748 * gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
2749 * gdb.asm/asmsrc1.s: Add a static function and some variables.
2750 * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
2751 * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
2752 (gdbasm_leave): Restore frame pointer.
2753 (gdbasm_startup): Copy stack set-up from crt0.S.
2754
d0e66976
FN
27552001-11-26 Fernando Nasser <fnasser@redhat.com>
2756
2757 From 2001-11-12 Jackie Smith Cashion <jsmith@redhat.com>:
2758 * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
2759 to a local (non-static) variable. Copy tstruct.a to a static buffer
2760 and return a pointer to that buffer.
2761 * gdb.base/callfwmall.c (t_structs_a): Ditto.
2762
e2334072
MK
27632001-11-24 Mark Kettenis <kettenis@gnu.org>
2764
2765 * gdb.asm/configure.in: Fix recognition of ix86 target.
2766 * gdb.asm/configure: Regenerate.
2767
756caa3d
MS
27682001-11-21 Michael Snyder <msnyder@redhat.com>
2769
2770 * gdb.asm/sparc.inc: New file.
2771 * gdb.asm/asm-source.exp: Recognize sparc target.
2772 * gdb.asm/configure.in: Recognize sparc target.
2773 * gdb.asm/configure: Regenerate.
2774
9a4d72d5
MS
27752001-11-21 Michael Snyder <msnyder@redhat.com>
2776
2777 * gdb.asm/m32r.inc: New file.
2778 * gdb.asm/asm-source.exp: Recognize m32r target.
2779 * gdb.asm/configure.in: Recognize m32r target.
2780 * gdb.asm/configure: Regenerate.
2781
a773d1cd
MS
27822001-11-20 Michael Snyder <msnyder@redhat.com>
2783
017ac23d
MS
2784 * gdb.asm/i386.inc: New file.
2785 * gdb.asm/asm-source.exp: Recognize ix86 target.
2786 * gdb.asm/configure.in: Recognize ix86 target.
2787 * gdb.asm/configure: Regenerate.
2788
a773d1cd
MS
2789 * gdb.c++/namespace.exp: Fix quotes in output messages.
2790
bb632afb
MS
27912001-11-14 Michael Snyder <msnyder@redhat.com>
2792
25d559ca 2793 * gdb.base/code-expr.exp: New file. Tests use of the "@code"
bb632afb
MS
2794 qualifier in a type cast expression, to designate an address
2795 in the instruction space (Harvard architecture).
2796
4749e309
MS
27972001-11-13 Michael Snyder <msnyder@redhat.com>
2798
2799 * gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
2800 Tests for expressions using 'const' and 'volatile'.
2801
25050984
CV
28022001-11-13 Corinna Vinschen <vinschen@redhat.com>
2803
2804 * gdb.asm/asm-sources.exp: Allow defining linker flags.
2805
1902c51f
DJ
28062001-11-12 Daniel Jacobowitz <drow@mvista.com>
2807
2808 * lib/mi-support.exp (mi_run_to_helper): Move comments
2809 outside of gdb_expect.
2810
dcf95b47
DJ
28112001-11-11 Daniel Jacobowitz <drow@mvista.com>
2812
2813 * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
2814 mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
2815 mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
2816 mi0_run_to): New functions.
2817 * gdb.mi/mi-simplerun.exp: Use them.
2818 * gdb.mi/mi0-simplerun.exp: Likewise.
2819 * gdb.mi/mi-var-cmd.exp: Likewise.
2820 * gdb.mi/mi0-var-cmd.exp: Likewise.
2821
45b074e1
AC
28222001-11-10 Andrew Cagney <ac131313@redhat.com>
2823
2824 * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
2825 * gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
2826
bf50d346
AC
28272001-11-09 Andrew Cagney <ac131313@redhat.com>
2828
2829 * gdb.base/restore.exp: Include $expected value in restored test
2830 message.
2831
9383332c
AC
28322001-11-09 Andrew Cagney <ac131313@redhat.com>
2833
2834 * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
2835 implemented.
2836
db62520a
MS
28372001-11-08 Michael Snyder <msnyder@redhat.com>
2838
2839 * gdb.base/callfuncs.exp: Add tests for nested call dummies.
2840 Add pass/fail message for stop at breakpoint in call dummy function.
2841
b5703437
MS
28422001-11-07 Michael Snyder <msnyder@redhat.com>
2843
760f6330
MS
2844 * gdb.c++/templates.exp (test_template_breakpoints):
2845 If we get an overload menu, but it does not match what
2846 we expect, we still need to issue the "cancel" command.
3b2a7ae5
MS
2847 * gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
2848 making the whitespace optional. Argument for "new" may be
2849 "unsigned" as well as "unsigned int/long".
eef747c0
MS
2850 * gdb.c++/templates.exp: Replace "const &" with "const ?&",
2851 making the whitespace optional. Also replace "(void) with
2852 "((void|)), making the keyword "void" optional.
63f50499
MS
2853 * gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
2854 making the whitespace optional. Also replace "(void) with
2855 "((void|)), making the keyword "void" optional.
3bf40917
MS
2856 * gdb.base/callfuncs.c (t_float_values): This function must
2857 _not_ be prototyped, and the following function (t_float_values2)
2858 must be prototyped (if the compiler supports it), so that GDB
2859 can be tested against both cases. Usually one case involves
2860 promotion of float to double, while the other does not.
2861 * gdb.base/callfwmall.c: Ditto.
b5703437
MS
2862 * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
2863 includes a stack frame for "start".
2864
c8ab4e6d
JB
28652001-11-05 Jim Blandy <jimb@redhat.com>
2866
2867 * gdb.stabs/weird.exp: Delete "p v_comb" test. It assumes that
2868 pointers are 32 bits long, and that offsets of relocs are always
2869 stored in the data (REL-style), and not in the reloc entry itself
2870 (RELA-style).
2871 * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
2872 stabs.
2873
3f08ced9
MS
28742001-11-01 Michael Snyder <msnyder@redhat.com>
2875
2876 * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
2877 and regular expression operators by using quoting.
2878
cbfa24cd
MS
28792001-10-31 Michael Snyder <msnyder@redhat.com>
2880
2881 * gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
2882 depending on what the symbol table contains.
2883 * gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
2884 the output of the ptype command. Similarly, accept both "const &"
2885 and "const&".
2886
aaa68313
CV
28872001-10-31 Corinna Vinschen <vinschen@redhat.com>
2888
2889 * gdb.base/miscexprs.c (main): Add usage of preprocessor
2890 symbol `STORAGE' to allow to choose the storage class of
2891 the local datastructures.
2892 * gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
2893 compiler directive.
2894
91740388
MS
28952001-10-30 Michael Snyder <msnyder@redhat.com>
2896
2897 * gdb.base/jump.exp: Allow it to run for all targets.
2898
1b7c05e7
CV
28992001-10-29 Corinna Vinschen <vinschen@redhat.com>
2900
2901 * gdb.base/call-ar-st.c (print_double_array): Match for loop
2902 with new double_array size.
2903 (main): Change storage class of all local variables to static.
2904 Reduce size of double_array to 9.
2905 * gdb.base/call-ar-st.exp: Increase timeout value.
2906 Change expected output for double array to match new size in
2907 call-ar-st.c.
2908
36a22261
CV
29092001-10-29 Corinna Vinschen <vinschen@redhat.com>
2910
2911 * gdb.base/ending-run.exp: Create identical output when passing
2912 `step to end of run' case. Add regular expression branch satisfying
2913 Stormy16 target.
2914
92b8ae91
MK
29152001-10-28 Mark Kettenis <kettenis@gnu.org>
2916
2917 * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
2918 that we catch the expected failure under Linux/x86.
2919
cb135b83
OF
29202001-10-29 Orjan Friberg <orjanf@axis.com>
2921
2922 * gdb.base/setvar.exp: Escape curly braces.
2923 * gdb.stabs/weird.exp: Ditto.
2924
6884aa54
DJ
29252001-10-27 Daniel Jacobowitz <drow@mvista.com>
2926
2927 * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
2928 * gdm.mi/mi0-hack-cli.exp: Likewise.
2929
0398c9aa
AC
29302001-10-25 Andrew Cagney <ac131313@redhat.com>
2931
2932 * gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
2933 messages.
2934
d20bf2e8
AC
29352001-10-21 Andrew Cagney <ac131313@redhat.com>
2936
2937 * lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
2938 checking MI enabled.
2939
03dd63aa
CV
29402001-10-09 Corinna Vinschen <vinschen@redhat.com>
2941
2942 * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
2943
1d9d99f3
FCE
29442001-10-04 Frank Ch. Eigler <fche@redhat.com>
2945
2946 * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
2947 if gdb child process crashes, just signal an error.
2948
838ae6c4
JB
29492001-10-02 Jim Blandy <jimb@redhat.com>
2950
2951 * lib/gdb.exp (test_xfail_format): Simplify.
2952
2953 * lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
2954 front of the variable name `format'. Simplify `if'.
2955
8f0cbc1c
DJ
29562001-10-01 Daniel Jacobowitz <drow@mvista.com>
2957
2958 * gdb.threads/pthreads.exp: Wait for output and delay
2959 before sending ^C.
2960
1f08dafd
DJ
29612001-10-01 Daniel Jacobowitz <drow@mvista.com>
2962
2963 * gdb.mi/mi-var-display.exp (continue to incr_a): Recognize
2964 some incorrect output instead of timing out.
2965 * gdb.mi/mi-var-display.exp (continue to incr_a): Likewise.
2966
674f90ff
CV
29672001-09-28 Corinna Vinschen <vinschen@redhat.com>
2968
2969 * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
2970 check to allow additional `int'.
2971
9b284272
DJ
29722001-09-27 Daniel Jacobowitz <drow@mvista.com>
2973
2974 * gdb.base/completion.exp: Remove incorrect 'p "a' test.
2975 Add tests for 'p "break' (pass) and 'p "break.' (xfail).
2976
b55a4771
MS
29772001-09-27 Michael Snyder <msnyder@redhat.com>
2978
2979 * lib/gdb.exp (test_debug_format): New proc.
2980 (setup_xfail_format): Use new proc test_debug_format.
2981 * gdb.base/constvars.exp (local_compiler_xfail_check): New
2982 proc; use new service proc test_debug_format.
2983 Replace all other "gcc_compiled" tests with this test.
2984 * gdb.base/volatile.exp (local_compiler_xfail_check): New
2985 proc; use new service proc test_debug_format.
2986 Replace all other "gcc_compiled" tests with this test.
2987
29882001-09-27 Michael Snyder <msnyder@redhat.com>
2989
2990 * gdb.base/cvexpr.exp: New file.
2991 * gdb.base/cvexpr.c: New file
2992 Test for expressions using const and volatile keywords.
2993
4e6667ac
CV
29942001-09-26 Corinna Vinschen <vinschen@redhat.com>
2995
2996 * gdb.base/constvars.exp: Check for different orders of keywords
2997 and additional "int" strings in output.
2998
4f337972
AC
29992001-09-22 Andrew Cagney <ac131313@redhat.com>
3000
3001 * gdb.base/maint.exp: Add "maintenance set/show" to list of valid
3002 responses from "help maint".
3003
2015650d
FCE
30042001-09-19 Frank Ch. Eigler <fche@redhat.com>
3005
3006 * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
3007 to localhost:NNN instead of :NNN, in case Xvfb is listening
3008 only on TCP.
3009
f3bcedc1
CV
30102001-09-19 Corinna Vinschen <vinschen@redhat.com>
3011
3012 * gdb.base/recurse.exp: When checking leaving the watchpoint
3013 scope, recognize when gdb is in function's epilogue and pass.
3014
6b819c92
KS
30152001-09-18 Keith Seitz <keiths@redhat.com>
3016
3017 * lib/insight-support.exp (_gdbtk_export_target_info): Add
3018 support for running tests against sid targets.
3019 (gdbtk_done): Ditto.
3020
a10c9419
CV
30212001-09-18 Corinna Vinschen <vinschen@redhat.com>
3022
3023 * gdb.base/ending-run.c (main): Set stdout buffersize
3024 to the same reasonable value for any target.
3025 * gdb.base/ending-run.exp: Add a regular expression
3026 to make testsuite happy on Sanyo Stormy16 target.
3027
739d0d99
CV
30282001-09-17 Corinna Vinschen <vinschen@redhat.com>
3029
3030 * gdb.base/display.c (do_loops): Add float variable `f'.
3031 Increment f in loop.
3032 * gdb.base/display.exp: Increment timeout by 60 seconds.
3033 Change float display test to use variable `f'.
3034
1b8947f0
JB
30352001-09-17 Jim Blandy <jimb@redhat.com>
3036
3037 * gdb.base/restore.exp: Use temporary breakpoints, to avoid
3038 overflowing the limited breakpoint tables on some ROM monitors
3039 (like the ROM68K).
3040
9890ac81
FCE
30412001-09-15 Frank Ch. Eigler <fche@redhat.com>
3042
3043 * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
3044 the "-ac" (disable access control) flag.
3045
6db765ea
JH
30462001-08-30 Jeff Holcomb <jeffh@redhat.com>
3047
3048 * gdb.base/remote.c: Use a small buffer for targets with 16-bit
3049 ints.
3050
4c32cc04
KS
30512001-08-30 Keith Seitz <keiths@redhat.com>
3052
3053 * lib/gdb.exp: Move all insight-related functionality into
3054 separate file.
3055 * lib/insight-support.exp: New file.
3056
8d6e6f81
FCE
30572001-08-29 Frank Ch. Eigler <fche@redhat.com>
3058
3059 * config/sid.exp (sid_start): Never set sid verbosity; disable
3060 expect_background {} that consumed its stdout; tolerate </dev/null.
3061 Attempt to set endianness override in "sid" protocol mode. Cleanup.
3062
6a90e1d0
AC
30632001-08-18 Andrew Cagney <ac131313@redhat.com>
3064
3065 * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
3066 CLI jump command to start it.
3067 (mi_run_to_main): Fail immediatly when unexpected output.
3068
1759b3c3
AC
30692001-08-18 Andrew Cagney <ac131313@redhat.com>
3070
3071 * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
3072 beginning of function. Fix PR gdb/191.
3073
61d11d80
FCE
30742001-08-16 Frank Ch. Eigler <fche@redhat.com>
3075
3076 * config/sid.exp (sid_start): Don't warn if we cannot figure out
3077 what to force sid endianness to.
3078
942a4df2
KS
30792001-08-15 Keith Seitz <keiths@redhat.com>
3080
3081 * lib/gdb.exp (gdbtk_start): Don't set environment
3082 variables for TCL_LIBRARY and friends. Insight will
3083 now figure these out for itself.
3084
0521c418
MS
30852001-08-02 Michael Snyder <msnyder@redhat.com>
3086
3087 * gdb.base/completion.exp: Remove the symbol "a64l" from
3088 the expect string; this is target-specific, and not related
3089 to what is being tested.
3090
74a9a58a
DB
30912001-08-02 Dave Brolley <brolley@redhat.com>
3092
3093 * config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
3094
c70819fa
MS
30952001-07-25 Michael Snyder <msnyder@redhat.com>
3096
c2b8fa57
MS
3097 * gdb.base/consecutive.exp: New file. Test stepping over
3098 breakpoints on consecutive instructions.
3099 * gdb.base/consecutive.c: New file.
3100
c70819fa
MS
3101 * gdb.base/call-rt-st.exp: Use double-backslash to quote
3102 curly braces in regular expressions.
3103
2b1a1355
MS
31042001-07-25 Michael Snyder <msnyder@redhat.com>
3105
3106 * gdb.base/ending-run.exp: Accept "Program exited normally" as
3107 legitimate output from stepping out of main.
3108
413eca6f
KS
31092001-07-22 Keith Seitz <keiths@redhat.com>
3110
3111 * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
3112 the empty string, do not run the tests.
3113
7e5a9322
SC
31142001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
3115
3116 * gdb.base/long_long.exp: Detect size of pointer. Take into
3117 account 2-byte pointers when testing for p/a results.
3118
de58f10f
SC
31192001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
3120
3121 * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
3122 and defined to 1K for m68hc11.
3123 (random_data): Reduce table to 1K for embedded platforms (68hc11).
3124 * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
3125 (sizeof_random_data): New variable to tell the size of the data table;
3126 don't test past this size; always run to main.
3127
d6f5fea1
SC
31282001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
3129
3130 * gdb.base/return2.exp: return of long long and double fails for
3131 68HC11; don't execute these tests on that platform.
3132 * gdb.base/return.exp: Return of a double fails for 68hc11.
3133
c477543d
SC
31342001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
3135
3136 * call-ar-st.exp: Use gdb_skip_float_test to avoid executing
3137 tests that print a float.
3138 * call-rt-st.exp: Likewise.
3139
63cf1c79
MK
31402001-07-12 Mark Kettenis <kettenis@gnu.org>
3141
3142 * gdb.base/so-impl-ld.exp: Remove stray space that prevented
3143 running this test on Linux.
3144
112f9ab5
MC
31452001-06-24 Michael Chastain <chastain@redhat.com>
3146
3147 * gdb.base/arithmet.exp: Remove some tests to make all test names
3148 unique.
3149
4970cb0f
MS
31502001-07-03 Michael Snyder <msnyder@redhat.com>
3151
3152 * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
3153 the output of the ptype command.
3154
d85da69f
MS
31552001-07-02 Michael Snyder <msnyder@redhat.com>
3156
4c8a82de
MS
3157 * gdb.base/completion.exp: Don't assume that break.c is the only
3158 source file that may contain functions named "marker".
d85da69f
MS
3159 * gdb.base/corefile.exp: Quote the curly braces in regexp.
3160
8afc772b
AC
31612001-06-28 Andrew Cagney <ac131313@redhat.com>
3162
3163 * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
3164 of files to delete.
3165
3166 From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
3167 * gdb.disasm/h8300s.exp: New file.
3168 gdb.disasm/h8300s.s: Likewise.
3169
cff22675
AC
31702001-06-27 Andrew Cagney <ac131313@redhat.com>
3171
3172 * lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format
3173 empty breakpoint tables.
3174
68c81b54
AC
31752001-06-25 Andrew Cagney <ac131313@redhat.com>
3176
3177 * lib/mi-support.exp: Update args=... part of stop-reason
3178 patterns. Accept either a list or a tuple.
3179
2dd62704
AC
31802001-06-23 Andrew Cagney <ac131313@redhat.com>
3181
3182 * lib/mi-support.exp: Remove local emacs variable defining
3183 change-log-default-name.
3184
b4127474
MC
31852001-06-22 Michael Chastain <chastain@redhat.com>
3186
3187 * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
3188 This is operationally compatible with the previous version.
3189
8dbfb380
JB
31902001-06-13 Jim Blandy <jimb@redhat.com>
3191
3192 * lib/gdb.exp (gdb_test): Doc fix.
3193
f2d8c86d
MC
31942001-06-10 Michael Chastain <chastain@redhat.com>
3195
3196 * gdb.base/exprs.exp: Remove a duplicate test.
3197
81564d34
JB
31982001-06-06 Jim Blandy <jimb@redhat.com>
3199
3200 * gdb.base/return2.exp (main): Use values to test float and double
3201 returns that are not NaN's, to avoid being confused by IEEE
3202 comparison rules.
3203
da55addb
MS
32042001-06-04 Michael Snyder <msnyder@redhat.com>
3205
3206 * gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
3207 non-zero if control_c fails. Terminate the test on failure,
3208 rather than wait for 12 more tests to time out.
3209
42c65987
JB
32102001-06-06 Jim Blandy <jimb@redhat.com>
3211
b18bced9
JB
3212 * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
3213 Don't forget to match the GDB prompt.
3214
42c65987
JB
3215 * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
3216
5b41e5f0
JB
32172001-06-04 Jim Blandy <jimb@redhat.com>
3218
3219 * gdb.base/help.exp: Update pattern to exclude `print-load-map'
3220 command.
3221
015e046f
KB
32222001-05-31 Kevin Buettner <kevinb@redhat.com>
3223
3224 * gdb.base/annota1.exp (info break): Match four or more spaces
3225 after "Address".
3226
fb1ffbbe
MC
32272001-05-31 Michael Chastain <chastain@redhat.com>
3228
3229 * gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
3230 (dm_type_int_star): Likewise.
3231 (dm_type_long_star): Likewise.
3232 (dm_type_void_star): Likewise.
3233
5ea2a32c
KB
32342001-05-29 Kevin Buettner <kevinb@redhat.com>
3235
3236 * gdb.base/completion.exp (INPUTRC): Set this environment variable
3237 to a known value in order to get consistent results regardless
3238 of the setting of INPUTRC or the presence or contents of .inputrc.
3239
ae23c492
MS
32402001-05-24 Michael Snyder <msnyder@redhat.com>
3241
ac55707e
MS
3242 * gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
3243 Don't require that the main thread and the manager thread are the
3244 first in the list.
3245
ae23c492
MS
3246 * gdb.threads/pthreads.exp (test_startup): Relax test for thread
3247 debugging. If test fails, issue an "unsupported" not a "fail".
3248
400071f1
JB
32492001-05-24 Jim Blandy <jimb@redhat.com>
3250
3251 Don't assume that short is shorter than int.
3252 * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
3253 assume that shorts are smaller than ints. On a 16-bit machine,
3254 this isn't true.
3255 ("print unsigned char == (~0)"): Add test that verifies that ~0,
3256 an int, is not equal to ~0 stored in an unsigned char. This tests
3257 the same thing that the previous test meant to, but works on
3258 16-bit machines, too.
3259 ("print unsigned char != (~0)"): Same test, complemented.
3260
0816a3e5
MS
32612001-05-24 Michael Snyder <msnyder@redhat.com>
3262
3263 * gdb.threads/pthreads.exp (all_threads_running): Add an explicit
3264 test for (full_coverage == 0). This makes the test run faster,
3265 and prevents dejagnu getting out of step.
3266
f6dc23a9
KB
32672001-05-23 Kevin Buettner <kevinb@redhat.com>
3268
3269 * gdb.base/finish.exp (finish_void): Revise pattern for
3270 stopping on the call statement to not permit stopping at
3271 the start of the instructions comprising the call sequence.
3272
7dbd117d
MC
32732001-05-19 Michael Chastain <chastain@redhat.com>
3274
3275 * gdb.base/callfuncs.exp: Make all test names unique.
3276 * gdb.base/commands.exp: Make all test names unique.
3277 * gdb.base/condbreak.exp: Make all test names unique.
3278 * gdb.base/dbx.exp: Make all test names unique.
3279 * gdb.base/default.exp: Make all test names unique.
3280 * gdb.base/define.exp: Make all test names unique. Conform some FAIL
3281 and TIMEOUT messages to their corresponding PASS message.
3282 * gdb.base/ending-run.exp: Make all test names unique.
3283 * gdb.base/long_long.exp: Remove duplicate test.
3284
6b0b0a9e
KB
32852001-05-21 Kevin Buettner <kevinb@redhat.com>
3286
3287 * gdb.base/finish.exp (finish_void): Allow "finish" command to
3288 stop on the call statement as well as the statement after the
3289 call.
3290
2caa35cb
MS
32912001-05-21 Michael Snyder <msnyder@redhat.com>
3292
3293 * gdb.base/long_long.exp: Allow for targets with 4-byte short.
3294
40713331
EZ
32952001-05-10 Elena Zannoni <ezannoni@redhat.com>
3296
3297 * gdb.base/completion.exp: Revamp test. Make it execute on all
3298 platforms.
3299
c2c1be8d
EZ
33002001-05-10 Elena Zannoni <ezannoni@redhat.com>
3301
2c9cd303
EZ
3302 * config/gdbserver.exp (gdb_load): Handle the case
3303 in which the arguments to gdbserver are given in the
3304 baseboard configuration file.
3305 Also handle the case in which the server needs to do a
3306 load.
3307
9671de48
KS
33082001-05-07 Keith Seitz <keiths@cygnus.com>
3309
3310 * lib/gdb.exp (gdbtk_initialize_display): New proc which will
3311 set up the display for testing.
3312 (gdbtk_start): Convert all paths to paths that tcl will like.
3313 Export target information to environment.
3314 (_gdbtk_xvfb_init): New proc to start Xvfb if available and
3315 necessary.
3316 (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
3317 (to_tcl_path): New proc to convert a given pathname into
3318 a path acceptible as an argument to a tcl command.
3319 (_gdbtk_export_target_info): New proc to export target info
3320 into the environment for gdbtk testing.
3321 (gdbtk_done): New proc to signal end-of-test.
3322
5a360f47
JB
33232001-05-06 Jim Blandy <jimb@redhat.com>
3324
3325 * restore.c: Make the code of caller0 correspond to its comment.
3326
66c756c6
MS
33272001-05-03 Michael Snyder <msnyder@redhat.com>
3328
3329 * config/sid.exp (gdb_target_sid): Check for error messages.
3330 On error or timeout, don't make expect exit (which will terminate
3331 all subsequent tests); instead just make gdb exit.
3332 (gdb_load): Check for error messages. On error or timeout,
3333 return a negative value.
3334
a966fde5
JB
33352001-04-24 Jim Blandy <jimb@redhat.com>
3336
851c18e0
JB
3337 * gdb.c++/templates.exp: If we see the prompt for the overload
3338 list, but we haven't recognized any of the longer patterns,
3339 arrange for this test to fail, not hang.
3340
a966fde5
JB
3341 * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
3342 variations.
3343
db144853
MC
33442001-04-22 Michael Chastain <chastain@redhat.com>
3345
3346 * gdb.c++/local.exp: Use the 'runto' library function.
3347 * gdb.c++/namespace.exp: Likewise.
3348 * gdb.c++/overload.exp: Likewise.
3349
3207ec21
KB
33502001-03-26 Kevin Buettner <kevinb@redhat.com>
3351
3352 * gdb.base/Makefile.in (EXECUTABLES): Add step-line.
3353 * gdb.base/step-line.exp: New file. Test step/next in presence of
3354 #line directives.
3355 * gdb.base/step-line.c: New file. Test program for the above.
3356 * gdb.base/step-line.inp: New file. We pretend that this file has
3357 been transformed by some other tool into step-line.c.
3358
13b57657
JB
33592001-03-21 Jim Blandy <jimb@redhat.com>
3360
3361 * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
3362 unmangled operator names.
3363
754cbe1c
JB
33642001-03-20 Jim Blandy <jimb@redhat.com>
3365
3366 * gdb.threads/linux-dp.exp: Recognize an additional message
3367 generated by GDB when it doesn't understand how to debug threads
3368 on the target system.
3369
177495c9
AC
33702001-03-19 Andrew Cagney <ac131313@redhat.com>
3371
3372 * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
3373
f266096b
MC
33742001-03-12 Michael Chastain <chastain@redhat.com>
3375
3376 * gdb.c++/derivation.exp: Use the 'runto' library function.
3377
cac3c2ff
MC
33782001-03-12 Michael Chastain <chastain@redhat.com>
3379
3380 * gdb.c++/annota2.exp: Fix regular expression for "post-query".
3381
b6c11a24
MC
33822001-02-24 Michael Chastain <chastain@redhat.com>
3383
3384 * gdb.c++/ref-types.exp: Change handwritten code to library
3385 function 'runto'.
3386
6bae5bce
OF
33872001-03-16 Orjan Friberg <orjanf@axis.com>
3388
3389 * gdb.base/signals.exp: Set count to 0 explicitly.
3390
0015fd9a
MS
33912001-03-15 Mark Salter <msalter@redhat.com>
3392
3393 * config/monitor.exp (gdb_target_cmd): Add explicit error return.
3394 (gdb_target_monitor): Add check of gdb_target_cmd return value.
880a15ee
MS
3395 (gdb_load): Add support for additional target_info: gdb_download_size
3396 and gdb_load_timeout.
0015fd9a 3397
fc33412a
DT
3398Thu Mar 8 16:06:00 2001 David Taylor <taylor@redhat.com>
3399
3400 * gdb.base/annota1.exp: Move test of isnative to earlier in the
3401 file -- to prevent failing when the compile fails but we have no
3402 intention of running the tests anyway.
3403
3404 * gdb.base/long_long.exp: Test target_info for no_long_long, skip
3405 tests if set.
3406
3407 * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
3408 integers.
3409
3410 * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
3411 * gdb.c++/namespace.exp: Ditto.
3412
115f06de
OF
34132001-03-07 Orjan Friberg <orjanf@axis.com>
3414
3415 * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
3416 * gdb.base/pointers.exp: Relax pattern match of decimals.
3417
b6ba6518
KB
34182001-03-06 Kevin Buettner <kevinb@redhat.com>
3419
3420 * Makefile.in, config/abug.exp, config/cfdbug.exp,
3421 config/cpu32bug.exp, config/dve.exp, config/est.exp,
3422 config/gdbserver.exp, config/hmsirom.exp, config/hppro.exp,
3423 config/i960.exp, config/m32r.exp, config/mn10300-eval.exp,
3424 config/monitor.exp, config/proelf.exp, config/rom68k.exp,
3425 config/sh.exp, config/sid.exp, config/slite.exp,
3426 config/sparclet.exp, config/udi.exp, config/unknown.exp,
3427 config/vr4300.exp, config/vr5000.exp, config/vx.exp,
3428 config/vxworks.exp, config/vxworks29k.exp,
3429 gdb.asm/asm-source.exp, gdb.base/a2-run.exp,
3430 gdb.base/all-bin.exp, gdb.base/annota1.exp,
3431 gdb.base/arithmet.exp, gdb.base/assign.exp,
3432 gdb.base/async.exp, gdb.base/attach.exp,
3433 gdb.base/bitfields.exp, gdb.base/bitops.exp,
3434 gdb.base/break.exp, gdb.base/call-ar-st.exp,
3435 gdb.base/call-rt-st.exp, gdb.base/call-strs.exp,
3436 gdb.base/callfuncs.exp, gdb.base/callfwmall.exp,
3437 gdb.base/commands.exp, gdb.base/completion.exp,
3438 gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
3439 gdb.base/constvars.exp, gdb.base/corefile.exp,
3440 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
3441 gdb.base/display.exp, gdb.base/ena-dis-br.exp,
3442 gdb.base/ending-run.exp, gdb.base/environ.exp,
3443 gdb.base/eval-skip.exp, gdb.base/exprs.exp,
3444 gdb.base/finish.exp, gdb.base/foll-exec.exp,
3445 gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp,
3446 gdb.base/funcargs.exp, gdb.base/help.exp,
3447 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp,
3448 gdb.base/logical.exp, gdb.base/long_long.exp,
3449 gdb.base/maint.exp, gdb.base/mips_pro.exp,
3450 gdb.base/miscexprs.exp, gdb.base/nodebug.exp,
3451 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp,
3452 gdb.base/pointers.exp, gdb.base/printcmds.exp,
3453 gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp,
3454 gdb.base/regs.exp, gdb.base/relational.exp,
3455 gdb.base/remote.exp, gdb.base/reread.exp,
3456 gdb.base/restore.exp, gdb.base/return2.exp,
3457 gdb.base/scope.exp, gdb.base/sect-cmd.exp,
3458 gdb.base/selftest.exp, gdb.base/setshow.exp,
3459 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
3460 gdb.base/sigall.exp, gdb.base/signals.exp,
3461 gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp,
3462 gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
3463 gdb.base/step-test.exp, gdb.base/structs.c,
3464 gdb.base/structs.exp, gdb.base/structs2.exp,
3465 gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp,
3466 gdb.base/volatile.exp, gdb.base/watchpoint.exp,
3467 gdb.base/whatis-exp.exp, gdb.base/whatis.exp,
3468 gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
3469 gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.exp,
3470 gdb.c++/derivation.exp, gdb.c++/inherit.exp,
3471 gdb.c++/local.exp, gdb.c++/member-ptr.exp, gdb.c++/method.exp,
3472 gdb.c++/misc.exp, gdb.c++/namespace.exp, gdb.c++/overload.exp,
3473 gdb.c++/ref-types.exp, gdb.c++/templates.exp,
3474 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp,
3475 gdb.disasm/am33.exp, gdb.disasm/hppa.exp,
3476 gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp,
3477 gdb.fortran/types.exp, gdb.java/jmisc.exp,
3478 gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
3479 gdb.stabs/weird.exp, gdb.threads/linux-dp.exp,
3480 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
3481 gdb.trace/circ.exp, gdb.trace/collection.exp,
3482 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
3483 gdb.trace/limits.exp, gdb.trace/packetlen.exp,
3484 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp,
3485 gdb.trace/report.exp, gdb.trace/save-trace.exp,
3486 gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
3487 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
3488 lib/gdb.exp, lib/mi-support.exp: Update/correct copyright
3489 notices.
3490
dc96c6c7 34912001-02-27 Michael Snyder <msnyder@cygnus.com>
d8f92b1f
MS
3492
3493 * gdb.base/varargs.c (find_max_double): Fix printf format string:
3494 first arg is int not float.
3495
dc96c6c7 34962001-02-22 Michael Snyder <msnyder@cygnus.com>
40f33b9b
MS
3497
3498 * gdb.base/reread.exp: Unsupported for non-native targets;
3499 doesn't work for remote debugging.
3500
9b0c4aeb
FN
35012001-02-19 Fernando Nasser <fnasser@redhat.com>
3502
3503 From Drew Moseley <dmoseley@redhat.com>
3504 * gdb.base/ending-run.exp: Properly handle the BSP state when
3505 stepping past the end of main.
3506
02aa71d5
MC
35072001-02-19 John Moore <jmoore@redhat.com>
3508
3509 * gdb.base/commands.exp (infrun_breakpoint_command_test):
3510 Converted HPUX fix for non-expected items following multiple
3511 step commands into general solution for all platforms.
3512
1fa449a4
MC
35132001-02-18 Michael Chastain <chastain@redhat.com>
3514
3515 * gdb.c++/classes.exp (do_tests): Change runto statements
3516 from "runto 'foo(void)'" to "runto 'foo'". This makes the
3517 statements demangler agnostic.
3518 * gdb.c++/virtfunc.exp (do_tests): Likewise.
3519 (gdb_virtfunc_restart): Likewise.
3520
b2f9ec70
MC
35212001-02-14 Michael Chastain <chastain@redhat.com>
3522
3523 * gdb.c++/inherit.exp (do_tests): Change runto statements
3524 from "runto 'foo(void)'" to "runto 'foo'". This makes the
3525 statements demangler agnostic.
3526
cf74b8ca
AC
3527Sun Feb 4 17:32:21 2001 Andrew Cagney <cagney@redhat.com>
3528
3529 * gdb.threads/pthreads.exp: Unify pass/fail messages for
3530 ``continue to bkpt at common_routine in thread 2'' and ``stopped
3531 before calling common_routine 15 times'' tests.
3532
99f78f56
MC
35332001-02-11 Michael Chastain <chastain@redhat.com>
3534
3535 * gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
3536 Helps the test script figure out which demangler is in use.
3537 (dm_type_foo_ref): Ditto.
3538 (dm_type_int_star): Ditto.
3539 (dm_type_long_star): Ditto.
3540 (dm_type_unsigned_int): Ditto.
3541 (dm_type_void): Ditto.
3542 (dm_type_void_star): Ditto.
99707966 3543 * gdb.base/cplusfuncs.exp (probe_demangler): New function.
99f78f56
MC
3544 Probe the gdb demangler and set variables to accommodate
3545 formatting differences.
3546 (info_func_regexp): New function. Same as info_func, but
3547 matches against a regexp.
3548 (info_func): Match against a literal string.
3549 (print_addr_2): New function. Match against a literal string,
3550 which can be different from the input to gdb.
3551 (print_addr): Simply call print_addr_2 with the same argument twice.
3552 (test_lookup_operator_functions): Use demangler formatting variables.
3553 Blow away the xfails and workarounds for gnats gdb bug gdb/18. Sort
3554 the tests in the same order as the C++ class declaration.
3555 (test_paddr_operator_functions): Ditto.
3556 (test_paddr_overloaded_functions): Ditto.
3557 (test_paddr_hairy_functions): Use demangler formatting variables.
3558 Add reference to gdb/19 for related tests.
3559 (do_tests): Call probe_demangler.
3560
1de8f023
KB
35612001-01-30 Kevin Buettner <kevinb@redhat.com>
3562
3563 * gdb.c++/templates.cc (printf): Remove unused function definition.
3564
ca3f91ed
MS
35652001-01-26 Felix Lee <flee@redhat.com>
3566
3567 * sid.exp (sid_exit): Pass host, not target, to remote_close.
3568
35692001-01-25 matthew green <mrg@redhat.com>
3570
3571 * config/sid.exp (sid_start): Call `remote_push_conn' after firing
3572 up sid.
3573 (sid_exit): Call `remote_pop_conn' after GDB is gone.
3574
35752001-01-25 matthew green <mrg@redhat.com>
3576
3577 * config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.'
3578 Deprecate $sid_spawn_id.
3579 (sid_exit): Remove code necessary only for `spawn.'
3580
35812001-01-25 matthew green <mrg@redhat.com>
3582
3583 * config/sid.exp (sid_start): Handle sim,protocol of `sid.'
3584
fb18ec4a
MC
35852001-01-28 Michael Chastain <chastain@redhat.com>
3586
3587 * gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
3588 to call when tests fail. It takes gdb out of the overloaded
3589 function choice menu back to the main prompt, so that the test
3590 program stays synchronized.
3591 (set_bp_overloaded): New proc to collect all the common
3592 code for setting a breakpoint on an overloaded name. Calls
3593 take_gdb_out_of_choice_menu when needed.
3594 (menu_overload1arg): New variable to collect the repeated
3595 instances of the expected menu for an overloaded name. Change
3596 the regular expression to handle changes in g++ type encoding:
3597 "void" can be either "void" or "", and "unsigned int" can be
3598 either "unsigned int" or "unsigned".
3599 (continue_to_bp_overloaded): Change regular expressions to handle
3600 changes in g++ type encoding.
3601 (no proc): Call take_gdb_out_of_choice_menu when needed.
3602 Remove redundant calls to "info break". Accept either "canceled"
3603 or "cancelled". Change regular expressions in "info break"
3604 calls to handle changes in g++ type encoding. Give all tests
3605 unique strings.
3606
9c646a6e
BE
36072001-01-17 Ben Elliston <bje@redhat.com>
3608
3609 * config/sid.exp: New file.
3610
9549d9c1
AC
3611Fri Jan 12 18:29:01 2001 Andrew Cagney <cagney@b1.cygnus.com>
3612
3613 * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
3614
dc96c6c7 36152000-12-21 Michael Snyder <msnyder@cygnus.com>
315f8b0e
MS
3616
3617 * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
3618 Add a RE to accept a non-ascii char if one is ever presented.
3619
b4df4f68
FN
36202000-12-20 Fernando Nasser <fnasser@redhat.com>
3621
297dd0fd 3622 * lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
b4df4f68 3623
dc96c6c7 36242000-12-18 Michael Snyder <msnyder@cygnus.com>
49c890fc
MS
3625
3626 * gdb.base/setvar.exp: Use double '\\' to quote curly braces
3627 in regexp. One '\' does not suffice on Linux.
3628
4a7bddb6
MC
36292000-12-09 Michael Chastain <chastain@redhat.com>
3630
3631 * gdb.base/break.exp (test_clear_command): Use a marker function
3632 rather than 'main' for the test function. Also move this
3633 test to an execution point where the marker function names are
3634 guaranteed to be bound to functions. (Executing tests after a
3635 'finish' from main runs into name conflicts with local names
3636 in __libc_start_main).
3637
dc96c6c7 36382000-12-07 Michael Snyder <msnyder@cygnus.com>
efb66345
MS
3639
3640 * gdb.base/finish.exp: New test for gdb's "finish" command.
3641 * gdb.base/return2.exp: New test for gdb's "return" command.
3642 * gdb.base/return2.c: New source file for above.
3643
dc96c6c7 36442000-12-05 Michael Snyder <msnyder@cygnus.com>
3c077de9
MS
3645
3646 * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
3647 * gdb.base/miscexprs.exp: Ditto.
3648 * gdb.base/pointers.exp: Ditto.
3649 * gdb.c++/derivation.exp: Ditto.
3650 * gdb.c++/local.exp: Ditto.
3651 * gdb.c++/namespace.exp: Ditto.
3652 * gdb.c++/overload.exp: Ditto.
3653 * gdb.c++/ref-types.exp: Ditto.
3654
dc96c6c7 36552000-12-05 Michael Snyder <msnyder@cygnus.com>
660fd469
MS
3656
3657 * gdb.base/constvars.exp: Test result of "up" command.
3658 * gdb.base/miscexprs.exp: Ditto.
3659 * gdb.base/pointers.exp: Ditto.
3660 * gdb.base/scope.exp: Ditto.
3661 * gdb.c++/derivation.exp: Ditto.
3662 * gdb.c++/local.exp: Ditto.
3663 * gdb.c++/namespace.exp: Ditto.
3664 * gdb.c++/overload.exp: Ditto.
3665 * gdb.c++/ref-types.exp: Ditto.
3666
44097287
FN
36672000-11-22 Michael Chastain <chastain@redhat.com>
3668
3669 * mips_pro.exp: Accept either "middle -> top -> main" or
3670 "middle -> main" in the backtrace, because gcc can optimize
3671 tail calls to jumps. Remove setup_xfail for the hppa case.
3672 Add a comment with the original warning messages from PR 3016,
3673 which was filed in 1993, to preserve them for posterity.
3674
9d2e1bab
ND
36752000-11-17 Nick Duffek <nsd@redhat.com>
3676
3677 * lib/gdb.exp (gdb_test): Override timeout with board info.
3678
1aca8eb7
ND
36792000-11-17 Nick Duffek <nsd@redhat.com>
3680
3681 * gdb.base/display.exp: Don't kill running stub. Add "again" to
3682 the second kill and detach messages.
3683
93076499
ND
36842000-11-17 Nick Duffek <nsd@redhat.com>
3685
3686 * configure.in: Add AC_EXEEXT.
3687 * configure: Regenerate.
3688 * Makefile.in (just-check): Export EXEEXT.
3689 * lib/gdb.exp ($EXEEXT): Import from environment.
3690 * gdb.base/maint.exp: Expect $EXEEXT in executable name. Don't
3691 expect "maint dump-me" on Cygwin.
3692 * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
3693 $EXEEXT.
3694
30e87cd3
ND
36952000-11-17 Nick Duffek <nsd@redhat.com>
3696
3697 * gdb.base/break.exp: Test backtrace and finish from called
3698 function on all platforms, not just HP-UX.
3699
dc96c6c7 37002000-11-03 Michael Snyder <msnyder@cygnus.com>
08e706b1
MS
3701
3702 * config/monitor.exp (gdb_target_cmd): Abstracts some of the
3703 code from gdb_target_monitor, so it can be used independantly
3704 for gdbserver. Also comment out an unnecessary PUTS.
3705
dc96c6c7 37062000-11-03 Michael Snyder <msnyder@cygnus.com>
958a4e4c
MS
3707
3708 * gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
3709 * gdb.base/corefile.exp: Expect the message "Program is being
3710 debugged already" when we send the "corefile" command, since
3711 the preceeding gdb_load may have connected gdb to a remote target.
3712 * gdb.base/display.exp: Disable hardware watchpoints if new
3713 board info variable "no_hardware_watchpoints" is true.
3714 Replace single-letter commands with more readable ones.
3715 * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
3716 if new board info variable "no_hardware_watchpoints" is true.
3717 * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
3718 to see if stdio (printf) testing is possible.
3719 * gdb.base/watchpoint.exp: Disable hardware watchpoints if new
3720 board info variable "no_hardware_watchpoints" is true. Use new
3721 proc "gdb_skip_stdio_tests" to see if printf tests are possible.
3722
39124dea
FN
37232000-11-13 Fernando Nasser <fnasser@redhat.com>
3724
3725 From Orjan Friberg <orjanf@axis.com>:
3726 * gdb.base/printcmds.exp: Escape curly braces followed by a number
3727 in array print pattern match.
3728
a9e2e984
FN
37292000-11-09 Fernando Nasser <fnasser@redhat.com>
3730
3731 * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
3732 spelling "cancelled" to U.S. spelling "canceled" to match changes
3733 made to gdb.
3734 * gdb.c++/ovldbreak.exp: Ditto.
3735
c7db355b
PS
37362000-11-06 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
3737
3738 * gdb.base/callfuncs.c (main): Moved to end of file, call
3739 t_double_values to initialize the FPU before inferior calls are made.
3740 * gdb.base/callfuncs.exp: Test for register preservation after calling
3741 inferior functions. Add tests for continuining, finishing and
3742 returning from a stop in a call dummy.
3743
dc96c6c7 37442000-10-24 Michael Snyder <msnyder@cygnus.com>
42f5c13f
MS
3745
3746 * gdb.base/commands.exp: Break up long lines, and re-indent.
3747
dc96c6c7 37482000-10-19 Michael Snyder <msnyder@cygnus.com>
ae0323a8
MS
3749
3750 * config/gdbserver.exp: Rewritten from the ground up, to make it
3751 compatible with the current dejagnu tree, and to make it work with
3752 the new "gdbserver" in libremote.
3753
dc96c6c7 37542000-10-16 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
3755
3756 * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
3757 * gdb.base/varargs.exp: Skip entire test if no printf support.
3758 * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
3759 * gdb.base/shlib-call.exp: Skip several tests if no printf support.
3760
dc96c6c7 37612000-10-13 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
3762
3763 * lib/gdb.exp (gdb_skip_float_test): New proc. Skip test if
3764 no floating point support.
3765 (gdb_skip_stdio_test): New proc. Skip test if no stdio support.
3766 * gdb.base/call-ar-st.exp: Use above procs to skip tests.
3767 * gdb.base/call-rt-st.exp: Ditto.
3768 * gdb.base/call-strs.exp: Ditto.
3769
bac5fc66
JG
37702000-08-02 Jimmy Guo <guo@hpcleara.cup.hp.com>
3771
3772 * gdb.base/sizeof.c: include <stdio.h>.
3773
3774 * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
3775 'finish', otherwise uncaptured gdb_prompt would potentially
3776 throw remaining test points out of sync.
3777
b22a6027
SB
37782000-07-26 Scott Bambrough <scottb@netwinder.org>
3779
3780 * gdb.base/recurse.exp: Run tests for all targets.
3781 * gdb.base/so-impl-ld.exp: Added wildcard to handle the
3782 gnu-oldld case on ARM.
3783 * gdb.base/watchpoint.exp (test_stepping): Clear xfail
3784 for ARM targets.
3785
d8231941
AG
3786Mon Jul 24 07:46:02 CDT 2000 Clinton Popetz <cpopetz@cygnus.com>
3787
3788 * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
3789 * gdb.java/configure: Rebuild.
3790
8caabe69
AG
3791Sun Jul 23 21:42:34 2000 Anthony Green <green@redhat.com>
3792
3793 * gdb.java/jv-exp.exp: New file.
3794
9d273ca3
AG
3795Sun Jul 23 21:02:42 2000 Anthony Green <green@redhat.com>
3796
3797 * configure: Rebuilt.
3798 * configure.in (configdirs): Add gdb.java.
3799 * gdb.java/jmisc.java: New file.
3800 * gdb.java/jmisc.exp: New file.
3801 * gdb.java/Makefile.in: New file.
3802 * gdb.java/configure: Rebuilt.
3803 * gdb.java/configure.in: New file.
3804 * lib/java.exp: New file.
3805
4f823a66
AC
3806Wed Jul 12 18:14:29 2000 Andrew Cagney <cagney@b1.cygnus.com>
3807
3808 * gdb.base/exprs.exp: Test casts to a pointer including over and
3809 underflow.
3810
2391e11d
AC
3811Thu Jul 13 11:52:53 2000 Andrew Cagney <cagney@b1.cygnus.com>
3812
3813 * gdb.base/sizeof.exp, gdb.base/sizeof.c: New files. Compare GDB
3814 and the compilers sizes.
3815
54602222
ND
38162000-07-09 Nick Duffek <nsd@redhat.com>
3817
3818 * gdb.c++/misc.cc (class ClassParam, class_param): Define.
3819 (use_methods): New function.
3820 (main): Call use_methods().
3821 * gdb.c++/classes.exp (test_method_param_class): New procedure.
3822 (do_tests): Call test_method_param_class.
3823
2bec0572
ND
38242000-07-09 Nick Duffek <nsd@redhat.com>
3825
3826 * gdb.c++/classes.exp (test_nonexistant_members): Fix name
3827 spelling.
3828 (test_enums): New procedure. Move enum tests from end of script
3829 to here. Set breakpoint on function name instead of line number.
3830 * gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
3831 (enums2): New marker function.
3832 (enums1): New function.
3833 (main): Call enums1(). Move enum tests to enums1().
3834
78492fde
AC
3835Tue Jul 4 03:43:49 2000 Andrew Cagney <cagney@b1.cygnus.com>
3836
3837 * gdb.asm/asm-source.exp: Use raw AS/LD instead of CC to
3838 compile/link program. Update line numbers.
3839 * gdb.asm/d10v.inc: Define ``startup''.
3840 * gdb.asm/asmsrc1.s: Add definition of _start.
3841
49a2cef8
AC
3842Fri Jun 23 17:45:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
3843
3844 * gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
3845
3e6c8688
EZ
38462000-06-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3847
3848 * gdb.base/maint.exp: Add 'maint print architecture' item to output
3849 of 'help maint print' command.
3850
9ff5cbe9
AC
3851Fri Jun 16 18:22:05 2000 Andrew Cagney <cagney@b1.cygnus.com>
3852
3853 * gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
3854 they use gdb_expect_list.
3855
17c579bd
AC
3856Wed Jun 7 13:02:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
3857
3858 * gdb.base/commands.exp: Use ``set remote
3859 memory-read-packet-size'' instead of ``set endian big'' to test
3860 long commands.
3861
e6d71bf3
DB
38622000-06-03 Daniel Berlin <dan@cgsoftware.com>
3863
3864 * gdb.c++/templates.exp (do_tests): Make all of these work under
3865 g++, and stop skipping them.
3866
3867 * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
3868 work under g++.
3869
e5f9ba7b
MS
3870 * gdb.c++/misc.cc: Fix ambiguous initialization with correct
3871 initialization.
3872
dc96c6c7 38732000-06-02 Michael Snyder <msnyder@cygnus.com>
7346e70f
MS
3874
3875 * gdb.base/annota1.exp (run until main breakpoint): Loosen up
3876 the regular expression: accept an (almost) arbitrary sequence of
3877 "frames-invalid" and "breakpoints-invalid" messages both before
3878 and after the "starting" message.
3879
dc96c6c7 38802000-06-02 Michael Snyder <msnyder@cygnus.com>
e5f9ba7b
MS
3881
3882 * gdb.c++/local.exp: This test has never been known to work with g++.
e6d71bf3 3883
dc96c6c7 38842000-05-18 Michael Snyder <msnyder@cygnus.com>
0a791409
MS
3885
3886 * gdb.base/annota1.exp (annotate-signal-handler-caller):
3887 Relax the regular expression a little, make it pass on Solaris 8.
3888
8216cda9
KB
38892000-05-12 Kevin Buettner <kevinb@redhat.com>
3890
3891 * gdb.base/step-test.exp: On IA-64 targets, when stepping out of
3892 a call, do not require that gdb stop on the line after the call.
3893 Instead, it is permissible for gdb to stop on the line of the
3894 call itself.
3895
1a570b2f
MS
38962000-05-12 Michael Snyder <msnyder@.cygnus.com>
3897
3898 * gdb.base/break.exp (bp on small function, optimized file):
3899 Add a second pass pattern. The behavior differs here between stabs
3900 and dwarf for one-line functions. Stabs preserves two line symbols
3901 (one before the prologue and one after) with the same line number,
3902 but dwarf regards these as duplicates and discards one of them.
3903 Therefore the address after the prologue (where the breakpoint is)
3904 has no exactly matching line symbol, and GDB reports the breakpoint
3905 as if it were in the middle of a line rather than at the beginning.
3906
dc96c6c7 39072000-05-08 Michael Snyder <msnyder@cygnus.com>
89cb06a2
MS
3908
3909 * gdb.base/interrupt.exp: Make "pass" message say "send"
3910 rather than "send_gdb" (for consistancy).
3911
7d418785
AC
3912Mon May 1 15:37:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
3913
3914 From 2000-04-28 Andreas Jaeger <aj@suse.de>:
3915 * gdb.c++/templates.cc: Properly check for GCC version number.
3916 * lib/compiler.cc: Likewise
3917
dc96c6c7 39182000-04-28 Michael Snyder <msnyder@cygnus.com>
e919ea79
MS
3919
3920 * gdb.base/break.exp: When compiled with -O2 optimization,
3921 gdb may not stop at the first line of main, due to code motion.
3922
dc96c6c7 39232000-04-26 Michael Snyder <msnyder@cygnus.com>
1960c400
MS
3924
3925 * gdb.base/call-ar-st.exp: Bail out if target is sparclet.
3926 This test depends on parsing the printf output from the target.
3927 Since the sparclet stub doesn't do stdio, this will never work.
3928 * gdb.base/call-rt-st.exp: ditto.
3929 * gdb.base/call-strs: ditto.
3930
dc96c6c7 39312000-04-24 Michael Snyder <msnyder@cygnus.com>
b84b7669
MS
3932
3933 * gdb.base/miscexprs.exp: make sizeof long array test portable.
3934
3935 * gdb.base/ending-run.exp: After connecting to a remote target,
3936 but before running, the target will appear to be in a random
3937 location. Specify both a file and a line for breakpoints.
3938 Also, the function that calls main may be called 'init'
3939 rather than 'start'.
3940
a5a51225
EZ
39412000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3942
3943 * gdb.base/help.exp: Update output for add-symbol-file command.
3944
7930cc7c
FN
39452000-04-10 Fernando Nasser <fnasser@cygnus.com>
3946
3947 From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
3948 * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
3949
23e37ab1
C
39502000-04-07 J.T. Conklin <jtc@redback.com>
3951
e93c542c
C
3952 * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
3953
23e37ab1
C
3954 * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
3955
591b8fa3
PDM
3956Thu Mar 30 13:26:19 2000 Philippe De Muyter <phdm@macqel.be>
3957
3958 * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
3959 values that can be represented exactly.
3960 * gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
3961 above change, and to not check against the directory part of the source
3962 file name.
3963 (step into print_long_arg_list): Likewise.
3964 (print print_small_structs from print_long_arg_list): Likewise.
3965 (print print_long_arg_list): Likewise.
3966
7a495180
EZ
39672000-03-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3968
30b53638 3969 * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
7a495180 3970
beb998c6
AC
3971Mon Mar 27 14:46:37 2000 Andrew Cagney <cagney@b1.cygnus.com>
3972
3973 * ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
3974
1c689132
DB
39752000-03-25 Daniel Berlin <dan@cgsoftware.com>
3976
3977 * gdb.base/commands.exp (deprecated_command_test): Add test for
3978 deprecate with no arguments.
3979
c1790a9d
JL
39802000-03-24 Jonathan Larmour <jlarmour@redhat.co.uk>
3981
3982 * gdb.base/break.exp: Add new test for setting breakpoints on
3983 optimized code so we can test breakpoints work even when function
3984 prologues may be optimized away
3985
003ba290
FN
39862000-03-23 Fernando Nasser <fnasser@totem.to.cygnus.com>
3987
3988 From David Whedon <dwhedon@gordian.com>
3989 * gdb.base/commands.exp : Added command deprecator tests.
3990
6837a0a2
DB
39912000-03-22 Daniel Berlin <dan@cgsoftware.com>
3992
3993 * gdb.base/help.exp: Added test for new apropos command.
3994
b9593231
KB
39952000-03-21 Kevin Buettner <kevinb@redhat.com>
3996
3997 * gdb.base/pointers.c (usevar): New function.
3998 (main): Make sure that global variables v_int_pointer2, rptr,
3999 and y are all referenced someplace in the program by calling
4000 usevar() on them. [Some linkers delete symbols which are
4001 never referenced. The space remains, but there's no way to
4002 get a (symbolic) handle on the variable from the debugger.]
4003
751a959b
EZ
40042000-03-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4005
4006 * gdb.base/printcmds.c: Add typedeffed arrays.
4007
4008 * gdb.base/printcmds.exp (test_print_typedef_arrays): New
4009 procedure to test arrays that are typedef'd.
4010
73a93a32
JI
40112000-03-13 James Ingham <jingham@leda.cygnus.com>
4012
4013 * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
beb998c6 4014 the library directories.
73a93a32 4015
fb40c209
AC
4016Mon Feb 21 13:05:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
4017
4018 * configure.in (configdirs): Add sub directory gdb.mi.
4019 * configure: Re-generate.
4020
4021 * gdb.mi: New directory.
beb998c6 4022
ee4dd2c9
AC
40232000-02-25 Scott Bambrough <scottb@netwinder.org>
4024
4025 * gdb.base/long_long.exp: Correct test suite failure when printing
4026 a long long value as a double on ARM platforms.
4027
70f0cc22
JB
40282000-02-16 Jim Blandy <jimb@redhat.com>
4029
4030 * gdb.base/break.exp ("breakpoint line number"): Make sure the
4031 default source file is set properly before running this test.
4032
853819b8
EZ
40332000-02-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4034
4035 * lib/gdb.exp: Tell the testsuite that now gdbtk is in the
4036 gdbtk/library directory, not in gdbtcl2.
4037
dfcd3bfb
JM
40382000-02-04 Jim Blandy <jimb@redhat.com>
4039
4040 * gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
4041 backslash from regexp pattern.
4042
4043 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): New
4044 procedure. Use it to run all the "continue to bp overloaded"
4045 tests. Note that this changes the names of the tests slightly.
4046 If the breakpoint hit message includes a hex PC value, because
4047 GCC's Dwarf 2 line info doesn't help us distinguish the prologue
4048 from the real source code, still consider that a pass.
4049
4050 * gdb.base/condbreak.exp ("run until breakpoint at marker2"):
4051 XFAIL here if the breakpoint message contains a hex address. Note
4052 similar change on 1999-11-02.
4053
4054 * gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
4055
4056 * gdb.base/ptype.exp: Establish a default source file before
4057 calling get_debug_format.
4058
40592000-02-03 Fernando Nasser <fnasser@totem.to.cygnus.com>
4060
4061 * gdb.base/watchpoint.exp: Remove duplication of test messages.
4062
8b93c638
JM
40632000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
4064
4065 * gdb.base/step-test.exp: Fix the steps to enter a callee by means
4066 of successive stepi commands -- while in the prologue we should see
4067 the function entry bracket.
4068
40692000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
4070
4071 * gdb.base/ending-run.exp: Add ARM in thumb mode case, where we
4072 reach __change_mode() when stepping through the end of main().
4073
c5394b80
JM
40742000-01-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
4075
4076 * gdb.base/default.exp: Fix expected pattern.
4077 * gdb.base/help.exp: Same.
4078
0d06e24b
JM
40792000-01-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4080
4081 * gdb.base/so-indr-cl.exp: Don't execute the test if not on HPUX.
4082 Don't use xfail's because that affects only the following test.
beb998c6 4083
0d06e24b
JM
4084 * gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
4085 solaris or linux.
4086
4087 * gdb.base/selftest.exp: Update to reflect changes to main.c.
4088
dc96c6c7 40892000-01-07 Michael Snyder <msnyder@cygnus.com>
0d06e24b 4090
beb998c6 4091 * gdb.base/display.exp: Some yacc parsers like to say
0d06e24b
JM
4092 "A syntax error" rather than "A parse error". Accept both.
4093
40942000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
4095
4096 * gdb.base/default.exp: Remove OS dependent string from "target
4097 remote" test.
4098 * gdb.base/help.exp: Same for "help target remote" test.
4099
c3f6f71d
JM
41002000-01-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4101
4102 From Jim Kingdon <kingdon@redhat.com>:
4103
4104 * gdb.c++/annota2.exp: Fix "delete bps" test to wait for the
4105 prompt (cleanup rather than necessity, but still might keep output
4106 from spilling to next test).
4107
41082000-01-02 Fred Fish <fnf@cygnus.com>
4109
4110 * gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
4111 AIX, which defines them in <sys/types.h>.
4112
ed9a39eb 41131999-12-16 Stan Shebs <shebs@andros.cygnus.com>
c4093a6a 4114
ed9a39eb
JM
4115 * gdb.base/default.exp: Match arm* etc instead of arm in "info
4116 float" test.
4117
41181999-12-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
c4093a6a 4119
ed9a39eb 4120 * gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
c4093a6a
JM
4121
4122 * gdb.base/break.exp: Add missing anchor to reg exp on "finish from
4123 outermost frame disallowed".
4124
41251999-12-09 Fernando Nasser <fnasser@totem.to.cygnus.com>
4126
4127 * gdb.base/setvar.exp: New tests for setting the value of a struct
4128 with a constant list.
4129
41301999-12-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
4131
4132 * gdb.base/setvar.exp: Remove pair os tests that expected gdb to
4133 require the user to type a cast before setting the value of a struct.
4134
de57eccd
JM
41351999-12-06 Jim Blandy <jimb@cygnus.com>
4136
4137 * gdb.base/default.exp: Expect the new 'info float' command on
4138 all i386 platforms.
4139
4140 * gdb.threads/linux-dp.exp: Expand our ability to recognize
4141 LinuxThreads libraries that don't support debugging.
4142
c2d11a7d
JM
4143Sat Dec 4 15:21:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
4144
4145 * gdb.base/remote.c: Fill the buffer with truely random data.
4146 Change the buffer type to ``unsigned char'' to simplify size
4147 arithmetic.
4148
4149 * gdb.base/remote.exp: Reduce download numbers by one. Typical
4150 stub only handles 400-1 byte packets. Verify that the download
4151 worked.
4152
41531999-11-30 Fernando Nasser <fnasser@totem.to.cygnus.com>
4154
4155 * lib/gdb.exp (gdb_expect_list): FAIL only once on multiple pattern
4156 tests, using UNRESOLVED for the untested cases. Also, does not wait
4157 for a timeout if the prompt was received before a recognizable pattern.
4158
41591999-11-29 Fernando Nasser <fnasser@totem.to.cygnus.com>
4160
4161 * lib/gdb.exp (gdb_expect_list): Fix spelling.
4162
41631999-11-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4164
4165 * gdb.base/watchpoint.exp: Add tests cases for the hit count of
4166 watchpoints.
4167
41681999-11-24 Jason Merrill <jason@casey.cygnus.com>
4169
4170 * gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
4171
4172 * gdb.c++/local.exp: Be more flexible in recognizing local class
4173 name mangling. Don't allow horribly truncated method names.
4174 * gdb.c++/derivation.exp: Expect protected inheritance.
4175 * gdb.c++/inherit.exp: Be more flexible in recognizing vbase pointers.
4176 * gdb.c++/virtfunc.exp: Likewise.
4177 * gdb.c++/classes.exp: Likewise. Don't require the enclosing scope
4178 when printing a nested enum.
4179
41801999-11-22 Jim Blandy <jimb@cygnus.com>
4181
4182 * gdb.base/step-test.exp: Properly await GDB's response to setting
4183 a breakpoint on the call to large_struct_by_value.
4184
4185 * gdb.base/ending-run.exp ("step to end of run 1"): Don't fail
4186 just because we have debug info for the `start' function.
4187
41881999-11-19 Jim Blandy <jimb@zenia.red-bean.com>
4189
4190 * gdb.threads/linux-dp.exp ("create philosopher"): Recognize the
4191 "Unknown signal" messages, which indicate (on LinuxThreads) that
4192 GDB doesn't know how to debug threads on this system. This is
4193 better than hanging while philosopher 0 dumps chatter into gdb.log.
4194
41951999-11-18 Tom Tromey <tromey@cygnus.com>
4196
4197 * gdb.trace/deltrace.exp: Updated test to reflect new error text.
4198
41991999-11-18 Fred Fish <fnf@cygnus.com>
4200
4201 * gdb.base/coremaker2.c: Add sample program for generating
4202 cores that is more self contained than coremaker.c. Eventually
4203 I'll add more code to this and tie it into the testsuite.
4204
4ce44c66
JM
42051999-11-12 Stan Shebs <shebs@andros.cygnus.com>
4206
4207 * gdb.base/dollar.exp: Remove, now in gdb.hp.
4208
42091999-11-10 Jimmy Guo <guo@cup.hp.com>
4210
4211 * gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
4212 from $srcdir/lib/.
4213 * lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
4214 and gdb.c++/.
4215
4216 * gdb.c++/derivation.exp: remove redundant get compiler info code.
4217
beb998c6 4218 * gdb.base/commands.exp: add '$gdb_prompt $' anchor to
4ce44c66
JM
4219 'continue with watch' test point.
4220
42211999-11-08 Jim Blandy <jimb@zenia.red-bean.com>
4222
4223 Merged from p2linux-990323-branch:
beb998c6 4224
4ce44c66
JM
4225 * lib/gdb.exp (gdb_continue_to_breakpoint): New function.
4226
11cf8741
JM
4227Mon Nov 8 23:07:09 1999 Andrew Cagney <cagney@amy.cygnus.com>
4228
4229 * gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
4230 {limit,fixed}''. Test ``set download-write-size''.
4231
4232Sun Nov 7 17:37:01 1999 Andrew Cagney <cagney@b1.cygnus.com>
4233
4234 * gdb.base/funcargs.exp: Rewrite stack traceback checks using
4235 gdb_expect_list.
4236
4237Fri Nov 5 18:40:52 1999 Andrew Cagney <cagney@b1.cygnus.com>
4238
4239 * lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
4240
42411999-11-03 Mark Salter <msalter@cygnus.com>
4242
4243 * gdb.base/break.exp: Fix "stub continue" pattern.
4244
42451999-11-03 Jim Blandy <jimb@zwingli.cygnus.com>
4246
4247 * gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
4248
42491999-11-02 Jim Blandy <jimb@zwingli.cygnus.com>
4250
4251 * gdb.base/display.exp ("finish"): Add timeout clause.
4252
4253 * gdb.base/condbreak.exp ("run until breakpoint at marker1"): Add
4254 plain prompt clause, so this doesn't have to time out in order to
4255 fail.
4256
4257 * gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
4258 breakpoint hit messages include an address.
4259
4260 * gdb.base/display.exp: Don't forget to escape parens in regular
4261 expressions. Unix regexp notatation sucks.
4262
42631999-11-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4264
4265 * gdb.base/annota1.exp: Test for annotate-signalled: change output
4266 order for 'signalled' message.
4267
5c44784c
JM
42681999-11-01 Stan Shebs <shebs@andros.cygnus.com>
4269
4270 From Jimmy Guo <guo@cup.hp.com>:
4271 * gdb.base/annota1.exp: Add tests for annotate ignore count change.
4272 * gdb.base/annota1.c: Add code for tests to work with.
4273
42741999-10-26 Frank Ch. Eigler <fche@cygnus.com>
4275
4276 * gdb.base/remote.exp: New test for remote downloading settings.
4277 * gdb.base/remote.c: New file with large .data.
4278
917317f4
JM
42791999-10-18 Jim Blandy <jimb@zwingli.cygnus.com>
4280
4281 * gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
4282 for LinuxThreads support, merged from the Code Fusion branch.
4283
4284Mon Oct 11 13:57:21 1999 Andrew Cagney <cagney@amy.cygnus.com>
4285
4286 * lib/gdb.exp (gdb_run_cmd): Break complicated gdb_expect
4287 containing exp_continue into a while within an expect. Don't
4288 attempt a start more than three times. Check return value from
4289 gdb_load.
beb998c6 4290
2df3850c
JM
4291Wed Oct 6 12:05:58 1999 Andrew Cagney <cagney@b1.cygnus.com>
4292
4293 * gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
4294 a pass case.
4295
2acceee2
JM
42961999-10-01 Kevin Buettner <kevinb@cygnus.com>
4297
4298 * gdb.base/break.c (main): Added a statement that we can step
4299 off of.
4300 * gdb.base/break.exp: Added tests for setting a breakpoint
4301 at an offset and stepping onto a breakpoint.
4302
43031999-10-01 Fred Fish <fnf@cygnus.com>
4304
beb998c6 4305 * gdb.base/help.exp (help add-symbol-file): Update to match current
2acceee2
JM
4306 gdb output.
4307
c2c6d25f
JM
43081999-09-18 Jim Blandy <jimb@cris.red-bean.com>
4309
4310 * gdb.base/break.exp: Code locations are in hex, don't forget!
4311 (For HP-UX.)
4312
43131999-09-17 Stan Shebs <shebs@andros.cygnus.com>
4314
4315 * condbreak.exp: Use break.c as test program.
4316 * condbreak.c: Remove, redundant with break.c.
4317
43181999-09-15 Stan Shebs <shebs@andros.cygnus.com>
4319
4320 * config/monitor.exp (gdb_target_monitor): Disable X- and
4321 Z-packets if the target needs it.
4322
43231999-09-13 James Ingham <jingham@leda.cygnus.com>
4324
4325 * gdb.c++/overload.exp: Added tests for listing overloaded
4326 functions with function pointers in the arg, explicitly calling
4327 out the version you want.
4328
cff3e48b
JM
43291999-09-09 Stan Shebs <shebs@andros.cygnus.com>
4330
4331 * long_long.exp: Add variations of test cases that work for
4332 targets with 16-bit ints and 32-bit doubles.
4333
d4f3574e
SS
43341999-09-08 Stan Shebs <shebs@andros.cygnus.com>
4335
4336 * break.c (main): Compare a possibly-uninitialized argc with an
4337 unlikely value that fits in 16 bits.
4338
43391999-09-07 Stan Shebs <shebs@andros.cygnus.com>
4340
4341 * gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
4342 0xfeeb, don't want negative numbers if ints are 16 bits.
4343
4344 * lib/gdb.exp (skip_cplus_tests): New proc.
4345 * gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
4346 gdb.c++/anon-union.exp, gdb.c++/classes.exp,
4347 gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
4348 gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
4349 gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
4350 gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
4351 gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
4352 gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
4353
4354 * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
4355
4356Fri Sep 3 15:37:12 1999 Kevin Buettner <kevinb@cygnus.com>
4357
4358 * gdb.base/corefile.exp (up): Allow a parameter to appear
4359 in the frame that we're going up to.
4360
4361 From Jim Blandy <jimb@cygnus.com>:
4362
4363 * gdb.base/default.exp (info float): Expect some output now.
4364
4365 * gdb.base/callfuncs.exp (do_function_calls): We no longer expect
4366 returning floating-point values to fail on the x86.
4367 * gdb.base/callfwmall.exp (do_function_calls): Same.
4368
4369 * gdb.base/list.exp (test_listsize): Correct expectations for
4370 listing line 1 with listsize 2. Also, listing a single line
4371 works now, as does listing three lines. [Kevin's note: There
4372 were a number of other cases fixed too where the expectations
4373 differed...]
4374
43751999-09-02 Stan Shebs <shebs@andros.cygnus.com>
4376
4377 * gdb.base/selftest.exp: Add case for when version prints as
4378 constant string instead of char pointer.
4379
104c1213
JM
43801999-08-25 Stan Shebs <shebs@andros.cygnus.com>
4381
4382 * gdb.base/ending-run.exp: Add Solaris case for what happens when
4383 stepping out of main.
4384
4385 * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
4386 G++ used.
4387
4388 * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
4389 always, expect ptype InnerLocal::NestedInnerLocal to fail always.
4390
4391 * gdb.c++/ovldbreak.exp: Update match string in test that
4392 includes a warning of multiple breakpoints.
4393
43941999-08-24 Stan Shebs <shebs@andros.cygnus.com>
4395
4396 * gdb.base/display.exp: Improve precision of step-after-finish
4397 added yesterday.
4398
4399 * gdb.base/signals.exp: Add extra wildcard to "handle all print"
4400 test.
4401
4402 * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
4403 configs when using G++, not just hppa*.
4404
44051999-08-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4406
4407 * gdb.base/async.c: New file.
4408 * gdb.base/async.exp: New file.
4409
4410Tue Aug 24 03:24:53 1999 Jeffrey A Law (law@cygnus.com)
4411
4412 * gdb.base/break.exp: Tweak PA specific tests to properly handle
4413 PA64.
4414
53a5351d
JM
4415Mon Aug 23 10:25:20 1999 Jeffrey A Law (law@cygnus.com)
4416
104c1213
JM
4417 * gdb.base/display.exp: "finish" can leave us mid-line on many
4418 targets, deal with it. Add a small constant to main, instead of
4419 1000 since main+1000 may not be a valid address in the target.
4420
53a5351d
JM
4421 * gdb.base/dollar.exp: Do not run for PA processors in wide mode
4422 on hpux11.
4423
4424 * gdb.base/attach.exp: Handle another hpux11 error message variant
4425 when attaching to a process that does not exist.
4426
44271999-08-19 J.T. Conklin <jtc@redback.com>
4428
4429 * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
4430 characters in 'continue to 1241' test.
4431
44321999-08-17 Stan Shebs <shebs@andros.cygnus.com>
4433
4434 * gdb.base/call-ar-st.exp: Add a shorter match case for the
4435 stop in print_long_arg_list, define and use a whitespace
4436 variable in print_small_structs test, add an XFAIL for Solaris.
4437 * gdb.base/dbx.exp: XFAIL func commands until somebody is
4438 interested enough to fix.
4439
7be570e7
JM
44401999-08-13 Keith Seitz <keiths@cygnus.com>
4441
4442 * gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
4443 (dbx_gdb_load): Remove. Use gdb_load instead, since that
4444 proc knows about targets other than the natives.
4445 (test_assign): Use "gdb_run_cmd" to "run" the target.
4446 Check that we've actually hit the breakpoint at main.
4447 When we attempt to assign a value to a local variable, check
4448 that the variable is in the current scope, i.e., don't use
4449 a test with an empty result.
4450
4451Tue Aug 10 15:25:16 1999 Andrew Cagney <cagney@b1.cygnus.com>
4452
4453 * gdb.base/maint.exp: Add test of ``maintenance internal-error''
4454 command.
4455
44561999-08-09 Stan Shebs <shebs@andros.cygnus.com>
4457
4458 From Jimmy Guo <guo@cup.hp.com> and others at HP:
4459 gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
4460 gdb.compat, gdb.threads-hp.
4461 gdb.hp/configure, gdb.hp/configure.in: New files.
4462 gdb.hp/Makefile.in: Recurse into new subdirs.
4463 gdb.hp/gdb.defects: New directory, tests for HP bug reports.
4464 gdb.hp/gdb.objdbg: New directory, tests for debugging info
4465 in object files.
4466 gdb.hp/tools: New directory, aux tools for HP-specific tests.
4467
96baa820
JM
44681999-08-05 Stan Shebs <shebs@andros.cygnus.com>
4469
4470 * gdb.base/display.exp: Help expect by putting a newline in the
4471 funky printf, remove a bogus p/a test.
4472
44731999-08-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4474
4475 * gdb.base/display.exp: Make sure that when we say 'run', we are
4476 connected to the target. This is necessary when running not
4477 natively.
4478
44791999-08-03 Stan Shebs <shebs@andros.cygnus.com>
4480
4481 * gdb.base/step-test.exp: Removed some extraneous messages.
4482
4483 * gdb.base/long_long.exp: Don't run memory examination tests
4484 on little-endian targets (they will need a different set of
4485 results to match).
4486
44871999-08-02 Stan Shebs <shebs@andros.cygnus.com>
4488
4489 * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
4490 until somebody decides to fix GDB.
4491
4492 * gdb.base/long_long.c: Stop compiler complaint by specifying long
4493 constant as "ULL".
4494 * gdb.base/long_long.exp: Loosen x/c test, add partial result
4495 matches for a couple x/2 commands.
4496
a0b3c4fd
JM
44971999-07-30 Stan Shebs <shebs@andros.cygnus.com>
4498
4499 * gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
4500 by merging in ref-types2 tests.
4501 * gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
4502
4503 From Jimmy Guo <guo@cup.hp.com> and others at HP:
4504 * gdb.c++/Makefile.in: Add standard actions.
4505 (EXECUTABLES): Rename from PROGS, update list.
4506 * gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
4507 from gdb.hp.
4508 * gdb.c++/anon-union.cc: Don't use anonymous struct, make
4509 foo and bar locals.
4510 * gdb.c++/anon-union.exp: Fix tests to match.
4511 * gdb.c++/classes.exp: Run if HP compiler used, add extra
4512 expect matches to handle output variations.
4513 * gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
4514 * gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
4515 output, add HP alternatives for new and delete prints.
4516 * gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
4517 gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
4518 * gdb.c++/demangle.exp: Use $style when reporting failure.
4519 * gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
4520 * gdb.c++/inherit.exp: Run if HP compiler used, add some
4521 match alternatives.
4522 * gdb.c++/local.exp: Add match alternatives or xfails for HP
4523 compilers.
4524 * gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
4525 * gdb.c++/method.exp: Add match alternatives.
4526 * gdb.c++/misc.cc: Add bool types.
4527 * gdb.c++/misc.exp: Add tests for bool types.
4528 * gdb.c++/overload.exp: Add xfails.
4529 * gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
4530 * gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
4531 add some more template parameter tests (only for HP currently).
4532 * gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
4533 * gdb.c++/virtfunc.cc: Add return type and value for main.
4534 * gdb.c++/virtfunc.exp: Run if HP compiler used, add some
4535 match alternatives.
beb998c6 4536
a0b3c4fd
JM
45371999-07-30 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4538
4539 * gdb.base/display.exp: Fix output of 'p/a &&j' test.
4540
45411999-07-29 Jim Blandy <jimb@savonarola.red-bean.com>
4542
4543 * gdb.base/signals.exp: Don't expect getting a backtrace from
4544 within a signal handler to fail on Linux.
4545
45461999-07-29 Stan Shebs <shebs@andros.cygnus.com>
4547
4548 From Jimmy Guo <guo@cup.hp.com> and others at HP:
4549 * lib/gdb.exp: Remove some gratuitious semicolons.
4550 (delete_breakpoints): Increase timeout.
4551 (gdb_expect): Add -notransfer option.
4552 (gdb_test): Use -notransfer option.
4553 (get_compiler_info): Add f77 case.
4554 (get_compiler): New proc, split out from gdb_preprocess, add f77
4555 case.
4556 (gdb_preprocess): Call get_compiler.
4557
4558 * gdb.base/Makefile.in (EXECUTABLES): Update the list.
4559 * gdb.base/attach.exp, gdb.base/display.exp,
4560 gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
4561 gdb.base/long_long.exp, gdb.base/printcmds.exp,
4562 gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
4563 third arg to gdb_test.
4564 * gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
4565 * gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
4566 HP-UX xfails, add others.
4567 * gdb.base/completion.exp: Reflect name change of self-test.
4568 * gdb.base/condbreak.exp, gdb.base/corefile.exp,
4569 gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
4570 gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
4571 HP failure number.
4572 * gdb.base/foll-vfork.exp: Loosen matches slightly, remove
4573 useless HP-UX 10.30 references.
4574 * gdb.base/maint.exp: Loosen matches.
4575 * gdb.base/pointers.c (main): Declare more_code.
4576 * gdb.base/pointers.exp: Match on output of a `next'.
4577 * gdb.base/structs.c: Add prototypes.
4578 * gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
4579 * gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
4580
45811999-07-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4582
4583 * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
4584 command.
4585
45861999-07-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4587
4588 * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
4589 Fix run to main failures. Watchpoint can be hardware watchpoint.
beb998c6
AC
4590
4591 * gdb.base/annota1.exp: Clean up some more, in case printf has
a0b3c4fd
JM
4592 debug info. Deal with lack of signal hanlder info in stack.
4593
4594 From Jim Kingdon <kingdon@redhat.com>:
4595 * gdb.base/annota1.exp: If printf has debug info, deal with it.
4596
5a2468f5
JM
45971999-07-19 Stan Shebs <shebs@andros.cygnus.com>
4598
4599 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
4600 gdb.base/foll-vfork.exp: Don't run for crosses.
4601
adf40b2e
JM
4602Tue Jul 13 23:37:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
4603
4604 * gdb.base/configure.in: Check for gdbvars.exp instead of
4605 a1-selftest.exp.
4606 * gdb.base/configure: Re-generate.
4607
46081999-07-12 Stan Shebs <shebs@andros.cygnus.com>
4609
4610 * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
4611 in trying to run first and name is too long.
4612
4613 * gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
4614 pointers2.c and pointers2.exp, respectively.
4615 * gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
4616 doschk happier.
4617
43e526b9
JM
46181999-07-08 Stan Shebs <shebs@andros.cygnus.com>
4619
4620 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
4621 callfuncs2.c and callfuncs2.exp.
4622
4623 * gdb.base/list.exp: Remove mistaken xfails.
4624 * gdb.base/list0.h: Add optional prototypes.
4625
9846de1b
JM
4626Wed Jul 7 00:27:35 1999 Andrew Cagney <cagney@amy.cygnus.com>
4627
4628 * gdb.base/setvar.exp: Increase the time-out on tests indirectly
4629 calling malloc.
4630 * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
4631 * ptype.exp: Move test for get_debug_format to before its first
4632 use.
4633
46341999-07-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4635
4636 * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
4637 * gdb.base/annota2.cc, annota2.exp: Move from here.
4638 * gdb.c++/annota2.cc, annota2.exp: To here.
4639 * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
4640
43ff13b4
JM
4641Tue Jun 29 11:56:06 1999 Andrew Cagney <cagney@b1.cygnus.com>
4642
4643 * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
4644 a consistent format.
4645
085dd6e6
JM
46461999-06-25 Stan Shebs <shebs@andros.cygnus.com>
4647
4648 From Jimmy Guo <guo@cup.hp.com> and others at HP:
4649 * lib/gdb.exp (get_compiler_info): Add detection for assorted
4650 HP compilers, also set the globals $true and $false.
4651
4652 * gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
4653 call-rt-st.c, call-strs.c, callfuncs.c, callfuncs2.c, condbreak.c,
4654 coremaker.c, ending-run.c, exprs.c, funcargs.c, interrupt.c,
4655 jump.c, langs0.c, langs1.c, langs2.c, list0.c, list1.c,
4656 long_long.c, mips_pro.c, nodebug.c, opaque0.c, opaque1.c,
4657 printcmds.c, ptype.c, recurse.c, restore.c, return.c, run.c,
4658 scope0.c, scope1.c, setshow.c, setvar.c, shmain.c, shr1.c, shr2.c,
4659 sigall.c, signals.c, so-impl-ld.c, so-indr-cl.c, solib.c,
4660 solib1.c, solib2.c, step-test.c, twice.c, varargs.c, watchpoint.c,
4661 whatis.c} Add C++ compatible function definitions and return
4662 types, add includes for library functions.
4663 * gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
4664 * gdb.base/step-test.c (myglob): Rename from glob.
4665 * gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
4666 foll-exec.c, foll-fork.c, foll-vfork.c, sum.c, vforked-prog.c: New
4667 files, move here from gdb.hp.
4668 * gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
4669 commands.exp, condbreak.exp, define.exp, ena-dis-br.exp,
4670 ending-run.exp, jump.exp. list.exp, long_long.exp, so-impl-ld.exp:
4671 Adjust line numbers in regexps.
4672
4673 * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
4674 miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
4675 instead of 0/1.
4676
4677 * gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
4678 foll-vfork.exp: New files, move here from gdb.hp.
4679 * gdb.base/page.exp: New file, test of pagination command.
4680
4681 * gdb.base/watchpoint.c (recurser): New function, for watchpoint
4682 recursion test.
4683 * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
4684
4685 * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
4686 gdb.base/solib.exp: Fix compiler invocation process.
4687
4688 * gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
4689 HP-UX 11, turn off overload resolution explicitly.
4690 * gdb.base/commands.exp: Set argument list explicitly, add
4691 watchpoint test.
4692 * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
4693 them work.
4694 * gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
4695 expressions properly.
4696 * gdb.base/corefile.exp: Loosen the match slightly.
4697 * gdb.base/default.exp: Allow "Error accessing memory" message
4698 also.
4699 * gdb.base/display.exp: Skip over x/0 j if PA64.
4700 * gdb.base/funcargs.exp: Add xfails for HP-UX.
4701 * gdb.base/interrupt.exp: Ditto.
4702 * gdb.base/langs.exp: Add symbolic matches governed by compiler
4703 in use.
4704 * gdb.base/list.exp: Add xfails for HP-UX.
4705 * gdb.base/long_long.exp: Refine some of the numeric matches.
4706 * gdb.base/mips_pro.exp: Xfail on HP-UX.
4707 * gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
4708 * gdb.base/nodebug.exp: Succeed on more varieties of output.
4709 * gdb.base/opaque.exp: Remove some HP-UX xfails.
4710 * gdb.base/ptype.exp: Succeed on more varieties of output.
4711 * gdb.base/scope.exp: Add xfails for HP-UX.
4712 * gdb.base/sect-cmd.exp: Add more cases.
4713 * gdb.base/setvar.exp: Add xfails for HP-UX.
4714 * gdb.base/shlib-call.exp: Loosen some matches slightly.
4715 * gdb.base/signals.exp: Match on void symbolically.
4716 * gdb.base/step-test.exp: Add case for PA64.
4717 * gdb.base/term.exp: Add exit and restart.
4718 * gdb.base/twice.exp: Clean up after self.
4719 * gdb.base/varargs.exp: Disable overload resolution explicitly.
4720 * gdb.base/whatis.exp: Allow more ways to pass tests.
4721
4722 * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
4723 no longer useful.
4724
4725Fri Jun 25 19:27:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
4726
4727 * lib/gdb.exp (proc gdb_expect_list): New procedure. Matches a
4728 list of patterns.
4729 * gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
4730 print_double_array(double_array)", "continuing to breakpoint
4731 1018", "print print_double_array(array_d)" and "continuing to
4732 1034" tests.
beb998c6 4733
085dd6e6
JM
47341999-06-24 Jason Molenda (jsm@bugshack.cygnus.com)
4735
4736 * Makefile.in: Add empty html and install-html targets.
4737
47381999-06-24 Stan Shebs <shebs@andros.cygnus.com>
4739
4740 * config/mt-*: Remove, these haven't been used since 1996.
4741
47421999-06-22 Stan Shebs <shebs@andros.cygnus.com>
4743
4744 * gdb.base/call-strs.c, gdb.base/ending-run.c,
4745 gdb.base/step-test.c: Include stdlib.h and string.h as needed.
4746 * gdb.c++/member-ptr.exp: Skip over these tests if using G++.
4747
9e0b60a8
JM
47481999-06-18 Stan Shebs <shebs@andros.cygnus.com>
4749
4750 * gdb.c++/overload.exp: XFAIL everything if using G++, add a
4751 simpler match case for the ptype of the big class.
4752
47531999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
4754
4755 * gdb.exp: Fix test for gdb_prompt existence.
4756
47571999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
4758
4759 * gdb.exp (gdb_test): Add fail after calls to perror.
4760
47611999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
4762
4763 * gdb.exp (gdb_test): Accept variations of Undefined command messages.
4764
47651999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
4766
4767 * gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
4768
0f71a2f6
JM
4769Fri Jun 11 12:56:50 1999 Andrew Cagney <cagney@b1.cygnus.com>
4770
4771 * gdb.base/call-strs.c (link_malloc): New function. Ensure that
4772 malloc() is linked in.
4773
47741999-06-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
4775
4776 * gdb.base/ending-run.exp: Make sure we fail and do not timeout at
4777 step at end.
4778
4779 * gdb.base/annota1.exp: Increase match_max to prevent timeout.
4780
47811999-06-08 Jim Blandy <jimb@zwingli.cygnus.com>
4782
4783 * gdb.java/jv-print.exp: New file. (Our first Java test!)
4784
cce74817
JM
4785Fri Jun 4 10:47:46 1999 Jeffrey A Law (law@cygnus.com)
4786
4787 * gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
4788 * gdb.base/mips_pro.exp: Likewise.
4789
47901999-06-02 Keith Seitz <keiths@cygnus.com>
4791
4792 * gdb.c++/templates.cc: Change all "new" operators to throw
4793 an exception.
4794 * gdb.c++/cplusfuncs.cc: Likewise.
4795
4796 * gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
4797
4798Wed Jun 2 17:37:05 1999 Andrew Cagney <cagney@b1.cygnus.com>
4799
4800 * gdb.base/condbreak.exp: Use rerun_to_main to start the program.
4801 * gdb.base/ending-run.exp: When stepping out of main, accept a
4802 step into an arbitrary assembler file.
4803
392a587b
JM
48041999-05-20 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4805
beb998c6 4806 * gdb.base/annota1.exp: Allow any number of "frames-invalid" and
392a587b 4807 "breakpoint-invalid" to be printed.
beb998c6 4808 * gdb.base/annota2.exp: Revise line number for main breakpoint. Allow any
392a587b
JM
4809 number of "frames-invalid" and "breakpoint-invalid" to be printed.
4810 * gdb.base/annota2.cc: Initialize a.x to 0.
4811
9e086581
JM
48121999-05-17 Keith Seitz <keiths@cygnus.com>
4813
4814 * gdb.base/call-ar-st.exp: Skip "print print_double_array (double_array)"
4815 when "skip_float_tests" set.
4816 Ditto for "print print_double_array(array_d)", "print print_small_structs",
4817 "print print_ten_doubles", and "step into print_long_arg_list".
4818 Don't assume we can step into "print_long_arg_list": we could step into memcpy.
4819 * gdb.base/call-rt-st.exp: Don't run float-related tests when "skip_float_tests"
4820 is set: "print print_one_double(*d1)" and "print print_two_floats(*f3)".
4821 * gdb.base/funcargs.exp: Don't run "float_and_integral_args" when
4822 "skip_float_tests" is set.
4823 * gdb.base/varargs.exp: Skip "print find_max_double(5,1.0,17.0,2.0,3.0,4.0)"
4824 when "skip_float_tests" set.
beb998c6 4825
cd0fc7c3
SS
48261999-05-06 Keith Seitz <keiths@cygnus.com>
4827
4828 * gdb.base/annota2.cc: Include stdio.h.
4829
4830Wed May 5 17:44:31 1999 Stan Shebs <shebs@andros.cygnus.com>
4831
4832 * gdb.base/crossload.exp: Remove, this has been disabled ever
4833 since BFD stopped including all targets, and cross-GDB gets
4834 plenty of testing anyway.
4835 * gdb.base/i486-elf.u, gdb.base/m68k-aout.u, gdb.base/m68k-elf.u,
4836 gdb.base/sparc-aout.u, gdb.base/i860-elf.u, gdb.base/m68k-aout2.u,
4837 gdb.base/mips-ecoff.u, gdb.base/sparc-elf.u: Remove.
4838 * gdb.base/README: Remove, was doc for this.
4839 * gdb.base/Makefile.in (CROSS_EXECUTABLES): Remove, no longer
4840 needed.
4841
b83266a0
SS
48421999-05-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4843
4844 * gdb.base/call-ar-st.exp: Fix one regular expression in test
4845 output.
4846
4847 * gdb.base/annota1.exp: New file. Annotation level 2 tests.
4848 * gdb.base/annota2.exp: New file. More annotation tests.
4849 * gdb.base/annota1.c: New file. Source file for annota1.exp.
4850 * gdb.base/annota2.cc: New file. Source file for annota2.exp.
4851
48521999-04-23 Angela Marie Thomas <angela@cygnus.com>
4853
4854 * config/cfdbug.exp: New file.
4855
7a292a7a
SS
48561999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
4857
4858 * gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
4859 Marcus Daniel's and Dale Hawkins's demangler crashes.
4860
4861 * gdb.c++/demangle.exp (test_gnu_style_demangling,
4862 test_lucid_style_demangling, test_arm_style_demangling,
4863 test_hp_style_demangling): Try Tom Tromey's core-dumping
4864 identifier under each demangling style.
4865
48661999-04-07 Jim Blandy <jimb@zwingli.cygnus.com>
4867
4868 * gdb.c++/demangle.exp: Include the current demangling style
4869 in all test names.
4870 (current_demangling_style): New global variable.
4871 (set_demangling_style, test_demangling_core, test_demangling,
4872 test_demangling_exact): New functions.
4873 (test_gnu_style_demangling, test_lucid_style_demangling,
4874 test_arm_style_demangling, test_hp_style_demangling): Use those,
4875 instead of calling gdb_test and gdb_test_exact directly.
4876 (catch_demangling_errors): New function, which reports errors
4877 signalled by the demangling test functions in an orderly way.
4878 (do_tests): Use catch_demangling_errors.
4879
48801999-04-06 Jim Blandy <jimb@zwingli.cygnus.com>
4881
4882 * gdb.base/signals.exp (test_handle_all_print): Use () for
4883 grouping in expressions, not {}.
4884
4885 * gdb.base/smoke.exp: Test value of x, not y. The latter isn't
4886 initialized yet.
4887
48881999-04-01 Stan Shebs <shebs@andros.cygnus.com>
4889
4890 * gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
4891 are listed.
4892
48931999-03-26 Stan Shebs <shebs@andros.cygnus.com>
4894
4895 * gdb.stabs/weird.exp: Test for CC being defined before
4896 looking at its value.
4897
48981999-03-25 Stan Shebs <shebs@andros.cygnus.com>
4899
4900 * gdb.base/call-ar-st.exp: Remove stray '#'.
4901 * gdb.base/miscexprs.exp: Allow "short" and "long" as well as
4902 "short int" and "long int".
4903 * gdb.c++/overload.cc: Cast the string added in the previous
4904 change, to mollify finicky HP compiler.
4905 * gdb.hp/reg-test.exp (testfile): Fix file name.
4906 * gdb.stabs/weird.exp: Don't try to run if HP compiler in use.
beb998c6 4907
7a292a7a
SS
4908 * gdb.c++/misc.cc (main): Initialize obj_with_enum.
4909 * gdb.c++/classes.exp: Fix test of obj_with_enum values, allow
4910 alternate form of enum ptype.
4911
c906108c
SS
49121999-03-23 Stan Shebs <shebs@andros.cygnus.com>
4913
7a292a7a
SS
4914 * lib/gdb.exp (skip_hp_tests): Remove gcc_used argument.
4915 * gdb.hp/*.exp: Change all to run compiler probe only after
4916 passing skip_hp_tests, so as not to waste time on guaranteed
4917 failure.
4918
c906108c
SS
4919 * gdb.c++/overload.cc: Pass string instead of char addr, always
4920 init ccpfoo.
4921 * gdb.c++/templates.cc: Fix syntax error.
4922
7a292a7a
SS
4923Tue Mar 23 14:56:36 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4924
4925 * gdb.base/commands.exp: Add test for correct position of '>'
beb998c6 4926 when issuing the 'commands' command after a 'while' or 'if'
7a292a7a
SS
4927 command.
4928
49291999-03-18 James Ingham <jingham@cygnus.com>
4930
4931 * gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
4932
4933 * gdb.c++/method.exp: It was testing an uninitialized int on the
4934 stack and assuming it was positive.
4935
4936 * gdb.base/watchpoint.exp: Use gdb_continue_to_end.
4937
4938 * gdb.base/step-test.exp: Catch a case where finish is broken and
beb998c6 4939 keep it from killing the rest of the tests.
7a292a7a
SS
4940 Use gdb_continue_to_end.
4941
4942 * gdb.base/sigall.exp: use gdb_continue_to_end.
4943
4944 * gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
4945
4946 * gdb.base/display.exp: use runto_main, not run.
4947
beb998c6
AC
4948 * gdb.base/default.exp: Check for the current error message in the
4949 r abbreviation test.
7a292a7a
SS
4950 Add strongarm to the targets that know info float.
4951
beb998c6 4952 * gdb.base/condbreak.exp: Use the gdb_run command rather than just
7a292a7a
SS
4953 run which doesn't work with monitors.
4954
4955 * gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to 1034 test.
4956
4957 * gdb.base/break.exp: use the gdb_continue_to_end proc.
4958
4959 * lib/gdb.exp: I had added gdb_continue_to_end used to run to the end of a
beb998c6
AC
4960 program. Traps the case (in Cygmon) when the program never really
4961 exits. Same as Mark's continue_to_exit, but I had put it in a lot
7a292a7a
SS
4962 more places, so I used my name. Sorry Mark...
4963
4964 * config/monitor.exp (gdb_target_monitor): added another
4965 target_info parameter: remotebinarydownload. This will set the
4966 remotebinarydownload flag if this is causing some boards trouble.
4967
49681999-03-18 Mark Salter <msalter@cygnus.com>
4969
4970 * lib/gdb.exp (continue_to_exit): New function.
4971
4972 * gdb.base/ena-dis-br.exp: Clean up for remote targets.
4973 * gdb.base/ending-run.exp: Ditto.
4974 * gdb.base/step-test.exp: Ditto.
4975
49761999-03-16 Stan Shebs <shebs@andros.cygnus.com>
4977
4978 * gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
4979 (suggested by Art Haas <ahaas@neosoft.com>).
4980
49811999-03-16 Jim Blandy <jimb@zwingli.cygnus.com>
4982
4983 * gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
4984
4985Fri Mar 12 18:06:21 1999 Stan Shebs <shebs@andros.cygnus.com>
4986
4987 * gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
4988 descriptions of types (short unsigned int vs unsigned short, etc).
4989
49901999-03-12 Jim Blandy <jimb@zwingli.cygnus.com>
4991
4992 * gdb.base/call-strs.exp: Don't assume that `step' will step over
4993 a call to strlen; sometimes we do have sources.
4994
49951999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
c906108c
SS
4996
4997 * gdb.base/call-ar-st.c (main): Terminate char_array with a null
4998 character, so GDB won't print garbage after its end.
beb998c6 4999
c906108c
SS
5000 * gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
5001 breakpoint there instead. Sometimes GCC emits memcpy to handle
5002 the large structures being passed by value, so we step into that
5003 instead of sum_array_print, which obscures what we're really testing.
5004 * gdb.base/step-test.exp: However, we do want a test that notices
5005 the bizarre steps into memcpy, so do that here. Add check for
5006 stepping into function calls that pass large structures by value.
5007 ("Is that a noun clause, or are you just happy to see me?")
5008 Remove all references to specific line numbers.
5009 * gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
5010 New type and function.
5011 (main): Call large_struct_by_value, passing it a large struct by value.
5012 * lib/gdb.exp (gdb_get_line_number): New function.
5013
5014 * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
5015 more portable.
5016
7a292a7a
SS
50171999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
5018
c906108c
SS
5019 * lib/gdb.exp: Doc fixes.
5020
7a292a7a
SS
50211999-03-05 Nick Clifton <nickc@cygnus.com>
5022
beb998c6 5023 * gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
7a292a7a
SS
5024
50251999-03-04 Jim Blandy <jimb@zwingli.cygnus.com>
5026
c906108c
SS
5027 * gdb.base/display.exp: Don't exercise the "detach" and "kill"
5028 commands. They're not germane to this test, and they don't work
5029 that way on remote targets.
5030
3fc11d3e
JM
50311999-03-01 James Ingham <jingham@cygnus.com>
5032
5033 * Changelog entries merged over from gdb development branch.
5034
3fc11d3e
JM
5035 Tue Jan 5 12:33:47 1999 Keith Seitz <keiths@cygnus.com>
5036
5037 * lib/gdb.exp (gdbtk_analyze_results): Generic function
5038 for outputting results of test run.
5039
2d4a1622 5040 1998-12-07 Martin M. Hunt <hunt@cygnus.com>
3fc11d3e
JM
5041
5042 * lib/gdb.exp (gdbtk_start): Fix path for itcl library.
3fc11d3e 5043
7a292a7a
SS
50441999-02-25 Felix Lee <flee@cygnus.com>
5045
5046 * lib/gdb.exp (debug_format): initialize
5047
c906108c
SS
50481999-02-25 Jason Molenda (jsm@bugshack.cygnus.com)
5049
5050 * gdb.base/call-ar-st.c: Include string.h, not strings.h.
5051 * gdb.base/call-rt-st.c: Ditto.
5052
c906108c
SS
50531999-02-13 Jim Blandy <jimb@zwingli.cygnus.com>
5054
5055 * gdb.threads/pthreads.exp (horiz): New variable.
5056 (test_startup): Fix regexps that capture thread numbers.
5057
50581999-02-10 Jason Molenda (jsm@bugshack.cygnus.com)
5059
5060 * gdb.base/smoke.exp: Disambiguate two test case names (both
5061 called ``print'').
5062
5063Fri Feb 5 12:42:56 1999 Stan Shebs <shebs@andros.cygnus.com>
5064
5065 * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
5066 compilation.
5067
50681999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
5069
5070 * gdb.base/miscexprs.exp: Change patterns to match GDB's
5071 actual output formatting.
5072 * gdb.base/smoke.exp: GDB removes leading 0's.
5073 * gdb.base/volatile.exp: Don't check type of remuneration;
5074 that variable is no longer defined in constvars.c.
5075 * gdb.base/step-test.c (main): Exit with explicit exit code.
5076 * gdb.base/step-test.exp: Remove two nexti checks--they are
5077 not portable.
5078
50791999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
5080
5081 * gdb.base/help.exp ("help delete display"): Fix test to match
5082 gdb's output.
5083
5084 * gdb.base/long_long.c (known_types): Initialize values to zero.
5085 * gdb.base/long_long.exp: Step one more line
5086 so 'dec' is initialized in "get to known place". GDB removes
beb998c6 5087 leading zeros. Explicitly ask for hex formatting. Use
c906108c
SS
5088 unique test case names.
5089
5090Tue Feb 2 10:16:08 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5091
beb998c6 5092 * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
c906108c
SS
5093
5094 * gdb.c++/method.exp: Add missing close brace.
5095
50961999-01-30 Jim Blandy <jimb@zwingli.cygnus.com>
5097
5098 * gdb.base/maint.exp: Use 'set height 0' to disable page
5099 prompting, not 'set height 400'.
5100
5101 Fix a bunch of timeouts.
5102 * gdb.base/maint.exp ("maint print objfiles"): Break this up into
5103 four separate tests, so expect doesn't take forever to match a ton
5104 of text against a regexp with lots of .* forms.
5105 ("maint print psymbols", "maint print symbols"): Make some of
5106 these greps more selective, so that expect doesn't try to wade
5107 through huge piles of output and time out.
5108
5109 * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
5110
5111 * gdb.base/maint.exp ("maint info breakpoints"): Split into two
5112 tests: one which doesn't expect shlib events to be reported, and
5113 another which does, but is XFAIL for all platforms other than
5114 HP/UX.
5115
5116 * gdb.base/break.exp: Teach the test suite that the `catch
5117 fork', `catch vfork', and `catch exec' commands produce error
5118 messages on platforms that don't provide these features.
5119
5120Mon Jan 25 18:35:56 1999 Stan Shebs <shebs@andros.cygnus.com>
5121
5122 * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
5123 so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
5124 (shortening names from solib_threshold.exp etc), won't run on
5125 anything but HP-UX for the foreseeable future.
5126 * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
5127 reflect move.
5128
5129Thu Jan 21 15:46:49 1999 Stan Shebs <shebs@andros.cygnus.com>
5130
5131 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
5132 gdb.trace/Makefile.in (clean): Remove all test executables.
5133
5134Tue Jan 19 17:20:09 1999 David Taylor <taylor@texas.cygnus.com>
5135
5136 * gdb.base/shlib-call.exp: add test cases to verify that gdb
5137 successfully re-sets breakpoints in shared libraries.
5138 * gdb.base/shmain.c (main): return 0, don't fall off the end.
5139
5140Fri Jan 15 14:04:57 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5141
beb998c6
AC
5142 * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
5143 and compiled w/o GCC.
c906108c
SS
5144
5145 * gdb.hp/watch-cmd.exp: ditto.
5146
5147 * gdb.hp/watch-hp.exp: ditto.
5148
5149 * gdb.hp/xdb1.exp: ditto.
5150
5151 * gdb.hp/xdb2.exp: ditto.
5152
5153 * gdb.hp/dbx.exp: ditto.
5154
5155Thu Jan 14 18:36:48 1999 Stan Shebs <shebs@andros.cygnus.com>
5156
5157 * constvars.c: Remove C++-isms.
5158 * constvars.exp: Use gdb_test everywhere, add xfails if compiled
5159 with GCC.
5160
5161Mon Jan 11 10:08:03 1999 David Taylor <taylor@texas.cygnus.com>
5162
5163 The following changes are part of the HP merge.
5164
5165 * gdb.base/break.exp: new tests to verify that catchpoints for
5166 fork, vfork, and exec don't trigger inappropriately.
5167
5168 * gdb.base/opaque.exp: compile one file at a time, then link.
5169
5170 * gdb.base/signals.exp: be more restrictive about which hppa
5171 systems receive a setup_xfail. new tests.
5172
5173 * gdb.base/solib_threshold.build: new file.
5174 * gdb.base/solib_threshold.exp: new file.
5175 * gdb.base/solib_threshold.link_opts: new file.
5176 * gdb.base/solib_threshold.mk: new file.
5177 * gdb.base/gen_solib_threshold.c: new file.
5178
5179 * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
5180 tests. New tests for enums inside classes.
5181
5182 * gdb.c++/compiler.cc: indicate support of template debugging.
5183
5184 * gdb.c++/demangle.exp: run hp style demangling tests.
5185
5186 * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
5187 tests.
5188
5189 * gdb.c++/misc.cc: changes to support new tests.
5190
5191 * gdb.c++/templates.cc: changes to support HP's compiler; changes
5192 to support new tests.
5193
5194 * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
5195 gcc, then skip these tests.
5196
5197Sun Jan 10 23:44:11 1999 David Taylor <taylor@texas.cygnus.com>
5198
5199 The following files are part of the HP merge; some had longer
5200 names at HP, but have been renamed to be no more than 14
5201 characters in length.
5202
5203 * gdb.hp/ambiguous.cc: new file.
5204 * gdb.hp/ambiguous.exp: new file.
5205 * gdb.hp/attach.exp: new file.
5206 * gdb.hp/attach2.exp: new file.
5207 * gdb.hp/classes-hp.exp: new file.
5208 * gdb.hp/ctti.exp: new file.
5209 * gdb.hp/ctti-add.cc: new file.
5210 * gdb.hp/ctti-add1.cc: new file.
5211 * gdb.hp/ctti-add2.cc: new file.
5212 * gdb.hp/ctti-add3.cc: new file.
5213 * gdb.hp/dbx.exp: new file.
5214 * gdb.hp/exception.cc: new file.
5215 * gdb.hp/exception.exp: new file.
5216 * gdb.hp/foll-exec.c: new file.
5217 * gdb.hp/foll-exec.exp: new file.
5218 * gdb.hp/foll-fork.c: new file.
5219 * gdb.hp/foll-fork.exp: new file.
5220 * gdb.hp/foll-vfork.c: new file.
5221 * gdb.hp/foll-vfork.exp: new file.
5222 * gdb.hp/inherit-hp.exp: new file.
5223 * gdb.hp/more-steps.exp: new file.
5224 * gdb.hp/namespace.cc: new file.
5225 * gdb.hp/namespace.exp: new file.
5226 * gdb.hp/optimize.exp: new file.
5227 * gdb.hp/pxdb.c: new file.
5228 * gdb.hp/pxdb.exp: new file.
5229 * gdb.hp/quicksort.exp: new file.
5230 * gdb.hp/reg-test.exp: new file.
5231 * gdb.hp/reg-test.s: new file.
5232 * gdb.hp/sized-enum.c: new file.
5233 * gdb.hp/sized-enum.exp: new file.
5234 * gdb.hp/start-stop.exp: new file.
5235 * gdb.hp/templ-hp.cc: new file.
5236 * gdb.hp/templ-hp.exp: new file.
5237 * gdb.hp/thr-lib.c: new file.
5238 * gdb.hp/thr-lib.exp: new file.
5239 * gdb.hp/thr-lib.h: new file.
5240 * gdb.hp/thr-liblib.c: new file.
5241 * gdb.hp/virtfun-hp.c: new file.
5242 * gdb.hp/virtfun-hp.exp: new file.
5243 * gdb.hp/watch-cmd.exp: new file.
5244 * gdb.hp/watch-hp.exp: new file.
5245 * gdb.hp/xdb1.exp: new file.
5246 * gdb.hp/xdb2.exp: new file.
5247 * gdb.hp/xdb3.exp: new file.
5248
5249Wed Jan 6 18:41:15 1999 David Taylor <taylor@texas.cygnus.com>
5250
5251 The following files are part of the HP merge; some had longer
5252 names at HP, but have been renamed to be no more than 14
5253 characters in length.
5254
5255 * gdb.base/ss.h: new file.
5256 * gdb.base/call-ar-st.c: new file.
5257 * gdb.base/call-ar-st.exp: new file.
5258 * gdb.base/call-rt-st.c: new file.
5259 * gdb.base/call-rt-st-exp: new file.
5260 * gdb.base/call-strs.exp: new file.
5261 * gdb.base/ena-dis-br.exp: new file.
5262 * gdb.base/environ.exp: new file.
5263 * gdb.base/long_long.exp: new file.
5264 * gdb.base/sect-cmd.exp: new file.
5265 * gdb.base/shlib-cl2.exp: new file.
5266 * gdb.base/smoke.exp: new file.
5267 * gdb.base/so-impl-ld.c: new file.
5268 * gdb.base/so-impl-ld.exp: new file.
5269 * gdb.base/so-indr-cl.c: new file.
5270 * gdb.base/so-indr-cl.exp: new file.
5271 * gdb.base/varargs.exp: new file.
5272 * gdb.base/volatile.exp: new file.
5273 * gdb.base/whatis-exp.exp: new file.
7a292a7a 5274 * gdb.base/display.exp: new file.
c906108c
SS
5275 * gdb.c++/derivation.exp: new file.
5276 * gdb.c++/local.exp: new file.
5277 * gdb.c++/member-ptr.exp: new file.
5278 * gdb.c++/overload.exp: new file.
5279 * gdb.c++/ovldbreak.exp: new file.
5280 * gdb.c++/ref-types.exp: new file.
5281 * gdb.c++/ref-types2.exp: new file.
5282 * gdb.c++/userdef.exp: new file.
beb998c6 5283
c906108c
SS
5284Wed Jan 6 13:50:57 1999 Stan Shebs <shebs@andros.cygnus.com>
5285
5286 * gdb.base/default.exp: Reflect wording change in remote.c.
5287
dc96c6c7 5288Tue Jan 5 19:14:51 1999 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5289
5290 * gdb.base/help.exp: Update to reflect current text.
5291
5292Tue Jan 5 13:05:32 1999 David Taylor <taylor@texas.cygnus.com>
5293
5294 * gdb.c++/anon-union.cc: make foo and bar global, otherwise
5295 they're stack variables and contain garbage.
5296 * gdb.c++/anon-union.exp: new file.
5297
5298 The following changes were made by David Taylor
5299 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
5300 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
5301 in changes by HP.
5302
5303 * gdb.base/bitops.exp: new file.
5304 * gdb.base/default.exp: change expected messages for catch and
5305 info catch tests to reflect HP merge changes.
5306 * gdb.base/enable-disable-break.exp
5307 * gdb.base/ending-run.c: new file.
5308 * gdb.base/long_long.c: new file.
5309 * gdb.base/maint.exp: new file.
5310 * gdb.base/pointers2.exp: new file.
5311 * gdb.base/shlib-call2.exp: new file.
5312 * gdb.base/solib.exp: new file.
5313 * gdb.base/step-test.c: new file.
5314 * gdb.c++/anon-union.cc: new file.
5315 * gdb.c++/local.cc: new file.
5316 * gdb.c++/member-pointer.cc: new file.
5317 * gdb.c++/method.cc: new file.
5318 * gdb.c++/ref-types.cc: new file.
5319 * gdb.c++/ref-types2.cc: new file.
5320 * gdb.c++/userdef.cc: new file.
beb998c6 5321
c906108c
SS
5322 * gdb.base/scope.exp: compile one file at a time, then link.
5323 * gdb.base/langs.exp: ditto.
5324 * gdb.base/list.exp: ditto.
beb998c6 5325
c906108c
SS
5326Mon Jan 4 10:06:43 1999 David Taylor <taylor@texas.cygnus.com>
5327
5328 The following changes were made by David Taylor
5329 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
5330 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
5331 in changes by HP.
beb998c6 5332
c906108c
SS
5333 * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
5334 skip tests. When compiling pass c++ flag to gdb_compile.
5335 * gdb.c++/
beb998c6 5336
c906108c
SS
5337 * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
5338 test for on hppa*-*-hpux*; use args to see if c++ was specified.
5339 (skip_hp_tests): new function.
5340 (gdb_preprocess): new function.
5341
5342 * configure.in (hpdir): decide whether to configure gdb.hp.
5343 * configure: regenerated.
5344
5345 * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
5346 to delete on clean.
5347 (EXECUTABLES): update to reflect new additions.
5348 * gdb.base/commands.exp: update message expected.
5349 * gdb.base/default.exp: add copyright notice.
5350 * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
5351 * gdb.base/help.exp: update messages to reflect current text.
5352 * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
5353 targets for recurse tests.
5354 * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
5355 skip this file.
5356
5357 * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
5358 * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
5359 compilation.
5360 * gdb.c++/misc.exp: ditto.
5361 * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
5362 run the tests. tell gdb_compile that it's a c++ compilation.
5363
5364 * gdb.threads/pthreads.exp: fix typo in message.
beb998c6 5365
c906108c
SS
5366 * gdb.base/all-bin.exp: new file.
5367 * gdb.base/arithmet.exp: new file.
5368 * gdb.base/assign.exp: new file.
5369 * gdb.base/completion.exp: new file.
5370 * gdb.base/cond-expr.exp: new file.
5371 * gdb.base/condbreak.exp: new file.
5372 * gdb.base/define.exp: new file.
5373 * gdb.base/dollar.exp: new file.
5374 * gdb.base/environment.exp: new file.
5375 * gdb.base/eval-skip.exp: new file.
5376 * gdb.base/jump.exp: new file.
5377 * gdb.base/logical.exp: new file.
5378 * gdb.base/pointers.exp: new file.
5379 * gdb.base/relational.exp: new file.
5380 * gdb.base/section_command.exp: new file.
5381 * gdb.base/whatis-expr.exp: new file.
5382
5383 * gdb.base/all-types.c: new file.
5384 * gdb.base/call-array-struct.c: new file.
5385 * gdb.base/call-return-struct.c: new file.
5386 * gdb.base/call-strings.c: new file.
5387 * gdb.base/callfuncs2.c: new file.
5388 * gdb.base/condbreak.c: new file.
5389 * gdb.base/constvars.c: new file.
5390 * gdb.base/display.c: new file.
5391 * gdb.base/int-type.c: new file.
5392 * gdb.base/jump.c: new file.
5393 * gdb.base/miscexprs.c: new file.
5394 * gdb.base/pointers.c: new file.
5395 * gdb.base/pointers2.c: new file.
5396 * gdb.base/shmain.c: new file.
5397 * gdb.base/shr1.c: new file.
5398 * gdb.base/shr2.c: new file.
5399 * gdb.base/solib.c: new file.
5400 * gdb.base/solib1.c: new file.
5401 * gdb.base/solib2.c: new file.
5402 * gdb.base/varargs.c: new file.
5403 * gdb.c++/derivation.cc: new file.
5404 * gdb.c++/overload.cc: new file.
5405 * gdb.c++/ovldbreak.cc: new file.
5406 * gdb.hp/attach.c: new file.
5407 * gdb.hp/attach2.c: new file.
5408 * gdb.hp/average.c: new file.
5409 * gdb.hp/compiler.c: new file.
5410 * gdb.hp/compiler.cc: new file.
5411 * gdb.hp/execd-program.c: new file.
5412 * gdb.hp/follow-exec.c: new file.
5413 * gdb.hp/follow-fork.c: new file.
5414 * gdb.hp/follow-vfork-and-exec.c: new file.
5415 * gdb.hp/misc-hp.cc: new file.
5416 * gdb.hp/more-steps.c: new file.
5417 * gdb.hp/optimize.c: new file.
5418 * gdb.hp/quicksort.c: new file.
5419 * gdb.hp/run-hp.c: new file.
5420 * gdb.hp/start-stop.c: new file.
5421 * gdb.hp/sum.c: new file.
5422 * gdb.hp/templates-hp.cc: new file.
5423 * gdb.hp/thread-local-in-lib.c: new file.
5424 * gdb.hp/thread-local-in-lib.h: new file.
5425 * gdb.hp/thread-local-in-lib.lib.c: new file.
5426 * gdb.hp/vforked-program.c: new file.
5427 * gdb.hp/virtfunc-hp.cc: new file.
5428 * gdb.hp/watchpoint-hp.c: new file.
5429 * gdb.hp/xdb.c: new file.
5430 * gdb.hp/xdb0.c: new file.
5431 * gdb.hp/xdb0.h: new file.
5432 * gdb.hp/xdb1.c: new file.
5433
5434Mon Dec 21 14:08:38 1998 David Taylor <taylor@texas.cygnus.com>
5435
5436 The following change was made by Edith Epstein
5437 <eepstein@cygnus.com> as part of a project to merge in changes
5438 originally made by HP; HP did not create ChangeLog entries.
5439
5440 * gdb.c++/demangle.exp: changed the expected output for some
5441 ARM-style mangling -- removed second reference to datatype.
5442 For example, maint demangle __dt__11T1__pt__2_cFv
5443 T1<char>::~T1<char>(void)
5444 becomes,
5445 maint demangle __dt__11T1__pt__2_cFv
5446 T1<char>::~T1(void)
5447
5448 (test_hp_style_demangling): new hp specific demangling test cases.
beb998c6 5449
c906108c
SS
5450Mon Dec 14 15:07:03 1998 Jeffrey A Law (law@cygnus.com)
5451
5452 * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
5453 * gdb.trace/backtrace.exp: Likewise.
5454 * gdb.trace/circ.exp: Likewise.
5455 * gdb.trace/collection.exp: Likewise.
5456 * gdb.trace/deltrace.exp: Likewise.
5457 * gdb.trace/infotrace.exp: Likewise.
5458 * gdb.trace/limits.exp: Likewise.
5459 * gdb.trace/packetlen.exp: Likewise.
5460 * gdb.trace/passc-dyn.exp: Likewise.
5461 * gdb.trace/passcount.exp: Likewise.
5462 * gdb.trace/report.exp: Likewise.
5463 * gdb.trace/save-trace.exp: Likewise.
5464 * gdb.trace/tfind.exp: Likewise.
5465 * gdb.trace/tracecmd.exp: Likewise.
5466 * gdb.trace/while-dyn.exp: Likewise.
5467 * gdb.trace/while-stepping.exp: Likewise.
5468
54691998-12-07 Jim Blandy <jimb@zwingli.cygnus.com>
5470
5471 * gdb.base/restore.exp, gdb.base/restore.c: New tests.
5472
5473Wed Dec 2 20:03:53 1998 Stan Shebs <shebs@andros.cygnus.com>
5474
5475 From Brendan Kehoe:
5476 * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
5477 int return types.
5478
5479Sat Oct 24 18:04:22 1998 Felix Lee <flee@cygnus.com>
5480
5481 * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
5482 remote dos host testing right.
5483
5484Mon Oct 19 01:31:59 1998 Felix Lee <flee@cygnus.com>
5485
5486 * gdb.base/corefile.exp: remove some xfails.
5487
5488Thu Oct 15 10:04:38 1998 Andrew Cagney <cagney@b1.cygnus.com>
5489
5490 * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
5491 have different timestamps.
5492
5493Thu Oct 1 20:56:14 1998 Andrew Cagney <cagney@b1.cygnus.com>
5494
5495 * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
5496 gdb.base/default.exp: Replace "exec" with "executable".
5497
5498Tue Sep 29 15:06:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
5499
5500 * gdb.base/default.exp: Change else if to elseif from previous
5501 delta.
5502
5503Mon Sep 28 13:21:43 1998 Nick Clifton <nickc@cygnus.com>
5504
5505 * gdb.base/default.exp: Add brace missing from previous delta.
5506
5507Mon Sep 21 14:39:27 1998 Nick Clifton <nickc@cygnus.com>
5508
5509 * gdb.base/default.exp: Support test for info float for all
5510 varieties of arm toolchain.
5511
dc96c6c7 5512Fri Sep 18 14:07:44 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5513
5514 * gdb.trace/*.exp: remove "remote_download" command.
5515
dc96c6c7 5516Wed Sep 16 11:38:21 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5517
5518 * gdb.trace/*.exp: remove -gdwarf from compile.
5519
5520Wed Sep 16 01:23:11 1998 Felix Lee <flee@cygnus.com>
5521
5522 * gdb.trace/configure.in(AC_INIT): typo
5523 * gdb.trace/configure: regenerated
5524
dc96c6c7 5525Mon Sep 14 20:00:04 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5526
5527 * config/m68k-emc.exp: New file.
5528 * lib/<emc-support.exp trace-support.exp}: New files.
5529 * configure.in: add new test directory gdb.trace.
5530 * gdb.trace/{configure configure.in Makefile.in}: New files.
5531 * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
5532 * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
5533 * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
5534 * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
5535 * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
5536 * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
5537 * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
beb998c6 5538
dc96c6c7 5539Fri Sep 11 13:58:02 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5540
5541 * gdb.c++/classes.exp: Change all regular expressions to match
5542 arbitrary combinations of newline/carriage-return, so that they
5543 will work equally well on Unix and Windows.
5544 * gdb.c++/inherit.exp: ditto.
5545 * gdb.c++/virtfunc.exp: ditto.
5546
55471998-08-11 Dawn Perchik <dawn@cygnus.com>
5548
5549 * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
5550
c2d11a7d
JM
5551Fri Jul 24 15:51:34 1998 Jeffrey A Law (law@cygnus.com)
5552
5553 * gdb.disasm/am33.s: Add tests for autoincrement instructions.
5554 * gdb.disasm/am33.exp: Run time. Update tests which use r8-r15
5555 to use a0-a3/d0-d3 as needed.
5556
5557Thu Jul 16 18:20:46 1998 Jeffrey A Law (law@cygnus.com)
5558
5559 * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
5560 * gdb.disasm/am33.exp: Corresponding changes.
5561
c906108c
SS
55621998-07-11 Felix Lee <flee@cygnus.com>
5563
5564 * gdb.base/callfuncs.exp: add cmp10 test.
5565 * gdb.base/callfuncs.c (cmp10): new function.
5566
5567Thurs Jul 9 11:08:31 1998 Dawn Perchik <dawn@cygnus.com>
5568
beb998c6 5569 * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
c906108c
SS
5570 into two parts to get around a synchronization problem in expect.
5571
3fc11d3e
JM
5572Fri Jun 26 14:27:13 1998 Keith Seitz <keiths@cygnus.com>
5573
5574 * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
5575
5576 * configure.in: Add options for gdbtk testsuite.
5577
5578 * configure: Regenerate.
5579
5580 * gdb.gdbtk: New directory to hold gdbtk tests.
5581
c906108c
SS
5582Fri Jun 26 14:52:47 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
5583
5584 * gdb.fortran/types.exp: Escape brackets in expect patterns
5585 for test_float_literal_types_accepted tests.
5586 * gdb.base/scope.exp: Remove extraneous newline in filelocal_bss
5587 before run test.
5588
c2d11a7d
JM
5589Fri Jun 26 11:12:17 1998 Jeffrey A Law (law@cygnus.com)
5590
5591 * am33.exp: Just compile, do not link the testcase.
5592 * am33.s: Add ".am33" pseudoop to force am33 mode.
5593
c906108c
SS
55941998-06-25 Felix Lee <flee@cygnus.com>
5595
5596 * gdb.base/setshow.exp: make sure $pc is sane.
5597
5598 * gdb.stabs/weird.exp: split expect patterns properly.
5599
c2d11a7d
JM
5600Wed Jun 24 13:03:15 1998 Jeffrey A Law (law@cygnus.com)
5601
5602 * gdb.disasm/am33.s: New disassembler testfile for the am33.
5603 * gdb.disasm/am33.exp: Run it.
5604
dc96c6c7 5605Tue Jun 23 11:45:01 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5606
5607 * gdb.base/funcargs.exp: simplify expect strings to ease pattern
5608 match processing (and eliminate spurious timeouts when running).
5609
dc96c6c7 5610Fri Jun 12 17:28:22 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5611
5612 * gdb.base/signals.exp (test_handle_all_print): put back Mach
5613 exception test, but conditionalize it on target [mach | gnu].
5614
dc96c6c7 5615Wed Jun 10 10:40:03 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5616
5617 * gdb.base/overlays.exp: fixup compile line for linker script.
5618
5619Thu Jun 4 21:54:15 1998 Felix Lee <flee@zog.cygnus.com>
5620
5621 * gdb.fortran/types.exp: don't guess at float size.
5622
5623Thu May 21 02:28:37 1998 Felix Lee <flee@zog.cygnus.com>
5624
5625 * gdb.base/exprs.exp: delete test that depends on int size.
5626
5627Sun May 17 17:10:22 1998 Bob Manson <manson@charmed.cygnus.com>
5628
5629 * config/sim.exp: Removed checks for target triplets.
5630 (gdb_target_sim): Use gdb,target_sim_options.
5631
5632Sat May 16 23:43:35 1998 Mark Alexander <marka@cygnus.com>
5633
5634 * gdb.base/reread.exp: New file.
5635 * gdb.base/reread1.c: New file.
5636 * gdb.base/reread2.c: New file.
5637
5638Sat May 16 23:22:09 1998 Mark Alexander <marka@cygnus.com>
5639
5640 * config/sim.exp: Use 'target sim -sparclite' when running
5641 SPARClite programs.
5642
5643Sat May 16 18:48:08 1998 Doug Evans <devans@canuck.cygnus.com>
5644
5645 * gdb.base/structs2.exp: New file.
5646 * gdb.base/structs2.c: New file.
5647
5648Wed May 13 13:36:14 1998 Doug Evans <devans@canuck.cygnus.com>
5649
5650 * gdb.asm/common.inc: New file.
5651 * gdb.asm/d10v.inc: New file.
5652 * asm-source.exp: Pass -I's to gas to find .inc files.
5653 Update line numbers in expected output.
5654 * asmsrc1.s: Rewrite.
5655 * asmsrc2.s: Rewrite.
5656 * configure.in: Create arch.inc symlink.
5657 * configure: Regenerate.
5658 * Makefile.in (distclean): Delete arch.inc.
5659
5660Wed May 6 10:30:54 1998 John Metzler <jmetzler@cygnus.com>
5661
5662 * callfuncs.c (t_enum_value1) : Cleanup return value warnings
5663 (t_enum_value2): ditto
5664 (t_enum_value3): ditto
5665 (main): ditto
5666Fri May 1 09:33:37 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
5667
5668 * gdb.base/break.exp: Remove xfail for `deleting all breakpoints
5669 when none' unexpected prompt case, fixed by breakpoint.c:delete_command
5670 change.
5671 Use gdb_test instead of send_gdb/gdb_expect sequences.
5672
5673Thu Apr 23 12:56:19 1998 Jason Molenda (crash@bugshack.cygnus.com)
5674
5675 * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
5676 not void.
5677
5678Thu Apr 16 10:52:34 1998 John Metzler <jmetzler@cygnus.com>
5679
5680 * gdb.base/branches.c: Code with lots of loops and
5681 subroutines. Used to test gdbs ability to single step through PC
5682 changes, especially to test mips-tdep.c:mips_next_pc
5683
5684Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
5685
5686 * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
5687 more rigorous EGCS C++ error checking.
5688
5689Fri Apr 10 22:38:12 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5690
5691 * gdb.base/help.exp: Clean up `help set args' and `help show args'
beb998c6 5692 tests.
c906108c 5693 * gdb.base/interrupt.exp: Add "i*86-*-solaris2*" xfail for calling
beb998c6 5694 function when asleep.
c906108c 5695 * gdb.base/signals.exp: Add "i*86-*-solaris2*" xfails. Add comment
beb998c6
AC
5696 for i*86 Linux and SVR4 signal handling problems.
5697 Remove linux xfail for `next to handler in signals_tests_1', fixed
5698 by recent infrun.c change.
c906108c 5699 Limit backtrace to 10 frames to avoid timeout problems with infinite
beb998c6 5700 stack backtraces.
c906108c
SS
5701 Adjust expect pattern in `handle all print' test to match Apr 28 1997
5702 target.[ch] change.
5703
5704Tue Mar 31 00:40:32 1998 Bob Manson <manson@charmed.cygnus.com>
5705
5706 * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
5707 for a newline from gdb before continuing.
5708 (default_gdb_exit): Just look for y or n.
5709 (gdb_test): Detect abnormal exit from GDB running on DOS; if
5710 it does, fail the rests of the tests in the file.
5711
5712Tue Mar 24 22:44:52 1998 Bob Manson <manson@charmed.cygnus.com>
5713
5714 * config/cygmon.exp: New file.
5715
5716Mon Mar 16 21:39:11 1998 Bob Manson <manson@charmed.cygnus.com>
5717
5718 * gdb.base/list.exp: Fix problem with "list default lines around
5719 main" test on remote targets.
5720
5721 * gdb.base/scope.exp: Fix problem with filelocal_bss before
5722 run test on remote targets.
5723
5724Thu Mar 12 16:23:00 1998 Doug Evans <devans@canuck.cygnus.com>
5725
5726 * gdb.asm: New directory.
5727 * configure.in: Configure it.
5728 * configure: Regenerate.
5729 * gdb.asm/{Makefile.in,configure.in,configure}: New files.
5730 * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
5731
5732Mon Feb 23 08:22:44 1998 Mark Alexander <marka@cygnus.com>
5733
5734 * config/mn10300-eval.exp: New file to support MN10300 eval board.
5735
dc96c6c7 5736Wed Feb 18 16:43:46 1998 Michael Snyder (msnyder@cygnus.com)
beb998c6 5737
c906108c
SS
5738 * gdb.base/overlays (several files): Merge the two overlay
5739 managers into one. Change variables (foox, barx, bazx, grbxx)
5740 back into ints but force them to load in their proper sections.
5741
5742Thu Feb 12 13:49:30 1998 Andrew Cagney <cagney@b1.cygnus.com>
5743
5744 * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
5745 on-chip insn memory and IMAP1 to upper 128k.
5746 (D10VCopy): Handle memory regions crossing 16k boundaries.
5747 (D10VCopy): Transfer data in 32 bit chunks.
5748
5749Tue Feb 10 17:23:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
5750
5751 * gdb.base/overlays.c (main): Exit normally when result is
5752 correct.
5753
5754 * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
5755 map. Include space for printf in .text segment.
5756
5757 * gdb.base/d10vovly.c (D10VTranslate): New function, handle
5758 updated d10v memory VMA/LMA map.
5759 (D10VCopy): Call D10VTranslate.
beb998c6 5760
c906108c
SS
5761Fri Feb 6 14:13:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
5762
5763 * gdb.base/m32rovly.c: Force variable _novlys into .data section.
5764
5765 * gdb.base/bar.c (barx, bar): Change variable to small array so
5766 that it won't be put into the .sdata - small data -
5767 section. Update reference.
5768 * gdb.base/baz.c (bazx, baz): Ditto.
5769 * gdb.base/foo.c (foox, foo): Ditto.
5770 * gdb.base/grbx.c (grbxx, grbx): Ditto.
5771
5772 * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
5773 to be arrays.
beb998c6 5774
dc96c6c7 5775Thu Jan 29 14:48:19 1998 Michael Snyder (msnyder@cygnus.com)
beb998c6 5776
c906108c
SS
5777 * gdb.base/overlays.exp: fix up and get working again.
5778 Add tests for backtraces from an overlay function.
beb998c6 5779
c906108c
SS
5780Fri Jan 23 07:52:45 1998 Fred Fish <fnf@cygnus.com>
5781
5782 * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
5783 "calling function with watchpoint enabled".
5784
5785Thu Jan 22 14:23:29 1998 Fred Fish <fnf@cygnus.com>
5786
5787 * gdb.base/break.exp (test_next_with_recursion): Remove
5788 gdb_suppress_tests for d10v-*-*.
5789 * lib/gdb.exp (gdb_suppress_tests): Disable this function
5790 pending review of whether it is useful or not.
5791
5792Tue Jan 20 13:02:09 1998 Mark Alexander <marka@cygnus.com>
5793
5794 * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
5795
5796Mon Jan 19 08:53:04 1998 Mark Alexander <marka@cygnus.com>
5797
5798 * gdb.base/break.exp: Increase timeout for slow TX39 boards.
5799 * config/dve.exp: New file to support Densan boards.
5800
5801Mon Dec 15 22:38:05 1997 Andrew Cagney <cagney@b1.cygnus.com>
5802
5803 * gdb.base/interrupt.exp: Document problem of simulators, signals,
5804 reads and BSD.
5805
5806Wed Nov 26 22:29:18 1997 Bob Manson <manson@charmed.cygnus.com>
5807
5808 * config/monitor.exp: Be a bit less picky about the "Remote debugging"
5809 response.
5810
5811 * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
5812
5813Tue Nov 25 12:46:36 1997 Andrew Cagney <cagney@b1.cygnus.com>
5814
5815 * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
5816 test.
5817
5818 * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
5819 target_sizeof_long and target_bigendian_p.
5820 (structs_by_value, structs_by_reference): Check values according
5821 to targets word size and endianess.
beb998c6 5822
c906108c
SS
5823Mon Nov 24 16:37:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
5824
5825 * gdb.base/langs.exp: For "continue to exit" ignore any trailing
5826 output.
5827
5828Fri Oct 17 13:24:43 1997 Stan Shebs <shebs@andros.cygnus.com>
5829
5830 * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
5831 Update test of set args help to match source change.
5832
5833Fri Sep 26 17:36:20 1997 Jason Molenda (crash@pern.cygnus.com)
5834
5835 * gdb.base/default.exp: Expect help system output to be in
5836 alphabetical order.
5837 * gdb.base/help.exp: Ditto.
5838
5839Wed Sep 24 13:08:14 1997 Bob Manson <manson@charmed.cygnus.com>
5840
5841 * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
5842 "i*86-pc-linux-gnu*".
5843 * gdb.base/interrupt.exp: Ditto.
5844 * gdb.base/corefile.exp: Ditto.
5845
5846 * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
5847 define vxworks when building the testcase.
5848
5849 * gdb.base/ptype.exp: Fix testnames to be unique.
5850 * gdb.base/radix.exp: Ditto.
5851 * gdb.base/term.exp: Ditto.
5852 * gdb.base/whatis.exp: Ditto.
5853 * gdb.c++/classes.exp: Ditto.
5854
5855Tue Sep 16 22:21:48 1997 Bob Manson <manson@charmed.cygnus.com>
5856
5857 * gdb.base/callfuncs.exp: Fix indentation.
5858
5859 * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
5860 suppress_flag has been set.
5861 (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
5862 target feature.
5863
5864Mon Sep 15 15:43:17 1997 Bob Manson <manson@charmed.cygnus.com>
5865
5866 * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
5867 the testcase.
5868
5869 * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
5870 set_debug_traps() and breakpoint().
5871 * gdb.c++/misc.cc (main): Ditto.
5872 * gdb.c++/templates.cc (main): Ditto.
5873 * gdb.c++/virtfunc.cc (main): Ditto.
5874
5875Fri Sep 12 16:56:38 1997 Bob Manson <manson@charmed.cygnus.com>
5876
5877 * lib/gdb.exp(gdb_step_for_stub): New function.
5878 (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
5879 exists, reload the executable and do a "continue" instead of
5880 doing a jump.
5881 (runto_main): Use gdb_step_for_stub.
beb998c6 5882
c906108c
SS
5883 * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
5884 tests to have unique names.
5885 * gdb.base/callfuncs.exp: Ditto.
5886 * gdb.base/commands.exp: Ditto.
5887 * gdb.base/default.exp: Ditto.
5888 * gdb.base/help.exp: Ditto.
5889 * gdb.base/list.exp: Ditto.
5890 * gdb.base/opaque.exp: Ditto.
5891 * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
5892 similar tests.
beb998c6 5893
c906108c
SS
5894 * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
5895 * gdb.c++/cplusfuncs.cc: Ditto.
5896 * gdb.c++/virtfunc.cc: Ditto.
5897
5898 * config/monitor.exp: Keep track of the last file we saw, rather
5899 than trying to get the info from gdb.
5900
5901 * gdb.fortran/types.exp: Move comment to previous line.
5902
5903Tue Sep 2 19:55:34 1997 Bob Manson <manson@charmed.cygnus.com>
5904
5905 * config/sparclet.exp: Detect gratuitous change to sparclet gdb
5906 target mode.
5907
5908Mon Jul 28 12:14:47 1997 Stan Shebs <shebs@andros.cygnus.com>
5909
5910 From Bob Manson:
5911 * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
5912 string from GDB when it connects.
5913
5914 * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
5915
5916Thu Jul 3 15:35:12 1997 Bob Manson <manson@charmed.cygnus.com>
5917
5918 * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
5919 if we can't get a debug format from GDB (we may be testing an
5920 older GDB). Use a 10 second timeout when checking for the format.
5921
5922 * gdb.stabs/weird.exp: Fix quoting.
5923
5924 * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
5925
5926Mon Jun 30 18:31:43 1997 Bob Manson <manson@charmed.cygnus.com>
5927
5928 * config/arm-ice.exp: New file.
5929
5930Sun Jun 29 16:43:30 1997 Bob Manson <manson@charmed.cygnus.com>
5931
5932 * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
5933 until it has been modified to work with the new testsuite.
5934
99707966 5935 * gdb.*/*.exp: Instead of causing 1 unresolved test when the
c906108c
SS
5936 testcase won't compile, cause all of the testcases in the file to
5937 fail instead.
5938
5939 * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
5940 (gdb_clear_suppressed): New procedure.
5941 (gdb_stop_suppressing_tests): Only clear suppress_flag if
5942 it contains a positive value.
5943
5944Sat Jun 28 13:31:11 1997 Bob Manson <manson@charmed.cygnus.com>
5945
5946 * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
5947
5948 * gdb.c++/virtfunc.exp: Remove setting of libs variable.
5949
5950Fri Jun 27 07:44:25 1997 Fred Fish <fnf@cygnus.com>
5951
5952 * lib/gdb.exp (setup_xfail_format): New function.
5953 (get_debug_format): New function to get debug format.
5954 (debug_format): New global variable to hold last value set
5955 by get_debug_format.
5956 * gdb.base/list.exp: Call get_debug_format and expect some
5957 tests to fail for DWARF 1 and COFF formats.
5958 * gdb.c++/ptype.exp: Ditto.
5959 * gdb.c++/classes.exp: Ditto.
5960 * gdb.c++/cplusfuncs.exp: Ditto.
5961 * gdb.c++/inherit.exp: Ditto.
5962 * gdb.c++/templates.exp: Ditto.
5963 * gdb.c++/virtfunc.exp: Ditto.
beb998c6 5964
c906108c
SS
5965Wed Jun 25 09:08:51 1997 Bob Manson <manson@charmed.cygnus.com>
5966
5967 * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
5968 host doesn't have a currently-open connection.
5969
5970 * config/sparclet.exp: Cleanups and fixes to make it generic for
5971 any gdb stub target. Handle cases where gdb doesn't respond when
5972 interrupted in a sane fashion.
5973
5974 * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
5975 same thing in a totally different way.
5976
5977 * config/monitor.exp: Pass in timeouts to gdb_expect instead of
5978 setting "timeout".
5979 (gdb_start): We set the global gdb_prompt variable in
5980 default_gdb_init now.
5981
5982Sun Jun 22 09:11:02 1997 Fred Fish <fnf@cygnus.com>
5983
5984 * gdb.base/printcmds.exp: Fix "check for floating addition"
5985 regexp to accept results within approx +/- .01 of exact value.
5986 * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
5987
5988Wed Jun 18 11:11:39 1997 Bob Manson <manson@charmed.cygnus.com>
5989
5990 * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
5991 properly.
5992 (gdb_expect): Add optional timeout parameter, and add timeout
5993 value to various calls.
5994 (gdb_suppress_tests): Only give one warning message per group.
5995
5996Tue Jun 17 13:10:10 1997 Bob Manson <manson@charmed.cygnus.com>
5997
5998 * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
5999 global variables. Handle getting a value for $timeout more
6000 gracefully.
6001
6002Sat Jun 14 09:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
6003
6004 * lib/gdb.exp: Close connection to remote host if gdb doesn't
6005 initialize.
6006 (default_gdb_init): New procedure; allow gdb_init to be overridden
6007 by a target configuration file.
6008 (gdb_expect): Pass the timeout to remote_expect.
6009
6010 * config/monitor.exp(gdb_load): Fix typo in regexp.
6011
6012Thu Jun 12 20:57:12 1997 Bob Manson <manson@charmed.cygnus.com>
6013
6014 * gdb.base/funcargs.exp: Remove spurious suppress tests call.
6015
6016Tue Jun 3 15:20:20 1997 Bob Manson <manson@charmed.cygnus.com>
6017
6018 * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
6019 here. Call gdb_target_exec before rebooting the target, to make
6020 sure the connection to the target is closed.
6021 (gdb_load): Pass the name of the executable to gdb_target_monitor.
6022 Don't call gdb_file_cmd here; let gdb_target_monitor do it.
6023 Also detect "Timeout reading from remote" error.
6024
6025 * config/gdbserver.exp: Pass the executable being loaded to
6026 gdb_target_monitor. Don't call gdb_file_cmd here; let
6027 gdb_target_monitor do it.
6028
6029 * gdb.disasm/hppa.exp: Don't use exec_output.
6030
6031Fri May 23 13:28:29 1997 Bob Manson <manson@charmed.cygnus.com>
6032
6033 * gdb.base/list.exp: If we're debugging a non-native target,
6034 try to set the pc register to point to the start of the
6035 program before doing the first list command.
6036
6037 * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
6038 test_calls after restarting.
6039
6040 * lib/gdb.exp(gdb_run_cmd): Send jump command again after
6041 reloading.
6042
6043 * gdb.base/watchpoint.exp: Fix typo.
6044
6045 * gdb.base/setshow.exp: Check for use_gdb_stub.
6046
6047 * gdb.base/break.exp: Fix continue until exit test for the gdb
6048 stub case.
6049 * gdb.base/langs.exp: Ditto.
6050
6051 * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
6052 gdb_load_offset. If we weren't given a file to load, figure out
6053 what the current file is and use it.
6054
6055 * config/i386-bozo.exp: New file.
6056
6057Thu May 22 18:51:32 1997 Bob Manson <manson@charmed.cygnus.com>
6058
6059 * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
6060 feature.
6061
6062 * config/proelf.exp: New entry.
6063
6064Wed May 21 21:23:16 1997 Bob Manson <manson@charmed.cygnus.com>
6065
6066 * lib/gdb.exp: Remove spurious .* patterns at the beginning
6067 of regexps.
6068
6069 * gdb.base/watchpoint.exp: Don't run the test_stepping
6070 tests if gdb can't call functions on the target.
6071
6072 * gdb.base/setshow.exp: Don't run the set prompt tests if
6073 the board has gdb_prompt set.
6074
6075Tue May 20 08:58:49 1997 Jeffrey A Law (law@cygnus.com)
6076
6077 * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
6078 * gdb.base/commands.exp: Likewise.
6079 * gdb.base/setshow.exp: Likewise.
6080
6081Mon May 19 15:37:50 1997 Bob Manson <manson@charmed.cygnus.com>
6082
6083 * config/monitor.exp(gdb_start): Look for gdb_prompt target
6084 feature.
6085
6086 * config/i960.exp: New file.
6087
6088Thu May 1 18:01:50 1997 Bob Manson <manson@charmed.cygnus.com>
6089
6090 * gdb.base/funcargs.exp: Check for gdb,short_int target
6091 feature instead of looking for explicit target triplets.
6092
dc96c6c7 6093Mon Apr 28 17:27:40 1997 Michael Snyder <msnyder@cygnus.com>
c906108c 6094
beb998c6 6095 * gdb.base/printcmds.exp: add a couple more tests a la
c906108c
SS
6096 "p 123DEADBEEF", to check parse_number.
6097 * top.c: change "to enable to enable" to "to enable" in a couple
6098 of help strings.
6099
6100Thu Apr 24 14:38:18 1997 Jeffrey A Law (law@cygnus.com)
6101
6102 * gdb.base/callfuncs.exp: Mark some tests as expected to fail
6103 on the mn10300.
beb998c6 6104
c906108c
SS
6105Mon Apr 21 15:05:42 1997 Fred Fish <fnf@cygnus.com>
6106
6107 * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
6108 where the test executable is run with explicit args.
6109 * gdb.base/default.exp: Handle arm-*-coff case for "info float".
6110
6111Mon Apr 21 13:38:58 1997 Fred Fish <fnf@cygnus.com>
6112
6113 * gdb.base/run.c: Use FAKEARGV to build test executable that
6114 does not require a command line arg, since most simulators
6115 don't currently support passing such an arg into the simulated
6116 program.
6117 * gdb.base/commands.exp: Change tests to insert the proper
6118 value as the arg to the first recursive factorial call. Change
6119 compilation line to define FAKEARGV at compile time.
6120
6121Wed Apr 9 11:12:36 1997 Jeffrey A Law (law@cygnus.com)
6122
6123 * gdb.base/recurse.exp: Enable these tests for the mn10300.
6124 * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
6125 function with watchpoint enabled" test.
6126
6127Tue Apr 8 19:33:20 1997 Bob Manson <manson@charmed.cygnus.com>
6128
6129 * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
6130 Don't call gdb_test when the command doesn't return to a gdb prompt.
6131
6132 * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
6133 "Tests restarted" messages.
6134
6135Tue Apr 8 16:38:46 1997 Jeffrey A Law (law@cygnus.com)
6136
6137 * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
6138
dc96c6c7 6139Thu Apr 3 15:21:26 1997 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6140
6141 * gdb.base/help.exp: update help msg for INFO ADDR; add help test
6142 for INFO SYMBOL; add help tests for OVERLAY commands.
6143 * gdb.base/default.exp: add tests for INFO SYMBOL command;
6144 add tests for OVERLAY commands
6145 * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
6146 d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
6147 * gdb.base/sigall.c: add usestubs code frag
6148 * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
beb998c6 6149
c906108c
SS
6150Thu Apr 3 09:38:53 1997 Bob Manson <manson@charmed.cygnus.com>
6151
6152 * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
6153 failures.
6154 (gdb_stop_suppressing_tests): Note that tests have restarted.
6155
6156Wed Apr 2 19:04:20 1997 Bob Manson <manson@charmed.cygnus.com>
6157
6158 * config/h8300.exp: New file.
6159
6160Sun Mar 30 13:38:25 1997 Bob Manson <manson@charmed.cygnus.com>
6161
6162 * gdb.base/setshow.exp: Check for the existence of a
6163 feature, not its value.
6164
6165Sat Mar 29 11:19:46 1997 Bob Manson <manson@charmed.cygnus.com>
6166
6167 * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
6168
6169 * gdb.base/scope.exp: It's now init0(), not init().
6170
6171 * gdb.base/scope0.c: For now, change init() to be init0().
6172
6173 * config/monitor.exp: Use gdb_serial in preference to serial
6174 or netport.
6175
6176 * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
6177 and it's not already set.
6178
6179Fri Mar 28 19:54:18 1997 Bob Manson <manson@charmed.cygnus.com>
6180
6181 * gdb.base/setshow.exp: Only test the run command if the target
6182 isn't using a stub and if it supports argument passing.
6183
6184Sat Mar 22 19:50:25 1997 Bob Manson <manson@charmed.cygnus.com>
6185
6186 * config/udi.exp(gdb_start): Make sure UDICONF is set
6187 properly before starting gdb.
6188
6189Mon Mar 24 14:40:33 1997 Jeffrey A Law (law@cygnus.com)
6190
6191 * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
6192 * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
6193 * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
6194
6195Tue Mar 11 11:42:58 1997 Bob Manson <manson@charmed.cygnus.com>
6196
6197 * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
6198 specialized code to reboot the board, use remote_reboot instead.
6199
6200 * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
6201
6202 * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
6203
6204 * config/monitor.exp: Make sure we disconnect from the target.
6205 Also, try a reboot/reload cycle instead of failing if the
6206 load fails.
6207
6208Fri Mar 7 13:48:30 1997 Bob Manson <manson@charmed.cygnus.com>
6209
6210 * gdb.base/default.exp: Don't set match_max.
6211 * gdb.base/help.exp: Ditto.
6212 * gdb.base/list.exp: Ditto.
6213 * gdb.base/signals.exp: Ditto.
6214
6215 * config/monitor.exp(gdb_load): If gdb,use_standard_load is
6216 set, use remote_ld to download the testcase instead of
6217 the GDB loader.
6218
6219Wed Mar 5 00:00:43 1997 Bob Manson <manson@charmed.cygnus.com>
6220
6221 * config/vr5000.exp: New file.
6222
6223 * config/monitor.exp(gdb_target_monitor): Add pattern for
6224 "Ending remote" to detect errors in connecting.
6225
6226 * gdb.base/setshow.exp: Add .* within auto language test.
6227
6228 * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
6229 target feature.
6230
6231 * config/monitor.exp(gdb_load): Check for a failure when loading,
6232 and reboot the board if necessary.
6233
6234 * gdb.base/setvar.exp(test_set): Handle multiple prints within
6235 a set of tests. Remove print.* from the patterns being checked.
6236
6237Mon Mar 3 11:57:43 1997 Bob Manson <manson@charmed.cygnus.com>
6238
6239 * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
6240 refer to gdb_spawn_id.
6241
6242 * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
6243 longer used.
6244 * config/sparclet.exp: Ditto.
6245 * config/sparclet-old.exp: Ditto.
6246 * config/slite.exp: Ditto.
6247 * config/sim.exp: Ditto.
6248 * gdb.base/funcargs.exp: Ditto.
6249
6250 * lib/gdb.exp:Remove references to gdb_spawn_id.
6251 (gdb_expect): Move to remote.exp.
6252
6253Fri Feb 28 20:47:39 1997 Bob Manson <manson@charmed.cygnus.com>
6254
6255 * config/monitor.exp: Detect the "Couldn't establish connection"
6256 message from GDB.
6257
6258Tue Feb 25 14:08:55 1997 Bob Manson <manson@charmed.cygnus.com>
6259
6260 * gdb.base/bitfields.exp: Use runto instead of explicit
6261 gdb_run_cmd/gdb_expect sequences.
6262
6263 * gdb.base/break.exp(text_next_with_recursion): Add match for
6264 gdb_expect call.
6265
6266 * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
6267 We also need to handle the "A program is being debugged already"
6268 prompt from gdb. Use gdb_test to set the baud rate.
6269
6270 * lib/gdb.exp(gdb_init): Increase the default expect buffer size
6271 to 20000. Really. I mean it.
6272
6273Mon Feb 24 13:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
6274
6275 * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
6276 fails. If suppress_flag is set, skip perror message about not
6277 being able to send to GDB.
6278 (send_gdb): If suppress_flag is set, don't try to send commands to
6279 GDB.
6280 (gdb_expect): If suppress_flag is set, always fail immediately.
6281 (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
6282 (gdb_init): Call gdb_stop_suppressing_tests.
6283 (default_gdb_exit): Ditto.
6284 (default_gdb_start): Ditto.
6285
6286 * gdb.base/bitfields.exp: Call gdb_suppress_tests and
6287 gdb_stop_suppressing_tests as appropriate.
6288 * gdb.base/break.exp: Ditto.
6289 * gdb.base/callfuncs.exp: Ditto.
6290 * gdb.base/commands.exp: Ditto.
6291 * gdb.base/exprs.exp: Ditto.
6292 * gdb.base/funcargs.exp: Ditto.
6293 * gdb.base/list.exp: Ditto.
6294 * gdb.base/recurse.exp: Ditto.
6295 * gdb.base/scope.exp: Ditto.
6296 * gdb.base/structs.exp: Ditto.
6297 * gdb.c++/inherit.exp: Ditto.
6298
6299Sun Feb 23 19:56:02 1997 Bob Manson <manson@charmed.cygnus.com>
6300
6301 * config/vr4300.exp: New file.
6302
99707966
MC
6303 * gdb.*/*.exp: Call gdb_expect instead of expect.
6304
6305 * lib/gdb.exp(gdb_expect): New function.
c906108c
SS
6306
6307Thu Feb 20 13:57:01 1997 Bob Manson <manson@charmed.cygnus.com>
6308
6309 * lib/gdb.exp(gdb_init): New function.
6310
6311 * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
6312 for each individual variable set.
6313
6314 * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
6315 name.
6316
6317 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
6318
6319 * gdb.base/scope.exp: Use gdb_test.
6320
6321 * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
6322 aborting; the testsuite driver will do that for us (see
6323 gdb_finish). Also, use gdb_test in a few more places.
6324
6325Thu Feb 20 13:32:24 1997 Stan Shebs <shebs@andros.cygnus.com>
6326
6327 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
6328
6329Thu Feb 20 10:34:21 1997 Jeffrey A Law (law@cygnus.com)
6330
6331 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
6332 and "add_tests" are not at the same address.
6333
6334Fri Feb 14 18:47:23 1997 Bob Manson <manson@charmed.cygnus.com>
6335
6336 * gdb.base/ptype.exp: Use gdb_test.
6337
6338Thu Feb 13 16:09:36 1997 Jeffrey A Law (law@cygnus.com)
6339
6340 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
6341 * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
6342 left in. No longer expect them to fail.
6343
6344 * gdb.stabs/*.mt; Deleted, no longer used.
6345 * gdb.stabs/configure.in: Remove references to target makefile
6346 frags.
6347 * gdb.stabs/configure: Rebuilt.
6348
6349 * gdb.disasm/*.mt: Deleted, no longer used.
6350 * gdb.disasm/configure.in: Remove references to target makefile
6351 frags. Use "sh3.s" as the unique filename for this directory.
6352 * gdb.disasm/configure: Rebuilt.
6353
6354 * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
6355 * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
6356 * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
6357
6358Tue Feb 11 16:57:58 1997 Bob Manson <manson@charmed.cygnus.com>
6359
6360 * config/udi.exp: Use mondfe,name instead of remote_host.
6361
6362Tue Feb 11 11:22:36 1997 Jeffrey A Law (law@cygnus.com)
6363
6364 * gdb.base/watchpoint.exp: Don't expect a failure when calling
6365 a function with a watchpoint enabled on the mn10200.
6366
6367 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
6368 before trying to create it!
6369
6370Mon Feb 10 16:40:47 1997 Bob Manson <manson@charmed.cygnus.com>
6371
6372 * config/vx.exp: Use hostname instead of netport.
6373
6374 * config/vxworks.exp: New file.
6375
6376 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
6377
6378 * config/monitor.exp(gdb_target_monitor): Look for a prompt from
6379 gdb before assuming everything worked. Send a ^C if a timeout
6380 occurs.
6381
6382 * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
6383 $gdb_spawn_id directly.
6384 (gdb_run_cmd): Try _start as well as start. Use the target feature
6385 gdb,start_symbol as the symbol to start from when jumping.
6386
6387Mon Feb 10 11:26:59 1997 Jeffrey A Law (law@cygnus.com)
6388
6389 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
6390 redundant) test.
6391
6392 * gdb.base/recurse.exp: Relax final value test for 'b' so that
6393 it doesn't lose for 16bit integer systems.
6394
6395Fri Feb 7 09:31:21 1997 Jeffrey A Law (law@cygnus.com)
6396
6397 * gdb.fortran/types.exp: If the target doesn't support "double"
6398 data types, then expect "real" types to only be 4 bytes.
6399
6400 * gdb.c++/virtfunc.exp: Expect failure for virtual function
6401 call tests if the target doesn't support inferior function calls.
6402
6403 * gdb.base/printcmds.exp: Allow minor deviation in FP values
6404 in printf tests.
6405
6406Thu Feb 6 12:46:14 1997 Jeffrey A Law (law@cygnus.com)
6407
6408 * gdb.base/help.exp: Disable "help set", "help show", and
6409 "help support". Simplify regexp for "help stack".
6410
6411 * gdb.base/default.exp: Set match_max to 5000 and the timeout
6412 to 60 seconds. Temporarily set match_max to 15000 around the
6413 "info copying" test.
6414
6415 * gdb.base/nodebug.exp: Don't try to do an inferior function
6416 call if the target doesn't support them.
6417 * gdb.base/printcmds.exp: Likewise.
6418 * gdb.base/setvar.exp: Likewise.
6419 * gdb.base/structs.exp: Likewise.
6420 * gdb.c++/templates.exp: Likewise.
6421 * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
6422
6423 * gdb.base/recurse.exp: Enable for the mn10200.
6424
6425 * configure.in: Do configure gdb.stabs directory for *-*-elf
6426 targets.
6427 * configure: Rebuilt.
6428
6429 * gdb.base/break.exp: Check for gdb,noresults before testing
6430 exit status and/or results from the target.
6431 * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
6432 * lib/gdb.exp: Remove old (now bogus) initialization of
6433 noinferior, noargs, noresults and nosignals.
6434
6435Tue Feb 4 21:52:17 1997 Bob Manson <manson@charmed.cygnus.com>
6436
6437 * config/sh.exp: New file.
6438
6439 * config/slite.exp: Try to connect multiple times to the board
6440 before rebooting. Only send a "monitor run" if need_monitor_run
6441 is set.
6442
6443 * gdb.base/break.exp: Don't do the "stub continue" test if
6444 the target has gdb_stub set.
6445
6446 * gdb.base/callfuncs.exp: Increase the timeout.
6447
6448 * gdb.base/interrupt.exp: Don't even try to compile the testcase
6449 if the target has gdb,noinferiorio set.
6450
6451 * gdb.base/list.exp: Increase match_max to 10000 characters.
6452
6453 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
6454
6455 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
6456 target.
6457
6458 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
6459
6460Mon Feb 3 12:09:37 1997 Bob Manson <manson@charmed.cygnus.com>
6461
6462 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
6463 trying to delete the copy of gdb. Catch the file delete so we
6464 don't die if the delete fails; also, the file should be copied to
6465 the host, not to the build.
6466
6467Sun Feb 2 00:55:14 1997 Bob Manson <manson@charmed.cygnus.com>
6468
6469 * lib/gdb.exp(gdb_test): Surround the result pattern with
6470 parenthesis in case it contains multiple regexps separated
6471 with |.
6472
6473 * gdb.base/watchpoint.exp: Use gdb_test.
6474 * gdb.base/default.exp: Ditto.
6475
6476Sat Feb 1 23:51:01 1997 Bob Manson <manson@charmed.cygnus.com>
6477
99707966 6478 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
beb998c6 6479
c906108c
SS
6480 * gdb.base/scope.exp: Use gdb_test.
6481 * gdb.c++/classes.exp: Ditto.
6482 * gdb.c++/inherit.exp: Ditto.
6483
6484Fri Jan 31 13:09:12 1997 Bob Manson <manson@charmed.cygnus.com>
6485
6486 * gdb.base/crossload.exp: Don't use execute_anywhere, use
6487 remote_exec instead.
6488 * gdb.base/corefile.exp: Don't be ridiculous.
6489 * gdb.base/*.c: Add missing stub invocations.
6490
6491Thu Jan 30 16:49:25 1997 Bob Manson <manson@charmed.cygnus.com>
6492
6493 * config/slite.exp: Miscellaneous fixes.
6494
6495 * lib/gdb.exp: Fix runto.
6496
6497 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
6498 the target.
6499
6500 * gdb.base/watchpoint.exp: Fix regexp.
6501
6502 * lib/gdb.exp(default_gdb_exit): Add a catch to the
6503 close and wait commands, as the descriptor may now be
6504 invalid. Always call "remote_close host".
6505
6506Tue Jan 28 14:42:31 1997 Bob Manson <manson@charmed.cygnus.com>
6507
6508 Major rewrite for testsuite revision.
beb998c6 6509
c906108c
SS
6510 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
6511 TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
6512 instead of relying on spawn_id to always contain a valid
6513 spawn id.
6514 (get_compiler_info): New procedure to build the ${binfile}.ci
6515 file, instead of replicating this in N different places.
6516 (gdb_compile): New procedure.
beb998c6 6517
c906108c
SS
6518 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
6519 appropriate arguments) instead of compile. Use gdb_test in a lot
6520 more places. Use send_gdb instead of send. Always run gdb_start
6521 at the start of a testcase, as this is no longer done magically.
6522
6523 config/*-gdb.exp: Rename without the -gdb suffix.
6524
6525 config/mips.exp: Use remote_close instead of exit_remote_shell.
6526 config/monitor.exp: Use target_info instead of looking at
6527 baud, timeout, etc.
6528 config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
6529
6530Sat Dec 14 00:43:57 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6531
6532 * gdb.c++/templates.exp (test_ptype_of_templates),
6533 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
6534 Update expect patterns for destructors and assignment operators
6535 to match corresponding c-typeprint.c changes.
6536 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
6537 to destructor breakpoint test, GDB should be able to set the
6538 destructor breakpoint without specifying arguments.
6539
6540Tue Dec 3 20:17:52 1996 Fred Fish <fnf@cygnus.com>
6541
6542 * gdb.threads/pthreads.exp: Change result for failure to compile due
6543 to lack of pthreads runtime support from an error to simply an
6544 unsupported test, per dejagnu standards.
6545
6546Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6547
6548 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
6549 where GDB exits to reduce pattern match time.
6550 (skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
6551
6552 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
6553
dc96c6c7 6554Tue Nov 26 18:29:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6555
6556 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
6557 * gdb.base/default.exp: ditto.
6558 * gdb.base/nodebug.exp: ditto.
6559 * gdb.base/printcmds.exp: ditto.
6560 * gdb.base/ptype.exp: ditto.
6561 * gdb.base/setvar.exp: ditto.
6562 * gdb.base/structs.exp: ditto.
6563 * gdb.base/setshow.c: Guard against uninitialized values of argc.
6564
6565Tue Nov 26 17:23:28 1996 Ian Lance Taylor <ian@cygnus.com>
6566
6567 * configure, */configure: Rebuild with autoconf 2.12.
6568
6569Sat Nov 23 13:32:15 1996 Fred Fish <fnf@cygnus.com>
6570
6571 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
6572 use new i*86-pc-linux*-gnu quads.
6573 * gdb.base/corefile.exp: Ditto.
6574 * gdb.base/signals.exp: Ditto.
6575 * gdb.base/sigall.exp: Ditto.
6576 * gdb.base/interrupt.exp: Ditto.
6577
6578 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
6579 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
6580 RedHat 4.0.
beb998c6 6581
c906108c
SS
6582 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
6583 linux. This allows the test case to at least compile on latest
6584 linux, but still not run due to missing the threads runtime library.
6585
6586Fri Nov 22 10:13:29 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6587
6588 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
6589 directory to search gdb directory. Accept and step over conditional
6590 stack alignment code. Consume $prompt in failure cases.
6591 Reset timeout to $oldtimeout instead of some arbitrary value.
6592 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
6593 timeout problems with infinite stack backtraces.
6594 * gdb.base/ptype.exp (ptype struct link, union tu_link):
6595 Accept function parameters for linkfunc member.
6596
6597Thu Nov 21 09:17:19 1996 Fred Fish <fnf@cygnus.com>
6598
6599 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
6600 (CXXFLAGS): Remove, unreferenced.
6601 (B_OPTIONS): Add for -B options and add code to initialize with
6602 previous -B options and also add -B option to pick up cross compiled
6603 runtime.
6604 (TARGET_INCLUDES): Add for -I options and add code to initialize when
6605 doing cross compiles.
6606 (target_alias): Declare global.
6607 (xgcc): Set variable to full path of gcc in build tree. Use findfile
6608 to verify that gcc exists in build tree, and if so set CC to that
6609 gcc and to use B_OPTIONS and TARGET_INCLUDES.
beb998c6 6610
c906108c
SS
6611Tue Nov 12 16:20:13 1996 Fred Fish <fnf@cygnus.com>
6612
6613 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
6614 ptype test for anonymous union. Fixup testcase to match
6615 current gcc debug output.
6616
6617Mon Nov 11 14:12:06 1996 Jeffrey A Law (law@cygnus.com)
6618
6619 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
6620 force argument to an unsigned long type.
6621
6622Mon Nov 11 10:27:55 1996 Fred Fish <fnf@cygnus.com>
6623
6624 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
6625 tests and anonymous union print/ptype tests.
6626 * gdb.base/list.exp (test_forward-search): Increase timeout by
6627 5 minutes for the "search extremely long line" case.
6628 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
6629 completely optional and that the pass/fail messages use the command as
6630 the message if that third arg is a null string.
6631 (gdb_test_exact): Arrange that a null string pattern means match a
6632 null string output rather than any output, which might include random
6633 errors.
6634 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
6635 backtrace test.
6636 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
6637 always failing and failure is now exposed by gdb.exp changes.
6638
6639Sat Nov 9 11:13:24 1996 Fred Fish <fnf@cygnus.com>
6640
6641 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
6642 weren't being noted.
6643
6644Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6645
6646 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
6647 * gdb.stabs/weird.exp: Remove v_comb xfails.
6648
dc96c6c7 6649Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6650
6651 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
6652 list.exp scope.exp watchpoint.exp]
6653 Make all timeout error msgs explicitly say "(timeout)".
beb998c6 6654
dc96c6c7 6655Mon Nov 4 12:03:06 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6656
6657 * config/monitor.exp: Increase download timeout to 1000 seconds.
6658
dc96c6c7 6659Mon Nov 4 12:02:26 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6660
6661 * config/m32r.exp: Increase timeout to 120 seconds.
6662
6663Sun Nov 3 14:37:05 1996 Fred Fish <fnf@cygnus.com>
6664
6665 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
6666 and accept older ordering as obsolescent gcc or gdb.
6667 * gdb.c++/templates.exp: Ditto.
6668 * gdb.c++/virtfunc.exp: Ditto.
6669
6670Fri Nov 1 11:56:09 1996 Fred Fish <fnf@cygnus.com>
6671
6672 * gdb.base/coremaker.c: Add code to mmap some data so we
6673 can check that it ends up in the core file.
6674 * gdb.base/corefile.exp: Add test to read mmapped data
6675 from core file.
6676
dc96c6c7 6677Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6678
6679 * config/m32r.exp: New file.
6680
6681Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
6682
6683 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
6684 that cflags can contains -gstabs, and work correctly for other tests.
6685
dc96c6c7 6686Mon Oct 21 14:00:37 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6687
6688 * gdb.base/setshow.exp: New file, tests show and set.
6689 * gdb.base/setshow.c: New file, tests show and set.
6690 * gdb.base/help.exp: Add test for help set|show annotate.
6691 * gdb.base/default.exp: Add test for set|show annotate.
6692
6693Wed Oct 16 19:03:54 1996 Stu Grossman (grossman@critters.cygnus.com)
6694
6695 * testsuite/gdb.base/break.exp: Make backtrace from factorial
6696 errors unique.
6697 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
6698 explicitly.
6699
6700Tue Oct 15 16:45:02 1996 Stu Grossman (grossman@critters.cygnus.com)
6701
6702 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
6703 and width commands. This is done elsewhere.
6704 * (gdb_start): Don't call gdb_start_sim here. That's already
6705 done in gdb_load. This fixes lots of failures in default.exp.
6706
6707Sun Oct 13 10:40:23 1996 Fred Fish <fnf@cygnus.com>
6708
6709 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
6710 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
6711 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
6712 in the same we we treat other failures (since it may be an expected
6713 condition), rather than as an error.
6714 * gdb.base/signals.exp (test_handle_all_print): Revert back to
6715 old test format.
6716
6717Fri Oct 11 17:05:22 1996 Fred Fish <fnf@cygnus.com>
6718
6719 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
6720 (distclean maintainer-clean realclean): No need to remove files
6721 twice. Nuke the duplicates.
6722 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
beb998c6 6723 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
c906108c
SS
6724 Remove config.h along with other config files.
6725
6726Mon Sep 30 20:16:22 1996 Fred Fish <fnf@cygnus.com>
6727
6728 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
6729 "p func1 ()" and note that rests of tests are skipped.
6730 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
6731 setup_xfails for "print func2::coremaker_local".
6732 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
6733 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
6734 affected by the previous run test.
6735 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
6736 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
6737 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
6738 "pass int powerset tuple" and "pass modeless int powerset tuple".
6739 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
6740 "real write 4" and "real write 8".
6741 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
6742 setup_xfails for "print vs1 after tuple assign 2",
6743 "print \$i after tuple assign 2", and
6744 "print vs2 after tuple assign 2".
6745 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
6746 meaningful error message and return -1 so the caller can
6747 suppress further tests and avoid a cascade of errors.
beb998c6 6748
c906108c
SS
6749Fri Sep 27 10:34:51 1996 Fred Fish <fnf@cygnus.com>
6750
6751 * gdb.base/a1-selftest.exp: Tweak tests to account for new
6752 format for printing version.
6753 * gdb.base/default.exp: Ditto.
6754 * gdb.base/interrupt.exp: Fix problem with cascade of
6755 errors if child process dies while calling a function.
beb998c6 6756
c906108c
SS
6757Fri Sep 13 21:43:48 1996 Fred Fish <fnf@cygnus.com>
6758
6759 * Makefile.in (VPATH): Add
6760 * Makefile.in (Makefile, config.status): Fix rules so things get
6761 remade when necessary.
6762
6763Fri Sep 13 18:16:10 1996 Fred Fish <fnf@cygnus.com>
6764
6765 * Makefile.in (just-check): Add path to sibling expect dir
6766 to environment variable specified by RPATH_ENVVAR.
6767
6768Fri Sep 13 12:05:34 1996 Fred Fish <fnf@cygnus.com>
6769
6770 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
6771 (just-check): Add shared library paths for libstdc++, tk,
6772 tcl, bfd, and opcodes to the environment variable specified
6773 in RPATH_ENVVAR.
6774 * configure.in: Add support to recognize --enable-shared flag
6775 and generate correct value for RPATH_ENVVAR.
6776 * configure: Regenerated with autoconf.
6777
6778Mon Sep 2 06:36:02 1996 Fred Fish <fnf@cygnus.com>
6779
6780 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
6781 include all osf versions.
6782 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
6783 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
6784 when target is linux. When failing to build pthreads test
6785 executable, give more meaningful message.
6786 * gdb.threads/pthreads.c: Hpux also uses old definition of second
6787 arg for pthread_create.
beb998c6 6788
c906108c
SS
6789Mon Aug 19 09:58:59 1996 Fred Fish <fnf@cygnus.com>
6790
6791 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
6792 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
6793 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
6794 and -lpthreads (everybody else).
6795 (test_startup): Fail gracefully if threads are not supported.
6796 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
6797 "p/c array_index("abcdef",2)" when not gcc compiled.
6798 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
6799 "print func2::coremaker_local" when not gcc compiled.
6800 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
6801 "ptype on opaque struct tagname (statically)",
6802 "ptype on opaque struct tagname (dynamically) 1", and
6803 "ptype on opaque struct tagname (dynamically) 2"
6804 for not compiled with gcc.
6805 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
6806 backtrace when compiled with gcc.
beb998c6 6807 * lib/gdb.exp (runto_main): Return result of "runto main" rather
c906108c
SS
6808 than always return success.
6809
6810Sat Aug 17 13:28:00 1996 Fred Fish <fnf@cygnus.com>
6811
6812 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
6813
6814Tue Aug 13 10:26:10 1996 Jeffrey A Law (law@cygnus.com)
6815
6816 * gdb.base/structs.exp: Undo last change.
6817
6818Mon Aug 12 15:29:08 1996 Fred Fish <fnf@cygnus.com>
6819
6820 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
6821 encapsulate all the steps/nexts done during self test, starting
6822 at main, and makes them less sensitive to optimization issues.
6823 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
6824 signal handler" test.
6825 * gdb.threads/pthreads.exp: Only run this for native configs.
6826 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
6827 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
6828 tests.
6829 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
6830 for "runto test_calls(void)" test.
beb998c6 6831
c906108c
SS
6832Sun Aug 11 13:11:24 1996 Fred Fish <fnf@cygnus.com>
6833
6834 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
6835 and don't expect address info in breakpoint confirmations.
6836
6837Wed Aug 7 20:47:43 1996 Fred Fish <fnf@cygnus.com>
6838
6839 * gdb.base/list.exp (test_forward_search): Increase timeout
6840 temporarily by 60 seconds for searching extremely long line,
6841 and then reset to old value when done. Increase expect input
6842 buffer to 10000.
6843
6844Wed Aug 7 15:34:22 1996 Fred Fish <fnf@cygnus.com>
6845
6846 * gdb.base/list.exp (test_forward_search): Fix to handle very
6847 long source line without overflowing expect's input buffer.
6848
6849Wed Aug 7 12:03:25 1996 Tom Tromey <tromey@creche.cygnus.com>
6850
6851 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
6852 "buffer_full".
6853
6854 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
6855 "buffer_full".
6856
6857 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
6858 "buffer_full".
6859
6860 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
6861 "buffer_full".
6862
6863Wed Aug 7 11:05:47 1996 Fred Fish <fnf@cygnus.com>
6864
6865 * configure.in (configdirs): Add gdb.threads.
6866 * configure: Regenerated with autoconf.
6867 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
6868 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
6869 * gdb.threads/configure: New, generated with autoconf.
beb998c6 6870
c906108c
SS
6871Tue Aug 6 10:23:04 1996 Tom Tromey <tromey@rtl.cygnus.com>
6872
6873 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
6874
6875Mon Aug 5 18:11:53 1996 Fred Fish <fnf@cygnus.com>
6876
6877 * gdb.base/signals.exp (test_handle_all_print): Test separately for
6878 each signal's status in the output of "handle all print".
6879 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
6880 the \r\n sequence that immediately precedes the gdb prompt.
6881 * gdb.base/a1-selftest.exp: Save original timeout and restore
6882 after test.
6883
6884Sun Aug 4 10:20:50 1996 Jeffrey A Law (law@cygnus.com)
6885
6886 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
6887 symbol.
6888
6889Fri Aug 2 17:37:26 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
6890
6891 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
6892
6893Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
6894
6895 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
6896 timeout by 60 seconds.
6897
6898Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
6899
6900 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
6901 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
6902 error return.
6903
6904Thu Jun 27 10:54:58 1996 Fred Fish <fnf@cygnus.com>
6905
6906 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
6907 gdb initialization, also report how long dejagnu waited. Restore
6908 old timeout before doing error return. Temporarily increase timeout
6909 by 3 minutes to allow for slow startups over heavy NFS use.
6910
6911Tue Jun 25 19:59:17 1996 Fred Fish <fnf@cygnus.com>
6912
6913 * lib/gdb.exp: Report timeout value for verbosity level 2.
6914 * config/gdbserver.exp: Ditto.
6915 * config/hppro.exp: Ditto.
6916 * config/mips-gdb.exp: Ditto.
6917 * config/monitor.exp: Ditto.
6918 * config/netware.exp: Ditto.
6919 * config/sim-gdb.exp: Ditto.
6920 * config/slite-gdb.exp: Ditto.
6921 * config/udi-gdb.exp: Ditto.
6922 * config/unix-gdb.exp: Ditto.
6923 * config/vx-gdb.exp: Ditto.
6924 * gdb.base/a1-selftest.exp: Ditto.
6925 * gdb.base/a2-run.exp: Ditto.
6926 * gdb.base/break.exp: Ditto.
6927 * gdb.base/corefile.exp: Ditto.
6928 * gdb.base/list.exp: Ditto.
6929 * gdb.base/recurse.exp: Ditto.
6930 * gdb.base/scope.exp: Ditto.
6931 * gdb.base/signals.exp: Ditto.
6932
6933Tue Jun 25 23:16:58 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
6934
6935 * gdb.threads/Makefile.in (docdir): Removed.
6936
6937Tue Jun 25 17:02:39 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
6938
6939 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
beb998c6 6940 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
c906108c 6941 @srcdir@.
beb998c6 6942 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
c906108c
SS
6943 autoconf 2.5 or higher.
6944 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
6945
6946Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
6947
6948 * configure: Regenerated.
6949 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
6950 avoid name clashes with SunOS headers.
6951
6952Wed Jun 5 16:43:27 1996 Jeffrey A Law (law@cygnus.com)
6953
6954 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
6955
6956Thu May 30 11:35:11 1996 Jeffrey A Law (law@cygnus.com)
6957
6958 * gdb.base/callfuncs.exp: Finish last change -- make sure the
6959 prototype information ends up in the compiler info file.
6960
6961Thu May 23 12:48:41 1996 Fred Fish <fnf@cygnus.com>
6962
6963 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
6964 attempting to regenerate it. Eliminate use of a temporary file
6965 and just generate the info file directly. Source it immediately,
6966 for consistency of use.
6967 * gdb.base/corefile.exp: Ditto
6968 * gdb.base/exprs.exp: Ditto.
6969 * gdb.base/funcargs.exp: Ditto.
6970 * gdb.base/langs.exp: Ditto.
6971 * gdb.base/list.exp: Ditto.
6972 * gdb.base/mips_pro.exp: Ditto.
6973 * gdb.base/nodebug.exp: Ditto.
6974 * gdb.base/opaque.exp: Ditto.
6975 * gdb.base/ptype.exp: Ditto.
6976 * gdb.base/scope.exp: Ditto.
6977 * gdb.base/setvar.exp: Ditto.
6978 * gdb.base/signals.exp: Ditto.
6979 * gdb.base/whatis.exp: Ditto.
6980 * gdb.c++/templates.exp: Ditto.
6981 * gdb.c++/virtfunc.exp: Ditto.
6982 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
6983 whether or not to add -lstdc++ to the compile command line args.
6984
6985Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6986
6987 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
6988 it got fixed by the recent lookup_minimal_symbol_by_pc change.
6989 Increase timeout, a lot of single stepping might be needed if the
6990 target has no hardware watchpoints.
6991
6992Wed May 15 08:47:42 1996 Jeffrey A Law (law@cygnus.com)
6993
6994 * gdb.base/break.exp: Ignore compiler warnings when compiling
6995 break.c.
6996 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
6997 * gdb.base/default.exp: Add h8300 xfails. Handle messages
6998 from remote-sim.
6999 * gdb.base/exprs.exp: Add h8300 xfails.
7000 * gdb.base/funcargs.exp: Likewise.
7001 * gdb.base/nodebug.exp: Likewise.
7002 * gdb.base/printcmds.exp: Likewise.
7003 * gdb.base/ptype.exp: Likewise.
7004 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
7005 h8300 xfails.
beb998c6 7006 * gdb.base/return.exp: Handle float/double precision problems
c906108c
SS
7007 on the h8300.
7008 * gdb.base/funcargs.c: Explicitly make last constant argument to
7009 call_after_alloca_subr an unsigned long type.
7010 * gdb.base/return.c: Include stdio.h.
7011
7012Tue May 7 22:01:12 1996 Rob Savoye <rob@chinadoll.cygnus.com>
7013
7014 * config/abug.exp: New file for the older Motorola Bug monitor
7015 that runs on the mvme13x series VME boards.
7016 * config/monitor.exp: Use the new config array for target settings
7017 if they exist.
7018
7019Fri May 3 16:02:55 1996 Stan Shebs <shebs@andros.cygnus.com>
7020
7021 * sim-gdb.exp: Make the SH simulator allocate less space when
7022 it is targeted.
7023
7024Thu May 2 12:31:56 1996 Jeffrey A Law (law@cygnus.com)
7025
7026 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
7027 test.
7028
7029Wed Mar 20 08:48:03 1996 Fred Fish <fnf@cygnus.com>
7030
7031 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
7032 "rs6000-*-*" for "list function in include file" when gcc compiled.
7033 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
7034 for "p ctable1[120]".
7035 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
7036 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
7037 Remove setup_xfail for "rs6000-*-*" for
7038 "print 'scope0.c'::filelocal before run".
7039 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
7040 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
7041 since some compilers don't allow both options to be given
7042 on the same command line. Create object file and move it.
beb998c6 7043
c906108c
SS
7044Tue Mar 19 23:49:31 1996 Fred Fish <fnf@cygnus.com>
7045
7046 * gdb.base/corefile.exp: Always regenerate the core file, since
7047 we always regenerate the coremaker program. Detect special case
7048 where registers cannot be read from core file.
beb998c6 7049
c906108c
SS
7050Tue Mar 19 16:52:49 1996 Fred Fish <fnf@cygnus.com>
7051
7052 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
7053 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
7054 * gdb.c++/templates.exp: Only match on basename of file since
7055 some formats like xcoff don't encode directory information.
7056 * gdb.stabs/weird.exp: Use the right sed script for powerpc
7057 and rs6000 AIX xcoff targets.
7058 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
7059 * configure: Regenerate.
7060 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
7061 here, rather than in distclean.
beb998c6 7062
c906108c
SS
7063Sun Mar 17 13:35:31 1996 Fred Fish <fnf@cygnus.com>
7064
7065 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
7066 defined, and use it to compile the test case with -O2. The
7067 native compilation still uses no optimization.
7068 * gdb.base/mips_pro.c: Remove inline assembly code since
7069 it is compiled PIC by default, which results in assembler
7070 warnings that make the testsuite think the compilation
7071 was unsuccessful.
7072
7073Sat Mar 16 15:02:24 1996 Fred Fish <fnf@cygnus.com>
7074
7075 * gdb.c++/misc.exp: Add note to message for
7076 "print s.a for foo struct" that this is a known gcc 2.7.2
7077 and earlier bug.
7078
7079Fri Mar 15 17:49:57 1996 Fred Fish (fnf@cygnus.com)
7080
7081 * gdb.base/break.exp: Fix pattern for matching "Delete all
7082 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
7083 setup_xfail for deleting all breakpoints test. Fix various
7084 timeout messages to include "(timeout)".
7085 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
7086 for "p t_float_values2(3.14159,float_val2)".
7087 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
7088 for "continue to call2g" when gcc compiled.
7089 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
7090 "up to foo in langs.exp", "show language at foo in langs.exp",
7091 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
7092 and "show language at fsub in langs.exp".
7093 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
7094 "list line 1 in include file", "list message for lines past EOF",
7095 "list function in include file", "list list0.h:foo", and
7096 "list filename:function; nonexistant function".
7097 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
7098 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
7099 and "ptype t_char_array" to be for native cc only.
beb998c6 7100
c906108c
SS
7101Fri Mar 15 16:17:22 1996 Fred Fish <fnf@cygnus.com>
7102
beb998c6 7103 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
c906108c
SS
7104 setup_xfail for "print coremaker_bss", "print coremaker_ro",
7105 "print func2::coremaker_local", and "backtrace in corefile.exp".
7106
7107Wed Mar 13 14:54:11 1996 Fred Fish <fnf@cygnus.com>
7108
7109 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
7110 "bt in signals.exp". This problem only appears when running
7111 the testsuite, and then only intermittently.
7112
7113Tue Mar 12 15:00:16 1996 Stan Shebs <shebs@andros.cygnus.com>
7114
7115 * gdb.base/return.exp (return_tests): Differentiate between
7116 two tests of continuing.
7117
7118Tue Mar 5 14:33:33 1996 Stan Shebs <shebs@andros.cygnus.com>
7119
7120 * */Makefile.in (maintainer-clean): Remove config.log.
7121 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
7122 * gdb.c++/Makefile.in (PROGS): Add inherit.
7123 (clean): Remove *.ci.
7124
7125Tue Feb 20 16:36:10 1996 Fred Fish <fnf@cygnus.com>
7126
7127 * gdb.c++/misc.cc: Add test code from Mike Stump.
7128 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
7129
7130Sun Feb 18 11:39:12 1996 Fred Fish <fnf@cygnus.com>
7131
7132 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
7133 to "alpha-*-osf2*" and add comment.
7134 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
7135 setup_xfail for "step over execarg initialization" and
7136 "step over corearg initialization".
7137 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
7138 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
7139 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
7140 gcc compiled for "print coremaker_bss", "print coremaker_ro",
7141 "print func2::coremaker_local", and "backtrace in corefile.exp".
7142 * gdb.base/signals.exp: Build and source signals.ci.
7143 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
7144 to be for gcc only.
7145 * lib/gdb.exp: Move verbose statements outside conditionals.
beb998c6 7146
c906108c
SS
7147Sat Feb 17 02:22:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7148
7149 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
7150 Feb 3 procfs.c change.
7151
7152Fri Feb 16 13:25:31 1996 Fred Fish <fnf@cygnus.com>
7153
7154 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
7155
7156Thu Feb 15 08:12:55 1996 Fred Fish <fnf@cygnus.com>
7157
7158 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
7159 from dejagnu's apparent default of 10 seconds, which gives random
7160 results when running the tests over NFS on moderately loaded systems.
7161 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
7162
7163Mon Feb 12 16:50:28 1996 Fred Fish <fnf@cygnus.com>
7164
7165 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
7166 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
7167 result reports.
7168
7169Fri Feb 9 15:56:51 1996 Fred Fish <fnf@cygnus.com>
7170
7171 * configure.in (CY_AC_PATH_TCLH): Remove.
7172 * configure: Regenerate.
7173
7174Fri Feb 9 08:21:31 1996 Fred Fish <fnf@cygnus.com>
7175
7176 * gdb.c++/Makefile.in (clean): Add missing '{'.
7177
7178Fri Feb 2 10:19:40 1996 Jeffrey A Law (law@cygnus.com)
7179
7180 * lib/gdb.exp: Provide a default value for noinferior.
7181
7182 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
7183 Load libgloss.exp.
7184
7185Thu Feb 1 20:20:14 1996 Jeffrey A Law (law@cygnus.com)
7186
7187 * gdb.disasm/hppa.exp: Compile directly into an executable, use
7188 the executable, not the .o to run the tests from.
7189
7190Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com)
7191
7192 * gdb.base/break.exp: Don't test for program exit or exit status
7193 if $noresults if nonzero.
7194 * gdb.base/langs.exp: Likewise.
7195 * gdb.base/watchpoint.exp: Likewise.
7196
7197 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
7198 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
7199 trying to compile the testcase.
7200
7201Wed Jan 24 23:42:39 1996 Doug Evans <dje@charmed.cygnus.com>
7202
7203 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
7204 * gdb.base/signals.exp (continue to handler): Likewise.
7205
7206Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
7207
7208 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
7209
7210 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
7211
7212Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
7213
7214 * gdb.base/corefile.exp: Recognize "not found" as failure
7215 when trying to determine if a core file was generated.
7216 If no core file was generate the first time, try again without
7217 the ulimit -c to work around braindamaged shells.
7218
7219Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
7220
7221 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
7222 [] tests with "test" and enclose string in quotes.
7223 * gdb.stabs/configure: Rebuild
beb998c6 7224
c906108c
SS
7225Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
7226
7227 Changes in sync with expect:
7228 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
7229 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
7230 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
7231 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
7232 argument to AC_REQUIRE.
7233 * configure: Regenerated.
7234
7235Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
7236
7237 * gdb.base/corefile.exp: When generating a core, discard any
7238 error messages about ulimit not found and the "core dumped"
7239 message from the shell that runs the coredumper.
7240
7241Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
7242
7243 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
7244
7245 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
7246 which sed script to run. Expect failure for v_comb test
7247 on PA targets too.
beb998c6 7248
c906108c
SS
7249Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
7250
7251 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
7252 "print func2::coremaker_local" and for "backtrace in corefile.exp"
7253
7254Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
7255
7256 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
7257 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
7258 "sparc-sun-solaris*" xfails for "p v_comb".
7259 * lib/gdb.exp (default_gdb_start): Fix typo.
7260 * gdb.base/corefile.exp: Allow "Core was generated by ..."
7261 messages to not include the full program name that caused
7262 the core dump since some systems (such as solaris) apparently
7263 truncate this path to about 80 characters.
7264 When generating a core file first try increasing the core file
7265 size limit to unlimited since some systems may default it to
7266 zero, and it is harmless to try it. Move the test for failing
7267 to generate a core file to where it will actually get executed.
7268 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
7269 new gdb result from g++ debug info improvements and make old
7270 pattern obsolescent. Also account for size_t differences
7271 (may be int or long).
7272 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
7273 initialization before function call is placed in the delay slot
7274 and thus appears to be skipped over by commands such as "next".
7275
7276Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
7277
7278 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
7279
7280Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
7281
7282 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
7283 input source file; fix code to compile test to deal with this
7284 convention.
7285 * gdb.c++/*.exp: Likewise.
7286
7287Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
7288
7289 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
7290 "bt in signals.exp".
7291
7292Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
7293
7294 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
7295 "step over execarg initialization" and
7296 "step over corearg initialization".
7297
7298Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
7299
7300 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
7301 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
7302
7303Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
7304
7305 From Rob Savoye (rob@poseidon.cygnus.com)
7306 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
7307 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
7308 configure.in}, gdb.disasm/{Makefile.in, configure.in},
7309 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
7310 configure.in}: Major reworking for autoconfig.
7311 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
7312 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
7313 New files.
7314 * config/unix-gdb.exp: Make GDB global.
7315 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
7316 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
7317 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
7318 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
7319 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
7320 term.exp, twice.exp, watchpoint.exp, whatis.exp},
7321 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
7322 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
7323 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
7324 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
7325 pr-8136.exp, result.exp, string.exp, tuples.exp},
7326 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
7327 to returns as necessary, arrange for test to compile own testcase
7328 executable.
7329 * lib/gdb.exp: Changes for testsuite to compile own test cases.
beb998c6 7330
c906108c
SS
7331Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
7332
7333 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
7334 clear_xfail at end of test which might not call either pass or fail.
7335 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
7336 "backtrace through signal handler".
7337
7338Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7339
7340 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
7341 continuing from a job control stop signal.
7342 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
7343
7344Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
7345
7346 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
7347 * gdb.base/corefile.exp: Likewise.
7348 * gdb.base/funcargs.exp: Likewise.
7349
7350Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
7351
7352 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
7353 * config/monitor.exp: Add support for setting baud rate.
7354
7355Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
7356
7357 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
7358 i*86-*-linux* xfails for "backtrace through signal handler".
7359 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
7360 "print func2::coremaker_local".
7361 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
7362 alpha-dec-osf2* xfail for
7363 "delete all breakpoints when none".
7364
7365Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
7366
7367 * gdb.base/break.exp: Change test that deletes all breakpoints
7368 when no user breakpoints are installed. A post 4.15 change
7369 causes gdb to no longer prompt in this case.
7370
7371Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
7372
7373 * gdb.base/return.exp (return_tests): Change xfail for test
7374 "correct value returned double test" to stop xfailing at
7375 Solaris 2.5. Apparently the bug has been fixed.
7376
7377Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
7378
7379 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
7380 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
7381
7382Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
7383
7384 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
7385 * gdb.disasm/hppa.s: Corresponding changes.
7386
7387Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
7388
7389 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
7390 makefile fragment.
7391 * config/mt-hpux: Deleted.
7392
7393Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
7394
beb998c6 7395 * Many files: When warning about suppressed tests due to a
c906108c
SS
7396 nonexistant test binary, avoid incrementing the warning count.
7397
7398Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
7399
7400 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
beb998c6 7401
c906108c
SS
7402Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7403
7404 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
7405 "sparc-*-solaris2*".
7406
7407Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7408
7409 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
7410 Add global and local variables and initialize them.
7411 * gdb.base/corefile.exp: Test correct mapping of corefile sections
7412 by printing variables. Remove rs6000 and powerpc xfails, BFD now
7413 extracts the file name and terminating signal from the core file.
7414 * TODO: Remove note about tests for correct mapping of corefile.
7415 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
7416 from optimizing it away.
7417 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
7418 handles common blocks.
7419
7420Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
7421
7422 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
7423 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
7424
7425Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
7426
7427 * Makefile.in (maintainer-clean): New target, synonym for
7428 realclean.
7429 * gdb.base/Makefile.in (maintainer-clean): Likewise.
7430 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
7431 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
7432 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
7433 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
7434 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
7435
7436Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
7437
7438 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
7439 xfails when not gcc compiled for "print foo::funclocal".
7440 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
7441 "print foo::funclocal at foo",
7442 "print 'scope1.c'::foo::funclocal at foo",
7443 "print foo::funclocal_bss at foo",
7444 "print 'scope1.c'::foo::funclocal_bss at foo",
7445 "print foo::funclocal_ro at foo",
7446 "print 'scope1.c'::foo::funclocal_ro at foo",
7447 "print bar::funclocal at foo" and
7448 "print 'scope1.c'::bar::funclocal at foo".
7449 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
7450 gcc compiled for "print foo::funclocal at bar".
7451 Expand all messages to ensure that they identify that
7452 the test is at bar().
7453 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
7454 gcc compiled for:
7455 "ptype on opaque struct pointer (statically)",
7456 "ptype on opaque struct tagname (statically)",
7457 "ptype on opaque struct pointer (dynamically) 1",
7458 "ptype on opaque struct tagname (dynamically) 1",
7459 "ptype on opaque struct pointer (dynamically) 2" and
7460 "ptype on opaque struct tagname (dynamically) 2
7461 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
7462 gcc compiled for:
7463 "p datalocal"
7464 "whatis datalocal",
7465 "ptype datalocal",
7466 "p bsslocal",
7467 "whatis bsslocal", and
7468 "ptype bsslocal".
7469 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
7470 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
7471 when not gcc compiled.
7472 * gdb.base/funcargs.exp (float_and_integral_args): Add
7473 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
7474 compiled.
7475 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
7476 "backtrace from call6a" when not gcc compiled.
7477 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
7478 "backtrace from call7a" when not gcc compiled.
7479 * gdb.base/callfuncs.exp (do_function_calls):
7480 Add "hppa*-*-hpux*" xfail when not gcc compiled for
7481 "p t_char_array_values(char_array_val2,char_array_val1)",
7482 "p t_char_array_values(char_array_val1,char_array_val2)",
7483 "p t_char_array_values("carray 1","carray 2")",
7484 "p t_char_array_values("carray 1",char_array_val2)",
7485 "p t_char_array_values(char_array_val1,"carray 2")",
7486 "p sum_args(1,{2})",
7487 "p sum_args(2,{2,3})",
7488 "p sum_args(3,{2,3,4})",
7489 "p sum_args(4,{2,3,4,5})"
7490 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
7491 "backtrace in corefile.exp" when not gcc compiled.
7492
7493Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7494
7495 * gdb.base/signals.exp: Rewrite `handle all print' test as
7496 a procedure. Accept blanks or TABs as whitespace, increase
7497 timeout and expect input buffer size for the large output
7498 from the command. Remove "i*86-*-bsdi2.0" xfail.
7499
7500Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7501
7502 * gdb.base/setvar.exp: Add new testcases for truncation when
7503 assigning invalid values to bitfields.
7504
7505Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
7506
beb998c6 7507 * gdb.base/callfuncs.exp (do_function_calls): Remove
c906108c
SS
7508 mips-sgi-irix* xfail for
7509 "call inferior func with struct - returns char *"
7510 and fix test so that an optional (unsigned char *) cast is
7511 accepted in the result.
7512
7513Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
7514
7515 * gdb.base/funcargs.exp (float_and_integral_args): Remove
7516 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
7517 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
7518 * gdb.base/signals.exp: Remove duplicate "handle all print" test
7519 that accidentally got checked in.
7520
7521Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
7522
beb998c6 7523 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
c906108c
SS
7524 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
7525 compiled test.
7526 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
7527 Add mips-sgi-irix5* xfail for not gcc compiled.
7528 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
7529 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc compiled for
7530 "p top", "whatis top", "p middle", and "whatis middle".
7531 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
7532 "whatis signed char" for not gcc compiled.
7533 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
7534 "set variable signed char=-1 (-1)" and
7535 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
7536 * gdb.base/funcargs.exp (float_and_integral_args):
7537 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
7538 Add mips-sgi-irix* xfail when not gcc compiled for
7539 "continue to call2b".
7540 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
7541 "continue to call2g".
7542 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc compiled for
7543 "backtrace from call6a"
7544 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc compiled for
7545 "backtrace from call7k".
7546 Add mips-sgi-irix5* xfail when not gcc compiled for
7547 "backtrace from call7a".
7548 (localvars_after_alloca): Fix gdb_test cmds for
7549 "print * after runto ...".
7550 Remove rs6000-*-* xfails for
7551 "print i after runto localvars_after_alloca" and
7552 "print l after runto localvars_after_alloca"
7553 for all compilers.
7554 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
7555 when not compiled with gcc, for:
7556 "print signed char == (minus)",
7557 "print signed char != (minus)",
7558 "print signed char < (minus)",
7559 "print signed char > (minus)".
7560 * gdb.base/callfuncs.exp (do_function_calls):
7561 Add mips-sgi-irix* xfail, when compiled with native compiler, for
7562 "call inferior func with struct - returns char *".
beb998c6 7563 * gdb.base/return.exp (return_tests): Change xfail for
c906108c
SS
7564 "correct value returned double test" to include Solaris 2.4.
7565 * gdb.base/funcargs.exp (float_and_integral_args):
7566 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
beb998c6 7567
c906108c
SS
7568Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7569
7570 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
7571 enumeration bitfields if compiling with GNU C.
7572 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
7573 to empty' prompt.
7574
7575Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
7576
7577 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
7578 test for PRO targets.
7579
7580 * gdb.base/funcargs.exp: Avoid ever setting more than 8
7581 breakpoints in the inferior at any given time by making
7582 two groups of breakpoints for call2*, call6* and call7*
7583 tests.
7584
7585Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7586
7587 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
7588 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
7589 from optimizing it away.
7590 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
7591 "call inferior func with struct".
7592
7593Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
7594
7595 * configure.in: Only configure gdb.chill for particular targets.
7596
7597Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
7598
7599 * gdb.base/Makefile.in: Add action to .c.o transformation
7600 rule that generates a .ci file for each .o file and remove
7601 explicit .c.o rules except for callfuncs.o.
7602 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
7603 generates a .ci file for each .o file and remove explicit
7604 .cc.o rules.
7605 (clean): Remove *.tmp *.ci files.
7606 (EXECUTABLES): Remove templ-info.exp.
7607 * gdb.base/compiler.c: New file.
7608 * gdb.c++/compiler.cc: New file
7609 * gdb.base/scope.exp: Source gdb.base/scope.ci.
7610 Change rs6000-*-* xfail for
7611 "print 'scope0.c'::filelocal_ro" and
7612 "print 'scope1.c'::filelocal" and
7613 "print 'scope1.c'::filelocal_bss" and
7614 "print 'scope1.c'::filelocal_ro" and
7615 "print 'scope1.c'::foo::funclocal" and
7616 "print 'scope1.c'::foo::funclocal_ro" and
7617 "print 'scope1.c'::bar::funclocal" and
7618 "print 'scope0.c'::filelocal_ro" and
7619 "print 'scope1.c'::filelocal at foo" and
7620 "print 'scope1.c'::filelocal_bss at foo" and
7621 "print 'scope1.c'::filelocal_ro at foo" and
7622 "print 'scope1.c'::foo::funclocal at foo" and
7623 "print 'scope1.c'::foo::funclocal_bss at foo" and
7624 "print 'scope1.c'::foo::funclocal_ro at foo" and
7625 "print 'scope1.c'::bar::funclocal at foo" and
7626 "print 'scope0.c'::filelocal_ro" and
7627 "print 'scope1.c'::filelocal" and
7628 "print 'scope1.c'::filelocal_bss" and
7629 "print 'scope1.c'::filelocal_ro" and
7630 "print 'scope1.c'::foo::funclocal" and
7631 "print 'scope1.c'::foo::funclocal_bss" and
7632 "print 'scope1.c'::foo::funclocal_ro" and
7633 "print 'scope1.c'::bar::funclocal" and
7634 "print 'scope1.c'::bar::funclocal_bss"
7635 to only be xfail'd when not compiled with gcc.
beb998c6 7636 Add rs6000-*-* xfail for
c906108c
SS
7637 "print 'scope0.c'::filelocal_bss before run"
7638 when compiled with gcc.
7639 (test_at_main): Add rs6000-*-* xfail for
7640 "print filelocal_ro in test_at_main"
7641 when compiled with gcc.
7642 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
beb998c6 7643 Add rs6000-*-aix* xfail for
c906108c
SS
7644 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
7645 "ptype t_char_array", not compiled with gcc.
7646 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
7647 xfail for "list foo (in include file)" when gcc compiled.
7648 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
7649 (integral_args): Add rs6000-*-* xfail for
7650 "run to call0a" if not compiled with gcc.
7651 (unsigned_integral_args): Add rs6000-*-* xfail for
7652 "run to call1a" if not compiled with gcc.
7653 (float_and_integral_args): Add rs6000-*-* xfail for
7654 "run to call2a" if not compiled with gcc and for
7655 "continue to call2b" for any compiler.
7656 Add rs6000-*-* xfail to
7657 "print f1 after run to call2a" for gcc compiled.
7658 (discard_and_shuffle): Add rs6000-*-* xfail for
7659 "run to call6a".
7660 (shuffle_round_robin): Add rs6000-*-* xfail for
7661 "backtrace from call7a" if not compiled with gcc.
7662 Add rs6000-*-* xfail for
7663 "backtrace from call7b" if compiled with gcc.
7664 (call_after_alloca): Add rs6000-*-* xfail for
7665 "print c in call_after_alloca" and
7666 "print s in call_after_alloca" and
7667 "backtrace from call_after_alloca_subr"
7668 if not compiled with gcc.
7669 (localvars_in_indirect_call): Add rs6000-*-* xfail for
7670 "print c in localvars_in_indirect_call" and
7671 "print c in localvars_in_indirect_call" and
7672 "backtrace in indirectly called function" and
7673 "stepping into indirectly called function"
7674 if not compiled with gcc.
7675 (localvars_after_alloca): Add rs6000-*-* xfail for
7676 "print c after runto localvars_after_alloca" and
7677 "print s after runto localvars_after_alloca" and
7678 "print i after runto localvars_after_alloca" and
7679 "print l after runto localvars_after_alloca"
7680 for all compilers.
7681 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
7682 than whatis-info.exp.
7683 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
7684 than opaque-info.exp.
7685 Setup rs6000-*-* xfail for
beb998c6 7686 "ptype on opaque struct pointer (statically)" and
c906108c
SS
7687 "ptype on opaque struct pointer (dynamically)" when
7688 not compiled with gcc.
7689 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
7690 rather than callf-info.exp.
7691 (do_function_calls): Add clear_xfail for rs6000-*-* for
7692 "p t_float_values2(3.14159,float_val2)". Seems to work
7693 fine there, both with xlc and gcc. Need to find out what
7694 it is doing right and fix other platforms.
7695 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
7696 "call inferior func with struct - returns int",
7697 "call inferior func with struct - returns long",
7698 "call inferior func with struct - returns float",
7699 "call inferior func with struct - returns double",
7700 "call inferior func with struct - returns char *",
7701 but only if not gcc compiled (presumes xlc compiled).
7702 Change rs6000-*-* xfails for
7703 "call inferior func with struct - returns char" and
7704 " call inferior func with struct - returns short" to only
7705 xfail if not using gcc.
7706 (clean mostlyclean): Remove *.ci and *.tmp files.
7707 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
7708 than templ-info.exp.
7709 * gdb.base/langs.exp: Source gdb.base/langs.ci.
7710 Add rs6000-*-* xfail for "up to foo in langs.exp"
7711 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
7712 when not gcc compiled.
beb998c6 7713
c906108c
SS
7714Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
7715
7716 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
7717 * gdb.base/corefile.exp: Likewise.
7718 * gdb.base/list.exp: Likewise.
7719 * gdb.base/scope.exp: Likewise.
7720 * gdb.base/siganls.exp: Likewise.
7721
7722 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
7723 compiler output.
7724 * gdb.base/whatis.exp: Likewise.
7725
7726Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
7727
7728 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
7729 failure (opcode table has been fixed to match reality).
7730
7731Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
7732
7733 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
7734 "call inferior func with struct - returns char",
7735 "call inferior func with struct - returns short"
7736
7737 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
7738 "print 'scope0.c'::filelocal at main",
7739 "print 'scope0.c'::filelocal_bss in test_at_main",
7740 "print 'scope0.c'::filelocal at foo",
7741 "print 'scope0.c'::filelocal_bss in test_at_foo",
7742 "print 'scope0.c'::filelocal at bar",
7743 "print 'scope0.c'::filelocal_bss in test_at_bar"
beb998c6 7744
c906108c
SS
7745 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
7746 in source file 1". This bug seems to have been fixed with both
7747 gcc and native cc (was native assembler bug?).
7748
7749Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
7750
7751 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
7752 "backtrace through signal handler" to "i*86-*-sysv4*".
7753 * gdb.base/signals.exp: Add xfail for "'next' behaved as
7754 continue" case. Add "known SVR4 bug" to fail message.
7755 Add "i*86-*-bsdi2.0" xfail for "handle all print".
7756 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
7757 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
7758 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
7759 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
7760 "up to foo in langs.exp", "show language at foo in
7761 langs.exp", "up to cppsub_ in langs.exp", "show
7762 language at cppsub_ in langs.exp", "up to fsub in
7763 langs.exp", and "show language at fsub in langs.exp".
7764 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
7765 "bactrace in corefile.exp".
7766 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
7767 "call inferior function with struct - returns float" and
7768 "call inferior function with struct - returns double".
beb998c6 7769
c906108c
SS
7770Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
7771
7772 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
7773 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
7774 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
7775 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
7776
7777Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
7778
7779 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
7780 (or overriden) "CHILL" macro rather then bare "gcc".
7781 Also look for ../../gcc/xgcc since that is what we will
7782 actually need, not "Makefile". Remove following assignment
7783 of CHILL to CHILL_FOR_TARGET because that results in
7784 recursive definition.
7785
7786Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
7787
7788 * gdb.base/corefile.exp: Change xfail for backtrace in
7789 corefile.exp from linuxaout to all linux.
7790 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
7791 cases where we miss the breakpoint at the signal handler
7792 for some reason. Setup xfail for linuxoldld/linuxaout and
7793 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
7794 hitting SIGURG breakpoint.
7795 * gdb.base/signals.exp: Setup xfail for "next" acting like
7796 continue to add linuxoldld. Setup xfail for all linux for
7797 "next to handler in signals_tests_1", "backtrace in
7798 signals_tests_1", "continue to func1", "pass SIGUSR1",
7799 and continue to handler".
7800
7801Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
7802
7803 * Update all FSF addresses except those in COPYING* files.
7804
7805Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
7806
7807 * gdb.base/a2-run.exp: Change messages to be more explicit about
7808 the status of args, and quote binfile in results.
7809
7810Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
7811
7812 * gdb.base/callfuncs.exp: Add tests for passing structs to
7813 inferior functions and return various types.
7814 * gdb.base/callfuncs.c: Add functions to receive a struct
7815 and return a member of the struct, in various types.
7816
7817Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7818
7819 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
7820
7821Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
7822
7823 * config/vxworks29k.exp: New file, sources vxworks.exp.
7824
7825Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
7826
7827 * config/gdbremote.exp: New file. Testing framework using
7828 gdbserver.
7829
7830Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
7831
7832 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
7833 "call function when asleep" and "send end of file".
7834 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
7835 for "backtrace in corefile.exp".
7836 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
7837 for "backtrace through signal handler".
7838 * gdb.base/corefile.exp: Make sure we actually generate a core file
7839 before trying the core tests. Some systems allow the user to suppress
7840 generation of core files and default to that (linux for example).
7841 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
7842 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
7843
7844Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
7845
7846 * gdb.threads: New directory with some crude multi-threaded
7847 gdb tests (step.exp and step2.exp).
7848 * config/mt-lynx (STEP_EXECUTABLE): Define.
7849 (THREADFLAGS): Define.
7850
7851Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
7852
7853 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
7854
7855 * gdb.base/signals.exp: Disable whole file for lynx until
7856 further notice.
7857
7858 * gdb.base/signals.exp: xfail test where "next" acts like
7859 "continue" for lynx.
7860
7861 * gdb.base/interrupt.exp: xfail test for calling function while
7862 inferior is asleep for lynx.
7863
7864 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
7865 than one cr-lf after each command.
7866
7867Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7868
7869 * configure.in: Reinstate setting of stabsdirs variable, fix
7870 typo in setting up configdirs for native builds.
7871
7872 * gdb.base/return.exp: Fix typo in return double test.
7873 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
7874 compiler from optimizing them away.
7875
7876Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
7877
7878 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
7879 sequences to be echo'd by gdb when using gdb_test.
7880 * gdb.chill/chexp.exp: Likewise.
7881 * gdb.fortran/exprs.exp: Likewise
7882
7883Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
7884
7885 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
7886 after the inferior gdb has started.
7887
7888 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
7889 after each command.
7890 * gdb.base/funcargs.exp: Likewise.
7891 * gdb.base/gdbvars.exp: Likewise.
7892 * gdb.base/interrupt.exp: Likewise.
7893 * gdb.base/list.exp: Likewise.
7894 * gdb.base/watchpoint.exp: Likewise.
7895 * gdb.c++/demangle.exp: Likewise.
7896 * gdb.c++/inherit.exp: Likewise.
7897 * gdb.chill/chexp.exp: Likewise.
7898 * gdb.fortran/exprs.exp: Likewise.
7899
7900 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
7901 test if we can't handle IO to/from the inferior.
7902
7903 * gdb.c++/misc.exp: Always check for a program already being
7904 started after sending a "run" command to gdb.
7905
7906 * gdb.base/twice.exp: Start with a fresh gdb.
7907
7908 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
7909 only depend on gdb's expression code, not the chill runtime.
7910
7911 * gdb.base/return.c: Put return values into variables so we
7912 can have gdb print them rather than depending on the program
7913 to print them.
7914 * gdb.base/return.exp: Corresponding changes.
7915
7916 * lib/gdb.exp: Provide default value for noinferiorio.
7917 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
7918 the inferior.
7919
7920 * gdb.base/break.exp: Always check for a program already being
7921 started after sending a "run" command to gdb.
7922 (text_next_with_recursion): Don't check the output from the
7923 program's printf statement. Instead just make sure the program
7924 exited.
7925
7926 * gdb.base/commands.exp: Protect tests which need arguments with
7927 $noargs conditionals.
7928
7929Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7930
7931 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
7932 of structure member arrays to match gdb/valops.c:value_addr change.
7933
7934Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
7935
7936 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
7937 cases.
7938
7939Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
7940
7941 * configure.in (configdirs): Remove gdb.chill from default list
7942 of subdirs and then add it back in only if doing a native build.
7943 The current chill compiler does not yet work in any cross build.
7944 * Revert all signal changes from Jul 6.
7945 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
7946 for sh-hms targets, allowing these tests to link, with no other
7947 changes. Testing is suppressed by setting "nosignals" in site.exp.
7948
7949Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
7950
7951 * configure.in (signaldirs): Define and add to configdirs for all
7952 targets except some specific ones that are known to not support signals.
7953 Also clean up formatting.
7954 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
7955 (signals, sigall): Remove rules to build.
7956 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
7957 Moved to new gdb.signals directory.
7958 * gdb.signals: New test directory.
7959 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
7960 signals.c signals.exp}: New or moved files.
7961
7962Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
7963
7964 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
7965
7966Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
7967
7968 * gdb.base/return.exp: Xfail `return double' test failure
7969 on at least Solaris 2.3 and handle future/past versions on
7970 a case by case basis as appropriate. Also update message
7971 to include i*86 failures.
7972
7973Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7974
7975 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
7976
7977 * lib/gdb.exp: Fix comment which erroneously identified
7978 gdb_file_cmd as gdb_load (the 19 May change was in fact to
7979 gdb_file_cmd not gdb_load).
7980 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
7981
7982 * gdb.base/setvar.exp: Make test names consistent between pass and
7983 fail cases. Use gdb_test more.
7984
7985Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7986
7987 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
7988
7989Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7990
7991 * gdb.base/help.exp: Fix expected help string for `show commands'.
7992
7993Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
7994
7995 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
7996
7997 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
7998 of a text section.
7999
8000Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
8001
8002 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
8003 that loop eventually terminates. Fix Connection refused logic so
8004 that testsuite will expire nicely.
8005
8006Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
8007
8008 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
8009 config/rom68k.exp: New tcl glue for the appropriate monitors.
8010 These all just end up calling monitor.exp.
8011 * config/monitor.exp (gdb_target_monitor): Handle `Connection
8012 refused' by retrying. Cleanup some timeout issues.
8013 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
8014 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
8015 callers don't have to set/restore global timeout variable.
8016
8017 * The following set of changes centralizes management of the global
8018 timeout variable. This way, it can be set in one target dependent
8019 place instead of dozens of places scattered throughout the test suite.
8020 If you need to lengthen a timeout, then you should either set timeout
8021 in one of the config/{target}.exp files, or multiply it by a factor.
8022 Setting it to an absolute value is always going to lose for some
8023 targets.
8024 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
8025 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
8026 * gdb.base/funcargs.exp: Don't set timeout.
8027 * gdb.base/list.exp (test_forward_search): Only use local timeout.
8028 * gdb.base/printcmds.exp (test_print_string_constants
8029 test_print_array_constants): Don't set timeout.
8030 * gdb.base/ptype.exp: Don't set timeout.
8031 * gdb.base/recurse.exp: Don't set timeout.
8032 * gdb.base/return.exp: Don't set timeout.
8033 * gdb.base/watchpoint.exp: Don't set timeout.
8034 * gdb.c++/classes.exp (do_tests): Don't set timeout.
8035 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
8036
8037Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
8038
8039 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
8040
8041Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8042
8043 * lib/gdb.exp: Disable chill tests for irix5.
8044
8045Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8046
8047 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
8048 each test pass or fail.
8049
8050Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8051
8052 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
8053 xlc not gcc.
8054
8055Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
8056
8057 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
8058
8059Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
8060
8061 * config/est.exp: Fix copyright and comments. Remove dead code.
8062 Use targetname, serialport and baud variables instead of fixed
8063 constants.
8064 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
8065 * config/cpu32bug.exp: New file to support cpu32bug monitors.
8066
8067Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8068
8069 * gdb.base/watchpoint.exp: Don't run
8070 test_watchpoint_triggered_in_syscall for sunos.
8071
8072Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8073
8074 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
8075 they don't seem to exist. Do include stdio.h.
8076
8077Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8078
8079 * gdb.base/a1-selftest.exp: Add alpha xfail.
8080
8081Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8082
8083 * gdb.base/watchpoint.c (main): Prompt before calling read().
8084 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
8085 Revise accordingly. Remove cruft about sending "123" several
8086 times, until it gets noticed. Clean up the "print buf[0]" stuff
8087 so that it passes or fails, and waits for prompts in the usual way.
8088
8089Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8090
8091 * gdb.base/recurse.exp: Fix comment.
8092
8093 * TODO: Remove item about printing variables in nodebug.exp. Add
8094 item about enabling tests which are only run on some targets.
8095
8096 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
8097 fail, make test names unique, use new gdb_test convention
8098 regarding pattern, use gdb_test more, etc.).
8099
8100 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
8101 fail, make test names unique, etc.).
8102
8103Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8104
8105 * gdb.base/nodebug.c: Change return type of top and middle to
8106 short.
8107 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
8108 are fixed by the recent mdebugread.c changes. Allow `short ()'
8109 as type for top and middle.
8110
8111Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8112
8113 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
8114 nearly as I can tell, the whole thing was an accident in Stu's
8115 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
8116 to replace a send/expect pair with gdb_test, but ended up only
8117 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
8118 of 30 Mar 1995 took care of it, but left this vestigial comment
8119 which I am now nuking.
8120
8121Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8122
8123 * gdb.base/break.exp: Look for different line number for
8124 breakpoint at main depending on usestubs.
8125
8126Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8127
8128 * gdb.base/list.exp: Adjust some alternate expect patterns to
8129 match recent list0.c change. Add alternate expect pattern for
8130 output from `list default lines around main' for optimizing
8131 compilers.
8132
8133Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8134
8135 * lib/gdb.exp: If nosignals is not set, set it to 0.
8136
8137Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
8138
8139 * config/slite-gdb.exp: Responds to load symbol table prompt.
8140 * gdb.base/break.exp: Adjust line number, fix rerun.
8141 * gdb.base/langs0.c: Add #ifdef usestubs.
8142
8143Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
8144
8145 * gdb.base/list.exp: Adjust line contents after adding new lines in
8146 list0.c. Also fix a syntax error.
8147
8148 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
8149 * gdb.base/break.exp: ditto.
8150 * gdb.base/list.exp: ditto.
8151 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
8152 * gdb.base/run.c: ditto.
8153 * gdb.base/list0.c: ditto.
8154 * gdb.base/funcargs.c: ditto.
8155
8156Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
8157
8158 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
8159 $targetname, $serialport and $baud instead of hardwired variables.
8160 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
8161 target doesn't support signals.
8162
8163Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
8164
8165 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
8166
8167Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8168
8169 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
8170 Don't rely on the value of an auto variable before it has been
8171 initialized. Use gdb_test more.
8172
8173Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8174
8175 * lib/gdb.exp (default_gdb_version): A version number must start
8176 with a digit, but other than that contains all characters up to
8177 the first whitespace character.
8178
8179Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8180
8181 * gdb.base/commands.exp (breakpoint_command_test): New tests.
8182
8183Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8184
8185 * gdb.c++/*.exp: Warn if executable does not exist. The original
8186 reason for skipping the warning was that configure.in sometimes
8187 intentionally skipped building the executables but the tcl code
8188 had no way of knowing. That (a) was always bogus with respect to
8189 error handling, (b) is no longer true (right now there is no way
8190 to skip C++ tests).
8191
8192 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
8193
8194Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8195
8196 * gdb.base/list.exp: Add expect patterns for output from
8197 SunPRO compiled executables.
8198 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
8199 types.
8200
8201Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8202
8203 * gdb.base/break.exp (test_next_with_recursion): Accept any line
8204 number (we are already testing that the correct source line text
8205 gets printed).
8206
8207 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
8208 that is what is intended, but something needed to be done to get
8209 sunos4 native working again.
8210
8211 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
8212
8213 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
8214 apparently went with a (very) old xfail.
8215
8216Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
8217
8218 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
8219 runto_main is a proc in gdb.exp that will do 'step' for target use
8220 stubs.
8221 * gdb.base/exprs.exp: ditto.
8222 * gdb.base/interrupt.exp: ditto.
8223 * gdb.base/opaque.exp: ditto.
8224 * gdb.base/printcmds.exp: ditto.
8225 * gdb.base/ptype.exp: ditto.
8226 * gdb.base/scope.exp: ditto.
8227 * gdb.base/setvar.exp: ditto.
8228 * gdb.base/signals.exp: ditto.
8229 * gdb.base/twice.exp: ditto.
8230 * gdb.c++/classes.exp: ditto.
8231 * gdb.c++/inherit.exp: ditto.
8232 * gdb.c++/templates.exp: ditto.
8233 * gdb.base/break.exp: no run and hit main for stubs. Change line
8234 numbers for breakpoints and info breakpoint.
8235 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
8236 breakpoint().
8237 * gdb.base/callfuncs.c: ditto.
8238 * gdb.base/exprs: ditto.
8239 * gdb.base/interrupt.c: ditto.
8240 * gdb.base/opaque0.c: ditto.
8241 * gdb.base/printcmds.c: ditto.
8242 * gdb.base/ptype.c: ditto.
8243 * gdb.base/scope0.c: ditto.
8244 * gdb.base/setvar.c: ditto.
8245 * gdb.base/signals.c: ditto.
8246 * gdb.base/twice.c: ditto.
8247 * gdb.c++/misc.cc: ditto.
8248 * gdb.c++/templates.cc: ditto.
8249
8250Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8251
8252 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
8253
8254 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
8255 somewhere between `read' and `main.c'. I'm pretty sure the
8256 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
8257 and it isn't particularly useful.
8258
8259 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
8260
8261Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8262
8263 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
8264
8265Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
8266
8267 * config/mt-slite: add LIBS and -nostdlib.
8268 * config/slite-gdb.exp: add this new file to support sparclite target.
8269
8270Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
8271
8272 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
8273
8274 * gdb.base/a2-run.exp: Change argument to istarget from
8275 "*-*-vxworks" to "*-*-vxworks*".
8276 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
8277
8278Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
8279
8280 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
8281 will not runto main but do a 'step' to step out of breakpoint().
8282 * config/mt-slite: add -Dusestubs.
8283
8284Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8285
8286 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
8287 instead of just @.
8288
8289 * gdb.base/signals.exp: Add test for "handle all print".
8290 * TODO: Remove "handle all print". Also remove item about
8291 checking copyright date (I don't like the idea of a spurious FAIL
8292 based on when we run the tests).
8293
8294 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
8295 for SunOS4 (reason for failure not investigated). Remove
8296 redundant test for $binfile.
8297
8298 * gdb.base/nodebug.c (array_index): Call malloc.
8299
8300 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
8301
8302Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
8303
8304 * gdb.base/recurse.exp: Update gdb_test invocation to use new
8305 conventions and slightly simplify the matching regexp.
8306
8307Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8308
8309 * gdb.base/break.exp: Update gdb_test invocation to use new
8310 convention.
8311
8312 * lib/gdb.exp: If noargs is not set, set it to 0.
8313
8314 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
8315 tests unique.
8316
8317 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
8318
8319Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8320
8321 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
8322 one argument of type "<non-float parameter>".
8323
8324Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
8325
8326 * config/rom68k.exp: New file to support Motorola IDP board.
8327 * gdb.base/a2-run.exp: Skip this file if noargs is set.
8328 * gdb.base/break.c: Change things around so that this program
8329 doesn't depend upon args. This is necessary to make remote
8330 targets work (in general, they can't take args).
8331 * gdb.base/break.exp: Don't try to send args to program. Don't
8332 expect output. Also, replace lots of code with gdb_test.
8333
8334Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8335
8336 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
8337 printing of '\'' (which is what the comment says we are testing,
8338 even though we were not), not '''.
8339 (test_integer_literals_rejected): Test that printing ''' is an error.
8340
8341 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
8342 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
8343 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
8344 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
8345 Use gdb_test not test_print_accept.
8346 * lib/gdb.exp: Remove test_print_accept.
8347
8348 * gdb.base/signals.exp (signal_tests_1): Make pass message
8349 consistent with fail message.
8350
8351 * gdb.base/whatis.exp: Remove xfails for printing char vs.
8352 unsigned char; the bug (PR 1821) is fixed.
8353
8354 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
8355
8356 * gdb.base/scope.exp (test_at_localscopes): Call pass for
8357 successful tests--makes xfailing them work right.
8358
8359Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8360
8361 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
8362 only \r\n, not .*. The test can pass .* as the last thing in
8363 $pattern if that is what it wants. In addition to providing this
8364 flexibility, this change should speed up pattern matching in cases
8365 where the pattern already ended with .* (there were a number of
8366 them). This change also helps catch bad patterns--in the old
8367 scheme the typo "char \*" instead of "char \\*" would pass. Now
8368 it is caught.
8369 * Many .exp files: Update callers.
8370
8371 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
8372 clearer and does not spuriously match multiple ('s. Likewise for
8373 ) and *.
8374
8375 * gdb.base/nodebug.exp: Test ability to call a function and pass
8376 it a string (even with no debugging info).
8377
8378 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
8379 "p '\'", which is the same as "p ''" once tcl gets done with
8380 quoting, to "p '\\'", which I suspect is what is intended (one
8381 backslash gets sent to GDB).
8382
8383 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
8384
8385Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8386
8387 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
8388 1817) was fixed literally years ago.
8389
8390Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8391
8392 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
8393 test, it causes stepping out of call_after_alloca_subr with
8394 optimizing compilers.
8395 (localvars_in_indirect_call): Consume GDB prompt if `finish'
8396 fails.
8397
8398 * gdb.c++/templates.exp: Source templ-info.exp only if
8399 the templates executable exists.
8400
8401 * gdb.c++/misc.cc (class Contains_static_instance,
8402 class Contains_nested_static_instance),
8403 gdb.c++/classes.exp (test_static_members): Test printing of
8404 a class that contains a static instance of the class.
8405
8406Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8407
8408 * gdb.base/langs2.c (cppsub_): Don't prototype.
8409 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
8410 only, I believe).
8411
8412Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8413
8414 * lib/gdb.exp (skip_chill_tests): New procedure.
8415
8416 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
8417
8418Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
8419
8420 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
8421 each expect pattern. Cuts runtime from 12 to about 4 seconds.
8422
8423Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8424
8425 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
8426
8427 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
8428 disassemble 8, not 16, instructions for part 4.
8429
8430 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
8431 support the latter anymore.
8432
8433 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
8434 -DNO_PROTOTYPES.
8435 * gdb.base/callfuncs.c: Control use of prototypes based on
8436 NO_PROTOTYPES, not __STDC__.
8437 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
8438 t_float_values2 tests if prototypes in use.
8439
8440 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
8441 t_double_values): When checking differences against DELTA, check
8442 that difference is within the range (-DELTA,DELTA), not just
8443 (-infinity,DELTA).
8444
8445Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
8446
8447 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
8448 'file' command firts, then 'target', then 'load', this is due to gdb
8449 target set up.
8450 * config/mips-gdb.exp: Fix a couple regular exp bugs.
8451
8452Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
8453
8454 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
8455 FP load/store variants.
8456 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
8457
8458Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
8459
8460 * gdb.base/term.exp: Do not give a warning if not native, it is
8461 not an abnormal condition.
8462
8463Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
8464
8465 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
8466 t_char_array".
8467
8468Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
8469
8470 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
8471 are getting the version number.
8472
8473 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
8474 if not native, it is not an abnormal condition.
8475
8476Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8477
8478 * lib/gdb.exp: Just use "file exists", rather than undocumented
8479 dejagnu procedure "findfile".
8480
8481Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
8482
8483 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
8484 (LDFLAGS): Set to -Xlinker -Ur.
8485
8486 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
8487 Removed, these values are set by lib/gdb.exp.
8488
8489 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
8490
8491Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
8492
8493 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
8494 of replicating gdb startup code.
8495
8496 * config/mt-vxworks (LDFLAGS): Set to -r.
8497 (CFLAGS_FOR_TARGET): Removed.
8498
8499 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
8500 (gdb) and gdb for vxworks uses (vxgdb).
8501
8502 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
8503 executable is not in the tree and host != target, use sed and
8504 program_transform_name to determine the gdb name used by the
8505 target.
8506
8507 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
8508 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
8509
8510Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8511
8512 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
8513 floats, chars, and shorts where there are ANSI-style function
8514 definitions.
8515
8516 * gdb.base/langs.exp, gdb.base/langs*: New test.
8517 * gdb.base/Makefile.in: Build it.
8518 * TODO: Remove item about checking that C names don't get C++
8519 demangling applied; this test tests it.
8520
8521Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8522
8523 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
8524 went with the const70 xfail. The xfail went away a year ago.
8525
8526 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
8527
8528 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
8529 for hp300.
8530
8531 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
8532
8533 * gdb.base/a1-selftest.exp: Don't run on hp300.
8534
8535Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8536
8537 * Makefile.in (site.exp): Set host_alias and target_alias as well
8538 as host_triplet and target_triplet.
8539
8540Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8541
8542 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
8543
8544 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
8545 places as other ecoff systems).
8546
8547 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
8548 ultrix.
8549
8550Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8551
8552 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
8553 remove them.
8554 * gdb.base/nodebug.exp: Accept "function" in addition to "text
8555 variable and "variable" in addition to "data variable".
8556 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
8557
8558 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
8559 2.
8560 * gdb.base/list1.c (long_line): Add additional statement at start
8561 of function.
8562 * gdb.base/list.exp (test_forward_search): Update line number to
8563 reflect new statement.
8564
8565Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8566
8567 * gdb.base/signals.exp: Reinitialize searched source directories
8568 after gdb_start call.
8569
8570Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
8571
8572 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
8573 * gdb.stabs/Makefile.in: Likewise.
8574
8575 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
8576 change. Instead split the tests into smaller pieces.
8577 * gdb.disasm/hppa.s: Corresponding changes.
8578
8579Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8580
8581 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
8582 Quote ^C when passing it to stty. For some shells ^ is a pipe.
8583
8584 * gdb.base/funcargs.exp: Modify many tests so that every test
8585 either passes or fails. Make some test names unique.
8586
8587Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8588
8589 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
8590 Call stty to set interrupt character.
8591
8592 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
8593 for HP assembler versus GNU assembler based on actual behavior of
8594 $(CC), rather than assuming that $(AS) is always the GNU assembler.
8595
8596 * TODO: Suggest a few more stepping tests.
8597
8598Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
8599
8600 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
8601 restart GDB for h8300 after a continue.
8602 (return): Add pattern to match a29k-udi behavior.
8603 * gdb.base/nodebug.exp: Remove obsolete comment.
8604 * gdb.base/regs.exp: New file, testing of register displays.
8605 * gdb.base/return.exp: Fix typo in reference to $objdir.
8606 * gdb.base/whatis.exp: Always start with a fresh GDB.
8607
8608Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8609
8610 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
8611 higher, these tests generate a lot of output.
8612
8613Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8614
8615 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
8616 code following the catch silently ignored some errors; without the
8617 catch they should be thrown like any other tcl error. Also, the
8618 catch used "" instead of {} which meant all the callers who wanted
8619 to include one of the characters "[]$ had to quote it an extra time.
8620 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
8621 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
8622 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
8623 Remove extra quoting.
8624
8625Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
8626
8627 * gdb.base/commands.exp: Make test names unique; every test either
8628 passes or fails. Update some comments.
8629
8630 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
8631
8632Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8633
8634 The following fixes a FAIL caused by the fact that the alpha stabs
8635 configuration didn't use the ".if alpha" code in weird.def.
8636 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
8637 bit pointer, so the 32 bit version works even on the alpha.
8638 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
8639 Remove the stuff which allowed us to have separate versions for
8640 alpha and everything else.
8641
8642 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
8643 regexp which "info func operator\[\](" is supposed to match. Fix
8644 string to send to GDB. Note that GDB still doesn't work right. Add a
8645 new test for "info func .perator\[\](" which GDB does handle correctly.
8646
8647 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
8648
8649Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8650
8651 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
8652 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
8653 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
8654 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
8655 it makes the tests harder to understand and confuses test-o-matic.
8656 The preferred style is that each test provides a PASS or a FAIL,
8657 and has a unique message (e.g. "continue #54" not just "continue")
8658 which is the same for the pass and the fail.
8659 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
8660 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
8661 to lib/gdb.exp.
8662 * gdb.base/printcmds.exp: Use test_print_accept. Remove
8663 prt_accept which was basically the same thing. Likewise for
8664 test_print_reject and prt_reject.
8665 * lib/gdb.exp (test_print_reject): Add some more error message
8666 patterns to match from the former printcmds.exp (prt_reject).
8667 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
8668 One defect of the passcount stuff is that some of it failed to
8669 report XPASS where appropriate.
8670 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
8671 stuff before and after arg in expected pattern.
8672 (test_paddr_operator_functions): Re-do test without print_addr_of;
8673 this is the only test which seems to want extra stuff there.
8674
8675Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8676
8677 * gdb.base/nodebug.exp: Update new tests to reflect improved
8678 wording of gdb output.
8679
8680 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
8681 and "ptype" work on variables in files compiled without -g.
8682 Replaces commented out "maint print msymbol" tests.
8683
8684Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8685
8686 * gdb.base/setvar.c (dummy): Call malloc.
8687
8688 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
8689 losing with the irix4 sed.
8690
8691 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
8692 ALRM" on irix4.
8693
8694Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8695
8696 * TODO: Remove items about corefile.exp testing new exec-file and
8697 backtrace; both are now done. Add items about printing enums.
8698
8699Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8700
8701 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
8702 "get signal $thissig" test fails.
8703
8704 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
8705
8706Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8707
8708 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
8709 compiler warning with dec alpha compiler.
8710
8711 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
8712 extra \n from gdb_test call (this explains why the prompt test
8713 that I removed yesterday was there).
8714 (user_defined_command_test): Remove extra \n and prompt test.
8715
8716 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
8717 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
8718 doesn't exist.
8719 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
8720 Also remove alpha workaround, which turns out to be because
8721 SIGABRT == SIGLOST.
8722
8723 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
8724
8725 * gdb.base/help.exp: Don't test "help show".
8726
8727Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8728
8729 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
8730 "set print address" is on.
8731 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
8732 pass prompt to gdb_test; gdb_test already looks for the prompt.
8733
8734 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
8735
8736 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
8737 was a vestige of the manual TESTSTRATEGY, and the purpose of it
8738 was to make sure that gdb can read a core file. But (a) the "read
8739 the corefile" part didn't make it to a1-selftest.exp, we just
8740 delete the corefile after creating it, and (b) we test reading
8741 corefiles in corefile.exp anyway. Also, this test left around a
8742 xgdb process on Solaris.
8743
8744 * gdb.base/corefile.exp: Also test backtrace.
8745
8746Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
8747
8748 * gdb.base/commands.exp: Test a simple user defined command with
8749 arguments and if/while statements; verify the full user command is
8750 printed by "show user".
8751
8752 * gdb.base/commands.exp: Test if/while commands as part of a
8753 breakpoint command list; verify they appear in breakpoint
8754 information.
8755
8756Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8757
8758 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
8759 than by dividing by zero.
8760
8761Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
8762
8763 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
8764 performing an inferior call with watchpoints enabled.
8765 * gdb.base/watchpoint.c (main): Delete second unnecessary read
8766 call.
8767
8768Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8769
8770 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
8771 of "file" command.
8772
8773 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
8774 Add additional pattern for when "int operator int(void);" appears
8775 in a different order.
8776
8777Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8778
8779 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
8780
8781 * gdb.base/help.exp: Replace most of docstrings for "info signals"
8782 and "signal" with ".*".
8783
8784Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8785
8786 * TODO: Add note about "handle all nostop".
8787
8788 * gdb.base/{sigall.c, sigall.exp}: New test.
8789 * gdb.base/Makefile.in: Add it.
8790
8791Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
8792
8793 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
8794 when invoking GDB, suppresses any windowing interface.
8795
8796Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
8797
8798 * config/sim-gdb: New file, simulator testing support.
8799
8800Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
8801
8802 * gdb.base/interrupt.exp: Test calling func1 twice.
8803
8804Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
8805
8806 * gdb.base/list.exp (test_forward_search): Set timeout higher
8807 when we'll be getting lots of output from gdb.
8808
8809 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
8810 "init_malloc" to after the expect statement. Run it if that
8811 regexp is taken, but also for two others which happen if source
8812 cannot be found.
8813
8814Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8815
8816 * gdb.base/printcmds.exp: New test, for printing register before
8817 program is running.
8818
8819Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8820
8821 * gdb.base/list.exp: Correct some alternate expect patterns
8822 to reflect changes in list1.c.
8823
8824Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8825
8826 * TODO: Add item regarding large frames.
8827
8828 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
8829
8830 * TODO: Remove item about enabling return.exp; it
8831 is enabled. Suggest a few more "return" tests.
8832
8833Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8834
8835 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
8836 anonymous unions.
8837
8838Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8839
8840 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
8841 and pr-5646.o, so "make" is the same as "make all", not "make
8842 pr-4975.o".
8843
8844Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
8845
8846 * gdb.base/list.exp: Adjust expectations to reflect changes in
8847 list1.c.
8848 (test_forward_search): New test proc.
8849 * gdb.base/list1.c (long_line): New function, has long source line.
8850
8851Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
8852
8853 * gdb.base/a1-selftest.exp: Change initial stepping to know about
8854 additional line of code that was added.
8855
8856Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
8857
8858 * gdb.disasm/hppa.s: Break the large branching tests into smaller
8859 tests so as not to overflow expect's input buffers.
8860 * gdb.disasm/hppa.exp: Corresponding changes.
8861
8862Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8863
8864 Beginnings of template debugging tests.
8865 * gdb.c++/templ-info.cc: New file to test for template
8866 debugging capability of the compiler.
8867 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
8868 templ-info.cc.
8869 * gdb.c++/templates.cc: Add explicit template instantiations
8870 to enable compiling with -fno-implicit-templates. Add destructor
8871 and 'value' method to T5 class for template tests.
8872 * gdb.c++/templates.exp: Add testcases for printing of template
8873 types, setting breakpoints on template methods and calling a
beb998c6 8874 template method.
c906108c
SS
8875
8876Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
8877
8878 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
8879 branch target since some assemblers (gas-2.5) may emit a
8880 relocation for the branch instead of resolving it in the
8881 assembler.
8882
8883Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8884
8885 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
8886 through signal handler.
8887
8888Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8889
8890 * configure.in (*-*-netware): Use config/mt-netware.
8891
8892 * config/mt-netware: New file.
8893 * config/mt-i386-netware: Removed, separate configs for different
8894 netware architectures are no longer needed now that we have
8895 --with-headers.
8896
8897Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8898
8899 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
8900 by the recent changes to use ANSI C arithmetic conversions.
8901
8902Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8903
8904 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
8905 bug involving using inferior_pid to figure out whether to select a
8906 frame.
8907
8908Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
8909
8910 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
8911 match the current disassembler output.
8912
8913Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
8914
8915 * gdb.fortran/exprs.exp: Expect VOID instead of void.
8916 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
8917 types, expect "int" as type of integer values (for now).
8918
8919Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
8920
8921 * gdb.base/commands.exp: New tests for if/while commands.
8922
8923Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
8924
8925 * lib/gdb.exp (runto): Replace sub-pattern for hex value
8926 by .*, since hex values have different syntax in Chill mode.
8927
8928Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8929
8930 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
8931 linefeed from expect pattern for repeated types with indices > 9.
8932
8933Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
8934
8935 First part of Fortran test suite.
8936 * gdb.fortran: New directory.
8937 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
8938
8939Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8940
8941 * gdb.base/default.exp: Update expect pattern for load command
8942 without arguments.
8943
8944Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
8945
8946 * configure.in: Change i386 to i[345]86.
8947 * gdb.base/configure.in: Likewise.
8948 * gdb.c++/configure.in: Likewise.
8949 * gdb.chill/configure.in: Likewise.
8950
8951Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
8952
8953 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
8954 patterns, since that is not a valid context for comments.
8955
8956Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
8957
8958 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
8959 repeated types and repeated types with indices > 9.
8960
8961Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
8962
8963 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
8964 2417; old bug has been fixed.
8965
8966Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
8967
8968 * gdb.base/interrupt.exp: When trying to wake up the inferior,
8969 send the newline ourselves instead of assuming gdb_test will do
8970 so when passed an empty input string.
8971
8972 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
8973 stabs testcode.
8974
8975Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8976
8977 * lib/gdb.exp (gdb_test): Don't send anything if the first
8978 argument is an empty string. This makes cases where we want to
8979 match output that is already in expect's buffers (for example,
8980 matching a breakpoint after gdb_run_cmd has been called) work
8981 reliably.
8982
8983Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8984
8985 * config/netware.exp: New file.
8986
8987Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8988
8989 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
8990 the -B and -L prefixes so we can find the debugging stub.
8991
8992 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
8993 there and we are using the gcc from the tree.
8994
8995 * gdb.base/types.c: Removed.
8996
8997 * gdb.base/configure.in: Look for makefile fragments in ../config.
8998 Recognize i386-*-netware.
8999 * gdb.c++/configure.in: Likewise.
9000
9001Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9002
9003 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
9004 the correct TCL syntax.
9005
9006Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9007
9008 * gdb.base/opaque.exp: use runto instead of messing around with
9009 breakpoints. Simplify by using gdb_test.
9010
9011 * gdb.base/bitfields.exp: restart between tests on netware targets
9012 because breakpoints aren't relocated after target death. Run
9013 processes to completion.
9014
9015 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
9016
9017Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
9018
9019 * Makefile.in: Remove extra tabs that confuse some versions
9020 of "make". Use the newly built gdb to test with by default,
9021 rather than the first one in the tester's search path.
9022
9023Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
9024
9025 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
9026
9027 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
9028 condition help.
9029
9030Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9031
9032 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
9033
9034 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
9035 running.
9036 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
9037 * gdb.base/funcargs.exp: Likewise.
9038
9039 * gdb.base/bitfields.exp: Simplify by using gdb_test.
9040 * gdb.base/funcargs.exp: Likewise.
9041
9042 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
9043 message is "".
9044
9045Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9046
9047 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
9048 return,signals,twice}.exp: Handle non-existant binaries
9049 consistantly.
9050
9051 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
9052 * gdb.base/Makefile.in: Don't try to generate a core dump, we
9053 might testing a cross development system.
9054
9055Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9056
9057 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
9058 runtest script is relative to ${srcdir}, not ${rootdir}.
9059
9060Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
9061
9062 * gdb.base/signals.exp: Allow for optionality of breakpoint
9063 address.
9064
9065Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9066
9067 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
9068
9069Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9070
9071 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
9072 for size_t definition.
9073 * gdb.c++/templates.cc: Likewise
9074
9075 * config/mt-i386-netware: New file.
9076
9077 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
9078 defined.
9079
9080 * gdb.base/Makefile.in: Added support for systems that name core
9081 files by appending "core" to the program name.
9082 * gdb.base/a1-selftest.exp: Likewise.
9083
9084Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9085
9086 * gdb.base/return.exp: Add comment and message for `return double'
9087 test failure on Sparc Solaris.
9088
9089Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
9090
9091 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
9092
9093Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9094
9095 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
9096 from optimizing them away.
9097 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
9098 patterns to include default constructors and assignment operators,
9099 to match gcc versions beyond 2.5.8. Accept any cplus demangling
9100 character in the output of the virtual base pointer.
9101
9102Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9103
9104 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
9105 expression match in print_addr_of to avoid unintented matches.
9106 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
9107 versions up to 2.5.8.
9108
9109Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9110
9111 * gdb.base/list.exp: Tweak alternate pattern for listing of an
9112 included file to run under newer versions of expect.
9113 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
9114 consecutive >'s in templates to accomodate recent cplus-dem.c change.
9115 Remove xfail for the virtual table of BDDHookV.
9116
9117Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
9118
9119 * lib/gdb.exp (string_to_regexp): Set a default result.
9120 (default_gdb_start): Fix misleading message.
9121
9122Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
9123
9124 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
9125 Remove all CC, etc definitions.
9126 * config/mt-hpux: New file.
9127 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
9128 (CFLAGS, LDFLAGS): Define.
9129 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
9130
9131 * Makefile.in (site.exp): Don't insert host_os, etc.
9132 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
9133 (distclean): Check existence of subdir.
9134 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
9135 * gdb.base/Makefile.in: General cleanup and simplification.
9136 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
9137 to build executables. Use default rule to build .o files.
9138 (EXPECT, RUNTEST, CC): Fix relative pathname.
9139 (site.exp): Don't insert host_os, etc.
9140 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
9141 and/or SIGUSR1 defined.
9142 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
9143 * gdb.c++/Makefile.in: General cleanup and simplification.
9144 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
9145 (CFLAGS): Remove.
9146 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
9147
9148Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
9149
9150 * gdb.base/recurse.exp: Misc changes to get tests running again
9151 after Kung's changes to the watchpoint code.
9152 * gdb.base/watchpoint.exp: Likewise.
9153
9154Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
9155
9156 * lib/gdb.exp (string_to_regexp): Convert {\} also.
9157
9158Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
9159
9160 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
9161 * lib/gdb.exp (default_gdb_start): Define.
9162 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
9163 gdb.base/funcargs.exp, gdb.base/opaque.exp,
9164 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
9165 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
9166 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
9167 Don't call gdb_target_udi in between tests.
9168
9169Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9170
9171 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
9172 (which was basically just a local version of the same thing). In
9173 addition to avoiding duplication, gdb_test_exact is faster.
9174 * lib/gdb.exp (gdb_test_exact): Fix typo.
9175
9176 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
9177 don't give an error.
9178
9179 * gdb.base/term.exp: Call delete_breakpoints before starting.
9180
9181 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
9182 (t10): Add comment.
9183
9184Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
9185
9186 Reorganization of the GDB Test Suite.
9187
9188 * gdb.base: New directory, contains all the basic tests.
9189 * gdb.c++: New directory, tests specific to C++.
9190 * gdb.chill: New directory, tests specific to Chill.
9191 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
9192 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
9193 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
9194 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
9195 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
9196 t30-31 to chill).
9197 * */gdbme.*: Rename to match appropriate expect scripts.
9198 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
9199 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
9200 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
9201 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
9202 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
9203 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
9204 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
9205 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
9206 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
9207 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
9208 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
9209 gdb.c++/virtfunc.cc: New names of C++ files.
9210 * gdb.chill/chillvars.ch: New name of Chill file.
9211 * gdb.base/configure.in, gdb.c++/configure.in,
9212 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
9213 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
9214 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
9215 * configure.in (configdirs): Update to reflect directory changes.
9216 (target_abbrev): No longer define for any configuration.
9217 * Makefile.in: Cosmetic improvements to header comments.
9218
9219Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
9220
9221 Various changes to gdb.t31:
9222
9223 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
9224 * gdbme.ch: Make all key-words and predefineds be upper-case.
9225 * chillvars.exp: Expect key-words and predefinds in upper-case.
9226
9227 * chillvars.exp: Use gdb_test_exact many places.
9228 Change expected output for arrays (which now includes index labels).
9229
9230 * pr-5020.exp, gdme.ch (module PR_5020):
9231 New test, for PR-5020.
9232
9233Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
9234
9235 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
9236 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
9237
9238Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
9239
9240 * Makefile.in: Fix bit-rot in definitions of CHILL,
9241 CHILL_FOR_TARGET and Chill_LIB.
9242 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
9243 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
9244 CHILL, and CHILL_LIB.
9245
9246Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
9247
9248 * Revert the previous changes. Please see Rob's directory
9249 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
9250
9251Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
9252
9253 * Makefile.in, configure.in, config/mips-gdb.exp,
9254 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
9255 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
9256 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
9257 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
9258 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
9259 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
9260 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
9261 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
9262 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
9263 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
9264 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
9265 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
9266 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
9267 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
9268 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
9269 changes from 94Q1.
9270
9271Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
9272
9273 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
9274 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
9275 Rob's new testing fragments.
9276
9277Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
9278
9279 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
9280 lib/gdb.exp: Replace error proc calls with perror.
9281
9282Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
9283
9284 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
9285 version also, match on casted version strings, and match on
9286 gdb startup case where the line numbers might be messed up.
9287
9288Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
9289
9290 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
9291 (CFLAGS): Delete it from here.
9292
9293Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
9294
9295 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
9296
9297Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
9298
9299 * Makefile.in (RUNTEST): Default to just "runtest".
9300
9301Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9302
9303 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
9304 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
9305 the code has been restructured.
9306
9307Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9308
9309 * gdb.t00/default.exp (set write): Allow any number of \r and/or
9310 \n, not just one of each.
9311
9312 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
9313 /bin/cc gives a warning if you do.
9314
9315Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
9316
beb998c6 9317 * gdb.t24/demangle.exp: change expect pattern of
c906108c
SS
9318 __t10ListS_link1ZUiRCUiPT0
9319
9320Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9321
9322 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
9323 on local variables in recursive functions.
9324
9325 * gdb.t07/Makefile.in: Build the new test.
9326
9327Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9328
9329 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
9330 directly. Instead compare the return values from actual calls.
9331
9332Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
9333
9334 * Makefile.in (check): Set TCL_LIBRARY for runtest.
9335
9336Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9337
9338 * From Peter Schauer with minor modifications.
9339 * gdb.t15/return.exp (return_tests): Handle targets where "return"
9340 stops in mid-line in the caller. Add xfail for returning a float
9341 value on X86 targets.
9342
9343Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9344
9345 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
9346 to avoid expect lossage.
9347 (fmem_LRbug_tests): Likewise.
9348 * gdb.disasm/hppa.s: Corresponding changes.
9349
9350 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
9351 conditions to work with latest dejagnu/expect.
9352
9353 * gdb.t15/funcargs.exp (finish from indirect call): No longer
9354 expected to fail on the PA.
9355 (backtrace in call with trampolines): Explicitly require main
9356 to be frame #1 (no trampolines should show up in backtrace).
9357
9358 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
9359 "continue -expect".
9360 * gdb.t06/break.exp: Likewise.
9361 * gdb.t07/watchpoint.exp: Likewise.
9362 * gdb.t13/bitfields.exp: Likewise.
9363 * gdb.t15/{funcargs,return}.exp: Likewise.
9364 * gdb.stabs/weird.exp: Likewise.
9365 * config/{mips,udi}-gdb.exp: Likewise.
9366
9367 * hppa.sed: Enclose comments within a sed command to avoid
9368 losing with the old OSF1 sed.
9369
9370Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9371
9372 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
9373 sequent dynix.
9374 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
9375 * gdb.t15/funcargs.exp: Conditionally step again to really
9376 finish from marker_call_with_trampolines. Handle the case where
9377 the first step from within call_with_trampolines already steps
9378 us back to main.
9379 * gdb.t15/gdbme.c: Add comment to closing brace of
9380 call_with_trampolines for funcargs.exp.
9381
9382Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9383
beb998c6 9384 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
c906108c
SS
9385 Fix typo(s).
9386
9387Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9388
9389 * gdb.t07/gdbme.c: More code for watchpoint testing.
9390
9391 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
9392 "Hardware watchpoint" throughout file.
9393 (test_watchpoint_triggered_in_syscall): New test.
9394 (test_complex_watchpoint): New test.
9395
9396Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9397
9398 * gdbme.c (call_with_trampolines): New function to try and step
9399 into. Tests trampoline problems on the PA.
9400
9401 * funcargs.exp (localvars_in_indirect_call): No longer expect
9402 stepping into indirect call to fail on PAs.
9403 (test_stepping_over_trampolines): New test.
9404
9405Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9406
9407 * TODO: Add suggestions for static member function tests, and
9408 completion tests.
9409
9410Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9411
9412 * TODO: Add suggestions for "p/a" tests.
9413
9414 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
9415 (default_gdb_exit): Replace all the hair with sending "quit" to
9416 the process with a simple close.
9417
9418Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9419
9420 * TODO: Add suggestions for shared library tests.
9421
9422Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9423
9424 * TODO: Add suggestions for x/s tests.
9425
9426Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9427
9428 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
9429 "enable once", and "enable breakpoints once" with ".*".
9430
9431Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9432
9433 * TODO: Add suggestions about structure passing tests.
9434
9435Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9436
9437 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
9438 the primary1 test, use work around if __GNUC__ < 2.
9439 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
9440 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
9441 Test for bad output rather than waiting for timeout. Issue
9442 second continue only if first continue failed.
9443
9444Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
9445
9446 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
9447 operator[] test with gdb_test because the old code didn't seem to
9448 be getting the quoting right with the new dejagnu.
9449
9450Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
9451
9452 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
9453 one from the path.
9454 * Makefile.in: Use a fresh expect if there is one, use runtest
9455 from the src tree if there is one.
beb998c6 9456
c906108c
SS
9457Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
9458
9459 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
9460 next over recursive call. Revise the tests from that point on
9461 (which had been skipped) to match GDB's actual (correct) output.
9462
9463 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
9464 with next over a breakpoint whose condition is false.
9465
9466 * gdb.t00/help.exp: Comment out "help set print" tests just like
9467 (and for same reason as) "help set" test.
9468
9469Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9470
9471 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
9472 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
9473
9474Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9475
9476 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
9477 necessary gdb_target_udi.
9478
9479 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
9480
9481 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
9482 1838 and 2417; they are fixed.
9483
9484 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
9485 gdb.t03/ptype.exp (ptype structure, ptype union):
9486 Remove xfails; the test is looser than when the xfails were added.
9487
9488 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
9489 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
9490
9491 * gdb.t01/run.exp: Only run shell test if isnative.
9492
9493 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
9494 since "run" automatically loads if necessary. Call gdb_target_udi
9495 after the "file" since "file" kills any execution target.
9496
9497 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
9498 GDB. GDB doesn't work that way (not anymore at least) on UDI.
9499 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
9500 argument for UDI.
9501
9502Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
9503
9504 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
9505
9506 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
9507
9508Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9509
9510 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
9511 properly quoting regexps. This makes the second argument to
9512 demangle a fixed string, which matches the callers, instead of a
9513 shell-style pattern which is what the previous implementation
9514 used. Update some of the callers.
9515
9516Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9517
9518 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
9519 (comib_nullified_tests): Fix typo.
9520 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
9521 strings. No longer expected to fail.
9522
9523 * gdb.disasm/hppa.s (addib_tests): Fix typo.
9524 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
9525 strings. No longer expected to fail.
9526
9527 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
9528 string. No longer expected to fail.
9529
9530Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9531
9532 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
9533 No longer expected to fail.
9534
9535 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
9536 string. No longer expected to fail.
9537
9538Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9539
9540 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
9541 only in the names (I probably got most of them). I was even
9542 generous with some which differed in underscores in names, and
9543 probably missed a few, and I *still* was able to remove almost a
9544 third of the file with almost no impact on testsuite coverage.
9545
9546Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9547
9548 * gdb.t00/default.exp: Match udi_attach error message as well as
9549 the one from child_attach.
9550
9551 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
9552
9553 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
9554
9555 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
9556 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
9557
9558 * Move test with enums and partial symbols back to
9559 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
9560 Reverts the change of 26 May 93. Per today's change to
9561 stabs.texinfo, the behavior that weird.exp was expecting was
9562 unreasonable; what is important is that the compiler+gdb get
9563 things right, which happens with a recent gcc. Also fix the test
9564 to deal with native compilers which put out the stab gdb can't
9565 deal with.
9566
9567Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9568
9569 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
9570 in the names. The main thing these accomplish is to slow things down.
9571 Many more such duplicates surely remain.
9572
9573 * gdb.t00/help.exp: Comment out "help support" test just like
9574 (and for same reason as) "help set" test.
9575
9576Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
9577
9578 * gdb.t06/break.exp: Remove setup_xfails for
9579 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
9580 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
9581 about known bug in gcc to include up through 2.5.8.
9582 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
9583 well as "_vb$".
9584 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
9585 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
9586 with latest gcc and gdb.
9587 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
9588 well as "_vb$".
9589
9590Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9591
9592 * configure.in (hppa*-*-*): Also configure and build stabs-only
9593 tests.
9594
9595Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9596
9597 * gdb.t10/hppa.mt: A makefile fragment for the PA.
9598 * gdb.t10/configure.in (hppa*-*-*): Use it.
9599
9600Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9601
9602 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
9603
9604Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9605
9606 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
9607 versions prior to 1.13.5.
9608
9609Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9610
9611 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
9612 the prompt is at the start of a line.
9613
9614Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9615
9616 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
9617 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
9618 in the copr tests now.
9619 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
9620 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
9621 expected to fail.
9622
9623Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
9624
9625 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
9626 gdb.t31/chillvars.exp, lib/gdb.exp:
9627 Tweak to run under either version of expect.
9628 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
9629 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
9630 * gdb.t11/list.exp: Remove extraneous whitespace.
9631
9632Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9633
9634 * gdb.t16/printcmds.exp (test_print_strings): Accept
9635 "(unsigned char *) " before the string.
9636
9637 * TODO: Add notes about printing of fancy types and GDB expressions.
9638
9639Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
9640
9641 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
9642 * gdb.t06/configure.in: Don't try to compile signals test program
beb998c6 9643 if doing mips-idt-ecoff.
c906108c
SS
9644
9645Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
9646
9647 * Most .exp files: Tweak to run under either version of expect.
9648
9649Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9650
9651 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
9652 xfails; I'm not sure why they are failing, but not because of PR 1806.
9653
9654Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
9655
9656 * config/unix-gdb.exp: Remove gdb_unload cause it's already
9657 defined in lib/gdb.exp.
9658
9659Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9660
9661 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
9662 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
9663 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
9664 have to be typeless.
9665
9666Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9667
9668 * TODO: Add suggestion for copyright year test.
9669
9670Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
9671
9672 * configure.in (*-*-lynxos*): Add stabs tests.
9673
9674Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
9675
9676 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
9677 so insert a tab before any assembler directive in column zero.
9678
9679 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
9680 stores.
9681 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
9682 stores.
9683 (fpu_short_memory_tests): Likewise.
9684
9685Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9686
9687 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
9688 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
9689 .stabs directives in comments.
9690
9691Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9692
9693 * TODO: New file, describing tests we could write.
9694 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
9695
9696Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9697
9698 * gdb.t06/signals.exp: Add kludge to force re-sync.
9699
9700 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
9701 to xgdb instead of gdb, get out of gdb.
9702
9703Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
9704
9705 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
9706 for info.
9707
9708Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
9709
9710 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
9711 * gdb.stabs/configure.in (hppa*-*-*): Use it.
9712 * gdb.stabs/hppa.sed: New sed script for the PA.
9713
9714Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9715
9716 * gdb.stabs: Re-write weird.def and configuration to use sed
9717 instead of cpp. sed is portable and POSIX; cpp is neither.
9718
9719Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9720
9721 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
9722
9723Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9724
9725 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
9726
9727Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9728
9729 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
9730 "_vb$".
9731 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
9732 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
9733
9734Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9735
9736 * lib/gdb.exp: Comment out code which depends on non-existent
9737 `transform' procedure.
9738
9739Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
9740
9741 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
9742 * lib/gdb.exp: Transform tool name.
9743 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
9744 1.1's new error handling system.
9745
9746Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9747
9748 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
9749
9750Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9751
9752 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
9753 They made pattern matching so slow that timeouts happened on
9754 heavily loaded systems. Now any output from "show print" which
9755 gets us back to the GDB prompt is a PASS.
9756
9757Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
9758
9759 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
9760
9761Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9762
9763 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
9764
9765 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
9766 It is not from PR 3220.
9767
9768Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9769
9770 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
9771 just started failing because they depended on the order the
9772 subcommands are presented, or exact docstring text. This kind of
9773 test is a pain and has minimal benefit.
9774
9775Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9776
9777 * gdb.t09/corefile.exp: At end of test, use "core" command with
9778 no arguments.
9779
9780Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
9781
9782 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
9783 17}/Makefile.in: Make it possible to run the testsuite with Sun
9784 make and CC = cross gcc by adding explicit build rules for .o
9785 files.
9786
9787Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9788
9789 * gdb.t15/funcargs.exp: Don't put comments on same line as
9790 setup_xfail (@#$*%& tcl braindamage!).
beb998c6 9791
c906108c
SS
9792Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9793
9794 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
9795
9796Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
9797
9798 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
9799 * gdb.t20/inherit.exp: remove three dumplicate entries.
9800
9801Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9802
9803 * gdb.t06/break.exp: For "next over recursive call", fail on any
9804 incorrect output, not just on "factorial (value=2)".
9805
9806Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9807
9808 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
9809 working now. Add an xfail if accesing a bss variable causes
9810 a memory error if the target is not yet run.
9811
9812Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9813
9814 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
9815 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
9816 name of __st* demangling (2 strings). Did Kung really get the
9817 more than 95 others right without testing them?
9818
9819Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
9820
9821 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
9822
9823Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
9824
9825 * configure.in (configdirs): Add gdb.disasm
9826 * gdb.disasm: New directory for GDB disassembler tests.
9827 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
9828
9829Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9830
9831 * gdb.t00/help.exp: Don't test "help set".
9832
9833 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
9834 from within expect statements. None of these happen anymore and
9835 they cause regressions to be silently unnoticed.
9836
9837 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
9838 messages) about known failures with gcc cygnus-2.4.5-930417.
9839
9840 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
9841 comp-info.exp so it gets built if it doesn't exist.
9842
9843 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
9844 it is no longer used.
9845 * gdb.t13/comp-info.c: Removed.
9846
9847Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
9848
9849 * gdb.t06/signals.exp: Add xfail for sun3.
9850
9851Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9852
9853 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
9854 relevant because ^C doesn't get sent but failure can be reproduced
9855 interactively).
9856
9857Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9858
9859 * gdb.stabs/alpha.mt: New configuration file for alpha.
9860 * gdb.stabs/configure.in: Use it.
9861 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
9862 sharing with alpha.mt, redefine long to word via preprocessor.
9863 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
9864 for alpha.
9865 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
9866 native cc.
9867 * gdb.t00/teststrategy.exp: Change expect string so that we
9868 consume the `(xgdb)' from the command echo and from the gdb prompt.
9869 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
9870 gdb currently compares all values as long, so this failure probably
9871 applies to any configuration where LONGEST is bigger than a target int.
9872 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
9873 with gcc.
9874 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
9875 to handle opaque pointers, gcc is.
9876 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
9877 as first argument. Include <sys/types.h> and change all operator
9878 new definitions to use size_t.
9879 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
9880 now that we use size_t.
9881
9882Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9883
9884 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
9885 a long or float array cast all array members to the same type.
9886 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
9887 with 64 bit longs.
9888 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
9889 on alpha.
9890 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
9891
9892Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9893
9894 * gdb.t24 (demangle.exp): Constructors of templates have names like
9895 vector<int>::vector(int) not vector<int>::vector<int>(int). See
9896 section 14.6 of the ARM.
9897
9898 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
9899 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
9900 accomplish little and slow down the testsuite.
9901
9902 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
9903 Accept spaces various places.
9904
9905Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9906
9907 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
9908 with watchpoint enabled.
9909
9910 * Makefile.in: Remove definition of CC and remove the second
9911 definition of CXX (the "CXX = gcc" one remains). These definitions
9912 were causing backquotes to be expanded within backquotes, which
9913 doesn't work.
9914
9915Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
9916
9917 * gdb.t17/callfuncs.exp: Add "return 0" to end.
9918
9919Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9920
9921 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
9922 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
9923 by mips cc and contains no stabs entries.
9924
9925Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
9926
9927 * config/vx-gdb.exp: Use fake device to load files rather than
9928 NFS.
9929 * lib/gdb.exp: New proc to do "file" command.
9930 * config/unix-gdb.exp: Use new "file" proc.
9931
9932Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
9933
9934 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
9935 Rework board rebooting slightly.
9936 (gdb_exit): Don't exit from the remote shell; there isn't one.
9937 * gdb.stabs/weird.exp: If a program is being debugged already,
9938 kill it.
9939 * gdb.t04/setvar.exp: Stop and restart gdb.
9940 * gdb.t05/expr.exp: Likewise.
9941 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
9942 restart gdb and reload the program.
9943 * gdb.t08/opaque.exp: Likewise.
9944 * gdb.t12/scope.exp: Likewise.
9945 * gdb.t13/bitfields.exp: Likewise.
9946 * gdb.t15/funcargs.exp: Likewise.
9947 * gdb.t20/classes.exp: Likewise.
9948 * gdb.t03/ptype.exp: Increase timeout.
9949 * gdb.t16/printcmds.exp (test_print_string_constants,
9950 test_print_array_constants): Likewise.
9951 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
9952 * gdb.t20/classes.exp (do_tests): Likewise.
9953 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
9954
9955Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
9956
9957 * gdb.stabs: Renamed *wierd* to *weird*.
9958
9959Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
9960
9961 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
9962 for timeout. Add "known gcc 2.4.5 bug" to failure message.
9963
9964Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
9965
9966 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
9967 (do_tests): Remove xfail for whatis on one_var and two_var.
9968
9969Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
9970
9971 * Makefile.in: Made cross building work better by adding
9972 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
9973
9974Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9975
9976 * gdb.t15/{return.c,return.exp,Makefile.in}:
9977 New test, currently commented out.
9978
9979Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
9980
9981 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
9982 still running and removes the leftover named socket so GDb can do
9983 clean restarts.
9984
9985Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
9986
9987 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
9988 console, not GDB.
9989 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
9990 cross testing works better with "make check"
9991 * config/unix-gdb: Use default procedures for exit and version.
9992 * config/vx-gdb.exp: Cleaned up and massaged back to working order
9993 with the newest VxWorks.
9994
9995Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9996
9997 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
9998 old form.
9999
10000 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
10001 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
10002
10003 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
10004
10005 * config/unix-gdb.exp: Remove this version of gdb_exit
10006 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
10007 Rob says he'll look at it when he gets back to testing boards.
10008
10009Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
10010
10011 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
10012 an expected fail for certain ptype commands.
10013
10014 * gdb.t20/classes.exp: Update expected results of "ptype class
10015 Base1" to account for the constructor that now appears in the type.
10016
10017Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
10018
10019 * configure.in (configdirs): Restore gdb.t04, which mysteriously
10020 disappeared from list.
10021 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
10022 "alldone" proc with call to cleanup and exit.
10023 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
10024 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
10025 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
10026 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
10027 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
10028 "alldone" proc with simple returns that suppress remaining
10029 tests. The alldone proc went away many months ago.
10030
10031Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10032
10033 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
10034
10035 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
10036
10037Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10038
10039 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
10040 as vax gdb will display them.
10041
10042Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10043
10044 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
10045 optimizers.
10046
10047 * scope.exp: Change "bad value for localval" messages so each one
10048 is unique.
10049
10050 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
10051 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
10052
10053 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
10054
10055Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10056
10057 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
10058 doesn't exist (due to optimization).
10059
10060Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10061
10062 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
10063 contains \r because the filename is long.
10064
10065 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
10066 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
10067
10068Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10069
10070 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
10071 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
10072 Ultrix.
10073 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
10074 int tests.
10075 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
10076
10077Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
10078
10079 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
10080
10081 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
beb998c6 10082 to match does not match the passing case but still matches the
c906108c
SS
10083 failing case.
10084
10085Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10086
10087 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
10088
10089Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
10090
10091 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
10092 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
10093 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
10094 Remove various versions of gdb_exit.
10095 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
10096 gdb_exit.
10097 * config/unix-gdb.exp: gdb_exit remains here, and should override
10098 the generic version, since it's doing a lot of wierd stuff that
10099 the other versions aren't. FIXME, fold it in, or abandon this
10100 version.
10101
10102Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10103
10104 * gdb.t24/demangle.exp: Add tests for PR 3220.
10105
10106Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10107
10108 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
10109
10110Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
10111
10112 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
10113 "i386-*-*". Works for i486 as well.
10114
10115 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
10116 bug, and expand domain of xfail to all SVR4 systems, since the
10117 actual problem is likely to be in generic SVR4 /proc support.
10118
10119Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10120
10121 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
10122
10123Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
10124
10125 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
10126 xfails for other systems. Match a missing 'Continuing.' as an
10127 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
10128
10129 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
10130 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
10131 Only issue warning for missing executables if -all option is used.
10132
10133 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
10134 file if -all option is used. It's like an unpredictable XFAIL.
10135
10136Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10137
10138 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
10139 for dynamically linked binaries.
10140
10141 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
10142
10143Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10144
10145 * gdb.t20/inherit.exp: Change message for "print tagless struct"
10146 to state that this is a known bug in old versions of g++.
10147
10148Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10149
10150 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
10151 while waiting for `Continuing'.
10152
10153Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
10154
10155 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
10156 in text, data, and bss.
10157 * gdb.t10/nodebug.c: Add local and global test variables for
10158 initialized and uninitialized data.
10159
10160Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10161
10162 * config/unix-gdb.exp (gdb_exit): Add "wait".
10163
10164Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10165
10166 * gdb.t06/signals.exp: xfail the continue from the handler for all
10167 targets.
10168
10169 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
10170 function with watchpoints enabled, the i386 call dummy starts with
10171 a call.
10172
10173 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
10174 386 bsd names its corefiles.
10175
10176Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
10177
10178 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
10179 compilers don't grok it.
10180 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
10181 with small octal ints rather than character constants, which
10182 are signed and might not fit if first promoted to int.
10183
10184Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
10185
10186 * gdb.t09/Makefile.in (clean): Remove corefile.
10187
10188Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10189
10190 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
10191
10192Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10193 and Jim Kingdon (kingdon@cygnus.com)
10194
10195 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
10196 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
10197 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
10198
10199Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10200
10201 * gdb.t17/interrupt.exp: Add xfail for hppa.
10202
10203Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10204
10205 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
10206 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
10207 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
10208 to determine signed-ness of bitfields and use the result to setup
10209 the xfail.
10210 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
10211 * gdb.t15/funcargs.exp: Use them to step until the second indirect
10212 call line is reached if necessary.
10213
10214Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10215
10216 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
10217
10218Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10219
10220 * gdb.t06/break.exp: Also test `clear' command.
10221
10222Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
10223
10224 * gdb.t00/teststrategy.exp: Remove extra quote.
10225
10226 * gdb.t07/watchpoint.exp: Change xfail for calling function with
10227 watchpoint enabled to be for all non-68k machines.
10228
10229 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
10230
10231Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10232
10233 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
10234 targets use aout.mt instead of ecoff.mt as gas understands
10235 standard aout format.
10236
10237Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
10238
10239 * lib/gdb.exp (runto): Don't insist that function we are running to
10240 was compiled with -g.
10241
10242 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
10243
10244 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
10245 to get back into the read system call.
10246 Accept leading newline in case where we woke it up.
10247
10248Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10249
10250 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
10251 to make the stabs test work on ecoff systems using gcc and -with-stabs.
10252 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
10253 enable ecoff configuration.
10254
10255Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10256
10257 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
10258
10259Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10260
10261 * gdb.t16/printcmds.exp: Add another printf test.
10262
10263Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
10264
10265 * configure.in: If configured -with-stabs on any target, add
10266 stabsdirs to configdirs.
10267
10268Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10269
10270 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
10271 fun" so pattern does not match the command itself.
10272
10273Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10274
10275 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
10276
10277Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10278
10279 * gdb.t17/interrupt.exp: Test for more things.
10280
10281Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10282
10283 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
10284 compiler arranges the code and line numbers.
10285
10286 * gdb.t17/interrupt.exp: Don't send \n after ^C.
10287
10288Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10289
10290 * gdb.t00/help.exp: Increase expect input buffer size.
10291
10292Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10293
10294 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
10295
10296 * gdb.t07/watchpoint.exp: Add xfail for hppa.
10297
10298 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
10299
10300 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
10301 [0-9]*, not just [0-9].
10302
10303Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10304
10305 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
10306
10307 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
10308
10309Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10310
10311 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
10312
10313Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10314
10315 * gdb.t06/signals.c: Add xfails for sun3.
10316
10317 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
10318
10319 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
10320 test_stepping tests.
10321
10322Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10323
10324 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
10325
10326 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
10327
10328 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
10329 rather than actually putting it through cpp twice.
10330
10331 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
10332
10333Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
10334
10335 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
10336 no longer needed.
10337
10338Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10339
10340 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
10341
10342 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
10343 C++ features prints as "struct", make it a pass, not an xfail.
10344
10345Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10346
10347 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
10348 Don't require VA to print as "class" rather than "struct".
10349
10350Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
10351
10352 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
10353
10354Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10355
10356 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
10357
10358Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10359
10360 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
10361 order.
10362
10363Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10364
10365 * gdb.t16/printcmds.exp: Add printf tests.
10366
10367 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
10368
10369 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
10370
10371Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
10372
10373 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
10374 pass counts, to counteract any existing or future setup_xfails.
10375
10376Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10377
10378 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
10379 {BEGIN,END}_COMMON for common block instead of STAB.
10380 * gdb.stabs/wierd.exp: Add xfail for rs6000.
10381
10382 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
10383 intp_var should be N_GSYM not N_LSYM.
10384 wierd-aout.S: Use a label for the value of the N_SO.
10385 wierd.def: Remove all backslashes.
10386 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
10387
10388Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10389
10390 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
10391 get the expected next to inheritance3.
10392
10393Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10394
10395 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
10396 now that gcc-2.4 gets it right.
10397
10398Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10399
10400 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
10401
10402 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
10403 generating comp-info.exp which works for cross-compilation.
10404
10405Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
10406
10407 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
10408 "*-*-sysv4.*".
10409
10410Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
10411
10412 * gdb.t01/run.exp: Start with a fresh gdb.
10413 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
10414 SVR4.x.
10415
10416Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
10417
10418 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
10419 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
10420 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
10421 Makefile.in (distclean, realclean): Remove gdbme.c from list of
10422 things to remove.
10423
10424Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
10425
10426 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
10427 test cases from bug reports.
10428
10429Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
10430
10431 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
10432 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
10433 avoid spurious xfails.
10434 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
10435 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
10436 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
10437
10438Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
10439
10440 * gdb.t00/teststrategy.exp: Rework to provide more useful
10441 description of each test, fix problem with systems that define
10442 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
10443 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
10444 results for "next over recursive call" so timeouts aren't taken
10445 by error.
10446
10447Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
10448
10449 * gdb.t12/scope.exp: Test printing of variables before run.
10450
10451 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
10452 printed in wrong order due to sorting.
10453
10454Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
10455
10456 * gdb.t00/teststrategy.exp: Fix expected results for printing
10457 user entered string constant. Is array of char, prints with no
10458 address.
10459
10460 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
10461 commands.
10462 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
10463 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
10464 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
10465 of struct of char arrays.
10466 * gdb.t00/radix.exp: New tests for radix commands.
10467
10468Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
10469
10470 * gdb.t16/printcmd.exp: Print a variable before running program
10471 (with xfail for AIX).
10472
10473Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
10474
10475 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
10476
10477 * gdb.t16/printcmd.exp: Don't print variables before running program.
10478
10479 * gdb.t06/break.exp: Don't require envp argument to main.
10480
10481 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
10482
10483 * gdb.t02/whatis.exp, gdb.t11/list.exp:
10484 Add xfails for rs6000.
10485
10486 * gdb.t02/whatis.exp: Change other tests not to re-test something
10487 we already tested.
10488
10489 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
10490 each type used has a variable of that type.
10491
10492Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
10493
10494 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
10495
10496Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
10497
10498 * configure.in: change srctrigger to be a file, not a directory
10499
10500Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
10501
10502 * configure.in (mips-idt-ecoff*): Added trailing '*'.
10503
10504 * gdb.t11/list.exp: Fixed a couple of typos.
10505
10506Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
10507
10508 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
10509 is fixed and PR is closed.
10510 * gdb.t16 (gdbme.c): Add simple test string variable.
10511 * gdb.t16 (printcmds.exp): Add tests with simple test string
10512 variable, primarily for boundaries on "set print elements".
10513
10514Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
10515
10516 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
10517 Make leading 0's optional and don't expect a tab in the middle
10518 of the number.
10519
10520 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
10521
10522 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
10523 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
10524 don't end command passed to gdb_test with newline.
10525
10526 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
10527 signed keyword away, don't expect signed bitfields to be signed.
10528
10529 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
10530 printing with only as many 1's as are in the field as well as printing
10531 with 32 1's (see comment).
10532
10533Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
10534
10535 * gdb.t00/default.exp: Start with a fresh gdb.
10536 * configure.in (configdirs): Remove gdb.t31 until the chill
10537 compiler works again. It no longer is able to find chillrt0
10538 since it isn't in libchill.a anymore.
10539 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
10540 wierd.o, make more modular.
10541 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
10542 spurious newlines that caused problems.
10543
10544Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10545
10546 * Move test with enums and partial symbols from gdb.t03/ptype.exp
10547 to gdb.stabs/wierd.exp since GCC has worked around the bug.
10548 gdb.stabs/wierd.{exp,def}: Many new tests.
10549
10550 * gdb.t00/default.exp: update info line for new message.
10551
10552 * gdb.t02/{whatis.exp,gdbme.c}:
10553 Test that "char *" doesn't print as "caddr_t".
10554
10555Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10556
10557 * gdb.t00/help.exp: Use .* in place of some help messages which
10558 just changed.
10559 gdb.t00/default.exp: Update "info frame" test for new message.
10560 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
10561 Remove some xfails
10562
10563Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10564
10565 * gdb.t03/{gdbme.c,ptype.exp}:
10566 Add tests for typedef'd struct and union without tags.
10567 Also check "whatis" on a variable of a typedef'd enum without a tag.
10568
10569 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
10570 PRMS 1823; the bug still exists but isn't reproduced by this test
10571 anymore), and remove rs6000 XFAIL (the bug is fixed).
10572
10573 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
10574 duplicated from whatis.exp. For those that are left, accept
10575 "long", "long int", or "int" for long variables (whatis.exp already
10576 has an XFAIL for "int", so no need to fail it here).
10577
10578 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
10579 Deal with GCC's names for types now that GDB uses the compiler's names.
10580
10581 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
10582 setup_xfail's for sunos4. If we #defined the signed keyword away,
10583 don't expect GDB to know that char it is signed.
10584
10585 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
10586
10587Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
10588
10589 * configure.in (configdirs): Add gdb.t24 for C++ tests that
10590 should work on any system, regardless of debugging format.
10591 * gdb.t21/demangle.exp: Move to gdb.t24.
10592 * gdb.t24/demangle.exp: Move from gdb.t21.
10593 * gdb.t24/{Makefile.in, configure.in}: New files.
10594
10595Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10596
10597 * configure.in: Do gdb.stabs and C++ tests only for stabs.
10598 * gdb.stabs: New directory.
10599
10600Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10601
10602 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
10603 not just "Quit anyway?".
10604
10605Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
10606
10607 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
10608 that all setup_xfails are immediately followed by clear_xfails.
10609
10610Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
10611
10612 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
10613 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
10614 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
10615 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
10616 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
10617 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
10618 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
10619 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
10620 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
10621 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
10622 gdb.t31/chillvars.exp, lib/gdb.exp:
10623 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
10624 bug-gdb@prep.ai.mit.edu.
10625
10626Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
10627
10628 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
10629 with 0.0, not integer 0.
10630
10631Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
10632
10633 * gdb.t06/break.exp: Update for "Kill the program" message change.
10634
10635Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
10636
10637 * Makefile.in (GDBFLAGS): Set to -nx.
10638 * Makefile.in (site.exp): Use GDBFLAGS.
10639
10640Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
10641
10642 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
10643 Makefiles.
10644 (check): depend on just-check.
10645 (just-check): added so that tests can be run without a noop
10646 build pass.
10647
10648Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
10649
10650 Switch to using configure's configdirs.
10651 * Makefile.in (Makefile): add configure.in dependency.
10652 (SUBDIRS): removed redundant assignment.
10653 * configure.in: switch subdirs assignment to configdirs.
10654 * gdb.t*/configure.in: new files.
10655
10656Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
10657
10658 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
10659 works.
10660
10661Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
10662
10663 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
10664 in explicit rules. Apparently this is not supported by some makes.
10665
10666Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
10667
10668 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
10669
10670Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10671
10672 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
10673 disappeared.
10674
10675Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
10676
10677 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
10678
10679Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
10680
10681 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
10682 watchpoint problem that is now fixed.
10683 * gdb.t30/chexp.exp: Remove setup_xfail for printing
10684 uninitialized convenience variables.
10685 * gdb.t31/chillvars.exp: Fix expected patterns for printing
10686 structures.
10687
10688Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10689
10690 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
10691 which causes expect to get out of sync with gdb on long output
10692 from help set.
10693 * gdb.t09/corefile.exp: Make expected pattern for core file
10694 failing signal and frame output format less sun specific.
10695
10696Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
10697
10698 * gdb.t31/chillvars.exp: Add and remove initial dummy
10699 breakpoint, so that symbol table is forced in.
10700 (Needed at least on Sunos4, though it seems not SVR4.)
10701 * gdb.t31/chillvars.exp: Update for changed output format.
10702
10703Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
10704
10705 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
10706
10707Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
10708
10709 * Makefile.in: Added --srcdir when invoking runtest, removed the
10710 need for a local config file. (optional now)
10711
10712Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
10713
10714 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
10715 failure count used to force early termination. Add some more
10716 expected failures for gnu style demangling.
10717
10718Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10719
10720 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
10721 pmi variable from gdb.t20/gdbme to get optimized away.
10722 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
10723 Check for written corefile upon timeout _and_ eof.
10724
10725Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10726
10727 * config/unix-gdb.exp: Add missing return 0.
10728
10729Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10730
10731 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
10732 test termination.
10733
10734Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
10735
10736 * configure.in (subdirs): Put back gdb.t17 which mysteriously
10737 disappeared.
10738
10739Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
10740
10741 * gdb.t10/crossload.exp: Disable the i860-elf test until such
10742 time as i860 support works.
10743
beb998c6 10744 * gdb.t15/funcargs.exp: Fix expected outputs to include
c906108c
SS
10745 "backtrace 100\r" rather than just "backtrace\r", to match last
10746 change.
10747
10748Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
10749
10750 * config/udi-gdb.exp (gdb_exit): Remove close command.
10751 (gdb_target_udi): New procedure to set the UDI target.
10752 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
10753 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
10754 Added waits for prompts after several question responses. Added
10755 some more responses used by a29k-amd-udi-gdb.
10756 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
10757 pass different arguments, restart UDI connection after program
10758 completion.
10759 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
10760 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
10761 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
10762 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
10763 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
10764 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
10765 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
10766 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
10767 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
10768 after program completion.
10769 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
10770 compiled with a SELECT_VECS setting.
10771 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
10772 infinite recursion.
10773
10774 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
10775 Added checks for COFF results, and made them expected failures for
10776 all targets. It would be better to make them expected failures
10777 for COFF targets only.
10778
10779Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
10780
10781 * Makefile.in: add null dvi target, don't bother to recurse
10782 through test directories for info and install-info; rename
10783 $(datadir) to be dejagnu instead of deja-gnu
10784
10785Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
10786
10787 * gdb.t31/gdbme.ch: Re-enable code that previously caused
10788 compiler to coredump.
10789 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
10790 code.
10791
10792Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
10793
10794 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
10795 coredump.
10796 * gdb.t31/chillvars.exp: Comment out tests that depend on that
10797 code.
10798
10799Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
10800
10801 * gdb.t03/ptype.exp: tests for return code from gdb_test.
10802 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
10803 which in a shell. Deletes xgdb when done.
10804 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
10805 Tests the return from the "set height" or "set width" commands.
10806 Added a few return codes where needed.
10807
10808Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
10809
10810 * Makefile.in (SUBDIRS): Add gdb.t17.
10811 * configure.in (subdirs): Add gdb.t17.
10812 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
10813 files to test gdb's calling of functions in the inferior with
10814 the correct arguments and gdb's ability to retrieve any
10815 result returned.
10816
10817Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
10818
10819 * config/unix-gdb.exp (gdb_exit): Remove close commands that
10820 may be called after gdb goes away. Previous versions of expect
10821 needed these to avoid file descriptor leaks, but they cause
10822 errors with the current revision of expect.
10823 * gdb.t00/gdbvars.exp: Use -re on expected output after
10824 setting sevenbit-strings.
10825 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
10826 to set sevenbit-strings consistent across tests.
10827 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
10828 set sevenbit-strings consistent across tests.
10829
10830Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
10831
10832 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
10833 expected output to match current "expect" expectations.
10834
10835Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
10836
10837 * gdb.t00/default.exp: Change expected output for default "source"
10838 command, to match new gdb behavior which requires a filename to
10839 source.
10840
10841Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
10842
10843 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
10844 expected fail for i486-*-* that misses the marker2 function.
10845 * gdb.t10/crossload.exp (bfddefault): Allow successful
10846 recognition of a format to pass even if no symbols are found.
10847 Explicitly catch failures where the format is not recognized
10848 or is ambiguous, and add the reason to the fail message.
10849 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
10850 the cause is and invalid target and add reason to failure message.
10851 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
10852 elf32-i386, elf32-sparc, and elf32-i860.
10853 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
10854 Set up expected failure for 'filename'::variable scope resolution,
10855 which is now apparently broken on all targets.
10856 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
10857 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
10858 gdb.t23/templates.exp: Change failure for missing binfile into
10859 just a warning.
10860 gdb.t21/demangle.exp: Change all cfront references to 'arm'
10861 references.
10862
10863Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
10864
10865 * gdb.t00/default.exp: Add expected output for default "source"
10866 command, to match new gdb behavior.
10867 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
10868
10869Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
10870
10871 * config/*-gdb.exp: returns an error, rather than exiting on
10872 internal errors.
10873
10874Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
10875
10876 * gdb.t03/gdbme.c: Add pointer to struct variable.
10877 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
10878 referencing struct members.
10879
10880Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
10881
10882 * configure.in (mips-idt-ecoff): New target.
10883 * config/mips-gdb.exp: New file for remote board using MIPS remote
10884 debugging protocol.
10885
10886 * Redid configuration scheme. Removed gdb.t*/configure.in.
10887 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
10888 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
10889 distclean targets. Built executables via .o files. Adjusted
10890 tests to account for source files in $(srcdir) rather than
10891 $(objdir).
10892 * lib/gdb.exp (runto): Don't expect () after the function name,
10893 because it may have arguments.
10894
10895Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
10896
10897 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
10898 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
10899 expected failures for mips-idt-* and mips-sgi-*.
10900 * gdb.t00/default.exp (attach): Kill process if requested.
10901 * gdb.t00/help.exp (help target core, help target): Accept a gdb
10902 that does not read core files.
10903 * gdb.t01/run.exp: Removed checks for exit status code.
10904 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
10905 it is linked in.
10906 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
10907 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
10908 appropriate, rather than doing it by hand.
10909 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
10910 execution.
10911 * gdb.t10/crossload.exp: Kill existing program if needed.
10912 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
10913 appropriate, rather than doing it by hand. Always increase
10914 timeout for this test, not just for VxWorks.
10915
10916Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
10917
10918 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
10919 of Chill STRUCT types and STRUCT values.
10920 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
10921 than "char".
10922 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
beb998c6 10923 struct2): New struct definitions and initializations to test
c906108c
SS
10924 simple Chill STRUCT types.
10925
10926Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
10927
10928 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
10929 the null byte at the end of strings.
10930 * gdb.t00/default.exp: Make show version insensitive to copyright
10931 date.
10932 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
10933 to avoid dependencies on target char signedness.
10934 * gdb.t16/printcmds.exp: Update expected results for explicitly
10935 unsigned char.
10936 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
10937 now work.
10938 * gdb.t21/demangle.exp: Add many more patterns for template
10939 demangling, most of them being expected failures.
10940 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
10941 string we are matching for, to match on the whole string.
10942 * gdb.t21/demangle.exp: Add many new test strings to demangle,
10943 and fix a whole bunch that had incorrect expected output but were
10944 passing anyway because of the bug in "proc demangle".
10945 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
10946 type.
10947 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
10948
10949Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
10950
10951 * gdb/testsuite: made modifications to testcases, etc., to allow
10952 them to work properly given the reorganization of deja-gnu and the
10953 relocation of the testcases from deja-gnu to a "tool" subdirectory.
10954
10955Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
10956
10957 * gdb/testsuite: Initial creation of gdb/testsuite.
10958 Migrated dejagnu testcases and support files for testing nm to
10959 gdb/testsuite from deja-gnu. These files were moved "as is"
10960 with no modifications. This migration is part of a major overhaul
10961 of dejagnu. The modifications to these testcases, etc., which
10962 will allow them to work with the new version of dejagnu will be
10963 made in a future update.
10964\f
10965Local Variables:
ef043731 10966mode: change-log
c906108c
SS
10967left-margin: 8
10968fill-column: 74
10969version-control: never
10970End: