2004-06-15 Michael Chastain <mec.gnu@mindspring.com>
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
1903502c
MC
12004-06-15 Michael Chastain <mec.gnu@mindspring.com>
2
3 * gdb.base/long_long.exp: Remove reference to
4 bug-gdb@prep.ai.mit.edu. Change line-number-specific breakpoint
5 to gdb_breakpoint and gdb_continue_to_breakpoint.
6
83313cb1
JB
72004-06-14 Jim Blandy <jimb@redhat.com>
8
9 * gdb.arch/e500-regs.exp: Fix up 'print' pattern for the little-
10 endian case.
11
1bf404ef
AC
122004-06-14 Andrew Cagney <cagney@gnu.org>
13
14 * gdb.base/gcore.exp (capture_command_output): Delete the always
15 passing tests containing inferior values.
16 * gdb.base/ending-run.exp: Do not include the breakpoint address
17 in the test message. Update copyright.
18 * gdb.base/sizeof.exp (check_sizeof): Do not include the type's
19 size in the test name, use gdb_test_multiple. Update copyright.
20
ef220b33
MC
212004-06-14 Michael Chastain <mec.gnu@mindspring.com>
22
23 * gdb.cp/ref-types.cc: Add copyright notice.
24
4f70a4c9
MC
252004-06-14 Michael Chastain <mec.gnu@mindspring.com>
26
27 * lib/compiler.c: Remove gcc_compiled, hp_cc_compiler,
28 hp_aCC_compiler.
29 * lib/compiler.cc: Likewise.
30 * lib/gdb.exp (get_compiler_info): Eval lines only if they are
31 'set' commands. Log diagnostics for other lines. Set
32 gcc_compiled, hp_cc_compiler, and hp_aCC_compiler.
33
335928ac
MC
342004-06-13 Michael Chastain <mec.gnu@mindspring.com>
35
36 * gdb.cp/try_catch.cc: Add copyright notice.
37
2efb12e8
MC
382004-06-12 Michael Chastain <mec.gnu@mindspring.com>
39
40 * gdb.cp/userdef.cc: Add copyright notice.
41
0bbed51a
MC
422004-06-11 Michael Chastain <mec.gnu@mindspring.com>
43
44 * gdb.cp/virtfunc.cc: Add copyright notice.
45
e12a46c9
RC
462004-06-11 Randolph Chung <tausq@debian.org>
47
48 * gdb.base/structs2.exp: Mark two tests as xfail because of a compiler
49 problem.
50
338e05af
AC
512004-06-10 Andrew Cagney <cagney@gnu.org>
52
53 * lib/compiler.cc, lib/compiler.c: Append either
54 __GNUC_PATCHLEVEL__, or "unknown" to the compiler_info.
55 * gdb.base/structs.exp (test_struct_calls): Check for gcc-3-3-*
56 instead of gcc-3-3.
57
dc3f10cb
AC
582004-06-09 Andrew Cagney <cagney@gnu.org>
59
b4d946af
AC
60 * gdb.base/structs.exp (test_struct_calls): Fix KFAIL for
61 gdb/1455, bug is specific to "long long" and "double".
62
dc3f10cb
AC
63 * gdb.base/structs.exp (test_struct_returns, test_struct_returns)
64 (test_struct_calls): Remove KFAIL of "long double" on i*86-*-*,
65 x86_64-*-*, sparc64-*-*, and sparc*-*-solaris2*. PR tdep/1447
66 fixed.
67
b5c0bfa2
AC
682004-06-09 Andrew Cagney <cagney@gnu.org>
69
70 * gdb.base/structs.exp (test_struct_returns): Replace
71 "return_value_unknown" and "finish_value_unknown" by
72 "return_value_known" and "finish_value_known". Instead of
73 "return_value_unknown" iff "finish_value_unknown", check
74 "return_value_known" implies "finish_value_known".
75
caeb605f
MH
762004-06-08 Martin Hunt <hunt@redhat.com>
77
78 * gdb.base/float.exp: Add pattern for mips targets.
79
c892bb64
RC
802004-06-08 Randolph Chung <tausq@debian.org>
81
82 * gdb.base/float.exp: Add pattern for hppa*-* target; make the failure
83 message for unknown architectures more clear.
84
48306d3e
JB
852004-06-08 Joel Brobecker <brobecker@gnat.com>
86
87 * gdb.ada/null_record.exp: Use "start" instead of "begin" to
88 start the execution of the program.
89
83ecb59f
JB
902004-06-07 Jim Blandy <jimb@redhat.com>
91
92 * gdb.arch/i386-sse.exp, gdb.arch/i386-sse.c: New tests.
93 * gdb.arch/i386-cpuid.h: New helper file.
94
55264cb4
RC
952004-06-07 Randolph Chung <tausq@debian.org>
96
97 * gdb.base/shlib-call.exp: Allow breakpoint to be added after inferior
98 has started.
99
23cadb28
RM
1002004-06-04 Roland McGrath <roland@redhat.com>
101
102 Fix PR gdb/1647.
103 * gdb.base/auxv.exp (fetch_auxv): Revert last change and fix it
104 differently to be robust to output buffering differences.
105
51d01eda
MC
1062004-06-04 Michael Chastain <mec.gnu@mindspring.com>
107
108 * gdb.threads/pthreads.exp: Update copyright years.
109 (check_control_c): Change asynchronous 'after' to synchronous.
110
f4fc3b93
RM
1112004-06-04 Roland McGrath <roland@redhat.com>
112
113 * gdb.base/auxv.exp (fetch_auxv): Consume output fully through
114 next gdb prompt.
115
4013522b
MC
1162004-06-02 Michael Chastain <mec.gnu@mindspring.com>
117
118 Fix PR gdb/1636.
119 * gdb.threads/manythreads.exp: Change asynchronous 'after'
120 calls to synchronous.
121
7a8f1e6b
JB
1222004-05-26 Jim Blandy <jimb@redhat.com>
123
124 * gdb.arch/e500-prologue.exp, gdb.arch/e500-prologue.c: New tests.
125
81bb3443
RC
1262004-05-24 Randolph Chung <tausq@debian.org>
127
128 * gdb.asm/asm-source.exp: Enable test for hppa-linux target.
129 * gdb.asm/pa.inc: New file.
130
8f5a3103
MK
1312004-05-22 Mark Kettenis <kettenis@gnu.org>
132
133 * gdb.base/signull.c: Use sigjmp_buf instead of jmp_buf.
134
734b8fe8
JB
1352004-05-21 Joel Brobecker <brobecker@gnat.com>
136 Daniel Jacobowitz <drow@mvista.com>
137
138 * lib/gdb.exp (gdb_test_multiple): Improve regexp matching the
139 GDB prompt.
140
725603e1
UW
1412004-05-20 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
142
f4fc3b93 143 * gdb.base/signull.c: Use sigsetjmp/siglongjmp instead of
725603e1
UW
144 setjmp/longjmp. Use sigaction instead of signal.
145
8b923272
JB
1462004-05-19 J. Brobecker <brobecker@gnat.com>
147 Michael Snyder <msnyder@redhat.com>
148
149 * gdb.threads/pthread_cond_wait.c: New file.
150 * gdb.threads/pthread_cond_wait.exp: New testcase.
151
8bfabb04
AC
1522004-05-13 Andrew Cagney <cagney@redhat.com>
153
154 * gdb.base/signull.exp, gdb.base/signull.c: New files.
155 * gdb.base/gdb1476.c, gdb.base/gdb1476.exp: Delete files.
156
42edda50
AC
1572004-05-11 Andrew Cagney <cagney@redhat.com>
158
159 * gdb.base/sigstep.exp (advancei): Update KFAILs. gdb/1613 is
160 fixed but revealed gdb/1639.
161
d303a6c7
AC
1622004-05-10 Andrew Cagney <cagney@redhat.com>
163
164 * gdb.base/signals.exp (signal_tests_1): Simplify "continue to
165 func1" and "next to 2nd alarm", kernel bug avoided.
166
bf08c2a1
DJ
1672004-05-10 Daniel Jacobowitz <dan@debian.org>
168
169 PR external/1568
170 * gdb.base/bigcore.exp: Check the size of the dumped core file.
171 XFAIL if it is smaller than bytes_allocated.
172 * gdb.base/bigcore.c (bytes_allocated): Make static and unsigned.
173 (main): Make chunks_allocated unsigned. Correct comment.
174
c0586a34
JB
1752004-05-07 Joel Brobecker <brobecker@gnat.com>
176
177 * gdb.arch/powerpc-aix-prologue.c: New file.
178 * gdb.arch/powerpc-aix-prologue.exp: New file.
179
f2785d12
JB
1802004-05-07 Jim Blandy <jimb@redhat.com>
181
182 * gdb.base/lineinc.exp, gdb.base/lineinc1.h, gdb.base/lineinc2.h,
183 gdb.base/lineinc3.h, gdb.base/lineinc.c: New tests.
184
bd7f6e30
JB
1852004-05-06 Joel Brobecker <brobecker@gnat.com>
186
187 * gdb.base/sep.exp: No longer setup_kfail when the program was
188 built with dwarf2.
189
0a5e7efe
JI
1902004-05-05 Jim Ingham <jingham@apple.com>
191
192 * gdb.base/pending.exp: Make sure pending breakpoints
193 preserve the ignore count.
f4fc3b93 194
a8958849
MK
1952004-04-27 Jerome Guitton <guitton@gnat.com>
196
197 * i386-prologue.exp: Add testcase for jump instruction as first
198 instruction of the real code.
199 * i386-prologue.c (jump_at_beginning): New function.
200
7e103f5b
MK
2012004-04-28 Mark Kettenis <kettenis@gnu.org>
202
203 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1624 on
204 x86_64-*-*.
205
5d38b224
MK
2062004-04-28 Mark Kettenis <kettenis@gnu.org>
207
208 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1623 on
209 i*86-*-*.
210
0ef32fd9
MK
2112004-04-25 Mark Kettenis <kettenis@gnu.org>
212
213 * gdb.base/call-sc.exp (start_scalars_test): Fix regular
214 expression that checks the return type.
215
71d7dd7c
AC
2162004-04-23 Andrew Cagney <cagney@redhat.com>
217
218 * gdb.base/call-sc.exp: New test of scalar call/return values.
219 * gdb.base/call-sc.c: Ditto.
220
1e9f977e
JJ
2212004-04-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
222
223 * gdb.threads/manythreads.c: Reduce thread stack size.
224
899d9e3a
JJ
2252004-04-23 Jeff Johnston <jjohnstn@redhat.com>
226
227 * gdb.threads/manythreads.c: Add copyright notice.
228
61bcae62
AC
2292004-04-23 Andrew Cagney <cagney@redhat.com>
230
231 * gdb.base/siginfo.exp: Better handle step out of signal.
232 * gdb.base/sigstep.exp: Ditto.
233
7339a42e
JJ
2342004-04-22 Jeff Johnston <jjohnstn@redhat.com>
235 Daniel Jacobowitz <drow@mvista.com>
236
237 * gdb.threads/manythreads.c: New testcase.
238 * gdb.threads/manythreads.exp: Ditto.
239
5c98409b
JB
2402004-04-22 Jim Blandy <jimb@redhat.com>
241
242 * gdb.stabs/exclfwd.exp, gdb.stabs/exclfwd1.c,
243 gdb.stabs/exclfwd2.c, gdb.stabs/exclfwd.h: New test.
244
3b611f1a
MC
2452004-04-21 Michael Chastain <mec.gnu@mindspring.com>
246
247 * gdb.stabs/weird.exp: Accept full pathname for $binfile.
248
f0fd9238
AC
2492004-04-21 Andrew Cagney <cagney@redhat.com>
250
251 * gdb.base/sigstep.c: New file.
252 * gdb.base/sigstep.exp: New file.
253
90990674
JB
2542004-04-16 Joel Brobecker <brobecker@gnat.com>
255
256 * gdb.gdb/observer.exp (test_normal_stop_notifications): Update
257 call to observer_notify_normal_stop.
258
78cef34b
AC
2592004-04-15 Andrew Cagney <cagney@redhat.com>
260
261 * gdb.base/siginfo.c: New file.
262 * gdb.base/siginfo.exp: New file.
263
d2343407
JB
2642004-04-12 J. Brobecker <brobecker@gnat.com>
265
266 * gdb.base/sep.exp: Fix typo in comment.
267
a2dba3c8
JB
2682004-04-12 J. Brobecker <brobecker@gnat.com>
269
270 * gdb.base/sep.c: New file.
271 * gdb.base/sep-proc.c: New file.
272 * gdb.base/sep.exp: New testcase.
273
15f7b60e
MK
2742004-04-09 Mark Kettenis <kettenis@gnu.org>
275
276 * gdb.base/bigcore.exp: Disable on Solaris; no sparse core file
277 support.
278
44f4de1a
AC
2792004-04-05 Andrew Cagney <cagney@redhat.com>
280
281 * gdb.base/sigaltstack.c: New file.
282 * gdb.base/sigaltstack.exp: New file.
283
ef04f396
JB
2842004-04-04 Joel Brobecker <brobecker@gnat.com>
285
286 * gdb.base/foll-fork.exp: Update the expected output for
287 "help set follow-fork-mode", to match a change that was made
288 to the help of this variable on 2004-01-13.
289
d40d2c92
JB
2902004-04-01 Joel Brobecker <brobecker@gnat.com>
291
292 * lib/ada.exp: Add copyright notice.
293 * bar.ads: Likewise.
294 * bar.adb: Likewise.
295 * null_record.adb: Likewise.
296 * null_record.exp: Likewise.
297 * gnat_ada.gpr.in: Likewise. Fix typo in a comment, clarify another.
298
f86ef5a3
JB
2992004-04-01 Joel Brobecker <brobecker@gnat.com>
300
301 * configure.in: Generate gdb.ada/Makefile and gdb.ada/gnat_ada.gpr.
302 * configure: Regenerate.
303
414e70e3
JB
3042004-04-01 Joel Brobecker <brobecker@gnat.com>
305
306 * lib/ada.exp (gdb_compile_ada): Emit UNSUPPORTED if we failed
307 to build the application. Remove the message printed when in
308 verbose mode, redundant with the UNSUPPORTED message above.
309
f0aaee49
JB
3102004-03-31 Joel Brobecker <brobecker@gnat.com>
311
312 * gdb.ada (bar.ads, bar.adb, null_record.adb): New files.
313 * gdb.ada (null_record.exp): New testcase.
314
ac81cb54
JB
3152004-03-31 Joel Brobecker <brobecker@gnat.com>
316
317 * Makefile.in (ALL_SUBDIRS) Add gdb.ada.
318
854af2f7
JB
3192004-03-31 Joel Brobecker <brobecker@gnat.com>
320
321 * gdb.ada: New subdirectory.
322 * gdb.ada/Makefile.in: New file.
323 * gdb.ada/gnat_ada.gpr.in: New file.
324
034cb681
JB
3252004-03-31 Joel Brobecker <brobecker@gnat.com>
326
327 * lib/ada.exp: New file.
328
78a1a894
DJ
3292004-03-24 Daniel Jacobowitz <drow@mvista.com>
330
331 * gdb.base/gdb1250.exp: Use runto {allow-pending}.
332 * lib/gdb.exp (runto, gdb_breakpoint): Support {allow-pending}.
333
4b2b3b3e
AC
3342004-03-22 Andrew Cagney <cagney@redhat.com>
335
336 * gdb.base/watchpoint.exp (test_stepping): Delete bogus XFAILs
337 hiding problems with DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET.
338 Problem identified by Ulrich Weigand.
339
23c73aa3
DC
3402004-03-17 David Carlton <carlton@kealia.com>
341
342 * gdb.cp/classes.exp (test_enums): Refer to PR c++/1588 instead of
343 PR c++/826.
344
d63a86f8
RM
3452004-03-16 Roland McGrath <roland@redhat.com>
346
347 * gdb.base/auxv.exp: New file.
348 * gdb.base/auxv.c: New file, copied verbatim from coremaker2.c.
349
0e02aa50
DC
3502004-03-12 David Carlton <carlton@kealia.com>
351
352 * gdb.cp/pr-1553.exp: New. Tests for PR c++/1553.
353 * gdb.cp/pr-1553.cc: Ditto.
354 * gdb.cp/local.exp (ptype NestedInnerLocal): Add comment, third
355 pass branch.
356
c20b71be
MC
3572004-03-12 Michael Chastain <mec.gnu@mindspring.com>
358
359 * gdb.cp/templates.exp: Accept more template types.
360
c7414a01
MC
3612004-03-09 Michael Chastain <mec.gnu@mindspring.com>
362
363 From Corinna Vinschen with modifications.
364 * gdb.cp/classes.cc (enums1): Add a line to extend scope of
365 local variable obj_with_enum.
366 * gdb.cp/classes.exp (test_enums): Remove TODO note about FAIL
367 results with obj_with_enum.
368
ed69573c
MC
3692004-03-09 Michael Chastain <mec.gnu@mindspring.com>
370
371 * gdb.cp/classes.cc: New file, copied from misc.cc.
372 * gdb.cp/classes.exp: Use classes.cc rather than misc.cc.
373
28301461
MC
3742004-03-09 Michael Chastain <mec.gnu@mindspring.com>
375
376 * gdb.cp/misc.cc: Add copyright notice.
377
1198ecbe
DC
3782004-03-05 David Carlton <carlton@kealia.com>
379
380 * gdb.cp/rtti.exp: Add 'print *obj3' test.
381 * gdb.cp/rtti.h: Update copyright.
382 (namespace n2::n3): New.
383 * gdb.cp/rtti1.cc: (refer_to (n2::n3::C3 *)): New.
384 (n2::n3::func3): New.
385 (main): Call n2::n3::func3.
386 * gdb.cp/rtti2.cc: Update copyright.
387 (n2::create3): New.
388
9e08c470
MK
3892004-03-04 Mark Kettenis <kettenis@gnu.org>
390
391 * gdb.asm/openbsd.inc: Fix typo.
392
4bebc3aa
FF
3932004-03-03 Fred Fish <fnf@redhat.com>
394
395 * gdb.base/pc-fp.exp (get_valueofx): Fix apparent typo to now set
396 "val" instead of unused "size". Update copyright year.
397
6ea9fb37
DJ
3982004-02-29 Daniel Jacobowitz <drow@mvista.com>
399
400 * gdb.cp/ctti.exp: Handle unsigned char type. Expect templates
401 to use unsigned char.
402 * gdb.cp/cttiadd.c, gdb.cp/cttiadd1.c, gdb.cp/cttiadd2.c,
403 gdb.cp/cttiadd3.c: Change type of variable to unsigned char.
404
23b23974
DJ
4052004-02-29 Daniel Jacobowitz <drow@mvista.com>
406
407 * config/gdbserver.exp (gdbserver_gdb_load): Wait for a complete
408 line of output.
409
7574fd53
DJ
4102004-02-28 Daniel Jacobowitz <drow@mvista.com>
411
412 * gdb.base/relocate.c (dummy): Initialize.
413
a195357f
DJ
4142004-02-28 Daniel Jacobowitz <drow@mvista.com>
415
416 * gdb.base/chng-syms.exp: Anchor exit pattern. Allow
417 a breakpoint at exit.
418
72fd54a9
FF
4192004-02-27 Fred Fish <fnf@redhat.com>
420
421 * gdb.base/chng-syms.exp: Add expect condition to match failing
422 case that isn't a timeout.
423
b9d23137
AC
4242004-02-27 Andrew Cagney <cagney@redhat.com>
425
426 * gdb.base/bigcore.exp: Disable on HP/UX, no sparse corefile
427 support.
428
15d208f6 4292004-02-26 Fred Fish <fnf@redhat.com>
d63a86f8 430
15d208f6
FF
431 * gdb.arch/gdb1431.c: Remove.
432 * gdb.arch/gdb1431.s: New file, copy of gdb1291.s
433 * gdb.arch/gdb1431.exp: Use "advance" correctly instead
434 of "until" incorrectly.
435
98f9cd2d
JB
4362004-02-26 J. Brobecker <brobecker@gnat.com>
437
438 * gdb.cp/class2.cc (empty): New class.
439 (refer): New function.
440 (main): Declare an object of type empty and use it.
441 * gdb.cp/class2.exp: Print the value of an object of type empty.
442
9b50c11b
JJ
4432004-02-26 Jeff Johnston <jjohnstn@redhat.com>
444
445 * gdb.base/langs.exp: Update query string to match the
446 new nquery format used for pending breakpoints.
447
0dcd613f
AC
4482004-02-26 Andrew Cagney <cagney@redhat.com>
449
450 Fix PR i18n/1570.
451 * gdb.base/charset.c: Update copyright notice.
452 (main, init_string): Remove the escape character '\e' tests.
453 * gdb.base/printcmds.exp (test_print_all_chars): Ditto.
454 * gdb.base/charset.exp (valid_host_charset): Ditto.
455 * gdb.base/setvar.exp: Ditto.
456
b8a56647
AC
4572004-02-24 Andrew Cagney <cagney@redhat.com>
458
90d59e34
AC
459 * gdb.base/corefile.exp: Use gdb_test_multiple, make "accessing
460 mmapped data in core file" PASS and FAIL messages consistent.
461
b8a56647
AC
462 * gdb.java/jmisc.exp: Use the fully quallified name of "main" when
463 setting a breakpoint. Work around PR java/1565.
464
9f27c604
JJ
4652004-02-23 Jeff Johnston <jjohnstn@redhat.com>
466
467 * lib/gdb.exp (gdb_breakpoint): Update query string to match
468 new nquery format.
469 * gdb.base/pending.exp: Ditto.
470
3224a706
MK
4712004-02-22 Mark Kettenis <kettenis@gnu.org>
472
473 * configure.in: Run stabs tests on *BSD.
474 * configure: Regenerated.
475
41e0a9ca
MK
4762004-02-21 Mark Kettenis <kettenis@gnu.org>
477
478 * gdb.base/bigcore.exp: Bail out on *BSD instead of only NetBSD.
479
1e1b3428
FF
4802004-02-20 Fred Fish <fnf@redhat.com>
481
482 * gdb.base/callfuncs.exp (do_function_calls): Remove extraneous
483 blank in test for "returns short", for consistency with other
484 "returns xxx" tests. Update copyright year.
485
f9a7572a
FF
4862004-02-19 Fred Fish <fnf@redhat.com>
487
488 New testcase for PR breakpoint/1558.
489 * gdb.arch/gdb1558.exp: New file.
490 * gdb.arch/gdb1558.c: New file.
491
b2ce2854
EZ
4922004-02-19 Elena Zannoni <ezannoni@redhat.com>
493
494 * gdb.base/nodebug.exp: Fix typo.
495
e7c9ff01
JB
4962004-02-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
497
498 Committed by Jim Blandy <jimb@redhat.com>.
499
62f4b920
JB
500 * gdb.objc/basicclass.exp: Adapt to fixed return type of printHi.
501
2db536a1
JB
502 * gdb.base/dump.exp: Handle negative offsets in decimal, not hex.
503
e7c9ff01
JB
504 * gdb.base/float.exp: Support s390*-*-* targets.
505
f3205b34
AF
5062004-02-17 Adam Fedor <fedor@gnu.org>
507
508 * gdb.base/gdb1555.exp: New file.
509 * gdb.base/gdb1555-main.c, gdb.base/gdb1555.c: New files.
510
9d62932d
EZ
5112004-02-17 Elena Zannoni <ezannoni@redhat.com>
512
513 * gdb.base/selftest.exp (do_steps_and_nexts): Add comment.
514
344c9711
FF
5152004-02-16 Fred Fish <fnf@redhat.com>
516
517 * gdb.arch/gdb1291.c: Remove
518 * gdb.arch/gdb1291.s: New test input file.
519 * gdb.arch/gdb1291.exp: Expand test to check case that should not
520 fail. Test for correct result, known incorrect result, other
521 failures and timeouts.
522
2d822687
AC
5232004-02-16 Andrew Cagney <cagney@redhat.com>
524
525 * gdb.base/bigcore.exp: New file.
526 * gdb.base/bigcore.c: New file.
527
dac15b66
AC
5282004-02-13 Andrew Cagney <cagney@redhat.com>
529
530 * gdb.mi/mi1-basics.exp, gdb.mi/mi1-break.exp: Delete file.
531 * gdb.mi/mi1-console.exp, gdb.mi/mi1-disassemble.exp: Delete file.
532 * gdb.mi/mi1-eval.exp, gdb.mi/mi1-hack-cli.exp: Delete file.
533 * gdb.mi/mi1-pthreads.exp, gdb.mi/mi1-read-memory.exp: Delete file.
534 * gdb.mi/mi1-regs.exp, gdb.mi/mi1-return.exp: Delete file.
535 * gdb.mi/mi1-simplerun.exp, gdb.mi/mi1-stack.exp: Delete file.
536 * gdb.mi/mi1-stepi.exp, gdb.mi/mi1-symbol.exp: Delete file.
537 * gdb.mi/mi1-until.exp, gdb.mi/mi1-var-block.exp: Delete file.
538 * gdb.mi/mi1-var-child.exp, gdb.mi/mi1-var-cmd.exp: Delete file.
539 * gdb.mi/mi1-var-display.exp, gdb.mi/mi1-watch.exp: Delete file.
540
6bdfc2c4
JJ
5412004-02-11 Jeff Johnston <jjohnstn@redhat.com>
542
543 * gdb.asm/ia64.inc (gdbasm_startup): Make sure first instruction
544 executed is an alloc instruction.
545
87b3ede8
DC
5462004-02-11 David Carlton <carlton@kealia.com>
547
548 * gdb.cp/breakpoint.exp: New.
549 * gdb.cp/breakpoint.cc: New.
550
6e19e2bf
MC
5512004-02-11 Michael Chastain <mec.gnu@mindspring.com>
552
553 Partial fix for PR gdb/1543.
554 * gdb.cp/ambiguous.exp, gdb.cp/annota2.exp, gdb.cp/annota3.exp,
555 gdb.cp/anon-union.exp, gdb.cp/casts.exp, gdb.cp/classes.exp,
556 gdb.cp/cplusfuncs.exp, gdb.cp/ctti.exp, gdb.exp/demangle.exp,
557 gdb.cp/derivation.exp, gdb.cp/exception.exp, gdb.cp/hang.exp,
558 gdb.cp/inherit.exp, gdb.cp/local.exp, gdb.cp/maint.exp,
559 gdb.cp/member-ptr.exp, gdb.cp/method.exp, gdb.cp/misc.exp,
560 gdb.cp/namespace.exp, gdb.cp/overload.exp, gdb.cp/ovldbreak.exp,
561 gdb.cp/psmang.exp, gdb.cp/ref-types.exp, gdb.cp/templates.exp,
562 gdb.cp/userdef.exp, gdb.cp/virtfunc.exp: Remove reference
563 to bug-gdb@prep.ai.mit.edu .
564 * gdb.cp/bs15503.cc, gdb.cp/class2.cc, gdb.cp/cttiadd.cc,
565 gdb.cp/cttiadd1.cc, gdb.cp/cttiadd2.cc, gdb.cp/cttiadd3.cc,
566 gdb.cp/exception.cc, gdb.cp/member-ptr.cc, gdb.cp/namespace1.cc:
567 Likewise.
568
5c5455dc
AC
5692004-02-10 Andrew Cagney <cagney@redhat.com>
570
571 * lib/gdb.exp (gdb_expect_list): Recover from internal-errors
572 using gdb_internal_error_resync.
573
9cf689d7
DJ
5742004-02-09 Daniel Jacobowitz <drow@mvista.com>
575
576 * gdb.threads/thread-specific.exp: Stop early if no threads are
577 found.
578
d2dc51db
MC
5792004-02-09 Michael Chastain <mec.gnu@mindspring.com>
580
581 * gdb.base/pending.exp: Remove extra \n from gdb_test calls.
582
14b1a056
DJ
5832004-02-08 Daniel Jacobowitz <drow@mvista.com>
584
585 * lib/gdb.exp (gdb_breakpoint): Fail on unexpected pending
586 breakpoints.
587
83f66e8f
DJ
5882004-02-07 Daniel Jacobowitz <drow@mvista.com>
589
590 * config/sim.exp (gdb_load): Handle $arg == "".
591 * lib/gdb.exp (gdb_run_cmd): Honor gdb,do_reload_on_run.
592 * gdb.objc/basicclass.exp: Use gdb_run_cmd.
593
30fc0091
EZ
5942004-02-07 Elena Zannoni <ezannoni@redhat.com>
595
596 * gdb.base/maint.exp: Update test to reflect
597 obstack changes.
598
4d806929
JJ
5992004-02-04 Jeff Johnston <jjohnstn@redhat.com>
600
601 * gdb.base/pendshr.c (pendfunc): New function that calls
602 pendfunc1.
603 * gdb.base/pending.c: Call pendfunc instead of pendfunc1.
604
7bfdd688
FF
6052004-02-04 Fred Fish <fnf@redhat.com>
606
607 * gdb.arch/gdb1431.c: Add underbar prefixed version of global
608 function symbols and update copyright years.
609 * gdb.arch/gdb1291.c: Ditto.
610
aaa08ee4
MC
6112004-02-03 Michael Chastain <mec.gnu@mindspring.com>
612
613 * gdb.cp/virtfunc.exp: Accept both "ctor()" and "ctor(void)".
614
dbad7755
MC
6152004-02-03 Michael Chastain <mec.gnu@mindspring.com>
616
617 * gdb.cp/inherit.exp: Accept both "ctor()" and "ctor(void)".
618
ec4646ef
MC
6192004-02-03 Michael Chastain <mec.gnu@mindspring.com>
620
621 * gdb.cp/inherit.exp: Accept output with gcc 3.2-7-rh.
622
1b802196
FF
6232004-02-02 Fred Fish <fnf@redhat.com>
624
625 * gdb.base/bang.exp: Use gdb_run_cmd so this tests works with
626 remote targets. Update copyright years.
627
18fe2033
JJ
6282004-02-02 Jeff Johnston <jjohnstn@redhat.com>
629
630 * lib/gdb.exp (gdb_breakpoint): Add pending breakpoint
631 support.
632 * gdb.base/langs.exp: Fix test which attempts to create
633 breakpoint on non-existent function to handle new pending
634 support.
635 * gdb.base/shlib-call.exp: Use gdb_breakpoint to set
636 a breakpoint.
637 * gdb.base/pending.exp: New test.
638 * gdb.base/pending.c: New file.
639 * gdb.base/pendshr.c: Ditto.
640
8d577d32
DC
6412004-02-02 David Carlton <carlton@kealia.com>
642
643 * gdb.cp/overload.exp: Add overloadNamespace tests.
644 * gdb.cp/overload.cc (dummyClass, dummyInstance): New.
645 (overloadNamespace, XXX): New.
646 (main): Call XXX::marker2.
647
3ad13771
FF
6482004-02-01 Fred Fish <fnf@redhat.com>
649
650 * gdb.base/dump.exp: Use runto_main instead of "runto main".
651 * gdb.base/finish.exp: Ditto.
652 * gdb.base/gcore.exp: Ditto.
653 * gdb.base/huge.exp: Ditto.
654 * gdb.base/info-proc.exp: Ditto.
655 * gdb.base/return2.exp: Ditto.
656 * gdb.threads/gcore-thread.exp: Ditto.
657
44c75849
DJ
6582004-02-01 Daniel Jacobowitz <drow@mvista.com>
659
660 * gdb.threads/thread-specific.exp: Add missing anchor to regexp.
661
005bc093
MK
6622004-02-01 Mark Kettenis <kettenis@gnu.org>
663
664 * gdb.base/fileio.c (test_open): Replace O_RDONLY with O_RDWR such
665 that opening the file succeeds on OpenBSD.
666
c47cebdb
DJ
6672004-02-01 Daniel Jacobowitz <drow@mvista.com>
668
669 * gdb.threads/thread-specific.c: New file.
670 * gdb.threads/threads-specific.exp: New test script.
671 * lib/gdb.exp (gdb_test_multiple): Allow user patterns access
672 to expect_out.
673
5a01311c
MK
6742004-02-01 Mark Kettenis <kettenis@gnu.org>
675
676 * gdb.base/call-ar-st.exp: Call get_debug_format. Remove xfail on
677 sparc*-*-solaris* into a kfail PR gdb/1539 on sparc-*-* for stabs
678 only on the "print_small_structs from print_long_arg_list" test.
679
ce22a4f1
DJ
6802004-02-01 Daniel Jacobowitz <drow@mvista.com>
681
682 * gdb.base/completion.exp: Kill a stray backslash.
683
684 From Jim Ingham <jingham@apple.com>:
685 * gdb.base/completion.exp: Test that "complete file ./gdb.base/compl"
686 agrees with the result from sending a tab.
687
abbab9d3
DJ
6882004-01-31 Daniel Jacobowitz <drow@mvista.com>
689
690 * gdb.base/chng-syms.exp: Remove stray newline.
691
53904d1e
MK
6922004-01-31 Mark Kettenis <kettenis@gnu.org>
693
694 * gdb.asm/asm-source.exp: Set asm-note to "openbsd" for
695 *-*-openbsd*.
696 * gdb.asm/openbsd.inc: New file.
697
3a4b3aac
MK
6982004-01-30 Mark Kettenis <kettenis@gnu.org>
699
700 * gdb.asm/asm-source.exp: Strip -Wl, from link-flags. Don't
701 append -static to link-flags for *-*-freebsd*, *-*netbsd* and
702 *-*solaris2*. Remove commented out default settings for
703 asm-flags. Replace gdb_compile with target_link.
704
ebac27b4
MC
7052004-01-29 Michael Chastain <mec.gnu@mindspring.com>
706
707 * gdb.cp/inherit.exp: Rewrite. Use gdb_test_multiple and gdb
708 for all tests. Remove old hp-ux and cygnus xfail cases.
709
d8679d84
PH
7102004-01-29 Paul N. Hilfinger <Hilfinger@gnat.com>
711
712 * gdb.base/chng-syms.exp: New file.
713 * gdb.base/chng-syms.c: New file.
714
0a55bc22
MC
7152004-01-24 Michael Chastain <mec.gnu@mindspring.com>
716
717 * gdb.cp/local.exp: Rewrite "ptype Local". Add "ptype l".
718 Provide arms for current output in all my configurations.
719
94b8e876
MC
7202004-01-24 Michael Chastain <mec.gnu@mindspring.com>
721
722 * lib/compiler.c: Add hp_cc_compiler and hp_aCC_compiler.
723 * lib/compiler.cc: Likewise.
724 * lib/gdb.exp (get_compiler_info): Always call gdb_compile to
725 get the right preprocessor. Eval the output directly. Remove
726 special tests for hp_cc_compiler and hp_aCC_compiler. Remove
727 hp_f77_compiler and hp_f90_compiler completely.
728 (gdb_preprocess): Delete.
729 (get_compiler): Delete.
730
7cf03d44
MK
7312004-01-24 Mark Kettenis <kettenis@gnu.org>
732
733 * gdb.base/charset.c, gdb.base/dump.c, gdb.base/huge.c: Include
734 <string.h>.
735
68b6dce9
NR
7362004-01-24 Nick Roberts <nick@nick.uklinux.net>
737
738 * gdb.mi/mi-stack.exp: Update copyright.
739
b368761e
DC
7402004-01-23 David Carlton <carlton@kealia.com>
741
742 * gdb.cp/rtti.exp: Don't include full path in ${srcfile}. Add
743 test for cp_lookup_transparent_type.
744 * gdb.cp/rtti1.cc: Update copyright. Add n2::func and refer_to;
745 call them.
746
f2061b53
DJ
7472004-01-23 Daniel Jacobowitz <drow@mvista.com>
748
749 * gdb.mi/mi-var-child.exp: Update copyright year. Move new test
750 after -var-update.
751
37fc574a
DC
7522004-01-23 David Carlton <carlton@kealia.com>
753
754 * gdb.cp/namespace.cc (C::ensureRefs): New.
755 * gdb.cp/namespace1.cc (C::ensureOtherRefs): New.
756
8e94b928
NR
7572004-01-20 Nick Roberts <nick@nick.uklinux.net>
758
759 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Test for
760 case "-stack-list-locals 2".
761 * gdb.mi/mi-var-child.exp: Test for case
762 "-var-list-children --all-values NAME".
763
997b0952
MC
7642004-01-18 Michael Chastain <mec.gnu@mindspring.com>
765
766 * gdb.cp/local.exp: Accept correct output for gcc v3 -gstabs+.
767
52470da3
MK
7682004-01-18 Mark Kettenis <kettenis@gnu.org>
769
7049b4b8
MK
770 * gdb.base/fileio.exp: Add "$gdb_prompt $" anchors to patterns
771 used with gdb_test_multiple.
772
52470da3
MK
773 * gdb.base/gdb1476.exp: Accept alternat pattern for failed memory
774 read at address 0. This fixes PR testsuite/1504.
775
da6012e5
DJ
7762004-01-18 Daniel Jacobowitz <drow@mvista.com>
777
778 * config/gdbserver.exp (gdbserver_gdb_load): Rename from gdb_load.
779 Remove downloading, guessing the host executable, the calls to
780 gdb_file_cmd and gdb_target_cmd, and "load" support.
781 (infer_host_exec): New function broken out from gdb_load.
782 (gdb_load): New wrapper for gdbserver_gdb_load.
783 * lib/mi-support.exp (mi_gdb_target_cmd): New function, based on
784 gdb_target_cmd. Use -target-select.
785 (mi_gdb_file_cmd): New function, broken out from mi_gdb_load.
786 Download binaries to the host. Clear last_mi_remote_file when
787 we load a new binary.
788 (mi_gdb_load): Call mi_gdb_file_cmd. If gdbserver.exp is loaded,
789 call gdbserver_gdb_load and mi_gdb_target_cmd.
790
32c70722
MC
7912004-01-17 Michael Chastain <mec.gnu@mindspring.com>
792
793 * gdb.cp/templates.exp: Accept more spaces with "<foo, ?bar>"
794 type patterns.
795
b0cecf36
MC
7962004-01-17 Michael Chastain <mec.gnu@mindspring.com>
797
798 * gdb.cp/templates.exp: Fix typo in test name of
799 "print Foo<volatile char*>::foo".
800
4120d7e6
MC
8012004-01-15 Michael Chastain <mec.gnu@mindspring.com>
802
803 * gdb.base/setvar.exp: Remove setup_xfail for hppa*-*-*11*.
804
f679e530
BE
8052004-01-16 Ben Elliston <bje@wasabisystems.com>
806
807 * gdb.arch/Makefile.in (MISCELLANEOUS): Remove.
808 (clean mostlyclean): Remove empty rm.
809
091c48f6
MC
8102004-01-15 Michael Chastain <mec.gnu@mindspring.com>
811
812 * gdb.base/setvar.exp: Add copyright years.
813
3e5fc8d2
DC
8142004-01-14 David Carlton <carlton@bactrian.org>
815
816 * gdb.cp/rtti.exp: Update copyright. KFAIL test with repect to
817 PR c++/1511 and update coment.
818 * gdb.cp/templates.exp: Update patterns to match current output.
819 If changes involve something other than whitespace, KFAIL
820 w.r.t. PR c++/1512 or PR c++/931 as appropriate.
821
63d06c5c
DC
8222004-01-14 David Carlton <carlton@kealia.com>
823
824 * gdb.cp/namespace.exp: Add tests involving classes defined within
825 namespaces.
826 * gdb.cp/namespace.cc (C::CClass): New.
827 * gdb.cp/namespace1.cc (C::OtherFileClass): New.
828
a51dab88
EZ
8292004-01-14 Elena Zannoni <ezannoni@redhat.com>
830
831 * gdb.base/sepdebug.exp: Bail out of the test if we don't know
832 what debug info we have. Print a better message if something goes
833 wrong while producing the separate debug info file.
834
a476ccc9
MC
8352004-01-14 Michael Chastain <mec.gnu@mindspring.com>
836
837 * gdb.base/callfuncs.c: Remove explicit declaration of malloc.
838
f453692c
MC
8392004-01-14 Michael Chastain <mec.gnu@mindspring.com>
840
841 * gdb.base/callfuncs.c: Add copyright notice.
842
f40063a5
MC
8432004-01-13 Michael Chastain <mec.gnu@mindspring.com>
844
845 * gdb.cp/derivation.exp: Add XFAIL for bug with protected
846 inheritance. PR gdb/1498, PR gcc/13539.
847
19ac3974
EZ
8482004-01-13 Elena Zannoni <ezannoni@redhat.com>
849
850 * gdb.threads/gcore-thread.exp: Prefix name of binary with
851 test specific name.
852 * gdb.mi/gdb669.exp: Ditto.
853 * gdb.mi/mi-pthreads.exp: Ditto.
854 * gdb.mi/mi1-pthreads.exp: Ditto.
855 * gdb.mi/mi2-pthreads.exp: Ditto.
856
56c97c6e
MC
8572004-01-12 Michael Chastain <mec.gnu@mindspring.com>
858
859 * gdb.cp/member-ptr.cc: Add copyright notice.
860
a0644324
MC
8612004-01-12 Michael Chastain <mec.gnu@mindspring.com>
862
863 * gdb.cp/member-ptr.exp: Use gdb_test, gdb_test_multiple. Add
864 some patterns for recent versions of gcc and hpacc. Delete
865 calls to setup_xfail for hppa*-*-*. Delete redundant tests.
866 Delete tests that access a NULL pointer-to-member-data. This
867 script is still disabled for gcc.
868
32fabe09
EZ
8692004-01-12 Elena Zannoni <ezannoni@redhat.com>
870
871 * gdb.mi/mi2-basics.exp: Make sure that full pathnames are
872 escaped correctly.
873
1f8a6abb
EZ
8742004-01-12 Elena Zannoni <ezannoni@redhat.com>
875
876 * gdb.base/sepdebug.exp: New file.
877 * gdb.base/sepdebug.c: New file.
878 * lib/gdb.exp (separate_debug_filename): New procedure.
879 (gdb_gnu_strip_debug): New procedure.
880
48efe704
AC
8812004-01-12 Andrew Cagney <cagney@redhat.com>
882
883 * gdb.mi/ChangeLog: Delete file. Renamed to ...
884 * gdb.mi/ChangeLog-1999-2003: New file.
885
a9415475
AC
8862004-01-12 Andrew Cagney <cagney@redhat.com>
887
888 * gdb.base/fileio.exp: Update copyright year. On GNU/Linux, for
889 "Renaming a directory to a non-empty directory returns ENOTEMPTY
890 or EEXIST", treat EBUSY as an XFAIL.
891
83b8cf9d
MC
8922004-01-11 Michael Chastain <mec.gnu@mindspring.com>
893
894 * gdb.base/scope.exp: Remove obsolete setup_xfail for
895 hp_cc_compiler.
896
9939d2a8
MC
8972004-01-10 Michael Chastain <mec.gnu@mindspring.com>
898
899 * gdb.cp/classes.exp: Remove old "(obsolescent gcc or gdb)"
900 decorations.
901
1ff8cadf
MC
9022004-01-10 Michael Chastain <mec.gnu@mindspring.com>
903
904 * gdb.cp/virtfunc.exp: Remove old "(obsolescent gcc or gdb)"
905 and "(aCC)" decorations. Remove obsolete doco about old
906 test results.
907
6fa9022e
MC
9082004-01-09 Michael Chastain <mec.gnu@mindspring.com>
909
910 * gdb.cp/exception.exp: Fix typo in doco.
911
209721fe
MK
9122004-01-09 Mark Kettenis <kettenis@gnu.org>
913
914 * gdb.base/gdb1476.exp: Fix typo.
915
ef11303e
MC
9162004-01-09 Michael Chastain <mec.gnu@mindspring.com>
917
918 * gdb.hp/gdb.aCC/exception.exp: Re-create as a nearly empty
919 file.
920
041ab88c
MC
9212004-01-09 Michael Chastain <mec.gnu@mindspring.com>
922
923 * gdb.cp/exception.cc: Change <iostream.h> to <iostream>.
924 * gdb.cp/exception.exp: Use gdb test, gdb_test_multiple.
925 Use gdb_compile. Remove restriction on gcc. Add some patterns
926 for recent version of gdb. Delete second half, which was a copy
927 of the first half with different build flags. This test is
928 still disabled because it is still not ready for production.
929
e36d075a
MC
9302004-01-08 Michael Chastain <mec.gnu@mindspring.com>
931
932 * gdb.cp/exception.cc: Add copyright notice.
933 * gdb.cp/exception.exp: Add a notice that this file is broken
934 because of line number changes caused by addition of copyright
935 notice.
936
42b190ad
MC
9372004-01-08 Michael Chastain <mec.gnu@mindspring.com>
938
939 * gdb.cp/exception.cc: Renamed from gdb.hp/gdb.aCC/exception.cc.
940 * gdb.cp/exception.exp: Renamed from gdb.hp/gdb.aCC/exception.exp.
941
8f25f06b
MC
9422004-01-08 Michael Chastain <mec.gnu@mindspring.com>
943
944 * gdb.cp/classes.exp: Accept gnu abi 2.
945 * gdb.cp/derivation.exp: Likewise.
946 * gdb.cp/overload.exp: Likewise.
947 * gdb.cp/virtfunc.exp: Likewise.
948
06ded8b8
MC
9492004-01-08 Michael Chastain <mec.gnu@mindspring.com>
950
951 * gdb.mi/pthreads.c (done_making_threads): Remove extraneous
952 semicolon after end of function.
953
77c26ae3
MC
9542004-01-07 Michael Chastain <mec.gnu@mindspring.com>
955
956 * gdb.cp/bs15503.cc: Include <iostream>, not <iostream.h>.
957 * gdb.cp/bs15503.exp: Remove hp-only restriction. Use modern
958 boilerplate code for compiling and running the program under
959 test. Add some string method tests.
960
20757486
MC
9612004-01-07 Michael Chastain <mec.gnu@mindspring.com>
962
963 * gdb.cp/bs15503.cc: Add copyright notice.
964 * gdb.cp/bs15503.exp: Adjust line number.
965
0fd3b503
MC
9662004-01-07 Michael Chastain <mec.gnu@mindspring.com>
967
968 * gdb.hp/gdb.defects/bs15503.exp: Renamed to gdb.cp/bs15503.exp.
969 * gdb.hp/gdb.defects/bs15503.cc: Renamed to gdb.cp/bs15503.cc.
970
10d1bea8
MC
9712004-01-07 Michael Chastain <mec.gnu@mindspring.com>
972
973 * gdb.base/funcargs.exp: Remove obsolete setup_xfail for
974 hp_cc_compiler.
975
2789202a
MC
9762004-01-07 Michael Chastain <mec.gnu@mindspring.com>
977
978 * gdb.cp/cttiadd.c: Add a marker for gdb_get_line_number.
979 * gdb.cp/ctti.exp: Use the marker instead of "next".
980 With gcc, run further before bailing.
981
b862f14c
MC
9822004-01-07 Michael Chastain <mec.gnu@mindspring.com>
983
984 * gdb.cp/cttiadd.cc: Add copyright notice.
985 * gdb.cp/cttiadd1.cc: Likewise.
986 * gdb.cp/cttiadd2.cc: Likewise.
987 * gdb.cp/cttiadd3.cc: Likewise.
988
96da2469
MC
9892004-01-07 Michael Chastain <mec.gnu@mindspring.com>
990
991 * gdb.cp/ctti.exp: Partial rewrite. Call gdb_compile properly.
992 Use gdb_test, gdb_test_multiple. Use floating-point values that
993 have exact representations in IEEE-ish formats.
994
053248ff
MC
9952004-01-07 Michael Chastain <mec.gnu@mindspring.com>
996
997 * gdb.base/constvars.exp: Do not force lang=c++ if using HP
998 compilers. Delete duplicate call to get_compiler_info.
999 (local_compiler_xfail_check): setup_xfail if $hp_cc_compiler.
1000 * gdb.base/volatile.exp: Likewise.
1001
84acecdd
MK
10022004-01-07 Mark Kettenis <kettenis@gnu.org>
1003
1004 * gdb.base/gdb1476.exp: Only run the tests if we can't read the
1005 memory at address 0.
1006
fe11a27f
MC
10072004-01-07 Michael Chastain <mec.gnu@mindspring.com>
1008
1009 * gdb.stabs/weird.exp: Use hp_cc_compiler and hp_aCC_compiler
1010 to test for hp-ux assembler. Fix copyright years.
1011
60ad077b
AC
10122004-01-07 Andrew Cagney <cagney@redhat.com>
1013
1014 * gdb.base/fileio.c (strerrno): Add "EBUSY".
1015
1c9b8f33
AC
10162004-01-07 Andrew Cagney <cagney@redhat.com>
1017
1018 * gdb.base/fileio.c (test_open): Do not pass S_IWUSR to "open"
1019 when creating the read-only file. From analysis by Roland McGrath
1020 and Elena Zannoni.
1021
753ccc7a
MC
10222004-01-06 Michael Chastain <mec.gnu@mindspring.com>
1023
1024 * gdb.cp/namespace.exp: Call get_compiler_info with "c++".
1025
eca3e36b
MC
10262004-01-06 Michael Chastain <mec.gnu@mindspring.com>
1027
1028 * gdb.base/cvexpr.c: Be type-safe with function pointers and
1029 data pointers.
1030
f8d4bac4
MC
10312004-01-06 Michael Chastain <mec.gnu@mindspring.com>
1032
1033 * gdb.cp/m-static.exp: Compile one source file at a time.
1034 Delete unused call to get_compiler_info.
1035
9b4e0f94
MC
10362004-01-06 Michael Chastain <mec.gnu@mindspring.com>
1037
1038 * gdb.base/call-ar-st.exp: Delete explicit reference to ${binfile}.ci.
1039 * gdb.base/call-rt-st.exp: Likewise.
1040 * gdb.base/nodebug.exp: Likewise.
1041 * gdb.base/volatile.exp: Likewise.
1042 * gdb.cp/ref-types.exp: Likewise.
1043 * gdb.cp/templates.exp: Likewise.
1044
023c1024
MK
10452004-01-05 Mark Kettenis <kettenis@gnu.org>
1046
1047 * gdb.base/gdb1476.exp, gdb.base/gdb1476.c: New files.
1048
19703c4a
MC
10492004-01-05 Michael Chastain <mec.gnu@mindspring.com>
1050
1051 * gdb.cp/funcargs.exp: Delete special timeout of 240 seconds for
1052 hppa*-hp-hpux*.
1053
18b67037
MK
10542004-01-04 Mark Kettenis <kettenis@gnu.org>
1055
ba6219c8
MK
1056 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
1057 x86_64-*-*.
1058
18b67037
MK
1059 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
1060 sparc64-*-* and sparc*-solaris2*.
1061
1bfbbb9d
MK
10622004-01-04 Mark Kettenis <kettenis@gnu.org>
1063
1064 * gdb.base/structs.exp: Remove ${testfile} from "zed L<n> for
1065 return ${tests}" test. The ${tests} already mentions the
1066 filename.
1067
06846494
MC
10682004-01-02 Michael Chastain <mec.gnu@mindspring.com>
1069
1070 * gdb.cp/local.exp: Accept gcc abi 2.
1071
3b0cb202
MC
10722004-01-02 Michael Chastain <mec.gnu@mindspring.com>
1073
1074 * gdb.cp/templates.exp: Accept gcc abi 2.
1075
0643ec3f
MC
10762004-01-02 Michael Chastain <mec.gnu@mindspring.com>
1077
1078 * lib/compiler.cc: Remove supports_template_debugging.
1079 * gdb.cp/templates.exp: Do not test supports_template_debugging.
1080
d231d0b1
MC
10812004-01-01 Michael Chastain <mec.gnu@mindspring.com>
1082
1083 * gdb.cp/namespace.exp: Accept gcc abi 2.
1084
44ffb27c
MC
10852004-01-01 Michael Chastain <mec.gnu@mindspring.com>
1086
1087 * gdb.cp/method.exp: Accept gcc abi 2.
1088
184ad485
MC
10892004-01-01 Michael Chastain <mec.gnu@mindspring.com>
1090
1091 * gdb.cp/classes.exp: Generate identical results as old version.
1092 * gdb.cp/derivation.exp: Likewise.
1093 * gdb.cp/overload.exp: Likewise.
1094 * gdb.cp/virtfunc.exp: Likewise.
1095
116f09e7
MC
10962004-01-01 Michael Chastain <mec.gnu@mindspring.com>
1097
1098 * gdb.cp/virtfunc.exp: Modify some patterns to avoid a
1099 mysterious bug with sourceware version of expect.
1100
b1379776
MC
11012004-01-01 Michael Chastain <mec.gnu@mindspring.com>
1102
1103 * gdb.cp/overload.exp: Rewrite. Clean up patterns to match
1104 current versions of gcc, including gcc abi 2. Remove gratuitous
1105 restart of test program. Use gdb_test_multiple and gdb_test for
1106 all tests. Add patterns to xfail missing "const" in "const char *"
1107 and kfail PR gdb/1155.
1108
6b7a4c0e
MC
11092004-01-01 Michael Chastain <mec.gnu@mindspring.com>
1110
1111 * gdb.cp/derivation.exp: Rewrite. Clean up patterns to match
1112 current versions of gcc, including gcc abi 2. Remove gratuitous
1113 restart of test program. Use gdb_test_multiple and gdb_test for
1114 all tests. Add patterns to kfail PR gdb/1498.
1115
51615d72
MC
11162003-12-31 Michael Chastain <mec.gnu@mindspring.com>
1117
1118 * gdb.cp/virtfunc.exp: Rewrite. Clean up patterns to match
1119 current versions of gcc, including gcc abi 2. Use "breakpoint"
1120 and "continue" instead of restarting the target program. Use
1121 gdb_test_multiple and gdb_test for all tests.
1122
7b79a9d7
MK
11232004-01-01 Mark Kettenis <kettenis@gnu.org>
1124
1125 * gdb.asm/asm-source.exp: Update copyright year. Link statically
1126 for *-*-solaris2*.
1127
1cd3489f
MC
11282003-12-31 Michael Chastain <mec.gnu@mindspring.com>
1129
1130 * gdb.cp/classes.exp: Rewrite. Clean up patterns to match
1131 current versions of gcc, including gcc abi 2. Use "breakpoint"
1132 and "continue" instead of restarting the target program several
1133 times. Use gdb_test_multiple and gdb_test for all tests.
1134
850742db
MC
11352003-12-18 Michael Chastain <mec.gnu@mindspring.com>
1136
1137 * gdb.base/sect-cmd.exp: Handle compiling test case from multiple
1138 source files.
1139
eb4bbda8
MC
11402003-12-16 Michael Chastain <mec.gnu@mindspring.com>
1141
1142 * gdb.base/environ.exp: Handle compiling test case from multiple
1143 source files.
1144
e42c7771
MC
11452003-12-16 Michael Chastain <mec.gnu@mindspring.com>
1146
1147 * gdb.base/structs.exp: Call gdb_exit as well as gdb_start.
1148
80e4b428
JB
11492003-12-17 Jim Blandy <jimb@redhat.com>
1150
5f06973a
JB
1151 * gdb.base/freebpcmd.c: Add copyright notice.
1152
80e4b428
JB
1153 * gdb.base/freebpcmd.exp: Mark the interesting failure as known.
1154
0ab84fb7
MC
11552003-12-16 Michael Chastain <mec.gnu@mindspring.com>
1156
1157 * gdb.base/maint.exp: Add generic FAIL patterns to prevent timeouts.
1158
1b3bb3d0
JB
11592003-12-13 Jim Blandy <jimb@redhat.com>
1160
1161 * gdb.base/freebpcmd.exp, gdb.base/freebpcmd.c: New test.
1162
3a4c9371
KB
11632003-12-12 Kevin Buettner <kevinb@redhat.com>
1164
1165 * gdb.asm/frv.inc: New file.
1166 * gdb.asm/asm-source.exp: Add frv-*-* as a supported target.
1167
a1dea79a
FF
11682003-12-09 Fred Fish <fnf@redhat.com>
1169
1170 * gdb.base/break.c (marker1, marker2, marker3, marker4): Move
1171 functions to break1.c and leave prototypes behind. Add more
1172 "set breakpoint NN here" comments.
1173 * gdb.base/break1.c: New file.
1174
1175 * gdb.base/break.exp: Handle compiling test case from multiple
1176 source files and change source file references as needed.
1177 * gdb.base/completion.exp: Ditto.
1178 * gdb.base/condbreak.exp: Ditto.
1179 * gdb.base/define.exp: Ditto.
1180 * gdb.base/ena-dis-br.exp: Ditto.
1181 * gdb.base/info-proc.exp: Ditto.
1182 * gdb.base/maint.exp: Ditto.
1183 * gdb.base/until.exp: Ditto.
1184
1185 * gdb.base/condbreak.exp: Use bp_locationNN variables instead of
1186 hardcoded line numbers.
1187 * gdb.base/define.exp: Ditto.
1188 * gdb.base/ena-dis-br.exp: Ditto.
1189 * gdb.base/maint.exp: Ditto.
1190 * gdb.base/until.exp: Ditto.
1191
1192 * gdb.base/completion.exp: Use "break1" for completion tests since
1193 "break" is no longer a unique prefix.
1194
5266b69c
AC
11952003-12-06 Andrew Cagney <cagney@redhat.com>
1196
1197 * gdb.base/structs.exp (test_struct_returns): When applicable, set
1198 "return_value_unimplemented". When an unimplemented struct return
1199 architecture, report incorrect values as a KFAIL
1200
374451f0
MC
12012003-12-05 Michael Chastain <mec.gnu@mindspring.com>
1202
1203 * gdb.cp/rtti.exp: Accept new wording of warning from
1204 cp_lookup_rtti_type.
1205
ba9b20a7
MC
12062003-12-05 Michael Chastain <mec.gnu@mindspring.com>
1207
1208 Partial fix for PR testsuite/1456.
1209 * gdb.base/scope.exp (test_at_main): Replace references to
1210 gcc_compiled with calls to test_compiler_info.
1211 (test_at_foo): Likewise.
1212 (test_at_bar): Likewise.
1213
b74b6d0b
MC
12142003-12-04 Michael Chastain <mec.gnu@mindspring.com>
1215
1216 Partial fix for PR testsuite/1456.
1217 * gdb.base/so-impl-ld.exp: Replace reference to gcc_compiled with call
1218 to test_compiler_info.
1219
ccfa3402
MC
12202003-12-03 Michael Chastain <mec.gnu@mindspring.com>
1221
1222 * gdb.base/so-impl-ld.exp: Update copyright notice.
1223
f6246aba
MC
12242003-12-02 Michael Chastain <mec.gnu@mindspring.com>
1225
1226 Partial fix for PR testsuite/1456.
1227 * gdb.base/mips_pro.exp: Replace references to gcc_compiled with calls
1228 to test_compiler_info.
1229
13ae734a
MC
12302003-11-28 Michael Chastain <mec.gnu@mindspring.com>
1231
1232 * gdb.objc/objcdecode.exp: Match and KFAIL the output that comes
1233 from current versions of gdb. Clean up regular expressions.
1234 Delete redundant timeout case.
1235
d8e1cdee
MC
12362003-11-28 Michael Chastain <mec.gnu@mindspring.com>
1237
1238 * gdb.objc/nondebug.exp: Match and KFAIL the output that comes
1239 from current versions of gdb. Clean up regular expressions.
1240 Delete redundant timeout case.
1241
96457b64
MC
12422003-12-01 Michael Chastain <mec.gnu@mindspring.com>
1243
1244 Partial fix for PR testsuite/1456.
1245 * gdb.base/callfuncs.exp (do_function_calls): Replace reference to
1246 gcc_compiled with call to test_compiler_info.
1247
f35309fc
MC
12482003-11-30 Michael Chastain <mec.gnu@mindspring.com>
1249
1250 Partial fix for PR testsuite/1456.
1251 * gdb.base/list.exp (test_list_function): Delete unused declaration
1252 of gcc_compiled.
1253
d7afdf9b
MC
12542003-11-29 Michael Chastain <mec.gnu@mindspring.com>
1255
1256 Partial fix for PR testsuite/1456.
1257 * gdb.base/complex.exp: Replace reference to gcc_compiled with
1258 call to test_compiler_info.
1259
71507b56
MK
12602003-11-29 Mark Kettenis <kettenis@gnu.org>
1261
1262 * gdb.asm/asm-source.exp: Initialize asm-note to "empty". Set
1263 asm-note to "netbsd" for *-*-netbsdelf* and x86_64-*-netbsd*. Use
1264 it to create the appropriate note.inc.
1265 * gdb.asm/asmsrc1.s: Include "note.inc".
1266 * gdb.asm/netbsd.inc: New file.
1267 * gdb.asm/empty.inc: New file.
1268
f81f93f7
MC
12692003-11-28 Michael Chastain <mec.gnu@mindspring.com>
1270
1271 Partial fix for PR testsuite/1456.
1272 * gdb.base/constvars.exp: Replace references to gcc_compiled with
1273 calls to test_compiler_info.
1274
9a77938e
MC
12752003-11-27 Michael Chastain <mec.gnu@mindspring.com>
1276
1277 Partial fix for PR testsuite/1456.
1278 * gdb.base/volatile.exp: Replace references to gcc_compiled with
1279 calls to test_compiler_info.
1280
e8367dc7
MK
12812003-11-27 Mark Kettenis <kettenis@gnu.org>
1282
1283 * gdb.base/structs.exp: Use i*86-*-* instead of i686-*-* as a
1284 pattern for the KFAILs.
1285
526c61ee
AF
12862003-11-25 Adam Fedor <fedor@gnu.org>
1287
1288 * gdb.objc/objcdecode.exp: Test for PR objc/1238.
1289 * gdb.objc/objcdecode.m: New file.
1290
28f2d600
AF
12912003-11-25 Adam Fedor <fedor@gnu.org>
1292
1293 * gdb.objc/nondebug.exp: Test for PR objc/1236.
1294 * gdb.objc/nondebug.m: New file.
1295
a3895cee
BE
12962003-11-26 Ben Elliston <bje@wasabisystems.com>
1297
1298 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
1299 NetBSD as it does on FreeBSD. Modelled on a similar change by
1300 Mark Kettenis on 2003-05-30.
1301 (link-flags): Set to "--entry _start" regardless of target.
1302 Special linker flags are to be appended to $link-flags.
1303 * gdb.asm/mips.inc (gdbasm_startup): Remove __start label.
1304
c9f2c8a3
MC
13052003-11-25 Michael Chastain <mec.gnu@mindspring.com>
1306
1307 * gdb.cp/method.exp: Accept output of new demangler.
1308
15a0587a 13092003-11-25 Michael Chastain <mec.gnu@mindspring.com>
f4e8b6f3
MC
1310
1311 * gdb/class2.exp: New file.
1312 * gdb/class2.cc: New file.
1313
3c00b570
MC
13142003-11-25 Michael Chastain <mec.gnu@mindspring.com>
1315
1316 * gdb.cp/templates.exp (test_ptype_of_templates): Accept output
1317 of new demangler.
1318
7027acc7
MK
13192003-11-23 Mark Kettenis <kettenis@gnu.org>
1320
1321 * gdb.arch/i386-unwind.exp: Use gdb_run_cmd and gdb_expect instead
1322 of gdb_test "run".
1323
b0e1598a
MK
13242003-11-23 Mark Kettenis <kettenis@gnu.org>
1325
1326 * gdb.arch/i386-unwind.exp: Don't use runto_main. Change
1327 "continue" into "run".
1328
4d9eda44
MC
13292003-11-23 Michael Chastain <mec.gnu@mindspring.com>
1330
1331 Partial fix for PR testsuite/1456.
1332 * gdb.cp/ambiguous.exp: Replace reference to gcc_compiled with
1333 call to test_compiler_info.
1334 * gdb.cp/ctti.exp: Likewise.
1335 * gdb.cp/derivation.exp: Likewise.
1336 * gdb.cp/member-ptr.exp: Likewise.
1337 * gdb.cp/virtfunc.exp (test_virtual_calls): Remove unused
1338 reference to gcc_compiled.
1339
13402003-11-23 Michael Chastain <mec.gnu@mindspring.com>
b729099e
MC
1341
1342 Fix PR testsuite/1463.
1343 * gdb.base/structs.exp (start_structs_test): Call
1344 get_debug_format before using the debug format.
1345
d422fe19
AC
13462003-11-22 Andrew Cagney <cagney@redhat.com>
1347
1348 * lib/gdb.exp (gdb_test_multiple): Add simple example.
1349 * gdb.base/structs.exp: Use gdb_test_multiple.
1350
039cf96d
AC
13512003-11-20 Andrew Cagney <cagney@redhat.com>
1352
6882279b
AC
1353 * gdb.base/structs.exp: Handle and recover from internal errors.
1354 Replace "foo${n}" with "foo<n>" in test messages.
1355
e53890ae
AC
1356 * gdb.base/structs.exp: Update copyright. Rewrite.
1357 * gdb.base/structs.c: Update copyright. Rewrite.
1358
2b211c59
AC
1359 * lib/gdb.exp (gdb_internal_error_resync): Issue a perror when the
1360 resync count exceeded.
d63a86f8 1361
039cf96d
AC
1362 * gdb.base/maint.exp: Use gdb_internal_error_resync to recover
1363 from the internal error.
1364 * lib/gdb.exp (gdb_internal_error_resync): New procedure.
1365 Original from Jim Blandy.
1366 (gdb_test_multiple): Use gdb_internal_error_resync.
2b211c59 1367
eac98b22
AC
13682003-11-19 Andrew Cagney <cagney@redhat.com>
1369
1370 * gdb.base/callfuncs.exp: Change the XFAILed descriptor test to a
1371 KFAIL.
1372
67455b2a
MK
13732003-11-17 Mark Kettenis <kettenis@gnu.org>
1374
1375 New testcase for PR backtrace/1435.
1376 * gdb.arch/i386-unwind.exp: New file.
1377 * gdb.arch/i386-unwind.c: New file.
1378
853d6e5b
AC
13792003-11-17 Andrew Cagney <cagney@redhat.com>
1380
1381 * lib/gdb.exp (compiler_info): New global.
1382 (test_compiler_info): New function.
1383 (get_compiler_info): Set compiler_info.
1384 * lib/compiler.c, lib/compiler.cc: Add copyright. When GNUC, set
1385 "compiler_info" to gcc-<major>-<minor>.
1386
38cf6e11
MC
13872003-11-15 Michael Chastain <mec.gnu@mindspring.com>
1388
1389 * gdb.trace/configure: Remove.
1390
a50d3602
EZ
13912003-11-13 Elena Zannoni <ezannoni@redhat.com>
1392
1393 * gdb.base/break.c: Add comments to aid finding line numbers for
d63a86f8 1394 breakpoints.
a50d3602
EZ
1395 * gdb.base/break.exp: Remove all references to explicit line
1396 numbers.
1397
d9407aaa
NC
13982003-11-11 Nick Clifton <nickc@redhat.com>
1399
1400 * gdb.base/shreloc.exp: Do not run for targets which do not
1401 support shared objects.
1402
db488fc1
CV
14032003-11-10 Corinna Vinschen <vinschen@redhat.com>
1404
1405 * gdb.base/fileio.exp: Drop tests for nointerrupts and noinferiorio.
1406 Don't run tests if nofileio flag is given.
1407
6a90a18e
EZ
14082003-11-07 Elena Zannoni <ezannoni@redhat.com>
1409
1410 * gdb.cp/annota3.exp: Make sure we can match 'Hardware watchpoint'
1411 as well as 'Watchpoint'.
1412
0b915e9c
EZ
14132003-11-06 Elena Zannoni <ezannoni@redhat.com>
1414
1415 Reported by Jim Ingham <jingham@apple.com>:
1416 * gdb.base/annota1.exp: Match at least one occurrence of the
1417 signal handler annotation.
1418
d7e4b55f
EZ
14192003-11-06 Elena Zannoni <ezannoni@redhat.com>
1420
1421 * gdb.cp/annota2.exp: Make sure we can match 'Hardware watchpoint'
1422 as well as 'Watchpoint'.
1423
2fe4e8d0
MC
14242003-11-05 Michael Chastain <mec@shout.net>
1425
1426 * gdb.mi/pthreads.c (routine): Handle early return from sleep.
1427
6ef88553
KW
14282003-11-03 Kris Warkentin <kewarken@qnx.com>
1429
1430 * gdb.arch/gdb1291.c: New test file.
1431 * gdb.arch/gdb1291.exp: New test script.
1432 * gdb.arch/gdb1431.c: New test file.
1433 * gdb.arch/gdb1431.exp: New test script.
1434
ae7dc4d8
MC
14352003-10-22 Michael Chastain <mec@shout.net>
1436
1437 * gdb.mi/pthreads.c: Add copyright notice.
1438
c39d7427
MC
14392003-10-22 Michael Chastain <mec@shout.net>
1440
1441 * gdb.threads/pthreads.c: Add copyright notice.
1442
8b7d96c1
MC
14432003-10-20 Michael Chastain <mec@shout.net>
1444
1445 * gdb.base/gdb1056.exp: New test script.
1446
d1d69fdd
DJ
14472003-10-13 Daniel Jacobowitz <drow@mvista.com>
1448
1449 * gdb.threads/killed.exp: Use gdb_run_cmd.
1450
7d605576
DJ
14512003-10-13 Daniel Jacobowitz <drow@mvista.com>
1452
1453 * gdb.base/gcore.exp: Issue an UNSUPPORTED and exit if we can't
1454 create a core file.
1455 * gdb.threads/gcore-thread.exp: Likewise.
1456
618ec112
CV
14572003-10-13 Corinna Vinschen <vinschen@redhat.com>
1458
1459 * gdb.base/call-rt-st.c (struct bit_flags_char_t): New bitfield
1460 type, based on char type.
1461 (struct bit_flags_short_t): New bitfield type, based on short type.
1462 (init_bit_flags_char): New fuction.
1463 (init_bit_flags_short): Ditto.
1464 (print_bit_flags_char): Ditto.
1465 (print_bit_flags_short): Ditto.
1466 (main): Add handling for bit_flags_char_t and bit_flags_short_t.
1467
9367a73c
MC
14682003-10-11 Michael Chastain <mec@shout.net>
1469
1470 * gdb.base/call-rt-st.exp: Update copyright year.
1471
1decf120
KI
14722003-10-10 Kei Sakamoto <sakamoto.kei@renesas.com>
1473
1474 * config/hmsirom.exp: Replace "Hitachi" with "Renesas".
1475 * gdb.disasm/sh3.s: Ditto.
1476
5445b2ae
DJ
14772003-10-07 Daniel Jacobowitz <drow@mvista.com>
1478
1479 * gdb.threads/switch-threads.exp: New test.
1480 * gdb.threads/switch-threads.c: New source file.
1481
aec24853
CV
14822003-10-07 Corinna Vinschen <vinschen@redhat.com>
1483
1484 * gdb.base/ending-run.exp: Add sh specific case.
1485
adc7428d
AC
14862003-10-06 Andrew Cagney <cagney@redhat.com>
1487
1488 * gdb.base/watchpoint.exp: Delete obsolete clear_xfail.
1489 * gdb.disasm/mn10200.exp: Delete obsolete file.
1490
c9d37158
DJ
14912003-09-29 Daniel Jacobowitz <drow@mvista.com>
1492
1493 * ChangeLog: Correct an entry command.exp -> commands.exp.
1494 * gdb.base/commands.exp (bp_deleted_in_command_test)
1495 (temporary_breakpoint_commands): Check noargs.
1496
79c2c32d
DC
14972003-09-25 David Carlton <carlton@kealia.com>
1498
1499 * gdb.cp/namespace.exp: Tweak comments. Add non-quoted versions
1500 of some print tests, where appropriate. Add tests for C::D::cd,
1501 E::ce, F::cXfX, G::XgX.
1502 * gdb.cp/namespace.cc: Add XgX, cXfX, ce.
1503
594e6d67
RE
15042003-09-25 Richard Earnshaw <rearnsha@arm.com>
1505
1506 * lib/java.exp (java_init): Import target_alias before using it.
1507
10f0d451
DC
15082003-09-25 David Carlton <carlton@kealia.com>
1509
1510 * gdb.base/corefile.exp: Delete obsolete setup_xfail.
1511
274bcba0
EZ
15122003-09-23 Elena Zannoni <ezannoni@redhat.com>
1513
d63a86f8 1514 * gdb.base/selftest.exp: Accomodate more instruction reordering
274bcba0
EZ
1515 weirdness.
1516
cdbf20f7
MC
15172003-09-17 Michael Chastain <mec@shout.net>
1518
1519 * gdb.cp/gdb1355.exp: New file.
1520 * gdb.cp/gdb1355.c: New file.
1521
71e06f80
CV
15222003-09-15 Corinna Vinschen <vinschen@redhat.com>
1523
1524 * gdb.asm/asm-source.exp: Add sh*-*-* as supported target.
1525 * gdb.asm/sh.inc: New file.
1526
5c4e30ca
DC
15272003-09-11 David Carlton <carlton@kealia.com>
1528
bd45b7af
DC
1529 * gdb.cp/namespace.exp: Add tests for namespace types.
1530 * gdb.cp/maint.exp (test_help): Test 'help maint cp namespace'.
5c4e30ca
DC
1531 (test_namespace): New.
1532
1c199746
EZ
15332003-09-11 Elena Zannoni <ezannoni@redhat.com>
1534
1535 * gdb.base/relocate.exp: Handle new gdb output at startup.
3fcf0ced 1536 * gdb.stabs/weird.exp: Ditto.
1c199746 1537
04ed252f
MC
15382003-09-08 Michael Chastain <mec@shout.net>
1539
1540 * gdb.base/gdb1250.c: Rename 'gamma' to 'my_gamma'.
1541
d8a2d9e7
MC
15422003-09-07 Michael Chastain <mec@shout.net>
1543
1544 * gdb.cp/classes.exp: Accommodate both 'syntax error' and
1545 'parse error'.
1546
161afb24
MK
15472003-09-07 Mark Kettenis <m.kettenis@osp.nl>
1548
1549 * gdb.arch/i386-prologue.exp: Add checks for saved registers.
1550
49f2741a
MC
15512003-08-30 Michael Chastain <mec@shout.net>
1552
1553 * gdb.base/selftest.exp: Remove support for m68k*-*-hpux.
1554 * gdb.gdb/observer.exp: Ditto.
1555 * gdb.gdb/xfullpath.exp: Ditto.
1556
8afa723e
MK
15572003-08-29 Mark Kettenis <kettenis@gnu.org>
1558
1559 * gdb.base/interrupt.exp: XFAIL "call function when asleep" for
1560 *-*-*bsd*.
1561
f31dfe3b
JJ
15622003-08-28 Jeff Johnston <jjohnstn@redhat.com>
1563
1564 * gdb.base/dump.exp: Skip for ia64.
1565
4630e498
JJ
15662003-08-25 Jeff Johnston <jjohnstn@redhat.com>
1567
1568 * gdb.asm/asm-source.exp: Add ia64 support.
1569 * gdb.asm/ia64.inc: New file.
1570
1105b7ef
MC
15712003-08-22 Michael Chastain <mec@shout.net>
1572
1573 * gdb.cp: New directory.
1574 * gdb.cp/*: Copy from gdb.c++/*.
1575 * gdb.c++/*: Remove.
1576 * Makefile.in: Change gdb.c++ to gdb.cp.
1577 * configure.in: Ditto.
1578 * configure: Regnerate.
1579
c945b932
MK
15802003-08-18 Mark Kettenis <kettenis@gnu.org>
1581
1582 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1338.
1583 * gdb.arch/i386-prologue.c (gdb1338): Add function.
1584
2b66634b
DJ
15852003-08-17 Daniel Jacobowitz <drow@mvista.com>
1586
1587 * mi-var-display.exp (-var-list-children weird): Accept function
1588 pointers with argument types.
1589 * mi1-var-display.exp (-var-list-children weird): Likewise.
1590 * mi2-var-display.exp (-var-list-children weird): Likewise.
1591
a356f73b
DJ
15922003-08-17 Daniel Jacobowitz <drow@mvista.com>
1593
1594 * gdb.base/annota3.exp: Add missing newline.
1595
483417b8
MC
15962003-08-06 Michael Chastain <mec@shout.net>
1597
1598 * gdb.java/jmisc1.exp: Add test for pr gdb/1322.
1599
c99c59c3
MS
16002003-08-12 Michael Snyder <msnyder@redhat.com>
1601
1602 * gdb.base/float.exp: Add test for SH.
1603
55ed7501
MK
16042003-08-10 Mark Kettenis <kettenis@gnu.org>
1605
1606 * gdb.arch/i386-prologue.c, gdb.arch/i386-prologue.exp: New files.
1607
1a371f2e
EZ
16082003-08-07 Elena Zannoni <ezannoni@redhat.com>
1609
1610 * gdb.base/completion.exp: Remove reduntant completion test
1611 on filename.
1612
e0f353ce
EZ
16132003-08-07 Elena Zannoni <ezannoni@redhat.com>
1614
1615 * gdb.base/attach.exp, gdb.base/detach.exp, gdb.base/gcore.exp,
1616 gdb.mi/mi-basics.exp, gdb.threads/gcore-thread.exp,
1617 gdb.trace/save-trace.exp: Make sure that full pathnames are
1618 escaped correctly.
1619
5710a1af 16202003-08-07 Elena Zannoni <ezannoni@redhat.com>
d63a86f8 1621
5710a1af
EZ
1622 * configure.in: Don't generate config.h from config.hin.
1623 * configure: Regenerate.
1624 * config.hin: Remove file.
1625 * gdb.mi/pthreads.c: Remove include of config.h, and other ifdefs.
1626 * gdb.threads/pthreads.c: Ditto.
1627
dcd81ce9
DJ
16282003-08-07 Daniel Jacobowitz <drow@mvista.com>
1629
1630 From Kei Sakamoto <sakamoto.kei@renesas.com>:
1631 * gdb.asm/asm-source.exp : Add -lgloss to link-flags.
1632 * gdb.asm/m32r.inc : Remove an illegal nop after bl instruction.
1633 Replace ld24 with seth/add3.
1634
6009d884
AC
16352003-08-02 Andrew Cagney <cagney@redhat.com>
1636
1637 * gdb.base/annota3.exp: New file.
1638 * gdb.base/annota3.c: New file.
1639 * gdb.c++/annota3.exp: New file.
1640 * gdb.c++/annota3.cc: New file.
1641
51514e06
MC
16422003-07-29 Michael Chastain <mec@shout.net>
1643
1644 * gdb.threads/tls.c (spin): Check errno only if sem_wait
1645 actually failed.
1646 (do_pass): Likewise.
1647 * gdb.threads/tls.exp: Always initialize no_of_threads.
1648
4ee6625b
DJ
16492003-07-27 Daniel Jacobowitz <drow@mvista.com>
1650
1651 * gdb.threads/print-threads.exp (test_all_threads): Loosen KFAIL
1652 pattern.
1653 * gdb.threads/tls-shared.exp: Don't use gdb_suppress_entire_file.
1654 * gdb.threads/tls.exp: Recognize one case of the host library not
1655 supporting TLS.
1656
225f2bf6
AC
16572003-07-27 Andrew Cagney <cagney@redhat.com>
1658
1659 * gdb.base/fileio.exp: Use SH when running commands using
1660 remote_exec.
1661
bcb27c9f
DJ
16622003-07-24 Daniel Jacobowitz <drow@mvista.com>
1663
1664 From Kei Sakamoto <sakamoto.kei@renesas.com>:
1665 * gdb.base/relocate.c (dummy): New padding array.
1666
3d67be83
MS
16672003-07-22 Michael Snyder <msnyder@redhat.com>
1668
d63a86f8 1669 * gdb.disasm/8300s.s: Fix syntax of bsr insn.
3d67be83
MS
1670
1671 * gdb.disasm/h8300s.exp : Minor changes in disassembler output require
1672 patterns to be more general, accepting old and new output.
1673 Some output chars (such as '+') also must be quoted.
d63a86f8 1674 Some addresses are displayed numerically instead of
3d67be83
MS
1675 symbolically.
1676
57ba3b85
MS
16772003-07-23 Michael Snyder <msnyder@redhat.com>
1678
686d097c
MS
1679 * gdb.base/return2.exp: Don't test long-long return.
1680
57ba3b85
MS
1681 * gdb.disasm/t01_mov.s: New file, h8300sx disassembly tests.
1682 * gdb.disasm/t01_mov.exp: Ditto.
1683 * gdb.disasm/t02_mova.s: Ditto.
1684 * gdb.disasm/t02_mova.exp: Ditto.
1685 * gdb.disasm/t03_add.s: Ditto.
1686 * gdb.disasm/t03_add.exp: Ditto.
1687 * gdb.disasm/t04_sub.s: Ditto.
1688 * gdb.disasm/t04_sub.exp: Ditto.
1689 * gdb.disasm/t05_cmp.s: Ditto.
1690 * gdb.disasm/t05_cmp.exp: Ditto.
1691 * gdb.disasm/t06_ari2.s: Ditto.
1692 * gdb.disasm/t06_ari2.exp: Ditto.
1693 * gdb.disasm/t07_ari3.s: Ditto.
1694 * gdb.disasm/t07_ari3.exp: Ditto.
1695 * gdb.disasm/t08_or.s: Ditto.
1696 * gdb.disasm/t08_or.exp: Ditto.
1697 * gdb.disasm/t09_xor.s: Ditto.
1698 * gdb.disasm/t09_xor.exp: Ditto.
1699 * gdb.disasm/t10_and.s: Ditto.
1700 * gdb.disasm/t10_and.exp: Ditto.
1701 * gdb.disasm/t11_logs.s: Ditto.
1702 * gdb.disasm/t11_logs.exp: Ditto.
1703 * gdb.disasm/t12_bit.s: Ditto.
1704 * gdb.disasm/t12_bit.exp: Ditto.
1705 * gdb.disasm/t13_otr.s: Ditto.
1706 * gdb.disasm/t13_otr.exp: Ditto.
1707
e00759ef
EZ
17082003-07-22 Elena Zannoni <ezannoni@redhat.com>
1709
1710 * gdb.threads/tls.exp :Add kfail for 'info address' case.
1711
8bc2021f
EZ
17122003-07-22 Elena Zannoni <ezannoni@redhat.com>
1713
1714 * gdb.threads/tls.c : New file.
1715 * gdb.threads/tls.exp : New file.
1716 * gdb.threads/tls-main.c : New file.
1717 * gdb.threads/tls-shared.c : New file.
1718 * gdb.threads/tls-shared.exp : New file.
1719
89320c4c
AS
17202003-07-22 Andreas Schwab <schwab@suse.de>
1721
1722 * gdb.asm/powerpc.inc (gdbasm_startup): Force alignment.
1723
180dea7c
AS
17242003-07-20 Andreas Schwab <schwab@suse.de>
1725
1726 * gdb.base/selftest.exp (do_steps_and_nexts): Add more patterns
1727 due to insn reordering.
1728
0714963c
AC
17292003-07-15 Andrew Cagney <cagney@redhat.com>
1730
1731 * gdb.asm/asm-source.exp: Do not allow "start" in the backtrace.
1732
98a23b3f
MC
17332003-07-15 Michael Chastain <mec@shout.net>
1734
1735 * gdb.base/gdb1250.exp: New file.
1736 * gdb.base/gdb1250.c: New file.
1737
27e417a2
ML
17382003-07-09 Michal Ludvig <mludvig@suse.cz>
1739
1740 * gdb.c++/templates.exp (test_ptype_of_templates): Recognize
1741 expansion of size_t to 'unsigned long', not only to 'unsigned'.
1742
8bc2021f
EZ
17432003-07-09 Elena Zannoni <ezannoni@redhat.com>
1744
1745 * gdb.threads/tls.c: New file.
1746 * gdb.threads/tls.exp: New file.
1747 * gdb.threads/tls-main.c: New file.
1748 * gdb.threads/tls-shared.c: New file.
1749 * gdb.threads/tls-shared.exp: New file.
1750
d99968dc
EZ
17512003-07-09 Elena Zannoni <ezannoni@redhat.com>
1752
1753 * gdb.base/annota1.exp: Make sure that we properly escape the
1754 full path of the source file. Xfail more permissive patterns,
d63a86f8 1755 due to a compiler debug info problem.
d99968dc 1756
83876b3b
AS
17572003-07-07 Andreas Schwab <schwab@suse.de>
1758
2705e972
AS
1759 * gdb.asm/m68k.inc: New file.
1760 * gdb.asm/asm-source.exp: Use it for m68k-*-*.
1761
83876b3b
AS
1762 * gdb.objc/basicclass.exp ("Call an Objective-C method with no
1763 arguments"): Also match negative number.
1764
1765 * gdb.base/float.exp ("info float"): Add test for m68k-*-*.
1766
3a871b37
DJ
17672003-07-03 Daniel Jacobowitz <drow@mvista.com>
1768
1769 * gdb.base/store.c (charest): New typedef.
1770 (add_char): Rename to add_charest, update.
1771 (wack_char): Rename to wack_charest, update types. Return l + r
1772 to keep r live across the call.
1773 (wack_short, wack_int, wack_long, wack_longest, wack_float)
1774 (wack_double, wack_doublest): Return l + r to keep r live across
1775 the call.
1776 * gdb.base/store.exp: Accomodate store.c changes.
1777
b2a7f303
DC
17782003-06-30 David Carlton <carlton@kealia.com>
1779
1780 * gdb.c++/maint.exp (test_invalid_name): New.
1781 (test_first_component): Add tests for invalid names.
1782
3c6cb4a1
MC
17832003-06-29 Michael Chastain <mec@shout.net>
1784
1785 * gdb.c++/inherit.exp (test_print_svi_classes): Accept gdb
1786 output of '<VTT for class>' for virtual base classes.
1787
f1c2644b
DJ
17882003-06-29 Daniel Jacobowitz <drow@mvista.com>
1789
1790 * gdb.base/completion.exp: Tab-complete "complet" instead of
1791 "compl".
1792 * gdb.base/complex.exp, gdb.base/complex.c: New files.
1793
18080350
DJ
17942003-06-29 Daniel Jacobowitz <drow@mvista.com>
1795
1796 * gdb.base/constvars.exp: Remove most xfails for GCC 3.x.
1797 * gdb.base/volatile.exp: Likewise.
1798
f56973f8
DJ
17992003-06-29 Daniel Jacobowitz <drow@mvista.com>
1800
1801 * gdb.threads/print-threads.exp (test_all_threads): Add kfail for
1802 gdb/1265.
1803
18042003-06-28 Michael Chastain <mec@shout.net>
48fe539f
DJ
1805 Daniel Jacobowitz <drow@mvista.com>
1806
1807 * gdb.base/selftest.exp (do_steps_and_nexts): Increase maximum
1808 initial line count of 'captured_main' from 26 to 32.
1809 (test_with_self): Allow xmalloc call to be interleaved with the
1810 preceding two lines.
1811
e766d4d6
JB
18122003-06-24 Joel Brobecker <brobecker@gnat.com>
1813
1814 * gdb.base/bang.exp: New testcase.
1815
f125c9a4
JB
18162003-06-23 Joel Brobecker <brobecker@gnat.com>
1817
1818 * gdb.base/langs.exp: Add some tests for the "minimal" language
1819 support.
1820
6e25beaf
EZ
18212003-06-23 Elena Zannoni <ezannoni@redhat.com>
1822
1823 * gdb.objc/basicclass.exp: Return -1 if we cannot compile
1824 the testcase.
1825
2f816dda
DJ
18262003-06-22 Daniel Jacobowitz <drow@mvista.com>
1827
1828 * gdb.base/relocate.exp: Test add-symbol-file with a variable
1829 offset.
1830
db5a5748
DJ
18312003-06-22 Daniel Jacobowitz <drow@mvista.com>
1832
1833 * gdb.c++/pr-1210.cc: New file.
1834 * gdb.c++/pr-1210.exp: New file.
1835
1df0c130
DJ
18362003-06-21 Daniel Jacobowitz <drow@mvista.com>
1837
1838 * lib/mi-support.exp (mi_run_cmd): Expect an MI response to
1839 000-exec-continue.
1840
a92feac0
MK
18412003-06-15 Mark Kettenis <kettenis@gnu.org>
1842
1843 * gdb.base/attach.exp: Use -1 for the ID of a nonexistent process
1844 on *-*-*bsd* instead of *-*-freebsd*.
1845
81a58f5b
AC
18462003-06-14 Andrew Cagney <cagney@redhat.com>
1847
1848 * gdb.base/store.exp: Test longest and doublest. Test all
1849 parameters. Weaken return statement match.
1850 * gdb.base/store.c: Add longest and doublest - aka long long and
1851 long double functions. Put all parameters into local register
1852 variables. Use negative values.
1853
b257a0d3
AC
18542003-06-14 Andrew Cagney <cagney@redhat.com>
1855
1856 * gdb.base/fileio.c: Include <errno.h>, and <sys/wait.h>. Gag
1857 -Wformat errors. Add lost line. Use WEXITSTATUS to get system
1858 exit status.
1859 * gdb.base/fileio.exp: Disable target when nointerrupts and
1860 noinferiorio, instead of limiting it to remote. Use remote_exec
1861 instead of system.
d63a86f8 1862
21c38304
JJ
18632003-06-12 Jeff Johnston <jjohnstn@redhat.com>
1864
1865 * gdb.base/float.exp: Add ia64 support.
1866
1bcdb424
CV
18672003-06-12 Corinna Vinschen <vinschen@redhat.com>
1868
1869 * gdb.base/fileio.exp: Run only on remote targets.
1870
6aeb981f
CV
18712003-06-10 Corinna Vinschen <vinschen@redhat.com>
1872
1873 * gdb.base/fileio.c: New file, testing File-I/O.
1874 * gdb.base/fileio.exp: Ditto.
1875
53df362e
RG
18762003-06-09 Raoul Gough <RaoulGough@yahoo.co.uk>
1877
1878 * gdb.base/shreloc.exp: New file, check symbol values obtained from
1879 shared objects after relocation at load time (gdb PR/1132).
1880 * gdb.base/shreloc.c, gdb.base/shreloc1.c, gdb.base/shreloc2.c:
1881 as above, part of the shared object relocation test.
1882
ffee1b46
MK
18832003-06-08 Mark Kettenis <kettenis@gnu.org>
1884
b5ca3722
MK
1885 * gdb.base/readline.exp: Add tests for operate-and-get-next with a
1886 fully filled history list.
1887 * gdb.base/gdb_history: New file.
1888
03ed860d
MK
1889 * gdb.base/signals.exp: XFAIL "continue to func1" on
1890 i*86-*-freebsd*.
1891
ffee1b46
MK
1892 * gdb.base/attach.exp: When trying to attach to a nonexistent
1893 process, make it possible to specify the PID based on the target,
1894 and do so for *-*-freebsd*.
1895
d80dbb52
RH
18962003-06-02 Richard Henderson <rth@redhat.com>
1897
1898 * gdb.base/float.exp: Add expected regexp for alpha-*-*.
1899
6dd77b81
RH
19002003-06-02 Richard Henderson <rth@redhat.com>
1901
1902 * gdb.base/selftest.exp: Next over lim_at_start initialization.
1903
f6347e16
RH
19042003-06-02 Richard Henderson <rth@redhat.com>
1905
1906 * gdb.base/dump.exp [alpha*-*-*]: Add -taso linker switch.
1907
2c161407
DJ
19082003-06-01 Daniel Jacobowitz <drow@mvista.com>
1909
1910 * gdb.asm/asm-source.exp: Dissassemble from &globalvar instead
1911 of globalvar.
1912
572eb746
MK
19132003-06-01 Mark Kettenis <kettenis@gnu.org>
1914
1915 * gdb.asm/asm-source.exp: Check for memory read errors in
1916 disassembler test on *BSD too.
1917
9e9617a5
RH
19182003-06-01 Richard Henderson <rth@redhat.com>
1919
1920 * gdb.asm/alpha.inc (gdbasm_enter): Use numeric register names
1921 for .frame.
1922 (gdbasm_call): Lose ldgp.
1923 (gdbasm_startup): Add frame information.
1924 * gdb.asm/asm-source.exp (alpha*-*): Add -no-mdebug to asm-flags.
1925
7b34ad4e
MK
19262003-05-31 Mark Kettenis <kettenis@gnu.org>
1927
1928 * gdb.base/float.exp: Expect similar output for x86_64-*-* as for
1929 i?86-*-*.
1930
10059fdf
MK
19312003-05-30 Mark Kettenis <kettenis@gnu.org>
1932
1933 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
1934 FreeBSD.
1935
acf4b816
RH
19362003-05-29 Richard Henderson <rth@redhat.com>
1937
1938 * gdb.asm/alpha.inc: New file.
1939 * gdb.asm/asm-source.exp: Use it.
1940
e9ecd949
JB
19412003-05-29 Jim Blandy <jimb@redhat.com>
1942
1943 * gdb.base/corefile.exp: Find corefiles on Linux, which names them
1944 'core.PID'.
1945
e3e5a4f3
JB
19462003-05-22 Jim Blandy <jimb@redhat.com>
1947
1948 * gdb.base/corefile.exp: Tolerate stuff after argument parens in
1949 backtrace.
d63a86f8 1950
72fe3d25
DC
19512003-05-20 David Carlton <carlton@math.stanford.edu>
1952
1953 * gdb.c++/namespace1.cc: Actually do 'cvs add' before committing
1954 this time.
1955
58da2eb2
DC
19562003-05-19 David Carlton <carlton@bactrian.org>
1957
1958 * gdb.c++/rtti.exp: New file, containing tests for PR c++/488.
1959 * gdb.c++/rtti.h, gdb.c++/rtti1.cc, gdb.c++/rtti2.cc: Ditto.
1960
1fcb5155
DC
19612003-05-19 David Carlton <carlton@bactrian.org>
1962
1963 * gdb.c++/namespace.exp: Add namespace scope and anonymous
1964 namespace tests.
1965 Bump copyright date.
1966 * gdb.c++/namespace.cc: Add anonymous namespace and namespace C.
1967 (main): Call C::D::marker2.
1968 * gdb.c++/namespace1.cc: New file.
1969
85e85163
JJ
19702003-05-14 Jeff Johnston <jjohnstn@redhat.com>
1971
1972 Roland McGrath <roland@redhat.com>
d63a86f8 1973 * gdb.threads/linux-dp.exp: Account for fact that in nptl model
85e85163
JJ
1974 there is no manager thread.
1975
a25fbfec
JJ
19762003-05-08 Jeff Johnston <jjohnstn@redhat.com>
1977
d63a86f8
RM
1978 * gdb.threads/schedlock.exp: Remove assumption that all threads
1979 will run in a particular small time slice. Also ensure we break
a25fbfec
JJ
1980 in one of the child threads rather than the main thread.
1981
be375bae
JB
19822003-05-07 Jim Blandy <jimb@redhat.com>
1983
09bf6082
JB
1984 Add support for assembly source testing on the s390x.
1985 * gdb.asm/asm-source.exp: Add a case for the s390x-*-*
1986 architecture.
1987 * gdb.asm/s390x.inc: New file.
1988
be375bae
JB
1989 * gdb.asm/asm-source.exp: Use a 'switch -glob' statement, not a
1990 succession of 'if' statements.
1991
00905d52
AC
19922003-05-05 Andrew Cagney <cagney@redhat.com>
1993
1994 * gdb.base/maint.exp: Add tests for "maint print dummy-frames".
1995
b1e29e33
AC
19962003-05-05 Andrew Cagney <cagney@redhat.com>
1997
1998 * gdb.base/watchpoint.exp: Rename CALL_DUMMY_BREAKPOINT_OFFSET to
1999 DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET in comments.
2000
e33d66ec
EZ
20012003-05-02 Elena Zannoni <ezannoni@redhat.com>
2002
2003 * gdb.base/charset.exp: Update based on new behavior of set/show
2004 charset commands.
2005
2b6fd0d8
AC
20062003-05-01 Andrew Cagney <cagney@redhat.com>
2007
2008 * gdb.asm/asm-source.exp: Check that "disassm" and "x/i" of a
2009 variable do not give memory errors.
2010
130cacce
AF
20112003-04-30 Adam Fedor <fedor@gnu.org>
2012
2013 * Makefile.in (ALL_SUBDIRS): Add gdb.objc
2014 * configure.in (AC_OUTPUT): Add gdb.objc/Makefile
2015 * gdb.objc/Makefile.in, gdb.objc/basicclass.exp,
2016 gdb.objc/basicclass.m: : New files
2017
2018 * lib/gdb.exp (gdb_compile_objc): New procedure.
2019
bea71854
DJ
20202003-04-27 Daniel Jacobowitz <drow@mvista.com>
2021
2022 * gdb.base/signals.exp: Make backtrace tests more specific.
2023
0f20eeea
DC
20242003-04-23 David Carlton <carlton@bactrian.org>
2025
2026 * gdb.c++/maint.exp (test_first_component): Add tests for
2027 'operator' in more locations.
2028
c8c4d8dc
KB
20292003-04-16 Kevin Buettner <kevinb@redhat.com>
2030
2031 * gdb.base/args.exp: Invoke gdb_load for simulator targets.
2032
3fe60e3c
EZ
20332003-04-16 Elena Zannoni <ezannoni@redhat.com>
2034
2035 * gdb.base/completion.exp: Make 'info func mark' complete on 'info
2036 func marke' instead. Update test name.
2037
9219021c
DC
20382003-04-15 David Carlton <carlton@math.stanford.edu>
2039
2040 * gdb.c++/maint.exp: New file.
2041
5dd55bdd
EZ
20422003-04-14 Elena Zannoni <ezannoni@redhat.com>
2043
2044 * gdb.threads/schedlock.c: Change type of thread function argument
2045 to long, to avoid warnings on 64-bit platforms.
2046
00890572
EZ
20472003-04-14 Elena Zannoni <ezannoni@redhat.com>
2048
2049 * gdb.base/attach.exp: Add new message from ptrace in case of
2050 attaching to nonexistent process.
d63a86f8 2051
93201743
JB
20522003-04-11 Jim Blandy <jimb@redhat.com>
2053
2054 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
2055 gdb.c++/userdef.cc: Place comments on the lines to which the
2056 marker function might return.
2057 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
2058 gdb.c++/userdef.exp: Look for those comments to check that we've
2059 returned to the right place, instead of checking line numbers.
2060
2a11c64d
EZ
20612003-04-11 Elena Zannoni <ezannoni@redhat.com>
2062
2063 * gdb.threads/pthreads.exp (test_startup): When setting a breakpoint
2064 match on sourcefile name, instead of directory name.
2065
68ab8fc5
EZ
20662003-04-10 Elena Zannoni <ezannoni@redhat.com>
2067
d63a86f8 2068 * gdb.base/completion.exp: Use string_to_regexp to match the
68ab8fc5
EZ
2069 working directory name.
2070
5624293a
JB
20712003-04-09 Jim Blandy <jimb@redhat.com>
2072
2073 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
2074 gdb.c++/userdef.exp: If GDB fails to restore the selected frame
2075 after an inferior function call, report the failure, but allow the
2076 test to continue.
2077
f1f02ee4
SC
20782003-04-05 Stephane Carrez <stcarrez@nerim.fr>
2079
2080 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
2081 with -DPROTOTYPES.
2082
6eb79af0
SC
20832003-04-05 Stephane Carrez <stcarrez@nerim.fr>
2084
2085 * gdb.base/break.exp: Revert last patch.
2086
8dfb4cf0
SC
20872003-04-04 Stephane Carrez <stcarrez@nerim.fr>
2088
2089 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
2090 with -DPROTOTYPES.
2091
ed4c619a
AC
20922003-04-02 Andrew Cagney <cagney@redhat.com>
2093
2094 * gdb.base/callfuncs.exp: Make "print add" messages unique.
2095 * gdb.base/ending-run.exp: Put spaces around "breakpoint" to stop
2096 matching directories by the name breakpoint.
2097 * gdb.base/pointers.exp: Make "ptype pppC" message consistent.
2098 Make "continue to marker1" consistent.
2099 * gdb.base/call-rt-st.exp: Make "finish out from loop_count"
2100 message consistent.
2101 * lib/gdb.exp: Put "the program is no longer running", and "the
2102 program exited" in parenthesis.
2103 * lib/mi-support.exp: Ditto.
d63a86f8 2104
4e35d5f0 21052003-04-02 Bob Rossi <bob_rossi@cox.net>
d63a86f8 2106
4e35d5f0
BR
2107 * gdb.mi/mi-file.exp: New file for -file-list-exec-source-file.
2108
71900fe8
AC
21092003-03-29 Andrew Cagney <cagney@redhat.com>
2110
2111 * gdb.base/sizeof.c (main): Print the value of '\377'.
2112 * gdb.base/sizeof.exp: Check the sign of '\377'.
2113
c0655a16
MC
21142003-03-27 Michael Chastain <mec@shout.net>
2115
2116 * gdb.base/gdb1090.exp: New file.
2117 * gdb.base/gdb1090.cc: New file.
2118
5b2a3989
JB
21192003-03-27 J. Brobecker <brobecker@gnat.com>
2120
2121 * gdb.gdb/observer.exp: New regression test.
2122
79876890
MC
21232003-03-27 Michael Chastain <mec@shout.net>
2124
2125 * gdb.base/list.exp: Remove setup_xfail_format for DWARF 1.
2126 * gdb.base/ptype.exp: Likewise.
2127
6eac95e3
CV
21282003-03-27 Corinna Vinschen <vinschen@redhat.com>
2129
2130 * gdb.c++/casts.exp: Fix startup to run also on embedded targets.
2131
e8c71839
MC
21322003-03-26 Michael Chastain <mec@shout.net>
2133
2134 * gdb.base/ptype.exp: Actually use some typedef'd types.
2135
71b10041
SC
21362003-03-21 Stephane Carrez <stcarrez@nerim.fr>
2137
2138 * gdb.asm/asm-source.exp: Set asm-arch for m6811 and m6812.
2139 * gdb.asm/m68hc11.inc: New file for HC11/HC12 macros.
2140
2512cf80
CV
21412003-03-20 Corinna Vinschen <vinschen@redhat.com>
2142
2143 * gdb.base/default.exp: Fix regular expression.
2144
0d195a4f
CV
21452003-03-20 Corinna Vinschen <vinschen@redhat.com>
2146
2147 * gdb.base/args.exp: Fix regular expression.
2148
8a2dbca8
CV
21492003-03-20 Corinna Vinschen <vinschen@redhat.com>
2150
2151 * gdb.base/help.exp: Allow Win32 child process.
2152
bf028682
CV
21532003-03-20 Corinna Vinschen <vinschen@redhat.com>
2154
2155 * gdb.base/ending-run.exp: Check for Cygwin specific wrapper function
2156 when stepping out of main().
2157
182dbe85
CV
21582003-03-20 Corinna Vinschen <vinschen@redhat.com>
2159
2160 * gdb.base/default.exp: Check for win32 specific message when calling
2161 "run" without executable.
2162
d67a6ba5
CV
21632003-03-20 Corinna Vinschen <vinschen@redhat.com>
2164
2165 * gdb.base/args.exp: Expect .exe in output.
2166
a955b5bb
CV
21672003-03-20 Corinna Vinschen <vinschen@redhat.com>
2168
2169 * gdb.asm/asm-source.exp: Add appropriate --entry linker flag for
2170 Cygwin native.
2171
bf6bad4b
AC
21722003-03-17 Andrew Cagney <cagney@redhat.com>
2173
2174 From Elena Zannoni <ezannoni@redhat.com>. Test e500 abi and
2175 vector registes.
2176 * gdb.arch/e500-regs.c, gdb.arch/e500-regs.exp: New files.
2177 * gdb.arch/e500-abi.c, gdb.arch/e500-abi.exp: New files.
2178
293e9a31
DC
21792003-03-17 David Carlton <carlton@math.stanford.edu>
2180
2181 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): New
2182 test, for PR breakpoints/38.
2183 Call test_watchpoint_and_breakpoint.
2184 * gdb.base/watchpoint.c (func3): New function.
2185 (main): Call func3.
2186
5330f2db
DC
21872003-03-04 David Carlton <carlton@math.stanford.edu>
2188
2189 * gdb.c++/templates.exp (do_tests): Accept valid const in "print
2190 Garply<Garply<char> >:: garply".
2191 (test_ptype_of_templates): KFAIL "ptype T5<int>" and "ptype t5i"
2192 with respect to PR c++/1111; note also PR c++/1113.
2193 (test_template_breakpoints): KFAIL "constructor breakpoint" with
2194 respect to PR c++/1062.
2195 KFAIL "destructor breakpoint" with respect to PR c++/1112.
2196
6ece72da
DC
21972003-03-03 David Carlton <carlton@math.stanford.edu>
2198
2199 * gdb.c++/classes.exp (test_enums): KFAIL "ptype obj_with_enum"
2200 with respect to PR c++/57.
2201 KFAIL "print (ClassWithEnum::PrivEnum) 42" with respect to PR
2202 c++/826.
2203 Create "print ('ClassWithEnum::PrivEnum') 42"; KFAIL it with
2204 respect to PR c++/57.
2205
85ca1584
DC
22062003-03-03 David Carlton <carlton@math.stanford.edu>
2207
2208 * gdb.c++/templates.exp (do_tests): Convert the KFAILs with
2209 respect to PR c++/33 into FAILs.
2210
98e9c5b8
MC
22112003-03-03 Michael Chastain <mec@shout.net>
2212
7bedbf27
MC
2213 * configure.in: Update copyright years.
2214
22152003-03-03 Michael Chastain <mec@shout.net>
2216
2217 * Makefile.in: Update copyright years.
98e9c5b8 2218
f683e100
DC
22192003-02-28 David Carlton <carlton@math.stanford.edu>
2220
2221 * gdb.c++/classes.exp (test_ptype_class_objects): Accept it if we
2222 print class instead of struct and/or superfluous protection
2223 specifiers, as long as the resulting output is equivalent to the
2224 source code.
2225 Delete FIXME from end of messages on tests that don't need
2226 fixing.
2227
a9e0cf2c
DC
22282003-02-28 David Carlton <carlton@math.stanford.edu>
2229
2230 * gdb.c++/templates.exp (do_tests): Allow const in the two
2231 Foo<volatile char *>::foo tests.
2232
e8d359df
MS
22332003-02-27 Michael Snyder <msnyder@redhat.com>
2234
d63a86f8 2235 * gdb.base/restore.c (main): Return zero, so exit code
e8d359df
MS
2236 will be consistant.
2237
0b71dc91
DC
22382003-02-26 David Carlton <carlton@math.stanford.edu>
2239
2240 * gdb.c++/templates.exp (do_tests): KFAIL the "print Foo<volatile
2241 char *>::foo" test with respect to PR c++/33. Create a new test
2242 which is identical to that one except that it doesn't put the
2243 space between the "char" and the "*"; KFAIL it, too.
2244
dd14ab43
DC
22452003-02-26 David Carlton <carlton@math.stanford.edu>
2246
2247 * gdb.c++/templates.exp (do_tests): Convert XFAILs about printing
2248 template types into either PASSes or KFAILs (corresponding to PR
2249 c++/57). Tweak indentation. Update copyright.
2250
1146c7f1
SC
22512003-02-23 Stephane Carrez <stcarrez@nerim.fr>
2252
2253 * lib/gdb.exp: Don't execute C++ tests on m6811/m6812 targets.
2254
74641dfb
MC
22552003-02-13 Michael Chastain <mec@shout.net>
2256
2257 * gdb.base/exprs.exp: Remove i960 remnants.
2258 * gdb.base/funcargs.exp: Likewise.
2259 * gdb.base/list.exp: Likewise.
2260 * gdb.base/ptype.exp: Likewise.
2261
559cd2d0
DC
22622003-02-14 David Carlton <carlton@math.stanford.edu>
2263
2264 * gdb.c++/virtfunc.exp (test_virtual_calls): Change 'print
2265 pEe->D::vg()" from XFAIL to KFAIL.
2266
c4f90d87
JM
22672003-02-13 Jason Molenda (jmolenda@apple.com)
2268
2269 * gdb.base/maint.exp: Update maint print statistics regexp to include
2270 new entries.
2271
cbc4d97c
MC
22722003-02-13 Michael Chastain <mec@shout.net>
2273
2274 * gdb.c++/inherit.exp: Remove call to get_debug_format.
2275
40f235b7
MC
22762003-02-12 Michael Chastain <mec@shout.net>
2277
2278 * gdb.c++/classes.exp: Remove setup_xfail_format for DWARF 1.
2279 * gdb.c++/inherit.exp: Likewise.
2280 * gdb.c++/cplusfuncs.exp: Remove suppression logic for DWARF 1.
2281 * gdb.c++/templates.exp: Likewise.
2282 * gdb.c++/virtfunc.exp: Likewise.
2283
c56716b0
JM
22842003-02-06 Jason Molenda (jason-cl@molenda.com)
2285
2286 * gdb.mi/mi-syn-frame.c (subroutine): Add a comment explaining
2287 why the code is written that way.
2288
070afcf8
MC
22892003-02-05 Michael Chastain <mec@shout.net>
2290
2291 * gdb.base/dump.exp: Add missing copyright line.
2292
5d0331e5
JM
22932003-02-05 Jason Molenda (jason-cl@molenda.com)
2294
f7ae6d3e 2295 * gdb.mi/mi-syn-frame.c (subroutine): Add an extra statement
5d0331e5
JM
2296 at the beginning so the breakpoint doesn't get set on the loop.
2297
92851186
MC
22982003-02-05 Michael Chastain <mec@shout.net>
2299
2300 * gdb.c++/local.exp: Relax the test for PR gdb/825 to accept
2301 output for configurations with gcc 2.95.3.
2302
cbf1e085
AC
23032003-02-05 Keith Seitz <keiths@redhat.com>
2304 Andrew Cagney <ac131313@redhat.com>
2305
2306 * gdb.mi/mi-cli.exp: New file.
d63a86f8 2307
29518e1e
MC
23082003-02-04 Michael Chastain <mec@shout.net>
2309
2310 * gdb.c++/anon-union.exp: Do not call gdb_suppress_entire_file.
2311 Call perror and then continue.
2312
5af1d5f3
MC
23132003-02-03 Michael Chastain <mec@shout.net>
2314
2315 * gdb.c++/pr-1023.cc: New file.
2316 * gdb.c++/pr-1023.exp: New file.
2317
6b549786
JB
23182003-02-05 Jim Blandy <jimb@redhat.com>
2319
2320 * gdb.c++/local.exp: Don't expect Local to be in scope in main;
2321 it's local to foobar. Check for it there, and check that it's not
2322 present in main.
2323 * gdb.c++/local.cc (marker2): New function.
2324 (foobar): Call marker1.
2325 (main): Call marker2 instead of marker1.
2326
67f16606
AC
23272003-02-04 Andrew Cagney <ac131313@redhat.com>
2328
2329 * gdb.disasm/mn10200.exp: Obsolete file.
2330 * gdb.trace/Makefile.in (clean mostlyclean): Remove mn10200.
2331 * gdb.disasm/Makefile.in (clean mostlyclean): Remove mn10200.
2332 * gdb.base/watchpoint.exp: Mark the mn10200 xfails as obsolete.
2333
1c5cb38e
DC
23342003-02-04 David Carlton <carlton@math.stanford.edu>
2335
2336 * gdb.c++/overload.exp: Test intToChar(1).
2337 * gdb.c++/overload.cc (intToChar): New.
2338 (main): Call intToChar.
2339
d1fe6965
DC
23402003-02-03 David Carlton <carlton@math.stanford.edu>
2341
2342 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): Add
2343 'might_kfail' arg.
2344 KFAIL some of the continue_to_bp_overloaded calls, according to
2345 PR c++/1025.
2346
9ba61c5d
MC
23472003-02-01 Michael Chastain <mec@shout.net>
2348
2349 * gdb.base/advance.c (marker1): New marker function.
2350 * gdb.base/advance.exp: When the 'advance' command lands on the
2351 return breakpoint, it can legitimately stop on either the
2352 current line or the next line. Accommodate both outcomes.
2353 * gdb.base/until.exp: Likewise.
2354
e7494ffb
AC
23552003-02-02 Andrew Cagney <ac131313@redhat.com>
2356
2357 2002-11-10 Jason Molenda (jason-cl@molenda.com):
2358 * gdb.mi/mi-var-child.exp: -var-list-children's CHILDREN field is
2359 now a list, not a tuple.
2360 * gdb.mi/mi-var-display.exp: Ditto.
2361 * gdb.mi/gdb792.exp: Ditto.
2362
075559bc
AC
23632003-02-01 Andrew Cagney <ac131313@redhat.com>
2364
2365 From 2002-11-09 Jason Molenda (jason-cl@molenda.com):
2366 * gdb.mi/mi-syn-frame.exp: New tests for synthetic frames in
2367 stack backtraces.
2368 * gdb.mi/mi-syn-frame.c: Part of same.
2369
2bd4c7b1
MK
23702003-02-01 Mark Kettenis <kettenis@gnu.org>
2371
2372 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
2373 gdb.mi/mi1-pthreads.exp: Return instead of calling
2374 gdb_suppress_entire_file.
2375
eabd8992
MS
23762003-02-01 Mark Salter <msalter@redhat.com>
2377
2378 * gdb.asm/arm.inc (gdbasm_startup): Clear frame pointer, not sp.
2379
71469e2f
MS
23802003-01-31 Mark Salter <msalter@redhat.com>
2381
2382 * lib/mi-support.exp (mi_gdb_load): Support remote targets.
2383 Support empty arg.
2384
38a94d44
MC
23852003-01-30 Michael Chastain <mec@shout.net>
2386
2387 * lib/gdb.exp: Revert patch of 2003-01-06, which set LC_ALL.
2388 This was a workaround for a UTF-8 bug in readline 4.3. The bug
2389 has been fixed in gdb/readline on 2003-01-09.
2390
19ea9e73
MS
23912003-01-29 Michael Snyder <msnyder@redhat.com>
2392
e8d359df
MS
2393 * gdb.base/maint.exp: Allow for leading underscore in symbol.
2394 * gdb.base/display.exp: Allow for leading underscore in symbol.
19ea9e73
MS
2395 * gdb.base/args.exp: Skip if target does not support args passing.
2396
2307bd6a
DJ
23972003-01-22 Daniel Jacobowitz <drow@mvista.com>
2398
19ea9e73 2399 * lib/gdb.exp (gdb_test_multiple): New function, cloned from
2307bd6a
DJ
2400 gdb_test. Accept a list of expect arguments as the third
2401 parameter.
2402 (gdb_test): Use it.
2403
f2dd3617
EZ
24042003-01-20 Elena Zannoni <ezannoni@redhat.com>
2405
2406 * gdb.arch/altivec-abi.exp: Set variable 'srcfile' differently, to
2407 allow for different test tree configurations. Update some
2408 tescases accordingly.
2409 * gdb.arch/altivec-regs.exp: Ditto.
2410 * gdb.asm/asm-source.exp: Ditto.
2411 * gdb.base/advance.exp: Ditto.
2412 * gdb.base/display.exp: Ditto.
d63a86f8 2413 * gdb.base/long_long.exp: Ditto.
f2dd3617
EZ
2414 * gdb.base/mips_pro.exp: Ditto.
2415 * gdb.base/overlays.exp: Ditto.
2416 * gdb.base/relocate.exp: Ditto.
2417 * gdb.base/setshow.exp: Ditto.
2418 * gdb.base/step-line.exp: Ditto.
2419 * gdb.base/step-test.exp: Ditto.
2420 * gdb.base/until.exp: Ditto.
2421 * gdb.c++/virtfunc.exp: Get rid of variable 'src'.
2422
c71cdefd
DC
24232003-01-17 David Carlton <carlton@math.stanford.edu>
2424
2425 * gdb.c++/demangle.exp (test_lucid_style_demangling): KFAIL test
2426 corresponding to PR c++/945.
2427 Update copyright.
2428
fdba05d7
DC
24292003-01-17 David Carlton <carlton@math.stanford.edu>
2430
2431 * gdb.c++/inherit.exp (test_print_mi_members): KFAIL tests
2432 corresponding to PR c++/68.
2433
24342003-01-17 David Carlton <carlton@math.stanford.edu>
d2b29e01
DC
2435
2436 * gdb.c++/cplusfuncs.exp (print_addr_2_kfail): New procedure.
2437 (test_paddr_hairy_functions): Call print_addr_2_kfail for
2438 hairyfunc5 through hairyfunc7. KFAIL for PR c++/19.
2439
c362c33a
EZ
24402003-01-15 Elena Zannoni <ezannoni@redhat.com>
2441
0fbc361c
EZ
2442 * gdb.base/break.exp: Fix change of default location, because of
2443 removal of until tests.
2444 * gdb.base/help.exp: Update test for new 'until' help message.
2445 Add test for help on 'advance'.
c362c33a
EZ
2446 * gdb.base/args.exp: Fix foobar with GDBFLAGS global.
2447
dabf8a35
MK
24482003-01-15 Mark Kettenis <kettenis@gnu.org>
2449
2450 * gdb.base/default.exp: Adapt "info float" test for recent changes
2451 to that command. Add test for "info vector".
2452 * gdb.base/float.exp: New file. Add test for "info float" that
2453 resembles the old test in gdb.base/default.exp.
2454
a1769aca
DC
24552003-01-15 David Carlton <carlton@math.stanford.edu>
2456
2457 * gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot.
2458
82025e13
EZ
24592003-01-15 Elena Zannoni <ezannoni@redhat.com>
2460
2461 * gdb.base/break.exp: Move the tests of until command from here...
2462 * gdb.base/until.exp: ... to here. New file. Add other tests.
2463 * gdb.base/advance.c: New file.
2464 * gdb.base/advance.exp: New file.
2465
8f9ab801
EZ
24662003-01-14 Elena Zannoni <ezannoni@redhat.com>
2467
2468 * gdb.base/args.c: New file.
2469 * gdb.base/args.exp: New file.
2470
9ae66589
DJ
24712003-01-14 Daniel Jacobowitz <drow@mvista.com>
2472
2473 * gdb.c++/virtfunc.exp: Remove fixed XFAIL.
2474
8d77e5c3
DJ
24752003-01-14 Daniel Jacobowitz <drow@mvista.com>
2476
2477 * gdb.threads/killed.exp: Use KFAIL for gdb/568.
2478
12d2f0a1
DJ
24792003-01-14 Daniel Jacobowitz <drow@mvista.com>
2480
2481 * gdb.base/constvars.exp: Remove two extra XFAILs. Update copyright
2482 dates.
2483
6ca37014
DJ
24842003-01-13 Daniel Jacobowitz <drow@mvista.com>
2485
2486 * gdb.c++/printmethod.exp (print virtual method): Accept "(void)".
2487
b0023472
DJ
24882003-01-13 Daniel Jacobowitz <drow@mvista.com>
2489
2490 * gdb.base/printcmds.exp: Enable setup_kfail for gdb/538
2491 (ptype &*"foo").
2492 * gdb.c++/local.exp: Enable setup_kfail for gdb/482.
2493
d6abaea5
DJ
24942002-01-13 Daniel Jacobowitz <drow@mvista.com>
2495
2496 * gdb.mi/mi-console.exp: Remove extra "(known bug)".
2497 * gdb.mi/mi1-console.exp: Likewise.
2498
dfd536a7
DJ
24992002-01-13 Daniel Jacobowitz <drow@mvista.com>
2500
2501 * gdb.mi/mi-console.exp: Add KFAIL for "Hello message (known bug)".
2502 * gdb.mi/mi1-console.exp: Likewise.
2503
a1fb14a2
DJ
25042003-01-13 Daniel Jacobowitz <drow@mvista.com>
2505
2506 * gdb.c++/overload.exp: Remove some fixed XFAILs.
2507
c4cf40b7
DJ
25082003-01-09 Daniel Jacobowitz <drow@mvista.com>
2509
2510 * gdb.base/detach.exp: New test.
2511
696d5a5b
DJ
25122003-01-09 Daniel Jacobowitz <drow@mvista.com>
2513
2514 * Makefile.in (ALL_SUBDIRS): New variable.
2515 (subdirs, clean, distclean): Use it.
2516 * gdb.arch/Makefile.in: Clean up Makefile. Remove rules for
2517 regenerating Makefile, since it is generated from the top level.
2518 * gdb.asm/Makefile.in: Likewise.
2519 * gdb.base/Makefile.in: Likewise.
2520 * gdb.c++/Makefile.in: Likewise.
2521 * gdb.disasm/Makefile.in: Likewise.
2522 * gdb.java/Makefile.in: Likewise.
2523 * gdb.mi/Makefile.in: Likewise.
2524 * gdb.threads/Makefile.in: Likewise.
2525 * gdb.trace/Makefile.in: Likewise.
2526
754533e4
DC
25272003-01-09 David Carlton <carlton@math.stanford.edu>
2528
2529 * gdb.c++/annota2.exp: KFAIL "watch triggered on a.x".
2530 Add copyright year 2003.
2531
d8b3e9ee
MC
25322003-01-06 Michael Chastain <mec@shout.net>
2533
2534 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set):
2535 When selecting a thread, 'line' and 'file' are optional.
2536 * gdb.mi/mi1-pthreads.exp: Likewise.
2537
8e9e0fe6
AS
25382003-01-06 Andreas Schwab <schwab@suse.de>
2539
2540 * lib/gdb.exp: Set LC_ALL to "C" to avoid spurious testsuite
2541 failures.
2542
b5ab8ff3
DJ
25432003-01-04 Daniel Jacobowitz <drow@mvista.com>
2544
2545 Fix PR gdb/844
2546 * lib/gdb.exp (gdb_compile): Handle "quiet" option.
2547 (gdb_compile_pthreads): Pass "quiet" to gdb_compile.
2548
2549 * gdb.threads/gcore-thread.exp: Use gdb_compile_pthreads. Return
2550 instead of calling gdb_suppress_entire_file.
2551 * gdb.threads/print-threads.exp: Likewise.
2552 * gdb.threads/schedlock.exp: Likewise.
2553
2554 * gdb.threads/killed.exp: Return instead of calling
2555 gdb_suppress_entire_file.
2556 * gdb.threads/linux-dp.exp: Likewise.
2557 * gdb.threads/pthreads.exp: Likewise.
2558
1e698235
DJ
25592003-01-04 Daniel Jacobowitz <drow@mvista.com>
2560
2561 * gdb.base/callfuncs.exp: Don't XFAIL unprototyped functions for
2562 stabs.
2563 * gdb.base/completion.exp: Allow marker1(void) as well as marker1().
2564 * gdb.base/whatis.exp: Always allow (void) after function names.
2565
147ff08c
DJ
25662003-01-04 Daniel Jacobowitz <drow@mvista.com>
2567
2568 * gdb.c++/casts.exp: Correct regexp.
2569
dc62bfc2
MK
25702003-01-04 Mark Kettenis <kettenis@gnu.org>
2571
2572 * configure.in: Call AC_CONFIG_HEADER. Don't call
2573 AC_CONFIG_SUBDIRS on gdb.arch, gdb.asm, gdb.base gdb.c++ gdb.java,
2574 gdb.disasm, gdb.mi, gdb.threads and gdb.trace. Call
2575 AC_CHECK_HEADERS on pthread.h. Put Makefiles in the
2576 aforementioned directories in the AC_OUPUT call.
2577 * config.hin: New file.
2578 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
2579 gdb.mi/mi1-pthreads.exp, gdb.threads/gcore-thread.exp,
2580 gdb.threads/killed.exp, gdb.threads/print-threads.exp,
2581 gdb.threads/pthreads.exp, gdb.threads/schedlock.exp: Make sure we
2582 pass -I$objdir instead of -I$objdir/$subdir in compilation.
2583 * gdb.arch/configure.in, gdb.arch/configure, gdb.asm/configure.in,
2584 gdb.asm/configure, gdb.base/configure.in, gdb.base/configure,
2585 gdb.c++/configure.in, gdb.c++/configure, gdb.disasm/configure.in,
2586 gdb.disasm/configure, gdb.java/configure.in, gdb.java/configure,
2587 gdb.mi/configure.in, gdb.mi/configure, gdb.mi/config.in,
2588 gdb.threads/configure.in, gdb.threads/configure,
2589 gdb.threads/config.in, gdb.trace/configure.in,
2590 gdb.trace/configure: Removed.
2591
77afa639
MC
25922003-01-03 Michael Chastain <mec@shout.net>
2593
2594 * gdb.base/miscexprs.c: Fix PR gdb/697, "buglet in
2595 testsuite/gdb.base/miscexprs.c, off-by-1 array reference".
2596
7634bb6e
DJ
25972003-01-03 Daniel Jacobowitz <drow@mvista.com>
2598
2599 * gdb.base/store.exp: Fix regular expressions.
2600
b39c905e
MK
26012002-12-28 Mark Kettenis <kettenis@gnu.org>
2602
2603 * configure.in: Rewrite.
2604 * configure: Regenerated.
2605
0a8551dd
DC
26062003-01-03 David Carlton <carlton@math.stanford.edu>
2607
2608 * gdb.base/psymtab.exp: New file.
2609 * gdb.base/psymtab1.c: Ditto.
2610 * gdb.base/psymtab2.c: Ditto.
2611
c60b7188
AF
26122002-12-23 Adam Fedor <fedor@gnu.org>
2613
2614 * gdb.base/maint.exp: Update expect output to include 'ObjC'.
2615
ee73db83
DC
26162002-12-23 David Carlton <carlton@math.stanford.edu>
2617
2618 * gdb.base/selftest.exp (do_steps_and_nexts): Allow initial brace
2619 and current_directory initialization.
2620
d6c1774e
JB
26212002-12-22 Jim Blandy <jimb@redhat.com>
2622
f0a847b8
JB
2623 * gdb.trace/tfind.exp: Pass '-O1' flag via the 'optimize' option,
2624 rather than as part of the output file name.
2625
d6c1774e
JB
2626 * gdb.base/attach.exp: There's no need to copy the test program to
2627 /tmp; that was only ever necessary on HP/UX, and this test is
2628 entirely disabled there anyway.
2629
f0708dbb
JB
26302002-12-21 Jim Blandy <jimb@redhat.com>
2631
4c2acfea
JB
2632 * gdb.c++/psmang.exp: Doc fix.
2633
f0708dbb
JB
2634 * gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: New
2635 test.
2636
9579e000
DC
26372002-12-20 David Carlton <carlton@math.stanford.edu>
2638
2639 * gdb.c++/annota2.exp: KFAIL annotate-quit.
2640
d1810171
MC
26412002-12-18 Michael Chastain <mec@shout.net>
2642
2643 * gdb.c++/annota2.exp: Add copyright year 2002.
2644
76565097
DC
26452002-12-17 David Carlton <carlton@math.stanford.edu>
2646
2647 * gdb.c++/try_catch.cc: Add marker comments.
2648 * gdb.c++/try_catch.exp: Get line numbers from marker comments.
2649 * gdb.c++/m-data.cc: Delete namespace __gnu_test.
2650 * gdb.c++/m-static.cc: Ditto.
2651 * gdb.c++/m-static1.cc: Ditto.
2652 * gdb.c++/try_catch.cc: Ditto.
2653
da81390b
JJ
26542002-12-16 Jeff Johnston <jjohnstn@redhat.com>
2655
2656 * lib/mi-support.exp (mi_reinitialize_dir): Check mi level
2657 to see whether we are using the new -environment-directory
2658 command which resets via -r or the old version of the command
2659 which may prompt the user. Part of fix for gdb/741.
2660
b304d130
AC
26612002-12-13 Andrew Cagney <ac131313@redhat.com>
2662
2663 * gdb.fortran/types.exp: Update obsolete comment.
2664 * gdb.fortran/exprs.exp: Ditto.
2665 * lib/gdb.exp: Delete obsolete code.
2666 * gdb.chill/ChangeLog, gdb.chill/Makefile.in: Delete.
2667 * gdb.chill/builtins.ch, gdb.chill/builtins.exp: Delete.
2668 * gdb.chill/callch.ch, gdb.chill/callch.exp: Delete.
2669 * gdb.chill/chexp.exp, gdb.chill/chillvars.ch: Delete.
2670 * gdb.chill/chillvars.exp, gdb.chill/configure: Delete.
2671 * gdb.chill/configure.in, gdb.chill/enum.ch: Delete.
2672 * gdb.chill/enum.exp, gdb.chill/func1.ch: Delete.
2673 * gdb.chill/gch1041.ch, gdb.chill/gch1041.exp: Delete.
2674 * gdb.chill/gch1272.ch, gdb.chill/gch1272.exp: Delete.
2675 * gdb.chill/gch1280.ch, gdb.chill/gch1280.exp: Delete.
2676 * gdb.chill/gch922.ch, gdb.chill/gch922.exp: Delete.
2677 * gdb.chill/gch981.ch, gdb.chill/gch981.exp: Delete.
2678 * gdb.chill/misc.ch, gdb.chill/misc.exp: Delete.
2679 * gdb.chill/powerset.ch, gdb.chill/powerset.exp: Delete.
2680 * gdb.chill/pr-4975-grt.ch, gdb.chill/pr-4975.ch: Delete.
2681 * gdb.chill/pr-4975.exp, gdb.chill/pr-5016.ch: Delete.
2682 * gdb.chill/pr-5016.exp, gdb.chill/pr-5020.ch: Delete.
2683 * gdb.chill/pr-5020.exp, gdb.chill/pr-5022.ch: Delete.
2684 * gdb.chill/pr-5022.exp, gdb.chill/pr-5646-grt.ch: Delete.
2685 * gdb.chill/pr-5646.ch, gdb.chill/pr-5646.exp: Delete.
2686 * gdb.chill/pr-5984.ch, gdb.chill/pr-5984.exp: Delete.
2687 * gdb.chill/pr-6292.ch, gdb.chill/pr-6292.exp: Delete.
2688 * gdb.chill/pr-6632-grt.ch, gdb.chill/pr-6632.ch: Delete.
2689 * gdb.chill/pr-6632.exp, gdb.chill/pr-8134.exp: Delete.
2690 * gdb.chill/pr-8136.ch, gdb.chill/pr-8136.exp: Delete.
2691 * gdb.chill/pr-8405.ch, gdb.chill/pr-8405.exp: Delete.
2692 * gdb.chill/pr-8742.ch, gdb.chill/pr-8742.exp: Delete.
2693 * gdb.chill/pr-8894-grt.ch, gdb.chill/pr-8894.ch: Delete.
2694 * gdb.chill/pr-8894.exp, gdb.chill/pr-9095.ch: Delete.
2695 * gdb.chill/pr-9095.exp, gdb.chill/pr-9946.ch: Delete.
2696 * gdb.chill/pr-9946.exp, gdb.chill/result.ch: Delete.
2697 * gdb.chill/result.exp, gdb.chill/string.ch: Delete.
2698 * gdb.chill/string.exp, gdb.chill/tests1.ch: Delete.
2699 * gdb.chill/tests1.exp, gdb.chill/tests2.ch: Delete.
2700 * gdb.chill/tests2.exp, gdb.chill/tuples.ch: Delete.
2701 * gdb.chill/tuples.exp, gdb.chill/xstruct-grt.ch: Delete.
2702 * gdb.chill/xstruct.ch, gdb.chill/xstruct.exp: Delete.
2703
a23b6e6a
DC
27042002-12-11 David Carlton <carlton@math.stanford.edu>
2705
2706 * gdb.c++/m-data.exp: Add test for members that shadow global
2707 variables: see PR gdb/804.
2708 * gdb.c++/m-data.cc: Ditto.
2709
6604731b
DJ
27102002-12-10 Daniel Jacobowitz <drow@mvista.com>
2711
2712 * gdb.base/foll-vfork.exp: Re-enable test on HP/UX.
2713
de46ecd7
DC
27142002-12-06 David Carlton <carlton@math.stanford.edu>
2715
2716 * gdb.base/store.c: Don't declare functions static.
2717
27e829d0
AC
27182002-12-04 Andrew Cagney <ac131313@redhat.com>
2719
2720 * gdb.base/store.exp, gdb.base/store.c: New files.
2721
92806416
DJ
27222002-12-03 Daniel Jacobowitz <drow@mvista.com>
2723
2724 * gdb.base/selftest.exp: Update for current gdb.
2725
3bcbaac5
DJ
27262002-12-03 Daniel Jacobowitz <drow@mvista.com>
2727
2728 * gdb.base/maint.exp: Only dump symbols from one source file
2729 or objfile.
2730
f4f00b1f
DJ
27312002-12-03 Daniel Jacobowitz <drow@mvista.com>
2732
2733 * gdb.base/step-test.exp: Allow MIPS to return to the line of a
2734 function call.
2735
f1c8a949
JB
27362002-11-25 Jim Blandy <jimb@redhat.com>
2737
2738 * lib/mi-support.exp (mi_delete_breakpoints): Change name of
2739 function appearing in error message.
2740
9e297a97
DJ
27412002-11-21 Daniel Jacobowitz <drow@mvista.com>
2742
2743 * gdb.base/maint.exp (help maint dump-me): Update with typo fix.
2744
1f312e79
JJ
27452002-11-08 Jeff Johnston <jjohnstn@redhat.com>
2746
d63a86f8
RM
2747 * lib/mi-support.exp (mi_gdb_start): Verify the startup message
2748 for mi1 and current mi is in correct format. New mi startup message
1f312e79
JJ
2749 should be in mi console format. This is part of fix for PR gdb/604.
2750
83c31e7d
FN
27512002-09-18 Fernando Nasser <fnasser@redhat.com>
2752
2753 * gdb.asm/asm-source.exp: Adjust patter to new disassembler routine
2754 which explicitly prints the zero offset as "+0".
2755
322b3f65
DJ
27562002-10-22 Daniel Jacobowitz <drow@mvista.com>
2757
2758 * gdb.threads/schedlock.c (args): Make unsigned.
2759
27602002-10-21 Daniel Jacobowitz <drow@mvista.com>
2761
2762 * gdb.asm/asm-source.exp: Add "mips*-*" pattern. Update line
2763 numbers. Allow "foo2|selected stack frame".
2764 * gdb.asm/asmsrc1.s: Use gdbasm_declare and gdbasm_end.
2765 * gdb.asm/asmsrc2.s: Likewise.
2766 * gdb.asm/common.inc: Define gdbasm_declare and gdbasm_end. Update
2767 comments.
2768 * gdb.asm/mips.inc: New file.
2769
5e2fe5b8
AF
27702002-10-18 Adam Fedor <fedor@gnu.org>
2771
2772 * gdb.base/default.exp: Update expected output to include 'ObjC'.
2773 * gdb.base/help.exp: Likewise.
2774
abe1a5d0
KB
27752002-10-17 Kevin Buettner <kevinb@redhat.com>
2776
2777 * gdb.base/constvars.c (struct crass, struct crisp): New structs.
2778 * gdb.base/constvars.exp (ptype crass, ptype crisp): New tests.
2779
10abb1d4
JB
27802002-10-02 Jim Blandy <jimb@redhat.com>
2781
2782 * gdb.c++/casts.cc, gdb.c++/casts.exp: New test.
2783
1f609b42
AC
27842002-10-01 Andrew Cagney <ac131313@redhat.com>
2785
2786 * mi1-basics.exp: Copy of mi1-basics.exp MIFLAGS set "-i=mi1".
2787 * mi1-break.exp, mi1-console.exp, mi1-disassemble.exp: Ditto.
2788 * mi1-eval.exp, mi1-hack-cli.exp, mi1-pthreads.exp: Ditto.
2789 * mi1-read-memory.exp, mi1-regs.exp, mi1-return.exp: Ditto.
2790 * mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp: Ditto.
2791 * mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp: Ditto.
2792 * mi1-var-cmd.exp, mi1-var-display.exp, mi1-watch.exp: Ditto.
2793
0aee02e4
AC
27942002-09-29 Andrew Cagney <ac131313@redhat.com>
2795
2796 * mi0-basics.exp, mi0-break.exp, mi0-console.exp: Delete.
2797 * mi0-disassemble.exp, mi0-eval.exp: Delete.
2798 * mi0-hack-cli.exp, mi0-read-memory.exp: Delete.
2799 * mi0-regs.exp, mi0-return.exp, mi0-simplerun.exp: Delete.
2800 * mi0-stack.exp, mi0-stepi.exp, mi0-until.exp: Delete.
2801 * mi0-var-block.exp, mi0-var-child.exp: Delete.
2802 * mi0-var-cmd.exp, mi0-var-display.exp, mi0-watch.exp: Delete.
d63a86f8 2803
6fde09ad
KB
28042002-09-27 Kevin Buettner <kevinb@redhat.com>
2805
2806 * gdb.base/annota1.exp (info break): Make directory components of
2807 path optional since not all compilers emit this debug information.
2808
2809 * gdb.base/shlib-call.exp (step inside shr2): Don't fail if first
2810 step ends up stepping out of the function instead of stopping on
2811 the epilogue.
2812
9e8aab75
KS
28132002-09-26 Keith Seitz <keiths@redhat.com>
2814
2815 * lib/insight-support.exp (gdbtk_start): Figure out where
2816 the insight executable is based on where gdb is. Use this
2817 executable to start insight instead of gdb.
2818
e36180d7
AC
28192002-09-25 Andrew Cagney <cagney@redhat.com>
2820
2821 * gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
2822
9dd34b2b
AC
28232002-09-24 Andrew Cagney <ac131313@redhat.com>
2824
2825 * gdb.gdb/complaints.exp (test_initial_complaints): Rename
2826 test_isolated_complaints.
2827 (test_empty_complaint): New function.
2828 (test_empty_complaints): New function. Check no output when no
2829 complaints.
d63a86f8 2830
dea97812
KB
28312002-09-19 Jim Blandy <jimb@redhat.com>
2832
2833 * gdb.base/charset.exp, gdb.base/charset.c: New files.
2834
54951bd7
AC
28352002-09-19 Andrew Cagney <ac131313@redhat.com>
2836
2837 * gdb.gdb/complaints.exp: New file.
2838
dec43320
AC
28392002-09-18 Andrew Cagney <ac131313@redhat.com>
2840
2841 * gdb.base/maint.exp: Check `help maint internal-warning'.
2842
e70d6e3f
DC
28432002-09-18 David Carlton <carlton@math.stanford.edu>
2844
2845 * gdb.c++/m-static.exp: Remove breakpoints depending on line
2846 numbers, and replace them by a single breakpoint after the
2847 constructors are all finished.
2848 Add test 4.
2849 * gdb.c++/m-static.cc: Add test 4.
2850 * gdb.c++/m-static.h: New file.
2851 * gdb.c++/m-static1.cc: New file.
2852
2853 * gdb.c++/printmethod.exp: New file.
2854 * gdb.c++/printmethod.cc: New file.
2855
2856 * gdb.c++/pr-574.exp: New file.
2857 * gdb.c++/pr-574.cc: New file.
2858
afb5c968
CV
28592002-09-18 Corinna Vinschen <vinschen@redhat.com>
2860
2861 * gdb.base/ending-run.exp: Add handling of "step to end of run" for
2862 embedded targets which never actually exit.
2863
31e45dee
FN
28642002-09-18 Fernando Nasser <fnasser@redhat.com>
2865
2866 * gdb.base/ending-run.exp: Properly mark "continue after exit" and
2867 "don't step after run" as unresolved or unsupported, instead of xfail.
2868
a283c5a1
CV
28692002-09-18 Corinna Vinschen <vinschen@redhat.com>
2870
2871 * gdb.base/ending-run.exp: Fix expected string for _wrap_main to
2872 allow correct handling of #ifdef UNDERSCORES from dejagnu/testglue.c.
2873 Add newline to expected string in "step out of main (status wrapper)"
2874 case.
2875
11350d2a
CV
28762002-09-18 Corinna Vinschen <vinschen@redhat.com>
2877
2878 * lib/gdb.exp (rerun_to_main): Allow restarting application.
2879 * gdb.base/ena-dis-br.exp (rerun_to_main): Eliminate.
2880
0deec7d6
TT
28812002-09-17 Tom Tromey <tromey@redhat.com>
2882
2883 * gdb.base/printcmds.exp (test_print_string_constants): Expect
2884 \000, not \0, in double-quoted string.
2885
b2b4a1b5
CV
28862002-09-14 Corinna Vinschen <vinschen@redhat.com>
2887
c9d37158 2888 * gdb.base/commands.exp: Don't expect a "Program exited normally"
b2b4a1b5
CV
2889 string after running the commands execution on breakpoint tests.
2890
1c56143a
CV
28912002-09-13 Corinna Vinschen <vinschen@redhat.com>
2892
2893 * lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.
2894
37f8da45
JB
28952002-09-12 Joel Brobecker <brobecker@gnat.com>
2896
2897 * gdb.base/call-strs.exp: Fix a small typo in one of the comments.
2898
08b468e0
KS
28992002-09-10 Keith Seitz <keiths@redhat.com>
2900
2901 * lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
2902 runto proc.
2903 (mi_run_to_main): Use mi_runto.
2904 (mi_execute_to): Renamed from mi_run_to. Changed all callers.
2905
dc360f58
KS
29062002-09-10 Keith Seitz <keiths@redhat.com>
2907
2908 * lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
2909 regexp for stopping at main. Could have multiple event notifications.
2910 Don't assume that main was declared with no parameters.
2911 (mi_next): Use mi_step_to.
2912 (mi_step): Use mi_next_to.
2913
ce3abcfb
CV
29142002-09-09 Corinna Vinschen <vinschen@redhat.com>
2915
2916 * gdb.base/default.exp: Fix expected string in `info float' test.
2917
d1f5b980
BE
29182002-09-09 Ben Elliston <bje@redhat.com>
2919
2920 * config/mips.exp: Update comments.
2921 * config/mips-idt.exp: Likewise.
2922 * config/nind.exp: Likewise.
2923 * config/slite.exp: Likewise.
2924 * config/sparclet.exp: Likewise.
2925 * config/udi.exp: Likewise.
2926 * config/vx.exp: Likewise.
2927 * config/vxworks29k.exp: Likewise.
2928
2f71430b
JB
29292002-09-05 Jim Blandy <jimb@redhat.com>
2930
2931 * gdb.threads/killed.exp: Fix test failure message.
2932
7ddebc7e
KS
29332002-09-04 Keith Seitz <keiths@redhat.com>
2934
2935 * lib/mi-support.exp: Update copyright.
2936 (mi_gdb_test): Increase the priority of the expected pattern
2937 so that it matches gdb_test.
2938
0ae67eb3
KS
29392002-09-03 Keith Seitz <keiths@redhat.com>
2940
2941 * lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
2942 Use integer comparison instead of string comparison for testing
2943 whether binary was built.
2944
38fc42c8
JB
29452002-09-03 Jim Blandy <jimb@redhat.com>
2946
2947 * gdb.threads/killed.exp, gdb.threads/killed.c: New test.
2948
b6ff0e81
JB
29492002-08-29 Jim Blandy <jimb@redhat.com>
2950
2951 * gdb.threads/pthreads.exp: Move the portable thread compilation
2952 code into a function in lib/gdb.exp, and call that from here.
2953 * lib/gdb.exp (gdb_compile_pthreads): New function.
2954
07c98896
KS
29552002-08-29 Keith Seitz <keiths@redhat.com>
2956
2957 * lib/mi-support.exp (mi_gdb_test): Add global declaration for
2958 expect_out so that callers can get at it.
2959
0312286c
DJ
29602002-08-23 Daniel Jacobowitz <drow@mvista.com>
2961
2962 * gdb.threads/print-threads.c: New file.
2963 * gdb.threads/print-threads.exp: New file.
2964 * gdb.threads/schedlock.c: New file.
2965 * gdb.threads/schedlock.exp: New file.
2966
dd039bc4
EZ
29672002-08-22 Elena Zannoni <ezannoni@redhat.com>
2968
2969 * gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
2970 not altivec.c.
2971
1f36144c
MK
29722002-08-17 Mark Kettenis <kettenis@gnu.org>
2973
2974 * gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
2975 targets. The problem should be fixed now.
2976
16057ec7 29772002-08-15 Mark Kettenis <kettenis@gnu.org>
5415e7c5
MK
2978
2979 * gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
2980 2002-07-24 change that removes final dots from error messages.
2981
3c1499ad
TT
29822002-08-13 Tom Tromey <tromey@redhat.com>
2983
2984 * gdb.base/readline.exp: New file.
2985
a20ce2c3
AC
29862002-08-01 Andrew Cagney <ac131313@redhat.com>
2987
2988 * lib/gdb.exp (gdb_expect_list): Only print one pass, fail, or
2989 supress message.
2990
db034ac5
AC
29912002-08-01 Andrew Cagney <cagney@redhat.com>
2992
2993 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL,
2994 CHILL_FOR_TARGET and CHILL_LIB.
2995 * configure.in (configdirs): Remove gdb.chill.
2996 * configure: Regenerate.
2997 * lib/gdb.exp: Obsolete references to chill.
2998 * gdb.fortran/types.exp: Ditto.
2999 * gdb.fortran/exprs.exp: Ditto.
3000
3e000b18
KB
30012002-07-30 Kevin Buettner <kevinb@redhat.com>
3002
3003 * gdb.base/shlib-call.exp (additional_flags): Conditionally
3004 set Irix-specific compile and link flags.
3005
28f4966b
KB
30062002-07-29 Kevin Buettner <kevinb@redhat.com>
3007
3008 * lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
3009 source files. The ``-o'' option doesn't work with the ``-E'' option
3010 when using the Irix compiler.
3011
46c0d5a6
DJ
30122002-07-19 Daniel Jacobowitz <drow@mvista.com>
3013
3014 * config/gdbserver.exp (gdb_load): Don't use TCL varargs.
3015 Improve support for reusing an exec file. Copy exec file
3016 to target, and run gdbserver on the target instead of on the host.
3017
eecf4bed
JB
30182002-07-18 Jim Blandy <jimb@redhat.com>
3019
0f815cdf
JB
3020 * gdb.base/ending-run.exp: Don't expect to see the program end in
3021 some orderly fashion when we're running on a real stand-alone
3022 board.
3023
eecf4bed
JB
3024 * gdb.base/interrupt.exp: Correct logic for skipping tests on
3025 targets that don't support interrupts.
3026
52d309e4
JB
30272002-07-10 Paul N. Hilfinger <hilfingr@otisco.mckusick.com>
3028
3029 * gdb.base/attach.exp: Add patterns to match output from /proc-based
3030 systems.
3031 Move comments in expect statements to inside the actions, so that they
3032 don't get matched against.
3033
ff683d9e
MK
30342002-07-10 Mark Kettenis <kettenis@gnu.org>
3035
3036 * gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
3037 function when asleep" test.
3038
b5356753
AC
30392002-07-10 Andrew Cagney <ac131313@redhat.com>
3040
3041 * gdb.base/page.exp: Rewrite to handle problems with very long
3042 `info set' output. Update copyright.
3043
6aa4d13a
AC
30442002-06-26 Andrew Cagney <ac131313@redhat.com>
3045
3046 * gdb.hp/configure.in (AC_CONFIG_SUBDIRS): Do not try to configure
3047 gdb.threads-hp.
3048 * gdb.hp/configure: Regenerate.
3049 * gdb.hp/gdb.threads-hp/configure.in: Delete file.
3050 * gdb.hp/gdb.threads-hp/configure: Delete file.
3051 * gdb.hp/gdb.threads-hp/Makefile.in: Delete file.
3052
8cf8c2b8
AC
30532002-06-22 Andrew Cagney <ac131313@redhat.com>
3054
3055 * gdb.base/selftest.exp (do_stes_and_next): Skip calls to
3056 setlocale, bindtextdomain and textdomain.
3057
6827a8f8
JB
30582002-06-11 Jim Blandy <jimb@redhat.com>
3059
919d772c
JB
3060 * lib/gdb.exp (get_debug_format): Tolerate message saying whether
3061 preprocessor macro information is present.
3062
6827a8f8
JB
3063 * macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: New
3064 tests.
3065
c15b0d21
MS
30662002-06-06 Michael Snyder <msnyder@redhat.com>
3067
c5984d70
MS
3068 * gdb.base/overlays.exp: Record addresses of overlay
3069 functions in TCL variables rather than in GDB variables,
3070 to avoid having GDB convert them to pointers (with loss
3071 of information).
3072
d63a86f8 3073 * gdb.base/d10v.ld: Merge in several years worth of
99a8512b 3074 default linker script changes.
c15b0d21
MS
3075 * gdb.base/long_long.exp: Add check for sizeof (long double).
3076
be26fe0d
ML
30772002-06-06 Michal Ludvig <mludvig@suse.cz>
3078
3079 * gdb.asm/asm-source.exp: Add x86-64 target.
3080 * gdb.asm/x86_64.inc: New.
d63a86f8 3081
258093ca 30822002-05-30 Michael Chastain <mec@shout.net>
258093ca 3083
4b3153f1 3084 From Benjamin Kosnik <bkoz@redhat.com>:
258093ca
MC
3085 * gdb.c++/m-static.cc: New file.
3086 * gdb.c++/m-static.exp: New file.
3087
241264c6
MS
30882002-05-28 Michael Snyder <msnyder@redhat.com>
3089
3090 * gdb.base/call-ar-st.exp: Allow for reduced floating point
3091 precision.
3092
9bba8c8f 30932002-05-27 Michael Chastain <mec@shout.net>
71ea1be0 3094
4b3153f1 3095 From Benjamin Kosnik <bkoz@redhat.com>:
71ea1be0
MC
3096 * gdb.c++/m-data.cc: New file.
3097 * gdb.c++/m-data.exp: New file.
3098
30992002-05-27 Michael Chastain <mec@shout.net>
9bba8c8f 3100
4b3153f1 3101 From Benjamin Kosnik <bkoz@redhat.com>:
9bba8c8f 3102 * gdb.c++/try_catch.cc: New file.
d63a86f8 3103 * gdb.c++/try_catch.exp: New file.
9bba8c8f 3104
def1b996
MC
31052002-05-27 Michael Chastain <mec@shout.net>
3106
3107 * gdb.c++/local.exp: Accept more nested types in output.
3108
522ba268
MC
31092002-05-26 Michael Chastain <mec@shout.net>
3110
3111 * gdb.base/call-rt-st.exp: Fix typo in brace quoting.
3112
277254ba
MS
31132002-05-15 Nick Clifton <nickc@cambridge.redhat.com>
3114
3115 * lib/gdb.exp (gdb_wrapper_init): Just because
3116 gdb_wrapper_file exists, this does not mean that the file
3117 should not be rebuilt. That is what gdb_wrapper_initialized
3118 is for.
3119 (default_gdb_init): Reset gdb_wrapper_initialized.
3120
b61a8733
MS
31212002-05-23 Michael Snyder <msnyder@redhat.com>
3122
d63a86f8 3123 * gdb.base/all-bin.exp: Revise previous patch by just reducing
5bdb6d01
MS
3124 the precision of the floating point test results.
3125 * gdb.base/call-rt-st.exp: Ditto.
3126
b61a8733
MS
3127 * gdb.base/all-bin.exp: Allow for reduced floating point precision.
3128 * gdb.base/call-rt-st.exp: Ditto.
3129
56f6e910
MC
31302002-05-19 Michael Chastain <mec@shout.net>
3131
3132 * gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
3133
ad0b0016
EZ
31342002-05-19 Elena Zannoni <ezannoni@redhat.com>
3135
3136 * configure.in (configdirs): Add gdb.arch.
3137 * configure: Regenerate.
3138
f617d2b6
JB
31392002-05-17 Jim Blandy <jimb@redhat.com>
3140
3141 * gdb.base/completion.exp: Recognize the more detailed error
3142 messages produced by the macro expander's lexical analyzer.
3143
eac2a696
EZ
31442002-05-14 Elena Zannoni <ezannoni@redhat.com>
3145
3146 * gdb.arch/altivec-abi.c: New file.
3147 * gdb.arch/altivec-abi.exp: New file.
3148 * gdb.arch/altivec-regs.c: New file.
3149 * gdb.arch/altivec-regs.exp: New file.
3150
2fdde8f8
DJ
31512002-05-14 Daniel Jacobowitz <drow@mvista.com>
3152
3153 * gdb.base/maint.exp (maint print type): Update for new type
3154 structure.
d63a86f8 3155
e31f1a7c
EZ
31562002-05-14 Elena Zannoni <ezannoni@redhat.com>
3157
3158 * gdb.arch: New directory.
3159 * gdb.arch/configure.in: New file.
3160 * gdb.arch/configure: New file.
3161 * gdb.arch/Makefile.in: New file.
3162
db589741
CV
31632002-05-13 Corinna Vinschen <vinschen@redhat.com>
3164
3165 * gdb.asm/asm-source.exp: Add v850 as supported target.
3166 * gdb.asm/v850.inc: New file.
3167
8ce2a7dc
DJ
31682002-05-13 Daniel Jacobowitz <drow@mvista.com>
3169
3170 * gdb.c++/annota2.exp (annotate-quit): Add comment.
3171
df763c7f
DJ
31722002-05-12 Daniel Jacobowitz <drow@mvista.com>
3173
3174 * gdb.base/break.exp: Check 'break "marker2"'.
3175
377daeed
MS
31762002-05-10 Michael Snyder <msnyder@redhat.com>
3177
3178 * gdb.base/long_long.exp: Fix typo.
3179
c4b7bc2b
JB
31802002-05-10 Jim Blandy <jimb@redhat.com>
3181
ecac9a4e
JB
3182 * gdb.base/printcmds.exp: Don't xfail the ptype command. This is
3183 a bug.
3184
c4b7bc2b
JB
3185 * gdb.base/printcmds.exp (test_integer_literals_rejected):
3186 Recognize more detailed error message produced by the macro
3187 expander's lexical analyzer.
3188 * lib/gdb.exp (test_print_reject): Same.
3189
e71019a1
MK
31902002-05-09 Mark Kettenis <kettenis@gnu.org>
3191
3192 * gdb.c++/method.exp: Fix typo.
3193
fedfc8e6
MS
31942002-05-08 Michael Snyder <msnyder@redhat.com>
3195
166a1957
MS
3196 * gdb.mi/mi-var-child.exp: Accept (void) as well as ().
3197 * gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
fedfc8e6 3198 * gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
35928259
MS
3199 * gdb.base/long_long.exp: Merge clauses for arm and xscale.
3200 Add iftarget clause for strongarm.
d63a86f8 3201
f1c47eb2
MS
32022002-05-06 Michael Snyder <msnyder@redhat.com>
3203
cb9a9d3e
MS
3204 * lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
3205 (gdb_continue_to_end): Accept output from status wrapper.
3206 * gdb.base/ending-run.exp: Add case for output from status wrapper.
3207 Clean up fail messages to match pass messages.
3208
f1c47eb2
MS
3209 Enable the "needs_status_wrapper" testsuite feature.
3210 * lib/gdb.exp (gdb_wrapper_init): New procedure.
3211 (gdb_compile): Conditionally call gdb_wrapper_init.
3212 * gdb.base/a2-run.exp: Recognize output from status wrapper.
3213 * gdb.c++/method.exp: Recognize output from status wrapper.
3214
6079c749
BE
32152002-05-06 Ben Elliston <bje@redhat.com>
3216From Graydon Hoare <graydon@redhat.com>
3217
3218 * config/sid.exp: Include support for "rawsid" protocol.
3219
188baff3
JB
32202002-05-03 Jim Blandy <jimb@redhat.com>
3221
3222 * gdb.c++/hang.exp: Check for corruption of the cv_type chain.
3223 * gdb.c++/hang3.C: New file.
3224
b9c07f0f
AC
32252002-05-04 Andrew Cagney <ac131313@redhat.com>
3226
3227 * gdb.base/default.exp: Remove obsolete code.
3228 * gdb.c++/misc.exp: Ditto. Update copyright.
3229 * gdb.c++/cplusfuncs.exp: Ditto. Update copyright.
3230 * gdb.base/whatis.exp: Ditto. Update copyright.
3231 * gdb.base/scope.exp: Ditto. Update copyright.
3232 * gdb.base/ptype.exp: Ditto. Update copyright.
3233 * gdb.base/printcmds.exp: Ditto. Update copyright.
3234 * gdb.base/opaque.exp: Ditto. Update copyright.
3235 * gdb.base/list.exp: Ditto.
3236 * gdb.base/funcargs.exp: Ditto. Update copyright.
3237 * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
3238 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
3239 * gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
3240 * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
3241 * gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
3242 * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
3243
5c7a0397
MS
32442002-05-02 Michael Snyder <msnyder@redhat.com>
3245
d6dcc264 3246 * gdb.base/watchpoint.exp: Add xscale target.
5c7a0397
MS
3247 * gdb.base/long_long.exp: Add xscale target.
3248 * gdb.base/default.exp: Add xscale target.
3249
eb7f1c48
JB
32502002-05-01 Jim Blandy <jimb@redhat.com>
3251
3252 * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
3253 gdb.c++/hang.exp: New test.
3254
a6befae8
FF
32552002-05-01 Fred Fish <fnf@redhat.com>
3256
3257 * gdb.base/completion.exp: Handle completions of "./Make" for
3258 more than one completion possibility, as is the case when we
3259 build and test in the source tree.
3260
0a310277
AG
32612002-04-29 Anthony Green <green@redhat.com>
3262
3263 * gdb.java/jmisc1.exp: New file.
3264 * gdb.java/jmisc2.exp: New file.
3265
6ff9af88
DJ
32662002-04-24 Daniel Jacobowitz <drow@mvista.com>
3267
3268 * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
3269
96b3d632
EZ
32702002-04-23 Elena Zannoni <ezannoni@redhat.com>
3271
3272 * gdb.base/help.exp: Change 'help status' to allow for target
3273 dependent output differences.
3274
5019bb54
MC
32752002-04-22 Michael Chastain <mec@shout.net>
3276
3277 * gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
3278
a805a116
MC
32792002-04-22 Michael Chastain <mec@shout.net>
3280
3281 * gdb.c++/method.exp: Fix syntax of reference to gdb/277.
3282
a1706bfd
DM
32832002-04-17 David S. Miller <davem@redhat.com>
3284
3285 * gdb.asm/sparc64.inc: New file.
3286 * gdb.asm/asm-source.exp: Handle sparc64-*-*.
3287
a73a20a2
EZ
32882002-04-19 Elena Zannoni <ezannoni@redhat.com>
3289
3290 * gdb.asm/asm-source.exp: Don't use a symlink, just copy the
3291 instruction file directly into the build tree. Clean up at end of
3292 test.
3293
ba678339
DM
32942002-04-18 David S. Miller <davem@redhat.com>
3295
3296 * gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
3297 handle 64-bit platforms correctly.
3298 * gdb.base/maint.exp: Likewise.
3299
b03399da
KB
33002002-04-18 Kevin Buettner <kevinb@redhat.com>
3301
3302 * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
3303 ``-fpic'' when compiling files comprising a shared library, but
3304 it does need additional linker flags in order to find shared
3305 libraries at run time.
3306
e2004992
KB
33072002-04-18 Kevin Buettner <kevinb@redhat.com>
3308
3309 * gdb.base/cvexpr.c (use): New function.
3310 (main): Invoke use() on all global variables to prevent
3311 some linkers from deleting these otherwise unused symbols.
3312
d8937120
MC
33132002-04-17 Michael Chastain <mec@shout.net>
3314From David S. Miller <davem@redhat.com>
3315
3316 * gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
3317 handle 64-bit platforms correctly.
3318
ffd61a58
MS
33192002-04-12 Michael Snyder <msnyder@redhat.com>
3320From Jim Blandy <jimb@redhat.com>
3321 * gdb.base/foo.c (foox): Remove section attribute; the linker
3322 script can handle this instead.
3323 * gdb.base/bar.c (barx): Same.
3324 * gdb.base/baz.c (bazx): Same.
3325 * gdb.base/grbx.c (grbxx): Same.
3326
3327 * gdb.base/overlays.exp: New test: check that GDB's manual overlay
3328 manager doesn't automatically unmap overlays unnecessarily.
3329
6b8426a6
MH
33302002-04-10 Martin M. Hunt <hunt@redhat.com>
3331
3332 * gdb.base/ending-run.exp: Fix pattern for Mips targets
3333 stepping out of main.
3334
34af4875
MC
33352002-04-09 Michael Chastain <mec@shout.net>
3336
3337 * gdb.c++/local.cc (main): Move call to marker1() inside nested
3338 scope so that the nested scope tests will make sense.
3339 * gdb.c++/local.exp: Write patterns that actually work with gcc
3340 (the HP patterns "were never known to work with gcc").
3341 Keep the old aCC patterns too.
3342
2d1676a0
DJ
33432002-04-09 Daniel Jacobowitz <drow@mvista.com>
3344
3345 * gdb.base/attach.exp: Correct target board test.
3346
3a63e3f9
MC
33472002-04-08 Michael Chastain <mec@shout.net>
3348
3349 * gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
3350 in a const method. Add some xfail and fail cases for configurations
3351 that do not emit the "const ...".
3352
f18dabd2
MC
33532002-04-07 Michael Chastain <mec@shout.net>
3354
3355 * gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
3356 Accept "A * const" and "const A * const" as type of "this".
3357 Fix spelling of getFunky throughout. Make messages uniform.
3358
0fcddd82
EZ
33592002-04-07 Elena Zannoni <ezannoni@redhat.com>
3360
3361 Work around for PR gdb/285:
3362 * gdb.asm/asm-source.exp: Bail out if multilibs are detected.
3363
16a8534a
EZ
33642002-04-07 Elena Zannoni <ezannoni@redhat.com>
3365
3366 * gdb.asm/asm-source.exp: Build symbolic link to arch specific
3367 instructions file at run time instead of configure time.
3368 Sometimes we run the test in a directory that is not the one we
3369 configured in.
3370 * gdb.asm/configure.in: Delete creation of symlink.
3371 * gdb.asm/configure: Regenerate.
3372
24181d81
JB
33732002-04-05 J. Brobecker <brobecker@gnat.com>
3374
3375 * gdb.gdb/xfullpath.exp: New test, to exercise the new
3376 xfullpath () function.
3377
7cdb7107
DJ
33782002-04-04 Daniel Jacobowitz <drow@mvista.com>
3379
3380 * gdb.asm/Makefile.in: Correct dependencies.
3381
3382 * gdb.asm/powerpc.inc: New file.
3383 * gdb.asm/asm-source.exp: Add PowerPC.
3384 * gdb.asm/configure.in: Likewise.
3385 * gdb.asm/configure: Regenerated.
3386
a7d17088
DJ
33872002-04-04 Daniel Jacobowitz <drow@mvista.com>
3388
3389 * gdb.base/relocate.exp: New file.
3390 * gdb.base/relocate.c: New file.
3391
cd721503
FF
33922002-04-04 Fred Fish <fnf@redhat.com>
3393
3394 * gdb.base/step-test.exp: Update comment regarding stopping in
3395 memcpy/bcopy calls inserted as part of the compiler runtime.
3396
b22ad7a7
MS
33972002-04-04 Michael Snyder <msnyder@redhat.com>
3398
3399 * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
3400
5f279fa6
DJ
34012002-04-03 Daniel Jacobowitz <drow@mvista.com>
3402
3403 * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
3404 (gdb_expect): Remove $notransfer hack.
3405
dd0fd3ce
DJ
34062002-04-02 Daniel Jacobowitz <drow@mvista.com>
3407
3408 * gdb.c++/classes.exp ("calling method for small class"): Match
3409 updated register output.
3410
1e50cda1
DJ
34112002-03-30 Daniel Jacobowitz <drow@mvista.com>
3412
3413 Fix PR gdb/452
3414 * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
3415 when finished. Make gdb_file_cmd send "exec-file" when
3416 appropriate.
3417
24015922
DJ
34182002-03-30 Daniel Jacobowitz <drow@mvista.com>
3419
3420 * gdb.base/attach.exp: Remove extra setup_xfail.
3421
dd7dfd64
MS
34222002-03-26 Michael Snyder <msnyder@redhat.com>
3423
3424 * gdb.base/default.exp: Add tests for dump, append, and restore.
3425 * gdb.base/help.exp: Add tests for dump, append, and restore.
3426 * gdb.base/dump.exp: New file, test dump, append and restore.
3427 * gdb.base/dump.c: New file.
3428
48b2f8d7
MS
34292002-03-27 Michael Snyder <msnyder@redhat.com>
3430
d63a86f8 3431 * gdb.base/help.exp: Modify expect strings to reflect
48b2f8d7
MS
3432 clean-ups in help messages.
3433
05b4d525
FF
34342002-03-26 Fred Fish <fnf@redhat.com>
3435
3436 * gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
3437 have debugging info for those functions and the compiler uses them
3438 internally to copy structs around.
3439
d7679631
FF
34402002-03-26 Fred Fish <fnf@redhat.com>
3441
3442 * gdb.base/list.exp: Revert the change made yesterday and add note
3443 about why we don't list the default lines for remote targets.
3444
523ac3f9
MS
34452002-03-25 Michael Snyder <msnyder@redhat.com>
3446
3447 * gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
3448
754b2b8d
FF
34492002-03-25 Fred Fish <fnf@redhat.com>
3450
3451 * gdb.base/list.exp: This test works on remote targets so remove
3452 the short circuit for remote targets. Update copyright.
3453
33c3e192
FF
34542002-03-25 Fred Fish <fnf@redhat.com>
3455
3456 * gdb.base/attach.exp: Fix logic error that was suppressing this
3457 test for all non hppa*-*-hpux* targets, instead of the hp target.
3458 Move comments closer to the suppression point. Also now need to
3459 check that we are running natively.
3460
d43e73ee
MS
34612002-03-22 Michael Snyder <msnyder@redhat.com>
3462
882c8f02
MS
3463 * gdb.base/default.exp: Add test for gcore. Update copyright.
3464 * gdb.base/help.exp: Add test for gcore. Update copyright.
d43e73ee 3465
04c12f60
FF
34662002-03-06 Fred Fish <fnf@redhat.com>
3467
3468 * gdb.base/funcargs.c: Remove extraneous ';' character.
3469 * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
3470
b43df995
MC
34712002-03-04 Michael Chastain <mec@shout.net>
3472
3473 * gdb.mi/mi-var-cmd.exp: In test "create local variable func",
3474 accommodate gcc v3 function signature.
3475 * gdb.mi/mi0-var-cmd-exp: Ditto.
3476
92362027
AC
34772002-02-24 Andrew Cagney <ac131313@redhat.com>
3478
3479 * testsuite/gdb.base/huge.c: Replace ``Linux'' with either
3480 ``GNU/Linux'' or ``Linux kernel''
3481 * testsuite/gdb.threads/pthreads.c: Ditto.
3482
258ad32d
MC
34832002-02-24 Michael Chastain <mec@shout.net>
3484
3485 * gdb.threads/pthreads.c (thread1): Add a return statement.
3486 (thread2): Likewise.
3487 (foo): Likewise.
3488
04c3b3d4
MC
34892002-02-23 Michael Chastain <mec@shout.net>
3490
3491 * gdb.threads/linux-dp.c (philosopher): Add a return statement
3492 to placate gcc.
3493
5a2a0a20
MC
34942002-02-23 Michael Chastain <mec@shout.net>
3495
3496 * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
3497 test "ptype bint". The test passes on all my stabs configurations.
3498
a640f7fc
JB
34992002-02-21 Jim Blandy <jimb@redhat.com>
3500
27924826
JB
3501 * gdb.asm/asm-source.exp: Parse the output from `info sources' one
3502 filename at a time, and watch for the ones we want to see.
3503
a640f7fc
JB
3504 * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
3505 types of pointers to prototyped functions.
3506
edcc8c75
AC
35072002-02-20 Andrew Cagney <ac131313@redhat.com>
3508
3509 * gdb.base/sizeof.c (main): Call fill_structs. Print value of
3510 signed, unsigned and straight char.
3511 (padding_char, padding_short, padding_int, padding_long,
3512 padding_long_long, padding_float, padding_double,
3513 padding_long_double): New global variables.
3514 (fill, fill_structs): New functions.
3515
3516 * gdb.base/sizeof.exp: Check for signed and unsigned char. Check
3517 for correctly sized writes. Update copyright.
3518 (get_valueof): New procedure.
3519 (get_sizeof): Call get_valueof.
3520 (check_valueof): New procedure.
3521 (check_padding): New procedure.
3522
ac57ea44
MC
35232002-02-20 Michael Chastain <mec@shout.net>
3524
3525 * gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
3526 to setup_xfail. Document some of the remaining calls.
3527
7a10c941
MC
35282002-02-18 Michael Chastain <mec@shout.net>
3529
3530 * gdb.c++/userdef.exp: Update copyright year.
3531
fb8acdcc
DJ
35322002-02-18 Daniel Jacobowitz <drow@mvista.com>
3533
3534 * gdb.c++/userdef.exp: Test overloaded operators properly.
3535 Remove xfails.
3536
fda6ae12
MS
35372002-02-14 Michael Snyder <msnyder@redhat.com>
3538
3539 * gdb.base/gcore.exp: Relax recognition of function breakpoint.
3540
676a0442
DJ
35412002-02-14 Daniel Jacobowitz <drow@mvista.com>
3542
3543 * gdb.base/a2-run.exp: Check for a remote target properly.
3544 * gdb.base/annota1.exp: Likewise.
3545 * gdb.base/list.exp: Likewise.
3546 * gdb.base/reread.exp: Likewise.
3547 * gdb.base/scope.exp: Likewise.
3548 * gdb.base/shlib-call.exp: Likewise.
3549 * gdb.base/term.exp: Likewise.
3550 * gdb.c++/annota2.exp: Likewise.
3551
78b4f468
RE
35522002-02-13 Richard Earnshaw <rearnsha@arm.com>
3553
3554 * gdb.base/watchpoint.exp: Restore previous timeout at end of test.
3555
9a81ba51
MC
35562002-02-10 Michael Chastain <mec@shout.net>
3557
3558 * gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
3559 (call_after_alloca): Ditto.
3560
004af6c7
DJ
35612002-02-10 Daniel Jacobowitz <drow@mvista.com>
3562
3563 * gdb.base/ending-run.exp: Guard "cont" test with
3564 gdb_skip_stdio_test.
3565
37225f62
JB
35662002-02-06 Jim Blandy <jimb@redhat.com>
3567
3568 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
3569 from here...
3570 * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
3571 To here. Disable this test on non-HP platforms. Add big comment.
3572
fe6fdd96
MS
35732002-02-04 Michael Snyder <msnyder@redhat.com>
3574
3575 * gdb.base/ovlymgr.c (ovly_copy): Generalize for targets
3576 other than d10v and m32r.
3577
036fad3f
RE
35782002-02-02 Richard Earnshaw <rearnsha@arm.com>
3579
3580 * gdb.base/default.exp: Rewrite test patterns to reduce time
3581 taken to match them.
3582
7148ab62
DJ
35832002-01-30 Daniel Jacobowitz <drow@mvista.com>
3584
3585 * gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
3586 Allow a start function above main.
3587 * gdb.threads/linux-dp.exp: Fix copyright date.
3588
396cc255
DJ
35892002-01-30 Daniel Jacobowitz <drow@mvista.com>
3590
3591 * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
3592 (check_philosopher_stack): Check for manager thread before checking
3593 for a just-starting thread.
3594
f038d31b
DJ
35952002-01-30 Daniel Jacobowitz <drow@mvista.com>
3596
3597 From Neil Booth <neil@daikokuya.demon.co.uk>:
3598 * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
3599 warnings.
3600
b3ff9d9a
FF
36012002-01-21 Fred Fish <fnf@redhat.com>
3602
3603 * gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
3604 not caller.
3605
39ad761d
JB
36062002-01-21 Jim Blandy <jimb@redhat.com>
3607
3608 * gdb.base/reread.exp: Check that GDB properly re-reads the
3609 executable file when it changes while no inferior is running.
3610
aaf320fa
FF
36112002-01-21 Fred Fish <fnf@redhat.com>
3612
3613 * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
3614 optionally accept the "shlib events" variation.
3615
808a31f5
JB
36162002-01-21 Jim Blandy <jimb@redhat.com>
3617
3618 * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
3619 call `fflush' after every `printf', so that the output is produced
3620 at predictable points, regardless of whatever buffering does (or
3621 doesn't) take place.
3622 * gdb.base/ending-run.exp: Adjust tests to expect output to appear
3623 at different points.
3624
4420d5e2
DJ
36252002-01-20 Daniel Jacobowitz <drow@mvista.com>
3626
3627 * gdb.c++/inherit.exp: Update copyright years.
3628 * gdb.c++/method.exp: Likewise.
3629
3e36a0f4
DJ
36302002-01-20 Daniel Jacobowitz <drow@mvista.com>
3631
3632 * gdb.c++/classes.exp: Update for improved v3 support and skipping
3633 artificial methods/arguments.
3634 * gdb.c++/derivation.exp: Likewise.
3635 * gdb.c++/inherit.exp: Likewise.
3636 * gdb.c++/method.exp: Likewise.
3637 * gdb.c++/virtfunc.exp: Likewise.
3638
b4ceaee6
AC
36392002-01-18 Andrew Cagney <ac131313@redhat.com>
3640
3641 * gdb.hp/gdb.threads-hp/usrthfork.exp: Mark as obsolete.
3642 * gdb.hp/gdb.threads-hp/usrthcore.exp: Ditto.
3643 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Ditto.
3644 * gdb.hp/gdb.threads-hp/usrthfork.c: Ditto.
3645 * gdb.hp/gdb.threads-hp/usrthbasic.c: Ditto.
3646 * gdb.hp/gdb.threads-hp/usrthcore.c: Ditto.
3647
ecace851
JB
36482002-01-17 Jim Blandy <jimb@redhat.com>
3649
3650 * gdb.asm/asm-source.exp (info symbol): Take another shot at
3651 anchoring the pattern matching the entry point symbol's name.
3652
375fc983
AC
36532002-01-17 Andrew Cagney <ac131313@redhat.com>
3654
3655 * gdb.base/maint.exp: Update ``maint internal-error'' to match
3656 continue/quit query. Update copyright.
3657
fe6fdd96
MS
36582002-01-14 Michael Snyder <msnyder@redhat.com>
3659
3660 * gdb.base/gcore.exp: Remove extra debugging output.
3661
e017c81f
DJ
36622002-01-13 Daniel Jacobowitz <drow@mvista.com>
3663
3664 * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
3665 for slightly dubious v2 mangled string.
3666
37ab3bf8
DJ
36672002-01-13 Daniel Jacobowitz <drow@mvista.com>
3668
3669 * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
3670
1bc05c3a 36712002-01-10 Jason Merrill <jason@redhat.com>
7b2ac63b 3672
1bc05c3a 3673 * gdb.c++/namespace.exp: Accept trailing const for 'this'.
7b2ac63b 3674
1bc05c3a
JM
3675 * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
3676 constructors.
3677 * gdb.c++/derivation.exp: Likewise.
3678 * gdb.c++/templates.exp: Likewise.
3679 * gdb.c++/virtfunc.exp: Likewise.
ffcb195b 3680
1bc05c3a
JM
36812002-01-10 Michael Snyder <msnyder@redhat.com>
3682
3683 * gdb.c++/namespace.exp: Accept both '\0' and '\000'.
ffcb195b 3684
a911c360
MS
36852002-01-08 Michael Snyder <msnyder@redhat.com>
3686
3687 * gdb.base/gcore.exp: New test for generate-core-file command.
3688 * gdb.base/gcore.c: Testcase for above.
3689 * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
3690
ea2119ec
JM
36912002-01-08 Jason Merrill <jason@redhat.com>
3692
3693 * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
3694
68203136
FF
36952002-01-07 Fred Fish <fnf@redhat.com>
3696
3697 * gdb.c++/overload.exp: Remove unconditional xfails for:
3698 print foo_instance1.overloadargs(1)
3699 print foo_instance1.overloadargs(1, 2)
3700 print foo_instance1.overloadargs(1, 2, 3)
3701 print foo_instance1.overloadargs(1, 2, 3, 4)
3702 print foo_instance1.overloadargs(1, 2, 3, 4, 5)
3703 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
3704 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
3705 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
3706 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
3707 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
3708 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
3709 print foo_instance1.overload1arg()
3710 print foo_instance1.overload1arg((char)arg2)
3711 print foo_instance1.overload1arg((signed char)arg3)
3712 print foo_instance1.overload1arg((unsigned char)arg4)
3713 print foo_instance1.overload1arg((int)arg7)
3714 print foo_instance1.overload1arg((unsigned int)arg8)
3715 print foo_instance1.overload1arg((float)arg11)
3716 print foo_instance1.overload1arg((double)arg12)
d63a86f8 3717
21b9b5b1
MS
37182002-01-07 Michael Snyder <msnyder@redhat.com>
3719
3720 * gdb.base/huge.exp: New test. Print a very large target data object.
3721 (skip_huge_test): New test variable. Define if you want to skip this
3722 test. The test reads an 8 megabyte data object from the target, so it
3723 might be very time consuming on remote targets with a slow connection.
3724 * gdb.base/huge.c: New file. Test case for above.
3725
725f922e
FF
37262002-01-07 Fred Fish <fnf@redhat.com>
3727
3728 * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
3729 g_instance.bfoo, and g_instance.cfoo.
3730
634d57ec
JL
3731Mon Jan 7 12:22:18 2002 Jeffrey A Law (law@redhat.com)
3732
f286b2c3
JL
3733 * gdb.base/break.c (multi_line_if_conditional): New function.
3734 (multi_ilne_while_conditional): Likewise.
3735 * gdb.base/break.exp: Verify that a breakpoint on a multi-line
3736 IF or WHILE condition puts the breakpoint at the start of
3737 the condition.
3738
634d57ec
JL
3739 * gdb.base/selftest.exp (backtrace through signal handler): Remove
3740 hppa*-*-hpux* expected failure.
3741 * gdb.base/structs.exp (do_function_calls): Similarly.
3742
3743 * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
3744 watchpoints.
3745
9fbfe2dc
AC
37462002-01-06 Andrew Cagney <ac131313@redhat.com>
3747
3748 Fix PR gdb/66.
3749 * gdb.base/structs.exp: Replace skip for a29k with skip for
3750 gdb,cannot_call_functions.
3751 * gdb.base/call-ar-st.exp: Remove references to a29k in comments.
3752 * gdb.base/callfuncs.exp: Ditto.
3753 * gdb.base/call-rt-st.exp: Ditto.
3754 * gdb.base/call-strs.exp: Ditto.
3755 * gdb.base/callfwmall.exp: Ditto.
3756 * gdb.base/scope.exp: Obsolete xfail a29k.
3757 * gdb.c++/misc.exp: Ditto.
3758 * gdb.c++/cplusfuncs.exp: Ditto.
3759 * gdb.base/ptype.exp: Ditto.
3760 * gdb.base/printcmds.exp: Ditto.
3761 * gdb.base/opaque.exp: Ditto.
3762 * gdb.base/list.exp: Ditto.
3763 * gdb.base/funcargs.exp: Ditto.
3764 * gdb.base/default.exp: Ditto.
3765
8ddad156
MS
37662002-01-04 Michael Snyder <msnyder@redhat.com>
3767
ca4976a6 3768 * gdb.base/info-proc.exp: New file, test for "info proc" cmd.
8ddad156
MS
3769 * gdb.base/maint.exp: Add tests for maint info sections options.
3770
1b074332
JL
3771Fri Dec 21 09:42:11 2001 Jeffrey A Law (law@redhat.com)
3772
3773 * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
3774
7d159115
CV
37752001-12-20 Corinna Vinschen <vinschen@redhat.com>
3776
3777 * gdb.asm/arm.inc: New file.
3778 * gdb.asm/asm-source.exp: Add arm targets.
3779 * gdb.asm/configure.in: Ditto.
3780 * gdb.asm/configure: Recreated from configure.in.
3781
8fb87725
JL
3782Thu Dec 20 09:54:36 2001 Jeffrey A Law (law@redhat.com)
3783
afabe08c
JL
3784 * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
3785 with HP's compiler.
3786 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
3787 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
3788 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
3789 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
3790
3791 * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
3792 either HP's compilers or GCC.
3793
db521deb
JL
3794 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
3795 a SIGBUS or SIGSEGV.
3796
3797 * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
3798
3799 * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
3800 can be compiled with either HP's compiler or GCC.
3801
cfa88ab7
JL
3802 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
3803 * gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
3804 * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
3805
ca344dff
JL
3806 * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
3807 to match current gdb output. Update due to using auto-solib-limit
3808 for limiting instead of overloading auto-solib-add.
3809 * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
3810 test program.
3811
3f3c6e55 3812 * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
ca344dff
JL
3813 * gdb.hp/gdb.base-hp/dollar.exp: Likewise
3814 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
3815 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
3816 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
3817 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
3818 * gdb.hp/gdb.defects/bs15503.exp: Likewise.
3819 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
3820 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
3821 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
3822 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
3823 * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
3824 * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
3f3c6e55 3825
8fb87725
JL
3826 * gdb.base/annota1.exp: Expect failure for hpux11 when posting
3827 a SIGTRAP to the inferior.
3828
cf599fa7
CV
38292001-12-19 Corinna Vinschen <vinschen@redhat.com>
3830
3831 * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
3832 Substitute call to target_link by call to gdb_compile.
3833
2cd045cd
JL
3834Wed Dec 19 14:10:57 2001 Jeffrey A Law (law@redhat.com)
3835
3836 * gdb.base/break.exp: Fix HP specific search string when testing
3837 backtracing in a called function.
3838
d63a86f8 3839 * gdb.base/constvars.exp: Only set lang to C++ if we're
2cd045cd
JL
3840 compiling the test with HP's compilers.
3841 * gdb.base/volatile.exp: Similarly.
3842
99ebe9ac
JB
38432001-12-19 Jim Blandy <jimb@redhat.com>
3844
3845 * gdb.base/printcmds.exp: Expect the null character to be printed
3846 as '\0', and the '\013' to be printed as '\v'.
3847 * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
3848 * gdb.base/setvar.exp: Same.
3849
b9891b29
JB
38502001-12-17 Jim Blandy <jimb@redhat.com>
3851
0eba65ab
JB
3852 * gdb.base/completion.exp: Rather than completing very long
3853 filenames, which can make the readline library produce output we
3854 don't recognize, cd to the directory first, and then complete
3855 using nice, short relative paths.
3856
6970b5b1
JB
3857 * gdb.base/completion.exp: On some systems, there is, in fact, a
3858 variable named `b' in scope, since GDB treats all static
3859 variables as being in scope. So use `no_var_named_this'
3860 instead of `b'.
3861
b9891b29
JB
3862 * gdb.base/corefile.exp: Recognize the message saying that GDB
3863 can't find the core file's registers as a failure.
3864
e6ccd35f
JSC
38652001-12-13 Jackie Smith Cashion <jsmith@redhat.com>
3866
3867 * gdb.base/commands.exp (user_defined_command_test): Make "show user"
3868 test expect string more specific.
3869
105ba819
CV
38702001-12-13 Corinna Vinschen <vinschen@redhat.com>
3871
3872 * gdb.asm/asm-source.exp: Add support for xstormy16.
3873 * gdb.asm/configure.in: Ditto.
3874 * gdb.asm/configure: Rebuild.
3875 * gdb.asm/xstormy16.inc: New file.
3876
e9e79dd9
FF
38772001-12-10 Fred Fish <fnf@redhat.com>
3878
3879 * gdb.base/maint.exp: Update to match changes in type dumping code.
3880
347dc97d
JB
38812001-12-10 Jim Blandy <jimb@redhat.com>
3882
3883 * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
3884 matching the entry point symbol's name at the beginning of the
3885 line.
3886
5178b9d6
DJ
38872001-12-07 Daniel Jacobowitz <drow@mvista.com>
3888
3889 * gdb.c++/classes.exp, gdb.c++/derivation.exp,
3890 gdb.c++/inherit.exp, gdb.c++/method.exp,
3891 gdb.c++/namespace.exp, gdb.c++/templates.exp,
3892 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
3893 and class layout support.
3894
af890c52
DJ
38952001-12-07 Daniel Jacobowitz <drow@mvista.com>
3896
3897 * gdb.c++/classes.exp: Add test for static member function.
3898 * gdb.c++/misc.cc: Add class with static member function.
3899
7a345fb3
JB
39002001-12-07 Jim Blandy <jimb@redhat.com>
3901
f2e54a80 3902 If GDB says it can't find the struct the function returned, report
8032bf31
JB
3903 those tests as `unsupported'.
3904 * gdb.base/call-rt-st.exp (print_struct_call): New function.
3905 Rewrite subsequent tests to use it.
3906
3907 If GDB says it can't find the struct the function returned, report
f2e54a80
JB
3908 those tests as `unsupported'.
3909 * gdb.base/structs.exp (call_struct_func): New function.
3910 (do_function_calls): Use call_struct_func to call the functions
3911 returning structs.
3912
0bc69509
JB
3913 * gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
3914 whether functions are prototyped or not, so we can't possibly pass
3915 arguments to t_float_values2 properly.
3916
7a345fb3
JB
3917 * gdb.base/break.exp: (test_next_with_recursion): Don't change the
3918 value of `timeout' for targets other than the mips*tx39-*.
3919
edb6ede1
MS
39202001-12-06 Michael Snyder <msnyder@redhat.com>
3921
d63a86f8 3922 * gdb.asm/asm-source.exp: Add tests for info target, info symbol,
edb6ede1
MS
3923 and detect whether the start symbol has a leading underscore.
3924
2d842f13
JB
39252001-12-04 Jim Blandy <jimb@redhat.com>
3926
3927 * gdb.base/completion.exp: Clarify indentation.
3928
68550daf
JB
39292001-12-03 Jim Blandy <jimb@redhat.com>
3930
3931 * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
3932 variables on the S/390, not `.word'.
3933
cd5195a8
JB
39342001-11-30 Jim Blandy <jimb@redhat.com>
3935
3936 Add assembly-source tests for s390-ibm-linux.
3937 * gdb.asm/s390.inc: New file.
3938 * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
3939 the S/390 architecture.
3940 * gdb.asm/configure: Regenerated.
3941
ca9efc90
MS
39422001-11-30 Michael Snyder <msnyder@redhat.com>
3943
3944 * gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
3945 next, info source, info sources, info line, global and static
3946 variables, and static functions.
3947 * gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
3948 * gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
3949 * gdb.asm/asmsrc1.s: Add a static function and some variables.
3950 * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
3951 * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
3952 (gdbasm_leave): Restore frame pointer.
3953 (gdbasm_startup): Copy stack set-up from crt0.S.
3954
d0e66976
FN
39552001-11-26 Fernando Nasser <fnasser@redhat.com>
3956
3957 From 2001-11-12 Jackie Smith Cashion <jsmith@redhat.com>:
3958 * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
3959 to a local (non-static) variable. Copy tstruct.a to a static buffer
3960 and return a pointer to that buffer.
3961 * gdb.base/callfwmall.c (t_structs_a): Ditto.
3962
e2334072
MK
39632001-11-24 Mark Kettenis <kettenis@gnu.org>
3964
3965 * gdb.asm/configure.in: Fix recognition of ix86 target.
3966 * gdb.asm/configure: Regenerate.
3967
756caa3d
MS
39682001-11-21 Michael Snyder <msnyder@redhat.com>
3969
3970 * gdb.asm/sparc.inc: New file.
3971 * gdb.asm/asm-source.exp: Recognize sparc target.
3972 * gdb.asm/configure.in: Recognize sparc target.
3973 * gdb.asm/configure: Regenerate.
d63a86f8 3974
9a4d72d5
MS
39752001-11-21 Michael Snyder <msnyder@redhat.com>
3976
3977 * gdb.asm/m32r.inc: New file.
3978 * gdb.asm/asm-source.exp: Recognize m32r target.
3979 * gdb.asm/configure.in: Recognize m32r target.
3980 * gdb.asm/configure: Regenerate.
3981
a773d1cd
MS
39822001-11-20 Michael Snyder <msnyder@redhat.com>
3983
017ac23d
MS
3984 * gdb.asm/i386.inc: New file.
3985 * gdb.asm/asm-source.exp: Recognize ix86 target.
3986 * gdb.asm/configure.in: Recognize ix86 target.
3987 * gdb.asm/configure: Regenerate.
3988
a773d1cd
MS
3989 * gdb.c++/namespace.exp: Fix quotes in output messages.
3990
bb632afb
MS
39912001-11-14 Michael Snyder <msnyder@redhat.com>
3992
25d559ca 3993 * gdb.base/code-expr.exp: New file. Tests use of the "@code"
bb632afb
MS
3994 qualifier in a type cast expression, to designate an address
3995 in the instruction space (Harvard architecture).
3996
4749e309
MS
39972001-11-13 Michael Snyder <msnyder@redhat.com>
3998
3999 * gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
4000 Tests for expressions using 'const' and 'volatile'.
4001
25050984
CV
40022001-11-13 Corinna Vinschen <vinschen@redhat.com>
4003
4004 * gdb.asm/asm-sources.exp: Allow defining linker flags.
4005
1902c51f
DJ
40062001-11-12 Daniel Jacobowitz <drow@mvista.com>
4007
4008 * lib/mi-support.exp (mi_run_to_helper): Move comments
4009 outside of gdb_expect.
4010
dcf95b47
DJ
40112001-11-11 Daniel Jacobowitz <drow@mvista.com>
4012
4013 * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
4014 mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
4015 mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
4016 mi0_run_to): New functions.
4017 * gdb.mi/mi-simplerun.exp: Use them.
4018 * gdb.mi/mi0-simplerun.exp: Likewise.
4019 * gdb.mi/mi-var-cmd.exp: Likewise.
4020 * gdb.mi/mi0-var-cmd.exp: Likewise.
d63a86f8 4021
45b074e1
AC
40222001-11-10 Andrew Cagney <ac131313@redhat.com>
4023
4024 * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
4025 * gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
4026
bf50d346
AC
40272001-11-09 Andrew Cagney <ac131313@redhat.com>
4028
4029 * gdb.base/restore.exp: Include $expected value in restored test
4030 message.
4031
9383332c
AC
40322001-11-09 Andrew Cagney <ac131313@redhat.com>
4033
4034 * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
4035 implemented.
4036
db62520a
MS
40372001-11-08 Michael Snyder <msnyder@redhat.com>
4038
4039 * gdb.base/callfuncs.exp: Add tests for nested call dummies.
4040 Add pass/fail message for stop at breakpoint in call dummy function.
4041
b5703437
MS
40422001-11-07 Michael Snyder <msnyder@redhat.com>
4043
d63a86f8
RM
4044 * gdb.c++/templates.exp (test_template_breakpoints):
4045 If we get an overload menu, but it does not match what
760f6330 4046 we expect, we still need to issue the "cancel" command.
3b2a7ae5
MS
4047 * gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
4048 making the whitespace optional. Argument for "new" may be
4049 "unsigned" as well as "unsigned int/long".
d63a86f8 4050 * gdb.c++/templates.exp: Replace "const &" with "const ?&",
eef747c0
MS
4051 making the whitespace optional. Also replace "(void) with
4052 "((void|)), making the keyword "void" optional.
d63a86f8 4053 * gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
63f50499
MS
4054 making the whitespace optional. Also replace "(void) with
4055 "((void|)), making the keyword "void" optional.
3bf40917
MS
4056 * gdb.base/callfuncs.c (t_float_values): This function must
4057 _not_ be prototyped, and the following function (t_float_values2)
d63a86f8 4058 must be prototyped (if the compiler supports it), so that GDB
3bf40917
MS
4059 can be tested against both cases. Usually one case involves
4060 promotion of float to double, while the other does not.
4061 * gdb.base/callfwmall.c: Ditto.
b5703437
MS
4062 * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
4063 includes a stack frame for "start".
4064
c8ab4e6d
JB
40652001-11-05 Jim Blandy <jimb@redhat.com>
4066
4067 * gdb.stabs/weird.exp: Delete "p v_comb" test. It assumes that
4068 pointers are 32 bits long, and that offsets of relocs are always
4069 stored in the data (REL-style), and not in the reloc entry itself
4070 (RELA-style).
4071 * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
4072 stabs.
4073
3f08ced9
MS
40742001-11-01 Michael Snyder <msnyder@redhat.com>
4075
4076 * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
4077 and regular expression operators by using quoting.
4078
cbfa24cd
MS
40792001-10-31 Michael Snyder <msnyder@redhat.com>
4080
4081 * gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
4082 depending on what the symbol table contains.
4083 * gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
4084 the output of the ptype command. Similarly, accept both "const &"
4085 and "const&".
4086
aaa68313
CV
40872001-10-31 Corinna Vinschen <vinschen@redhat.com>
4088
4089 * gdb.base/miscexprs.c (main): Add usage of preprocessor
4090 symbol `STORAGE' to allow to choose the storage class of
4091 the local datastructures.
4092 * gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
4093 compiler directive.
4094
91740388
MS
40952001-10-30 Michael Snyder <msnyder@redhat.com>
4096
4097 * gdb.base/jump.exp: Allow it to run for all targets.
4098
1b7c05e7
CV
40992001-10-29 Corinna Vinschen <vinschen@redhat.com>
4100
4101 * gdb.base/call-ar-st.c (print_double_array): Match for loop
4102 with new double_array size.
4103 (main): Change storage class of all local variables to static.
4104 Reduce size of double_array to 9.
4105 * gdb.base/call-ar-st.exp: Increase timeout value.
4106 Change expected output for double array to match new size in
4107 call-ar-st.c.
4108
36a22261
CV
41092001-10-29 Corinna Vinschen <vinschen@redhat.com>
4110
4111 * gdb.base/ending-run.exp: Create identical output when passing
4112 `step to end of run' case. Add regular expression branch satisfying
d63a86f8 4113 Stormy16 target.
36a22261 4114
92b8ae91
MK
41152001-10-28 Mark Kettenis <kettenis@gnu.org>
4116
4117 * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
4118 that we catch the expected failure under Linux/x86.
4119
cb135b83
OF
41202001-10-29 Orjan Friberg <orjanf@axis.com>
4121
4122 * gdb.base/setvar.exp: Escape curly braces.
4123 * gdb.stabs/weird.exp: Ditto.
4124
6884aa54
DJ
41252001-10-27 Daniel Jacobowitz <drow@mvista.com>
4126
4127 * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
4128 * gdm.mi/mi0-hack-cli.exp: Likewise.
4129
0398c9aa
AC
41302001-10-25 Andrew Cagney <ac131313@redhat.com>
4131
4132 * gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
4133 messages.
4134
d20bf2e8
AC
41352001-10-21 Andrew Cagney <ac131313@redhat.com>
4136
4137 * lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
4138 checking MI enabled.
4139
03dd63aa
CV
41402001-10-09 Corinna Vinschen <vinschen@redhat.com>
4141
4142 * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
4143
1d9d99f3
FCE
41442001-10-04 Frank Ch. Eigler <fche@redhat.com>
4145
4146 * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
4147 if gdb child process crashes, just signal an error.
4148
838ae6c4
JB
41492001-10-02 Jim Blandy <jimb@redhat.com>
4150
4151 * lib/gdb.exp (test_xfail_format): Simplify.
4152
4153 * lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
4154 front of the variable name `format'. Simplify `if'.
4155
8f0cbc1c
DJ
41562001-10-01 Daniel Jacobowitz <drow@mvista.com>
4157
4158 * gdb.threads/pthreads.exp: Wait for output and delay
4159 before sending ^C.
4160
1f08dafd
DJ
41612001-10-01 Daniel Jacobowitz <drow@mvista.com>
4162
4163 * gdb.mi/mi-var-display.exp (continue to incr_a): Recognize
4164 some incorrect output instead of timing out.
4165 * gdb.mi/mi-var-display.exp (continue to incr_a): Likewise.
4166
674f90ff
CV
41672001-09-28 Corinna Vinschen <vinschen@redhat.com>
4168
4169 * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
4170 check to allow additional `int'.
4171
9b284272
DJ
41722001-09-27 Daniel Jacobowitz <drow@mvista.com>
4173
4174 * gdb.base/completion.exp: Remove incorrect 'p "a' test.
4175 Add tests for 'p "break' (pass) and 'p "break.' (xfail).
4176
b55a4771
MS
41772001-09-27 Michael Snyder <msnyder@redhat.com>
4178
4179 * lib/gdb.exp (test_debug_format): New proc.
4180 (setup_xfail_format): Use new proc test_debug_format.
4181 * gdb.base/constvars.exp (local_compiler_xfail_check): New
4182 proc; use new service proc test_debug_format.
4183 Replace all other "gcc_compiled" tests with this test.
4184 * gdb.base/volatile.exp (local_compiler_xfail_check): New
4185 proc; use new service proc test_debug_format.
4186 Replace all other "gcc_compiled" tests with this test.
4187
41882001-09-27 Michael Snyder <msnyder@redhat.com>
4189
4190 * gdb.base/cvexpr.exp: New file.
4191 * gdb.base/cvexpr.c: New file
4192 Test for expressions using const and volatile keywords.
4193
4e6667ac
CV
41942001-09-26 Corinna Vinschen <vinschen@redhat.com>
4195
4196 * gdb.base/constvars.exp: Check for different orders of keywords
4197 and additional "int" strings in output.
4198
4f337972
AC
41992001-09-22 Andrew Cagney <ac131313@redhat.com>
4200
4201 * gdb.base/maint.exp: Add "maintenance set/show" to list of valid
4202 responses from "help maint".
4203
2015650d
FCE
42042001-09-19 Frank Ch. Eigler <fche@redhat.com>
4205
4206 * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
4207 to localhost:NNN instead of :NNN, in case Xvfb is listening
4208 only on TCP.
4209
f3bcedc1
CV
42102001-09-19 Corinna Vinschen <vinschen@redhat.com>
4211
4212 * gdb.base/recurse.exp: When checking leaving the watchpoint
4213 scope, recognize when gdb is in function's epilogue and pass.
4214
6b819c92
KS
42152001-09-18 Keith Seitz <keiths@redhat.com>
4216
4217 * lib/insight-support.exp (_gdbtk_export_target_info): Add
4218 support for running tests against sid targets.
4219 (gdbtk_done): Ditto.
4220
a10c9419
CV
42212001-09-18 Corinna Vinschen <vinschen@redhat.com>
4222
4223 * gdb.base/ending-run.c (main): Set stdout buffersize
4224 to the same reasonable value for any target.
4225 * gdb.base/ending-run.exp: Add a regular expression
4226 to make testsuite happy on Sanyo Stormy16 target.
4227
739d0d99
CV
42282001-09-17 Corinna Vinschen <vinschen@redhat.com>
4229
4230 * gdb.base/display.c (do_loops): Add float variable `f'.
4231 Increment f in loop.
4232 * gdb.base/display.exp: Increment timeout by 60 seconds.
4233 Change float display test to use variable `f'.
4234
1b8947f0
JB
42352001-09-17 Jim Blandy <jimb@redhat.com>
4236
4237 * gdb.base/restore.exp: Use temporary breakpoints, to avoid
4238 overflowing the limited breakpoint tables on some ROM monitors
4239 (like the ROM68K).
4240
9890ac81
FCE
42412001-09-15 Frank Ch. Eigler <fche@redhat.com>
4242
4243 * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
4244 the "-ac" (disable access control) flag.
4245
6db765ea
JH
42462001-08-30 Jeff Holcomb <jeffh@redhat.com>
4247
4248 * gdb.base/remote.c: Use a small buffer for targets with 16-bit
4249 ints.
4250
4c32cc04
KS
42512001-08-30 Keith Seitz <keiths@redhat.com>
4252
4253 * lib/gdb.exp: Move all insight-related functionality into
4254 separate file.
4255 * lib/insight-support.exp: New file.
4256
8d6e6f81
FCE
42572001-08-29 Frank Ch. Eigler <fche@redhat.com>
4258
4259 * config/sid.exp (sid_start): Never set sid verbosity; disable
4260 expect_background {} that consumed its stdout; tolerate </dev/null.
4261 Attempt to set endianness override in "sid" protocol mode. Cleanup.
4262
6a90e1d0
AC
42632001-08-18 Andrew Cagney <ac131313@redhat.com>
4264
4265 * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
4266 CLI jump command to start it.
4267 (mi_run_to_main): Fail immediatly when unexpected output.
4268
1759b3c3
AC
42692001-08-18 Andrew Cagney <ac131313@redhat.com>
4270
4271 * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
4272 beginning of function. Fix PR gdb/191.
4273
61d11d80
FCE
42742001-08-16 Frank Ch. Eigler <fche@redhat.com>
4275
4276 * config/sid.exp (sid_start): Don't warn if we cannot figure out
4277 what to force sid endianness to.
4278
942a4df2
KS
42792001-08-15 Keith Seitz <keiths@redhat.com>
4280
4281 * lib/gdb.exp (gdbtk_start): Don't set environment
4282 variables for TCL_LIBRARY and friends. Insight will
4283 now figure these out for itself.
4284
0521c418
MS
42852001-08-02 Michael Snyder <msnyder@redhat.com>
4286
4287 * gdb.base/completion.exp: Remove the symbol "a64l" from
4288 the expect string; this is target-specific, and not related
4289 to what is being tested.
4290
74a9a58a
DB
42912001-08-02 Dave Brolley <brolley@redhat.com>
4292
4293 * config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
4294
c70819fa
MS
42952001-07-25 Michael Snyder <msnyder@redhat.com>
4296
c2b8fa57
MS
4297 * gdb.base/consecutive.exp: New file. Test stepping over
4298 breakpoints on consecutive instructions.
4299 * gdb.base/consecutive.c: New file.
4300
c70819fa
MS
4301 * gdb.base/call-rt-st.exp: Use double-backslash to quote
4302 curly braces in regular expressions.
4303
2b1a1355
MS
43042001-07-25 Michael Snyder <msnyder@redhat.com>
4305
4306 * gdb.base/ending-run.exp: Accept "Program exited normally" as
4307 legitimate output from stepping out of main.
4308
413eca6f
KS
43092001-07-22 Keith Seitz <keiths@redhat.com>
4310
4311 * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
4312 the empty string, do not run the tests.
4313
7e5a9322
SC
43142001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
4315
4316 * gdb.base/long_long.exp: Detect size of pointer. Take into
4317 account 2-byte pointers when testing for p/a results.
4318
de58f10f
SC
43192001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
4320
d63a86f8 4321 * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
de58f10f
SC
4322 and defined to 1K for m68hc11.
4323 (random_data): Reduce table to 1K for embedded platforms (68hc11).
4324 * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
4325 (sizeof_random_data): New variable to tell the size of the data table;
4326 don't test past this size; always run to main.
4327
d6f5fea1
SC
43282001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
4329
4330 * gdb.base/return2.exp: return of long long and double fails for
4331 68HC11; don't execute these tests on that platform.
4332 * gdb.base/return.exp: Return of a double fails for 68hc11.
4333
c477543d
SC
43342001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
4335
4336 * call-ar-st.exp: Use gdb_skip_float_test to avoid executing
4337 tests that print a float.
4338 * call-rt-st.exp: Likewise.
4339
63cf1c79
MK
43402001-07-12 Mark Kettenis <kettenis@gnu.org>
4341
4342 * gdb.base/so-impl-ld.exp: Remove stray space that prevented
4343 running this test on Linux.
4344
112f9ab5
MC
43452001-06-24 Michael Chastain <chastain@redhat.com>
4346
4347 * gdb.base/arithmet.exp: Remove some tests to make all test names
4348 unique.
4349
4970cb0f
MS
43502001-07-03 Michael Snyder <msnyder@redhat.com>
4351
4352 * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
4353 the output of the ptype command.
4354
d85da69f
MS
43552001-07-02 Michael Snyder <msnyder@redhat.com>
4356
4c8a82de
MS
4357 * gdb.base/completion.exp: Don't assume that break.c is the only
4358 source file that may contain functions named "marker".
d85da69f
MS
4359 * gdb.base/corefile.exp: Quote the curly braces in regexp.
4360
8afc772b
AC
43612001-06-28 Andrew Cagney <ac131313@redhat.com>
4362
4363 * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
4364 of files to delete.
4365
4366 From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
4367 * gdb.disasm/h8300s.exp: New file.
4368 gdb.disasm/h8300s.s: Likewise.
4369
cff22675
AC
43702001-06-27 Andrew Cagney <ac131313@redhat.com>
4371
4372 * lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format
4373 empty breakpoint tables.
4374
68c81b54
AC
43752001-06-25 Andrew Cagney <ac131313@redhat.com>
4376
4377 * lib/mi-support.exp: Update args=... part of stop-reason
4378 patterns. Accept either a list or a tuple.
4379
2dd62704
AC
43802001-06-23 Andrew Cagney <ac131313@redhat.com>
4381
4382 * lib/mi-support.exp: Remove local emacs variable defining
4383 change-log-default-name.
4384
b4127474
MC
43852001-06-22 Michael Chastain <chastain@redhat.com>
4386
4387 * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
4388 This is operationally compatible with the previous version.
4389
8dbfb380
JB
43902001-06-13 Jim Blandy <jimb@redhat.com>
4391
4392 * lib/gdb.exp (gdb_test): Doc fix.
4393
f2d8c86d
MC
43942001-06-10 Michael Chastain <chastain@redhat.com>
4395
4396 * gdb.base/exprs.exp: Remove a duplicate test.
4397
81564d34
JB
43982001-06-06 Jim Blandy <jimb@redhat.com>
4399
4400 * gdb.base/return2.exp (main): Use values to test float and double
4401 returns that are not NaN's, to avoid being confused by IEEE
4402 comparison rules.
4403
da55addb
MS
44042001-06-04 Michael Snyder <msnyder@redhat.com>
4405
4406 * gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
d63a86f8 4407 non-zero if control_c fails. Terminate the test on failure,
da55addb
MS
4408 rather than wait for 12 more tests to time out.
4409
42c65987
JB
44102001-06-06 Jim Blandy <jimb@redhat.com>
4411
b18bced9 4412 * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
d63a86f8 4413 Don't forget to match the GDB prompt.
b18bced9 4414
42c65987
JB
4415 * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
4416
5b41e5f0
JB
44172001-06-04 Jim Blandy <jimb@redhat.com>
4418
4419 * gdb.base/help.exp: Update pattern to exclude `print-load-map'
4420 command.
4421
015e046f
KB
44222001-05-31 Kevin Buettner <kevinb@redhat.com>
4423
4424 * gdb.base/annota1.exp (info break): Match four or more spaces
4425 after "Address".
4426
fb1ffbbe
MC
44272001-05-31 Michael Chastain <chastain@redhat.com>
4428
4429 * gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
4430 (dm_type_int_star): Likewise.
4431 (dm_type_long_star): Likewise.
4432 (dm_type_void_star): Likewise.
4433
5ea2a32c
KB
44342001-05-29 Kevin Buettner <kevinb@redhat.com>
4435
4436 * gdb.base/completion.exp (INPUTRC): Set this environment variable
4437 to a known value in order to get consistent results regardless
4438 of the setting of INPUTRC or the presence or contents of .inputrc.
4439
ae23c492
MS
44402001-05-24 Michael Snyder <msnyder@redhat.com>
4441
ac55707e
MS
4442 * gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
4443 Don't require that the main thread and the manager thread are the
4444 first in the list.
4445
ae23c492
MS
4446 * gdb.threads/pthreads.exp (test_startup): Relax test for thread
4447 debugging. If test fails, issue an "unsupported" not a "fail".
4448
400071f1
JB
44492001-05-24 Jim Blandy <jimb@redhat.com>
4450
4451 Don't assume that short is shorter than int.
4452 * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
4453 assume that shorts are smaller than ints. On a 16-bit machine,
d63a86f8 4454 this isn't true.
400071f1
JB
4455 ("print unsigned char == (~0)"): Add test that verifies that ~0,
4456 an int, is not equal to ~0 stored in an unsigned char. This tests
4457 the same thing that the previous test meant to, but works on
4458 16-bit machines, too.
4459 ("print unsigned char != (~0)"): Same test, complemented.
4460
0816a3e5
MS
44612001-05-24 Michael Snyder <msnyder@redhat.com>
4462
4463 * gdb.threads/pthreads.exp (all_threads_running): Add an explicit
d63a86f8 4464 test for (full_coverage == 0). This makes the test run faster,
0816a3e5
MS
4465 and prevents dejagnu getting out of step.
4466
f6dc23a9
KB
44672001-05-23 Kevin Buettner <kevinb@redhat.com>
4468
4469 * gdb.base/finish.exp (finish_void): Revise pattern for
4470 stopping on the call statement to not permit stopping at
4471 the start of the instructions comprising the call sequence.
4472
7dbd117d
MC
44732001-05-19 Michael Chastain <chastain@redhat.com>
4474
4475 * gdb.base/callfuncs.exp: Make all test names unique.
4476 * gdb.base/commands.exp: Make all test names unique.
4477 * gdb.base/condbreak.exp: Make all test names unique.
4478 * gdb.base/dbx.exp: Make all test names unique.
4479 * gdb.base/default.exp: Make all test names unique.
4480 * gdb.base/define.exp: Make all test names unique. Conform some FAIL
4481 and TIMEOUT messages to their corresponding PASS message.
4482 * gdb.base/ending-run.exp: Make all test names unique.
4483 * gdb.base/long_long.exp: Remove duplicate test.
4484
6b0b0a9e
KB
44852001-05-21 Kevin Buettner <kevinb@redhat.com>
4486
4487 * gdb.base/finish.exp (finish_void): Allow "finish" command to
4488 stop on the call statement as well as the statement after the
4489 call.
4490
2caa35cb
MS
44912001-05-21 Michael Snyder <msnyder@redhat.com>
4492
4493 * gdb.base/long_long.exp: Allow for targets with 4-byte short.
4494
40713331
EZ
44952001-05-10 Elena Zannoni <ezannoni@redhat.com>
4496
4497 * gdb.base/completion.exp: Revamp test. Make it execute on all
4498 platforms.
4499
c2c1be8d
EZ
45002001-05-10 Elena Zannoni <ezannoni@redhat.com>
4501
2c9cd303
EZ
4502 * config/gdbserver.exp (gdb_load): Handle the case
4503 in which the arguments to gdbserver are given in the
4504 baseboard configuration file.
4505 Also handle the case in which the server needs to do a
4506 load.
4507
9671de48
KS
45082001-05-07 Keith Seitz <keiths@cygnus.com>
4509
4510 * lib/gdb.exp (gdbtk_initialize_display): New proc which will
4511 set up the display for testing.
4512 (gdbtk_start): Convert all paths to paths that tcl will like.
4513 Export target information to environment.
4514 (_gdbtk_xvfb_init): New proc to start Xvfb if available and
4515 necessary.
4516 (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
4517 (to_tcl_path): New proc to convert a given pathname into
4518 a path acceptible as an argument to a tcl command.
4519 (_gdbtk_export_target_info): New proc to export target info
4520 into the environment for gdbtk testing.
4521 (gdbtk_done): New proc to signal end-of-test.
4522
5a360f47
JB
45232001-05-06 Jim Blandy <jimb@redhat.com>
4524
4525 * restore.c: Make the code of caller0 correspond to its comment.
4526
66c756c6
MS
45272001-05-03 Michael Snyder <msnyder@redhat.com>
4528
4529 * config/sid.exp (gdb_target_sid): Check for error messages.
4530 On error or timeout, don't make expect exit (which will terminate
4531 all subsequent tests); instead just make gdb exit.
d63a86f8 4532 (gdb_load): Check for error messages. On error or timeout,
66c756c6
MS
4533 return a negative value.
4534
a966fde5
JB
45352001-04-24 Jim Blandy <jimb@redhat.com>
4536
851c18e0
JB
4537 * gdb.c++/templates.exp: If we see the prompt for the overload
4538 list, but we haven't recognized any of the longer patterns,
4539 arrange for this test to fail, not hang.
4540
a966fde5
JB
4541 * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
4542 variations.
4543
db144853
MC
45442001-04-22 Michael Chastain <chastain@redhat.com>
4545
4546 * gdb.c++/local.exp: Use the 'runto' library function.
4547 * gdb.c++/namespace.exp: Likewise.
4548 * gdb.c++/overload.exp: Likewise.
4549
3207ec21
KB
45502001-03-26 Kevin Buettner <kevinb@redhat.com>
4551
4552 * gdb.base/Makefile.in (EXECUTABLES): Add step-line.
4553 * gdb.base/step-line.exp: New file. Test step/next in presence of
4554 #line directives.
4555 * gdb.base/step-line.c: New file. Test program for the above.
4556 * gdb.base/step-line.inp: New file. We pretend that this file has
4557 been transformed by some other tool into step-line.c.
4558
13b57657
JB
45592001-03-21 Jim Blandy <jimb@redhat.com>
4560
4561 * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
4562 unmangled operator names.
4563
754cbe1c
JB
45642001-03-20 Jim Blandy <jimb@redhat.com>
4565
4566 * gdb.threads/linux-dp.exp: Recognize an additional message
4567 generated by GDB when it doesn't understand how to debug threads
4568 on the target system.
4569
177495c9
AC
45702001-03-19 Andrew Cagney <ac131313@redhat.com>
4571
4572 * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
4573
f266096b
MC
45742001-03-12 Michael Chastain <chastain@redhat.com>
4575
4576 * gdb.c++/derivation.exp: Use the 'runto' library function.
4577
cac3c2ff
MC
45782001-03-12 Michael Chastain <chastain@redhat.com>
4579
4580 * gdb.c++/annota2.exp: Fix regular expression for "post-query".
4581
b6c11a24
MC
45822001-02-24 Michael Chastain <chastain@redhat.com>
4583
4584 * gdb.c++/ref-types.exp: Change handwritten code to library
4585 function 'runto'.
4586
6bae5bce
OF
45872001-03-16 Orjan Friberg <orjanf@axis.com>
4588
4589 * gdb.base/signals.exp: Set count to 0 explicitly.
4590
0015fd9a
MS
45912001-03-15 Mark Salter <msalter@redhat.com>
4592
4593 * config/monitor.exp (gdb_target_cmd): Add explicit error return.
4594 (gdb_target_monitor): Add check of gdb_target_cmd return value.
880a15ee
MS
4595 (gdb_load): Add support for additional target_info: gdb_download_size
4596 and gdb_load_timeout.
0015fd9a 4597
fc33412a
DT
4598Thu Mar 8 16:06:00 2001 David Taylor <taylor@redhat.com>
4599
4600 * gdb.base/annota1.exp: Move test of isnative to earlier in the
4601 file -- to prevent failing when the compile fails but we have no
4602 intention of running the tests anyway.
4603
4604 * gdb.base/long_long.exp: Test target_info for no_long_long, skip
4605 tests if set.
4606
4607 * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
4608 integers.
4609
4610 * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
4611 * gdb.c++/namespace.exp: Ditto.
4612
115f06de
OF
46132001-03-07 Orjan Friberg <orjanf@axis.com>
4614
4615 * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
4616 * gdb.base/pointers.exp: Relax pattern match of decimals.
4617
b6ba6518
KB
46182001-03-06 Kevin Buettner <kevinb@redhat.com>
4619
4620 * Makefile.in, config/abug.exp, config/cfdbug.exp,
4621 config/cpu32bug.exp, config/dve.exp, config/est.exp,
4622 config/gdbserver.exp, config/hmsirom.exp, config/hppro.exp,
4623 config/i960.exp, config/m32r.exp, config/mn10300-eval.exp,
4624 config/monitor.exp, config/proelf.exp, config/rom68k.exp,
4625 config/sh.exp, config/sid.exp, config/slite.exp,
4626 config/sparclet.exp, config/udi.exp, config/unknown.exp,
4627 config/vr4300.exp, config/vr5000.exp, config/vx.exp,
4628 config/vxworks.exp, config/vxworks29k.exp,
4629 gdb.asm/asm-source.exp, gdb.base/a2-run.exp,
4630 gdb.base/all-bin.exp, gdb.base/annota1.exp,
4631 gdb.base/arithmet.exp, gdb.base/assign.exp,
4632 gdb.base/async.exp, gdb.base/attach.exp,
4633 gdb.base/bitfields.exp, gdb.base/bitops.exp,
4634 gdb.base/break.exp, gdb.base/call-ar-st.exp,
4635 gdb.base/call-rt-st.exp, gdb.base/call-strs.exp,
4636 gdb.base/callfuncs.exp, gdb.base/callfwmall.exp,
4637 gdb.base/commands.exp, gdb.base/completion.exp,
4638 gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
4639 gdb.base/constvars.exp, gdb.base/corefile.exp,
4640 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
4641 gdb.base/display.exp, gdb.base/ena-dis-br.exp,
4642 gdb.base/ending-run.exp, gdb.base/environ.exp,
4643 gdb.base/eval-skip.exp, gdb.base/exprs.exp,
4644 gdb.base/finish.exp, gdb.base/foll-exec.exp,
4645 gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp,
4646 gdb.base/funcargs.exp, gdb.base/help.exp,
4647 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp,
4648 gdb.base/logical.exp, gdb.base/long_long.exp,
4649 gdb.base/maint.exp, gdb.base/mips_pro.exp,
4650 gdb.base/miscexprs.exp, gdb.base/nodebug.exp,
4651 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp,
4652 gdb.base/pointers.exp, gdb.base/printcmds.exp,
4653 gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp,
4654 gdb.base/regs.exp, gdb.base/relational.exp,
4655 gdb.base/remote.exp, gdb.base/reread.exp,
4656 gdb.base/restore.exp, gdb.base/return2.exp,
4657 gdb.base/scope.exp, gdb.base/sect-cmd.exp,
4658 gdb.base/selftest.exp, gdb.base/setshow.exp,
4659 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
4660 gdb.base/sigall.exp, gdb.base/signals.exp,
4661 gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp,
4662 gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
4663 gdb.base/step-test.exp, gdb.base/structs.c,
4664 gdb.base/structs.exp, gdb.base/structs2.exp,
4665 gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp,
4666 gdb.base/volatile.exp, gdb.base/watchpoint.exp,
4667 gdb.base/whatis-exp.exp, gdb.base/whatis.exp,
4668 gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
4669 gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.exp,
4670 gdb.c++/derivation.exp, gdb.c++/inherit.exp,
4671 gdb.c++/local.exp, gdb.c++/member-ptr.exp, gdb.c++/method.exp,
4672 gdb.c++/misc.exp, gdb.c++/namespace.exp, gdb.c++/overload.exp,
4673 gdb.c++/ref-types.exp, gdb.c++/templates.exp,
4674 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp,
4675 gdb.disasm/am33.exp, gdb.disasm/hppa.exp,
4676 gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp,
4677 gdb.fortran/types.exp, gdb.java/jmisc.exp,
4678 gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
4679 gdb.stabs/weird.exp, gdb.threads/linux-dp.exp,
4680 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
4681 gdb.trace/circ.exp, gdb.trace/collection.exp,
4682 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
4683 gdb.trace/limits.exp, gdb.trace/packetlen.exp,
4684 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp,
4685 gdb.trace/report.exp, gdb.trace/save-trace.exp,
4686 gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
4687 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
4688 lib/gdb.exp, lib/mi-support.exp: Update/correct copyright
4689 notices.
4690
dc96c6c7 46912001-02-27 Michael Snyder <msnyder@cygnus.com>
d8f92b1f
MS
4692
4693 * gdb.base/varargs.c (find_max_double): Fix printf format string:
4694 first arg is int not float.
4695
dc96c6c7 46962001-02-22 Michael Snyder <msnyder@cygnus.com>
40f33b9b
MS
4697
4698 * gdb.base/reread.exp: Unsupported for non-native targets;
4699 doesn't work for remote debugging.
4700
9b0c4aeb
FN
47012001-02-19 Fernando Nasser <fnasser@redhat.com>
4702
4703 From Drew Moseley <dmoseley@redhat.com>
4704 * gdb.base/ending-run.exp: Properly handle the BSP state when
4705 stepping past the end of main.
4706
02aa71d5
MC
47072001-02-19 John Moore <jmoore@redhat.com>
4708
4709 * gdb.base/commands.exp (infrun_breakpoint_command_test):
4710 Converted HPUX fix for non-expected items following multiple
4711 step commands into general solution for all platforms.
4712
1fa449a4
MC
47132001-02-18 Michael Chastain <chastain@redhat.com>
4714
4715 * gdb.c++/classes.exp (do_tests): Change runto statements
4716 from "runto 'foo(void)'" to "runto 'foo'". This makes the
4717 statements demangler agnostic.
4718 * gdb.c++/virtfunc.exp (do_tests): Likewise.
4719 (gdb_virtfunc_restart): Likewise.
4720
b2f9ec70
MC
47212001-02-14 Michael Chastain <chastain@redhat.com>
4722
4723 * gdb.c++/inherit.exp (do_tests): Change runto statements
4724 from "runto 'foo(void)'" to "runto 'foo'". This makes the
4725 statements demangler agnostic.
4726
cf74b8ca
AC
4727Sun Feb 4 17:32:21 2001 Andrew Cagney <cagney@redhat.com>
4728
4729 * gdb.threads/pthreads.exp: Unify pass/fail messages for
4730 ``continue to bkpt at common_routine in thread 2'' and ``stopped
4731 before calling common_routine 15 times'' tests.
4732
99f78f56
MC
47332001-02-11 Michael Chastain <chastain@redhat.com>
4734
4735 * gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
4736 Helps the test script figure out which demangler is in use.
4737 (dm_type_foo_ref): Ditto.
4738 (dm_type_int_star): Ditto.
4739 (dm_type_long_star): Ditto.
4740 (dm_type_unsigned_int): Ditto.
4741 (dm_type_void): Ditto.
4742 (dm_type_void_star): Ditto.
99707966 4743 * gdb.base/cplusfuncs.exp (probe_demangler): New function.
99f78f56
MC
4744 Probe the gdb demangler and set variables to accommodate
4745 formatting differences.
4746 (info_func_regexp): New function. Same as info_func, but
4747 matches against a regexp.
4748 (info_func): Match against a literal string.
4749 (print_addr_2): New function. Match against a literal string,
4750 which can be different from the input to gdb.
4751 (print_addr): Simply call print_addr_2 with the same argument twice.
4752 (test_lookup_operator_functions): Use demangler formatting variables.
4753 Blow away the xfails and workarounds for gnats gdb bug gdb/18. Sort
4754 the tests in the same order as the C++ class declaration.
4755 (test_paddr_operator_functions): Ditto.
4756 (test_paddr_overloaded_functions): Ditto.
4757 (test_paddr_hairy_functions): Use demangler formatting variables.
4758 Add reference to gdb/19 for related tests.
4759 (do_tests): Call probe_demangler.
4760
1de8f023
KB
47612001-01-30 Kevin Buettner <kevinb@redhat.com>
4762
4763 * gdb.c++/templates.cc (printf): Remove unused function definition.
4764
ca3f91ed
MS
47652001-01-26 Felix Lee <flee@redhat.com>
4766
4767 * sid.exp (sid_exit): Pass host, not target, to remote_close.
4768
47692001-01-25 matthew green <mrg@redhat.com>
4770
4771 * config/sid.exp (sid_start): Call `remote_push_conn' after firing
4772 up sid.
4773 (sid_exit): Call `remote_pop_conn' after GDB is gone.
4774
47752001-01-25 matthew green <mrg@redhat.com>
4776
4777 * config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.'
d63a86f8 4778 Deprecate $sid_spawn_id.
ca3f91ed
MS
4779 (sid_exit): Remove code necessary only for `spawn.'
4780
47812001-01-25 matthew green <mrg@redhat.com>
4782
4783 * config/sid.exp (sid_start): Handle sim,protocol of `sid.'
4784
fb18ec4a
MC
47852001-01-28 Michael Chastain <chastain@redhat.com>
4786
4787 * gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
4788 to call when tests fail. It takes gdb out of the overloaded
4789 function choice menu back to the main prompt, so that the test
4790 program stays synchronized.
4791 (set_bp_overloaded): New proc to collect all the common
4792 code for setting a breakpoint on an overloaded name. Calls
4793 take_gdb_out_of_choice_menu when needed.
4794 (menu_overload1arg): New variable to collect the repeated
4795 instances of the expected menu for an overloaded name. Change
4796 the regular expression to handle changes in g++ type encoding:
4797 "void" can be either "void" or "", and "unsigned int" can be
4798 either "unsigned int" or "unsigned".
4799 (continue_to_bp_overloaded): Change regular expressions to handle
4800 changes in g++ type encoding.
4801 (no proc): Call take_gdb_out_of_choice_menu when needed.
4802 Remove redundant calls to "info break". Accept either "canceled"
4803 or "cancelled". Change regular expressions in "info break"
4804 calls to handle changes in g++ type encoding. Give all tests
4805 unique strings.
4806
9c646a6e
BE
48072001-01-17 Ben Elliston <bje@redhat.com>
4808
4809 * config/sid.exp: New file.
4810
9549d9c1
AC
4811Fri Jan 12 18:29:01 2001 Andrew Cagney <cagney@b1.cygnus.com>
4812
4813 * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
4814
dc96c6c7 48152000-12-21 Michael Snyder <msnyder@cygnus.com>
315f8b0e
MS
4816
4817 * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
4818 Add a RE to accept a non-ascii char if one is ever presented.
4819
b4df4f68
FN
48202000-12-20 Fernando Nasser <fnasser@redhat.com>
4821
297dd0fd 4822 * lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
b4df4f68 4823
dc96c6c7 48242000-12-18 Michael Snyder <msnyder@cygnus.com>
49c890fc 4825
d63a86f8 4826 * gdb.base/setvar.exp: Use double '\\' to quote curly braces
49c890fc
MS
4827 in regexp. One '\' does not suffice on Linux.
4828
4a7bddb6
MC
48292000-12-09 Michael Chastain <chastain@redhat.com>
4830
4831 * gdb.base/break.exp (test_clear_command): Use a marker function
4832 rather than 'main' for the test function. Also move this
4833 test to an execution point where the marker function names are
4834 guaranteed to be bound to functions. (Executing tests after a
4835 'finish' from main runs into name conflicts with local names
4836 in __libc_start_main).
4837
dc96c6c7 48382000-12-07 Michael Snyder <msnyder@cygnus.com>
efb66345
MS
4839
4840 * gdb.base/finish.exp: New test for gdb's "finish" command.
4841 * gdb.base/return2.exp: New test for gdb's "return" command.
4842 * gdb.base/return2.c: New source file for above.
4843
dc96c6c7 48442000-12-05 Michael Snyder <msnyder@cygnus.com>
3c077de9
MS
4845
4846 * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
4847 * gdb.base/miscexprs.exp: Ditto.
4848 * gdb.base/pointers.exp: Ditto.
4849 * gdb.c++/derivation.exp: Ditto.
4850 * gdb.c++/local.exp: Ditto.
4851 * gdb.c++/namespace.exp: Ditto.
4852 * gdb.c++/overload.exp: Ditto.
4853 * gdb.c++/ref-types.exp: Ditto.
4854
dc96c6c7 48552000-12-05 Michael Snyder <msnyder@cygnus.com>
660fd469
MS
4856
4857 * gdb.base/constvars.exp: Test result of "up" command.
4858 * gdb.base/miscexprs.exp: Ditto.
4859 * gdb.base/pointers.exp: Ditto.
4860 * gdb.base/scope.exp: Ditto.
4861 * gdb.c++/derivation.exp: Ditto.
4862 * gdb.c++/local.exp: Ditto.
4863 * gdb.c++/namespace.exp: Ditto.
4864 * gdb.c++/overload.exp: Ditto.
4865 * gdb.c++/ref-types.exp: Ditto.
4866
44097287
FN
48672000-11-22 Michael Chastain <chastain@redhat.com>
4868
4869 * mips_pro.exp: Accept either "middle -> top -> main" or
4870 "middle -> main" in the backtrace, because gcc can optimize
4871 tail calls to jumps. Remove setup_xfail for the hppa case.
4872 Add a comment with the original warning messages from PR 3016,
4873 which was filed in 1993, to preserve them for posterity.
4874
9d2e1bab
ND
48752000-11-17 Nick Duffek <nsd@redhat.com>
4876
4877 * lib/gdb.exp (gdb_test): Override timeout with board info.
4878
1aca8eb7
ND
48792000-11-17 Nick Duffek <nsd@redhat.com>
4880
4881 * gdb.base/display.exp: Don't kill running stub. Add "again" to
4882 the second kill and detach messages.
4883
93076499
ND
48842000-11-17 Nick Duffek <nsd@redhat.com>
4885
4886 * configure.in: Add AC_EXEEXT.
4887 * configure: Regenerate.
4888 * Makefile.in (just-check): Export EXEEXT.
4889 * lib/gdb.exp ($EXEEXT): Import from environment.
4890 * gdb.base/maint.exp: Expect $EXEEXT in executable name. Don't
4891 expect "maint dump-me" on Cygwin.
4892 * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
4893 $EXEEXT.
4894
30e87cd3
ND
48952000-11-17 Nick Duffek <nsd@redhat.com>
4896
4897 * gdb.base/break.exp: Test backtrace and finish from called
4898 function on all platforms, not just HP-UX.
4899
dc96c6c7 49002000-11-03 Michael Snyder <msnyder@cygnus.com>
08e706b1
MS
4901
4902 * config/monitor.exp (gdb_target_cmd): Abstracts some of the
4903 code from gdb_target_monitor, so it can be used independantly
4904 for gdbserver. Also comment out an unnecessary PUTS.
d63a86f8 4905
dc96c6c7 49062000-11-03 Michael Snyder <msnyder@cygnus.com>
958a4e4c
MS
4907
4908 * gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
4909 * gdb.base/corefile.exp: Expect the message "Program is being
4910 debugged already" when we send the "corefile" command, since
4911 the preceeding gdb_load may have connected gdb to a remote target.
4912 * gdb.base/display.exp: Disable hardware watchpoints if new
4913 board info variable "no_hardware_watchpoints" is true.
4914 Replace single-letter commands with more readable ones.
4915 * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
4916 if new board info variable "no_hardware_watchpoints" is true.
4917 * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
4918 to see if stdio (printf) testing is possible.
4919 * gdb.base/watchpoint.exp: Disable hardware watchpoints if new
4920 board info variable "no_hardware_watchpoints" is true. Use new
4921 proc "gdb_skip_stdio_tests" to see if printf tests are possible.
4922
39124dea
FN
49232000-11-13 Fernando Nasser <fnasser@redhat.com>
4924
4925 From Orjan Friberg <orjanf@axis.com>:
4926 * gdb.base/printcmds.exp: Escape curly braces followed by a number
4927 in array print pattern match.
4928
a9e2e984
FN
49292000-11-09 Fernando Nasser <fnasser@redhat.com>
4930
4931 * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
4932 spelling "cancelled" to U.S. spelling "canceled" to match changes
4933 made to gdb.
4934 * gdb.c++/ovldbreak.exp: Ditto.
4935
c7db355b
PS
49362000-11-06 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
4937
4938 * gdb.base/callfuncs.c (main): Moved to end of file, call
4939 t_double_values to initialize the FPU before inferior calls are made.
4940 * gdb.base/callfuncs.exp: Test for register preservation after calling
4941 inferior functions. Add tests for continuining, finishing and
4942 returning from a stop in a call dummy.
4943
dc96c6c7 49442000-10-24 Michael Snyder <msnyder@cygnus.com>
42f5c13f
MS
4945
4946 * gdb.base/commands.exp: Break up long lines, and re-indent.
4947
dc96c6c7 49482000-10-19 Michael Snyder <msnyder@cygnus.com>
ae0323a8
MS
4949
4950 * config/gdbserver.exp: Rewritten from the ground up, to make it
4951 compatible with the current dejagnu tree, and to make it work with
4952 the new "gdbserver" in libremote.
4953
dc96c6c7 49542000-10-16 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
4955
4956 * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
4957 * gdb.base/varargs.exp: Skip entire test if no printf support.
4958 * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
4959 * gdb.base/shlib-call.exp: Skip several tests if no printf support.
4960
dc96c6c7 49612000-10-13 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
4962
4963 * lib/gdb.exp (gdb_skip_float_test): New proc. Skip test if
4964 no floating point support.
4965 (gdb_skip_stdio_test): New proc. Skip test if no stdio support.
4966 * gdb.base/call-ar-st.exp: Use above procs to skip tests.
4967 * gdb.base/call-rt-st.exp: Ditto.
4968 * gdb.base/call-strs.exp: Ditto.
4969
bac5fc66
JG
49702000-08-02 Jimmy Guo <guo@hpcleara.cup.hp.com>
4971
4972 * gdb.base/sizeof.c: include <stdio.h>.
4973
4974 * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
4975 'finish', otherwise uncaptured gdb_prompt would potentially
4976 throw remaining test points out of sync.
4977
b22a6027
SB
49782000-07-26 Scott Bambrough <scottb@netwinder.org>
4979
4980 * gdb.base/recurse.exp: Run tests for all targets.
4981 * gdb.base/so-impl-ld.exp: Added wildcard to handle the
4982 gnu-oldld case on ARM.
4983 * gdb.base/watchpoint.exp (test_stepping): Clear xfail
4984 for ARM targets.
d63a86f8 4985
d8231941
AG
4986Mon Jul 24 07:46:02 CDT 2000 Clinton Popetz <cpopetz@cygnus.com>
4987
4988 * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
4989 * gdb.java/configure: Rebuild.
4990
8caabe69
AG
4991Sun Jul 23 21:42:34 2000 Anthony Green <green@redhat.com>
4992
4993 * gdb.java/jv-exp.exp: New file.
4994
9d273ca3
AG
4995Sun Jul 23 21:02:42 2000 Anthony Green <green@redhat.com>
4996
4997 * configure: Rebuilt.
4998 * configure.in (configdirs): Add gdb.java.
4999 * gdb.java/jmisc.java: New file.
5000 * gdb.java/jmisc.exp: New file.
5001 * gdb.java/Makefile.in: New file.
5002 * gdb.java/configure: Rebuilt.
5003 * gdb.java/configure.in: New file.
5004 * lib/java.exp: New file.
5005
4f823a66
AC
5006Wed Jul 12 18:14:29 2000 Andrew Cagney <cagney@b1.cygnus.com>
5007
5008 * gdb.base/exprs.exp: Test casts to a pointer including over and
5009 underflow.
5010
2391e11d
AC
5011Thu Jul 13 11:52:53 2000 Andrew Cagney <cagney@b1.cygnus.com>
5012
5013 * gdb.base/sizeof.exp, gdb.base/sizeof.c: New files. Compare GDB
5014 and the compilers sizes.
5015
54602222
ND
50162000-07-09 Nick Duffek <nsd@redhat.com>
5017
5018 * gdb.c++/misc.cc (class ClassParam, class_param): Define.
5019 (use_methods): New function.
5020 (main): Call use_methods().
5021 * gdb.c++/classes.exp (test_method_param_class): New procedure.
5022 (do_tests): Call test_method_param_class.
5023
2bec0572
ND
50242000-07-09 Nick Duffek <nsd@redhat.com>
5025
5026 * gdb.c++/classes.exp (test_nonexistant_members): Fix name
5027 spelling.
5028 (test_enums): New procedure. Move enum tests from end of script
5029 to here. Set breakpoint on function name instead of line number.
5030 * gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
5031 (enums2): New marker function.
5032 (enums1): New function.
5033 (main): Call enums1(). Move enum tests to enums1().
5034
78492fde
AC
5035Tue Jul 4 03:43:49 2000 Andrew Cagney <cagney@b1.cygnus.com>
5036
5037 * gdb.asm/asm-source.exp: Use raw AS/LD instead of CC to
5038 compile/link program. Update line numbers.
5039 * gdb.asm/d10v.inc: Define ``startup''.
5040 * gdb.asm/asmsrc1.s: Add definition of _start.
d63a86f8 5041
49a2cef8
AC
5042Fri Jun 23 17:45:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
5043
5044 * gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
5045
3e6c8688
EZ
50462000-06-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5047
5048 * gdb.base/maint.exp: Add 'maint print architecture' item to output
5049 of 'help maint print' command.
5050
9ff5cbe9
AC
5051Fri Jun 16 18:22:05 2000 Andrew Cagney <cagney@b1.cygnus.com>
5052
5053 * gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
5054 they use gdb_expect_list.
5055
17c579bd
AC
5056Wed Jun 7 13:02:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
5057
5058 * gdb.base/commands.exp: Use ``set remote
5059 memory-read-packet-size'' instead of ``set endian big'' to test
5060 long commands.
5061
e6d71bf3
DB
50622000-06-03 Daniel Berlin <dan@cgsoftware.com>
5063
5064 * gdb.c++/templates.exp (do_tests): Make all of these work under
d63a86f8 5065 g++, and stop skipping them.
e6d71bf3
DB
5066
5067 * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
5068 work under g++.
5069
d63a86f8 5070 * gdb.c++/misc.cc: Fix ambiguous initialization with correct
e5f9ba7b
MS
5071 initialization.
5072
dc96c6c7 50732000-06-02 Michael Snyder <msnyder@cygnus.com>
7346e70f
MS
5074
5075 * gdb.base/annota1.exp (run until main breakpoint): Loosen up
5076 the regular expression: accept an (almost) arbitrary sequence of
5077 "frames-invalid" and "breakpoints-invalid" messages both before
5078 and after the "starting" message.
5079
dc96c6c7 50802000-06-02 Michael Snyder <msnyder@cygnus.com>
e5f9ba7b
MS
5081
5082 * gdb.c++/local.exp: This test has never been known to work with g++.
e6d71bf3 5083
dc96c6c7 50842000-05-18 Michael Snyder <msnyder@cygnus.com>
0a791409
MS
5085
5086 * gdb.base/annota1.exp (annotate-signal-handler-caller):
5087 Relax the regular expression a little, make it pass on Solaris 8.
5088
8216cda9
KB
50892000-05-12 Kevin Buettner <kevinb@redhat.com>
5090
5091 * gdb.base/step-test.exp: On IA-64 targets, when stepping out of
d63a86f8 5092 a call, do not require that gdb stop on the line after the call.
8216cda9
KB
5093 Instead, it is permissible for gdb to stop on the line of the
5094 call itself.
5095
1a570b2f
MS
50962000-05-12 Michael Snyder <msnyder@.cygnus.com>
5097
5098 * gdb.base/break.exp (bp on small function, optimized file):
5099 Add a second pass pattern. The behavior differs here between stabs
5100 and dwarf for one-line functions. Stabs preserves two line symbols
5101 (one before the prologue and one after) with the same line number,
5102 but dwarf regards these as duplicates and discards one of them.
5103 Therefore the address after the prologue (where the breakpoint is)
5104 has no exactly matching line symbol, and GDB reports the breakpoint
5105 as if it were in the middle of a line rather than at the beginning.
5106
dc96c6c7 51072000-05-08 Michael Snyder <msnyder@cygnus.com>
89cb06a2 5108
d63a86f8 5109 * gdb.base/interrupt.exp: Make "pass" message say "send"
89cb06a2
MS
5110 rather than "send_gdb" (for consistancy).
5111
7d418785
AC
5112Mon May 1 15:37:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
5113
5114 From 2000-04-28 Andreas Jaeger <aj@suse.de>:
5115 * gdb.c++/templates.cc: Properly check for GCC version number.
5116 * lib/compiler.cc: Likewise
5117
dc96c6c7 51182000-04-28 Michael Snyder <msnyder@cygnus.com>
e919ea79 5119
d63a86f8 5120 * gdb.base/break.exp: When compiled with -O2 optimization,
e919ea79
MS
5121 gdb may not stop at the first line of main, due to code motion.
5122
dc96c6c7 51232000-04-26 Michael Snyder <msnyder@cygnus.com>
1960c400
MS
5124
5125 * gdb.base/call-ar-st.exp: Bail out if target is sparclet.
5126 This test depends on parsing the printf output from the target.
5127 Since the sparclet stub doesn't do stdio, this will never work.
5128 * gdb.base/call-rt-st.exp: ditto.
5129 * gdb.base/call-strs: ditto.
5130
dc96c6c7 51312000-04-24 Michael Snyder <msnyder@cygnus.com>
b84b7669
MS
5132
5133 * gdb.base/miscexprs.exp: make sizeof long array test portable.
5134
5135 * gdb.base/ending-run.exp: After connecting to a remote target,
5136 but before running, the target will appear to be in a random
5137 location. Specify both a file and a line for breakpoints.
5138 Also, the function that calls main may be called 'init'
5139 rather than 'start'.
5140
a5a51225
EZ
51412000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5142
5143 * gdb.base/help.exp: Update output for add-symbol-file command.
5144
7930cc7c
FN
51452000-04-10 Fernando Nasser <fnasser@cygnus.com>
5146
5147 From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
5148 * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
5149
23e37ab1
C
51502000-04-07 J.T. Conklin <jtc@redback.com>
5151
e93c542c
C
5152 * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
5153
23e37ab1
C
5154 * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
5155
591b8fa3
PDM
5156Thu Mar 30 13:26:19 2000 Philippe De Muyter <phdm@macqel.be>
5157
5158 * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
5159 values that can be represented exactly.
5160 * gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
5161 above change, and to not check against the directory part of the source
5162 file name.
5163 (step into print_long_arg_list): Likewise.
5164 (print print_small_structs from print_long_arg_list): Likewise.
5165 (print print_long_arg_list): Likewise.
5166
7a495180
EZ
51672000-03-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5168
30b53638 5169 * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
7a495180 5170
beb998c6
AC
5171Mon Mar 27 14:46:37 2000 Andrew Cagney <cagney@b1.cygnus.com>
5172
5173 * ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
5174
1c689132
DB
51752000-03-25 Daniel Berlin <dan@cgsoftware.com>
5176
5177 * gdb.base/commands.exp (deprecated_command_test): Add test for
5178 deprecate with no arguments.
5179
c1790a9d
JL
51802000-03-24 Jonathan Larmour <jlarmour@redhat.co.uk>
5181
5182 * gdb.base/break.exp: Add new test for setting breakpoints on
5183 optimized code so we can test breakpoints work even when function
5184 prologues may be optimized away
5185
003ba290
FN
51862000-03-23 Fernando Nasser <fnasser@totem.to.cygnus.com>
5187
5188 From David Whedon <dwhedon@gordian.com>
5189 * gdb.base/commands.exp : Added command deprecator tests.
5190
6837a0a2
DB
51912000-03-22 Daniel Berlin <dan@cgsoftware.com>
5192
5193 * gdb.base/help.exp: Added test for new apropos command.
5194
b9593231
KB
51952000-03-21 Kevin Buettner <kevinb@redhat.com>
5196
5197 * gdb.base/pointers.c (usevar): New function.
5198 (main): Make sure that global variables v_int_pointer2, rptr,
5199 and y are all referenced someplace in the program by calling
5200 usevar() on them. [Some linkers delete symbols which are
5201 never referenced. The space remains, but there's no way to
5202 get a (symbolic) handle on the variable from the debugger.]
5203
751a959b
EZ
52042000-03-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5205
5206 * gdb.base/printcmds.c: Add typedeffed arrays.
5207
5208 * gdb.base/printcmds.exp (test_print_typedef_arrays): New
5209 procedure to test arrays that are typedef'd.
5210
73a93a32
JI
52112000-03-13 James Ingham <jingham@leda.cygnus.com>
5212
5213 * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
d63a86f8 5214 the library directories.
73a93a32 5215
fb40c209
AC
5216Mon Feb 21 13:05:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
5217
5218 * configure.in (configdirs): Add sub directory gdb.mi.
5219 * configure: Re-generate.
5220
5221 * gdb.mi: New directory.
d63a86f8 5222
ee4dd2c9
AC
52232000-02-25 Scott Bambrough <scottb@netwinder.org>
5224
5225 * gdb.base/long_long.exp: Correct test suite failure when printing
5226 a long long value as a double on ARM platforms.
5227
70f0cc22
JB
52282000-02-16 Jim Blandy <jimb@redhat.com>
5229
5230 * gdb.base/break.exp ("breakpoint line number"): Make sure the
5231 default source file is set properly before running this test.
5232
853819b8
EZ
52332000-02-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5234
5235 * lib/gdb.exp: Tell the testsuite that now gdbtk is in the
5236 gdbtk/library directory, not in gdbtcl2.
5237
dfcd3bfb
JM
52382000-02-04 Jim Blandy <jimb@redhat.com>
5239
5240 * gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
5241 backslash from regexp pattern.
5242
5243 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): New
5244 procedure. Use it to run all the "continue to bp overloaded"
5245 tests. Note that this changes the names of the tests slightly.
5246 If the breakpoint hit message includes a hex PC value, because
5247 GCC's Dwarf 2 line info doesn't help us distinguish the prologue
5248 from the real source code, still consider that a pass.
5249
5250 * gdb.base/condbreak.exp ("run until breakpoint at marker2"):
5251 XFAIL here if the breakpoint message contains a hex address. Note
5252 similar change on 1999-11-02.
5253
5254 * gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
5255
5256 * gdb.base/ptype.exp: Establish a default source file before
5257 calling get_debug_format.
5258
52592000-02-03 Fernando Nasser <fnasser@totem.to.cygnus.com>
5260
5261 * gdb.base/watchpoint.exp: Remove duplication of test messages.
5262
8b93c638
JM
52632000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
5264
5265 * gdb.base/step-test.exp: Fix the steps to enter a callee by means
5266 of successive stepi commands -- while in the prologue we should see
5267 the function entry bracket.
5268
52692000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
5270
5271 * gdb.base/ending-run.exp: Add ARM in thumb mode case, where we
5272 reach __change_mode() when stepping through the end of main().
5273
c5394b80
JM
52742000-01-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
5275
5276 * gdb.base/default.exp: Fix expected pattern.
5277 * gdb.base/help.exp: Same.
5278
0d06e24b
JM
52792000-01-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5280
5281 * gdb.base/so-indr-cl.exp: Don't execute the test if not on HPUX.
5282 Don't use xfail's because that affects only the following test.
d63a86f8 5283
0d06e24b
JM
5284 * gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
5285 solaris or linux.
5286
5287 * gdb.base/selftest.exp: Update to reflect changes to main.c.
5288
dc96c6c7 52892000-01-07 Michael Snyder <msnyder@cygnus.com>
0d06e24b 5290
d63a86f8 5291 * gdb.base/display.exp: Some yacc parsers like to say
0d06e24b
JM
5292 "A syntax error" rather than "A parse error". Accept both.
5293
52942000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
5295
5296 * gdb.base/default.exp: Remove OS dependent string from "target
5297 remote" test.
5298 * gdb.base/help.exp: Same for "help target remote" test.
5299
c3f6f71d
JM
53002000-01-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5301
5302 From Jim Kingdon <kingdon@redhat.com>:
5303
5304 * gdb.c++/annota2.exp: Fix "delete bps" test to wait for the
5305 prompt (cleanup rather than necessity, but still might keep output
5306 from spilling to next test).
5307
53082000-01-02 Fred Fish <fnf@cygnus.com>
5309
5310 * gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
5311 AIX, which defines them in <sys/types.h>.
5312
ed9a39eb 53131999-12-16 Stan Shebs <shebs@andros.cygnus.com>
c4093a6a 5314
ed9a39eb
JM
5315 * gdb.base/default.exp: Match arm* etc instead of arm in "info
5316 float" test.
5317
53181999-12-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
c4093a6a 5319
ed9a39eb 5320 * gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
c4093a6a
JM
5321
5322 * gdb.base/break.exp: Add missing anchor to reg exp on "finish from
5323 outermost frame disallowed".
5324
53251999-12-09 Fernando Nasser <fnasser@totem.to.cygnus.com>
5326
5327 * gdb.base/setvar.exp: New tests for setting the value of a struct
5328 with a constant list.
5329
53301999-12-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
5331
5332 * gdb.base/setvar.exp: Remove pair os tests that expected gdb to
5333 require the user to type a cast before setting the value of a struct.
5334
de57eccd
JM
53351999-12-06 Jim Blandy <jimb@cygnus.com>
5336
5337 * gdb.base/default.exp: Expect the new 'info float' command on
5338 all i386 platforms.
5339
5340 * gdb.threads/linux-dp.exp: Expand our ability to recognize
5341 LinuxThreads libraries that don't support debugging.
5342
c2d11a7d
JM
5343Sat Dec 4 15:21:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
5344
5345 * gdb.base/remote.c: Fill the buffer with truely random data.
5346 Change the buffer type to ``unsigned char'' to simplify size
5347 arithmetic.
5348
5349 * gdb.base/remote.exp: Reduce download numbers by one. Typical
5350 stub only handles 400-1 byte packets. Verify that the download
5351 worked.
5352
53531999-11-30 Fernando Nasser <fnasser@totem.to.cygnus.com>
5354
5355 * lib/gdb.exp (gdb_expect_list): FAIL only once on multiple pattern
5356 tests, using UNRESOLVED for the untested cases. Also, does not wait
5357 for a timeout if the prompt was received before a recognizable pattern.
5358
53591999-11-29 Fernando Nasser <fnasser@totem.to.cygnus.com>
5360
5361 * lib/gdb.exp (gdb_expect_list): Fix spelling.
5362
53631999-11-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5364
5365 * gdb.base/watchpoint.exp: Add tests cases for the hit count of
5366 watchpoints.
5367
53681999-11-24 Jason Merrill <jason@casey.cygnus.com>
5369
5370 * gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
5371
5372 * gdb.c++/local.exp: Be more flexible in recognizing local class
5373 name mangling. Don't allow horribly truncated method names.
5374 * gdb.c++/derivation.exp: Expect protected inheritance.
5375 * gdb.c++/inherit.exp: Be more flexible in recognizing vbase pointers.
5376 * gdb.c++/virtfunc.exp: Likewise.
5377 * gdb.c++/classes.exp: Likewise. Don't require the enclosing scope
5378 when printing a nested enum.
5379
53801999-11-22 Jim Blandy <jimb@cygnus.com>
5381
5382 * gdb.base/step-test.exp: Properly await GDB's response to setting
5383 a breakpoint on the call to large_struct_by_value.
5384
5385 * gdb.base/ending-run.exp ("step to end of run 1"): Don't fail
5386 just because we have debug info for the `start' function.
5387
53881999-11-19 Jim Blandy <jimb@zenia.red-bean.com>
5389
5390 * gdb.threads/linux-dp.exp ("create philosopher"): Recognize the
5391 "Unknown signal" messages, which indicate (on LinuxThreads) that
5392 GDB doesn't know how to debug threads on this system. This is
5393 better than hanging while philosopher 0 dumps chatter into gdb.log.
5394
53951999-11-18 Tom Tromey <tromey@cygnus.com>
5396
5397 * gdb.trace/deltrace.exp: Updated test to reflect new error text.
5398
53991999-11-18 Fred Fish <fnf@cygnus.com>
5400
5401 * gdb.base/coremaker2.c: Add sample program for generating
5402 cores that is more self contained than coremaker.c. Eventually
5403 I'll add more code to this and tie it into the testsuite.
5404
4ce44c66
JM
54051999-11-12 Stan Shebs <shebs@andros.cygnus.com>
5406
5407 * gdb.base/dollar.exp: Remove, now in gdb.hp.
5408
54091999-11-10 Jimmy Guo <guo@cup.hp.com>
5410
5411 * gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
5412 from $srcdir/lib/.
5413 * lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
5414 and gdb.c++/.
5415
5416 * gdb.c++/derivation.exp: remove redundant get compiler info code.
5417
d63a86f8 5418 * gdb.base/commands.exp: add '$gdb_prompt $' anchor to
4ce44c66
JM
5419 'continue with watch' test point.
5420
54211999-11-08 Jim Blandy <jimb@zenia.red-bean.com>
5422
5423 Merged from p2linux-990323-branch:
d63a86f8 5424
4ce44c66
JM
5425 * lib/gdb.exp (gdb_continue_to_breakpoint): New function.
5426
11cf8741
JM
5427Mon Nov 8 23:07:09 1999 Andrew Cagney <cagney@amy.cygnus.com>
5428
5429 * gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
5430 {limit,fixed}''. Test ``set download-write-size''.
5431
5432Sun Nov 7 17:37:01 1999 Andrew Cagney <cagney@b1.cygnus.com>
5433
5434 * gdb.base/funcargs.exp: Rewrite stack traceback checks using
5435 gdb_expect_list.
5436
5437Fri Nov 5 18:40:52 1999 Andrew Cagney <cagney@b1.cygnus.com>
5438
5439 * lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
5440
54411999-11-03 Mark Salter <msalter@cygnus.com>
5442
5443 * gdb.base/break.exp: Fix "stub continue" pattern.
5444
54451999-11-03 Jim Blandy <jimb@zwingli.cygnus.com>
5446
5447 * gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
5448
54491999-11-02 Jim Blandy <jimb@zwingli.cygnus.com>
5450
5451 * gdb.base/display.exp ("finish"): Add timeout clause.
5452
5453 * gdb.base/condbreak.exp ("run until breakpoint at marker1"): Add
5454 plain prompt clause, so this doesn't have to time out in order to
5455 fail.
5456
5457 * gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
5458 breakpoint hit messages include an address.
5459
5460 * gdb.base/display.exp: Don't forget to escape parens in regular
5461 expressions. Unix regexp notatation sucks.
5462
54631999-11-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5464
5465 * gdb.base/annota1.exp: Test for annotate-signalled: change output
5466 order for 'signalled' message.
5467
5c44784c
JM
54681999-11-01 Stan Shebs <shebs@andros.cygnus.com>
5469
5470 From Jimmy Guo <guo@cup.hp.com>:
5471 * gdb.base/annota1.exp: Add tests for annotate ignore count change.
5472 * gdb.base/annota1.c: Add code for tests to work with.
5473
54741999-10-26 Frank Ch. Eigler <fche@cygnus.com>
5475
5476 * gdb.base/remote.exp: New test for remote downloading settings.
5477 * gdb.base/remote.c: New file with large .data.
5478
917317f4
JM
54791999-10-18 Jim Blandy <jimb@zwingli.cygnus.com>
5480
5481 * gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
5482 for LinuxThreads support, merged from the Code Fusion branch.
5483
5484Mon Oct 11 13:57:21 1999 Andrew Cagney <cagney@amy.cygnus.com>
5485
5486 * lib/gdb.exp (gdb_run_cmd): Break complicated gdb_expect
5487 containing exp_continue into a while within an expect. Don't
5488 attempt a start more than three times. Check return value from
5489 gdb_load.
d63a86f8 5490
2df3850c
JM
5491Wed Oct 6 12:05:58 1999 Andrew Cagney <cagney@b1.cygnus.com>
5492
5493 * gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
5494 a pass case.
5495
2acceee2
JM
54961999-10-01 Kevin Buettner <kevinb@cygnus.com>
5497
5498 * gdb.base/break.c (main): Added a statement that we can step
5499 off of.
5500 * gdb.base/break.exp: Added tests for setting a breakpoint
5501 at an offset and stepping onto a breakpoint.
5502
55031999-10-01 Fred Fish <fnf@cygnus.com>
5504
d63a86f8 5505 * gdb.base/help.exp (help add-symbol-file): Update to match current
2acceee2
JM
5506 gdb output.
5507
c2c6d25f
JM
55081999-09-18 Jim Blandy <jimb@cris.red-bean.com>
5509
5510 * gdb.base/break.exp: Code locations are in hex, don't forget!
5511 (For HP-UX.)
5512
55131999-09-17 Stan Shebs <shebs@andros.cygnus.com>
5514
5515 * condbreak.exp: Use break.c as test program.
5516 * condbreak.c: Remove, redundant with break.c.
5517
55181999-09-15 Stan Shebs <shebs@andros.cygnus.com>
5519
5520 * config/monitor.exp (gdb_target_monitor): Disable X- and
5521 Z-packets if the target needs it.
5522
55231999-09-13 James Ingham <jingham@leda.cygnus.com>
5524
5525 * gdb.c++/overload.exp: Added tests for listing overloaded
5526 functions with function pointers in the arg, explicitly calling
5527 out the version you want.
5528
cff3e48b
JM
55291999-09-09 Stan Shebs <shebs@andros.cygnus.com>
5530
5531 * long_long.exp: Add variations of test cases that work for
5532 targets with 16-bit ints and 32-bit doubles.
5533
d4f3574e
SS
55341999-09-08 Stan Shebs <shebs@andros.cygnus.com>
5535
5536 * break.c (main): Compare a possibly-uninitialized argc with an
5537 unlikely value that fits in 16 bits.
5538
55391999-09-07 Stan Shebs <shebs@andros.cygnus.com>
5540
5541 * gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
5542 0xfeeb, don't want negative numbers if ints are 16 bits.
5543
5544 * lib/gdb.exp (skip_cplus_tests): New proc.
5545 * gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
5546 gdb.c++/anon-union.exp, gdb.c++/classes.exp,
5547 gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
5548 gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
5549 gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
5550 gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
5551 gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
5552 gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
5553
5554 * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
5555
5556Fri Sep 3 15:37:12 1999 Kevin Buettner <kevinb@cygnus.com>
5557
5558 * gdb.base/corefile.exp (up): Allow a parameter to appear
5559 in the frame that we're going up to.
5560
5561 From Jim Blandy <jimb@cygnus.com>:
5562
5563 * gdb.base/default.exp (info float): Expect some output now.
5564
5565 * gdb.base/callfuncs.exp (do_function_calls): We no longer expect
5566 returning floating-point values to fail on the x86.
5567 * gdb.base/callfwmall.exp (do_function_calls): Same.
5568
5569 * gdb.base/list.exp (test_listsize): Correct expectations for
5570 listing line 1 with listsize 2. Also, listing a single line
5571 works now, as does listing three lines. [Kevin's note: There
5572 were a number of other cases fixed too where the expectations
5573 differed...]
5574
55751999-09-02 Stan Shebs <shebs@andros.cygnus.com>
5576
5577 * gdb.base/selftest.exp: Add case for when version prints as
5578 constant string instead of char pointer.
5579
104c1213
JM
55801999-08-25 Stan Shebs <shebs@andros.cygnus.com>
5581
5582 * gdb.base/ending-run.exp: Add Solaris case for what happens when
5583 stepping out of main.
5584
5585 * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
5586 G++ used.
5587
5588 * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
5589 always, expect ptype InnerLocal::NestedInnerLocal to fail always.
5590
5591 * gdb.c++/ovldbreak.exp: Update match string in test that
5592 includes a warning of multiple breakpoints.
5593
55941999-08-24 Stan Shebs <shebs@andros.cygnus.com>
5595
5596 * gdb.base/display.exp: Improve precision of step-after-finish
5597 added yesterday.
5598
5599 * gdb.base/signals.exp: Add extra wildcard to "handle all print"
5600 test.
5601
5602 * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
5603 configs when using G++, not just hppa*.
5604
56051999-08-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5606
5607 * gdb.base/async.c: New file.
5608 * gdb.base/async.exp: New file.
5609
5610Tue Aug 24 03:24:53 1999 Jeffrey A Law (law@cygnus.com)
5611
5612 * gdb.base/break.exp: Tweak PA specific tests to properly handle
5613 PA64.
5614
53a5351d
JM
5615Mon Aug 23 10:25:20 1999 Jeffrey A Law (law@cygnus.com)
5616
104c1213
JM
5617 * gdb.base/display.exp: "finish" can leave us mid-line on many
5618 targets, deal with it. Add a small constant to main, instead of
5619 1000 since main+1000 may not be a valid address in the target.
5620
53a5351d
JM
5621 * gdb.base/dollar.exp: Do not run for PA processors in wide mode
5622 on hpux11.
5623
5624 * gdb.base/attach.exp: Handle another hpux11 error message variant
5625 when attaching to a process that does not exist.
5626
56271999-08-19 J.T. Conklin <jtc@redback.com>
5628
5629 * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
5630 characters in 'continue to 1241' test.
5631
56321999-08-17 Stan Shebs <shebs@andros.cygnus.com>
5633
5634 * gdb.base/call-ar-st.exp: Add a shorter match case for the
5635 stop in print_long_arg_list, define and use a whitespace
5636 variable in print_small_structs test, add an XFAIL for Solaris.
5637 * gdb.base/dbx.exp: XFAIL func commands until somebody is
5638 interested enough to fix.
5639
7be570e7
JM
56401999-08-13 Keith Seitz <keiths@cygnus.com>
5641
5642 * gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
5643 (dbx_gdb_load): Remove. Use gdb_load instead, since that
5644 proc knows about targets other than the natives.
5645 (test_assign): Use "gdb_run_cmd" to "run" the target.
5646 Check that we've actually hit the breakpoint at main.
5647 When we attempt to assign a value to a local variable, check
5648 that the variable is in the current scope, i.e., don't use
5649 a test with an empty result.
5650
5651Tue Aug 10 15:25:16 1999 Andrew Cagney <cagney@b1.cygnus.com>
5652
5653 * gdb.base/maint.exp: Add test of ``maintenance internal-error''
5654 command.
5655
56561999-08-09 Stan Shebs <shebs@andros.cygnus.com>
5657
5658 From Jimmy Guo <guo@cup.hp.com> and others at HP:
5659 gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
5660 gdb.compat, gdb.threads-hp.
5661 gdb.hp/configure, gdb.hp/configure.in: New files.
5662 gdb.hp/Makefile.in: Recurse into new subdirs.
5663 gdb.hp/gdb.defects: New directory, tests for HP bug reports.
5664 gdb.hp/gdb.objdbg: New directory, tests for debugging info
5665 in object files.
5666 gdb.hp/tools: New directory, aux tools for HP-specific tests.
5667
96baa820
JM
56681999-08-05 Stan Shebs <shebs@andros.cygnus.com>
5669
5670 * gdb.base/display.exp: Help expect by putting a newline in the
5671 funky printf, remove a bogus p/a test.
5672
56731999-08-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5674
5675 * gdb.base/display.exp: Make sure that when we say 'run', we are
5676 connected to the target. This is necessary when running not
5677 natively.
5678
56791999-08-03 Stan Shebs <shebs@andros.cygnus.com>
5680
5681 * gdb.base/step-test.exp: Removed some extraneous messages.
5682
5683 * gdb.base/long_long.exp: Don't run memory examination tests
5684 on little-endian targets (they will need a different set of
5685 results to match).
5686
56871999-08-02 Stan Shebs <shebs@andros.cygnus.com>
5688
5689 * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
5690 until somebody decides to fix GDB.
5691
5692 * gdb.base/long_long.c: Stop compiler complaint by specifying long
5693 constant as "ULL".
5694 * gdb.base/long_long.exp: Loosen x/c test, add partial result
5695 matches for a couple x/2 commands.
5696
a0b3c4fd
JM
56971999-07-30 Stan Shebs <shebs@andros.cygnus.com>
5698
5699 * gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
5700 by merging in ref-types2 tests.
5701 * gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
5702
5703 From Jimmy Guo <guo@cup.hp.com> and others at HP:
5704 * gdb.c++/Makefile.in: Add standard actions.
5705 (EXECUTABLES): Rename from PROGS, update list.
5706 * gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
5707 from gdb.hp.
5708 * gdb.c++/anon-union.cc: Don't use anonymous struct, make
5709 foo and bar locals.
5710 * gdb.c++/anon-union.exp: Fix tests to match.
5711 * gdb.c++/classes.exp: Run if HP compiler used, add extra
5712 expect matches to handle output variations.
5713 * gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
5714 * gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
5715 output, add HP alternatives for new and delete prints.
5716 * gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
5717 gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
5718 * gdb.c++/demangle.exp: Use $style when reporting failure.
5719 * gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
5720 * gdb.c++/inherit.exp: Run if HP compiler used, add some
5721 match alternatives.
5722 * gdb.c++/local.exp: Add match alternatives or xfails for HP
5723 compilers.
5724 * gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
5725 * gdb.c++/method.exp: Add match alternatives.
5726 * gdb.c++/misc.cc: Add bool types.
5727 * gdb.c++/misc.exp: Add tests for bool types.
5728 * gdb.c++/overload.exp: Add xfails.
5729 * gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
5730 * gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
5731 add some more template parameter tests (only for HP currently).
5732 * gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
5733 * gdb.c++/virtfunc.cc: Add return type and value for main.
5734 * gdb.c++/virtfunc.exp: Run if HP compiler used, add some
5735 match alternatives.
d63a86f8 5736
a0b3c4fd
JM
57371999-07-30 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5738
5739 * gdb.base/display.exp: Fix output of 'p/a &&j' test.
5740
57411999-07-29 Jim Blandy <jimb@savonarola.red-bean.com>
5742
5743 * gdb.base/signals.exp: Don't expect getting a backtrace from
5744 within a signal handler to fail on Linux.
5745
57461999-07-29 Stan Shebs <shebs@andros.cygnus.com>
5747
5748 From Jimmy Guo <guo@cup.hp.com> and others at HP:
5749 * lib/gdb.exp: Remove some gratuitious semicolons.
5750 (delete_breakpoints): Increase timeout.
5751 (gdb_expect): Add -notransfer option.
5752 (gdb_test): Use -notransfer option.
5753 (get_compiler_info): Add f77 case.
5754 (get_compiler): New proc, split out from gdb_preprocess, add f77
5755 case.
5756 (gdb_preprocess): Call get_compiler.
5757
5758 * gdb.base/Makefile.in (EXECUTABLES): Update the list.
5759 * gdb.base/attach.exp, gdb.base/display.exp,
5760 gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
5761 gdb.base/long_long.exp, gdb.base/printcmds.exp,
5762 gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
5763 third arg to gdb_test.
5764 * gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
5765 * gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
5766 HP-UX xfails, add others.
5767 * gdb.base/completion.exp: Reflect name change of self-test.
5768 * gdb.base/condbreak.exp, gdb.base/corefile.exp,
5769 gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
5770 gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
5771 HP failure number.
5772 * gdb.base/foll-vfork.exp: Loosen matches slightly, remove
5773 useless HP-UX 10.30 references.
5774 * gdb.base/maint.exp: Loosen matches.
5775 * gdb.base/pointers.c (main): Declare more_code.
5776 * gdb.base/pointers.exp: Match on output of a `next'.
5777 * gdb.base/structs.c: Add prototypes.
5778 * gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
5779 * gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
5780
57811999-07-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5782
5783 * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
5784 command.
5785
57861999-07-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5787
5788 * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
5789 Fix run to main failures. Watchpoint can be hardware watchpoint.
d63a86f8
RM
5790
5791 * gdb.base/annota1.exp: Clean up some more, in case printf has
a0b3c4fd
JM
5792 debug info. Deal with lack of signal hanlder info in stack.
5793
5794 From Jim Kingdon <kingdon@redhat.com>:
5795 * gdb.base/annota1.exp: If printf has debug info, deal with it.
5796
5a2468f5
JM
57971999-07-19 Stan Shebs <shebs@andros.cygnus.com>
5798
5799 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
5800 gdb.base/foll-vfork.exp: Don't run for crosses.
5801
adf40b2e
JM
5802Tue Jul 13 23:37:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
5803
5804 * gdb.base/configure.in: Check for gdbvars.exp instead of
5805 a1-selftest.exp.
5806 * gdb.base/configure: Re-generate.
5807
58081999-07-12 Stan Shebs <shebs@andros.cygnus.com>
5809
5810 * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
5811 in trying to run first and name is too long.
5812
5813 * gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
5814 pointers2.c and pointers2.exp, respectively.
5815 * gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
5816 doschk happier.
5817
43e526b9
JM
58181999-07-08 Stan Shebs <shebs@andros.cygnus.com>
5819
5820 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
5821 callfuncs2.c and callfuncs2.exp.
5822
5823 * gdb.base/list.exp: Remove mistaken xfails.
5824 * gdb.base/list0.h: Add optional prototypes.
5825
9846de1b
JM
5826Wed Jul 7 00:27:35 1999 Andrew Cagney <cagney@amy.cygnus.com>
5827
5828 * gdb.base/setvar.exp: Increase the time-out on tests indirectly
5829 calling malloc.
5830 * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
5831 * ptype.exp: Move test for get_debug_format to before its first
5832 use.
5833
58341999-07-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5835
5836 * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
5837 * gdb.base/annota2.cc, annota2.exp: Move from here.
5838 * gdb.c++/annota2.cc, annota2.exp: To here.
5839 * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
5840
43ff13b4
JM
5841Tue Jun 29 11:56:06 1999 Andrew Cagney <cagney@b1.cygnus.com>
5842
5843 * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
5844 a consistent format.
5845
085dd6e6
JM
58461999-06-25 Stan Shebs <shebs@andros.cygnus.com>
5847
5848 From Jimmy Guo <guo@cup.hp.com> and others at HP:
5849 * lib/gdb.exp (get_compiler_info): Add detection for assorted
5850 HP compilers, also set the globals $true and $false.
5851
5852 * gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
5853 call-rt-st.c, call-strs.c, callfuncs.c, callfuncs2.c, condbreak.c,
5854 coremaker.c, ending-run.c, exprs.c, funcargs.c, interrupt.c,
5855 jump.c, langs0.c, langs1.c, langs2.c, list0.c, list1.c,
5856 long_long.c, mips_pro.c, nodebug.c, opaque0.c, opaque1.c,
5857 printcmds.c, ptype.c, recurse.c, restore.c, return.c, run.c,
5858 scope0.c, scope1.c, setshow.c, setvar.c, shmain.c, shr1.c, shr2.c,
5859 sigall.c, signals.c, so-impl-ld.c, so-indr-cl.c, solib.c,
5860 solib1.c, solib2.c, step-test.c, twice.c, varargs.c, watchpoint.c,
5861 whatis.c} Add C++ compatible function definitions and return
5862 types, add includes for library functions.
5863 * gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
5864 * gdb.base/step-test.c (myglob): Rename from glob.
5865 * gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
5866 foll-exec.c, foll-fork.c, foll-vfork.c, sum.c, vforked-prog.c: New
5867 files, move here from gdb.hp.
5868 * gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
5869 commands.exp, condbreak.exp, define.exp, ena-dis-br.exp,
5870 ending-run.exp, jump.exp. list.exp, long_long.exp, so-impl-ld.exp:
5871 Adjust line numbers in regexps.
5872
5873 * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
5874 miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
5875 instead of 0/1.
5876
5877 * gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
5878 foll-vfork.exp: New files, move here from gdb.hp.
5879 * gdb.base/page.exp: New file, test of pagination command.
5880
5881 * gdb.base/watchpoint.c (recurser): New function, for watchpoint
5882 recursion test.
5883 * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
5884
5885 * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
5886 gdb.base/solib.exp: Fix compiler invocation process.
5887
5888 * gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
5889 HP-UX 11, turn off overload resolution explicitly.
5890 * gdb.base/commands.exp: Set argument list explicitly, add
5891 watchpoint test.
5892 * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
5893 them work.
5894 * gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
5895 expressions properly.
5896 * gdb.base/corefile.exp: Loosen the match slightly.
5897 * gdb.base/default.exp: Allow "Error accessing memory" message
5898 also.
5899 * gdb.base/display.exp: Skip over x/0 j if PA64.
5900 * gdb.base/funcargs.exp: Add xfails for HP-UX.
5901 * gdb.base/interrupt.exp: Ditto.
5902 * gdb.base/langs.exp: Add symbolic matches governed by compiler
5903 in use.
5904 * gdb.base/list.exp: Add xfails for HP-UX.
5905 * gdb.base/long_long.exp: Refine some of the numeric matches.
5906 * gdb.base/mips_pro.exp: Xfail on HP-UX.
5907 * gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
5908 * gdb.base/nodebug.exp: Succeed on more varieties of output.
5909 * gdb.base/opaque.exp: Remove some HP-UX xfails.
5910 * gdb.base/ptype.exp: Succeed on more varieties of output.
5911 * gdb.base/scope.exp: Add xfails for HP-UX.
5912 * gdb.base/sect-cmd.exp: Add more cases.
5913 * gdb.base/setvar.exp: Add xfails for HP-UX.
5914 * gdb.base/shlib-call.exp: Loosen some matches slightly.
5915 * gdb.base/signals.exp: Match on void symbolically.
5916 * gdb.base/step-test.exp: Add case for PA64.
5917 * gdb.base/term.exp: Add exit and restart.
5918 * gdb.base/twice.exp: Clean up after self.
5919 * gdb.base/varargs.exp: Disable overload resolution explicitly.
5920 * gdb.base/whatis.exp: Allow more ways to pass tests.
5921
5922 * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
5923 no longer useful.
5924
5925Fri Jun 25 19:27:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
5926
5927 * lib/gdb.exp (proc gdb_expect_list): New procedure. Matches a
5928 list of patterns.
5929 * gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
5930 print_double_array(double_array)", "continuing to breakpoint
5931 1018", "print print_double_array(array_d)" and "continuing to
5932 1034" tests.
d63a86f8 5933
085dd6e6
JM
59341999-06-24 Jason Molenda (jsm@bugshack.cygnus.com)
5935
5936 * Makefile.in: Add empty html and install-html targets.
5937
59381999-06-24 Stan Shebs <shebs@andros.cygnus.com>
5939
5940 * config/mt-*: Remove, these haven't been used since 1996.
5941
59421999-06-22 Stan Shebs <shebs@andros.cygnus.com>
5943
5944 * gdb.base/call-strs.c, gdb.base/ending-run.c,
5945 gdb.base/step-test.c: Include stdlib.h and string.h as needed.
5946 * gdb.c++/member-ptr.exp: Skip over these tests if using G++.
5947
9e0b60a8
JM
59481999-06-18 Stan Shebs <shebs@andros.cygnus.com>
5949
5950 * gdb.c++/overload.exp: XFAIL everything if using G++, add a
5951 simpler match case for the ptype of the big class.
5952
59531999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
5954
5955 * gdb.exp: Fix test for gdb_prompt existence.
5956
59571999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
5958
5959 * gdb.exp (gdb_test): Add fail after calls to perror.
5960
59611999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
5962
5963 * gdb.exp (gdb_test): Accept variations of Undefined command messages.
5964
59651999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
5966
5967 * gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
5968
0f71a2f6
JM
5969Fri Jun 11 12:56:50 1999 Andrew Cagney <cagney@b1.cygnus.com>
5970
5971 * gdb.base/call-strs.c (link_malloc): New function. Ensure that
5972 malloc() is linked in.
5973
59741999-06-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
5975
5976 * gdb.base/ending-run.exp: Make sure we fail and do not timeout at
5977 step at end.
5978
5979 * gdb.base/annota1.exp: Increase match_max to prevent timeout.
5980
59811999-06-08 Jim Blandy <jimb@zwingli.cygnus.com>
5982
5983 * gdb.java/jv-print.exp: New file. (Our first Java test!)
5984
cce74817
JM
5985Fri Jun 4 10:47:46 1999 Jeffrey A Law (law@cygnus.com)
5986
5987 * gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
5988 * gdb.base/mips_pro.exp: Likewise.
5989
59901999-06-02 Keith Seitz <keiths@cygnus.com>
5991
5992 * gdb.c++/templates.cc: Change all "new" operators to throw
5993 an exception.
5994 * gdb.c++/cplusfuncs.cc: Likewise.
5995
5996 * gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
5997
5998Wed Jun 2 17:37:05 1999 Andrew Cagney <cagney@b1.cygnus.com>
5999
6000 * gdb.base/condbreak.exp: Use rerun_to_main to start the program.
6001 * gdb.base/ending-run.exp: When stepping out of main, accept a
6002 step into an arbitrary assembler file.
6003
392a587b
JM
60041999-05-20 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
6005
d63a86f8 6006 * gdb.base/annota1.exp: Allow any number of "frames-invalid" and
392a587b 6007 "breakpoint-invalid" to be printed.
d63a86f8 6008 * gdb.base/annota2.exp: Revise line number for main breakpoint. Allow any
392a587b
JM
6009 number of "frames-invalid" and "breakpoint-invalid" to be printed.
6010 * gdb.base/annota2.cc: Initialize a.x to 0.
6011
9e086581
JM
60121999-05-17 Keith Seitz <keiths@cygnus.com>
6013
6014 * gdb.base/call-ar-st.exp: Skip "print print_double_array (double_array)"
6015 when "skip_float_tests" set.
6016 Ditto for "print print_double_array(array_d)", "print print_small_structs",
6017 "print print_ten_doubles", and "step into print_long_arg_list".
6018 Don't assume we can step into "print_long_arg_list": we could step into memcpy.
6019 * gdb.base/call-rt-st.exp: Don't run float-related tests when "skip_float_tests"
6020 is set: "print print_one_double(*d1)" and "print print_two_floats(*f3)".
6021 * gdb.base/funcargs.exp: Don't run "float_and_integral_args" when
6022 "skip_float_tests" is set.
6023 * gdb.base/varargs.exp: Skip "print find_max_double(5,1.0,17.0,2.0,3.0,4.0)"
6024 when "skip_float_tests" set.
d63a86f8 6025
cd0fc7c3
SS
60261999-05-06 Keith Seitz <keiths@cygnus.com>
6027
6028 * gdb.base/annota2.cc: Include stdio.h.
6029
6030Wed May 5 17:44:31 1999 Stan Shebs <shebs@andros.cygnus.com>
6031
6032 * gdb.base/crossload.exp: Remove, this has been disabled ever
6033 since BFD stopped including all targets, and cross-GDB gets
6034 plenty of testing anyway.
6035 * gdb.base/i486-elf.u, gdb.base/m68k-aout.u, gdb.base/m68k-elf.u,
6036 gdb.base/sparc-aout.u, gdb.base/i860-elf.u, gdb.base/m68k-aout2.u,
6037 gdb.base/mips-ecoff.u, gdb.base/sparc-elf.u: Remove.
6038 * gdb.base/README: Remove, was doc for this.
6039 * gdb.base/Makefile.in (CROSS_EXECUTABLES): Remove, no longer
6040 needed.
6041
b83266a0
SS
60421999-05-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
6043
6044 * gdb.base/call-ar-st.exp: Fix one regular expression in test
6045 output.
6046
6047 * gdb.base/annota1.exp: New file. Annotation level 2 tests.
6048 * gdb.base/annota2.exp: New file. More annotation tests.
6049 * gdb.base/annota1.c: New file. Source file for annota1.exp.
6050 * gdb.base/annota2.cc: New file. Source file for annota2.exp.
6051
60521999-04-23 Angela Marie Thomas <angela@cygnus.com>
6053
6054 * config/cfdbug.exp: New file.
6055
7a292a7a
SS
60561999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
6057
6058 * gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
6059 Marcus Daniel's and Dale Hawkins's demangler crashes.
6060
6061 * gdb.c++/demangle.exp (test_gnu_style_demangling,
6062 test_lucid_style_demangling, test_arm_style_demangling,
6063 test_hp_style_demangling): Try Tom Tromey's core-dumping
6064 identifier under each demangling style.
6065
60661999-04-07 Jim Blandy <jimb@zwingli.cygnus.com>
6067
6068 * gdb.c++/demangle.exp: Include the current demangling style
6069 in all test names.
6070 (current_demangling_style): New global variable.
6071 (set_demangling_style, test_demangling_core, test_demangling,
6072 test_demangling_exact): New functions.
6073 (test_gnu_style_demangling, test_lucid_style_demangling,
6074 test_arm_style_demangling, test_hp_style_demangling): Use those,
6075 instead of calling gdb_test and gdb_test_exact directly.
6076 (catch_demangling_errors): New function, which reports errors
6077 signalled by the demangling test functions in an orderly way.
6078 (do_tests): Use catch_demangling_errors.
6079
60801999-04-06 Jim Blandy <jimb@zwingli.cygnus.com>
6081
6082 * gdb.base/signals.exp (test_handle_all_print): Use () for
6083 grouping in expressions, not {}.
6084
6085 * gdb.base/smoke.exp: Test value of x, not y. The latter isn't
6086 initialized yet.
6087
60881999-04-01 Stan Shebs <shebs@andros.cygnus.com>
6089
6090 * gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
6091 are listed.
6092
60931999-03-26 Stan Shebs <shebs@andros.cygnus.com>
6094
6095 * gdb.stabs/weird.exp: Test for CC being defined before
6096 looking at its value.
6097
60981999-03-25 Stan Shebs <shebs@andros.cygnus.com>
6099
6100 * gdb.base/call-ar-st.exp: Remove stray '#'.
6101 * gdb.base/miscexprs.exp: Allow "short" and "long" as well as
6102 "short int" and "long int".
6103 * gdb.c++/overload.cc: Cast the string added in the previous
6104 change, to mollify finicky HP compiler.
6105 * gdb.hp/reg-test.exp (testfile): Fix file name.
6106 * gdb.stabs/weird.exp: Don't try to run if HP compiler in use.
d63a86f8 6107
7a292a7a
SS
6108 * gdb.c++/misc.cc (main): Initialize obj_with_enum.
6109 * gdb.c++/classes.exp: Fix test of obj_with_enum values, allow
6110 alternate form of enum ptype.
6111
c906108c
SS
61121999-03-23 Stan Shebs <shebs@andros.cygnus.com>
6113
7a292a7a
SS
6114 * lib/gdb.exp (skip_hp_tests): Remove gcc_used argument.
6115 * gdb.hp/*.exp: Change all to run compiler probe only after
6116 passing skip_hp_tests, so as not to waste time on guaranteed
6117 failure.
6118
c906108c
SS
6119 * gdb.c++/overload.cc: Pass string instead of char addr, always
6120 init ccpfoo.
6121 * gdb.c++/templates.cc: Fix syntax error.
6122
7a292a7a
SS
6123Tue Mar 23 14:56:36 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
6124
6125 * gdb.base/commands.exp: Add test for correct position of '>'
d63a86f8 6126 when issuing the 'commands' command after a 'while' or 'if'
7a292a7a
SS
6127 command.
6128
61291999-03-18 James Ingham <jingham@cygnus.com>
6130
6131 * gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
6132
6133 * gdb.c++/method.exp: It was testing an uninitialized int on the
6134 stack and assuming it was positive.
6135
6136 * gdb.base/watchpoint.exp: Use gdb_continue_to_end.
6137
6138 * gdb.base/step-test.exp: Catch a case where finish is broken and
d63a86f8 6139 keep it from killing the rest of the tests.
7a292a7a
SS
6140 Use gdb_continue_to_end.
6141
6142 * gdb.base/sigall.exp: use gdb_continue_to_end.
6143
6144 * gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
6145
6146 * gdb.base/display.exp: use runto_main, not run.
6147
d63a86f8
RM
6148 * gdb.base/default.exp: Check for the current error message in the
6149 r abbreviation test.
7a292a7a
SS
6150 Add strongarm to the targets that know info float.
6151
d63a86f8 6152 * gdb.base/condbreak.exp: Use the gdb_run command rather than just
7a292a7a
SS
6153 run which doesn't work with monitors.
6154
6155 * gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to 1034 test.
6156
6157 * gdb.base/break.exp: use the gdb_continue_to_end proc.
6158
6159 * lib/gdb.exp: I had added gdb_continue_to_end used to run to the end of a
d63a86f8
RM
6160 program. Traps the case (in Cygmon) when the program never really
6161 exits. Same as Mark's continue_to_exit, but I had put it in a lot
7a292a7a
SS
6162 more places, so I used my name. Sorry Mark...
6163
6164 * config/monitor.exp (gdb_target_monitor): added another
6165 target_info parameter: remotebinarydownload. This will set the
6166 remotebinarydownload flag if this is causing some boards trouble.
6167
61681999-03-18 Mark Salter <msalter@cygnus.com>
6169
6170 * lib/gdb.exp (continue_to_exit): New function.
6171
6172 * gdb.base/ena-dis-br.exp: Clean up for remote targets.
6173 * gdb.base/ending-run.exp: Ditto.
6174 * gdb.base/step-test.exp: Ditto.
6175
61761999-03-16 Stan Shebs <shebs@andros.cygnus.com>
6177
6178 * gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
6179 (suggested by Art Haas <ahaas@neosoft.com>).
6180
61811999-03-16 Jim Blandy <jimb@zwingli.cygnus.com>
6182
6183 * gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
6184
6185Fri Mar 12 18:06:21 1999 Stan Shebs <shebs@andros.cygnus.com>
6186
6187 * gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
6188 descriptions of types (short unsigned int vs unsigned short, etc).
6189
61901999-03-12 Jim Blandy <jimb@zwingli.cygnus.com>
6191
6192 * gdb.base/call-strs.exp: Don't assume that `step' will step over
6193 a call to strlen; sometimes we do have sources.
6194
61951999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
c906108c
SS
6196
6197 * gdb.base/call-ar-st.c (main): Terminate char_array with a null
6198 character, so GDB won't print garbage after its end.
d63a86f8 6199
c906108c
SS
6200 * gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
6201 breakpoint there instead. Sometimes GCC emits memcpy to handle
6202 the large structures being passed by value, so we step into that
6203 instead of sum_array_print, which obscures what we're really testing.
6204 * gdb.base/step-test.exp: However, we do want a test that notices
6205 the bizarre steps into memcpy, so do that here. Add check for
6206 stepping into function calls that pass large structures by value.
6207 ("Is that a noun clause, or are you just happy to see me?")
6208 Remove all references to specific line numbers.
6209 * gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
6210 New type and function.
6211 (main): Call large_struct_by_value, passing it a large struct by value.
6212 * lib/gdb.exp (gdb_get_line_number): New function.
6213
6214 * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
6215 more portable.
6216
7a292a7a
SS
62171999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
6218
c906108c
SS
6219 * lib/gdb.exp: Doc fixes.
6220
7a292a7a
SS
62211999-03-05 Nick Clifton <nickc@cygnus.com>
6222
d63a86f8 6223 * gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
7a292a7a
SS
6224
62251999-03-04 Jim Blandy <jimb@zwingli.cygnus.com>
6226
c906108c
SS
6227 * gdb.base/display.exp: Don't exercise the "detach" and "kill"
6228 commands. They're not germane to this test, and they don't work
6229 that way on remote targets.
6230
3fc11d3e
JM
62311999-03-01 James Ingham <jingham@cygnus.com>
6232
6233 * Changelog entries merged over from gdb development branch.
6234
3fc11d3e
JM
6235 Tue Jan 5 12:33:47 1999 Keith Seitz <keiths@cygnus.com>
6236
6237 * lib/gdb.exp (gdbtk_analyze_results): Generic function
6238 for outputting results of test run.
6239
2d4a1622 6240 1998-12-07 Martin M. Hunt <hunt@cygnus.com>
3fc11d3e
JM
6241
6242 * lib/gdb.exp (gdbtk_start): Fix path for itcl library.
3fc11d3e 6243
7a292a7a
SS
62441999-02-25 Felix Lee <flee@cygnus.com>
6245
6246 * lib/gdb.exp (debug_format): initialize
6247
c906108c
SS
62481999-02-25 Jason Molenda (jsm@bugshack.cygnus.com)
6249
6250 * gdb.base/call-ar-st.c: Include string.h, not strings.h.
6251 * gdb.base/call-rt-st.c: Ditto.
6252
c906108c
SS
62531999-02-13 Jim Blandy <jimb@zwingli.cygnus.com>
6254
6255 * gdb.threads/pthreads.exp (horiz): New variable.
6256 (test_startup): Fix regexps that capture thread numbers.
6257
62581999-02-10 Jason Molenda (jsm@bugshack.cygnus.com)
6259
6260 * gdb.base/smoke.exp: Disambiguate two test case names (both
6261 called ``print'').
6262
6263Fri Feb 5 12:42:56 1999 Stan Shebs <shebs@andros.cygnus.com>
6264
6265 * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
6266 compilation.
6267
62681999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
6269
6270 * gdb.base/miscexprs.exp: Change patterns to match GDB's
6271 actual output formatting.
6272 * gdb.base/smoke.exp: GDB removes leading 0's.
6273 * gdb.base/volatile.exp: Don't check type of remuneration;
6274 that variable is no longer defined in constvars.c.
6275 * gdb.base/step-test.c (main): Exit with explicit exit code.
6276 * gdb.base/step-test.exp: Remove two nexti checks--they are
6277 not portable.
6278
62791999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
6280
6281 * gdb.base/help.exp ("help delete display"): Fix test to match
6282 gdb's output.
6283
6284 * gdb.base/long_long.c (known_types): Initialize values to zero.
6285 * gdb.base/long_long.exp: Step one more line
6286 so 'dec' is initialized in "get to known place". GDB removes
d63a86f8 6287 leading zeros. Explicitly ask for hex formatting. Use
c906108c
SS
6288 unique test case names.
6289
6290Tue Feb 2 10:16:08 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
6291
d63a86f8 6292 * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
c906108c
SS
6293
6294 * gdb.c++/method.exp: Add missing close brace.
6295
62961999-01-30 Jim Blandy <jimb@zwingli.cygnus.com>
6297
6298 * gdb.base/maint.exp: Use 'set height 0' to disable page
6299 prompting, not 'set height 400'.
6300
6301 Fix a bunch of timeouts.
6302 * gdb.base/maint.exp ("maint print objfiles"): Break this up into
6303 four separate tests, so expect doesn't take forever to match a ton
6304 of text against a regexp with lots of .* forms.
6305 ("maint print psymbols", "maint print symbols"): Make some of
6306 these greps more selective, so that expect doesn't try to wade
6307 through huge piles of output and time out.
6308
6309 * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
6310
6311 * gdb.base/maint.exp ("maint info breakpoints"): Split into two
6312 tests: one which doesn't expect shlib events to be reported, and
6313 another which does, but is XFAIL for all platforms other than
6314 HP/UX.
6315
6316 * gdb.base/break.exp: Teach the test suite that the `catch
6317 fork', `catch vfork', and `catch exec' commands produce error
6318 messages on platforms that don't provide these features.
6319
6320Mon Jan 25 18:35:56 1999 Stan Shebs <shebs@andros.cygnus.com>
6321
6322 * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
6323 so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
6324 (shortening names from solib_threshold.exp etc), won't run on
6325 anything but HP-UX for the foreseeable future.
6326 * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
6327 reflect move.
6328
6329Thu Jan 21 15:46:49 1999 Stan Shebs <shebs@andros.cygnus.com>
6330
6331 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
6332 gdb.trace/Makefile.in (clean): Remove all test executables.
6333
6334Tue Jan 19 17:20:09 1999 David Taylor <taylor@texas.cygnus.com>
6335
6336 * gdb.base/shlib-call.exp: add test cases to verify that gdb
6337 successfully re-sets breakpoints in shared libraries.
6338 * gdb.base/shmain.c (main): return 0, don't fall off the end.
6339
6340Fri Jan 15 14:04:57 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
6341
d63a86f8
RM
6342 * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
6343 and compiled w/o GCC.
c906108c
SS
6344
6345 * gdb.hp/watch-cmd.exp: ditto.
6346
6347 * gdb.hp/watch-hp.exp: ditto.
6348
6349 * gdb.hp/xdb1.exp: ditto.
6350
6351 * gdb.hp/xdb2.exp: ditto.
6352
6353 * gdb.hp/dbx.exp: ditto.
6354
6355Thu Jan 14 18:36:48 1999 Stan Shebs <shebs@andros.cygnus.com>
6356
6357 * constvars.c: Remove C++-isms.
6358 * constvars.exp: Use gdb_test everywhere, add xfails if compiled
6359 with GCC.
6360
6361Mon Jan 11 10:08:03 1999 David Taylor <taylor@texas.cygnus.com>
6362
6363 The following changes are part of the HP merge.
6364
6365 * gdb.base/break.exp: new tests to verify that catchpoints for
6366 fork, vfork, and exec don't trigger inappropriately.
6367
6368 * gdb.base/opaque.exp: compile one file at a time, then link.
6369
6370 * gdb.base/signals.exp: be more restrictive about which hppa
6371 systems receive a setup_xfail. new tests.
6372
6373 * gdb.base/solib_threshold.build: new file.
6374 * gdb.base/solib_threshold.exp: new file.
6375 * gdb.base/solib_threshold.link_opts: new file.
6376 * gdb.base/solib_threshold.mk: new file.
6377 * gdb.base/gen_solib_threshold.c: new file.
6378
6379 * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
6380 tests. New tests for enums inside classes.
6381
6382 * gdb.c++/compiler.cc: indicate support of template debugging.
6383
6384 * gdb.c++/demangle.exp: run hp style demangling tests.
6385
6386 * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
6387 tests.
6388
6389 * gdb.c++/misc.cc: changes to support new tests.
6390
6391 * gdb.c++/templates.cc: changes to support HP's compiler; changes
6392 to support new tests.
6393
6394 * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
6395 gcc, then skip these tests.
6396
6397Sun Jan 10 23:44:11 1999 David Taylor <taylor@texas.cygnus.com>
6398
6399 The following files are part of the HP merge; some had longer
6400 names at HP, but have been renamed to be no more than 14
6401 characters in length.
6402
6403 * gdb.hp/ambiguous.cc: new file.
6404 * gdb.hp/ambiguous.exp: new file.
6405 * gdb.hp/attach.exp: new file.
6406 * gdb.hp/attach2.exp: new file.
6407 * gdb.hp/classes-hp.exp: new file.
6408 * gdb.hp/ctti.exp: new file.
6409 * gdb.hp/ctti-add.cc: new file.
6410 * gdb.hp/ctti-add1.cc: new file.
6411 * gdb.hp/ctti-add2.cc: new file.
6412 * gdb.hp/ctti-add3.cc: new file.
6413 * gdb.hp/dbx.exp: new file.
6414 * gdb.hp/exception.cc: new file.
6415 * gdb.hp/exception.exp: new file.
6416 * gdb.hp/foll-exec.c: new file.
6417 * gdb.hp/foll-exec.exp: new file.
6418 * gdb.hp/foll-fork.c: new file.
6419 * gdb.hp/foll-fork.exp: new file.
6420 * gdb.hp/foll-vfork.c: new file.
6421 * gdb.hp/foll-vfork.exp: new file.
6422 * gdb.hp/inherit-hp.exp: new file.
6423 * gdb.hp/more-steps.exp: new file.
6424 * gdb.hp/namespace.cc: new file.
6425 * gdb.hp/namespace.exp: new file.
6426 * gdb.hp/optimize.exp: new file.
6427 * gdb.hp/pxdb.c: new file.
6428 * gdb.hp/pxdb.exp: new file.
6429 * gdb.hp/quicksort.exp: new file.
6430 * gdb.hp/reg-test.exp: new file.
6431 * gdb.hp/reg-test.s: new file.
6432 * gdb.hp/sized-enum.c: new file.
6433 * gdb.hp/sized-enum.exp: new file.
6434 * gdb.hp/start-stop.exp: new file.
6435 * gdb.hp/templ-hp.cc: new file.
6436 * gdb.hp/templ-hp.exp: new file.
6437 * gdb.hp/thr-lib.c: new file.
6438 * gdb.hp/thr-lib.exp: new file.
6439 * gdb.hp/thr-lib.h: new file.
6440 * gdb.hp/thr-liblib.c: new file.
6441 * gdb.hp/virtfun-hp.c: new file.
6442 * gdb.hp/virtfun-hp.exp: new file.
6443 * gdb.hp/watch-cmd.exp: new file.
6444 * gdb.hp/watch-hp.exp: new file.
6445 * gdb.hp/xdb1.exp: new file.
6446 * gdb.hp/xdb2.exp: new file.
6447 * gdb.hp/xdb3.exp: new file.
6448
6449Wed Jan 6 18:41:15 1999 David Taylor <taylor@texas.cygnus.com>
6450
6451 The following files are part of the HP merge; some had longer
6452 names at HP, but have been renamed to be no more than 14
6453 characters in length.
6454
6455 * gdb.base/ss.h: new file.
6456 * gdb.base/call-ar-st.c: new file.
6457 * gdb.base/call-ar-st.exp: new file.
6458 * gdb.base/call-rt-st.c: new file.
6459 * gdb.base/call-rt-st-exp: new file.
6460 * gdb.base/call-strs.exp: new file.
6461 * gdb.base/ena-dis-br.exp: new file.
6462 * gdb.base/environ.exp: new file.
6463 * gdb.base/long_long.exp: new file.
6464 * gdb.base/sect-cmd.exp: new file.
6465 * gdb.base/shlib-cl2.exp: new file.
6466 * gdb.base/smoke.exp: new file.
6467 * gdb.base/so-impl-ld.c: new file.
6468 * gdb.base/so-impl-ld.exp: new file.
6469 * gdb.base/so-indr-cl.c: new file.
6470 * gdb.base/so-indr-cl.exp: new file.
6471 * gdb.base/varargs.exp: new file.
6472 * gdb.base/volatile.exp: new file.
6473 * gdb.base/whatis-exp.exp: new file.
7a292a7a 6474 * gdb.base/display.exp: new file.
c906108c
SS
6475 * gdb.c++/derivation.exp: new file.
6476 * gdb.c++/local.exp: new file.
6477 * gdb.c++/member-ptr.exp: new file.
6478 * gdb.c++/overload.exp: new file.
6479 * gdb.c++/ovldbreak.exp: new file.
6480 * gdb.c++/ref-types.exp: new file.
6481 * gdb.c++/ref-types2.exp: new file.
6482 * gdb.c++/userdef.exp: new file.
d63a86f8 6483
c906108c
SS
6484Wed Jan 6 13:50:57 1999 Stan Shebs <shebs@andros.cygnus.com>
6485
6486 * gdb.base/default.exp: Reflect wording change in remote.c.
6487
dc96c6c7 6488Tue Jan 5 19:14:51 1999 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6489
6490 * gdb.base/help.exp: Update to reflect current text.
6491
6492Tue Jan 5 13:05:32 1999 David Taylor <taylor@texas.cygnus.com>
6493
6494 * gdb.c++/anon-union.cc: make foo and bar global, otherwise
6495 they're stack variables and contain garbage.
6496 * gdb.c++/anon-union.exp: new file.
6497
6498 The following changes were made by David Taylor
6499 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
6500 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
6501 in changes by HP.
6502
6503 * gdb.base/bitops.exp: new file.
6504 * gdb.base/default.exp: change expected messages for catch and
6505 info catch tests to reflect HP merge changes.
6506 * gdb.base/enable-disable-break.exp
6507 * gdb.base/ending-run.c: new file.
6508 * gdb.base/long_long.c: new file.
6509 * gdb.base/maint.exp: new file.
6510 * gdb.base/pointers2.exp: new file.
6511 * gdb.base/shlib-call2.exp: new file.
6512 * gdb.base/solib.exp: new file.
6513 * gdb.base/step-test.c: new file.
6514 * gdb.c++/anon-union.cc: new file.
6515 * gdb.c++/local.cc: new file.
6516 * gdb.c++/member-pointer.cc: new file.
6517 * gdb.c++/method.cc: new file.
6518 * gdb.c++/ref-types.cc: new file.
6519 * gdb.c++/ref-types2.cc: new file.
6520 * gdb.c++/userdef.cc: new file.
d63a86f8 6521
c906108c
SS
6522 * gdb.base/scope.exp: compile one file at a time, then link.
6523 * gdb.base/langs.exp: ditto.
6524 * gdb.base/list.exp: ditto.
d63a86f8 6525
c906108c
SS
6526Mon Jan 4 10:06:43 1999 David Taylor <taylor@texas.cygnus.com>
6527
6528 The following changes were made by David Taylor
6529 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
6530 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
6531 in changes by HP.
d63a86f8 6532
c906108c
SS
6533 * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
6534 skip tests. When compiling pass c++ flag to gdb_compile.
6535 * gdb.c++/
d63a86f8 6536
c906108c
SS
6537 * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
6538 test for on hppa*-*-hpux*; use args to see if c++ was specified.
6539 (skip_hp_tests): new function.
6540 (gdb_preprocess): new function.
6541
6542 * configure.in (hpdir): decide whether to configure gdb.hp.
6543 * configure: regenerated.
6544
6545 * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
6546 to delete on clean.
6547 (EXECUTABLES): update to reflect new additions.
6548 * gdb.base/commands.exp: update message expected.
6549 * gdb.base/default.exp: add copyright notice.
6550 * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
6551 * gdb.base/help.exp: update messages to reflect current text.
6552 * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
6553 targets for recurse tests.
6554 * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
6555 skip this file.
6556
6557 * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
6558 * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
6559 compilation.
6560 * gdb.c++/misc.exp: ditto.
6561 * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
6562 run the tests. tell gdb_compile that it's a c++ compilation.
6563
6564 * gdb.threads/pthreads.exp: fix typo in message.
d63a86f8 6565
c906108c
SS
6566 * gdb.base/all-bin.exp: new file.
6567 * gdb.base/arithmet.exp: new file.
6568 * gdb.base/assign.exp: new file.
6569 * gdb.base/completion.exp: new file.
6570 * gdb.base/cond-expr.exp: new file.
6571 * gdb.base/condbreak.exp: new file.
6572 * gdb.base/define.exp: new file.
6573 * gdb.base/dollar.exp: new file.
6574 * gdb.base/environment.exp: new file.
6575 * gdb.base/eval-skip.exp: new file.
6576 * gdb.base/jump.exp: new file.
6577 * gdb.base/logical.exp: new file.
6578 * gdb.base/pointers.exp: new file.
6579 * gdb.base/relational.exp: new file.
6580 * gdb.base/section_command.exp: new file.
6581 * gdb.base/whatis-expr.exp: new file.
6582
6583 * gdb.base/all-types.c: new file.
6584 * gdb.base/call-array-struct.c: new file.
6585 * gdb.base/call-return-struct.c: new file.
6586 * gdb.base/call-strings.c: new file.
6587 * gdb.base/callfuncs2.c: new file.
6588 * gdb.base/condbreak.c: new file.
6589 * gdb.base/constvars.c: new file.
6590 * gdb.base/display.c: new file.
6591 * gdb.base/int-type.c: new file.
6592 * gdb.base/jump.c: new file.
6593 * gdb.base/miscexprs.c: new file.
6594 * gdb.base/pointers.c: new file.
6595 * gdb.base/pointers2.c: new file.
6596 * gdb.base/shmain.c: new file.
6597 * gdb.base/shr1.c: new file.
6598 * gdb.base/shr2.c: new file.
6599 * gdb.base/solib.c: new file.
6600 * gdb.base/solib1.c: new file.
6601 * gdb.base/solib2.c: new file.
6602 * gdb.base/varargs.c: new file.
6603 * gdb.c++/derivation.cc: new file.
6604 * gdb.c++/overload.cc: new file.
6605 * gdb.c++/ovldbreak.cc: new file.
6606 * gdb.hp/attach.c: new file.
6607 * gdb.hp/attach2.c: new file.
6608 * gdb.hp/average.c: new file.
6609 * gdb.hp/compiler.c: new file.
6610 * gdb.hp/compiler.cc: new file.
6611 * gdb.hp/execd-program.c: new file.
6612 * gdb.hp/follow-exec.c: new file.
6613 * gdb.hp/follow-fork.c: new file.
6614 * gdb.hp/follow-vfork-and-exec.c: new file.
6615 * gdb.hp/misc-hp.cc: new file.
6616 * gdb.hp/more-steps.c: new file.
6617 * gdb.hp/optimize.c: new file.
6618 * gdb.hp/quicksort.c: new file.
6619 * gdb.hp/run-hp.c: new file.
6620 * gdb.hp/start-stop.c: new file.
6621 * gdb.hp/sum.c: new file.
6622 * gdb.hp/templates-hp.cc: new file.
6623 * gdb.hp/thread-local-in-lib.c: new file.
6624 * gdb.hp/thread-local-in-lib.h: new file.
6625 * gdb.hp/thread-local-in-lib.lib.c: new file.
6626 * gdb.hp/vforked-program.c: new file.
6627 * gdb.hp/virtfunc-hp.cc: new file.
6628 * gdb.hp/watchpoint-hp.c: new file.
6629 * gdb.hp/xdb.c: new file.
6630 * gdb.hp/xdb0.c: new file.
6631 * gdb.hp/xdb0.h: new file.
6632 * gdb.hp/xdb1.c: new file.
6633
6634Mon Dec 21 14:08:38 1998 David Taylor <taylor@texas.cygnus.com>
6635
6636 The following change was made by Edith Epstein
6637 <eepstein@cygnus.com> as part of a project to merge in changes
6638 originally made by HP; HP did not create ChangeLog entries.
6639
6640 * gdb.c++/demangle.exp: changed the expected output for some
6641 ARM-style mangling -- removed second reference to datatype.
6642 For example, maint demangle __dt__11T1__pt__2_cFv
6643 T1<char>::~T1<char>(void)
6644 becomes,
6645 maint demangle __dt__11T1__pt__2_cFv
6646 T1<char>::~T1(void)
6647
6648 (test_hp_style_demangling): new hp specific demangling test cases.
d63a86f8 6649
c906108c
SS
6650Mon Dec 14 15:07:03 1998 Jeffrey A Law (law@cygnus.com)
6651
6652 * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
6653 * gdb.trace/backtrace.exp: Likewise.
6654 * gdb.trace/circ.exp: Likewise.
6655 * gdb.trace/collection.exp: Likewise.
6656 * gdb.trace/deltrace.exp: Likewise.
6657 * gdb.trace/infotrace.exp: Likewise.
6658 * gdb.trace/limits.exp: Likewise.
6659 * gdb.trace/packetlen.exp: Likewise.
6660 * gdb.trace/passc-dyn.exp: Likewise.
6661 * gdb.trace/passcount.exp: Likewise.
6662 * gdb.trace/report.exp: Likewise.
6663 * gdb.trace/save-trace.exp: Likewise.
6664 * gdb.trace/tfind.exp: Likewise.
6665 * gdb.trace/tracecmd.exp: Likewise.
6666 * gdb.trace/while-dyn.exp: Likewise.
6667 * gdb.trace/while-stepping.exp: Likewise.
6668
66691998-12-07 Jim Blandy <jimb@zwingli.cygnus.com>
6670
6671 * gdb.base/restore.exp, gdb.base/restore.c: New tests.
6672
6673Wed Dec 2 20:03:53 1998 Stan Shebs <shebs@andros.cygnus.com>
6674
6675 From Brendan Kehoe:
6676 * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
6677 int return types.
6678
6679Sat Oct 24 18:04:22 1998 Felix Lee <flee@cygnus.com>
6680
6681 * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
6682 remote dos host testing right.
6683
6684Mon Oct 19 01:31:59 1998 Felix Lee <flee@cygnus.com>
6685
6686 * gdb.base/corefile.exp: remove some xfails.
6687
6688Thu Oct 15 10:04:38 1998 Andrew Cagney <cagney@b1.cygnus.com>
6689
6690 * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
6691 have different timestamps.
6692
6693Thu Oct 1 20:56:14 1998 Andrew Cagney <cagney@b1.cygnus.com>
6694
6695 * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
6696 gdb.base/default.exp: Replace "exec" with "executable".
6697
6698Tue Sep 29 15:06:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
6699
6700 * gdb.base/default.exp: Change else if to elseif from previous
6701 delta.
6702
6703Mon Sep 28 13:21:43 1998 Nick Clifton <nickc@cygnus.com>
6704
6705 * gdb.base/default.exp: Add brace missing from previous delta.
6706
6707Mon Sep 21 14:39:27 1998 Nick Clifton <nickc@cygnus.com>
6708
6709 * gdb.base/default.exp: Support test for info float for all
6710 varieties of arm toolchain.
6711
dc96c6c7 6712Fri Sep 18 14:07:44 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6713
6714 * gdb.trace/*.exp: remove "remote_download" command.
6715
dc96c6c7 6716Wed Sep 16 11:38:21 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6717
6718 * gdb.trace/*.exp: remove -gdwarf from compile.
6719
6720Wed Sep 16 01:23:11 1998 Felix Lee <flee@cygnus.com>
6721
6722 * gdb.trace/configure.in(AC_INIT): typo
6723 * gdb.trace/configure: regenerated
6724
dc96c6c7 6725Mon Sep 14 20:00:04 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6726
6727 * config/m68k-emc.exp: New file.
6728 * lib/<emc-support.exp trace-support.exp}: New files.
6729 * configure.in: add new test directory gdb.trace.
6730 * gdb.trace/{configure configure.in Makefile.in}: New files.
6731 * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
6732 * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
6733 * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
6734 * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
6735 * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
6736 * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
6737 * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
d63a86f8 6738
dc96c6c7 6739Fri Sep 11 13:58:02 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6740
6741 * gdb.c++/classes.exp: Change all regular expressions to match
6742 arbitrary combinations of newline/carriage-return, so that they
6743 will work equally well on Unix and Windows.
6744 * gdb.c++/inherit.exp: ditto.
6745 * gdb.c++/virtfunc.exp: ditto.
6746
67471998-08-11 Dawn Perchik <dawn@cygnus.com>
6748
6749 * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
6750
c2d11a7d
JM
6751Fri Jul 24 15:51:34 1998 Jeffrey A Law (law@cygnus.com)
6752
6753 * gdb.disasm/am33.s: Add tests for autoincrement instructions.
6754 * gdb.disasm/am33.exp: Run time. Update tests which use r8-r15
6755 to use a0-a3/d0-d3 as needed.
6756
6757Thu Jul 16 18:20:46 1998 Jeffrey A Law (law@cygnus.com)
6758
6759 * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
6760 * gdb.disasm/am33.exp: Corresponding changes.
6761
c906108c
SS
67621998-07-11 Felix Lee <flee@cygnus.com>
6763
6764 * gdb.base/callfuncs.exp: add cmp10 test.
6765 * gdb.base/callfuncs.c (cmp10): new function.
6766
6767Thurs Jul 9 11:08:31 1998 Dawn Perchik <dawn@cygnus.com>
6768
d63a86f8 6769 * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
c906108c
SS
6770 into two parts to get around a synchronization problem in expect.
6771
3fc11d3e
JM
6772Fri Jun 26 14:27:13 1998 Keith Seitz <keiths@cygnus.com>
6773
6774 * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
6775
6776 * configure.in: Add options for gdbtk testsuite.
6777
6778 * configure: Regenerate.
6779
6780 * gdb.gdbtk: New directory to hold gdbtk tests.
6781
c906108c
SS
6782Fri Jun 26 14:52:47 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
6783
6784 * gdb.fortran/types.exp: Escape brackets in expect patterns
6785 for test_float_literal_types_accepted tests.
6786 * gdb.base/scope.exp: Remove extraneous newline in filelocal_bss
6787 before run test.
6788
c2d11a7d
JM
6789Fri Jun 26 11:12:17 1998 Jeffrey A Law (law@cygnus.com)
6790
6791 * am33.exp: Just compile, do not link the testcase.
6792 * am33.s: Add ".am33" pseudoop to force am33 mode.
6793
c906108c
SS
67941998-06-25 Felix Lee <flee@cygnus.com>
6795
6796 * gdb.base/setshow.exp: make sure $pc is sane.
6797
6798 * gdb.stabs/weird.exp: split expect patterns properly.
6799
c2d11a7d
JM
6800Wed Jun 24 13:03:15 1998 Jeffrey A Law (law@cygnus.com)
6801
6802 * gdb.disasm/am33.s: New disassembler testfile for the am33.
6803 * gdb.disasm/am33.exp: Run it.
6804
dc96c6c7 6805Tue Jun 23 11:45:01 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6806
6807 * gdb.base/funcargs.exp: simplify expect strings to ease pattern
6808 match processing (and eliminate spurious timeouts when running).
6809
dc96c6c7 6810Fri Jun 12 17:28:22 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6811
6812 * gdb.base/signals.exp (test_handle_all_print): put back Mach
6813 exception test, but conditionalize it on target [mach | gnu].
6814
dc96c6c7 6815Wed Jun 10 10:40:03 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6816
6817 * gdb.base/overlays.exp: fixup compile line for linker script.
6818
6819Thu Jun 4 21:54:15 1998 Felix Lee <flee@zog.cygnus.com>
6820
6821 * gdb.fortran/types.exp: don't guess at float size.
6822
6823Thu May 21 02:28:37 1998 Felix Lee <flee@zog.cygnus.com>
6824
6825 * gdb.base/exprs.exp: delete test that depends on int size.
6826
6827Sun May 17 17:10:22 1998 Bob Manson <manson@charmed.cygnus.com>
6828
6829 * config/sim.exp: Removed checks for target triplets.
6830 (gdb_target_sim): Use gdb,target_sim_options.
6831
6832Sat May 16 23:43:35 1998 Mark Alexander <marka@cygnus.com>
6833
6834 * gdb.base/reread.exp: New file.
6835 * gdb.base/reread1.c: New file.
6836 * gdb.base/reread2.c: New file.
6837
6838Sat May 16 23:22:09 1998 Mark Alexander <marka@cygnus.com>
6839
6840 * config/sim.exp: Use 'target sim -sparclite' when running
6841 SPARClite programs.
6842
6843Sat May 16 18:48:08 1998 Doug Evans <devans@canuck.cygnus.com>
6844
6845 * gdb.base/structs2.exp: New file.
6846 * gdb.base/structs2.c: New file.
6847
6848Wed May 13 13:36:14 1998 Doug Evans <devans@canuck.cygnus.com>
6849
6850 * gdb.asm/common.inc: New file.
6851 * gdb.asm/d10v.inc: New file.
6852 * asm-source.exp: Pass -I's to gas to find .inc files.
6853 Update line numbers in expected output.
6854 * asmsrc1.s: Rewrite.
6855 * asmsrc2.s: Rewrite.
6856 * configure.in: Create arch.inc symlink.
6857 * configure: Regenerate.
6858 * Makefile.in (distclean): Delete arch.inc.
6859
6860Wed May 6 10:30:54 1998 John Metzler <jmetzler@cygnus.com>
6861
6862 * callfuncs.c (t_enum_value1) : Cleanup return value warnings
6863 (t_enum_value2): ditto
6864 (t_enum_value3): ditto
6865 (main): ditto
6866Fri May 1 09:33:37 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
6867
6868 * gdb.base/break.exp: Remove xfail for `deleting all breakpoints
6869 when none' unexpected prompt case, fixed by breakpoint.c:delete_command
6870 change.
6871 Use gdb_test instead of send_gdb/gdb_expect sequences.
6872
6873Thu Apr 23 12:56:19 1998 Jason Molenda (crash@bugshack.cygnus.com)
6874
6875 * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
6876 not void.
6877
6878Thu Apr 16 10:52:34 1998 John Metzler <jmetzler@cygnus.com>
6879
6880 * gdb.base/branches.c: Code with lots of loops and
6881 subroutines. Used to test gdbs ability to single step through PC
6882 changes, especially to test mips-tdep.c:mips_next_pc
6883
6884Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
6885
6886 * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
6887 more rigorous EGCS C++ error checking.
6888
6889Fri Apr 10 22:38:12 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6890
6891 * gdb.base/help.exp: Clean up `help set args' and `help show args'
d63a86f8 6892 tests.
c906108c 6893 * gdb.base/interrupt.exp: Add "i*86-*-solaris2*" xfail for calling
d63a86f8 6894 function when asleep.
c906108c 6895 * gdb.base/signals.exp: Add "i*86-*-solaris2*" xfails. Add comment
d63a86f8
RM
6896 for i*86 Linux and SVR4 signal handling problems.
6897 Remove linux xfail for `next to handler in signals_tests_1', fixed
6898 by recent infrun.c change.
c906108c 6899 Limit backtrace to 10 frames to avoid timeout problems with infinite
d63a86f8 6900 stack backtraces.
c906108c
SS
6901 Adjust expect pattern in `handle all print' test to match Apr 28 1997
6902 target.[ch] change.
6903
6904Tue Mar 31 00:40:32 1998 Bob Manson <manson@charmed.cygnus.com>
6905
6906 * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
6907 for a newline from gdb before continuing.
6908 (default_gdb_exit): Just look for y or n.
6909 (gdb_test): Detect abnormal exit from GDB running on DOS; if
6910 it does, fail the rests of the tests in the file.
6911
6912Tue Mar 24 22:44:52 1998 Bob Manson <manson@charmed.cygnus.com>
6913
6914 * config/cygmon.exp: New file.
6915
6916Mon Mar 16 21:39:11 1998 Bob Manson <manson@charmed.cygnus.com>
6917
6918 * gdb.base/list.exp: Fix problem with "list default lines around
6919 main" test on remote targets.
6920
6921 * gdb.base/scope.exp: Fix problem with filelocal_bss before
6922 run test on remote targets.
6923
6924Thu Mar 12 16:23:00 1998 Doug Evans <devans@canuck.cygnus.com>
6925
6926 * gdb.asm: New directory.
6927 * configure.in: Configure it.
6928 * configure: Regenerate.
6929 * gdb.asm/{Makefile.in,configure.in,configure}: New files.
6930 * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
6931
6932Mon Feb 23 08:22:44 1998 Mark Alexander <marka@cygnus.com>
6933
6934 * config/mn10300-eval.exp: New file to support MN10300 eval board.
6935
dc96c6c7 6936Wed Feb 18 16:43:46 1998 Michael Snyder (msnyder@cygnus.com)
d63a86f8 6937
c906108c
SS
6938 * gdb.base/overlays (several files): Merge the two overlay
6939 managers into one. Change variables (foox, barx, bazx, grbxx)
6940 back into ints but force them to load in their proper sections.
6941
6942Thu Feb 12 13:49:30 1998 Andrew Cagney <cagney@b1.cygnus.com>
6943
6944 * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
6945 on-chip insn memory and IMAP1 to upper 128k.
6946 (D10VCopy): Handle memory regions crossing 16k boundaries.
6947 (D10VCopy): Transfer data in 32 bit chunks.
6948
6949Tue Feb 10 17:23:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
6950
6951 * gdb.base/overlays.c (main): Exit normally when result is
6952 correct.
6953
6954 * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
6955 map. Include space for printf in .text segment.
6956
6957 * gdb.base/d10vovly.c (D10VTranslate): New function, handle
6958 updated d10v memory VMA/LMA map.
6959 (D10VCopy): Call D10VTranslate.
d63a86f8 6960
c906108c
SS
6961Fri Feb 6 14:13:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
6962
6963 * gdb.base/m32rovly.c: Force variable _novlys into .data section.
6964
6965 * gdb.base/bar.c (barx, bar): Change variable to small array so
6966 that it won't be put into the .sdata - small data -
6967 section. Update reference.
6968 * gdb.base/baz.c (bazx, baz): Ditto.
6969 * gdb.base/foo.c (foox, foo): Ditto.
6970 * gdb.base/grbx.c (grbxx, grbx): Ditto.
6971
6972 * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
6973 to be arrays.
d63a86f8 6974
dc96c6c7 6975Thu Jan 29 14:48:19 1998 Michael Snyder (msnyder@cygnus.com)
d63a86f8 6976
c906108c
SS
6977 * gdb.base/overlays.exp: fix up and get working again.
6978 Add tests for backtraces from an overlay function.
d63a86f8 6979
c906108c
SS
6980Fri Jan 23 07:52:45 1998 Fred Fish <fnf@cygnus.com>
6981
6982 * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
6983 "calling function with watchpoint enabled".
6984
6985Thu Jan 22 14:23:29 1998 Fred Fish <fnf@cygnus.com>
6986
6987 * gdb.base/break.exp (test_next_with_recursion): Remove
6988 gdb_suppress_tests for d10v-*-*.
6989 * lib/gdb.exp (gdb_suppress_tests): Disable this function
6990 pending review of whether it is useful or not.
6991
6992Tue Jan 20 13:02:09 1998 Mark Alexander <marka@cygnus.com>
6993
6994 * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
6995
6996Mon Jan 19 08:53:04 1998 Mark Alexander <marka@cygnus.com>
6997
6998 * gdb.base/break.exp: Increase timeout for slow TX39 boards.
6999 * config/dve.exp: New file to support Densan boards.
7000
7001Mon Dec 15 22:38:05 1997 Andrew Cagney <cagney@b1.cygnus.com>
7002
7003 * gdb.base/interrupt.exp: Document problem of simulators, signals,
7004 reads and BSD.
7005
7006Wed Nov 26 22:29:18 1997 Bob Manson <manson@charmed.cygnus.com>
7007
7008 * config/monitor.exp: Be a bit less picky about the "Remote debugging"
7009 response.
7010
7011 * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
7012
7013Tue Nov 25 12:46:36 1997 Andrew Cagney <cagney@b1.cygnus.com>
7014
7015 * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
7016 test.
7017
7018 * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
7019 target_sizeof_long and target_bigendian_p.
7020 (structs_by_value, structs_by_reference): Check values according
7021 to targets word size and endianess.
d63a86f8 7022
c906108c
SS
7023Mon Nov 24 16:37:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
7024
7025 * gdb.base/langs.exp: For "continue to exit" ignore any trailing
7026 output.
7027
7028Fri Oct 17 13:24:43 1997 Stan Shebs <shebs@andros.cygnus.com>
7029
7030 * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
7031 Update test of set args help to match source change.
7032
7033Fri Sep 26 17:36:20 1997 Jason Molenda (crash@pern.cygnus.com)
7034
7035 * gdb.base/default.exp: Expect help system output to be in
7036 alphabetical order.
7037 * gdb.base/help.exp: Ditto.
7038
7039Wed Sep 24 13:08:14 1997 Bob Manson <manson@charmed.cygnus.com>
7040
7041 * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
7042 "i*86-pc-linux-gnu*".
7043 * gdb.base/interrupt.exp: Ditto.
7044 * gdb.base/corefile.exp: Ditto.
7045
7046 * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
7047 define vxworks when building the testcase.
7048
7049 * gdb.base/ptype.exp: Fix testnames to be unique.
7050 * gdb.base/radix.exp: Ditto.
7051 * gdb.base/term.exp: Ditto.
7052 * gdb.base/whatis.exp: Ditto.
7053 * gdb.c++/classes.exp: Ditto.
7054
7055Tue Sep 16 22:21:48 1997 Bob Manson <manson@charmed.cygnus.com>
7056
7057 * gdb.base/callfuncs.exp: Fix indentation.
7058
7059 * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
7060 suppress_flag has been set.
7061 (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
7062 target feature.
7063
7064Mon Sep 15 15:43:17 1997 Bob Manson <manson@charmed.cygnus.com>
7065
7066 * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
7067 the testcase.
7068
7069 * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
7070 set_debug_traps() and breakpoint().
7071 * gdb.c++/misc.cc (main): Ditto.
7072 * gdb.c++/templates.cc (main): Ditto.
7073 * gdb.c++/virtfunc.cc (main): Ditto.
7074
7075Fri Sep 12 16:56:38 1997 Bob Manson <manson@charmed.cygnus.com>
7076
7077 * lib/gdb.exp(gdb_step_for_stub): New function.
7078 (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
7079 exists, reload the executable and do a "continue" instead of
7080 doing a jump.
7081 (runto_main): Use gdb_step_for_stub.
d63a86f8 7082
c906108c
SS
7083 * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
7084 tests to have unique names.
7085 * gdb.base/callfuncs.exp: Ditto.
7086 * gdb.base/commands.exp: Ditto.
7087 * gdb.base/default.exp: Ditto.
7088 * gdb.base/help.exp: Ditto.
7089 * gdb.base/list.exp: Ditto.
7090 * gdb.base/opaque.exp: Ditto.
7091 * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
7092 similar tests.
d63a86f8 7093
c906108c
SS
7094 * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
7095 * gdb.c++/cplusfuncs.cc: Ditto.
7096 * gdb.c++/virtfunc.cc: Ditto.
7097
7098 * config/monitor.exp: Keep track of the last file we saw, rather
7099 than trying to get the info from gdb.
7100
7101 * gdb.fortran/types.exp: Move comment to previous line.
7102
7103Tue Sep 2 19:55:34 1997 Bob Manson <manson@charmed.cygnus.com>
7104
7105 * config/sparclet.exp: Detect gratuitous change to sparclet gdb
7106 target mode.
7107
7108Mon Jul 28 12:14:47 1997 Stan Shebs <shebs@andros.cygnus.com>
7109
7110 From Bob Manson:
7111 * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
7112 string from GDB when it connects.
7113
7114 * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
7115
7116Thu Jul 3 15:35:12 1997 Bob Manson <manson@charmed.cygnus.com>
7117
7118 * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
7119 if we can't get a debug format from GDB (we may be testing an
7120 older GDB). Use a 10 second timeout when checking for the format.
7121
7122 * gdb.stabs/weird.exp: Fix quoting.
7123
7124 * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
7125
7126Mon Jun 30 18:31:43 1997 Bob Manson <manson@charmed.cygnus.com>
7127
7128 * config/arm-ice.exp: New file.
7129
7130Sun Jun 29 16:43:30 1997 Bob Manson <manson@charmed.cygnus.com>
7131
7132 * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
7133 until it has been modified to work with the new testsuite.
7134
99707966 7135 * gdb.*/*.exp: Instead of causing 1 unresolved test when the
c906108c
SS
7136 testcase won't compile, cause all of the testcases in the file to
7137 fail instead.
7138
7139 * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
7140 (gdb_clear_suppressed): New procedure.
7141 (gdb_stop_suppressing_tests): Only clear suppress_flag if
7142 it contains a positive value.
7143
7144Sat Jun 28 13:31:11 1997 Bob Manson <manson@charmed.cygnus.com>
7145
7146 * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
7147
7148 * gdb.c++/virtfunc.exp: Remove setting of libs variable.
7149
7150Fri Jun 27 07:44:25 1997 Fred Fish <fnf@cygnus.com>
7151
7152 * lib/gdb.exp (setup_xfail_format): New function.
7153 (get_debug_format): New function to get debug format.
7154 (debug_format): New global variable to hold last value set
7155 by get_debug_format.
7156 * gdb.base/list.exp: Call get_debug_format and expect some
7157 tests to fail for DWARF 1 and COFF formats.
7158 * gdb.c++/ptype.exp: Ditto.
7159 * gdb.c++/classes.exp: Ditto.
7160 * gdb.c++/cplusfuncs.exp: Ditto.
7161 * gdb.c++/inherit.exp: Ditto.
7162 * gdb.c++/templates.exp: Ditto.
7163 * gdb.c++/virtfunc.exp: Ditto.
d63a86f8 7164
c906108c
SS
7165Wed Jun 25 09:08:51 1997 Bob Manson <manson@charmed.cygnus.com>
7166
7167 * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
7168 host doesn't have a currently-open connection.
7169
7170 * config/sparclet.exp: Cleanups and fixes to make it generic for
7171 any gdb stub target. Handle cases where gdb doesn't respond when
7172 interrupted in a sane fashion.
7173
7174 * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
7175 same thing in a totally different way.
7176
7177 * config/monitor.exp: Pass in timeouts to gdb_expect instead of
7178 setting "timeout".
7179 (gdb_start): We set the global gdb_prompt variable in
7180 default_gdb_init now.
7181
7182Sun Jun 22 09:11:02 1997 Fred Fish <fnf@cygnus.com>
7183
7184 * gdb.base/printcmds.exp: Fix "check for floating addition"
7185 regexp to accept results within approx +/- .01 of exact value.
7186 * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
7187
7188Wed Jun 18 11:11:39 1997 Bob Manson <manson@charmed.cygnus.com>
7189
7190 * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
7191 properly.
7192 (gdb_expect): Add optional timeout parameter, and add timeout
7193 value to various calls.
7194 (gdb_suppress_tests): Only give one warning message per group.
7195
7196Tue Jun 17 13:10:10 1997 Bob Manson <manson@charmed.cygnus.com>
7197
7198 * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
7199 global variables. Handle getting a value for $timeout more
7200 gracefully.
7201
7202Sat Jun 14 09:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
7203
7204 * lib/gdb.exp: Close connection to remote host if gdb doesn't
7205 initialize.
7206 (default_gdb_init): New procedure; allow gdb_init to be overridden
7207 by a target configuration file.
7208 (gdb_expect): Pass the timeout to remote_expect.
7209
7210 * config/monitor.exp(gdb_load): Fix typo in regexp.
7211
7212Thu Jun 12 20:57:12 1997 Bob Manson <manson@charmed.cygnus.com>
7213
7214 * gdb.base/funcargs.exp: Remove spurious suppress tests call.
7215
7216Tue Jun 3 15:20:20 1997 Bob Manson <manson@charmed.cygnus.com>
7217
7218 * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
7219 here. Call gdb_target_exec before rebooting the target, to make
7220 sure the connection to the target is closed.
7221 (gdb_load): Pass the name of the executable to gdb_target_monitor.
7222 Don't call gdb_file_cmd here; let gdb_target_monitor do it.
7223 Also detect "Timeout reading from remote" error.
7224
7225 * config/gdbserver.exp: Pass the executable being loaded to
7226 gdb_target_monitor. Don't call gdb_file_cmd here; let
7227 gdb_target_monitor do it.
7228
7229 * gdb.disasm/hppa.exp: Don't use exec_output.
7230
7231Fri May 23 13:28:29 1997 Bob Manson <manson@charmed.cygnus.com>
7232
7233 * gdb.base/list.exp: If we're debugging a non-native target,
7234 try to set the pc register to point to the start of the
7235 program before doing the first list command.
7236
7237 * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
7238 test_calls after restarting.
7239
7240 * lib/gdb.exp(gdb_run_cmd): Send jump command again after
7241 reloading.
7242
7243 * gdb.base/watchpoint.exp: Fix typo.
7244
7245 * gdb.base/setshow.exp: Check for use_gdb_stub.
7246
7247 * gdb.base/break.exp: Fix continue until exit test for the gdb
7248 stub case.
7249 * gdb.base/langs.exp: Ditto.
7250
7251 * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
7252 gdb_load_offset. If we weren't given a file to load, figure out
7253 what the current file is and use it.
7254
7255 * config/i386-bozo.exp: New file.
7256
7257Thu May 22 18:51:32 1997 Bob Manson <manson@charmed.cygnus.com>
7258
7259 * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
7260 feature.
7261
7262 * config/proelf.exp: New entry.
7263
7264Wed May 21 21:23:16 1997 Bob Manson <manson@charmed.cygnus.com>
7265
7266 * lib/gdb.exp: Remove spurious .* patterns at the beginning
7267 of regexps.
7268
7269 * gdb.base/watchpoint.exp: Don't run the test_stepping
7270 tests if gdb can't call functions on the target.
7271
7272 * gdb.base/setshow.exp: Don't run the set prompt tests if
7273 the board has gdb_prompt set.
7274
7275Tue May 20 08:58:49 1997 Jeffrey A Law (law@cygnus.com)
7276
7277 * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
7278 * gdb.base/commands.exp: Likewise.
7279 * gdb.base/setshow.exp: Likewise.
7280
7281Mon May 19 15:37:50 1997 Bob Manson <manson@charmed.cygnus.com>
7282
7283 * config/monitor.exp(gdb_start): Look for gdb_prompt target
7284 feature.
7285
7286 * config/i960.exp: New file.
7287
7288Thu May 1 18:01:50 1997 Bob Manson <manson@charmed.cygnus.com>
7289
7290 * gdb.base/funcargs.exp: Check for gdb,short_int target
7291 feature instead of looking for explicit target triplets.
7292
dc96c6c7 7293Mon Apr 28 17:27:40 1997 Michael Snyder <msnyder@cygnus.com>
c906108c 7294
d63a86f8 7295 * gdb.base/printcmds.exp: add a couple more tests a la
c906108c
SS
7296 "p 123DEADBEEF", to check parse_number.
7297 * top.c: change "to enable to enable" to "to enable" in a couple
7298 of help strings.
7299
7300Thu Apr 24 14:38:18 1997 Jeffrey A Law (law@cygnus.com)
7301
7302 * gdb.base/callfuncs.exp: Mark some tests as expected to fail
7303 on the mn10300.
d63a86f8 7304
c906108c
SS
7305Mon Apr 21 15:05:42 1997 Fred Fish <fnf@cygnus.com>
7306
7307 * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
7308 where the test executable is run with explicit args.
7309 * gdb.base/default.exp: Handle arm-*-coff case for "info float".
7310
7311Mon Apr 21 13:38:58 1997 Fred Fish <fnf@cygnus.com>
7312
7313 * gdb.base/run.c: Use FAKEARGV to build test executable that
7314 does not require a command line arg, since most simulators
7315 don't currently support passing such an arg into the simulated
7316 program.
7317 * gdb.base/commands.exp: Change tests to insert the proper
7318 value as the arg to the first recursive factorial call. Change
7319 compilation line to define FAKEARGV at compile time.
7320
7321Wed Apr 9 11:12:36 1997 Jeffrey A Law (law@cygnus.com)
7322
7323 * gdb.base/recurse.exp: Enable these tests for the mn10300.
7324 * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
7325 function with watchpoint enabled" test.
7326
7327Tue Apr 8 19:33:20 1997 Bob Manson <manson@charmed.cygnus.com>
7328
7329 * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
7330 Don't call gdb_test when the command doesn't return to a gdb prompt.
7331
7332 * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
7333 "Tests restarted" messages.
7334
7335Tue Apr 8 16:38:46 1997 Jeffrey A Law (law@cygnus.com)
7336
7337 * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
7338
dc96c6c7 7339Thu Apr 3 15:21:26 1997 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
7340
7341 * gdb.base/help.exp: update help msg for INFO ADDR; add help test
7342 for INFO SYMBOL; add help tests for OVERLAY commands.
7343 * gdb.base/default.exp: add tests for INFO SYMBOL command;
7344 add tests for OVERLAY commands
7345 * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
7346 d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
7347 * gdb.base/sigall.c: add usestubs code frag
7348 * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
d63a86f8 7349
c906108c
SS
7350Thu Apr 3 09:38:53 1997 Bob Manson <manson@charmed.cygnus.com>
7351
7352 * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
7353 failures.
7354 (gdb_stop_suppressing_tests): Note that tests have restarted.
7355
7356Wed Apr 2 19:04:20 1997 Bob Manson <manson@charmed.cygnus.com>
7357
7358 * config/h8300.exp: New file.
7359
7360Sun Mar 30 13:38:25 1997 Bob Manson <manson@charmed.cygnus.com>
7361
7362 * gdb.base/setshow.exp: Check for the existence of a
7363 feature, not its value.
7364
7365Sat Mar 29 11:19:46 1997 Bob Manson <manson@charmed.cygnus.com>
7366
7367 * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
7368
7369 * gdb.base/scope.exp: It's now init0(), not init().
7370
7371 * gdb.base/scope0.c: For now, change init() to be init0().
7372
7373 * config/monitor.exp: Use gdb_serial in preference to serial
7374 or netport.
7375
7376 * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
7377 and it's not already set.
7378
7379Fri Mar 28 19:54:18 1997 Bob Manson <manson@charmed.cygnus.com>
7380
7381 * gdb.base/setshow.exp: Only test the run command if the target
7382 isn't using a stub and if it supports argument passing.
7383
7384Sat Mar 22 19:50:25 1997 Bob Manson <manson@charmed.cygnus.com>
7385
7386 * config/udi.exp(gdb_start): Make sure UDICONF is set
7387 properly before starting gdb.
7388
7389Mon Mar 24 14:40:33 1997 Jeffrey A Law (law@cygnus.com)
7390
7391 * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
7392 * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
7393 * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
7394
7395Tue Mar 11 11:42:58 1997 Bob Manson <manson@charmed.cygnus.com>
7396
7397 * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
7398 specialized code to reboot the board, use remote_reboot instead.
7399
7400 * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
7401
7402 * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
7403
7404 * config/monitor.exp: Make sure we disconnect from the target.
7405 Also, try a reboot/reload cycle instead of failing if the
7406 load fails.
7407
7408Fri Mar 7 13:48:30 1997 Bob Manson <manson@charmed.cygnus.com>
7409
7410 * gdb.base/default.exp: Don't set match_max.
7411 * gdb.base/help.exp: Ditto.
7412 * gdb.base/list.exp: Ditto.
7413 * gdb.base/signals.exp: Ditto.
7414
7415 * config/monitor.exp(gdb_load): If gdb,use_standard_load is
7416 set, use remote_ld to download the testcase instead of
7417 the GDB loader.
7418
7419Wed Mar 5 00:00:43 1997 Bob Manson <manson@charmed.cygnus.com>
7420
7421 * config/vr5000.exp: New file.
7422
7423 * config/monitor.exp(gdb_target_monitor): Add pattern for
7424 "Ending remote" to detect errors in connecting.
7425
7426 * gdb.base/setshow.exp: Add .* within auto language test.
7427
7428 * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
7429 target feature.
7430
7431 * config/monitor.exp(gdb_load): Check for a failure when loading,
7432 and reboot the board if necessary.
7433
7434 * gdb.base/setvar.exp(test_set): Handle multiple prints within
7435 a set of tests. Remove print.* from the patterns being checked.
7436
7437Mon Mar 3 11:57:43 1997 Bob Manson <manson@charmed.cygnus.com>
7438
7439 * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
7440 refer to gdb_spawn_id.
7441
7442 * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
7443 longer used.
7444 * config/sparclet.exp: Ditto.
7445 * config/sparclet-old.exp: Ditto.
7446 * config/slite.exp: Ditto.
7447 * config/sim.exp: Ditto.
7448 * gdb.base/funcargs.exp: Ditto.
7449
7450 * lib/gdb.exp:Remove references to gdb_spawn_id.
7451 (gdb_expect): Move to remote.exp.
7452
7453Fri Feb 28 20:47:39 1997 Bob Manson <manson@charmed.cygnus.com>
7454
7455 * config/monitor.exp: Detect the "Couldn't establish connection"
7456 message from GDB.
7457
7458Tue Feb 25 14:08:55 1997 Bob Manson <manson@charmed.cygnus.com>
7459
7460 * gdb.base/bitfields.exp: Use runto instead of explicit
7461 gdb_run_cmd/gdb_expect sequences.
7462
7463 * gdb.base/break.exp(text_next_with_recursion): Add match for
7464 gdb_expect call.
7465
7466 * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
7467 We also need to handle the "A program is being debugged already"
7468 prompt from gdb. Use gdb_test to set the baud rate.
7469
7470 * lib/gdb.exp(gdb_init): Increase the default expect buffer size
7471 to 20000. Really. I mean it.
7472
7473Mon Feb 24 13:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
7474
7475 * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
7476 fails. If suppress_flag is set, skip perror message about not
7477 being able to send to GDB.
7478 (send_gdb): If suppress_flag is set, don't try to send commands to
7479 GDB.
7480 (gdb_expect): If suppress_flag is set, always fail immediately.
7481 (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
7482 (gdb_init): Call gdb_stop_suppressing_tests.
7483 (default_gdb_exit): Ditto.
7484 (default_gdb_start): Ditto.
7485
7486 * gdb.base/bitfields.exp: Call gdb_suppress_tests and
7487 gdb_stop_suppressing_tests as appropriate.
7488 * gdb.base/break.exp: Ditto.
7489 * gdb.base/callfuncs.exp: Ditto.
7490 * gdb.base/commands.exp: Ditto.
7491 * gdb.base/exprs.exp: Ditto.
7492 * gdb.base/funcargs.exp: Ditto.
7493 * gdb.base/list.exp: Ditto.
7494 * gdb.base/recurse.exp: Ditto.
7495 * gdb.base/scope.exp: Ditto.
7496 * gdb.base/structs.exp: Ditto.
7497 * gdb.c++/inherit.exp: Ditto.
7498
7499Sun Feb 23 19:56:02 1997 Bob Manson <manson@charmed.cygnus.com>
7500
7501 * config/vr4300.exp: New file.
7502
99707966 7503 * gdb.*/*.exp: Call gdb_expect instead of expect.
d63a86f8 7504
99707966 7505 * lib/gdb.exp(gdb_expect): New function.
c906108c
SS
7506
7507Thu Feb 20 13:57:01 1997 Bob Manson <manson@charmed.cygnus.com>
7508
7509 * lib/gdb.exp(gdb_init): New function.
7510
7511 * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
7512 for each individual variable set.
7513
7514 * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
7515 name.
7516
7517 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
7518
7519 * gdb.base/scope.exp: Use gdb_test.
7520
7521 * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
7522 aborting; the testsuite driver will do that for us (see
7523 gdb_finish). Also, use gdb_test in a few more places.
7524
7525Thu Feb 20 13:32:24 1997 Stan Shebs <shebs@andros.cygnus.com>
7526
7527 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
7528
7529Thu Feb 20 10:34:21 1997 Jeffrey A Law (law@cygnus.com)
7530
7531 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
7532 and "add_tests" are not at the same address.
7533
7534Fri Feb 14 18:47:23 1997 Bob Manson <manson@charmed.cygnus.com>
7535
7536 * gdb.base/ptype.exp: Use gdb_test.
7537
7538Thu Feb 13 16:09:36 1997 Jeffrey A Law (law@cygnus.com)
7539
7540 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
7541 * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
7542 left in. No longer expect them to fail.
7543
7544 * gdb.stabs/*.mt; Deleted, no longer used.
7545 * gdb.stabs/configure.in: Remove references to target makefile
7546 frags.
7547 * gdb.stabs/configure: Rebuilt.
7548
7549 * gdb.disasm/*.mt: Deleted, no longer used.
7550 * gdb.disasm/configure.in: Remove references to target makefile
7551 frags. Use "sh3.s" as the unique filename for this directory.
7552 * gdb.disasm/configure: Rebuilt.
7553
7554 * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
7555 * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
7556 * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
7557
7558Tue Feb 11 16:57:58 1997 Bob Manson <manson@charmed.cygnus.com>
7559
7560 * config/udi.exp: Use mondfe,name instead of remote_host.
7561
7562Tue Feb 11 11:22:36 1997 Jeffrey A Law (law@cygnus.com)
7563
7564 * gdb.base/watchpoint.exp: Don't expect a failure when calling
7565 a function with a watchpoint enabled on the mn10200.
7566
7567 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
7568 before trying to create it!
7569
7570Mon Feb 10 16:40:47 1997 Bob Manson <manson@charmed.cygnus.com>
7571
7572 * config/vx.exp: Use hostname instead of netport.
7573
7574 * config/vxworks.exp: New file.
7575
7576 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
7577
7578 * config/monitor.exp(gdb_target_monitor): Look for a prompt from
7579 gdb before assuming everything worked. Send a ^C if a timeout
7580 occurs.
7581
7582 * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
7583 $gdb_spawn_id directly.
7584 (gdb_run_cmd): Try _start as well as start. Use the target feature
7585 gdb,start_symbol as the symbol to start from when jumping.
7586
7587Mon Feb 10 11:26:59 1997 Jeffrey A Law (law@cygnus.com)
7588
7589 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
7590 redundant) test.
7591
7592 * gdb.base/recurse.exp: Relax final value test for 'b' so that
7593 it doesn't lose for 16bit integer systems.
7594
7595Fri Feb 7 09:31:21 1997 Jeffrey A Law (law@cygnus.com)
7596
7597 * gdb.fortran/types.exp: If the target doesn't support "double"
7598 data types, then expect "real" types to only be 4 bytes.
7599
7600 * gdb.c++/virtfunc.exp: Expect failure for virtual function
7601 call tests if the target doesn't support inferior function calls.
7602
7603 * gdb.base/printcmds.exp: Allow minor deviation in FP values
7604 in printf tests.
7605
7606Thu Feb 6 12:46:14 1997 Jeffrey A Law (law@cygnus.com)
7607
7608 * gdb.base/help.exp: Disable "help set", "help show", and
7609 "help support". Simplify regexp for "help stack".
7610
7611 * gdb.base/default.exp: Set match_max to 5000 and the timeout
7612 to 60 seconds. Temporarily set match_max to 15000 around the
7613 "info copying" test.
7614
7615 * gdb.base/nodebug.exp: Don't try to do an inferior function
7616 call if the target doesn't support them.
7617 * gdb.base/printcmds.exp: Likewise.
7618 * gdb.base/setvar.exp: Likewise.
7619 * gdb.base/structs.exp: Likewise.
7620 * gdb.c++/templates.exp: Likewise.
7621 * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
7622
7623 * gdb.base/recurse.exp: Enable for the mn10200.
7624
7625 * configure.in: Do configure gdb.stabs directory for *-*-elf
7626 targets.
7627 * configure: Rebuilt.
7628
7629 * gdb.base/break.exp: Check for gdb,noresults before testing
7630 exit status and/or results from the target.
7631 * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
7632 * lib/gdb.exp: Remove old (now bogus) initialization of
7633 noinferior, noargs, noresults and nosignals.
7634
7635Tue Feb 4 21:52:17 1997 Bob Manson <manson@charmed.cygnus.com>
7636
7637 * config/sh.exp: New file.
7638
7639 * config/slite.exp: Try to connect multiple times to the board
7640 before rebooting. Only send a "monitor run" if need_monitor_run
7641 is set.
7642
7643 * gdb.base/break.exp: Don't do the "stub continue" test if
7644 the target has gdb_stub set.
7645
7646 * gdb.base/callfuncs.exp: Increase the timeout.
7647
7648 * gdb.base/interrupt.exp: Don't even try to compile the testcase
7649 if the target has gdb,noinferiorio set.
7650
7651 * gdb.base/list.exp: Increase match_max to 10000 characters.
7652
7653 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
7654
7655 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
7656 target.
7657
7658 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
7659
7660Mon Feb 3 12:09:37 1997 Bob Manson <manson@charmed.cygnus.com>
7661
7662 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
7663 trying to delete the copy of gdb. Catch the file delete so we
7664 don't die if the delete fails; also, the file should be copied to
7665 the host, not to the build.
7666
7667Sun Feb 2 00:55:14 1997 Bob Manson <manson@charmed.cygnus.com>
7668
7669 * lib/gdb.exp(gdb_test): Surround the result pattern with
7670 parenthesis in case it contains multiple regexps separated
7671 with |.
7672
7673 * gdb.base/watchpoint.exp: Use gdb_test.
7674 * gdb.base/default.exp: Ditto.
7675
7676Sat Feb 1 23:51:01 1997 Bob Manson <manson@charmed.cygnus.com>
7677
99707966 7678 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
d63a86f8 7679
c906108c
SS
7680 * gdb.base/scope.exp: Use gdb_test.
7681 * gdb.c++/classes.exp: Ditto.
7682 * gdb.c++/inherit.exp: Ditto.
7683
7684Fri Jan 31 13:09:12 1997 Bob Manson <manson@charmed.cygnus.com>
7685
7686 * gdb.base/crossload.exp: Don't use execute_anywhere, use
7687 remote_exec instead.
7688 * gdb.base/corefile.exp: Don't be ridiculous.
7689 * gdb.base/*.c: Add missing stub invocations.
7690
7691Thu Jan 30 16:49:25 1997 Bob Manson <manson@charmed.cygnus.com>
7692
7693 * config/slite.exp: Miscellaneous fixes.
7694
7695 * lib/gdb.exp: Fix runto.
7696
7697 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
7698 the target.
7699
7700 * gdb.base/watchpoint.exp: Fix regexp.
7701
7702 * lib/gdb.exp(default_gdb_exit): Add a catch to the
7703 close and wait commands, as the descriptor may now be
7704 invalid. Always call "remote_close host".
7705
7706Tue Jan 28 14:42:31 1997 Bob Manson <manson@charmed.cygnus.com>
7707
7708 Major rewrite for testsuite revision.
d63a86f8 7709
c906108c
SS
7710 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
7711 TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
7712 instead of relying on spawn_id to always contain a valid
7713 spawn id.
7714 (get_compiler_info): New procedure to build the ${binfile}.ci
7715 file, instead of replicating this in N different places.
7716 (gdb_compile): New procedure.
d63a86f8 7717
c906108c
SS
7718 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
7719 appropriate arguments) instead of compile. Use gdb_test in a lot
7720 more places. Use send_gdb instead of send. Always run gdb_start
7721 at the start of a testcase, as this is no longer done magically.
7722
7723 config/*-gdb.exp: Rename without the -gdb suffix.
7724
7725 config/mips.exp: Use remote_close instead of exit_remote_shell.
7726 config/monitor.exp: Use target_info instead of looking at
7727 baud, timeout, etc.
7728 config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
7729
7730Sat Dec 14 00:43:57 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7731
7732 * gdb.c++/templates.exp (test_ptype_of_templates),
7733 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
7734 Update expect patterns for destructors and assignment operators
7735 to match corresponding c-typeprint.c changes.
7736 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
7737 to destructor breakpoint test, GDB should be able to set the
7738 destructor breakpoint without specifying arguments.
7739
7740Tue Dec 3 20:17:52 1996 Fred Fish <fnf@cygnus.com>
7741
7742 * gdb.threads/pthreads.exp: Change result for failure to compile due
7743 to lack of pthreads runtime support from an error to simply an
7744 unsupported test, per dejagnu standards.
7745
7746Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7747
7748 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
7749 where GDB exits to reduce pattern match time.
7750 (skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
7751
7752 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
7753
dc96c6c7 7754Tue Nov 26 18:29:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
7755
7756 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
7757 * gdb.base/default.exp: ditto.
7758 * gdb.base/nodebug.exp: ditto.
7759 * gdb.base/printcmds.exp: ditto.
7760 * gdb.base/ptype.exp: ditto.
7761 * gdb.base/setvar.exp: ditto.
7762 * gdb.base/structs.exp: ditto.
7763 * gdb.base/setshow.c: Guard against uninitialized values of argc.
7764
7765Tue Nov 26 17:23:28 1996 Ian Lance Taylor <ian@cygnus.com>
7766
7767 * configure, */configure: Rebuild with autoconf 2.12.
7768
7769Sat Nov 23 13:32:15 1996 Fred Fish <fnf@cygnus.com>
7770
7771 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
7772 use new i*86-pc-linux*-gnu quads.
7773 * gdb.base/corefile.exp: Ditto.
7774 * gdb.base/signals.exp: Ditto.
7775 * gdb.base/sigall.exp: Ditto.
7776 * gdb.base/interrupt.exp: Ditto.
7777
7778 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
7779 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
7780 RedHat 4.0.
d63a86f8 7781
c906108c
SS
7782 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
7783 linux. This allows the test case to at least compile on latest
7784 linux, but still not run due to missing the threads runtime library.
7785
7786Fri Nov 22 10:13:29 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7787
7788 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
7789 directory to search gdb directory. Accept and step over conditional
7790 stack alignment code. Consume $prompt in failure cases.
7791 Reset timeout to $oldtimeout instead of some arbitrary value.
7792 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
7793 timeout problems with infinite stack backtraces.
7794 * gdb.base/ptype.exp (ptype struct link, union tu_link):
7795 Accept function parameters for linkfunc member.
7796
7797Thu Nov 21 09:17:19 1996 Fred Fish <fnf@cygnus.com>
7798
7799 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
7800 (CXXFLAGS): Remove, unreferenced.
7801 (B_OPTIONS): Add for -B options and add code to initialize with
7802 previous -B options and also add -B option to pick up cross compiled
7803 runtime.
7804 (TARGET_INCLUDES): Add for -I options and add code to initialize when
7805 doing cross compiles.
7806 (target_alias): Declare global.
7807 (xgcc): Set variable to full path of gcc in build tree. Use findfile
7808 to verify that gcc exists in build tree, and if so set CC to that
7809 gcc and to use B_OPTIONS and TARGET_INCLUDES.
d63a86f8 7810
c906108c
SS
7811Tue Nov 12 16:20:13 1996 Fred Fish <fnf@cygnus.com>
7812
7813 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
7814 ptype test for anonymous union. Fixup testcase to match
7815 current gcc debug output.
7816
7817Mon Nov 11 14:12:06 1996 Jeffrey A Law (law@cygnus.com)
7818
7819 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
7820 force argument to an unsigned long type.
7821
7822Mon Nov 11 10:27:55 1996 Fred Fish <fnf@cygnus.com>
7823
7824 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
7825 tests and anonymous union print/ptype tests.
7826 * gdb.base/list.exp (test_forward-search): Increase timeout by
7827 5 minutes for the "search extremely long line" case.
7828 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
7829 completely optional and that the pass/fail messages use the command as
7830 the message if that third arg is a null string.
7831 (gdb_test_exact): Arrange that a null string pattern means match a
7832 null string output rather than any output, which might include random
7833 errors.
7834 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
7835 backtrace test.
7836 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
7837 always failing and failure is now exposed by gdb.exp changes.
7838
7839Sat Nov 9 11:13:24 1996 Fred Fish <fnf@cygnus.com>
7840
7841 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
7842 weren't being noted.
7843
7844Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7845
7846 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
7847 * gdb.stabs/weird.exp: Remove v_comb xfails.
7848
dc96c6c7 7849Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
7850
7851 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
7852 list.exp scope.exp watchpoint.exp]
7853 Make all timeout error msgs explicitly say "(timeout)".
d63a86f8 7854
dc96c6c7 7855Mon Nov 4 12:03:06 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
7856
7857 * config/monitor.exp: Increase download timeout to 1000 seconds.
7858
dc96c6c7 7859Mon Nov 4 12:02:26 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
7860
7861 * config/m32r.exp: Increase timeout to 120 seconds.
7862
7863Sun Nov 3 14:37:05 1996 Fred Fish <fnf@cygnus.com>
7864
7865 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
7866 and accept older ordering as obsolescent gcc or gdb.
7867 * gdb.c++/templates.exp: Ditto.
7868 * gdb.c++/virtfunc.exp: Ditto.
7869
7870Fri Nov 1 11:56:09 1996 Fred Fish <fnf@cygnus.com>
7871
7872 * gdb.base/coremaker.c: Add code to mmap some data so we
7873 can check that it ends up in the core file.
7874 * gdb.base/corefile.exp: Add test to read mmapped data
7875 from core file.
7876
dc96c6c7 7877Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
7878
7879 * config/m32r.exp: New file.
7880
7881Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
7882
7883 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
7884 that cflags can contains -gstabs, and work correctly for other tests.
7885
dc96c6c7 7886Mon Oct 21 14:00:37 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
7887
7888 * gdb.base/setshow.exp: New file, tests show and set.
7889 * gdb.base/setshow.c: New file, tests show and set.
7890 * gdb.base/help.exp: Add test for help set|show annotate.
7891 * gdb.base/default.exp: Add test for set|show annotate.
7892
7893Wed Oct 16 19:03:54 1996 Stu Grossman (grossman@critters.cygnus.com)
7894
7895 * testsuite/gdb.base/break.exp: Make backtrace from factorial
7896 errors unique.
7897 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
7898 explicitly.
7899
7900Tue Oct 15 16:45:02 1996 Stu Grossman (grossman@critters.cygnus.com)
7901
7902 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
7903 and width commands. This is done elsewhere.
7904 * (gdb_start): Don't call gdb_start_sim here. That's already
7905 done in gdb_load. This fixes lots of failures in default.exp.
7906
7907Sun Oct 13 10:40:23 1996 Fred Fish <fnf@cygnus.com>
7908
7909 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
7910 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
7911 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
7912 in the same we we treat other failures (since it may be an expected
7913 condition), rather than as an error.
7914 * gdb.base/signals.exp (test_handle_all_print): Revert back to
7915 old test format.
7916
7917Fri Oct 11 17:05:22 1996 Fred Fish <fnf@cygnus.com>
7918
7919 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
7920 (distclean maintainer-clean realclean): No need to remove files
7921 twice. Nuke the duplicates.
7922 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
d63a86f8 7923 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
c906108c
SS
7924 Remove config.h along with other config files.
7925
7926Mon Sep 30 20:16:22 1996 Fred Fish <fnf@cygnus.com>
7927
7928 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
7929 "p func1 ()" and note that rests of tests are skipped.
7930 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
7931 setup_xfails for "print func2::coremaker_local".
7932 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
7933 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
7934 affected by the previous run test.
7935 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
7936 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
7937 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
7938 "pass int powerset tuple" and "pass modeless int powerset tuple".
7939 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
7940 "real write 4" and "real write 8".
7941 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
7942 setup_xfails for "print vs1 after tuple assign 2",
7943 "print \$i after tuple assign 2", and
7944 "print vs2 after tuple assign 2".
7945 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
7946 meaningful error message and return -1 so the caller can
7947 suppress further tests and avoid a cascade of errors.
d63a86f8 7948
c906108c
SS
7949Fri Sep 27 10:34:51 1996 Fred Fish <fnf@cygnus.com>
7950
7951 * gdb.base/a1-selftest.exp: Tweak tests to account for new
7952 format for printing version.
7953 * gdb.base/default.exp: Ditto.
7954 * gdb.base/interrupt.exp: Fix problem with cascade of
7955 errors if child process dies while calling a function.
d63a86f8 7956
c906108c
SS
7957Fri Sep 13 21:43:48 1996 Fred Fish <fnf@cygnus.com>
7958
7959 * Makefile.in (VPATH): Add
7960 * Makefile.in (Makefile, config.status): Fix rules so things get
7961 remade when necessary.
7962
7963Fri Sep 13 18:16:10 1996 Fred Fish <fnf@cygnus.com>
7964
7965 * Makefile.in (just-check): Add path to sibling expect dir
7966 to environment variable specified by RPATH_ENVVAR.
7967
7968Fri Sep 13 12:05:34 1996 Fred Fish <fnf@cygnus.com>
7969
7970 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
7971 (just-check): Add shared library paths for libstdc++, tk,
7972 tcl, bfd, and opcodes to the environment variable specified
7973 in RPATH_ENVVAR.
7974 * configure.in: Add support to recognize --enable-shared flag
7975 and generate correct value for RPATH_ENVVAR.
7976 * configure: Regenerated with autoconf.
7977
7978Mon Sep 2 06:36:02 1996 Fred Fish <fnf@cygnus.com>
7979
7980 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
7981 include all osf versions.
7982 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
7983 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
7984 when target is linux. When failing to build pthreads test
7985 executable, give more meaningful message.
7986 * gdb.threads/pthreads.c: Hpux also uses old definition of second
7987 arg for pthread_create.
d63a86f8 7988
c906108c
SS
7989Mon Aug 19 09:58:59 1996 Fred Fish <fnf@cygnus.com>
7990
7991 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
7992 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
7993 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
7994 and -lpthreads (everybody else).
7995 (test_startup): Fail gracefully if threads are not supported.
7996 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
7997 "p/c array_index("abcdef",2)" when not gcc compiled.
7998 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
7999 "print func2::coremaker_local" when not gcc compiled.
8000 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
8001 "ptype on opaque struct tagname (statically)",
8002 "ptype on opaque struct tagname (dynamically) 1", and
8003 "ptype on opaque struct tagname (dynamically) 2"
8004 for not compiled with gcc.
8005 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
8006 backtrace when compiled with gcc.
d63a86f8 8007 * lib/gdb.exp (runto_main): Return result of "runto main" rather
c906108c
SS
8008 than always return success.
8009
8010Sat Aug 17 13:28:00 1996 Fred Fish <fnf@cygnus.com>
8011
8012 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
8013
8014Tue Aug 13 10:26:10 1996 Jeffrey A Law (law@cygnus.com)
8015
8016 * gdb.base/structs.exp: Undo last change.
8017
8018Mon Aug 12 15:29:08 1996 Fred Fish <fnf@cygnus.com>
8019
8020 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
8021 encapsulate all the steps/nexts done during self test, starting
8022 at main, and makes them less sensitive to optimization issues.
8023 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
8024 signal handler" test.
8025 * gdb.threads/pthreads.exp: Only run this for native configs.
8026 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
8027 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
8028 tests.
8029 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
8030 for "runto test_calls(void)" test.
d63a86f8 8031
c906108c
SS
8032Sun Aug 11 13:11:24 1996 Fred Fish <fnf@cygnus.com>
8033
8034 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
8035 and don't expect address info in breakpoint confirmations.
8036
8037Wed Aug 7 20:47:43 1996 Fred Fish <fnf@cygnus.com>
8038
8039 * gdb.base/list.exp (test_forward_search): Increase timeout
8040 temporarily by 60 seconds for searching extremely long line,
8041 and then reset to old value when done. Increase expect input
8042 buffer to 10000.
8043
8044Wed Aug 7 15:34:22 1996 Fred Fish <fnf@cygnus.com>
8045
8046 * gdb.base/list.exp (test_forward_search): Fix to handle very
8047 long source line without overflowing expect's input buffer.
8048
8049Wed Aug 7 12:03:25 1996 Tom Tromey <tromey@creche.cygnus.com>
8050
8051 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
8052 "buffer_full".
8053
8054 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
8055 "buffer_full".
8056
8057 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
8058 "buffer_full".
8059
8060 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
8061 "buffer_full".
8062
8063Wed Aug 7 11:05:47 1996 Fred Fish <fnf@cygnus.com>
8064
8065 * configure.in (configdirs): Add gdb.threads.
8066 * configure: Regenerated with autoconf.
8067 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
8068 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
8069 * gdb.threads/configure: New, generated with autoconf.
d63a86f8 8070
c906108c
SS
8071Tue Aug 6 10:23:04 1996 Tom Tromey <tromey@rtl.cygnus.com>
8072
8073 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
8074
8075Mon Aug 5 18:11:53 1996 Fred Fish <fnf@cygnus.com>
8076
8077 * gdb.base/signals.exp (test_handle_all_print): Test separately for
8078 each signal's status in the output of "handle all print".
8079 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
8080 the \r\n sequence that immediately precedes the gdb prompt.
8081 * gdb.base/a1-selftest.exp: Save original timeout and restore
8082 after test.
8083
8084Sun Aug 4 10:20:50 1996 Jeffrey A Law (law@cygnus.com)
8085
8086 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
8087 symbol.
8088
8089Fri Aug 2 17:37:26 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
8090
8091 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
8092
8093Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
8094
8095 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
8096 timeout by 60 seconds.
8097
8098Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
8099
8100 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
8101 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
8102 error return.
8103
8104Thu Jun 27 10:54:58 1996 Fred Fish <fnf@cygnus.com>
8105
8106 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
8107 gdb initialization, also report how long dejagnu waited. Restore
8108 old timeout before doing error return. Temporarily increase timeout
8109 by 3 minutes to allow for slow startups over heavy NFS use.
8110
8111Tue Jun 25 19:59:17 1996 Fred Fish <fnf@cygnus.com>
8112
8113 * lib/gdb.exp: Report timeout value for verbosity level 2.
8114 * config/gdbserver.exp: Ditto.
8115 * config/hppro.exp: Ditto.
8116 * config/mips-gdb.exp: Ditto.
8117 * config/monitor.exp: Ditto.
8118 * config/netware.exp: Ditto.
8119 * config/sim-gdb.exp: Ditto.
8120 * config/slite-gdb.exp: Ditto.
8121 * config/udi-gdb.exp: Ditto.
8122 * config/unix-gdb.exp: Ditto.
8123 * config/vx-gdb.exp: Ditto.
8124 * gdb.base/a1-selftest.exp: Ditto.
8125 * gdb.base/a2-run.exp: Ditto.
8126 * gdb.base/break.exp: Ditto.
8127 * gdb.base/corefile.exp: Ditto.
8128 * gdb.base/list.exp: Ditto.
8129 * gdb.base/recurse.exp: Ditto.
8130 * gdb.base/scope.exp: Ditto.
8131 * gdb.base/signals.exp: Ditto.
8132
8133Tue Jun 25 23:16:58 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
8134
8135 * gdb.threads/Makefile.in (docdir): Removed.
8136
8137Tue Jun 25 17:02:39 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
8138
8139 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
d63a86f8 8140 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
c906108c 8141 @srcdir@.
d63a86f8 8142 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
c906108c
SS
8143 autoconf 2.5 or higher.
8144 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
8145
8146Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
8147
8148 * configure: Regenerated.
8149 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
8150 avoid name clashes with SunOS headers.
8151
8152Wed Jun 5 16:43:27 1996 Jeffrey A Law (law@cygnus.com)
8153
8154 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
8155
8156Thu May 30 11:35:11 1996 Jeffrey A Law (law@cygnus.com)
8157
8158 * gdb.base/callfuncs.exp: Finish last change -- make sure the
8159 prototype information ends up in the compiler info file.
8160
8161Thu May 23 12:48:41 1996 Fred Fish <fnf@cygnus.com>
8162
8163 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
8164 attempting to regenerate it. Eliminate use of a temporary file
8165 and just generate the info file directly. Source it immediately,
8166 for consistency of use.
8167 * gdb.base/corefile.exp: Ditto
8168 * gdb.base/exprs.exp: Ditto.
8169 * gdb.base/funcargs.exp: Ditto.
8170 * gdb.base/langs.exp: Ditto.
8171 * gdb.base/list.exp: Ditto.
8172 * gdb.base/mips_pro.exp: Ditto.
8173 * gdb.base/nodebug.exp: Ditto.
8174 * gdb.base/opaque.exp: Ditto.
8175 * gdb.base/ptype.exp: Ditto.
8176 * gdb.base/scope.exp: Ditto.
8177 * gdb.base/setvar.exp: Ditto.
8178 * gdb.base/signals.exp: Ditto.
8179 * gdb.base/whatis.exp: Ditto.
8180 * gdb.c++/templates.exp: Ditto.
8181 * gdb.c++/virtfunc.exp: Ditto.
8182 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
8183 whether or not to add -lstdc++ to the compile command line args.
8184
8185Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8186
8187 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
8188 it got fixed by the recent lookup_minimal_symbol_by_pc change.
8189 Increase timeout, a lot of single stepping might be needed if the
8190 target has no hardware watchpoints.
8191
8192Wed May 15 08:47:42 1996 Jeffrey A Law (law@cygnus.com)
8193
8194 * gdb.base/break.exp: Ignore compiler warnings when compiling
8195 break.c.
8196 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
8197 * gdb.base/default.exp: Add h8300 xfails. Handle messages
8198 from remote-sim.
8199 * gdb.base/exprs.exp: Add h8300 xfails.
8200 * gdb.base/funcargs.exp: Likewise.
8201 * gdb.base/nodebug.exp: Likewise.
8202 * gdb.base/printcmds.exp: Likewise.
8203 * gdb.base/ptype.exp: Likewise.
8204 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
8205 h8300 xfails.
d63a86f8 8206 * gdb.base/return.exp: Handle float/double precision problems
c906108c
SS
8207 on the h8300.
8208 * gdb.base/funcargs.c: Explicitly make last constant argument to
8209 call_after_alloca_subr an unsigned long type.
8210 * gdb.base/return.c: Include stdio.h.
8211
8212Tue May 7 22:01:12 1996 Rob Savoye <rob@chinadoll.cygnus.com>
8213
8214 * config/abug.exp: New file for the older Motorola Bug monitor
8215 that runs on the mvme13x series VME boards.
8216 * config/monitor.exp: Use the new config array for target settings
8217 if they exist.
8218
8219Fri May 3 16:02:55 1996 Stan Shebs <shebs@andros.cygnus.com>
8220
8221 * sim-gdb.exp: Make the SH simulator allocate less space when
8222 it is targeted.
8223
8224Thu May 2 12:31:56 1996 Jeffrey A Law (law@cygnus.com)
8225
8226 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
8227 test.
8228
8229Wed Mar 20 08:48:03 1996 Fred Fish <fnf@cygnus.com>
8230
8231 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
8232 "rs6000-*-*" for "list function in include file" when gcc compiled.
8233 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
8234 for "p ctable1[120]".
8235 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
8236 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
8237 Remove setup_xfail for "rs6000-*-*" for
8238 "print 'scope0.c'::filelocal before run".
8239 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
8240 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
8241 since some compilers don't allow both options to be given
8242 on the same command line. Create object file and move it.
d63a86f8 8243
c906108c
SS
8244Tue Mar 19 23:49:31 1996 Fred Fish <fnf@cygnus.com>
8245
8246 * gdb.base/corefile.exp: Always regenerate the core file, since
8247 we always regenerate the coremaker program. Detect special case
8248 where registers cannot be read from core file.
d63a86f8 8249
c906108c
SS
8250Tue Mar 19 16:52:49 1996 Fred Fish <fnf@cygnus.com>
8251
8252 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
8253 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
8254 * gdb.c++/templates.exp: Only match on basename of file since
8255 some formats like xcoff don't encode directory information.
8256 * gdb.stabs/weird.exp: Use the right sed script for powerpc
8257 and rs6000 AIX xcoff targets.
8258 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
8259 * configure: Regenerate.
8260 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
8261 here, rather than in distclean.
d63a86f8 8262
c906108c
SS
8263Sun Mar 17 13:35:31 1996 Fred Fish <fnf@cygnus.com>
8264
8265 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
8266 defined, and use it to compile the test case with -O2. The
8267 native compilation still uses no optimization.
8268 * gdb.base/mips_pro.c: Remove inline assembly code since
8269 it is compiled PIC by default, which results in assembler
8270 warnings that make the testsuite think the compilation
8271 was unsuccessful.
8272
8273Sat Mar 16 15:02:24 1996 Fred Fish <fnf@cygnus.com>
8274
8275 * gdb.c++/misc.exp: Add note to message for
8276 "print s.a for foo struct" that this is a known gcc 2.7.2
8277 and earlier bug.
8278
8279Fri Mar 15 17:49:57 1996 Fred Fish (fnf@cygnus.com)
8280
8281 * gdb.base/break.exp: Fix pattern for matching "Delete all
8282 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
8283 setup_xfail for deleting all breakpoints test. Fix various
8284 timeout messages to include "(timeout)".
8285 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
8286 for "p t_float_values2(3.14159,float_val2)".
8287 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
8288 for "continue to call2g" when gcc compiled.
8289 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
8290 "up to foo in langs.exp", "show language at foo in langs.exp",
8291 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
8292 and "show language at fsub in langs.exp".
8293 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
8294 "list line 1 in include file", "list message for lines past EOF",
8295 "list function in include file", "list list0.h:foo", and
8296 "list filename:function; nonexistant function".
8297 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
8298 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
8299 and "ptype t_char_array" to be for native cc only.
d63a86f8 8300
c906108c
SS
8301Fri Mar 15 16:17:22 1996 Fred Fish <fnf@cygnus.com>
8302
d63a86f8 8303 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
c906108c
SS
8304 setup_xfail for "print coremaker_bss", "print coremaker_ro",
8305 "print func2::coremaker_local", and "backtrace in corefile.exp".
8306
8307Wed Mar 13 14:54:11 1996 Fred Fish <fnf@cygnus.com>
8308
8309 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
8310 "bt in signals.exp". This problem only appears when running
8311 the testsuite, and then only intermittently.
8312
8313Tue Mar 12 15:00:16 1996 Stan Shebs <shebs@andros.cygnus.com>
8314
8315 * gdb.base/return.exp (return_tests): Differentiate between
8316 two tests of continuing.
8317
8318Tue Mar 5 14:33:33 1996 Stan Shebs <shebs@andros.cygnus.com>
8319
8320 * */Makefile.in (maintainer-clean): Remove config.log.
8321 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
8322 * gdb.c++/Makefile.in (PROGS): Add inherit.
8323 (clean): Remove *.ci.
8324
8325Tue Feb 20 16:36:10 1996 Fred Fish <fnf@cygnus.com>
8326
8327 * gdb.c++/misc.cc: Add test code from Mike Stump.
8328 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
8329
8330Sun Feb 18 11:39:12 1996 Fred Fish <fnf@cygnus.com>
8331
8332 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
8333 to "alpha-*-osf2*" and add comment.
8334 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
8335 setup_xfail for "step over execarg initialization" and
8336 "step over corearg initialization".
8337 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
8338 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
8339 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
8340 gcc compiled for "print coremaker_bss", "print coremaker_ro",
8341 "print func2::coremaker_local", and "backtrace in corefile.exp".
8342 * gdb.base/signals.exp: Build and source signals.ci.
8343 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
8344 to be for gcc only.
8345 * lib/gdb.exp: Move verbose statements outside conditionals.
d63a86f8 8346
c906108c
SS
8347Sat Feb 17 02:22:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8348
8349 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
8350 Feb 3 procfs.c change.
8351
8352Fri Feb 16 13:25:31 1996 Fred Fish <fnf@cygnus.com>
8353
8354 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
8355
8356Thu Feb 15 08:12:55 1996 Fred Fish <fnf@cygnus.com>
8357
8358 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
8359 from dejagnu's apparent default of 10 seconds, which gives random
8360 results when running the tests over NFS on moderately loaded systems.
8361 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
8362
8363Mon Feb 12 16:50:28 1996 Fred Fish <fnf@cygnus.com>
8364
8365 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
8366 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
8367 result reports.
8368
8369Fri Feb 9 15:56:51 1996 Fred Fish <fnf@cygnus.com>
8370
8371 * configure.in (CY_AC_PATH_TCLH): Remove.
8372 * configure: Regenerate.
8373
8374Fri Feb 9 08:21:31 1996 Fred Fish <fnf@cygnus.com>
8375
8376 * gdb.c++/Makefile.in (clean): Add missing '{'.
8377
8378Fri Feb 2 10:19:40 1996 Jeffrey A Law (law@cygnus.com)
8379
8380 * lib/gdb.exp: Provide a default value for noinferior.
8381
8382 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
8383 Load libgloss.exp.
8384
8385Thu Feb 1 20:20:14 1996 Jeffrey A Law (law@cygnus.com)
8386
8387 * gdb.disasm/hppa.exp: Compile directly into an executable, use
8388 the executable, not the .o to run the tests from.
8389
8390Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com)
8391
8392 * gdb.base/break.exp: Don't test for program exit or exit status
8393 if $noresults if nonzero.
8394 * gdb.base/langs.exp: Likewise.
8395 * gdb.base/watchpoint.exp: Likewise.
8396
8397 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
8398 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
8399 trying to compile the testcase.
8400
8401Wed Jan 24 23:42:39 1996 Doug Evans <dje@charmed.cygnus.com>
8402
8403 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
8404 * gdb.base/signals.exp (continue to handler): Likewise.
8405
8406Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
8407
8408 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
8409
8410 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
8411
8412Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
8413
8414 * gdb.base/corefile.exp: Recognize "not found" as failure
8415 when trying to determine if a core file was generated.
8416 If no core file was generate the first time, try again without
8417 the ulimit -c to work around braindamaged shells.
8418
8419Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
8420
8421 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
8422 [] tests with "test" and enclose string in quotes.
8423 * gdb.stabs/configure: Rebuild
d63a86f8 8424
c906108c
SS
8425Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
8426
8427 Changes in sync with expect:
8428 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
8429 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
8430 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
8431 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
8432 argument to AC_REQUIRE.
8433 * configure: Regenerated.
8434
8435Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
8436
8437 * gdb.base/corefile.exp: When generating a core, discard any
8438 error messages about ulimit not found and the "core dumped"
8439 message from the shell that runs the coredumper.
8440
8441Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
8442
8443 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
8444
8445 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
8446 which sed script to run. Expect failure for v_comb test
8447 on PA targets too.
d63a86f8 8448
c906108c
SS
8449Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
8450
8451 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
8452 "print func2::coremaker_local" and for "backtrace in corefile.exp"
8453
8454Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
8455
8456 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
8457 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
8458 "sparc-sun-solaris*" xfails for "p v_comb".
8459 * lib/gdb.exp (default_gdb_start): Fix typo.
8460 * gdb.base/corefile.exp: Allow "Core was generated by ..."
8461 messages to not include the full program name that caused
8462 the core dump since some systems (such as solaris) apparently
8463 truncate this path to about 80 characters.
8464 When generating a core file first try increasing the core file
8465 size limit to unlimited since some systems may default it to
8466 zero, and it is harmless to try it. Move the test for failing
8467 to generate a core file to where it will actually get executed.
8468 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
8469 new gdb result from g++ debug info improvements and make old
8470 pattern obsolescent. Also account for size_t differences
8471 (may be int or long).
8472 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
8473 initialization before function call is placed in the delay slot
8474 and thus appears to be skipped over by commands such as "next".
8475
8476Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
8477
8478 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
8479
8480Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
8481
8482 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
8483 input source file; fix code to compile test to deal with this
8484 convention.
8485 * gdb.c++/*.exp: Likewise.
8486
8487Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
8488
8489 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
8490 "bt in signals.exp".
8491
8492Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
8493
8494 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
8495 "step over execarg initialization" and
8496 "step over corearg initialization".
8497
8498Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
8499
8500 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
8501 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
8502
8503Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
8504
8505 From Rob Savoye (rob@poseidon.cygnus.com)
8506 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
8507 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
8508 configure.in}, gdb.disasm/{Makefile.in, configure.in},
8509 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
8510 configure.in}: Major reworking for autoconfig.
8511 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
8512 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
8513 New files.
8514 * config/unix-gdb.exp: Make GDB global.
8515 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
8516 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
8517 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
8518 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
8519 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
8520 term.exp, twice.exp, watchpoint.exp, whatis.exp},
8521 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
8522 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
8523 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
8524 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
8525 pr-8136.exp, result.exp, string.exp, tuples.exp},
8526 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
8527 to returns as necessary, arrange for test to compile own testcase
8528 executable.
8529 * lib/gdb.exp: Changes for testsuite to compile own test cases.
d63a86f8 8530
c906108c
SS
8531Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
8532
8533 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
8534 clear_xfail at end of test which might not call either pass or fail.
8535 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
8536 "backtrace through signal handler".
8537
8538Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8539
8540 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
8541 continuing from a job control stop signal.
8542 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
8543
8544Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
8545
8546 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
8547 * gdb.base/corefile.exp: Likewise.
8548 * gdb.base/funcargs.exp: Likewise.
8549
8550Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
8551
8552 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
8553 * config/monitor.exp: Add support for setting baud rate.
8554
8555Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
8556
8557 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
8558 i*86-*-linux* xfails for "backtrace through signal handler".
8559 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
8560 "print func2::coremaker_local".
8561 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
8562 alpha-dec-osf2* xfail for
8563 "delete all breakpoints when none".
8564
8565Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
8566
8567 * gdb.base/break.exp: Change test that deletes all breakpoints
8568 when no user breakpoints are installed. A post 4.15 change
8569 causes gdb to no longer prompt in this case.
8570
8571Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
8572
8573 * gdb.base/return.exp (return_tests): Change xfail for test
8574 "correct value returned double test" to stop xfailing at
8575 Solaris 2.5. Apparently the bug has been fixed.
8576
8577Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
8578
8579 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
8580 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
8581
8582Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
8583
8584 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
8585 * gdb.disasm/hppa.s: Corresponding changes.
8586
8587Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
8588
8589 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
8590 makefile fragment.
8591 * config/mt-hpux: Deleted.
8592
8593Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
8594
d63a86f8 8595 * Many files: When warning about suppressed tests due to a
c906108c
SS
8596 nonexistant test binary, avoid incrementing the warning count.
8597
8598Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
8599
8600 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
d63a86f8 8601
c906108c
SS
8602Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8603
8604 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
8605 "sparc-*-solaris2*".
8606
8607Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8608
8609 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
8610 Add global and local variables and initialize them.
8611 * gdb.base/corefile.exp: Test correct mapping of corefile sections
8612 by printing variables. Remove rs6000 and powerpc xfails, BFD now
8613 extracts the file name and terminating signal from the core file.
8614 * TODO: Remove note about tests for correct mapping of corefile.
8615 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
8616 from optimizing it away.
8617 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
8618 handles common blocks.
8619
8620Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
8621
8622 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
8623 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
8624
8625Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
8626
8627 * Makefile.in (maintainer-clean): New target, synonym for
8628 realclean.
8629 * gdb.base/Makefile.in (maintainer-clean): Likewise.
8630 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
8631 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
8632 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
8633 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
8634 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
8635
8636Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
8637
8638 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
8639 xfails when not gcc compiled for "print foo::funclocal".
8640 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
8641 "print foo::funclocal at foo",
8642 "print 'scope1.c'::foo::funclocal at foo",
8643 "print foo::funclocal_bss at foo",
8644 "print 'scope1.c'::foo::funclocal_bss at foo",
8645 "print foo::funclocal_ro at foo",
8646 "print 'scope1.c'::foo::funclocal_ro at foo",
8647 "print bar::funclocal at foo" and
8648 "print 'scope1.c'::bar::funclocal at foo".
8649 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
8650 gcc compiled for "print foo::funclocal at bar".
8651 Expand all messages to ensure that they identify that
8652 the test is at bar().
8653 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
8654 gcc compiled for:
8655 "ptype on opaque struct pointer (statically)",
8656 "ptype on opaque struct tagname (statically)",
8657 "ptype on opaque struct pointer (dynamically) 1",
8658 "ptype on opaque struct tagname (dynamically) 1",
8659 "ptype on opaque struct pointer (dynamically) 2" and
8660 "ptype on opaque struct tagname (dynamically) 2
8661 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
8662 gcc compiled for:
8663 "p datalocal"
8664 "whatis datalocal",
8665 "ptype datalocal",
8666 "p bsslocal",
8667 "whatis bsslocal", and
8668 "ptype bsslocal".
8669 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
8670 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
8671 when not gcc compiled.
8672 * gdb.base/funcargs.exp (float_and_integral_args): Add
8673 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
8674 compiled.
8675 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
8676 "backtrace from call6a" when not gcc compiled.
8677 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
8678 "backtrace from call7a" when not gcc compiled.
8679 * gdb.base/callfuncs.exp (do_function_calls):
8680 Add "hppa*-*-hpux*" xfail when not gcc compiled for
8681 "p t_char_array_values(char_array_val2,char_array_val1)",
8682 "p t_char_array_values(char_array_val1,char_array_val2)",
8683 "p t_char_array_values("carray 1","carray 2")",
8684 "p t_char_array_values("carray 1",char_array_val2)",
8685 "p t_char_array_values(char_array_val1,"carray 2")",
8686 "p sum_args(1,{2})",
8687 "p sum_args(2,{2,3})",
8688 "p sum_args(3,{2,3,4})",
8689 "p sum_args(4,{2,3,4,5})"
8690 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
8691 "backtrace in corefile.exp" when not gcc compiled.
8692
8693Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8694
8695 * gdb.base/signals.exp: Rewrite `handle all print' test as
8696 a procedure. Accept blanks or TABs as whitespace, increase
8697 timeout and expect input buffer size for the large output
8698 from the command. Remove "i*86-*-bsdi2.0" xfail.
8699
8700Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8701
8702 * gdb.base/setvar.exp: Add new testcases for truncation when
8703 assigning invalid values to bitfields.
8704
8705Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
8706
d63a86f8 8707 * gdb.base/callfuncs.exp (do_function_calls): Remove
c906108c
SS
8708 mips-sgi-irix* xfail for
8709 "call inferior func with struct - returns char *"
8710 and fix test so that an optional (unsigned char *) cast is
8711 accepted in the result.
8712
8713Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
8714
8715 * gdb.base/funcargs.exp (float_and_integral_args): Remove
8716 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
8717 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
8718 * gdb.base/signals.exp: Remove duplicate "handle all print" test
8719 that accidentally got checked in.
8720
8721Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
8722
d63a86f8 8723 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
c906108c
SS
8724 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
8725 compiled test.
8726 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
8727 Add mips-sgi-irix5* xfail for not gcc compiled.
8728 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
8729 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc compiled for
8730 "p top", "whatis top", "p middle", and "whatis middle".
8731 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
8732 "whatis signed char" for not gcc compiled.
8733 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
8734 "set variable signed char=-1 (-1)" and
8735 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
8736 * gdb.base/funcargs.exp (float_and_integral_args):
8737 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
8738 Add mips-sgi-irix* xfail when not gcc compiled for
8739 "continue to call2b".
8740 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
8741 "continue to call2g".
8742 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc compiled for
8743 "backtrace from call6a"
8744 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc compiled for
8745 "backtrace from call7k".
8746 Add mips-sgi-irix5* xfail when not gcc compiled for
8747 "backtrace from call7a".
8748 (localvars_after_alloca): Fix gdb_test cmds for
8749 "print * after runto ...".
8750 Remove rs6000-*-* xfails for
8751 "print i after runto localvars_after_alloca" and
8752 "print l after runto localvars_after_alloca"
8753 for all compilers.
8754 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
8755 when not compiled with gcc, for:
8756 "print signed char == (minus)",
8757 "print signed char != (minus)",
8758 "print signed char < (minus)",
8759 "print signed char > (minus)".
8760 * gdb.base/callfuncs.exp (do_function_calls):
8761 Add mips-sgi-irix* xfail, when compiled with native compiler, for
8762 "call inferior func with struct - returns char *".
d63a86f8 8763 * gdb.base/return.exp (return_tests): Change xfail for
c906108c
SS
8764 "correct value returned double test" to include Solaris 2.4.
8765 * gdb.base/funcargs.exp (float_and_integral_args):
8766 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
d63a86f8 8767
c906108c
SS
8768Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8769
8770 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
8771 enumeration bitfields if compiling with GNU C.
8772 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
8773 to empty' prompt.
8774
8775Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
8776
8777 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
8778 test for PRO targets.
8779
8780 * gdb.base/funcargs.exp: Avoid ever setting more than 8
8781 breakpoints in the inferior at any given time by making
8782 two groups of breakpoints for call2*, call6* and call7*
8783 tests.
8784
8785Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8786
8787 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
8788 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
8789 from optimizing it away.
8790 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
8791 "call inferior func with struct".
8792
8793Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
8794
8795 * configure.in: Only configure gdb.chill for particular targets.
8796
8797Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
8798
8799 * gdb.base/Makefile.in: Add action to .c.o transformation
8800 rule that generates a .ci file for each .o file and remove
8801 explicit .c.o rules except for callfuncs.o.
8802 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
8803 generates a .ci file for each .o file and remove explicit
8804 .cc.o rules.
8805 (clean): Remove *.tmp *.ci files.
8806 (EXECUTABLES): Remove templ-info.exp.
8807 * gdb.base/compiler.c: New file.
8808 * gdb.c++/compiler.cc: New file
8809 * gdb.base/scope.exp: Source gdb.base/scope.ci.
8810 Change rs6000-*-* xfail for
8811 "print 'scope0.c'::filelocal_ro" and
8812 "print 'scope1.c'::filelocal" and
8813 "print 'scope1.c'::filelocal_bss" and
8814 "print 'scope1.c'::filelocal_ro" and
8815 "print 'scope1.c'::foo::funclocal" and
8816 "print 'scope1.c'::foo::funclocal_ro" and
8817 "print 'scope1.c'::bar::funclocal" and
8818 "print 'scope0.c'::filelocal_ro" and
8819 "print 'scope1.c'::filelocal at foo" and
8820 "print 'scope1.c'::filelocal_bss at foo" and
8821 "print 'scope1.c'::filelocal_ro at foo" and
8822 "print 'scope1.c'::foo::funclocal at foo" and
8823 "print 'scope1.c'::foo::funclocal_bss at foo" and
8824 "print 'scope1.c'::foo::funclocal_ro at foo" and
8825 "print 'scope1.c'::bar::funclocal at foo" and
8826 "print 'scope0.c'::filelocal_ro" and
8827 "print 'scope1.c'::filelocal" and
8828 "print 'scope1.c'::filelocal_bss" and
8829 "print 'scope1.c'::filelocal_ro" and
8830 "print 'scope1.c'::foo::funclocal" and
8831 "print 'scope1.c'::foo::funclocal_bss" and
8832 "print 'scope1.c'::foo::funclocal_ro" and
8833 "print 'scope1.c'::bar::funclocal" and
8834 "print 'scope1.c'::bar::funclocal_bss"
8835 to only be xfail'd when not compiled with gcc.
d63a86f8 8836 Add rs6000-*-* xfail for
c906108c
SS
8837 "print 'scope0.c'::filelocal_bss before run"
8838 when compiled with gcc.
8839 (test_at_main): Add rs6000-*-* xfail for
8840 "print filelocal_ro in test_at_main"
8841 when compiled with gcc.
8842 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
d63a86f8 8843 Add rs6000-*-aix* xfail for
c906108c
SS
8844 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
8845 "ptype t_char_array", not compiled with gcc.
8846 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
8847 xfail for "list foo (in include file)" when gcc compiled.
8848 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
8849 (integral_args): Add rs6000-*-* xfail for
8850 "run to call0a" if not compiled with gcc.
8851 (unsigned_integral_args): Add rs6000-*-* xfail for
8852 "run to call1a" if not compiled with gcc.
8853 (float_and_integral_args): Add rs6000-*-* xfail for
8854 "run to call2a" if not compiled with gcc and for
8855 "continue to call2b" for any compiler.
8856 Add rs6000-*-* xfail to
8857 "print f1 after run to call2a" for gcc compiled.
8858 (discard_and_shuffle): Add rs6000-*-* xfail for
8859 "run to call6a".
8860 (shuffle_round_robin): Add rs6000-*-* xfail for
8861 "backtrace from call7a" if not compiled with gcc.
8862 Add rs6000-*-* xfail for
8863 "backtrace from call7b" if compiled with gcc.
8864 (call_after_alloca): Add rs6000-*-* xfail for
8865 "print c in call_after_alloca" and
8866 "print s in call_after_alloca" and
8867 "backtrace from call_after_alloca_subr"
8868 if not compiled with gcc.
8869 (localvars_in_indirect_call): Add rs6000-*-* xfail for
8870 "print c in localvars_in_indirect_call" and
8871 "print c in localvars_in_indirect_call" and
8872 "backtrace in indirectly called function" and
8873 "stepping into indirectly called function"
8874 if not compiled with gcc.
8875 (localvars_after_alloca): Add rs6000-*-* xfail for
8876 "print c after runto localvars_after_alloca" and
8877 "print s after runto localvars_after_alloca" and
8878 "print i after runto localvars_after_alloca" and
8879 "print l after runto localvars_after_alloca"
8880 for all compilers.
8881 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
8882 than whatis-info.exp.
8883 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
8884 than opaque-info.exp.
8885 Setup rs6000-*-* xfail for
d63a86f8 8886 "ptype on opaque struct pointer (statically)" and
c906108c
SS
8887 "ptype on opaque struct pointer (dynamically)" when
8888 not compiled with gcc.
8889 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
8890 rather than callf-info.exp.
8891 (do_function_calls): Add clear_xfail for rs6000-*-* for
8892 "p t_float_values2(3.14159,float_val2)". Seems to work
8893 fine there, both with xlc and gcc. Need to find out what
8894 it is doing right and fix other platforms.
8895 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
8896 "call inferior func with struct - returns int",
8897 "call inferior func with struct - returns long",
8898 "call inferior func with struct - returns float",
8899 "call inferior func with struct - returns double",
8900 "call inferior func with struct - returns char *",
8901 but only if not gcc compiled (presumes xlc compiled).
8902 Change rs6000-*-* xfails for
8903 "call inferior func with struct - returns char" and
8904 " call inferior func with struct - returns short" to only
8905 xfail if not using gcc.
8906 (clean mostlyclean): Remove *.ci and *.tmp files.
8907 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
8908 than templ-info.exp.
8909 * gdb.base/langs.exp: Source gdb.base/langs.ci.
8910 Add rs6000-*-* xfail for "up to foo in langs.exp"
8911 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
8912 when not gcc compiled.
d63a86f8 8913
c906108c
SS
8914Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
8915
8916 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
8917 * gdb.base/corefile.exp: Likewise.
8918 * gdb.base/list.exp: Likewise.
8919 * gdb.base/scope.exp: Likewise.
8920 * gdb.base/siganls.exp: Likewise.
8921
8922 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
8923 compiler output.
8924 * gdb.base/whatis.exp: Likewise.
8925
8926Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
8927
8928 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
8929 failure (opcode table has been fixed to match reality).
8930
8931Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
8932
8933 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
8934 "call inferior func with struct - returns char",
8935 "call inferior func with struct - returns short"
8936
8937 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
8938 "print 'scope0.c'::filelocal at main",
8939 "print 'scope0.c'::filelocal_bss in test_at_main",
8940 "print 'scope0.c'::filelocal at foo",
8941 "print 'scope0.c'::filelocal_bss in test_at_foo",
8942 "print 'scope0.c'::filelocal at bar",
8943 "print 'scope0.c'::filelocal_bss in test_at_bar"
d63a86f8 8944
c906108c
SS
8945 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
8946 in source file 1". This bug seems to have been fixed with both
8947 gcc and native cc (was native assembler bug?).
8948
8949Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
8950
8951 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
8952 "backtrace through signal handler" to "i*86-*-sysv4*".
8953 * gdb.base/signals.exp: Add xfail for "'next' behaved as
8954 continue" case. Add "known SVR4 bug" to fail message.
8955 Add "i*86-*-bsdi2.0" xfail for "handle all print".
8956 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
8957 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
8958 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
8959 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
8960 "up to foo in langs.exp", "show language at foo in
8961 langs.exp", "up to cppsub_ in langs.exp", "show
8962 language at cppsub_ in langs.exp", "up to fsub in
8963 langs.exp", and "show language at fsub in langs.exp".
8964 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
8965 "bactrace in corefile.exp".
8966 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
8967 "call inferior function with struct - returns float" and
8968 "call inferior function with struct - returns double".
d63a86f8 8969
c906108c
SS
8970Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
8971
8972 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
8973 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
8974 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
8975 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
8976
8977Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
8978
8979 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
8980 (or overriden) "CHILL" macro rather then bare "gcc".
8981 Also look for ../../gcc/xgcc since that is what we will
8982 actually need, not "Makefile". Remove following assignment
8983 of CHILL to CHILL_FOR_TARGET because that results in
8984 recursive definition.
8985
8986Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
8987
8988 * gdb.base/corefile.exp: Change xfail for backtrace in
8989 corefile.exp from linuxaout to all linux.
8990 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
8991 cases where we miss the breakpoint at the signal handler
8992 for some reason. Setup xfail for linuxoldld/linuxaout and
8993 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
8994 hitting SIGURG breakpoint.
8995 * gdb.base/signals.exp: Setup xfail for "next" acting like
8996 continue to add linuxoldld. Setup xfail for all linux for
8997 "next to handler in signals_tests_1", "backtrace in
8998 signals_tests_1", "continue to func1", "pass SIGUSR1",
8999 and continue to handler".
9000
9001Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
9002
9003 * Update all FSF addresses except those in COPYING* files.
9004
9005Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
9006
9007 * gdb.base/a2-run.exp: Change messages to be more explicit about
9008 the status of args, and quote binfile in results.
9009
9010Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
9011
9012 * gdb.base/callfuncs.exp: Add tests for passing structs to
9013 inferior functions and return various types.
9014 * gdb.base/callfuncs.c: Add functions to receive a struct
9015 and return a member of the struct, in various types.
9016
9017Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9018
9019 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
9020
9021Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
9022
9023 * config/vxworks29k.exp: New file, sources vxworks.exp.
9024
9025Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
9026
9027 * config/gdbremote.exp: New file. Testing framework using
9028 gdbserver.
9029
9030Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
9031
9032 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
9033 "call function when asleep" and "send end of file".
9034 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
9035 for "backtrace in corefile.exp".
9036 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
9037 for "backtrace through signal handler".
9038 * gdb.base/corefile.exp: Make sure we actually generate a core file
9039 before trying the core tests. Some systems allow the user to suppress
9040 generation of core files and default to that (linux for example).
9041 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
9042 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
9043
9044Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
9045
9046 * gdb.threads: New directory with some crude multi-threaded
9047 gdb tests (step.exp and step2.exp).
9048 * config/mt-lynx (STEP_EXECUTABLE): Define.
9049 (THREADFLAGS): Define.
9050
9051Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
9052
9053 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
9054
9055 * gdb.base/signals.exp: Disable whole file for lynx until
9056 further notice.
9057
9058 * gdb.base/signals.exp: xfail test where "next" acts like
9059 "continue" for lynx.
9060
9061 * gdb.base/interrupt.exp: xfail test for calling function while
9062 inferior is asleep for lynx.
9063
9064 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
9065 than one cr-lf after each command.
9066
9067Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9068
9069 * configure.in: Reinstate setting of stabsdirs variable, fix
9070 typo in setting up configdirs for native builds.
9071
9072 * gdb.base/return.exp: Fix typo in return double test.
9073 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
9074 compiler from optimizing them away.
9075
9076Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
9077
9078 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
9079 sequences to be echo'd by gdb when using gdb_test.
9080 * gdb.chill/chexp.exp: Likewise.
9081 * gdb.fortran/exprs.exp: Likewise
9082
9083Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
9084
9085 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
9086 after the inferior gdb has started.
9087
9088 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
9089 after each command.
9090 * gdb.base/funcargs.exp: Likewise.
9091 * gdb.base/gdbvars.exp: Likewise.
9092 * gdb.base/interrupt.exp: Likewise.
9093 * gdb.base/list.exp: Likewise.
9094 * gdb.base/watchpoint.exp: Likewise.
9095 * gdb.c++/demangle.exp: Likewise.
9096 * gdb.c++/inherit.exp: Likewise.
9097 * gdb.chill/chexp.exp: Likewise.
9098 * gdb.fortran/exprs.exp: Likewise.
9099
9100 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
9101 test if we can't handle IO to/from the inferior.
9102
9103 * gdb.c++/misc.exp: Always check for a program already being
9104 started after sending a "run" command to gdb.
9105
9106 * gdb.base/twice.exp: Start with a fresh gdb.
9107
9108 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
9109 only depend on gdb's expression code, not the chill runtime.
9110
9111 * gdb.base/return.c: Put return values into variables so we
9112 can have gdb print them rather than depending on the program
9113 to print them.
9114 * gdb.base/return.exp: Corresponding changes.
9115
9116 * lib/gdb.exp: Provide default value for noinferiorio.
9117 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
9118 the inferior.
9119
9120 * gdb.base/break.exp: Always check for a program already being
9121 started after sending a "run" command to gdb.
9122 (text_next_with_recursion): Don't check the output from the
9123 program's printf statement. Instead just make sure the program
9124 exited.
9125
9126 * gdb.base/commands.exp: Protect tests which need arguments with
9127 $noargs conditionals.
9128
9129Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9130
9131 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
9132 of structure member arrays to match gdb/valops.c:value_addr change.
9133
9134Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
9135
9136 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
9137 cases.
9138
9139Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
9140
9141 * configure.in (configdirs): Remove gdb.chill from default list
9142 of subdirs and then add it back in only if doing a native build.
9143 The current chill compiler does not yet work in any cross build.
9144 * Revert all signal changes from Jul 6.
9145 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
9146 for sh-hms targets, allowing these tests to link, with no other
9147 changes. Testing is suppressed by setting "nosignals" in site.exp.
9148
9149Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
9150
9151 * configure.in (signaldirs): Define and add to configdirs for all
9152 targets except some specific ones that are known to not support signals.
9153 Also clean up formatting.
9154 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
9155 (signals, sigall): Remove rules to build.
9156 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
9157 Moved to new gdb.signals directory.
9158 * gdb.signals: New test directory.
9159 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
9160 signals.c signals.exp}: New or moved files.
9161
9162Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
9163
9164 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
9165
9166Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
9167
9168 * gdb.base/return.exp: Xfail `return double' test failure
9169 on at least Solaris 2.3 and handle future/past versions on
9170 a case by case basis as appropriate. Also update message
9171 to include i*86 failures.
9172
9173Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9174
9175 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
9176
9177 * lib/gdb.exp: Fix comment which erroneously identified
9178 gdb_file_cmd as gdb_load (the 19 May change was in fact to
9179 gdb_file_cmd not gdb_load).
9180 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
9181
9182 * gdb.base/setvar.exp: Make test names consistent between pass and
9183 fail cases. Use gdb_test more.
9184
9185Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9186
9187 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
9188
9189Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9190
9191 * gdb.base/help.exp: Fix expected help string for `show commands'.
9192
9193Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
9194
9195 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
9196
9197 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
9198 of a text section.
9199
9200Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
9201
9202 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
9203 that loop eventually terminates. Fix Connection refused logic so
9204 that testsuite will expire nicely.
9205
9206Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
9207
9208 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
9209 config/rom68k.exp: New tcl glue for the appropriate monitors.
9210 These all just end up calling monitor.exp.
9211 * config/monitor.exp (gdb_target_monitor): Handle `Connection
9212 refused' by retrying. Cleanup some timeout issues.
9213 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
9214 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
9215 callers don't have to set/restore global timeout variable.
9216
9217 * The following set of changes centralizes management of the global
9218 timeout variable. This way, it can be set in one target dependent
9219 place instead of dozens of places scattered throughout the test suite.
9220 If you need to lengthen a timeout, then you should either set timeout
9221 in one of the config/{target}.exp files, or multiply it by a factor.
9222 Setting it to an absolute value is always going to lose for some
9223 targets.
9224 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
9225 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
9226 * gdb.base/funcargs.exp: Don't set timeout.
9227 * gdb.base/list.exp (test_forward_search): Only use local timeout.
9228 * gdb.base/printcmds.exp (test_print_string_constants
9229 test_print_array_constants): Don't set timeout.
9230 * gdb.base/ptype.exp: Don't set timeout.
9231 * gdb.base/recurse.exp: Don't set timeout.
9232 * gdb.base/return.exp: Don't set timeout.
9233 * gdb.base/watchpoint.exp: Don't set timeout.
9234 * gdb.c++/classes.exp (do_tests): Don't set timeout.
9235 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
9236
9237Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
9238
9239 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
9240
9241Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9242
9243 * lib/gdb.exp: Disable chill tests for irix5.
9244
9245Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9246
9247 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
9248 each test pass or fail.
9249
9250Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9251
9252 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
9253 xlc not gcc.
9254
9255Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
9256
9257 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
9258
9259Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
9260
9261 * config/est.exp: Fix copyright and comments. Remove dead code.
9262 Use targetname, serialport and baud variables instead of fixed
9263 constants.
9264 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
9265 * config/cpu32bug.exp: New file to support cpu32bug monitors.
9266
9267Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9268
9269 * gdb.base/watchpoint.exp: Don't run
9270 test_watchpoint_triggered_in_syscall for sunos.
9271
9272Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9273
9274 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
9275 they don't seem to exist. Do include stdio.h.
9276
9277Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9278
9279 * gdb.base/a1-selftest.exp: Add alpha xfail.
9280
9281Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9282
9283 * gdb.base/watchpoint.c (main): Prompt before calling read().
9284 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
9285 Revise accordingly. Remove cruft about sending "123" several
9286 times, until it gets noticed. Clean up the "print buf[0]" stuff
9287 so that it passes or fails, and waits for prompts in the usual way.
9288
9289Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9290
9291 * gdb.base/recurse.exp: Fix comment.
9292
9293 * TODO: Remove item about printing variables in nodebug.exp. Add
9294 item about enabling tests which are only run on some targets.
9295
9296 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
9297 fail, make test names unique, use new gdb_test convention
9298 regarding pattern, use gdb_test more, etc.).
9299
9300 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
9301 fail, make test names unique, etc.).
9302
9303Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9304
9305 * gdb.base/nodebug.c: Change return type of top and middle to
9306 short.
9307 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
9308 are fixed by the recent mdebugread.c changes. Allow `short ()'
9309 as type for top and middle.
9310
9311Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9312
9313 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
9314 nearly as I can tell, the whole thing was an accident in Stu's
9315 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
9316 to replace a send/expect pair with gdb_test, but ended up only
9317 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
9318 of 30 Mar 1995 took care of it, but left this vestigial comment
9319 which I am now nuking.
9320
9321Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9322
9323 * gdb.base/break.exp: Look for different line number for
9324 breakpoint at main depending on usestubs.
9325
9326Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9327
9328 * gdb.base/list.exp: Adjust some alternate expect patterns to
9329 match recent list0.c change. Add alternate expect pattern for
9330 output from `list default lines around main' for optimizing
9331 compilers.
9332
9333Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9334
9335 * lib/gdb.exp: If nosignals is not set, set it to 0.
9336
9337Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
9338
9339 * config/slite-gdb.exp: Responds to load symbol table prompt.
9340 * gdb.base/break.exp: Adjust line number, fix rerun.
9341 * gdb.base/langs0.c: Add #ifdef usestubs.
9342
9343Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
9344
9345 * gdb.base/list.exp: Adjust line contents after adding new lines in
9346 list0.c. Also fix a syntax error.
9347
9348 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
9349 * gdb.base/break.exp: ditto.
9350 * gdb.base/list.exp: ditto.
9351 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
9352 * gdb.base/run.c: ditto.
9353 * gdb.base/list0.c: ditto.
9354 * gdb.base/funcargs.c: ditto.
9355
9356Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
9357
9358 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
9359 $targetname, $serialport and $baud instead of hardwired variables.
9360 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
9361 target doesn't support signals.
9362
9363Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
9364
9365 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
9366
9367Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9368
9369 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
9370 Don't rely on the value of an auto variable before it has been
9371 initialized. Use gdb_test more.
9372
9373Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9374
9375 * lib/gdb.exp (default_gdb_version): A version number must start
9376 with a digit, but other than that contains all characters up to
9377 the first whitespace character.
9378
9379Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9380
9381 * gdb.base/commands.exp (breakpoint_command_test): New tests.
9382
9383Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9384
9385 * gdb.c++/*.exp: Warn if executable does not exist. The original
9386 reason for skipping the warning was that configure.in sometimes
9387 intentionally skipped building the executables but the tcl code
9388 had no way of knowing. That (a) was always bogus with respect to
9389 error handling, (b) is no longer true (right now there is no way
9390 to skip C++ tests).
9391
9392 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
9393
9394Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9395
9396 * gdb.base/list.exp: Add expect patterns for output from
9397 SunPRO compiled executables.
9398 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
9399 types.
9400
9401Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9402
9403 * gdb.base/break.exp (test_next_with_recursion): Accept any line
9404 number (we are already testing that the correct source line text
9405 gets printed).
9406
9407 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
9408 that is what is intended, but something needed to be done to get
9409 sunos4 native working again.
9410
9411 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
9412
9413 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
9414 apparently went with a (very) old xfail.
9415
9416Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
9417
9418 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
9419 runto_main is a proc in gdb.exp that will do 'step' for target use
9420 stubs.
9421 * gdb.base/exprs.exp: ditto.
9422 * gdb.base/interrupt.exp: ditto.
9423 * gdb.base/opaque.exp: ditto.
9424 * gdb.base/printcmds.exp: ditto.
9425 * gdb.base/ptype.exp: ditto.
9426 * gdb.base/scope.exp: ditto.
9427 * gdb.base/setvar.exp: ditto.
9428 * gdb.base/signals.exp: ditto.
9429 * gdb.base/twice.exp: ditto.
9430 * gdb.c++/classes.exp: ditto.
9431 * gdb.c++/inherit.exp: ditto.
9432 * gdb.c++/templates.exp: ditto.
9433 * gdb.base/break.exp: no run and hit main for stubs. Change line
9434 numbers for breakpoints and info breakpoint.
9435 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
9436 breakpoint().
9437 * gdb.base/callfuncs.c: ditto.
9438 * gdb.base/exprs: ditto.
9439 * gdb.base/interrupt.c: ditto.
9440 * gdb.base/opaque0.c: ditto.
9441 * gdb.base/printcmds.c: ditto.
9442 * gdb.base/ptype.c: ditto.
9443 * gdb.base/scope0.c: ditto.
9444 * gdb.base/setvar.c: ditto.
9445 * gdb.base/signals.c: ditto.
9446 * gdb.base/twice.c: ditto.
9447 * gdb.c++/misc.cc: ditto.
9448 * gdb.c++/templates.cc: ditto.
9449
9450Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9451
9452 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
9453
9454 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
9455 somewhere between `read' and `main.c'. I'm pretty sure the
9456 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
9457 and it isn't particularly useful.
9458
9459 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
9460
9461Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9462
9463 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
9464
9465Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
9466
9467 * config/mt-slite: add LIBS and -nostdlib.
9468 * config/slite-gdb.exp: add this new file to support sparclite target.
9469
9470Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
9471
9472 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
9473
9474 * gdb.base/a2-run.exp: Change argument to istarget from
9475 "*-*-vxworks" to "*-*-vxworks*".
9476 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
9477
9478Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
9479
9480 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
9481 will not runto main but do a 'step' to step out of breakpoint().
9482 * config/mt-slite: add -Dusestubs.
9483
9484Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9485
9486 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
9487 instead of just @.
9488
9489 * gdb.base/signals.exp: Add test for "handle all print".
9490 * TODO: Remove "handle all print". Also remove item about
9491 checking copyright date (I don't like the idea of a spurious FAIL
9492 based on when we run the tests).
9493
9494 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
9495 for SunOS4 (reason for failure not investigated). Remove
9496 redundant test for $binfile.
9497
9498 * gdb.base/nodebug.c (array_index): Call malloc.
9499
9500 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
9501
9502Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
9503
9504 * gdb.base/recurse.exp: Update gdb_test invocation to use new
9505 conventions and slightly simplify the matching regexp.
9506
9507Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9508
9509 * gdb.base/break.exp: Update gdb_test invocation to use new
9510 convention.
9511
9512 * lib/gdb.exp: If noargs is not set, set it to 0.
9513
9514 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
9515 tests unique.
9516
9517 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
9518
9519Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9520
9521 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
9522 one argument of type "<non-float parameter>".
9523
9524Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
9525
9526 * config/rom68k.exp: New file to support Motorola IDP board.
9527 * gdb.base/a2-run.exp: Skip this file if noargs is set.
9528 * gdb.base/break.c: Change things around so that this program
9529 doesn't depend upon args. This is necessary to make remote
9530 targets work (in general, they can't take args).
9531 * gdb.base/break.exp: Don't try to send args to program. Don't
9532 expect output. Also, replace lots of code with gdb_test.
9533
9534Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9535
9536 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
9537 printing of '\'' (which is what the comment says we are testing,
9538 even though we were not), not '''.
9539 (test_integer_literals_rejected): Test that printing ''' is an error.
9540
9541 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
9542 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
9543 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
9544 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
9545 Use gdb_test not test_print_accept.
9546 * lib/gdb.exp: Remove test_print_accept.
9547
9548 * gdb.base/signals.exp (signal_tests_1): Make pass message
9549 consistent with fail message.
9550
9551 * gdb.base/whatis.exp: Remove xfails for printing char vs.
9552 unsigned char; the bug (PR 1821) is fixed.
9553
9554 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
9555
9556 * gdb.base/scope.exp (test_at_localscopes): Call pass for
9557 successful tests--makes xfailing them work right.
9558
9559Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9560
9561 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
9562 only \r\n, not .*. The test can pass .* as the last thing in
9563 $pattern if that is what it wants. In addition to providing this
9564 flexibility, this change should speed up pattern matching in cases
9565 where the pattern already ended with .* (there were a number of
9566 them). This change also helps catch bad patterns--in the old
9567 scheme the typo "char \*" instead of "char \\*" would pass. Now
9568 it is caught.
9569 * Many .exp files: Update callers.
9570
9571 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
9572 clearer and does not spuriously match multiple ('s. Likewise for
9573 ) and *.
9574
9575 * gdb.base/nodebug.exp: Test ability to call a function and pass
9576 it a string (even with no debugging info).
9577
9578 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
9579 "p '\'", which is the same as "p ''" once tcl gets done with
9580 quoting, to "p '\\'", which I suspect is what is intended (one
9581 backslash gets sent to GDB).
9582
9583 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
9584
9585Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9586
9587 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
9588 1817) was fixed literally years ago.
9589
9590Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9591
9592 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
9593 test, it causes stepping out of call_after_alloca_subr with
9594 optimizing compilers.
9595 (localvars_in_indirect_call): Consume GDB prompt if `finish'
9596 fails.
9597
9598 * gdb.c++/templates.exp: Source templ-info.exp only if
9599 the templates executable exists.
9600
9601 * gdb.c++/misc.cc (class Contains_static_instance,
9602 class Contains_nested_static_instance),
9603 gdb.c++/classes.exp (test_static_members): Test printing of
9604 a class that contains a static instance of the class.
9605
9606Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9607
9608 * gdb.base/langs2.c (cppsub_): Don't prototype.
9609 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
9610 only, I believe).
9611
9612Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9613
9614 * lib/gdb.exp (skip_chill_tests): New procedure.
9615
9616 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
9617
9618Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
9619
9620 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
9621 each expect pattern. Cuts runtime from 12 to about 4 seconds.
9622
9623Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9624
9625 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
9626
9627 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
9628 disassemble 8, not 16, instructions for part 4.
9629
9630 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
9631 support the latter anymore.
9632
9633 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
9634 -DNO_PROTOTYPES.
9635 * gdb.base/callfuncs.c: Control use of prototypes based on
9636 NO_PROTOTYPES, not __STDC__.
9637 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
9638 t_float_values2 tests if prototypes in use.
9639
9640 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
9641 t_double_values): When checking differences against DELTA, check
9642 that difference is within the range (-DELTA,DELTA), not just
9643 (-infinity,DELTA).
9644
9645Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
9646
9647 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
9648 'file' command firts, then 'target', then 'load', this is due to gdb
9649 target set up.
9650 * config/mips-gdb.exp: Fix a couple regular exp bugs.
9651
9652Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
9653
9654 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
9655 FP load/store variants.
9656 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
9657
9658Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
9659
9660 * gdb.base/term.exp: Do not give a warning if not native, it is
9661 not an abnormal condition.
9662
9663Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
9664
9665 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
9666 t_char_array".
9667
9668Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
9669
9670 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
9671 are getting the version number.
9672
9673 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
9674 if not native, it is not an abnormal condition.
9675
9676Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9677
9678 * lib/gdb.exp: Just use "file exists", rather than undocumented
9679 dejagnu procedure "findfile".
9680
9681Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
9682
9683 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
9684 (LDFLAGS): Set to -Xlinker -Ur.
9685
9686 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
9687 Removed, these values are set by lib/gdb.exp.
9688
9689 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
9690
9691Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
9692
9693 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
9694 of replicating gdb startup code.
9695
9696 * config/mt-vxworks (LDFLAGS): Set to -r.
9697 (CFLAGS_FOR_TARGET): Removed.
9698
9699 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
9700 (gdb) and gdb for vxworks uses (vxgdb).
9701
9702 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
9703 executable is not in the tree and host != target, use sed and
9704 program_transform_name to determine the gdb name used by the
9705 target.
9706
9707 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
9708 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
9709
9710Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9711
9712 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
9713 floats, chars, and shorts where there are ANSI-style function
9714 definitions.
9715
9716 * gdb.base/langs.exp, gdb.base/langs*: New test.
9717 * gdb.base/Makefile.in: Build it.
9718 * TODO: Remove item about checking that C names don't get C++
9719 demangling applied; this test tests it.
9720
9721Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9722
9723 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
9724 went with the const70 xfail. The xfail went away a year ago.
9725
9726 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
9727
9728 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
9729 for hp300.
9730
9731 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
9732
9733 * gdb.base/a1-selftest.exp: Don't run on hp300.
9734
9735Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9736
9737 * Makefile.in (site.exp): Set host_alias and target_alias as well
9738 as host_triplet and target_triplet.
9739
9740Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9741
9742 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
9743
9744 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
9745 places as other ecoff systems).
9746
9747 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
9748 ultrix.
9749
9750Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9751
9752 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
9753 remove them.
9754 * gdb.base/nodebug.exp: Accept "function" in addition to "text
9755 variable and "variable" in addition to "data variable".
9756 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
9757
9758 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
9759 2.
9760 * gdb.base/list1.c (long_line): Add additional statement at start
9761 of function.
9762 * gdb.base/list.exp (test_forward_search): Update line number to
9763 reflect new statement.
9764
9765Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9766
9767 * gdb.base/signals.exp: Reinitialize searched source directories
9768 after gdb_start call.
9769
9770Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
9771
9772 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
9773 * gdb.stabs/Makefile.in: Likewise.
9774
9775 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
9776 change. Instead split the tests into smaller pieces.
9777 * gdb.disasm/hppa.s: Corresponding changes.
9778
9779Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9780
9781 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
9782 Quote ^C when passing it to stty. For some shells ^ is a pipe.
9783
9784 * gdb.base/funcargs.exp: Modify many tests so that every test
9785 either passes or fails. Make some test names unique.
9786
9787Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9788
9789 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
9790 Call stty to set interrupt character.
9791
9792 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
9793 for HP assembler versus GNU assembler based on actual behavior of
9794 $(CC), rather than assuming that $(AS) is always the GNU assembler.
9795
9796 * TODO: Suggest a few more stepping tests.
9797
9798Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
9799
9800 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
9801 restart GDB for h8300 after a continue.
9802 (return): Add pattern to match a29k-udi behavior.
9803 * gdb.base/nodebug.exp: Remove obsolete comment.
9804 * gdb.base/regs.exp: New file, testing of register displays.
9805 * gdb.base/return.exp: Fix typo in reference to $objdir.
9806 * gdb.base/whatis.exp: Always start with a fresh GDB.
9807
9808Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9809
9810 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
9811 higher, these tests generate a lot of output.
9812
9813Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9814
9815 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
9816 code following the catch silently ignored some errors; without the
9817 catch they should be thrown like any other tcl error. Also, the
9818 catch used "" instead of {} which meant all the callers who wanted
9819 to include one of the characters "[]$ had to quote it an extra time.
9820 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
9821 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
9822 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
9823 Remove extra quoting.
9824
9825Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
9826
9827 * gdb.base/commands.exp: Make test names unique; every test either
9828 passes or fails. Update some comments.
9829
9830 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
9831
9832Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9833
9834 The following fixes a FAIL caused by the fact that the alpha stabs
9835 configuration didn't use the ".if alpha" code in weird.def.
9836 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
9837 bit pointer, so the 32 bit version works even on the alpha.
9838 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
9839 Remove the stuff which allowed us to have separate versions for
9840 alpha and everything else.
9841
9842 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
9843 regexp which "info func operator\[\](" is supposed to match. Fix
9844 string to send to GDB. Note that GDB still doesn't work right. Add a
9845 new test for "info func .perator\[\](" which GDB does handle correctly.
9846
9847 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
9848
9849Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9850
9851 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
9852 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
9853 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
9854 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
9855 it makes the tests harder to understand and confuses test-o-matic.
9856 The preferred style is that each test provides a PASS or a FAIL,
9857 and has a unique message (e.g. "continue #54" not just "continue")
9858 which is the same for the pass and the fail.
9859 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
9860 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
9861 to lib/gdb.exp.
9862 * gdb.base/printcmds.exp: Use test_print_accept. Remove
9863 prt_accept which was basically the same thing. Likewise for
9864 test_print_reject and prt_reject.
9865 * lib/gdb.exp (test_print_reject): Add some more error message
9866 patterns to match from the former printcmds.exp (prt_reject).
9867 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
9868 One defect of the passcount stuff is that some of it failed to
9869 report XPASS where appropriate.
9870 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
9871 stuff before and after arg in expected pattern.
9872 (test_paddr_operator_functions): Re-do test without print_addr_of;
9873 this is the only test which seems to want extra stuff there.
9874
9875Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9876
9877 * gdb.base/nodebug.exp: Update new tests to reflect improved
9878 wording of gdb output.
9879
9880 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
9881 and "ptype" work on variables in files compiled without -g.
9882 Replaces commented out "maint print msymbol" tests.
9883
9884Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9885
9886 * gdb.base/setvar.c (dummy): Call malloc.
9887
9888 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
9889 losing with the irix4 sed.
9890
9891 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
9892 ALRM" on irix4.
9893
9894Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9895
9896 * TODO: Remove items about corefile.exp testing new exec-file and
9897 backtrace; both are now done. Add items about printing enums.
9898
9899Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9900
9901 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
9902 "get signal $thissig" test fails.
9903
9904 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
9905
9906Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9907
9908 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
9909 compiler warning with dec alpha compiler.
9910
9911 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
9912 extra \n from gdb_test call (this explains why the prompt test
9913 that I removed yesterday was there).
9914 (user_defined_command_test): Remove extra \n and prompt test.
9915
9916 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
9917 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
9918 doesn't exist.
9919 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
9920 Also remove alpha workaround, which turns out to be because
9921 SIGABRT == SIGLOST.
9922
9923 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
9924
9925 * gdb.base/help.exp: Don't test "help show".
9926
9927Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9928
9929 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
9930 "set print address" is on.
9931 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
9932 pass prompt to gdb_test; gdb_test already looks for the prompt.
9933
9934 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
9935
9936 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
9937 was a vestige of the manual TESTSTRATEGY, and the purpose of it
9938 was to make sure that gdb can read a core file. But (a) the "read
9939 the corefile" part didn't make it to a1-selftest.exp, we just
9940 delete the corefile after creating it, and (b) we test reading
9941 corefiles in corefile.exp anyway. Also, this test left around a
9942 xgdb process on Solaris.
9943
9944 * gdb.base/corefile.exp: Also test backtrace.
9945
9946Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
9947
9948 * gdb.base/commands.exp: Test a simple user defined command with
9949 arguments and if/while statements; verify the full user command is
9950 printed by "show user".
9951
9952 * gdb.base/commands.exp: Test if/while commands as part of a
9953 breakpoint command list; verify they appear in breakpoint
9954 information.
9955
9956Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9957
9958 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
9959 than by dividing by zero.
9960
9961Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
9962
9963 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
9964 performing an inferior call with watchpoints enabled.
9965 * gdb.base/watchpoint.c (main): Delete second unnecessary read
9966 call.
9967
9968Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9969
9970 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
9971 of "file" command.
9972
9973 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
9974 Add additional pattern for when "int operator int(void);" appears
9975 in a different order.
9976
9977Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9978
9979 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
9980
9981 * gdb.base/help.exp: Replace most of docstrings for "info signals"
9982 and "signal" with ".*".
9983
9984Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9985
9986 * TODO: Add note about "handle all nostop".
9987
9988 * gdb.base/{sigall.c, sigall.exp}: New test.
9989 * gdb.base/Makefile.in: Add it.
9990
9991Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
9992
9993 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
9994 when invoking GDB, suppresses any windowing interface.
9995
9996Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
9997
9998 * config/sim-gdb: New file, simulator testing support.
9999
10000Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
10001
10002 * gdb.base/interrupt.exp: Test calling func1 twice.
10003
10004Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
10005
10006 * gdb.base/list.exp (test_forward_search): Set timeout higher
10007 when we'll be getting lots of output from gdb.
10008
10009 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
10010 "init_malloc" to after the expect statement. Run it if that
10011 regexp is taken, but also for two others which happen if source
10012 cannot be found.
10013
10014Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10015
10016 * gdb.base/printcmds.exp: New test, for printing register before
10017 program is running.
10018
10019Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10020
10021 * gdb.base/list.exp: Correct some alternate expect patterns
10022 to reflect changes in list1.c.
10023
10024Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10025
10026 * TODO: Add item regarding large frames.
10027
10028 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
10029
10030 * TODO: Remove item about enabling return.exp; it
10031 is enabled. Suggest a few more "return" tests.
10032
10033Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10034
10035 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
10036 anonymous unions.
10037
10038Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10039
10040 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
10041 and pr-5646.o, so "make" is the same as "make all", not "make
10042 pr-4975.o".
10043
10044Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
10045
10046 * gdb.base/list.exp: Adjust expectations to reflect changes in
10047 list1.c.
10048 (test_forward_search): New test proc.
10049 * gdb.base/list1.c (long_line): New function, has long source line.
10050
10051Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
10052
10053 * gdb.base/a1-selftest.exp: Change initial stepping to know about
10054 additional line of code that was added.
10055
10056Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
10057
10058 * gdb.disasm/hppa.s: Break the large branching tests into smaller
10059 tests so as not to overflow expect's input buffers.
10060 * gdb.disasm/hppa.exp: Corresponding changes.
10061
10062Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10063
10064 Beginnings of template debugging tests.
10065 * gdb.c++/templ-info.cc: New file to test for template
10066 debugging capability of the compiler.
10067 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
10068 templ-info.cc.
10069 * gdb.c++/templates.cc: Add explicit template instantiations
10070 to enable compiling with -fno-implicit-templates. Add destructor
10071 and 'value' method to T5 class for template tests.
10072 * gdb.c++/templates.exp: Add testcases for printing of template
10073 types, setting breakpoints on template methods and calling a
d63a86f8 10074 template method.
c906108c
SS
10075
10076Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
10077
10078 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
10079 branch target since some assemblers (gas-2.5) may emit a
10080 relocation for the branch instead of resolving it in the
10081 assembler.
10082
10083Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10084
10085 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
10086 through signal handler.
10087
10088Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
10089
10090 * configure.in (*-*-netware): Use config/mt-netware.
10091
10092 * config/mt-netware: New file.
10093 * config/mt-i386-netware: Removed, separate configs for different
10094 netware architectures are no longer needed now that we have
10095 --with-headers.
10096
10097Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10098
10099 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
10100 by the recent changes to use ANSI C arithmetic conversions.
10101
10102Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10103
10104 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
10105 bug involving using inferior_pid to figure out whether to select a
10106 frame.
10107
10108Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
10109
10110 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
10111 match the current disassembler output.
10112
10113Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
10114
10115 * gdb.fortran/exprs.exp: Expect VOID instead of void.
10116 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
10117 types, expect "int" as type of integer values (for now).
10118
10119Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
10120
10121 * gdb.base/commands.exp: New tests for if/while commands.
10122
10123Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
10124
10125 * lib/gdb.exp (runto): Replace sub-pattern for hex value
10126 by .*, since hex values have different syntax in Chill mode.
10127
10128Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10129
10130 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
10131 linefeed from expect pattern for repeated types with indices > 9.
10132
10133Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
10134
10135 First part of Fortran test suite.
10136 * gdb.fortran: New directory.
10137 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
10138
10139Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10140
10141 * gdb.base/default.exp: Update expect pattern for load command
10142 without arguments.
10143
10144Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
10145
10146 * configure.in: Change i386 to i[345]86.
10147 * gdb.base/configure.in: Likewise.
10148 * gdb.c++/configure.in: Likewise.
10149 * gdb.chill/configure.in: Likewise.
10150
10151Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
10152
10153 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
10154 patterns, since that is not a valid context for comments.
10155
10156Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
10157
10158 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
10159 repeated types and repeated types with indices > 9.
10160
10161Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
10162
10163 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
10164 2417; old bug has been fixed.
10165
10166Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
10167
10168 * gdb.base/interrupt.exp: When trying to wake up the inferior,
10169 send the newline ourselves instead of assuming gdb_test will do
10170 so when passed an empty input string.
10171
10172 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
10173 stabs testcode.
10174
10175Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
10176
10177 * lib/gdb.exp (gdb_test): Don't send anything if the first
10178 argument is an empty string. This makes cases where we want to
10179 match output that is already in expect's buffers (for example,
10180 matching a breakpoint after gdb_run_cmd has been called) work
10181 reliably.
10182
10183Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
10184
10185 * config/netware.exp: New file.
10186
10187Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
10188
10189 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
10190 the -B and -L prefixes so we can find the debugging stub.
10191
10192 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
10193 there and we are using the gcc from the tree.
10194
10195 * gdb.base/types.c: Removed.
10196
10197 * gdb.base/configure.in: Look for makefile fragments in ../config.
10198 Recognize i386-*-netware.
10199 * gdb.c++/configure.in: Likewise.
10200
10201Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10202
10203 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
10204 the correct TCL syntax.
10205
10206Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
10207
10208 * gdb.base/opaque.exp: use runto instead of messing around with
10209 breakpoints. Simplify by using gdb_test.
10210
10211 * gdb.base/bitfields.exp: restart between tests on netware targets
10212 because breakpoints aren't relocated after target death. Run
10213 processes to completion.
10214
10215 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
10216
10217Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
10218
10219 * Makefile.in: Remove extra tabs that confuse some versions
10220 of "make". Use the newly built gdb to test with by default,
10221 rather than the first one in the tester's search path.
10222
10223Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
10224
10225 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
10226
10227 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
10228 condition help.
10229
10230Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
10231
10232 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
10233
10234 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
10235 running.
10236 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
10237 * gdb.base/funcargs.exp: Likewise.
10238
10239 * gdb.base/bitfields.exp: Simplify by using gdb_test.
10240 * gdb.base/funcargs.exp: Likewise.
10241
10242 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
10243 message is "".
10244
10245Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
10246
10247 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
10248 return,signals,twice}.exp: Handle non-existant binaries
10249 consistantly.
10250
10251 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
10252 * gdb.base/Makefile.in: Don't try to generate a core dump, we
10253 might testing a cross development system.
10254
10255Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
10256
10257 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
10258 runtest script is relative to ${srcdir}, not ${rootdir}.
10259
10260Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
10261
10262 * gdb.base/signals.exp: Allow for optionality of breakpoint
10263 address.
10264
10265Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10266
10267 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
10268
10269Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
10270
10271 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
10272 for size_t definition.
10273 * gdb.c++/templates.cc: Likewise
10274
10275 * config/mt-i386-netware: New file.
10276
10277 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
10278 defined.
10279
10280 * gdb.base/Makefile.in: Added support for systems that name core
10281 files by appending "core" to the program name.
10282 * gdb.base/a1-selftest.exp: Likewise.
10283
10284Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10285
10286 * gdb.base/return.exp: Add comment and message for `return double'
10287 test failure on Sparc Solaris.
10288
10289Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
10290
10291 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
10292
10293Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10294
10295 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
10296 from optimizing them away.
10297 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
10298 patterns to include default constructors and assignment operators,
10299 to match gcc versions beyond 2.5.8. Accept any cplus demangling
10300 character in the output of the virtual base pointer.
10301
10302Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10303
10304 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
10305 expression match in print_addr_of to avoid unintented matches.
10306 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
10307 versions up to 2.5.8.
10308
10309Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10310
10311 * gdb.base/list.exp: Tweak alternate pattern for listing of an
10312 included file to run under newer versions of expect.
10313 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
10314 consecutive >'s in templates to accomodate recent cplus-dem.c change.
10315 Remove xfail for the virtual table of BDDHookV.
10316
10317Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
10318
10319 * lib/gdb.exp (string_to_regexp): Set a default result.
10320 (default_gdb_start): Fix misleading message.
10321
10322Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
10323
10324 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
10325 Remove all CC, etc definitions.
10326 * config/mt-hpux: New file.
10327 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
10328 (CFLAGS, LDFLAGS): Define.
10329 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
10330
10331 * Makefile.in (site.exp): Don't insert host_os, etc.
10332 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
10333 (distclean): Check existence of subdir.
10334 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
10335 * gdb.base/Makefile.in: General cleanup and simplification.
10336 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
10337 to build executables. Use default rule to build .o files.
10338 (EXPECT, RUNTEST, CC): Fix relative pathname.
10339 (site.exp): Don't insert host_os, etc.
10340 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
10341 and/or SIGUSR1 defined.
10342 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
10343 * gdb.c++/Makefile.in: General cleanup and simplification.
10344 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
10345 (CFLAGS): Remove.
10346 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
10347
10348Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
10349
10350 * gdb.base/recurse.exp: Misc changes to get tests running again
10351 after Kung's changes to the watchpoint code.
10352 * gdb.base/watchpoint.exp: Likewise.
10353
10354Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
10355
10356 * lib/gdb.exp (string_to_regexp): Convert {\} also.
10357
10358Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
10359
10360 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
10361 * lib/gdb.exp (default_gdb_start): Define.
10362 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
10363 gdb.base/funcargs.exp, gdb.base/opaque.exp,
10364 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
10365 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
10366 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
10367 Don't call gdb_target_udi in between tests.
10368
10369Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10370
10371 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
10372 (which was basically just a local version of the same thing). In
10373 addition to avoiding duplication, gdb_test_exact is faster.
10374 * lib/gdb.exp (gdb_test_exact): Fix typo.
10375
10376 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
10377 don't give an error.
10378
10379 * gdb.base/term.exp: Call delete_breakpoints before starting.
10380
10381 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
10382 (t10): Add comment.
10383
10384Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
10385
10386 Reorganization of the GDB Test Suite.
10387
10388 * gdb.base: New directory, contains all the basic tests.
10389 * gdb.c++: New directory, tests specific to C++.
10390 * gdb.chill: New directory, tests specific to Chill.
10391 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
10392 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
10393 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
10394 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
10395 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
10396 t30-31 to chill).
10397 * */gdbme.*: Rename to match appropriate expect scripts.
10398 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
10399 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
10400 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
10401 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
10402 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
10403 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
10404 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
10405 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
10406 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
10407 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
10408 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
10409 gdb.c++/virtfunc.cc: New names of C++ files.
10410 * gdb.chill/chillvars.ch: New name of Chill file.
10411 * gdb.base/configure.in, gdb.c++/configure.in,
10412 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
10413 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
10414 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
10415 * configure.in (configdirs): Update to reflect directory changes.
10416 (target_abbrev): No longer define for any configuration.
10417 * Makefile.in: Cosmetic improvements to header comments.
10418
10419Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
10420
10421 Various changes to gdb.t31:
10422
10423 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
10424 * gdbme.ch: Make all key-words and predefineds be upper-case.
10425 * chillvars.exp: Expect key-words and predefinds in upper-case.
10426
10427 * chillvars.exp: Use gdb_test_exact many places.
10428 Change expected output for arrays (which now includes index labels).
10429
10430 * pr-5020.exp, gdme.ch (module PR_5020):
10431 New test, for PR-5020.
10432
10433Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
10434
10435 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
10436 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
10437
10438Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
10439
10440 * Makefile.in: Fix bit-rot in definitions of CHILL,
10441 CHILL_FOR_TARGET and Chill_LIB.
10442 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
10443 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
10444 CHILL, and CHILL_LIB.
10445
10446Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
10447
10448 * Revert the previous changes. Please see Rob's directory
10449 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
10450
10451Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
10452
10453 * Makefile.in, configure.in, config/mips-gdb.exp,
10454 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
10455 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
10456 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
10457 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
10458 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
10459 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
10460 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
10461 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
10462 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
10463 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
10464 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
10465 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
10466 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
10467 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
10468 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
10469 changes from 94Q1.
10470
10471Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
10472
10473 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
10474 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
10475 Rob's new testing fragments.
10476
10477Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
10478
10479 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
10480 lib/gdb.exp: Replace error proc calls with perror.
10481
10482Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
10483
10484 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
10485 version also, match on casted version strings, and match on
10486 gdb startup case where the line numbers might be messed up.
10487
10488Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
10489
10490 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
10491 (CFLAGS): Delete it from here.
10492
10493Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
10494
10495 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
10496
10497Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
10498
10499 * Makefile.in (RUNTEST): Default to just "runtest".
10500
10501Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10502
10503 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
10504 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
10505 the code has been restructured.
10506
10507Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10508
10509 * gdb.t00/default.exp (set write): Allow any number of \r and/or
10510 \n, not just one of each.
10511
10512 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
10513 /bin/cc gives a warning if you do.
10514
10515Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
10516
d63a86f8 10517 * gdb.t24/demangle.exp: change expect pattern of
c906108c
SS
10518 __t10ListS_link1ZUiRCUiPT0
10519
10520Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10521
10522 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
10523 on local variables in recursive functions.
10524
10525 * gdb.t07/Makefile.in: Build the new test.
10526
10527Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10528
10529 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
10530 directly. Instead compare the return values from actual calls.
10531
10532Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
10533
10534 * Makefile.in (check): Set TCL_LIBRARY for runtest.
10535
10536Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10537
10538 * From Peter Schauer with minor modifications.
10539 * gdb.t15/return.exp (return_tests): Handle targets where "return"
10540 stops in mid-line in the caller. Add xfail for returning a float
10541 value on X86 targets.
10542
10543Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10544
10545 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
10546 to avoid expect lossage.
10547 (fmem_LRbug_tests): Likewise.
10548 * gdb.disasm/hppa.s: Corresponding changes.
10549
10550 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
10551 conditions to work with latest dejagnu/expect.
10552
10553 * gdb.t15/funcargs.exp (finish from indirect call): No longer
10554 expected to fail on the PA.
10555 (backtrace in call with trampolines): Explicitly require main
10556 to be frame #1 (no trampolines should show up in backtrace).
10557
10558 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
10559 "continue -expect".
10560 * gdb.t06/break.exp: Likewise.
10561 * gdb.t07/watchpoint.exp: Likewise.
10562 * gdb.t13/bitfields.exp: Likewise.
10563 * gdb.t15/{funcargs,return}.exp: Likewise.
10564 * gdb.stabs/weird.exp: Likewise.
10565 * config/{mips,udi}-gdb.exp: Likewise.
10566
10567 * hppa.sed: Enclose comments within a sed command to avoid
10568 losing with the old OSF1 sed.
10569
10570Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10571
10572 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
10573 sequent dynix.
10574 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
10575 * gdb.t15/funcargs.exp: Conditionally step again to really
10576 finish from marker_call_with_trampolines. Handle the case where
10577 the first step from within call_with_trampolines already steps
10578 us back to main.
10579 * gdb.t15/gdbme.c: Add comment to closing brace of
10580 call_with_trampolines for funcargs.exp.
10581
10582Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10583
d63a86f8 10584 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
c906108c
SS
10585 Fix typo(s).
10586
10587Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10588
10589 * gdb.t07/gdbme.c: More code for watchpoint testing.
10590
10591 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
10592 "Hardware watchpoint" throughout file.
10593 (test_watchpoint_triggered_in_syscall): New test.
10594 (test_complex_watchpoint): New test.
10595
10596Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10597
10598 * gdbme.c (call_with_trampolines): New function to try and step
10599 into. Tests trampoline problems on the PA.
10600
10601 * funcargs.exp (localvars_in_indirect_call): No longer expect
10602 stepping into indirect call to fail on PAs.
10603 (test_stepping_over_trampolines): New test.
10604
10605Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10606
10607 * TODO: Add suggestions for static member function tests, and
10608 completion tests.
10609
10610Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10611
10612 * TODO: Add suggestions for "p/a" tests.
10613
10614 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
10615 (default_gdb_exit): Replace all the hair with sending "quit" to
10616 the process with a simple close.
10617
10618Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10619
10620 * TODO: Add suggestions for shared library tests.
10621
10622Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10623
10624 * TODO: Add suggestions for x/s tests.
10625
10626Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10627
10628 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
10629 "enable once", and "enable breakpoints once" with ".*".
10630
10631Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10632
10633 * TODO: Add suggestions about structure passing tests.
10634
10635Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10636
10637 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
10638 the primary1 test, use work around if __GNUC__ < 2.
10639 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
10640 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
10641 Test for bad output rather than waiting for timeout. Issue
10642 second continue only if first continue failed.
10643
10644Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
10645
10646 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
10647 operator[] test with gdb_test because the old code didn't seem to
10648 be getting the quoting right with the new dejagnu.
10649
10650Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
10651
10652 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
10653 one from the path.
10654 * Makefile.in: Use a fresh expect if there is one, use runtest
10655 from the src tree if there is one.
d63a86f8 10656
c906108c
SS
10657Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
10658
10659 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
10660 next over recursive call. Revise the tests from that point on
10661 (which had been skipped) to match GDB's actual (correct) output.
10662
10663 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
10664 with next over a breakpoint whose condition is false.
10665
10666 * gdb.t00/help.exp: Comment out "help set print" tests just like
10667 (and for same reason as) "help set" test.
10668
10669Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10670
10671 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
10672 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
10673
10674Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10675
10676 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
10677 necessary gdb_target_udi.
10678
10679 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
10680
10681 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
10682 1838 and 2417; they are fixed.
10683
10684 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
10685 gdb.t03/ptype.exp (ptype structure, ptype union):
10686 Remove xfails; the test is looser than when the xfails were added.
10687
10688 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
10689 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
10690
10691 * gdb.t01/run.exp: Only run shell test if isnative.
10692
10693 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
10694 since "run" automatically loads if necessary. Call gdb_target_udi
10695 after the "file" since "file" kills any execution target.
10696
10697 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
10698 GDB. GDB doesn't work that way (not anymore at least) on UDI.
10699 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
10700 argument for UDI.
10701
10702Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
10703
10704 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
10705
10706 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
10707
10708Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10709
10710 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
10711 properly quoting regexps. This makes the second argument to
10712 demangle a fixed string, which matches the callers, instead of a
10713 shell-style pattern which is what the previous implementation
10714 used. Update some of the callers.
10715
10716Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10717
10718 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
10719 (comib_nullified_tests): Fix typo.
10720 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
10721 strings. No longer expected to fail.
10722
10723 * gdb.disasm/hppa.s (addib_tests): Fix typo.
10724 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
10725 strings. No longer expected to fail.
10726
10727 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
10728 string. No longer expected to fail.
10729
10730Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10731
10732 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
10733 No longer expected to fail.
10734
10735 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
10736 string. No longer expected to fail.
10737
10738Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10739
10740 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
10741 only in the names (I probably got most of them). I was even
10742 generous with some which differed in underscores in names, and
10743 probably missed a few, and I *still* was able to remove almost a
10744 third of the file with almost no impact on testsuite coverage.
10745
10746Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10747
10748 * gdb.t00/default.exp: Match udi_attach error message as well as
10749 the one from child_attach.
10750
10751 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
10752
10753 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
10754
10755 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
10756 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
10757
10758 * Move test with enums and partial symbols back to
10759 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
10760 Reverts the change of 26 May 93. Per today's change to
10761 stabs.texinfo, the behavior that weird.exp was expecting was
10762 unreasonable; what is important is that the compiler+gdb get
10763 things right, which happens with a recent gcc. Also fix the test
10764 to deal with native compilers which put out the stab gdb can't
10765 deal with.
10766
10767Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10768
10769 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
10770 in the names. The main thing these accomplish is to slow things down.
10771 Many more such duplicates surely remain.
10772
10773 * gdb.t00/help.exp: Comment out "help support" test just like
10774 (and for same reason as) "help set" test.
10775
10776Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
10777
10778 * gdb.t06/break.exp: Remove setup_xfails for
10779 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
10780 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
10781 about known bug in gcc to include up through 2.5.8.
10782 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
10783 well as "_vb$".
10784 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
10785 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
10786 with latest gcc and gdb.
10787 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
10788 well as "_vb$".
10789
10790Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10791
10792 * configure.in (hppa*-*-*): Also configure and build stabs-only
10793 tests.
10794
10795Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10796
10797 * gdb.t10/hppa.mt: A makefile fragment for the PA.
10798 * gdb.t10/configure.in (hppa*-*-*): Use it.
10799
10800Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10801
10802 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
10803
10804Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10805
10806 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
10807 versions prior to 1.13.5.
10808
10809Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10810
10811 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
10812 the prompt is at the start of a line.
10813
10814Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10815
10816 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
10817 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
10818 in the copr tests now.
10819 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
10820 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
10821 expected to fail.
10822
10823Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
10824
10825 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
10826 gdb.t31/chillvars.exp, lib/gdb.exp:
10827 Tweak to run under either version of expect.
10828 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
10829 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
10830 * gdb.t11/list.exp: Remove extraneous whitespace.
10831
10832Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10833
10834 * gdb.t16/printcmds.exp (test_print_strings): Accept
10835 "(unsigned char *) " before the string.
10836
10837 * TODO: Add notes about printing of fancy types and GDB expressions.
10838
10839Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
10840
10841 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
10842 * gdb.t06/configure.in: Don't try to compile signals test program
d63a86f8 10843 if doing mips-idt-ecoff.
c906108c
SS
10844
10845Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
10846
10847 * Most .exp files: Tweak to run under either version of expect.
10848
10849Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10850
10851 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
10852 xfails; I'm not sure why they are failing, but not because of PR 1806.
10853
10854Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
10855
10856 * config/unix-gdb.exp: Remove gdb_unload cause it's already
10857 defined in lib/gdb.exp.
10858
10859Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10860
10861 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
10862 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
10863 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
10864 have to be typeless.
10865
10866Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10867
10868 * TODO: Add suggestion for copyright year test.
10869
10870Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
10871
10872 * configure.in (*-*-lynxos*): Add stabs tests.
10873
10874Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
10875
10876 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
10877 so insert a tab before any assembler directive in column zero.
10878
10879 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
10880 stores.
10881 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
10882 stores.
10883 (fpu_short_memory_tests): Likewise.
10884
10885Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10886
10887 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
10888 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
10889 .stabs directives in comments.
10890
10891Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10892
10893 * TODO: New file, describing tests we could write.
10894 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
10895
10896Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10897
10898 * gdb.t06/signals.exp: Add kludge to force re-sync.
10899
10900 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
10901 to xgdb instead of gdb, get out of gdb.
10902
10903Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
10904
10905 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
10906 for info.
10907
10908Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
10909
10910 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
10911 * gdb.stabs/configure.in (hppa*-*-*): Use it.
10912 * gdb.stabs/hppa.sed: New sed script for the PA.
10913
10914Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10915
10916 * gdb.stabs: Re-write weird.def and configuration to use sed
10917 instead of cpp. sed is portable and POSIX; cpp is neither.
10918
10919Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10920
10921 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
10922
10923Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10924
10925 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
10926
10927Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10928
10929 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
10930 "_vb$".
10931 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
10932 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
10933
10934Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10935
10936 * lib/gdb.exp: Comment out code which depends on non-existent
10937 `transform' procedure.
10938
10939Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
10940
10941 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
10942 * lib/gdb.exp: Transform tool name.
10943 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
10944 1.1's new error handling system.
10945
10946Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10947
10948 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
10949
10950Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10951
10952 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
10953 They made pattern matching so slow that timeouts happened on
10954 heavily loaded systems. Now any output from "show print" which
10955 gets us back to the GDB prompt is a PASS.
10956
10957Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
10958
10959 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
10960
10961Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10962
10963 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
10964
10965 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
10966 It is not from PR 3220.
10967
10968Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10969
10970 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
10971 just started failing because they depended on the order the
10972 subcommands are presented, or exact docstring text. This kind of
10973 test is a pain and has minimal benefit.
10974
10975Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10976
10977 * gdb.t09/corefile.exp: At end of test, use "core" command with
10978 no arguments.
10979
10980Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
10981
10982 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
10983 17}/Makefile.in: Make it possible to run the testsuite with Sun
10984 make and CC = cross gcc by adding explicit build rules for .o
10985 files.
10986
10987Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10988
10989 * gdb.t15/funcargs.exp: Don't put comments on same line as
10990 setup_xfail (@#$*%& tcl braindamage!).
d63a86f8 10991
c906108c
SS
10992Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10993
10994 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
10995
10996Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
10997
10998 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
10999 * gdb.t20/inherit.exp: remove three dumplicate entries.
11000
11001Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11002
11003 * gdb.t06/break.exp: For "next over recursive call", fail on any
11004 incorrect output, not just on "factorial (value=2)".
11005
11006Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11007
11008 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
11009 working now. Add an xfail if accesing a bss variable causes
11010 a memory error if the target is not yet run.
11011
11012Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11013
11014 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
11015 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
11016 name of __st* demangling (2 strings). Did Kung really get the
11017 more than 95 others right without testing them?
11018
11019Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
11020
11021 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
11022
11023Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
11024
11025 * configure.in (configdirs): Add gdb.disasm
11026 * gdb.disasm: New directory for GDB disassembler tests.
11027 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
11028
11029Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11030
11031 * gdb.t00/help.exp: Don't test "help set".
11032
11033 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
11034 from within expect statements. None of these happen anymore and
11035 they cause regressions to be silently unnoticed.
11036
11037 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
11038 messages) about known failures with gcc cygnus-2.4.5-930417.
11039
11040 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
11041 comp-info.exp so it gets built if it doesn't exist.
11042
11043 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
11044 it is no longer used.
11045 * gdb.t13/comp-info.c: Removed.
11046
11047Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
11048
11049 * gdb.t06/signals.exp: Add xfail for sun3.
11050
11051Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11052
11053 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
11054 relevant because ^C doesn't get sent but failure can be reproduced
11055 interactively).
11056
11057Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11058
11059 * gdb.stabs/alpha.mt: New configuration file for alpha.
11060 * gdb.stabs/configure.in: Use it.
11061 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
11062 sharing with alpha.mt, redefine long to word via preprocessor.
11063 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
11064 for alpha.
11065 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
11066 native cc.
11067 * gdb.t00/teststrategy.exp: Change expect string so that we
11068 consume the `(xgdb)' from the command echo and from the gdb prompt.
11069 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
11070 gdb currently compares all values as long, so this failure probably
11071 applies to any configuration where LONGEST is bigger than a target int.
11072 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
11073 with gcc.
11074 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
11075 to handle opaque pointers, gcc is.
11076 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
11077 as first argument. Include <sys/types.h> and change all operator
11078 new definitions to use size_t.
11079 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
11080 now that we use size_t.
11081
11082Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11083
11084 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
11085 a long or float array cast all array members to the same type.
11086 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
11087 with 64 bit longs.
11088 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
11089 on alpha.
11090 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
11091
11092Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11093
11094 * gdb.t24 (demangle.exp): Constructors of templates have names like
11095 vector<int>::vector(int) not vector<int>::vector<int>(int). See
11096 section 14.6 of the ARM.
11097
11098 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
11099 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
11100 accomplish little and slow down the testsuite.
11101
11102 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
11103 Accept spaces various places.
11104
11105Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11106
11107 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
11108 with watchpoint enabled.
11109
11110 * Makefile.in: Remove definition of CC and remove the second
11111 definition of CXX (the "CXX = gcc" one remains). These definitions
11112 were causing backquotes to be expanded within backquotes, which
11113 doesn't work.
11114
11115Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
11116
11117 * gdb.t17/callfuncs.exp: Add "return 0" to end.
11118
11119Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11120
11121 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
11122 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
11123 by mips cc and contains no stabs entries.
11124
11125Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
11126
11127 * config/vx-gdb.exp: Use fake device to load files rather than
11128 NFS.
11129 * lib/gdb.exp: New proc to do "file" command.
11130 * config/unix-gdb.exp: Use new "file" proc.
11131
11132Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
11133
11134 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
11135 Rework board rebooting slightly.
11136 (gdb_exit): Don't exit from the remote shell; there isn't one.
11137 * gdb.stabs/weird.exp: If a program is being debugged already,
11138 kill it.
11139 * gdb.t04/setvar.exp: Stop and restart gdb.
11140 * gdb.t05/expr.exp: Likewise.
11141 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
11142 restart gdb and reload the program.
11143 * gdb.t08/opaque.exp: Likewise.
11144 * gdb.t12/scope.exp: Likewise.
11145 * gdb.t13/bitfields.exp: Likewise.
11146 * gdb.t15/funcargs.exp: Likewise.
11147 * gdb.t20/classes.exp: Likewise.
11148 * gdb.t03/ptype.exp: Increase timeout.
11149 * gdb.t16/printcmds.exp (test_print_string_constants,
11150 test_print_array_constants): Likewise.
11151 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
11152 * gdb.t20/classes.exp (do_tests): Likewise.
11153 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
11154
11155Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
11156
11157 * gdb.stabs: Renamed *wierd* to *weird*.
11158
11159Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
11160
11161 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
11162 for timeout. Add "known gcc 2.4.5 bug" to failure message.
11163
11164Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
11165
11166 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
11167 (do_tests): Remove xfail for whatis on one_var and two_var.
11168
11169Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
11170
11171 * Makefile.in: Made cross building work better by adding
11172 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
11173
11174Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11175
11176 * gdb.t15/{return.c,return.exp,Makefile.in}:
11177 New test, currently commented out.
11178
11179Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
11180
11181 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
11182 still running and removes the leftover named socket so GDb can do
11183 clean restarts.
11184
11185Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
11186
11187 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
11188 console, not GDB.
11189 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
11190 cross testing works better with "make check"
11191 * config/unix-gdb: Use default procedures for exit and version.
11192 * config/vx-gdb.exp: Cleaned up and massaged back to working order
11193 with the newest VxWorks.
11194
11195Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11196
11197 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
11198 old form.
11199
11200 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
11201 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
11202
11203 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
11204
11205 * config/unix-gdb.exp: Remove this version of gdb_exit
11206 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
11207 Rob says he'll look at it when he gets back to testing boards.
11208
11209Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
11210
11211 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
11212 an expected fail for certain ptype commands.
11213
11214 * gdb.t20/classes.exp: Update expected results of "ptype class
11215 Base1" to account for the constructor that now appears in the type.
11216
11217Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
11218
11219 * configure.in (configdirs): Restore gdb.t04, which mysteriously
11220 disappeared from list.
11221 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
11222 "alldone" proc with call to cleanup and exit.
11223 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
11224 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
11225 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
11226 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
11227 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
11228 "alldone" proc with simple returns that suppress remaining
11229 tests. The alldone proc went away many months ago.
11230
11231Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11232
11233 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
11234
11235 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
11236
11237Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11238
11239 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
11240 as vax gdb will display them.
11241
11242Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11243
11244 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
11245 optimizers.
11246
11247 * scope.exp: Change "bad value for localval" messages so each one
11248 is unique.
11249
11250 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
11251 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
11252
11253 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
11254
11255Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11256
11257 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
11258 doesn't exist (due to optimization).
11259
11260Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11261
11262 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
11263 contains \r because the filename is long.
11264
11265 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
11266 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
11267
11268Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11269
11270 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
11271 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
11272 Ultrix.
11273 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
11274 int tests.
11275 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
11276
11277Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
11278
11279 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
11280
11281 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
d63a86f8 11282 to match does not match the passing case but still matches the
c906108c
SS
11283 failing case.
11284
11285Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11286
11287 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
11288
11289Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
11290
11291 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
11292 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
11293 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
11294 Remove various versions of gdb_exit.
11295 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
11296 gdb_exit.
11297 * config/unix-gdb.exp: gdb_exit remains here, and should override
11298 the generic version, since it's doing a lot of wierd stuff that
11299 the other versions aren't. FIXME, fold it in, or abandon this
11300 version.
11301
11302Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11303
11304 * gdb.t24/demangle.exp: Add tests for PR 3220.
11305
11306Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11307
11308 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
11309
11310Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
11311
11312 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
11313 "i386-*-*". Works for i486 as well.
11314
11315 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
11316 bug, and expand domain of xfail to all SVR4 systems, since the
11317 actual problem is likely to be in generic SVR4 /proc support.
11318
11319Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11320
11321 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
11322
11323Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
11324
11325 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
11326 xfails for other systems. Match a missing 'Continuing.' as an
11327 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
11328
11329 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
11330 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
11331 Only issue warning for missing executables if -all option is used.
11332
11333 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
11334 file if -all option is used. It's like an unpredictable XFAIL.
11335
11336Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11337
11338 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
11339 for dynamically linked binaries.
11340
11341 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
11342
11343Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11344
11345 * gdb.t20/inherit.exp: Change message for "print tagless struct"
11346 to state that this is a known bug in old versions of g++.
11347
11348Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11349
11350 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
11351 while waiting for `Continuing'.
11352
11353Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
11354
11355 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
11356 in text, data, and bss.
11357 * gdb.t10/nodebug.c: Add local and global test variables for
11358 initialized and uninitialized data.
11359
11360Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11361
11362 * config/unix-gdb.exp (gdb_exit): Add "wait".
11363
11364Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11365
11366 * gdb.t06/signals.exp: xfail the continue from the handler for all
11367 targets.
11368
11369 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
11370 function with watchpoints enabled, the i386 call dummy starts with
11371 a call.
11372
11373 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
11374 386 bsd names its corefiles.
11375
11376Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
11377
11378 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
11379 compilers don't grok it.
11380 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
11381 with small octal ints rather than character constants, which
11382 are signed and might not fit if first promoted to int.
11383
11384Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
11385
11386 * gdb.t09/Makefile.in (clean): Remove corefile.
11387
11388Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11389
11390 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
11391
11392Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11393 and Jim Kingdon (kingdon@cygnus.com)
11394
11395 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
11396 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
11397 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
11398
11399Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11400
11401 * gdb.t17/interrupt.exp: Add xfail for hppa.
11402
11403Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11404
11405 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
11406 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
11407 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
11408 to determine signed-ness of bitfields and use the result to setup
11409 the xfail.
11410 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
11411 * gdb.t15/funcargs.exp: Use them to step until the second indirect
11412 call line is reached if necessary.
11413
11414Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11415
11416 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
11417
11418Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11419
11420 * gdb.t06/break.exp: Also test `clear' command.
11421
11422Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
11423
11424 * gdb.t00/teststrategy.exp: Remove extra quote.
11425
11426 * gdb.t07/watchpoint.exp: Change xfail for calling function with
11427 watchpoint enabled to be for all non-68k machines.
11428
11429 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
11430
11431Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11432
11433 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
11434 targets use aout.mt instead of ecoff.mt as gas understands
11435 standard aout format.
11436
11437Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
11438
11439 * lib/gdb.exp (runto): Don't insist that function we are running to
11440 was compiled with -g.
11441
11442 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
11443
11444 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
11445 to get back into the read system call.
11446 Accept leading newline in case where we woke it up.
11447
11448Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11449
11450 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
11451 to make the stabs test work on ecoff systems using gcc and -with-stabs.
11452 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
11453 enable ecoff configuration.
11454
11455Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11456
11457 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
11458
11459Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11460
11461 * gdb.t16/printcmds.exp: Add another printf test.
11462
11463Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
11464
11465 * configure.in: If configured -with-stabs on any target, add
11466 stabsdirs to configdirs.
11467
11468Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11469
11470 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
11471 fun" so pattern does not match the command itself.
11472
11473Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11474
11475 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
11476
11477Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11478
11479 * gdb.t17/interrupt.exp: Test for more things.
11480
11481Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11482
11483 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
11484 compiler arranges the code and line numbers.
11485
11486 * gdb.t17/interrupt.exp: Don't send \n after ^C.
11487
11488Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11489
11490 * gdb.t00/help.exp: Increase expect input buffer size.
11491
11492Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11493
11494 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
11495
11496 * gdb.t07/watchpoint.exp: Add xfail for hppa.
11497
11498 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
11499
11500 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
11501 [0-9]*, not just [0-9].
11502
11503Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11504
11505 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
11506
11507 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
11508
11509Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11510
11511 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
11512
11513Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11514
11515 * gdb.t06/signals.c: Add xfails for sun3.
11516
11517 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
11518
11519 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
11520 test_stepping tests.
11521
11522Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11523
11524 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
11525
11526 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
11527
11528 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
11529 rather than actually putting it through cpp twice.
11530
11531 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
11532
11533Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
11534
11535 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
11536 no longer needed.
11537
11538Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11539
11540 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
11541
11542 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
11543 C++ features prints as "struct", make it a pass, not an xfail.
11544
11545Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11546
11547 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
11548 Don't require VA to print as "class" rather than "struct".
11549
11550Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
11551
11552 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
11553
11554Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11555
11556 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
11557
11558Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11559
11560 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
11561 order.
11562
11563Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11564
11565 * gdb.t16/printcmds.exp: Add printf tests.
11566
11567 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
11568
11569 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
11570
11571Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
11572
11573 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
11574 pass counts, to counteract any existing or future setup_xfails.
11575
11576Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11577
11578 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
11579 {BEGIN,END}_COMMON for common block instead of STAB.
11580 * gdb.stabs/wierd.exp: Add xfail for rs6000.
11581
11582 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
11583 intp_var should be N_GSYM not N_LSYM.
11584 wierd-aout.S: Use a label for the value of the N_SO.
11585 wierd.def: Remove all backslashes.
11586 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
11587
11588Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11589
11590 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
11591 get the expected next to inheritance3.
11592
11593Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11594
11595 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
11596 now that gcc-2.4 gets it right.
11597
11598Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11599
11600 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
11601
11602 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
11603 generating comp-info.exp which works for cross-compilation.
11604
11605Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
11606
11607 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
11608 "*-*-sysv4.*".
11609
11610Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
11611
11612 * gdb.t01/run.exp: Start with a fresh gdb.
11613 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
11614 SVR4.x.
11615
11616Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
11617
11618 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
11619 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
11620 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
11621 Makefile.in (distclean, realclean): Remove gdbme.c from list of
11622 things to remove.
11623
11624Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
11625
11626 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
11627 test cases from bug reports.
11628
11629Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
11630
11631 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
11632 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
11633 avoid spurious xfails.
11634 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
11635 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
11636 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
11637
11638Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
11639
11640 * gdb.t00/teststrategy.exp: Rework to provide more useful
11641 description of each test, fix problem with systems that define
11642 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
11643 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
11644 results for "next over recursive call" so timeouts aren't taken
11645 by error.
11646
11647Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
11648
11649 * gdb.t12/scope.exp: Test printing of variables before run.
11650
11651 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
11652 printed in wrong order due to sorting.
11653
11654Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
11655
11656 * gdb.t00/teststrategy.exp: Fix expected results for printing
11657 user entered string constant. Is array of char, prints with no
11658 address.
11659
11660 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
11661 commands.
11662 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
11663 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
11664 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
11665 of struct of char arrays.
11666 * gdb.t00/radix.exp: New tests for radix commands.
11667
11668Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
11669
11670 * gdb.t16/printcmd.exp: Print a variable before running program
11671 (with xfail for AIX).
11672
11673Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
11674
11675 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
11676
11677 * gdb.t16/printcmd.exp: Don't print variables before running program.
11678
11679 * gdb.t06/break.exp: Don't require envp argument to main.
11680
11681 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
11682
11683 * gdb.t02/whatis.exp, gdb.t11/list.exp:
11684 Add xfails for rs6000.
11685
11686 * gdb.t02/whatis.exp: Change other tests not to re-test something
11687 we already tested.
11688
11689 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
11690 each type used has a variable of that type.
11691
11692Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
11693
11694 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
11695
11696Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
11697
11698 * configure.in: change srctrigger to be a file, not a directory
11699
11700Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
11701
11702 * configure.in (mips-idt-ecoff*): Added trailing '*'.
11703
11704 * gdb.t11/list.exp: Fixed a couple of typos.
11705
11706Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
11707
11708 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
11709 is fixed and PR is closed.
11710 * gdb.t16 (gdbme.c): Add simple test string variable.
11711 * gdb.t16 (printcmds.exp): Add tests with simple test string
11712 variable, primarily for boundaries on "set print elements".
11713
11714Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
11715
11716 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
11717 Make leading 0's optional and don't expect a tab in the middle
11718 of the number.
11719
11720 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
11721
11722 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
11723 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
11724 don't end command passed to gdb_test with newline.
11725
11726 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
11727 signed keyword away, don't expect signed bitfields to be signed.
11728
11729 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
11730 printing with only as many 1's as are in the field as well as printing
11731 with 32 1's (see comment).
11732
11733Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
11734
11735 * gdb.t00/default.exp: Start with a fresh gdb.
11736 * configure.in (configdirs): Remove gdb.t31 until the chill
11737 compiler works again. It no longer is able to find chillrt0
11738 since it isn't in libchill.a anymore.
11739 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
11740 wierd.o, make more modular.
11741 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
11742 spurious newlines that caused problems.
11743
11744Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11745
11746 * Move test with enums and partial symbols from gdb.t03/ptype.exp
11747 to gdb.stabs/wierd.exp since GCC has worked around the bug.
11748 gdb.stabs/wierd.{exp,def}: Many new tests.
11749
11750 * gdb.t00/default.exp: update info line for new message.
11751
11752 * gdb.t02/{whatis.exp,gdbme.c}:
11753 Test that "char *" doesn't print as "caddr_t".
11754
11755Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11756
11757 * gdb.t00/help.exp: Use .* in place of some help messages which
11758 just changed.
11759 gdb.t00/default.exp: Update "info frame" test for new message.
11760 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
11761 Remove some xfails
11762
11763Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11764
11765 * gdb.t03/{gdbme.c,ptype.exp}:
11766 Add tests for typedef'd struct and union without tags.
11767 Also check "whatis" on a variable of a typedef'd enum without a tag.
11768
11769 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
11770 PRMS 1823; the bug still exists but isn't reproduced by this test
11771 anymore), and remove rs6000 XFAIL (the bug is fixed).
11772
11773 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
11774 duplicated from whatis.exp. For those that are left, accept
11775 "long", "long int", or "int" for long variables (whatis.exp already
11776 has an XFAIL for "int", so no need to fail it here).
11777
11778 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
11779 Deal with GCC's names for types now that GDB uses the compiler's names.
11780
11781 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
11782 setup_xfail's for sunos4. If we #defined the signed keyword away,
11783 don't expect GDB to know that char it is signed.
11784
11785 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
11786
11787Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
11788
11789 * configure.in (configdirs): Add gdb.t24 for C++ tests that
11790 should work on any system, regardless of debugging format.
11791 * gdb.t21/demangle.exp: Move to gdb.t24.
11792 * gdb.t24/demangle.exp: Move from gdb.t21.
11793 * gdb.t24/{Makefile.in, configure.in}: New files.
11794
11795Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11796
11797 * configure.in: Do gdb.stabs and C++ tests only for stabs.
11798 * gdb.stabs: New directory.
11799
11800Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11801
11802 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
11803 not just "Quit anyway?".
11804
11805Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
11806
11807 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
11808 that all setup_xfails are immediately followed by clear_xfails.
11809
11810Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
11811
11812 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
11813 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
11814 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
11815 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
11816 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
11817 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
11818 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
11819 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
11820 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
11821 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
11822 gdb.t31/chillvars.exp, lib/gdb.exp:
11823 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
11824 bug-gdb@prep.ai.mit.edu.
11825
11826Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
11827
11828 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
11829 with 0.0, not integer 0.
11830
11831Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
11832
11833 * gdb.t06/break.exp: Update for "Kill the program" message change.
11834
11835Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
11836
11837 * Makefile.in (GDBFLAGS): Set to -nx.
11838 * Makefile.in (site.exp): Use GDBFLAGS.
11839
11840Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
11841
11842 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
11843 Makefiles.
11844 (check): depend on just-check.
11845 (just-check): added so that tests can be run without a noop
11846 build pass.
11847
11848Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
11849
11850 Switch to using configure's configdirs.
11851 * Makefile.in (Makefile): add configure.in dependency.
11852 (SUBDIRS): removed redundant assignment.
11853 * configure.in: switch subdirs assignment to configdirs.
11854 * gdb.t*/configure.in: new files.
11855
11856Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
11857
11858 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
11859 works.
11860
11861Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
11862
11863 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
11864 in explicit rules. Apparently this is not supported by some makes.
11865
11866Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
11867
11868 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
11869
11870Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11871
11872 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
11873 disappeared.
11874
11875Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
11876
11877 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
11878
11879Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
11880
11881 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
11882 watchpoint problem that is now fixed.
11883 * gdb.t30/chexp.exp: Remove setup_xfail for printing
11884 uninitialized convenience variables.
11885 * gdb.t31/chillvars.exp: Fix expected patterns for printing
11886 structures.
11887
11888Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11889
11890 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
11891 which causes expect to get out of sync with gdb on long output
11892 from help set.
11893 * gdb.t09/corefile.exp: Make expected pattern for core file
11894 failing signal and frame output format less sun specific.
11895
11896Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
11897
11898 * gdb.t31/chillvars.exp: Add and remove initial dummy
11899 breakpoint, so that symbol table is forced in.
11900 (Needed at least on Sunos4, though it seems not SVR4.)
11901 * gdb.t31/chillvars.exp: Update for changed output format.
11902
11903Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
11904
11905 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
11906
11907Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
11908
11909 * Makefile.in: Added --srcdir when invoking runtest, removed the
11910 need for a local config file. (optional now)
11911
11912Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
11913
11914 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
11915 failure count used to force early termination. Add some more
11916 expected failures for gnu style demangling.
11917
11918Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11919
11920 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
11921 pmi variable from gdb.t20/gdbme to get optimized away.
11922 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
11923 Check for written corefile upon timeout _and_ eof.
11924
11925Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11926
11927 * config/unix-gdb.exp: Add missing return 0.
11928
11929Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11930
11931 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
11932 test termination.
11933
11934Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
11935
11936 * configure.in (subdirs): Put back gdb.t17 which mysteriously
11937 disappeared.
11938
11939Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
11940
11941 * gdb.t10/crossload.exp: Disable the i860-elf test until such
11942 time as i860 support works.
11943
d63a86f8 11944 * gdb.t15/funcargs.exp: Fix expected outputs to include
c906108c
SS
11945 "backtrace 100\r" rather than just "backtrace\r", to match last
11946 change.
11947
11948Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
11949
11950 * config/udi-gdb.exp (gdb_exit): Remove close command.
11951 (gdb_target_udi): New procedure to set the UDI target.
11952 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
11953 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
11954 Added waits for prompts after several question responses. Added
11955 some more responses used by a29k-amd-udi-gdb.
11956 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
11957 pass different arguments, restart UDI connection after program
11958 completion.
11959 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
11960 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
11961 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
11962 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
11963 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
11964 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
11965 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
11966 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
11967 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
11968 after program completion.
11969 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
11970 compiled with a SELECT_VECS setting.
11971 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
11972 infinite recursion.
11973
11974 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
11975 Added checks for COFF results, and made them expected failures for
11976 all targets. It would be better to make them expected failures
11977 for COFF targets only.
11978
11979Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
11980
11981 * Makefile.in: add null dvi target, don't bother to recurse
11982 through test directories for info and install-info; rename
11983 $(datadir) to be dejagnu instead of deja-gnu
11984
11985Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
11986
11987 * gdb.t31/gdbme.ch: Re-enable code that previously caused
11988 compiler to coredump.
11989 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
11990 code.
11991
11992Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
11993
11994 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
11995 coredump.
11996 * gdb.t31/chillvars.exp: Comment out tests that depend on that
11997 code.
11998
11999Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
12000
12001 * gdb.t03/ptype.exp: tests for return code from gdb_test.
12002 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
12003 which in a shell. Deletes xgdb when done.
12004 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
12005 Tests the return from the "set height" or "set width" commands.
12006 Added a few return codes where needed.
12007
12008Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
12009
12010 * Makefile.in (SUBDIRS): Add gdb.t17.
12011 * configure.in (subdirs): Add gdb.t17.
12012 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
12013 files to test gdb's calling of functions in the inferior with
12014 the correct arguments and gdb's ability to retrieve any
12015 result returned.
12016
12017Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
12018
12019 * config/unix-gdb.exp (gdb_exit): Remove close commands that
12020 may be called after gdb goes away. Previous versions of expect
12021 needed these to avoid file descriptor leaks, but they cause
12022 errors with the current revision of expect.
12023 * gdb.t00/gdbvars.exp: Use -re on expected output after
12024 setting sevenbit-strings.
12025 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
12026 to set sevenbit-strings consistent across tests.
12027 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
12028 set sevenbit-strings consistent across tests.
12029
12030Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
12031
12032 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
12033 expected output to match current "expect" expectations.
12034
12035Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
12036
12037 * gdb.t00/default.exp: Change expected output for default "source"
12038 command, to match new gdb behavior which requires a filename to
12039 source.
12040
12041Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
12042
12043 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
12044 expected fail for i486-*-* that misses the marker2 function.
12045 * gdb.t10/crossload.exp (bfddefault): Allow successful
12046 recognition of a format to pass even if no symbols are found.
12047 Explicitly catch failures where the format is not recognized
12048 or is ambiguous, and add the reason to the fail message.
12049 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
12050 the cause is and invalid target and add reason to failure message.
12051 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
12052 elf32-i386, elf32-sparc, and elf32-i860.
12053 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
12054 Set up expected failure for 'filename'::variable scope resolution,
12055 which is now apparently broken on all targets.
12056 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
12057 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
12058 gdb.t23/templates.exp: Change failure for missing binfile into
12059 just a warning.
12060 gdb.t21/demangle.exp: Change all cfront references to 'arm'
12061 references.
12062
12063Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
12064
12065 * gdb.t00/default.exp: Add expected output for default "source"
12066 command, to match new gdb behavior.
12067 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
12068
12069Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
12070
12071 * config/*-gdb.exp: returns an error, rather than exiting on
12072 internal errors.
12073
12074Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
12075
12076 * gdb.t03/gdbme.c: Add pointer to struct variable.
12077 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
12078 referencing struct members.
12079
12080Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
12081
12082 * configure.in (mips-idt-ecoff): New target.
12083 * config/mips-gdb.exp: New file for remote board using MIPS remote
12084 debugging protocol.
12085
12086 * Redid configuration scheme. Removed gdb.t*/configure.in.
12087 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
12088 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
12089 distclean targets. Built executables via .o files. Adjusted
12090 tests to account for source files in $(srcdir) rather than
12091 $(objdir).
12092 * lib/gdb.exp (runto): Don't expect () after the function name,
12093 because it may have arguments.
12094
12095Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
12096
12097 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
12098 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
12099 expected failures for mips-idt-* and mips-sgi-*.
12100 * gdb.t00/default.exp (attach): Kill process if requested.
12101 * gdb.t00/help.exp (help target core, help target): Accept a gdb
12102 that does not read core files.
12103 * gdb.t01/run.exp: Removed checks for exit status code.
12104 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
12105 it is linked in.
12106 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
12107 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
12108 appropriate, rather than doing it by hand.
12109 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
12110 execution.
12111 * gdb.t10/crossload.exp: Kill existing program if needed.
12112 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
12113 appropriate, rather than doing it by hand. Always increase
12114 timeout for this test, not just for VxWorks.
12115
12116Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
12117
12118 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
12119 of Chill STRUCT types and STRUCT values.
12120 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
12121 than "char".
12122 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
d63a86f8 12123 struct2): New struct definitions and initializations to test
c906108c
SS
12124 simple Chill STRUCT types.
12125
12126Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
12127
12128 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
12129 the null byte at the end of strings.
12130 * gdb.t00/default.exp: Make show version insensitive to copyright
12131 date.
12132 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
12133 to avoid dependencies on target char signedness.
12134 * gdb.t16/printcmds.exp: Update expected results for explicitly
12135 unsigned char.
12136 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
12137 now work.
12138 * gdb.t21/demangle.exp: Add many more patterns for template
12139 demangling, most of them being expected failures.
12140 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
12141 string we are matching for, to match on the whole string.
12142 * gdb.t21/demangle.exp: Add many new test strings to demangle,
12143 and fix a whole bunch that had incorrect expected output but were
12144 passing anyway because of the bug in "proc demangle".
12145 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
12146 type.
12147 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
12148
12149Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
12150
12151 * gdb/testsuite: made modifications to testcases, etc., to allow
12152 them to work properly given the reorganization of deja-gnu and the
12153 relocation of the testcases from deja-gnu to a "tool" subdirectory.
12154
12155Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
12156
12157 * gdb/testsuite: Initial creation of gdb/testsuite.
12158 Migrated dejagnu testcases and support files for testing nm to
12159 gdb/testsuite from deja-gnu. These files were moved "as is"
12160 with no modifications. This migration is part of a major overhaul
12161 of dejagnu. The modifications to these testcases, etc., which
12162 will allow them to work with the new version of dejagnu will be
12163 made in a future update.
48efe704
AC
12164
12165For additional changes see gdb.mi/ChangeLog-1999-2003.
c906108c
SS
12166\f
12167Local Variables:
ef043731 12168mode: change-log
c906108c
SS
12169left-margin: 8
12170fill-column: 74
12171version-control: never
12172End:
This page took 1.162127 seconds and 4 git commands to generate.