]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/testsuite/ChangeLog
2004-06-04 Roland McGrath <roland@redhat.com>
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
51d01eda
MC
12004-06-04 Michael Chastain <mec.gnu@mindspring.com>
2
3 * gdb.threads/pthreads.exp: Update copyright years.
4 (check_control_c): Change asynchronous 'after' to synchronous.
5
f4fc3b93
RM
62004-06-04 Roland McGrath <roland@redhat.com>
7
8 * gdb.base/auxv.exp (fetch_auxv): Consume output fully through
9 next gdb prompt.
10
4013522b
MC
112004-06-02 Michael Chastain <mec.gnu@mindspring.com>
12
13 Fix PR gdb/1636.
14 * gdb.threads/manythreads.exp: Change asynchronous 'after'
15 calls to synchronous.
16
7a8f1e6b
JB
172004-05-26 Jim Blandy <jimb@redhat.com>
18
19 * gdb.arch/e500-prologue.exp, gdb.arch/e500-prologue.c: New tests.
20
81bb3443
RC
212004-05-24 Randolph Chung <tausq@debian.org>
22
23 * gdb.asm/asm-source.exp: Enable test for hppa-linux target.
24 * gdb.asm/pa.inc: New file.
25
8f5a3103
MK
262004-05-22 Mark Kettenis <kettenis@gnu.org>
27
28 * gdb.base/signull.c: Use sigjmp_buf instead of jmp_buf.
29
734b8fe8
JB
302004-05-21 Joel Brobecker <brobecker@gnat.com>
31 Daniel Jacobowitz <drow@mvista.com>
32
33 * lib/gdb.exp (gdb_test_multiple): Improve regexp matching the
34 GDB prompt.
35
725603e1
UW
362004-05-20 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
37
f4fc3b93 38 * gdb.base/signull.c: Use sigsetjmp/siglongjmp instead of
725603e1
UW
39 setjmp/longjmp. Use sigaction instead of signal.
40
8b923272
JB
412004-05-19 J. Brobecker <brobecker@gnat.com>
42 Michael Snyder <msnyder@redhat.com>
43
44 * gdb.threads/pthread_cond_wait.c: New file.
45 * gdb.threads/pthread_cond_wait.exp: New testcase.
46
8bfabb04
AC
472004-05-13 Andrew Cagney <cagney@redhat.com>
48
49 * gdb.base/signull.exp, gdb.base/signull.c: New files.
50 * gdb.base/gdb1476.c, gdb.base/gdb1476.exp: Delete files.
51
42edda50
AC
522004-05-11 Andrew Cagney <cagney@redhat.com>
53
54 * gdb.base/sigstep.exp (advancei): Update KFAILs. gdb/1613 is
55 fixed but revealed gdb/1639.
56
d303a6c7
AC
572004-05-10 Andrew Cagney <cagney@redhat.com>
58
59 * gdb.base/signals.exp (signal_tests_1): Simplify "continue to
60 func1" and "next to 2nd alarm", kernel bug avoided.
61
bf08c2a1
DJ
622004-05-10 Daniel Jacobowitz <dan@debian.org>
63
64 PR external/1568
65 * gdb.base/bigcore.exp: Check the size of the dumped core file.
66 XFAIL if it is smaller than bytes_allocated.
67 * gdb.base/bigcore.c (bytes_allocated): Make static and unsigned.
68 (main): Make chunks_allocated unsigned. Correct comment.
69
c0586a34
JB
702004-05-07 Joel Brobecker <brobecker@gnat.com>
71
72 * gdb.arch/powerpc-aix-prologue.c: New file.
73 * gdb.arch/powerpc-aix-prologue.exp: New file.
74
f2785d12
JB
752004-05-07 Jim Blandy <jimb@redhat.com>
76
77 * gdb.base/lineinc.exp, gdb.base/lineinc1.h, gdb.base/lineinc2.h,
78 gdb.base/lineinc3.h, gdb.base/lineinc.c: New tests.
79
bd7f6e30
JB
802004-05-06 Joel Brobecker <brobecker@gnat.com>
81
82 * gdb.base/sep.exp: No longer setup_kfail when the program was
83 built with dwarf2.
84
0a5e7efe
JI
852004-05-05 Jim Ingham <jingham@apple.com>
86
87 * gdb.base/pending.exp: Make sure pending breakpoints
88 preserve the ignore count.
f4fc3b93 89
a8958849
MK
902004-04-27 Jerome Guitton <guitton@gnat.com>
91
92 * i386-prologue.exp: Add testcase for jump instruction as first
93 instruction of the real code.
94 * i386-prologue.c (jump_at_beginning): New function.
95
7e103f5b
MK
962004-04-28 Mark Kettenis <kettenis@gnu.org>
97
98 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1624 on
99 x86_64-*-*.
100
5d38b224
MK
1012004-04-28 Mark Kettenis <kettenis@gnu.org>
102
103 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1623 on
104 i*86-*-*.
105
0ef32fd9
MK
1062004-04-25 Mark Kettenis <kettenis@gnu.org>
107
108 * gdb.base/call-sc.exp (start_scalars_test): Fix regular
109 expression that checks the return type.
110
71d7dd7c
AC
1112004-04-23 Andrew Cagney <cagney@redhat.com>
112
113 * gdb.base/call-sc.exp: New test of scalar call/return values.
114 * gdb.base/call-sc.c: Ditto.
115
1e9f977e
JJ
1162004-04-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
117
118 * gdb.threads/manythreads.c: Reduce thread stack size.
119
899d9e3a
JJ
1202004-04-23 Jeff Johnston <jjohnstn@redhat.com>
121
122 * gdb.threads/manythreads.c: Add copyright notice.
123
61bcae62
AC
1242004-04-23 Andrew Cagney <cagney@redhat.com>
125
126 * gdb.base/siginfo.exp: Better handle step out of signal.
127 * gdb.base/sigstep.exp: Ditto.
128
7339a42e
JJ
1292004-04-22 Jeff Johnston <jjohnstn@redhat.com>
130 Daniel Jacobowitz <drow@mvista.com>
131
132 * gdb.threads/manythreads.c: New testcase.
133 * gdb.threads/manythreads.exp: Ditto.
134
5c98409b
JB
1352004-04-22 Jim Blandy <jimb@redhat.com>
136
137 * gdb.stabs/exclfwd.exp, gdb.stabs/exclfwd1.c,
138 gdb.stabs/exclfwd2.c, gdb.stabs/exclfwd.h: New test.
139
3b611f1a
MC
1402004-04-21 Michael Chastain <mec.gnu@mindspring.com>
141
142 * gdb.stabs/weird.exp: Accept full pathname for $binfile.
143
f0fd9238
AC
1442004-04-21 Andrew Cagney <cagney@redhat.com>
145
146 * gdb.base/sigstep.c: New file.
147 * gdb.base/sigstep.exp: New file.
148
90990674
JB
1492004-04-16 Joel Brobecker <brobecker@gnat.com>
150
151 * gdb.gdb/observer.exp (test_normal_stop_notifications): Update
152 call to observer_notify_normal_stop.
153
78cef34b
AC
1542004-04-15 Andrew Cagney <cagney@redhat.com>
155
156 * gdb.base/siginfo.c: New file.
157 * gdb.base/siginfo.exp: New file.
158
d2343407
JB
1592004-04-12 J. Brobecker <brobecker@gnat.com>
160
161 * gdb.base/sep.exp: Fix typo in comment.
162
a2dba3c8
JB
1632004-04-12 J. Brobecker <brobecker@gnat.com>
164
165 * gdb.base/sep.c: New file.
166 * gdb.base/sep-proc.c: New file.
167 * gdb.base/sep.exp: New testcase.
168
15f7b60e
MK
1692004-04-09 Mark Kettenis <kettenis@gnu.org>
170
171 * gdb.base/bigcore.exp: Disable on Solaris; no sparse core file
172 support.
173
44f4de1a
AC
1742004-04-05 Andrew Cagney <cagney@redhat.com>
175
176 * gdb.base/sigaltstack.c: New file.
177 * gdb.base/sigaltstack.exp: New file.
178
ef04f396
JB
1792004-04-04 Joel Brobecker <brobecker@gnat.com>
180
181 * gdb.base/foll-fork.exp: Update the expected output for
182 "help set follow-fork-mode", to match a change that was made
183 to the help of this variable on 2004-01-13.
184
d40d2c92
JB
1852004-04-01 Joel Brobecker <brobecker@gnat.com>
186
187 * lib/ada.exp: Add copyright notice.
188 * bar.ads: Likewise.
189 * bar.adb: Likewise.
190 * null_record.adb: Likewise.
191 * null_record.exp: Likewise.
192 * gnat_ada.gpr.in: Likewise. Fix typo in a comment, clarify another.
193
f86ef5a3
JB
1942004-04-01 Joel Brobecker <brobecker@gnat.com>
195
196 * configure.in: Generate gdb.ada/Makefile and gdb.ada/gnat_ada.gpr.
197 * configure: Regenerate.
198
414e70e3
JB
1992004-04-01 Joel Brobecker <brobecker@gnat.com>
200
201 * lib/ada.exp (gdb_compile_ada): Emit UNSUPPORTED if we failed
202 to build the application. Remove the message printed when in
203 verbose mode, redundant with the UNSUPPORTED message above.
204
f0aaee49
JB
2052004-03-31 Joel Brobecker <brobecker@gnat.com>
206
207 * gdb.ada (bar.ads, bar.adb, null_record.adb): New files.
208 * gdb.ada (null_record.exp): New testcase.
209
ac81cb54
JB
2102004-03-31 Joel Brobecker <brobecker@gnat.com>
211
212 * Makefile.in (ALL_SUBDIRS) Add gdb.ada.
213
854af2f7
JB
2142004-03-31 Joel Brobecker <brobecker@gnat.com>
215
216 * gdb.ada: New subdirectory.
217 * gdb.ada/Makefile.in: New file.
218 * gdb.ada/gnat_ada.gpr.in: New file.
219
034cb681
JB
2202004-03-31 Joel Brobecker <brobecker@gnat.com>
221
222 * lib/ada.exp: New file.
223
78a1a894
DJ
2242004-03-24 Daniel Jacobowitz <drow@mvista.com>
225
226 * gdb.base/gdb1250.exp: Use runto {allow-pending}.
227 * lib/gdb.exp (runto, gdb_breakpoint): Support {allow-pending}.
228
4b2b3b3e
AC
2292004-03-22 Andrew Cagney <cagney@redhat.com>
230
231 * gdb.base/watchpoint.exp (test_stepping): Delete bogus XFAILs
232 hiding problems with DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET.
233 Problem identified by Ulrich Weigand.
234
23c73aa3
DC
2352004-03-17 David Carlton <carlton@kealia.com>
236
237 * gdb.cp/classes.exp (test_enums): Refer to PR c++/1588 instead of
238 PR c++/826.
239
d63a86f8
RM
2402004-03-16 Roland McGrath <roland@redhat.com>
241
242 * gdb.base/auxv.exp: New file.
243 * gdb.base/auxv.c: New file, copied verbatim from coremaker2.c.
244
0e02aa50
DC
2452004-03-12 David Carlton <carlton@kealia.com>
246
247 * gdb.cp/pr-1553.exp: New. Tests for PR c++/1553.
248 * gdb.cp/pr-1553.cc: Ditto.
249 * gdb.cp/local.exp (ptype NestedInnerLocal): Add comment, third
250 pass branch.
251
c20b71be
MC
2522004-03-12 Michael Chastain <mec.gnu@mindspring.com>
253
254 * gdb.cp/templates.exp: Accept more template types.
255
c7414a01
MC
2562004-03-09 Michael Chastain <mec.gnu@mindspring.com>
257
258 From Corinna Vinschen with modifications.
259 * gdb.cp/classes.cc (enums1): Add a line to extend scope of
260 local variable obj_with_enum.
261 * gdb.cp/classes.exp (test_enums): Remove TODO note about FAIL
262 results with obj_with_enum.
263
ed69573c
MC
2642004-03-09 Michael Chastain <mec.gnu@mindspring.com>
265
266 * gdb.cp/classes.cc: New file, copied from misc.cc.
267 * gdb.cp/classes.exp: Use classes.cc rather than misc.cc.
268
28301461
MC
2692004-03-09 Michael Chastain <mec.gnu@mindspring.com>
270
271 * gdb.cp/misc.cc: Add copyright notice.
272
1198ecbe
DC
2732004-03-05 David Carlton <carlton@kealia.com>
274
275 * gdb.cp/rtti.exp: Add 'print *obj3' test.
276 * gdb.cp/rtti.h: Update copyright.
277 (namespace n2::n3): New.
278 * gdb.cp/rtti1.cc: (refer_to (n2::n3::C3 *)): New.
279 (n2::n3::func3): New.
280 (main): Call n2::n3::func3.
281 * gdb.cp/rtti2.cc: Update copyright.
282 (n2::create3): New.
283
9e08c470
MK
2842004-03-04 Mark Kettenis <kettenis@gnu.org>
285
286 * gdb.asm/openbsd.inc: Fix typo.
287
4bebc3aa
FF
2882004-03-03 Fred Fish <fnf@redhat.com>
289
290 * gdb.base/pc-fp.exp (get_valueofx): Fix apparent typo to now set
291 "val" instead of unused "size". Update copyright year.
292
6ea9fb37
DJ
2932004-02-29 Daniel Jacobowitz <drow@mvista.com>
294
295 * gdb.cp/ctti.exp: Handle unsigned char type. Expect templates
296 to use unsigned char.
297 * gdb.cp/cttiadd.c, gdb.cp/cttiadd1.c, gdb.cp/cttiadd2.c,
298 gdb.cp/cttiadd3.c: Change type of variable to unsigned char.
299
23b23974
DJ
3002004-02-29 Daniel Jacobowitz <drow@mvista.com>
301
302 * config/gdbserver.exp (gdbserver_gdb_load): Wait for a complete
303 line of output.
304
7574fd53
DJ
3052004-02-28 Daniel Jacobowitz <drow@mvista.com>
306
307 * gdb.base/relocate.c (dummy): Initialize.
308
a195357f
DJ
3092004-02-28 Daniel Jacobowitz <drow@mvista.com>
310
311 * gdb.base/chng-syms.exp: Anchor exit pattern. Allow
312 a breakpoint at exit.
313
72fd54a9
FF
3142004-02-27 Fred Fish <fnf@redhat.com>
315
316 * gdb.base/chng-syms.exp: Add expect condition to match failing
317 case that isn't a timeout.
318
b9d23137
AC
3192004-02-27 Andrew Cagney <cagney@redhat.com>
320
321 * gdb.base/bigcore.exp: Disable on HP/UX, no sparse corefile
322 support.
323
15d208f6 3242004-02-26 Fred Fish <fnf@redhat.com>
d63a86f8 325
15d208f6
FF
326 * gdb.arch/gdb1431.c: Remove.
327 * gdb.arch/gdb1431.s: New file, copy of gdb1291.s
328 * gdb.arch/gdb1431.exp: Use "advance" correctly instead
329 of "until" incorrectly.
330
98f9cd2d
JB
3312004-02-26 J. Brobecker <brobecker@gnat.com>
332
333 * gdb.cp/class2.cc (empty): New class.
334 (refer): New function.
335 (main): Declare an object of type empty and use it.
336 * gdb.cp/class2.exp: Print the value of an object of type empty.
337
9b50c11b
JJ
3382004-02-26 Jeff Johnston <jjohnstn@redhat.com>
339
340 * gdb.base/langs.exp: Update query string to match the
341 new nquery format used for pending breakpoints.
342
0dcd613f
AC
3432004-02-26 Andrew Cagney <cagney@redhat.com>
344
345 Fix PR i18n/1570.
346 * gdb.base/charset.c: Update copyright notice.
347 (main, init_string): Remove the escape character '\e' tests.
348 * gdb.base/printcmds.exp (test_print_all_chars): Ditto.
349 * gdb.base/charset.exp (valid_host_charset): Ditto.
350 * gdb.base/setvar.exp: Ditto.
351
b8a56647
AC
3522004-02-24 Andrew Cagney <cagney@redhat.com>
353
90d59e34
AC
354 * gdb.base/corefile.exp: Use gdb_test_multiple, make "accessing
355 mmapped data in core file" PASS and FAIL messages consistent.
356
b8a56647
AC
357 * gdb.java/jmisc.exp: Use the fully quallified name of "main" when
358 setting a breakpoint. Work around PR java/1565.
359
9f27c604
JJ
3602004-02-23 Jeff Johnston <jjohnstn@redhat.com>
361
362 * lib/gdb.exp (gdb_breakpoint): Update query string to match
363 new nquery format.
364 * gdb.base/pending.exp: Ditto.
365
3224a706
MK
3662004-02-22 Mark Kettenis <kettenis@gnu.org>
367
368 * configure.in: Run stabs tests on *BSD.
369 * configure: Regenerated.
370
41e0a9ca
MK
3712004-02-21 Mark Kettenis <kettenis@gnu.org>
372
373 * gdb.base/bigcore.exp: Bail out on *BSD instead of only NetBSD.
374
1e1b3428
FF
3752004-02-20 Fred Fish <fnf@redhat.com>
376
377 * gdb.base/callfuncs.exp (do_function_calls): Remove extraneous
378 blank in test for "returns short", for consistency with other
379 "returns xxx" tests. Update copyright year.
380
f9a7572a
FF
3812004-02-19 Fred Fish <fnf@redhat.com>
382
383 New testcase for PR breakpoint/1558.
384 * gdb.arch/gdb1558.exp: New file.
385 * gdb.arch/gdb1558.c: New file.
386
b2ce2854
EZ
3872004-02-19 Elena Zannoni <ezannoni@redhat.com>
388
389 * gdb.base/nodebug.exp: Fix typo.
390
e7c9ff01
JB
3912004-02-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
392
393 Committed by Jim Blandy <jimb@redhat.com>.
394
62f4b920
JB
395 * gdb.objc/basicclass.exp: Adapt to fixed return type of printHi.
396
2db536a1
JB
397 * gdb.base/dump.exp: Handle negative offsets in decimal, not hex.
398
e7c9ff01
JB
399 * gdb.base/float.exp: Support s390*-*-* targets.
400
f3205b34
AF
4012004-02-17 Adam Fedor <fedor@gnu.org>
402
403 * gdb.base/gdb1555.exp: New file.
404 * gdb.base/gdb1555-main.c, gdb.base/gdb1555.c: New files.
405
9d62932d
EZ
4062004-02-17 Elena Zannoni <ezannoni@redhat.com>
407
408 * gdb.base/selftest.exp (do_steps_and_nexts): Add comment.
409
344c9711
FF
4102004-02-16 Fred Fish <fnf@redhat.com>
411
412 * gdb.arch/gdb1291.c: Remove
413 * gdb.arch/gdb1291.s: New test input file.
414 * gdb.arch/gdb1291.exp: Expand test to check case that should not
415 fail. Test for correct result, known incorrect result, other
416 failures and timeouts.
417
2d822687
AC
4182004-02-16 Andrew Cagney <cagney@redhat.com>
419
420 * gdb.base/bigcore.exp: New file.
421 * gdb.base/bigcore.c: New file.
422
dac15b66
AC
4232004-02-13 Andrew Cagney <cagney@redhat.com>
424
425 * gdb.mi/mi1-basics.exp, gdb.mi/mi1-break.exp: Delete file.
426 * gdb.mi/mi1-console.exp, gdb.mi/mi1-disassemble.exp: Delete file.
427 * gdb.mi/mi1-eval.exp, gdb.mi/mi1-hack-cli.exp: Delete file.
428 * gdb.mi/mi1-pthreads.exp, gdb.mi/mi1-read-memory.exp: Delete file.
429 * gdb.mi/mi1-regs.exp, gdb.mi/mi1-return.exp: Delete file.
430 * gdb.mi/mi1-simplerun.exp, gdb.mi/mi1-stack.exp: Delete file.
431 * gdb.mi/mi1-stepi.exp, gdb.mi/mi1-symbol.exp: Delete file.
432 * gdb.mi/mi1-until.exp, gdb.mi/mi1-var-block.exp: Delete file.
433 * gdb.mi/mi1-var-child.exp, gdb.mi/mi1-var-cmd.exp: Delete file.
434 * gdb.mi/mi1-var-display.exp, gdb.mi/mi1-watch.exp: Delete file.
435
6bdfc2c4
JJ
4362004-02-11 Jeff Johnston <jjohnstn@redhat.com>
437
438 * gdb.asm/ia64.inc (gdbasm_startup): Make sure first instruction
439 executed is an alloc instruction.
440
87b3ede8
DC
4412004-02-11 David Carlton <carlton@kealia.com>
442
443 * gdb.cp/breakpoint.exp: New.
444 * gdb.cp/breakpoint.cc: New.
445
6e19e2bf
MC
4462004-02-11 Michael Chastain <mec.gnu@mindspring.com>
447
448 Partial fix for PR gdb/1543.
449 * gdb.cp/ambiguous.exp, gdb.cp/annota2.exp, gdb.cp/annota3.exp,
450 gdb.cp/anon-union.exp, gdb.cp/casts.exp, gdb.cp/classes.exp,
451 gdb.cp/cplusfuncs.exp, gdb.cp/ctti.exp, gdb.exp/demangle.exp,
452 gdb.cp/derivation.exp, gdb.cp/exception.exp, gdb.cp/hang.exp,
453 gdb.cp/inherit.exp, gdb.cp/local.exp, gdb.cp/maint.exp,
454 gdb.cp/member-ptr.exp, gdb.cp/method.exp, gdb.cp/misc.exp,
455 gdb.cp/namespace.exp, gdb.cp/overload.exp, gdb.cp/ovldbreak.exp,
456 gdb.cp/psmang.exp, gdb.cp/ref-types.exp, gdb.cp/templates.exp,
457 gdb.cp/userdef.exp, gdb.cp/virtfunc.exp: Remove reference
458 to bug-gdb@prep.ai.mit.edu .
459 * gdb.cp/bs15503.cc, gdb.cp/class2.cc, gdb.cp/cttiadd.cc,
460 gdb.cp/cttiadd1.cc, gdb.cp/cttiadd2.cc, gdb.cp/cttiadd3.cc,
461 gdb.cp/exception.cc, gdb.cp/member-ptr.cc, gdb.cp/namespace1.cc:
462 Likewise.
463
5c5455dc
AC
4642004-02-10 Andrew Cagney <cagney@redhat.com>
465
466 * lib/gdb.exp (gdb_expect_list): Recover from internal-errors
467 using gdb_internal_error_resync.
468
9cf689d7
DJ
4692004-02-09 Daniel Jacobowitz <drow@mvista.com>
470
471 * gdb.threads/thread-specific.exp: Stop early if no threads are
472 found.
473
d2dc51db
MC
4742004-02-09 Michael Chastain <mec.gnu@mindspring.com>
475
476 * gdb.base/pending.exp: Remove extra \n from gdb_test calls.
477
14b1a056
DJ
4782004-02-08 Daniel Jacobowitz <drow@mvista.com>
479
480 * lib/gdb.exp (gdb_breakpoint): Fail on unexpected pending
481 breakpoints.
482
83f66e8f
DJ
4832004-02-07 Daniel Jacobowitz <drow@mvista.com>
484
485 * config/sim.exp (gdb_load): Handle $arg == "".
486 * lib/gdb.exp (gdb_run_cmd): Honor gdb,do_reload_on_run.
487 * gdb.objc/basicclass.exp: Use gdb_run_cmd.
488
30fc0091
EZ
4892004-02-07 Elena Zannoni <ezannoni@redhat.com>
490
491 * gdb.base/maint.exp: Update test to reflect
492 obstack changes.
493
4d806929
JJ
4942004-02-04 Jeff Johnston <jjohnstn@redhat.com>
495
496 * gdb.base/pendshr.c (pendfunc): New function that calls
497 pendfunc1.
498 * gdb.base/pending.c: Call pendfunc instead of pendfunc1.
499
7bfdd688
FF
5002004-02-04 Fred Fish <fnf@redhat.com>
501
502 * gdb.arch/gdb1431.c: Add underbar prefixed version of global
503 function symbols and update copyright years.
504 * gdb.arch/gdb1291.c: Ditto.
505
aaa08ee4
MC
5062004-02-03 Michael Chastain <mec.gnu@mindspring.com>
507
508 * gdb.cp/virtfunc.exp: Accept both "ctor()" and "ctor(void)".
509
dbad7755
MC
5102004-02-03 Michael Chastain <mec.gnu@mindspring.com>
511
512 * gdb.cp/inherit.exp: Accept both "ctor()" and "ctor(void)".
513
ec4646ef
MC
5142004-02-03 Michael Chastain <mec.gnu@mindspring.com>
515
516 * gdb.cp/inherit.exp: Accept output with gcc 3.2-7-rh.
517
1b802196
FF
5182004-02-02 Fred Fish <fnf@redhat.com>
519
520 * gdb.base/bang.exp: Use gdb_run_cmd so this tests works with
521 remote targets. Update copyright years.
522
18fe2033
JJ
5232004-02-02 Jeff Johnston <jjohnstn@redhat.com>
524
525 * lib/gdb.exp (gdb_breakpoint): Add pending breakpoint
526 support.
527 * gdb.base/langs.exp: Fix test which attempts to create
528 breakpoint on non-existent function to handle new pending
529 support.
530 * gdb.base/shlib-call.exp: Use gdb_breakpoint to set
531 a breakpoint.
532 * gdb.base/pending.exp: New test.
533 * gdb.base/pending.c: New file.
534 * gdb.base/pendshr.c: Ditto.
535
8d577d32
DC
5362004-02-02 David Carlton <carlton@kealia.com>
537
538 * gdb.cp/overload.exp: Add overloadNamespace tests.
539 * gdb.cp/overload.cc (dummyClass, dummyInstance): New.
540 (overloadNamespace, XXX): New.
541 (main): Call XXX::marker2.
542
3ad13771
FF
5432004-02-01 Fred Fish <fnf@redhat.com>
544
545 * gdb.base/dump.exp: Use runto_main instead of "runto main".
546 * gdb.base/finish.exp: Ditto.
547 * gdb.base/gcore.exp: Ditto.
548 * gdb.base/huge.exp: Ditto.
549 * gdb.base/info-proc.exp: Ditto.
550 * gdb.base/return2.exp: Ditto.
551 * gdb.threads/gcore-thread.exp: Ditto.
552
44c75849
DJ
5532004-02-01 Daniel Jacobowitz <drow@mvista.com>
554
555 * gdb.threads/thread-specific.exp: Add missing anchor to regexp.
556
005bc093
MK
5572004-02-01 Mark Kettenis <kettenis@gnu.org>
558
559 * gdb.base/fileio.c (test_open): Replace O_RDONLY with O_RDWR such
560 that opening the file succeeds on OpenBSD.
561
c47cebdb
DJ
5622004-02-01 Daniel Jacobowitz <drow@mvista.com>
563
564 * gdb.threads/thread-specific.c: New file.
565 * gdb.threads/threads-specific.exp: New test script.
566 * lib/gdb.exp (gdb_test_multiple): Allow user patterns access
567 to expect_out.
568
5a01311c
MK
5692004-02-01 Mark Kettenis <kettenis@gnu.org>
570
571 * gdb.base/call-ar-st.exp: Call get_debug_format. Remove xfail on
572 sparc*-*-solaris* into a kfail PR gdb/1539 on sparc-*-* for stabs
573 only on the "print_small_structs from print_long_arg_list" test.
574
ce22a4f1
DJ
5752004-02-01 Daniel Jacobowitz <drow@mvista.com>
576
577 * gdb.base/completion.exp: Kill a stray backslash.
578
579 From Jim Ingham <jingham@apple.com>:
580 * gdb.base/completion.exp: Test that "complete file ./gdb.base/compl"
581 agrees with the result from sending a tab.
582
abbab9d3
DJ
5832004-01-31 Daniel Jacobowitz <drow@mvista.com>
584
585 * gdb.base/chng-syms.exp: Remove stray newline.
586
53904d1e
MK
5872004-01-31 Mark Kettenis <kettenis@gnu.org>
588
589 * gdb.asm/asm-source.exp: Set asm-note to "openbsd" for
590 *-*-openbsd*.
591 * gdb.asm/openbsd.inc: New file.
592
3a4b3aac
MK
5932004-01-30 Mark Kettenis <kettenis@gnu.org>
594
595 * gdb.asm/asm-source.exp: Strip -Wl, from link-flags. Don't
596 append -static to link-flags for *-*-freebsd*, *-*netbsd* and
597 *-*solaris2*. Remove commented out default settings for
598 asm-flags. Replace gdb_compile with target_link.
599
ebac27b4
MC
6002004-01-29 Michael Chastain <mec.gnu@mindspring.com>
601
602 * gdb.cp/inherit.exp: Rewrite. Use gdb_test_multiple and gdb
603 for all tests. Remove old hp-ux and cygnus xfail cases.
604
d8679d84
PH
6052004-01-29 Paul N. Hilfinger <Hilfinger@gnat.com>
606
607 * gdb.base/chng-syms.exp: New file.
608 * gdb.base/chng-syms.c: New file.
609
0a55bc22
MC
6102004-01-24 Michael Chastain <mec.gnu@mindspring.com>
611
612 * gdb.cp/local.exp: Rewrite "ptype Local". Add "ptype l".
613 Provide arms for current output in all my configurations.
614
94b8e876
MC
6152004-01-24 Michael Chastain <mec.gnu@mindspring.com>
616
617 * lib/compiler.c: Add hp_cc_compiler and hp_aCC_compiler.
618 * lib/compiler.cc: Likewise.
619 * lib/gdb.exp (get_compiler_info): Always call gdb_compile to
620 get the right preprocessor. Eval the output directly. Remove
621 special tests for hp_cc_compiler and hp_aCC_compiler. Remove
622 hp_f77_compiler and hp_f90_compiler completely.
623 (gdb_preprocess): Delete.
624 (get_compiler): Delete.
625
7cf03d44
MK
6262004-01-24 Mark Kettenis <kettenis@gnu.org>
627
628 * gdb.base/charset.c, gdb.base/dump.c, gdb.base/huge.c: Include
629 <string.h>.
630
68b6dce9
NR
6312004-01-24 Nick Roberts <nick@nick.uklinux.net>
632
633 * gdb.mi/mi-stack.exp: Update copyright.
634
b368761e
DC
6352004-01-23 David Carlton <carlton@kealia.com>
636
637 * gdb.cp/rtti.exp: Don't include full path in ${srcfile}. Add
638 test for cp_lookup_transparent_type.
639 * gdb.cp/rtti1.cc: Update copyright. Add n2::func and refer_to;
640 call them.
641
f2061b53
DJ
6422004-01-23 Daniel Jacobowitz <drow@mvista.com>
643
644 * gdb.mi/mi-var-child.exp: Update copyright year. Move new test
645 after -var-update.
646
37fc574a
DC
6472004-01-23 David Carlton <carlton@kealia.com>
648
649 * gdb.cp/namespace.cc (C::ensureRefs): New.
650 * gdb.cp/namespace1.cc (C::ensureOtherRefs): New.
651
8e94b928
NR
6522004-01-20 Nick Roberts <nick@nick.uklinux.net>
653
654 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Test for
655 case "-stack-list-locals 2".
656 * gdb.mi/mi-var-child.exp: Test for case
657 "-var-list-children --all-values NAME".
658
997b0952
MC
6592004-01-18 Michael Chastain <mec.gnu@mindspring.com>
660
661 * gdb.cp/local.exp: Accept correct output for gcc v3 -gstabs+.
662
52470da3
MK
6632004-01-18 Mark Kettenis <kettenis@gnu.org>
664
7049b4b8
MK
665 * gdb.base/fileio.exp: Add "$gdb_prompt $" anchors to patterns
666 used with gdb_test_multiple.
667
52470da3
MK
668 * gdb.base/gdb1476.exp: Accept alternat pattern for failed memory
669 read at address 0. This fixes PR testsuite/1504.
670
da6012e5
DJ
6712004-01-18 Daniel Jacobowitz <drow@mvista.com>
672
673 * config/gdbserver.exp (gdbserver_gdb_load): Rename from gdb_load.
674 Remove downloading, guessing the host executable, the calls to
675 gdb_file_cmd and gdb_target_cmd, and "load" support.
676 (infer_host_exec): New function broken out from gdb_load.
677 (gdb_load): New wrapper for gdbserver_gdb_load.
678 * lib/mi-support.exp (mi_gdb_target_cmd): New function, based on
679 gdb_target_cmd. Use -target-select.
680 (mi_gdb_file_cmd): New function, broken out from mi_gdb_load.
681 Download binaries to the host. Clear last_mi_remote_file when
682 we load a new binary.
683 (mi_gdb_load): Call mi_gdb_file_cmd. If gdbserver.exp is loaded,
684 call gdbserver_gdb_load and mi_gdb_target_cmd.
685
32c70722
MC
6862004-01-17 Michael Chastain <mec.gnu@mindspring.com>
687
688 * gdb.cp/templates.exp: Accept more spaces with "<foo, ?bar>"
689 type patterns.
690
b0cecf36
MC
6912004-01-17 Michael Chastain <mec.gnu@mindspring.com>
692
693 * gdb.cp/templates.exp: Fix typo in test name of
694 "print Foo<volatile char*>::foo".
695
4120d7e6
MC
6962004-01-15 Michael Chastain <mec.gnu@mindspring.com>
697
698 * gdb.base/setvar.exp: Remove setup_xfail for hppa*-*-*11*.
699
f679e530
BE
7002004-01-16 Ben Elliston <bje@wasabisystems.com>
701
702 * gdb.arch/Makefile.in (MISCELLANEOUS): Remove.
703 (clean mostlyclean): Remove empty rm.
704
091c48f6
MC
7052004-01-15 Michael Chastain <mec.gnu@mindspring.com>
706
707 * gdb.base/setvar.exp: Add copyright years.
708
3e5fc8d2
DC
7092004-01-14 David Carlton <carlton@bactrian.org>
710
711 * gdb.cp/rtti.exp: Update copyright. KFAIL test with repect to
712 PR c++/1511 and update coment.
713 * gdb.cp/templates.exp: Update patterns to match current output.
714 If changes involve something other than whitespace, KFAIL
715 w.r.t. PR c++/1512 or PR c++/931 as appropriate.
716
63d06c5c
DC
7172004-01-14 David Carlton <carlton@kealia.com>
718
719 * gdb.cp/namespace.exp: Add tests involving classes defined within
720 namespaces.
721 * gdb.cp/namespace.cc (C::CClass): New.
722 * gdb.cp/namespace1.cc (C::OtherFileClass): New.
723
a51dab88
EZ
7242004-01-14 Elena Zannoni <ezannoni@redhat.com>
725
726 * gdb.base/sepdebug.exp: Bail out of the test if we don't know
727 what debug info we have. Print a better message if something goes
728 wrong while producing the separate debug info file.
729
a476ccc9
MC
7302004-01-14 Michael Chastain <mec.gnu@mindspring.com>
731
732 * gdb.base/callfuncs.c: Remove explicit declaration of malloc.
733
f453692c
MC
7342004-01-14 Michael Chastain <mec.gnu@mindspring.com>
735
736 * gdb.base/callfuncs.c: Add copyright notice.
737
f40063a5
MC
7382004-01-13 Michael Chastain <mec.gnu@mindspring.com>
739
740 * gdb.cp/derivation.exp: Add XFAIL for bug with protected
741 inheritance. PR gdb/1498, PR gcc/13539.
742
19ac3974
EZ
7432004-01-13 Elena Zannoni <ezannoni@redhat.com>
744
745 * gdb.threads/gcore-thread.exp: Prefix name of binary with
746 test specific name.
747 * gdb.mi/gdb669.exp: Ditto.
748 * gdb.mi/mi-pthreads.exp: Ditto.
749 * gdb.mi/mi1-pthreads.exp: Ditto.
750 * gdb.mi/mi2-pthreads.exp: Ditto.
751
56c97c6e
MC
7522004-01-12 Michael Chastain <mec.gnu@mindspring.com>
753
754 * gdb.cp/member-ptr.cc: Add copyright notice.
755
a0644324
MC
7562004-01-12 Michael Chastain <mec.gnu@mindspring.com>
757
758 * gdb.cp/member-ptr.exp: Use gdb_test, gdb_test_multiple. Add
759 some patterns for recent versions of gcc and hpacc. Delete
760 calls to setup_xfail for hppa*-*-*. Delete redundant tests.
761 Delete tests that access a NULL pointer-to-member-data. This
762 script is still disabled for gcc.
763
32fabe09
EZ
7642004-01-12 Elena Zannoni <ezannoni@redhat.com>
765
766 * gdb.mi/mi2-basics.exp: Make sure that full pathnames are
767 escaped correctly.
768
1f8a6abb
EZ
7692004-01-12 Elena Zannoni <ezannoni@redhat.com>
770
771 * gdb.base/sepdebug.exp: New file.
772 * gdb.base/sepdebug.c: New file.
773 * lib/gdb.exp (separate_debug_filename): New procedure.
774 (gdb_gnu_strip_debug): New procedure.
775
48efe704
AC
7762004-01-12 Andrew Cagney <cagney@redhat.com>
777
778 * gdb.mi/ChangeLog: Delete file. Renamed to ...
779 * gdb.mi/ChangeLog-1999-2003: New file.
780
a9415475
AC
7812004-01-12 Andrew Cagney <cagney@redhat.com>
782
783 * gdb.base/fileio.exp: Update copyright year. On GNU/Linux, for
784 "Renaming a directory to a non-empty directory returns ENOTEMPTY
785 or EEXIST", treat EBUSY as an XFAIL.
786
83b8cf9d
MC
7872004-01-11 Michael Chastain <mec.gnu@mindspring.com>
788
789 * gdb.base/scope.exp: Remove obsolete setup_xfail for
790 hp_cc_compiler.
791
9939d2a8
MC
7922004-01-10 Michael Chastain <mec.gnu@mindspring.com>
793
794 * gdb.cp/classes.exp: Remove old "(obsolescent gcc or gdb)"
795 decorations.
796
1ff8cadf
MC
7972004-01-10 Michael Chastain <mec.gnu@mindspring.com>
798
799 * gdb.cp/virtfunc.exp: Remove old "(obsolescent gcc or gdb)"
800 and "(aCC)" decorations. Remove obsolete doco about old
801 test results.
802
6fa9022e
MC
8032004-01-09 Michael Chastain <mec.gnu@mindspring.com>
804
805 * gdb.cp/exception.exp: Fix typo in doco.
806
209721fe
MK
8072004-01-09 Mark Kettenis <kettenis@gnu.org>
808
809 * gdb.base/gdb1476.exp: Fix typo.
810
ef11303e
MC
8112004-01-09 Michael Chastain <mec.gnu@mindspring.com>
812
813 * gdb.hp/gdb.aCC/exception.exp: Re-create as a nearly empty
814 file.
815
041ab88c
MC
8162004-01-09 Michael Chastain <mec.gnu@mindspring.com>
817
818 * gdb.cp/exception.cc: Change <iostream.h> to <iostream>.
819 * gdb.cp/exception.exp: Use gdb test, gdb_test_multiple.
820 Use gdb_compile. Remove restriction on gcc. Add some patterns
821 for recent version of gdb. Delete second half, which was a copy
822 of the first half with different build flags. This test is
823 still disabled because it is still not ready for production.
824
e36d075a
MC
8252004-01-08 Michael Chastain <mec.gnu@mindspring.com>
826
827 * gdb.cp/exception.cc: Add copyright notice.
828 * gdb.cp/exception.exp: Add a notice that this file is broken
829 because of line number changes caused by addition of copyright
830 notice.
831
42b190ad
MC
8322004-01-08 Michael Chastain <mec.gnu@mindspring.com>
833
834 * gdb.cp/exception.cc: Renamed from gdb.hp/gdb.aCC/exception.cc.
835 * gdb.cp/exception.exp: Renamed from gdb.hp/gdb.aCC/exception.exp.
836
8f25f06b
MC
8372004-01-08 Michael Chastain <mec.gnu@mindspring.com>
838
839 * gdb.cp/classes.exp: Accept gnu abi 2.
840 * gdb.cp/derivation.exp: Likewise.
841 * gdb.cp/overload.exp: Likewise.
842 * gdb.cp/virtfunc.exp: Likewise.
843
06ded8b8
MC
8442004-01-08 Michael Chastain <mec.gnu@mindspring.com>
845
846 * gdb.mi/pthreads.c (done_making_threads): Remove extraneous
847 semicolon after end of function.
848
77c26ae3
MC
8492004-01-07 Michael Chastain <mec.gnu@mindspring.com>
850
851 * gdb.cp/bs15503.cc: Include <iostream>, not <iostream.h>.
852 * gdb.cp/bs15503.exp: Remove hp-only restriction. Use modern
853 boilerplate code for compiling and running the program under
854 test. Add some string method tests.
855
20757486
MC
8562004-01-07 Michael Chastain <mec.gnu@mindspring.com>
857
858 * gdb.cp/bs15503.cc: Add copyright notice.
859 * gdb.cp/bs15503.exp: Adjust line number.
860
0fd3b503
MC
8612004-01-07 Michael Chastain <mec.gnu@mindspring.com>
862
863 * gdb.hp/gdb.defects/bs15503.exp: Renamed to gdb.cp/bs15503.exp.
864 * gdb.hp/gdb.defects/bs15503.cc: Renamed to gdb.cp/bs15503.cc.
865
10d1bea8
MC
8662004-01-07 Michael Chastain <mec.gnu@mindspring.com>
867
868 * gdb.base/funcargs.exp: Remove obsolete setup_xfail for
869 hp_cc_compiler.
870
2789202a
MC
8712004-01-07 Michael Chastain <mec.gnu@mindspring.com>
872
873 * gdb.cp/cttiadd.c: Add a marker for gdb_get_line_number.
874 * gdb.cp/ctti.exp: Use the marker instead of "next".
875 With gcc, run further before bailing.
876
b862f14c
MC
8772004-01-07 Michael Chastain <mec.gnu@mindspring.com>
878
879 * gdb.cp/cttiadd.cc: Add copyright notice.
880 * gdb.cp/cttiadd1.cc: Likewise.
881 * gdb.cp/cttiadd2.cc: Likewise.
882 * gdb.cp/cttiadd3.cc: Likewise.
883
96da2469
MC
8842004-01-07 Michael Chastain <mec.gnu@mindspring.com>
885
886 * gdb.cp/ctti.exp: Partial rewrite. Call gdb_compile properly.
887 Use gdb_test, gdb_test_multiple. Use floating-point values that
888 have exact representations in IEEE-ish formats.
889
053248ff
MC
8902004-01-07 Michael Chastain <mec.gnu@mindspring.com>
891
892 * gdb.base/constvars.exp: Do not force lang=c++ if using HP
893 compilers. Delete duplicate call to get_compiler_info.
894 (local_compiler_xfail_check): setup_xfail if $hp_cc_compiler.
895 * gdb.base/volatile.exp: Likewise.
896
84acecdd
MK
8972004-01-07 Mark Kettenis <kettenis@gnu.org>
898
899 * gdb.base/gdb1476.exp: Only run the tests if we can't read the
900 memory at address 0.
901
fe11a27f
MC
9022004-01-07 Michael Chastain <mec.gnu@mindspring.com>
903
904 * gdb.stabs/weird.exp: Use hp_cc_compiler and hp_aCC_compiler
905 to test for hp-ux assembler. Fix copyright years.
906
60ad077b
AC
9072004-01-07 Andrew Cagney <cagney@redhat.com>
908
909 * gdb.base/fileio.c (strerrno): Add "EBUSY".
910
1c9b8f33
AC
9112004-01-07 Andrew Cagney <cagney@redhat.com>
912
913 * gdb.base/fileio.c (test_open): Do not pass S_IWUSR to "open"
914 when creating the read-only file. From analysis by Roland McGrath
915 and Elena Zannoni.
916
753ccc7a
MC
9172004-01-06 Michael Chastain <mec.gnu@mindspring.com>
918
919 * gdb.cp/namespace.exp: Call get_compiler_info with "c++".
920
eca3e36b
MC
9212004-01-06 Michael Chastain <mec.gnu@mindspring.com>
922
923 * gdb.base/cvexpr.c: Be type-safe with function pointers and
924 data pointers.
925
f8d4bac4
MC
9262004-01-06 Michael Chastain <mec.gnu@mindspring.com>
927
928 * gdb.cp/m-static.exp: Compile one source file at a time.
929 Delete unused call to get_compiler_info.
930
9b4e0f94
MC
9312004-01-06 Michael Chastain <mec.gnu@mindspring.com>
932
933 * gdb.base/call-ar-st.exp: Delete explicit reference to ${binfile}.ci.
934 * gdb.base/call-rt-st.exp: Likewise.
935 * gdb.base/nodebug.exp: Likewise.
936 * gdb.base/volatile.exp: Likewise.
937 * gdb.cp/ref-types.exp: Likewise.
938 * gdb.cp/templates.exp: Likewise.
939
023c1024
MK
9402004-01-05 Mark Kettenis <kettenis@gnu.org>
941
942 * gdb.base/gdb1476.exp, gdb.base/gdb1476.c: New files.
943
19703c4a
MC
9442004-01-05 Michael Chastain <mec.gnu@mindspring.com>
945
946 * gdb.cp/funcargs.exp: Delete special timeout of 240 seconds for
947 hppa*-hp-hpux*.
948
18b67037
MK
9492004-01-04 Mark Kettenis <kettenis@gnu.org>
950
ba6219c8
MK
951 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
952 x86_64-*-*.
953
18b67037
MK
954 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
955 sparc64-*-* and sparc*-solaris2*.
956
1bfbbb9d
MK
9572004-01-04 Mark Kettenis <kettenis@gnu.org>
958
959 * gdb.base/structs.exp: Remove ${testfile} from "zed L<n> for
960 return ${tests}" test. The ${tests} already mentions the
961 filename.
962
06846494
MC
9632004-01-02 Michael Chastain <mec.gnu@mindspring.com>
964
965 * gdb.cp/local.exp: Accept gcc abi 2.
966
3b0cb202
MC
9672004-01-02 Michael Chastain <mec.gnu@mindspring.com>
968
969 * gdb.cp/templates.exp: Accept gcc abi 2.
970
0643ec3f
MC
9712004-01-02 Michael Chastain <mec.gnu@mindspring.com>
972
973 * lib/compiler.cc: Remove supports_template_debugging.
974 * gdb.cp/templates.exp: Do not test supports_template_debugging.
975
d231d0b1
MC
9762004-01-01 Michael Chastain <mec.gnu@mindspring.com>
977
978 * gdb.cp/namespace.exp: Accept gcc abi 2.
979
44ffb27c
MC
9802004-01-01 Michael Chastain <mec.gnu@mindspring.com>
981
982 * gdb.cp/method.exp: Accept gcc abi 2.
983
184ad485
MC
9842004-01-01 Michael Chastain <mec.gnu@mindspring.com>
985
986 * gdb.cp/classes.exp: Generate identical results as old version.
987 * gdb.cp/derivation.exp: Likewise.
988 * gdb.cp/overload.exp: Likewise.
989 * gdb.cp/virtfunc.exp: Likewise.
990
116f09e7
MC
9912004-01-01 Michael Chastain <mec.gnu@mindspring.com>
992
993 * gdb.cp/virtfunc.exp: Modify some patterns to avoid a
994 mysterious bug with sourceware version of expect.
995
b1379776
MC
9962004-01-01 Michael Chastain <mec.gnu@mindspring.com>
997
998 * gdb.cp/overload.exp: Rewrite. Clean up patterns to match
999 current versions of gcc, including gcc abi 2. Remove gratuitous
1000 restart of test program. Use gdb_test_multiple and gdb_test for
1001 all tests. Add patterns to xfail missing "const" in "const char *"
1002 and kfail PR gdb/1155.
1003
6b7a4c0e
MC
10042004-01-01 Michael Chastain <mec.gnu@mindspring.com>
1005
1006 * gdb.cp/derivation.exp: Rewrite. Clean up patterns to match
1007 current versions of gcc, including gcc abi 2. Remove gratuitous
1008 restart of test program. Use gdb_test_multiple and gdb_test for
1009 all tests. Add patterns to kfail PR gdb/1498.
1010
51615d72
MC
10112003-12-31 Michael Chastain <mec.gnu@mindspring.com>
1012
1013 * gdb.cp/virtfunc.exp: Rewrite. Clean up patterns to match
1014 current versions of gcc, including gcc abi 2. Use "breakpoint"
1015 and "continue" instead of restarting the target program. Use
1016 gdb_test_multiple and gdb_test for all tests.
1017
7b79a9d7
MK
10182004-01-01 Mark Kettenis <kettenis@gnu.org>
1019
1020 * gdb.asm/asm-source.exp: Update copyright year. Link statically
1021 for *-*-solaris2*.
1022
1cd3489f
MC
10232003-12-31 Michael Chastain <mec.gnu@mindspring.com>
1024
1025 * gdb.cp/classes.exp: Rewrite. Clean up patterns to match
1026 current versions of gcc, including gcc abi 2. Use "breakpoint"
1027 and "continue" instead of restarting the target program several
1028 times. Use gdb_test_multiple and gdb_test for all tests.
1029
850742db
MC
10302003-12-18 Michael Chastain <mec.gnu@mindspring.com>
1031
1032 * gdb.base/sect-cmd.exp: Handle compiling test case from multiple
1033 source files.
1034
eb4bbda8
MC
10352003-12-16 Michael Chastain <mec.gnu@mindspring.com>
1036
1037 * gdb.base/environ.exp: Handle compiling test case from multiple
1038 source files.
1039
e42c7771
MC
10402003-12-16 Michael Chastain <mec.gnu@mindspring.com>
1041
1042 * gdb.base/structs.exp: Call gdb_exit as well as gdb_start.
1043
80e4b428
JB
10442003-12-17 Jim Blandy <jimb@redhat.com>
1045
5f06973a
JB
1046 * gdb.base/freebpcmd.c: Add copyright notice.
1047
80e4b428
JB
1048 * gdb.base/freebpcmd.exp: Mark the interesting failure as known.
1049
0ab84fb7
MC
10502003-12-16 Michael Chastain <mec.gnu@mindspring.com>
1051
1052 * gdb.base/maint.exp: Add generic FAIL patterns to prevent timeouts.
1053
1b3bb3d0
JB
10542003-12-13 Jim Blandy <jimb@redhat.com>
1055
1056 * gdb.base/freebpcmd.exp, gdb.base/freebpcmd.c: New test.
1057
3a4c9371
KB
10582003-12-12 Kevin Buettner <kevinb@redhat.com>
1059
1060 * gdb.asm/frv.inc: New file.
1061 * gdb.asm/asm-source.exp: Add frv-*-* as a supported target.
1062
a1dea79a
FF
10632003-12-09 Fred Fish <fnf@redhat.com>
1064
1065 * gdb.base/break.c (marker1, marker2, marker3, marker4): Move
1066 functions to break1.c and leave prototypes behind. Add more
1067 "set breakpoint NN here" comments.
1068 * gdb.base/break1.c: New file.
1069
1070 * gdb.base/break.exp: Handle compiling test case from multiple
1071 source files and change source file references as needed.
1072 * gdb.base/completion.exp: Ditto.
1073 * gdb.base/condbreak.exp: Ditto.
1074 * gdb.base/define.exp: Ditto.
1075 * gdb.base/ena-dis-br.exp: Ditto.
1076 * gdb.base/info-proc.exp: Ditto.
1077 * gdb.base/maint.exp: Ditto.
1078 * gdb.base/until.exp: Ditto.
1079
1080 * gdb.base/condbreak.exp: Use bp_locationNN variables instead of
1081 hardcoded line numbers.
1082 * gdb.base/define.exp: Ditto.
1083 * gdb.base/ena-dis-br.exp: Ditto.
1084 * gdb.base/maint.exp: Ditto.
1085 * gdb.base/until.exp: Ditto.
1086
1087 * gdb.base/completion.exp: Use "break1" for completion tests since
1088 "break" is no longer a unique prefix.
1089
5266b69c
AC
10902003-12-06 Andrew Cagney <cagney@redhat.com>
1091
1092 * gdb.base/structs.exp (test_struct_returns): When applicable, set
1093 "return_value_unimplemented". When an unimplemented struct return
1094 architecture, report incorrect values as a KFAIL
1095
374451f0
MC
10962003-12-05 Michael Chastain <mec.gnu@mindspring.com>
1097
1098 * gdb.cp/rtti.exp: Accept new wording of warning from
1099 cp_lookup_rtti_type.
1100
ba9b20a7
MC
11012003-12-05 Michael Chastain <mec.gnu@mindspring.com>
1102
1103 Partial fix for PR testsuite/1456.
1104 * gdb.base/scope.exp (test_at_main): Replace references to
1105 gcc_compiled with calls to test_compiler_info.
1106 (test_at_foo): Likewise.
1107 (test_at_bar): Likewise.
1108
b74b6d0b
MC
11092003-12-04 Michael Chastain <mec.gnu@mindspring.com>
1110
1111 Partial fix for PR testsuite/1456.
1112 * gdb.base/so-impl-ld.exp: Replace reference to gcc_compiled with call
1113 to test_compiler_info.
1114
ccfa3402
MC
11152003-12-03 Michael Chastain <mec.gnu@mindspring.com>
1116
1117 * gdb.base/so-impl-ld.exp: Update copyright notice.
1118
f6246aba
MC
11192003-12-02 Michael Chastain <mec.gnu@mindspring.com>
1120
1121 Partial fix for PR testsuite/1456.
1122 * gdb.base/mips_pro.exp: Replace references to gcc_compiled with calls
1123 to test_compiler_info.
1124
13ae734a
MC
11252003-11-28 Michael Chastain <mec.gnu@mindspring.com>
1126
1127 * gdb.objc/objcdecode.exp: Match and KFAIL the output that comes
1128 from current versions of gdb. Clean up regular expressions.
1129 Delete redundant timeout case.
1130
d8e1cdee
MC
11312003-11-28 Michael Chastain <mec.gnu@mindspring.com>
1132
1133 * gdb.objc/nondebug.exp: Match and KFAIL the output that comes
1134 from current versions of gdb. Clean up regular expressions.
1135 Delete redundant timeout case.
1136
96457b64
MC
11372003-12-01 Michael Chastain <mec.gnu@mindspring.com>
1138
1139 Partial fix for PR testsuite/1456.
1140 * gdb.base/callfuncs.exp (do_function_calls): Replace reference to
1141 gcc_compiled with call to test_compiler_info.
1142
f35309fc
MC
11432003-11-30 Michael Chastain <mec.gnu@mindspring.com>
1144
1145 Partial fix for PR testsuite/1456.
1146 * gdb.base/list.exp (test_list_function): Delete unused declaration
1147 of gcc_compiled.
1148
d7afdf9b
MC
11492003-11-29 Michael Chastain <mec.gnu@mindspring.com>
1150
1151 Partial fix for PR testsuite/1456.
1152 * gdb.base/complex.exp: Replace reference to gcc_compiled with
1153 call to test_compiler_info.
1154
71507b56
MK
11552003-11-29 Mark Kettenis <kettenis@gnu.org>
1156
1157 * gdb.asm/asm-source.exp: Initialize asm-note to "empty". Set
1158 asm-note to "netbsd" for *-*-netbsdelf* and x86_64-*-netbsd*. Use
1159 it to create the appropriate note.inc.
1160 * gdb.asm/asmsrc1.s: Include "note.inc".
1161 * gdb.asm/netbsd.inc: New file.
1162 * gdb.asm/empty.inc: New file.
1163
f81f93f7
MC
11642003-11-28 Michael Chastain <mec.gnu@mindspring.com>
1165
1166 Partial fix for PR testsuite/1456.
1167 * gdb.base/constvars.exp: Replace references to gcc_compiled with
1168 calls to test_compiler_info.
1169
9a77938e
MC
11702003-11-27 Michael Chastain <mec.gnu@mindspring.com>
1171
1172 Partial fix for PR testsuite/1456.
1173 * gdb.base/volatile.exp: Replace references to gcc_compiled with
1174 calls to test_compiler_info.
1175
e8367dc7
MK
11762003-11-27 Mark Kettenis <kettenis@gnu.org>
1177
1178 * gdb.base/structs.exp: Use i*86-*-* instead of i686-*-* as a
1179 pattern for the KFAILs.
1180
526c61ee
AF
11812003-11-25 Adam Fedor <fedor@gnu.org>
1182
1183 * gdb.objc/objcdecode.exp: Test for PR objc/1238.
1184 * gdb.objc/objcdecode.m: New file.
1185
28f2d600
AF
11862003-11-25 Adam Fedor <fedor@gnu.org>
1187
1188 * gdb.objc/nondebug.exp: Test for PR objc/1236.
1189 * gdb.objc/nondebug.m: New file.
1190
a3895cee
BE
11912003-11-26 Ben Elliston <bje@wasabisystems.com>
1192
1193 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
1194 NetBSD as it does on FreeBSD. Modelled on a similar change by
1195 Mark Kettenis on 2003-05-30.
1196 (link-flags): Set to "--entry _start" regardless of target.
1197 Special linker flags are to be appended to $link-flags.
1198 * gdb.asm/mips.inc (gdbasm_startup): Remove __start label.
1199
c9f2c8a3
MC
12002003-11-25 Michael Chastain <mec.gnu@mindspring.com>
1201
1202 * gdb.cp/method.exp: Accept output of new demangler.
1203
15a0587a 12042003-11-25 Michael Chastain <mec.gnu@mindspring.com>
f4e8b6f3
MC
1205
1206 * gdb/class2.exp: New file.
1207 * gdb/class2.cc: New file.
1208
3c00b570
MC
12092003-11-25 Michael Chastain <mec.gnu@mindspring.com>
1210
1211 * gdb.cp/templates.exp (test_ptype_of_templates): Accept output
1212 of new demangler.
1213
7027acc7
MK
12142003-11-23 Mark Kettenis <kettenis@gnu.org>
1215
1216 * gdb.arch/i386-unwind.exp: Use gdb_run_cmd and gdb_expect instead
1217 of gdb_test "run".
1218
b0e1598a
MK
12192003-11-23 Mark Kettenis <kettenis@gnu.org>
1220
1221 * gdb.arch/i386-unwind.exp: Don't use runto_main. Change
1222 "continue" into "run".
1223
4d9eda44
MC
12242003-11-23 Michael Chastain <mec.gnu@mindspring.com>
1225
1226 Partial fix for PR testsuite/1456.
1227 * gdb.cp/ambiguous.exp: Replace reference to gcc_compiled with
1228 call to test_compiler_info.
1229 * gdb.cp/ctti.exp: Likewise.
1230 * gdb.cp/derivation.exp: Likewise.
1231 * gdb.cp/member-ptr.exp: Likewise.
1232 * gdb.cp/virtfunc.exp (test_virtual_calls): Remove unused
1233 reference to gcc_compiled.
1234
12352003-11-23 Michael Chastain <mec.gnu@mindspring.com>
b729099e
MC
1236
1237 Fix PR testsuite/1463.
1238 * gdb.base/structs.exp (start_structs_test): Call
1239 get_debug_format before using the debug format.
1240
d422fe19
AC
12412003-11-22 Andrew Cagney <cagney@redhat.com>
1242
1243 * lib/gdb.exp (gdb_test_multiple): Add simple example.
1244 * gdb.base/structs.exp: Use gdb_test_multiple.
1245
039cf96d
AC
12462003-11-20 Andrew Cagney <cagney@redhat.com>
1247
6882279b
AC
1248 * gdb.base/structs.exp: Handle and recover from internal errors.
1249 Replace "foo${n}" with "foo<n>" in test messages.
1250
e53890ae
AC
1251 * gdb.base/structs.exp: Update copyright. Rewrite.
1252 * gdb.base/structs.c: Update copyright. Rewrite.
1253
2b211c59
AC
1254 * lib/gdb.exp (gdb_internal_error_resync): Issue a perror when the
1255 resync count exceeded.
d63a86f8 1256
039cf96d
AC
1257 * gdb.base/maint.exp: Use gdb_internal_error_resync to recover
1258 from the internal error.
1259 * lib/gdb.exp (gdb_internal_error_resync): New procedure.
1260 Original from Jim Blandy.
1261 (gdb_test_multiple): Use gdb_internal_error_resync.
2b211c59 1262
eac98b22
AC
12632003-11-19 Andrew Cagney <cagney@redhat.com>
1264
1265 * gdb.base/callfuncs.exp: Change the XFAILed descriptor test to a
1266 KFAIL.
1267
67455b2a
MK
12682003-11-17 Mark Kettenis <kettenis@gnu.org>
1269
1270 New testcase for PR backtrace/1435.
1271 * gdb.arch/i386-unwind.exp: New file.
1272 * gdb.arch/i386-unwind.c: New file.
1273
853d6e5b
AC
12742003-11-17 Andrew Cagney <cagney@redhat.com>
1275
1276 * lib/gdb.exp (compiler_info): New global.
1277 (test_compiler_info): New function.
1278 (get_compiler_info): Set compiler_info.
1279 * lib/compiler.c, lib/compiler.cc: Add copyright. When GNUC, set
1280 "compiler_info" to gcc-<major>-<minor>.
1281
38cf6e11
MC
12822003-11-15 Michael Chastain <mec.gnu@mindspring.com>
1283
1284 * gdb.trace/configure: Remove.
1285
a50d3602
EZ
12862003-11-13 Elena Zannoni <ezannoni@redhat.com>
1287
1288 * gdb.base/break.c: Add comments to aid finding line numbers for
d63a86f8 1289 breakpoints.
a50d3602
EZ
1290 * gdb.base/break.exp: Remove all references to explicit line
1291 numbers.
1292
d9407aaa
NC
12932003-11-11 Nick Clifton <nickc@redhat.com>
1294
1295 * gdb.base/shreloc.exp: Do not run for targets which do not
1296 support shared objects.
1297
db488fc1
CV
12982003-11-10 Corinna Vinschen <vinschen@redhat.com>
1299
1300 * gdb.base/fileio.exp: Drop tests for nointerrupts and noinferiorio.
1301 Don't run tests if nofileio flag is given.
1302
6a90a18e
EZ
13032003-11-07 Elena Zannoni <ezannoni@redhat.com>
1304
1305 * gdb.cp/annota3.exp: Make sure we can match 'Hardware watchpoint'
1306 as well as 'Watchpoint'.
1307
0b915e9c
EZ
13082003-11-06 Elena Zannoni <ezannoni@redhat.com>
1309
1310 Reported by Jim Ingham <jingham@apple.com>:
1311 * gdb.base/annota1.exp: Match at least one occurrence of the
1312 signal handler annotation.
1313
d7e4b55f
EZ
13142003-11-06 Elena Zannoni <ezannoni@redhat.com>
1315
1316 * gdb.cp/annota2.exp: Make sure we can match 'Hardware watchpoint'
1317 as well as 'Watchpoint'.
1318
2fe4e8d0
MC
13192003-11-05 Michael Chastain <mec@shout.net>
1320
1321 * gdb.mi/pthreads.c (routine): Handle early return from sleep.
1322
6ef88553
KW
13232003-11-03 Kris Warkentin <kewarken@qnx.com>
1324
1325 * gdb.arch/gdb1291.c: New test file.
1326 * gdb.arch/gdb1291.exp: New test script.
1327 * gdb.arch/gdb1431.c: New test file.
1328 * gdb.arch/gdb1431.exp: New test script.
1329
ae7dc4d8
MC
13302003-10-22 Michael Chastain <mec@shout.net>
1331
1332 * gdb.mi/pthreads.c: Add copyright notice.
1333
c39d7427
MC
13342003-10-22 Michael Chastain <mec@shout.net>
1335
1336 * gdb.threads/pthreads.c: Add copyright notice.
1337
8b7d96c1
MC
13382003-10-20 Michael Chastain <mec@shout.net>
1339
1340 * gdb.base/gdb1056.exp: New test script.
1341
d1d69fdd
DJ
13422003-10-13 Daniel Jacobowitz <drow@mvista.com>
1343
1344 * gdb.threads/killed.exp: Use gdb_run_cmd.
1345
7d605576
DJ
13462003-10-13 Daniel Jacobowitz <drow@mvista.com>
1347
1348 * gdb.base/gcore.exp: Issue an UNSUPPORTED and exit if we can't
1349 create a core file.
1350 * gdb.threads/gcore-thread.exp: Likewise.
1351
618ec112
CV
13522003-10-13 Corinna Vinschen <vinschen@redhat.com>
1353
1354 * gdb.base/call-rt-st.c (struct bit_flags_char_t): New bitfield
1355 type, based on char type.
1356 (struct bit_flags_short_t): New bitfield type, based on short type.
1357 (init_bit_flags_char): New fuction.
1358 (init_bit_flags_short): Ditto.
1359 (print_bit_flags_char): Ditto.
1360 (print_bit_flags_short): Ditto.
1361 (main): Add handling for bit_flags_char_t and bit_flags_short_t.
1362
9367a73c
MC
13632003-10-11 Michael Chastain <mec@shout.net>
1364
1365 * gdb.base/call-rt-st.exp: Update copyright year.
1366
1decf120
KI
13672003-10-10 Kei Sakamoto <sakamoto.kei@renesas.com>
1368
1369 * config/hmsirom.exp: Replace "Hitachi" with "Renesas".
1370 * gdb.disasm/sh3.s: Ditto.
1371
5445b2ae
DJ
13722003-10-07 Daniel Jacobowitz <drow@mvista.com>
1373
1374 * gdb.threads/switch-threads.exp: New test.
1375 * gdb.threads/switch-threads.c: New source file.
1376
aec24853
CV
13772003-10-07 Corinna Vinschen <vinschen@redhat.com>
1378
1379 * gdb.base/ending-run.exp: Add sh specific case.
1380
adc7428d
AC
13812003-10-06 Andrew Cagney <cagney@redhat.com>
1382
1383 * gdb.base/watchpoint.exp: Delete obsolete clear_xfail.
1384 * gdb.disasm/mn10200.exp: Delete obsolete file.
1385
c9d37158
DJ
13862003-09-29 Daniel Jacobowitz <drow@mvista.com>
1387
1388 * ChangeLog: Correct an entry command.exp -> commands.exp.
1389 * gdb.base/commands.exp (bp_deleted_in_command_test)
1390 (temporary_breakpoint_commands): Check noargs.
1391
79c2c32d
DC
13922003-09-25 David Carlton <carlton@kealia.com>
1393
1394 * gdb.cp/namespace.exp: Tweak comments. Add non-quoted versions
1395 of some print tests, where appropriate. Add tests for C::D::cd,
1396 E::ce, F::cXfX, G::XgX.
1397 * gdb.cp/namespace.cc: Add XgX, cXfX, ce.
1398
594e6d67
RE
13992003-09-25 Richard Earnshaw <rearnsha@arm.com>
1400
1401 * lib/java.exp (java_init): Import target_alias before using it.
1402
10f0d451
DC
14032003-09-25 David Carlton <carlton@kealia.com>
1404
1405 * gdb.base/corefile.exp: Delete obsolete setup_xfail.
1406
274bcba0
EZ
14072003-09-23 Elena Zannoni <ezannoni@redhat.com>
1408
d63a86f8 1409 * gdb.base/selftest.exp: Accomodate more instruction reordering
274bcba0
EZ
1410 weirdness.
1411
cdbf20f7
MC
14122003-09-17 Michael Chastain <mec@shout.net>
1413
1414 * gdb.cp/gdb1355.exp: New file.
1415 * gdb.cp/gdb1355.c: New file.
1416
71e06f80
CV
14172003-09-15 Corinna Vinschen <vinschen@redhat.com>
1418
1419 * gdb.asm/asm-source.exp: Add sh*-*-* as supported target.
1420 * gdb.asm/sh.inc: New file.
1421
5c4e30ca
DC
14222003-09-11 David Carlton <carlton@kealia.com>
1423
bd45b7af
DC
1424 * gdb.cp/namespace.exp: Add tests for namespace types.
1425 * gdb.cp/maint.exp (test_help): Test 'help maint cp namespace'.
5c4e30ca
DC
1426 (test_namespace): New.
1427
1c199746
EZ
14282003-09-11 Elena Zannoni <ezannoni@redhat.com>
1429
1430 * gdb.base/relocate.exp: Handle new gdb output at startup.
3fcf0ced 1431 * gdb.stabs/weird.exp: Ditto.
1c199746 1432
04ed252f
MC
14332003-09-08 Michael Chastain <mec@shout.net>
1434
1435 * gdb.base/gdb1250.c: Rename 'gamma' to 'my_gamma'.
1436
d8a2d9e7
MC
14372003-09-07 Michael Chastain <mec@shout.net>
1438
1439 * gdb.cp/classes.exp: Accommodate both 'syntax error' and
1440 'parse error'.
1441
161afb24
MK
14422003-09-07 Mark Kettenis <m.kettenis@osp.nl>
1443
1444 * gdb.arch/i386-prologue.exp: Add checks for saved registers.
1445
49f2741a
MC
14462003-08-30 Michael Chastain <mec@shout.net>
1447
1448 * gdb.base/selftest.exp: Remove support for m68k*-*-hpux.
1449 * gdb.gdb/observer.exp: Ditto.
1450 * gdb.gdb/xfullpath.exp: Ditto.
1451
8afa723e
MK
14522003-08-29 Mark Kettenis <kettenis@gnu.org>
1453
1454 * gdb.base/interrupt.exp: XFAIL "call function when asleep" for
1455 *-*-*bsd*.
1456
f31dfe3b
JJ
14572003-08-28 Jeff Johnston <jjohnstn@redhat.com>
1458
1459 * gdb.base/dump.exp: Skip for ia64.
1460
4630e498
JJ
14612003-08-25 Jeff Johnston <jjohnstn@redhat.com>
1462
1463 * gdb.asm/asm-source.exp: Add ia64 support.
1464 * gdb.asm/ia64.inc: New file.
1465
1105b7ef
MC
14662003-08-22 Michael Chastain <mec@shout.net>
1467
1468 * gdb.cp: New directory.
1469 * gdb.cp/*: Copy from gdb.c++/*.
1470 * gdb.c++/*: Remove.
1471 * Makefile.in: Change gdb.c++ to gdb.cp.
1472 * configure.in: Ditto.
1473 * configure: Regnerate.
1474
c945b932
MK
14752003-08-18 Mark Kettenis <kettenis@gnu.org>
1476
1477 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1338.
1478 * gdb.arch/i386-prologue.c (gdb1338): Add function.
1479
2b66634b
DJ
14802003-08-17 Daniel Jacobowitz <drow@mvista.com>
1481
1482 * mi-var-display.exp (-var-list-children weird): Accept function
1483 pointers with argument types.
1484 * mi1-var-display.exp (-var-list-children weird): Likewise.
1485 * mi2-var-display.exp (-var-list-children weird): Likewise.
1486
a356f73b
DJ
14872003-08-17 Daniel Jacobowitz <drow@mvista.com>
1488
1489 * gdb.base/annota3.exp: Add missing newline.
1490
483417b8
MC
14912003-08-06 Michael Chastain <mec@shout.net>
1492
1493 * gdb.java/jmisc1.exp: Add test for pr gdb/1322.
1494
c99c59c3
MS
14952003-08-12 Michael Snyder <msnyder@redhat.com>
1496
1497 * gdb.base/float.exp: Add test for SH.
1498
55ed7501
MK
14992003-08-10 Mark Kettenis <kettenis@gnu.org>
1500
1501 * gdb.arch/i386-prologue.c, gdb.arch/i386-prologue.exp: New files.
1502
1a371f2e
EZ
15032003-08-07 Elena Zannoni <ezannoni@redhat.com>
1504
1505 * gdb.base/completion.exp: Remove reduntant completion test
1506 on filename.
1507
e0f353ce
EZ
15082003-08-07 Elena Zannoni <ezannoni@redhat.com>
1509
1510 * gdb.base/attach.exp, gdb.base/detach.exp, gdb.base/gcore.exp,
1511 gdb.mi/mi-basics.exp, gdb.threads/gcore-thread.exp,
1512 gdb.trace/save-trace.exp: Make sure that full pathnames are
1513 escaped correctly.
1514
5710a1af 15152003-08-07 Elena Zannoni <ezannoni@redhat.com>
d63a86f8 1516
5710a1af
EZ
1517 * configure.in: Don't generate config.h from config.hin.
1518 * configure: Regenerate.
1519 * config.hin: Remove file.
1520 * gdb.mi/pthreads.c: Remove include of config.h, and other ifdefs.
1521 * gdb.threads/pthreads.c: Ditto.
1522
dcd81ce9
DJ
15232003-08-07 Daniel Jacobowitz <drow@mvista.com>
1524
1525 From Kei Sakamoto <sakamoto.kei@renesas.com>:
1526 * gdb.asm/asm-source.exp : Add -lgloss to link-flags.
1527 * gdb.asm/m32r.inc : Remove an illegal nop after bl instruction.
1528 Replace ld24 with seth/add3.
1529
6009d884
AC
15302003-08-02 Andrew Cagney <cagney@redhat.com>
1531
1532 * gdb.base/annota3.exp: New file.
1533 * gdb.base/annota3.c: New file.
1534 * gdb.c++/annota3.exp: New file.
1535 * gdb.c++/annota3.cc: New file.
1536
51514e06
MC
15372003-07-29 Michael Chastain <mec@shout.net>
1538
1539 * gdb.threads/tls.c (spin): Check errno only if sem_wait
1540 actually failed.
1541 (do_pass): Likewise.
1542 * gdb.threads/tls.exp: Always initialize no_of_threads.
1543
4ee6625b
DJ
15442003-07-27 Daniel Jacobowitz <drow@mvista.com>
1545
1546 * gdb.threads/print-threads.exp (test_all_threads): Loosen KFAIL
1547 pattern.
1548 * gdb.threads/tls-shared.exp: Don't use gdb_suppress_entire_file.
1549 * gdb.threads/tls.exp: Recognize one case of the host library not
1550 supporting TLS.
1551
225f2bf6
AC
15522003-07-27 Andrew Cagney <cagney@redhat.com>
1553
1554 * gdb.base/fileio.exp: Use SH when running commands using
1555 remote_exec.
1556
bcb27c9f
DJ
15572003-07-24 Daniel Jacobowitz <drow@mvista.com>
1558
1559 From Kei Sakamoto <sakamoto.kei@renesas.com>:
1560 * gdb.base/relocate.c (dummy): New padding array.
1561
3d67be83
MS
15622003-07-22 Michael Snyder <msnyder@redhat.com>
1563
d63a86f8 1564 * gdb.disasm/8300s.s: Fix syntax of bsr insn.
3d67be83
MS
1565
1566 * gdb.disasm/h8300s.exp : Minor changes in disassembler output require
1567 patterns to be more general, accepting old and new output.
1568 Some output chars (such as '+') also must be quoted.
d63a86f8 1569 Some addresses are displayed numerically instead of
3d67be83
MS
1570 symbolically.
1571
57ba3b85
MS
15722003-07-23 Michael Snyder <msnyder@redhat.com>
1573
686d097c
MS
1574 * gdb.base/return2.exp: Don't test long-long return.
1575
57ba3b85
MS
1576 * gdb.disasm/t01_mov.s: New file, h8300sx disassembly tests.
1577 * gdb.disasm/t01_mov.exp: Ditto.
1578 * gdb.disasm/t02_mova.s: Ditto.
1579 * gdb.disasm/t02_mova.exp: Ditto.
1580 * gdb.disasm/t03_add.s: Ditto.
1581 * gdb.disasm/t03_add.exp: Ditto.
1582 * gdb.disasm/t04_sub.s: Ditto.
1583 * gdb.disasm/t04_sub.exp: Ditto.
1584 * gdb.disasm/t05_cmp.s: Ditto.
1585 * gdb.disasm/t05_cmp.exp: Ditto.
1586 * gdb.disasm/t06_ari2.s: Ditto.
1587 * gdb.disasm/t06_ari2.exp: Ditto.
1588 * gdb.disasm/t07_ari3.s: Ditto.
1589 * gdb.disasm/t07_ari3.exp: Ditto.
1590 * gdb.disasm/t08_or.s: Ditto.
1591 * gdb.disasm/t08_or.exp: Ditto.
1592 * gdb.disasm/t09_xor.s: Ditto.
1593 * gdb.disasm/t09_xor.exp: Ditto.
1594 * gdb.disasm/t10_and.s: Ditto.
1595 * gdb.disasm/t10_and.exp: Ditto.
1596 * gdb.disasm/t11_logs.s: Ditto.
1597 * gdb.disasm/t11_logs.exp: Ditto.
1598 * gdb.disasm/t12_bit.s: Ditto.
1599 * gdb.disasm/t12_bit.exp: Ditto.
1600 * gdb.disasm/t13_otr.s: Ditto.
1601 * gdb.disasm/t13_otr.exp: Ditto.
1602
e00759ef
EZ
16032003-07-22 Elena Zannoni <ezannoni@redhat.com>
1604
1605 * gdb.threads/tls.exp :Add kfail for 'info address' case.
1606
8bc2021f
EZ
16072003-07-22 Elena Zannoni <ezannoni@redhat.com>
1608
1609 * gdb.threads/tls.c : New file.
1610 * gdb.threads/tls.exp : New file.
1611 * gdb.threads/tls-main.c : New file.
1612 * gdb.threads/tls-shared.c : New file.
1613 * gdb.threads/tls-shared.exp : New file.
1614
89320c4c
AS
16152003-07-22 Andreas Schwab <schwab@suse.de>
1616
1617 * gdb.asm/powerpc.inc (gdbasm_startup): Force alignment.
1618
180dea7c
AS
16192003-07-20 Andreas Schwab <schwab@suse.de>
1620
1621 * gdb.base/selftest.exp (do_steps_and_nexts): Add more patterns
1622 due to insn reordering.
1623
0714963c
AC
16242003-07-15 Andrew Cagney <cagney@redhat.com>
1625
1626 * gdb.asm/asm-source.exp: Do not allow "start" in the backtrace.
1627
98a23b3f
MC
16282003-07-15 Michael Chastain <mec@shout.net>
1629
1630 * gdb.base/gdb1250.exp: New file.
1631 * gdb.base/gdb1250.c: New file.
1632
27e417a2
ML
16332003-07-09 Michal Ludvig <mludvig@suse.cz>
1634
1635 * gdb.c++/templates.exp (test_ptype_of_templates): Recognize
1636 expansion of size_t to 'unsigned long', not only to 'unsigned'.
1637
8bc2021f
EZ
16382003-07-09 Elena Zannoni <ezannoni@redhat.com>
1639
1640 * gdb.threads/tls.c: New file.
1641 * gdb.threads/tls.exp: New file.
1642 * gdb.threads/tls-main.c: New file.
1643 * gdb.threads/tls-shared.c: New file.
1644 * gdb.threads/tls-shared.exp: New file.
1645
d99968dc
EZ
16462003-07-09 Elena Zannoni <ezannoni@redhat.com>
1647
1648 * gdb.base/annota1.exp: Make sure that we properly escape the
1649 full path of the source file. Xfail more permissive patterns,
d63a86f8 1650 due to a compiler debug info problem.
d99968dc 1651
83876b3b
AS
16522003-07-07 Andreas Schwab <schwab@suse.de>
1653
2705e972
AS
1654 * gdb.asm/m68k.inc: New file.
1655 * gdb.asm/asm-source.exp: Use it for m68k-*-*.
1656
83876b3b
AS
1657 * gdb.objc/basicclass.exp ("Call an Objective-C method with no
1658 arguments"): Also match negative number.
1659
1660 * gdb.base/float.exp ("info float"): Add test for m68k-*-*.
1661
3a871b37
DJ
16622003-07-03 Daniel Jacobowitz <drow@mvista.com>
1663
1664 * gdb.base/store.c (charest): New typedef.
1665 (add_char): Rename to add_charest, update.
1666 (wack_char): Rename to wack_charest, update types. Return l + r
1667 to keep r live across the call.
1668 (wack_short, wack_int, wack_long, wack_longest, wack_float)
1669 (wack_double, wack_doublest): Return l + r to keep r live across
1670 the call.
1671 * gdb.base/store.exp: Accomodate store.c changes.
1672
b2a7f303
DC
16732003-06-30 David Carlton <carlton@kealia.com>
1674
1675 * gdb.c++/maint.exp (test_invalid_name): New.
1676 (test_first_component): Add tests for invalid names.
1677
3c6cb4a1
MC
16782003-06-29 Michael Chastain <mec@shout.net>
1679
1680 * gdb.c++/inherit.exp (test_print_svi_classes): Accept gdb
1681 output of '<VTT for class>' for virtual base classes.
1682
f1c2644b
DJ
16832003-06-29 Daniel Jacobowitz <drow@mvista.com>
1684
1685 * gdb.base/completion.exp: Tab-complete "complet" instead of
1686 "compl".
1687 * gdb.base/complex.exp, gdb.base/complex.c: New files.
1688
18080350
DJ
16892003-06-29 Daniel Jacobowitz <drow@mvista.com>
1690
1691 * gdb.base/constvars.exp: Remove most xfails for GCC 3.x.
1692 * gdb.base/volatile.exp: Likewise.
1693
f56973f8
DJ
16942003-06-29 Daniel Jacobowitz <drow@mvista.com>
1695
1696 * gdb.threads/print-threads.exp (test_all_threads): Add kfail for
1697 gdb/1265.
1698
16992003-06-28 Michael Chastain <mec@shout.net>
48fe539f
DJ
1700 Daniel Jacobowitz <drow@mvista.com>
1701
1702 * gdb.base/selftest.exp (do_steps_and_nexts): Increase maximum
1703 initial line count of 'captured_main' from 26 to 32.
1704 (test_with_self): Allow xmalloc call to be interleaved with the
1705 preceding two lines.
1706
e766d4d6
JB
17072003-06-24 Joel Brobecker <brobecker@gnat.com>
1708
1709 * gdb.base/bang.exp: New testcase.
1710
f125c9a4
JB
17112003-06-23 Joel Brobecker <brobecker@gnat.com>
1712
1713 * gdb.base/langs.exp: Add some tests for the "minimal" language
1714 support.
1715
6e25beaf
EZ
17162003-06-23 Elena Zannoni <ezannoni@redhat.com>
1717
1718 * gdb.objc/basicclass.exp: Return -1 if we cannot compile
1719 the testcase.
1720
2f816dda
DJ
17212003-06-22 Daniel Jacobowitz <drow@mvista.com>
1722
1723 * gdb.base/relocate.exp: Test add-symbol-file with a variable
1724 offset.
1725
db5a5748
DJ
17262003-06-22 Daniel Jacobowitz <drow@mvista.com>
1727
1728 * gdb.c++/pr-1210.cc: New file.
1729 * gdb.c++/pr-1210.exp: New file.
1730
1df0c130
DJ
17312003-06-21 Daniel Jacobowitz <drow@mvista.com>
1732
1733 * lib/mi-support.exp (mi_run_cmd): Expect an MI response to
1734 000-exec-continue.
1735
a92feac0
MK
17362003-06-15 Mark Kettenis <kettenis@gnu.org>
1737
1738 * gdb.base/attach.exp: Use -1 for the ID of a nonexistent process
1739 on *-*-*bsd* instead of *-*-freebsd*.
1740
81a58f5b
AC
17412003-06-14 Andrew Cagney <cagney@redhat.com>
1742
1743 * gdb.base/store.exp: Test longest and doublest. Test all
1744 parameters. Weaken return statement match.
1745 * gdb.base/store.c: Add longest and doublest - aka long long and
1746 long double functions. Put all parameters into local register
1747 variables. Use negative values.
1748
b257a0d3
AC
17492003-06-14 Andrew Cagney <cagney@redhat.com>
1750
1751 * gdb.base/fileio.c: Include <errno.h>, and <sys/wait.h>. Gag
1752 -Wformat errors. Add lost line. Use WEXITSTATUS to get system
1753 exit status.
1754 * gdb.base/fileio.exp: Disable target when nointerrupts and
1755 noinferiorio, instead of limiting it to remote. Use remote_exec
1756 instead of system.
d63a86f8 1757
21c38304
JJ
17582003-06-12 Jeff Johnston <jjohnstn@redhat.com>
1759
1760 * gdb.base/float.exp: Add ia64 support.
1761
1bcdb424
CV
17622003-06-12 Corinna Vinschen <vinschen@redhat.com>
1763
1764 * gdb.base/fileio.exp: Run only on remote targets.
1765
6aeb981f
CV
17662003-06-10 Corinna Vinschen <vinschen@redhat.com>
1767
1768 * gdb.base/fileio.c: New file, testing File-I/O.
1769 * gdb.base/fileio.exp: Ditto.
1770
53df362e
RG
17712003-06-09 Raoul Gough <RaoulGough@yahoo.co.uk>
1772
1773 * gdb.base/shreloc.exp: New file, check symbol values obtained from
1774 shared objects after relocation at load time (gdb PR/1132).
1775 * gdb.base/shreloc.c, gdb.base/shreloc1.c, gdb.base/shreloc2.c:
1776 as above, part of the shared object relocation test.
1777
ffee1b46
MK
17782003-06-08 Mark Kettenis <kettenis@gnu.org>
1779
b5ca3722
MK
1780 * gdb.base/readline.exp: Add tests for operate-and-get-next with a
1781 fully filled history list.
1782 * gdb.base/gdb_history: New file.
1783
03ed860d
MK
1784 * gdb.base/signals.exp: XFAIL "continue to func1" on
1785 i*86-*-freebsd*.
1786
ffee1b46
MK
1787 * gdb.base/attach.exp: When trying to attach to a nonexistent
1788 process, make it possible to specify the PID based on the target,
1789 and do so for *-*-freebsd*.
1790
d80dbb52
RH
17912003-06-02 Richard Henderson <rth@redhat.com>
1792
1793 * gdb.base/float.exp: Add expected regexp for alpha-*-*.
1794
6dd77b81
RH
17952003-06-02 Richard Henderson <rth@redhat.com>
1796
1797 * gdb.base/selftest.exp: Next over lim_at_start initialization.
1798
f6347e16
RH
17992003-06-02 Richard Henderson <rth@redhat.com>
1800
1801 * gdb.base/dump.exp [alpha*-*-*]: Add -taso linker switch.
1802
2c161407
DJ
18032003-06-01 Daniel Jacobowitz <drow@mvista.com>
1804
1805 * gdb.asm/asm-source.exp: Dissassemble from &globalvar instead
1806 of globalvar.
1807
572eb746
MK
18082003-06-01 Mark Kettenis <kettenis@gnu.org>
1809
1810 * gdb.asm/asm-source.exp: Check for memory read errors in
1811 disassembler test on *BSD too.
1812
9e9617a5
RH
18132003-06-01 Richard Henderson <rth@redhat.com>
1814
1815 * gdb.asm/alpha.inc (gdbasm_enter): Use numeric register names
1816 for .frame.
1817 (gdbasm_call): Lose ldgp.
1818 (gdbasm_startup): Add frame information.
1819 * gdb.asm/asm-source.exp (alpha*-*): Add -no-mdebug to asm-flags.
1820
7b34ad4e
MK
18212003-05-31 Mark Kettenis <kettenis@gnu.org>
1822
1823 * gdb.base/float.exp: Expect similar output for x86_64-*-* as for
1824 i?86-*-*.
1825
10059fdf
MK
18262003-05-30 Mark Kettenis <kettenis@gnu.org>
1827
1828 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
1829 FreeBSD.
1830
acf4b816
RH
18312003-05-29 Richard Henderson <rth@redhat.com>
1832
1833 * gdb.asm/alpha.inc: New file.
1834 * gdb.asm/asm-source.exp: Use it.
1835
e9ecd949
JB
18362003-05-29 Jim Blandy <jimb@redhat.com>
1837
1838 * gdb.base/corefile.exp: Find corefiles on Linux, which names them
1839 'core.PID'.
1840
e3e5a4f3
JB
18412003-05-22 Jim Blandy <jimb@redhat.com>
1842
1843 * gdb.base/corefile.exp: Tolerate stuff after argument parens in
1844 backtrace.
d63a86f8 1845
72fe3d25
DC
18462003-05-20 David Carlton <carlton@math.stanford.edu>
1847
1848 * gdb.c++/namespace1.cc: Actually do 'cvs add' before committing
1849 this time.
1850
58da2eb2
DC
18512003-05-19 David Carlton <carlton@bactrian.org>
1852
1853 * gdb.c++/rtti.exp: New file, containing tests for PR c++/488.
1854 * gdb.c++/rtti.h, gdb.c++/rtti1.cc, gdb.c++/rtti2.cc: Ditto.
1855
1fcb5155
DC
18562003-05-19 David Carlton <carlton@bactrian.org>
1857
1858 * gdb.c++/namespace.exp: Add namespace scope and anonymous
1859 namespace tests.
1860 Bump copyright date.
1861 * gdb.c++/namespace.cc: Add anonymous namespace and namespace C.
1862 (main): Call C::D::marker2.
1863 * gdb.c++/namespace1.cc: New file.
1864
85e85163
JJ
18652003-05-14 Jeff Johnston <jjohnstn@redhat.com>
1866
1867 Roland McGrath <roland@redhat.com>
d63a86f8 1868 * gdb.threads/linux-dp.exp: Account for fact that in nptl model
85e85163
JJ
1869 there is no manager thread.
1870
a25fbfec
JJ
18712003-05-08 Jeff Johnston <jjohnstn@redhat.com>
1872
d63a86f8
RM
1873 * gdb.threads/schedlock.exp: Remove assumption that all threads
1874 will run in a particular small time slice. Also ensure we break
a25fbfec
JJ
1875 in one of the child threads rather than the main thread.
1876
be375bae
JB
18772003-05-07 Jim Blandy <jimb@redhat.com>
1878
09bf6082
JB
1879 Add support for assembly source testing on the s390x.
1880 * gdb.asm/asm-source.exp: Add a case for the s390x-*-*
1881 architecture.
1882 * gdb.asm/s390x.inc: New file.
1883
be375bae
JB
1884 * gdb.asm/asm-source.exp: Use a 'switch -glob' statement, not a
1885 succession of 'if' statements.
1886
00905d52
AC
18872003-05-05 Andrew Cagney <cagney@redhat.com>
1888
1889 * gdb.base/maint.exp: Add tests for "maint print dummy-frames".
1890
b1e29e33
AC
18912003-05-05 Andrew Cagney <cagney@redhat.com>
1892
1893 * gdb.base/watchpoint.exp: Rename CALL_DUMMY_BREAKPOINT_OFFSET to
1894 DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET in comments.
1895
e33d66ec
EZ
18962003-05-02 Elena Zannoni <ezannoni@redhat.com>
1897
1898 * gdb.base/charset.exp: Update based on new behavior of set/show
1899 charset commands.
1900
2b6fd0d8
AC
19012003-05-01 Andrew Cagney <cagney@redhat.com>
1902
1903 * gdb.asm/asm-source.exp: Check that "disassm" and "x/i" of a
1904 variable do not give memory errors.
1905
130cacce
AF
19062003-04-30 Adam Fedor <fedor@gnu.org>
1907
1908 * Makefile.in (ALL_SUBDIRS): Add gdb.objc
1909 * configure.in (AC_OUTPUT): Add gdb.objc/Makefile
1910 * gdb.objc/Makefile.in, gdb.objc/basicclass.exp,
1911 gdb.objc/basicclass.m: : New files
1912
1913 * lib/gdb.exp (gdb_compile_objc): New procedure.
1914
bea71854
DJ
19152003-04-27 Daniel Jacobowitz <drow@mvista.com>
1916
1917 * gdb.base/signals.exp: Make backtrace tests more specific.
1918
0f20eeea
DC
19192003-04-23 David Carlton <carlton@bactrian.org>
1920
1921 * gdb.c++/maint.exp (test_first_component): Add tests for
1922 'operator' in more locations.
1923
c8c4d8dc
KB
19242003-04-16 Kevin Buettner <kevinb@redhat.com>
1925
1926 * gdb.base/args.exp: Invoke gdb_load for simulator targets.
1927
3fe60e3c
EZ
19282003-04-16 Elena Zannoni <ezannoni@redhat.com>
1929
1930 * gdb.base/completion.exp: Make 'info func mark' complete on 'info
1931 func marke' instead. Update test name.
1932
9219021c
DC
19332003-04-15 David Carlton <carlton@math.stanford.edu>
1934
1935 * gdb.c++/maint.exp: New file.
1936
5dd55bdd
EZ
19372003-04-14 Elena Zannoni <ezannoni@redhat.com>
1938
1939 * gdb.threads/schedlock.c: Change type of thread function argument
1940 to long, to avoid warnings on 64-bit platforms.
1941
00890572
EZ
19422003-04-14 Elena Zannoni <ezannoni@redhat.com>
1943
1944 * gdb.base/attach.exp: Add new message from ptrace in case of
1945 attaching to nonexistent process.
d63a86f8 1946
93201743
JB
19472003-04-11 Jim Blandy <jimb@redhat.com>
1948
1949 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
1950 gdb.c++/userdef.cc: Place comments on the lines to which the
1951 marker function might return.
1952 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
1953 gdb.c++/userdef.exp: Look for those comments to check that we've
1954 returned to the right place, instead of checking line numbers.
1955
2a11c64d
EZ
19562003-04-11 Elena Zannoni <ezannoni@redhat.com>
1957
1958 * gdb.threads/pthreads.exp (test_startup): When setting a breakpoint
1959 match on sourcefile name, instead of directory name.
1960
68ab8fc5
EZ
19612003-04-10 Elena Zannoni <ezannoni@redhat.com>
1962
d63a86f8 1963 * gdb.base/completion.exp: Use string_to_regexp to match the
68ab8fc5
EZ
1964 working directory name.
1965
5624293a
JB
19662003-04-09 Jim Blandy <jimb@redhat.com>
1967
1968 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
1969 gdb.c++/userdef.exp: If GDB fails to restore the selected frame
1970 after an inferior function call, report the failure, but allow the
1971 test to continue.
1972
f1f02ee4
SC
19732003-04-05 Stephane Carrez <stcarrez@nerim.fr>
1974
1975 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
1976 with -DPROTOTYPES.
1977
6eb79af0
SC
19782003-04-05 Stephane Carrez <stcarrez@nerim.fr>
1979
1980 * gdb.base/break.exp: Revert last patch.
1981
8dfb4cf0
SC
19822003-04-04 Stephane Carrez <stcarrez@nerim.fr>
1983
1984 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
1985 with -DPROTOTYPES.
1986
ed4c619a
AC
19872003-04-02 Andrew Cagney <cagney@redhat.com>
1988
1989 * gdb.base/callfuncs.exp: Make "print add" messages unique.
1990 * gdb.base/ending-run.exp: Put spaces around "breakpoint" to stop
1991 matching directories by the name breakpoint.
1992 * gdb.base/pointers.exp: Make "ptype pppC" message consistent.
1993 Make "continue to marker1" consistent.
1994 * gdb.base/call-rt-st.exp: Make "finish out from loop_count"
1995 message consistent.
1996 * lib/gdb.exp: Put "the program is no longer running", and "the
1997 program exited" in parenthesis.
1998 * lib/mi-support.exp: Ditto.
d63a86f8 1999
4e35d5f0 20002003-04-02 Bob Rossi <bob_rossi@cox.net>
d63a86f8 2001
4e35d5f0
BR
2002 * gdb.mi/mi-file.exp: New file for -file-list-exec-source-file.
2003
71900fe8
AC
20042003-03-29 Andrew Cagney <cagney@redhat.com>
2005
2006 * gdb.base/sizeof.c (main): Print the value of '\377'.
2007 * gdb.base/sizeof.exp: Check the sign of '\377'.
2008
c0655a16
MC
20092003-03-27 Michael Chastain <mec@shout.net>
2010
2011 * gdb.base/gdb1090.exp: New file.
2012 * gdb.base/gdb1090.cc: New file.
2013
5b2a3989
JB
20142003-03-27 J. Brobecker <brobecker@gnat.com>
2015
2016 * gdb.gdb/observer.exp: New regression test.
2017
79876890
MC
20182003-03-27 Michael Chastain <mec@shout.net>
2019
2020 * gdb.base/list.exp: Remove setup_xfail_format for DWARF 1.
2021 * gdb.base/ptype.exp: Likewise.
2022
6eac95e3
CV
20232003-03-27 Corinna Vinschen <vinschen@redhat.com>
2024
2025 * gdb.c++/casts.exp: Fix startup to run also on embedded targets.
2026
e8c71839
MC
20272003-03-26 Michael Chastain <mec@shout.net>
2028
2029 * gdb.base/ptype.exp: Actually use some typedef'd types.
2030
71b10041
SC
20312003-03-21 Stephane Carrez <stcarrez@nerim.fr>
2032
2033 * gdb.asm/asm-source.exp: Set asm-arch for m6811 and m6812.
2034 * gdb.asm/m68hc11.inc: New file for HC11/HC12 macros.
2035
2512cf80
CV
20362003-03-20 Corinna Vinschen <vinschen@redhat.com>
2037
2038 * gdb.base/default.exp: Fix regular expression.
2039
0d195a4f
CV
20402003-03-20 Corinna Vinschen <vinschen@redhat.com>
2041
2042 * gdb.base/args.exp: Fix regular expression.
2043
8a2dbca8
CV
20442003-03-20 Corinna Vinschen <vinschen@redhat.com>
2045
2046 * gdb.base/help.exp: Allow Win32 child process.
2047
bf028682
CV
20482003-03-20 Corinna Vinschen <vinschen@redhat.com>
2049
2050 * gdb.base/ending-run.exp: Check for Cygwin specific wrapper function
2051 when stepping out of main().
2052
182dbe85
CV
20532003-03-20 Corinna Vinschen <vinschen@redhat.com>
2054
2055 * gdb.base/default.exp: Check for win32 specific message when calling
2056 "run" without executable.
2057
d67a6ba5
CV
20582003-03-20 Corinna Vinschen <vinschen@redhat.com>
2059
2060 * gdb.base/args.exp: Expect .exe in output.
2061
a955b5bb
CV
20622003-03-20 Corinna Vinschen <vinschen@redhat.com>
2063
2064 * gdb.asm/asm-source.exp: Add appropriate --entry linker flag for
2065 Cygwin native.
2066
bf6bad4b
AC
20672003-03-17 Andrew Cagney <cagney@redhat.com>
2068
2069 From Elena Zannoni <ezannoni@redhat.com>. Test e500 abi and
2070 vector registes.
2071 * gdb.arch/e500-regs.c, gdb.arch/e500-regs.exp: New files.
2072 * gdb.arch/e500-abi.c, gdb.arch/e500-abi.exp: New files.
2073
293e9a31
DC
20742003-03-17 David Carlton <carlton@math.stanford.edu>
2075
2076 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): New
2077 test, for PR breakpoints/38.
2078 Call test_watchpoint_and_breakpoint.
2079 * gdb.base/watchpoint.c (func3): New function.
2080 (main): Call func3.
2081
5330f2db
DC
20822003-03-04 David Carlton <carlton@math.stanford.edu>
2083
2084 * gdb.c++/templates.exp (do_tests): Accept valid const in "print
2085 Garply<Garply<char> >:: garply".
2086 (test_ptype_of_templates): KFAIL "ptype T5<int>" and "ptype t5i"
2087 with respect to PR c++/1111; note also PR c++/1113.
2088 (test_template_breakpoints): KFAIL "constructor breakpoint" with
2089 respect to PR c++/1062.
2090 KFAIL "destructor breakpoint" with respect to PR c++/1112.
2091
6ece72da
DC
20922003-03-03 David Carlton <carlton@math.stanford.edu>
2093
2094 * gdb.c++/classes.exp (test_enums): KFAIL "ptype obj_with_enum"
2095 with respect to PR c++/57.
2096 KFAIL "print (ClassWithEnum::PrivEnum) 42" with respect to PR
2097 c++/826.
2098 Create "print ('ClassWithEnum::PrivEnum') 42"; KFAIL it with
2099 respect to PR c++/57.
2100
85ca1584
DC
21012003-03-03 David Carlton <carlton@math.stanford.edu>
2102
2103 * gdb.c++/templates.exp (do_tests): Convert the KFAILs with
2104 respect to PR c++/33 into FAILs.
2105
98e9c5b8
MC
21062003-03-03 Michael Chastain <mec@shout.net>
2107
7bedbf27
MC
2108 * configure.in: Update copyright years.
2109
21102003-03-03 Michael Chastain <mec@shout.net>
2111
2112 * Makefile.in: Update copyright years.
98e9c5b8 2113
f683e100
DC
21142003-02-28 David Carlton <carlton@math.stanford.edu>
2115
2116 * gdb.c++/classes.exp (test_ptype_class_objects): Accept it if we
2117 print class instead of struct and/or superfluous protection
2118 specifiers, as long as the resulting output is equivalent to the
2119 source code.
2120 Delete FIXME from end of messages on tests that don't need
2121 fixing.
2122
a9e0cf2c
DC
21232003-02-28 David Carlton <carlton@math.stanford.edu>
2124
2125 * gdb.c++/templates.exp (do_tests): Allow const in the two
2126 Foo<volatile char *>::foo tests.
2127
e8d359df
MS
21282003-02-27 Michael Snyder <msnyder@redhat.com>
2129
d63a86f8 2130 * gdb.base/restore.c (main): Return zero, so exit code
e8d359df
MS
2131 will be consistant.
2132
0b71dc91
DC
21332003-02-26 David Carlton <carlton@math.stanford.edu>
2134
2135 * gdb.c++/templates.exp (do_tests): KFAIL the "print Foo<volatile
2136 char *>::foo" test with respect to PR c++/33. Create a new test
2137 which is identical to that one except that it doesn't put the
2138 space between the "char" and the "*"; KFAIL it, too.
2139
dd14ab43
DC
21402003-02-26 David Carlton <carlton@math.stanford.edu>
2141
2142 * gdb.c++/templates.exp (do_tests): Convert XFAILs about printing
2143 template types into either PASSes or KFAILs (corresponding to PR
2144 c++/57). Tweak indentation. Update copyright.
2145
1146c7f1
SC
21462003-02-23 Stephane Carrez <stcarrez@nerim.fr>
2147
2148 * lib/gdb.exp: Don't execute C++ tests on m6811/m6812 targets.
2149
74641dfb
MC
21502003-02-13 Michael Chastain <mec@shout.net>
2151
2152 * gdb.base/exprs.exp: Remove i960 remnants.
2153 * gdb.base/funcargs.exp: Likewise.
2154 * gdb.base/list.exp: Likewise.
2155 * gdb.base/ptype.exp: Likewise.
2156
559cd2d0
DC
21572003-02-14 David Carlton <carlton@math.stanford.edu>
2158
2159 * gdb.c++/virtfunc.exp (test_virtual_calls): Change 'print
2160 pEe->D::vg()" from XFAIL to KFAIL.
2161
c4f90d87
JM
21622003-02-13 Jason Molenda (jmolenda@apple.com)
2163
2164 * gdb.base/maint.exp: Update maint print statistics regexp to include
2165 new entries.
2166
cbc4d97c
MC
21672003-02-13 Michael Chastain <mec@shout.net>
2168
2169 * gdb.c++/inherit.exp: Remove call to get_debug_format.
2170
40f235b7
MC
21712003-02-12 Michael Chastain <mec@shout.net>
2172
2173 * gdb.c++/classes.exp: Remove setup_xfail_format for DWARF 1.
2174 * gdb.c++/inherit.exp: Likewise.
2175 * gdb.c++/cplusfuncs.exp: Remove suppression logic for DWARF 1.
2176 * gdb.c++/templates.exp: Likewise.
2177 * gdb.c++/virtfunc.exp: Likewise.
2178
c56716b0
JM
21792003-02-06 Jason Molenda (jason-cl@molenda.com)
2180
2181 * gdb.mi/mi-syn-frame.c (subroutine): Add a comment explaining
2182 why the code is written that way.
2183
070afcf8
MC
21842003-02-05 Michael Chastain <mec@shout.net>
2185
2186 * gdb.base/dump.exp: Add missing copyright line.
2187
5d0331e5
JM
21882003-02-05 Jason Molenda (jason-cl@molenda.com)
2189
f7ae6d3e 2190 * gdb.mi/mi-syn-frame.c (subroutine): Add an extra statement
5d0331e5
JM
2191 at the beginning so the breakpoint doesn't get set on the loop.
2192
92851186
MC
21932003-02-05 Michael Chastain <mec@shout.net>
2194
2195 * gdb.c++/local.exp: Relax the test for PR gdb/825 to accept
2196 output for configurations with gcc 2.95.3.
2197
cbf1e085
AC
21982003-02-05 Keith Seitz <keiths@redhat.com>
2199 Andrew Cagney <ac131313@redhat.com>
2200
2201 * gdb.mi/mi-cli.exp: New file.
d63a86f8 2202
29518e1e
MC
22032003-02-04 Michael Chastain <mec@shout.net>
2204
2205 * gdb.c++/anon-union.exp: Do not call gdb_suppress_entire_file.
2206 Call perror and then continue.
2207
5af1d5f3
MC
22082003-02-03 Michael Chastain <mec@shout.net>
2209
2210 * gdb.c++/pr-1023.cc: New file.
2211 * gdb.c++/pr-1023.exp: New file.
2212
6b549786
JB
22132003-02-05 Jim Blandy <jimb@redhat.com>
2214
2215 * gdb.c++/local.exp: Don't expect Local to be in scope in main;
2216 it's local to foobar. Check for it there, and check that it's not
2217 present in main.
2218 * gdb.c++/local.cc (marker2): New function.
2219 (foobar): Call marker1.
2220 (main): Call marker2 instead of marker1.
2221
67f16606
AC
22222003-02-04 Andrew Cagney <ac131313@redhat.com>
2223
2224 * gdb.disasm/mn10200.exp: Obsolete file.
2225 * gdb.trace/Makefile.in (clean mostlyclean): Remove mn10200.
2226 * gdb.disasm/Makefile.in (clean mostlyclean): Remove mn10200.
2227 * gdb.base/watchpoint.exp: Mark the mn10200 xfails as obsolete.
2228
1c5cb38e
DC
22292003-02-04 David Carlton <carlton@math.stanford.edu>
2230
2231 * gdb.c++/overload.exp: Test intToChar(1).
2232 * gdb.c++/overload.cc (intToChar): New.
2233 (main): Call intToChar.
2234
d1fe6965
DC
22352003-02-03 David Carlton <carlton@math.stanford.edu>
2236
2237 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): Add
2238 'might_kfail' arg.
2239 KFAIL some of the continue_to_bp_overloaded calls, according to
2240 PR c++/1025.
2241
9ba61c5d
MC
22422003-02-01 Michael Chastain <mec@shout.net>
2243
2244 * gdb.base/advance.c (marker1): New marker function.
2245 * gdb.base/advance.exp: When the 'advance' command lands on the
2246 return breakpoint, it can legitimately stop on either the
2247 current line or the next line. Accommodate both outcomes.
2248 * gdb.base/until.exp: Likewise.
2249
e7494ffb
AC
22502003-02-02 Andrew Cagney <ac131313@redhat.com>
2251
2252 2002-11-10 Jason Molenda (jason-cl@molenda.com):
2253 * gdb.mi/mi-var-child.exp: -var-list-children's CHILDREN field is
2254 now a list, not a tuple.
2255 * gdb.mi/mi-var-display.exp: Ditto.
2256 * gdb.mi/gdb792.exp: Ditto.
2257
075559bc
AC
22582003-02-01 Andrew Cagney <ac131313@redhat.com>
2259
2260 From 2002-11-09 Jason Molenda (jason-cl@molenda.com):
2261 * gdb.mi/mi-syn-frame.exp: New tests for synthetic frames in
2262 stack backtraces.
2263 * gdb.mi/mi-syn-frame.c: Part of same.
2264
2bd4c7b1
MK
22652003-02-01 Mark Kettenis <kettenis@gnu.org>
2266
2267 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
2268 gdb.mi/mi1-pthreads.exp: Return instead of calling
2269 gdb_suppress_entire_file.
2270
eabd8992
MS
22712003-02-01 Mark Salter <msalter@redhat.com>
2272
2273 * gdb.asm/arm.inc (gdbasm_startup): Clear frame pointer, not sp.
2274
71469e2f
MS
22752003-01-31 Mark Salter <msalter@redhat.com>
2276
2277 * lib/mi-support.exp (mi_gdb_load): Support remote targets.
2278 Support empty arg.
2279
38a94d44
MC
22802003-01-30 Michael Chastain <mec@shout.net>
2281
2282 * lib/gdb.exp: Revert patch of 2003-01-06, which set LC_ALL.
2283 This was a workaround for a UTF-8 bug in readline 4.3. The bug
2284 has been fixed in gdb/readline on 2003-01-09.
2285
19ea9e73
MS
22862003-01-29 Michael Snyder <msnyder@redhat.com>
2287
e8d359df
MS
2288 * gdb.base/maint.exp: Allow for leading underscore in symbol.
2289 * gdb.base/display.exp: Allow for leading underscore in symbol.
19ea9e73
MS
2290 * gdb.base/args.exp: Skip if target does not support args passing.
2291
2307bd6a
DJ
22922003-01-22 Daniel Jacobowitz <drow@mvista.com>
2293
19ea9e73 2294 * lib/gdb.exp (gdb_test_multiple): New function, cloned from
2307bd6a
DJ
2295 gdb_test. Accept a list of expect arguments as the third
2296 parameter.
2297 (gdb_test): Use it.
2298
f2dd3617
EZ
22992003-01-20 Elena Zannoni <ezannoni@redhat.com>
2300
2301 * gdb.arch/altivec-abi.exp: Set variable 'srcfile' differently, to
2302 allow for different test tree configurations. Update some
2303 tescases accordingly.
2304 * gdb.arch/altivec-regs.exp: Ditto.
2305 * gdb.asm/asm-source.exp: Ditto.
2306 * gdb.base/advance.exp: Ditto.
2307 * gdb.base/display.exp: Ditto.
d63a86f8 2308 * gdb.base/long_long.exp: Ditto.
f2dd3617
EZ
2309 * gdb.base/mips_pro.exp: Ditto.
2310 * gdb.base/overlays.exp: Ditto.
2311 * gdb.base/relocate.exp: Ditto.
2312 * gdb.base/setshow.exp: Ditto.
2313 * gdb.base/step-line.exp: Ditto.
2314 * gdb.base/step-test.exp: Ditto.
2315 * gdb.base/until.exp: Ditto.
2316 * gdb.c++/virtfunc.exp: Get rid of variable 'src'.
2317
c71cdefd
DC
23182003-01-17 David Carlton <carlton@math.stanford.edu>
2319
2320 * gdb.c++/demangle.exp (test_lucid_style_demangling): KFAIL test
2321 corresponding to PR c++/945.
2322 Update copyright.
2323
fdba05d7
DC
23242003-01-17 David Carlton <carlton@math.stanford.edu>
2325
2326 * gdb.c++/inherit.exp (test_print_mi_members): KFAIL tests
2327 corresponding to PR c++/68.
2328
23292003-01-17 David Carlton <carlton@math.stanford.edu>
d2b29e01
DC
2330
2331 * gdb.c++/cplusfuncs.exp (print_addr_2_kfail): New procedure.
2332 (test_paddr_hairy_functions): Call print_addr_2_kfail for
2333 hairyfunc5 through hairyfunc7. KFAIL for PR c++/19.
2334
c362c33a
EZ
23352003-01-15 Elena Zannoni <ezannoni@redhat.com>
2336
0fbc361c
EZ
2337 * gdb.base/break.exp: Fix change of default location, because of
2338 removal of until tests.
2339 * gdb.base/help.exp: Update test for new 'until' help message.
2340 Add test for help on 'advance'.
c362c33a
EZ
2341 * gdb.base/args.exp: Fix foobar with GDBFLAGS global.
2342
dabf8a35
MK
23432003-01-15 Mark Kettenis <kettenis@gnu.org>
2344
2345 * gdb.base/default.exp: Adapt "info float" test for recent changes
2346 to that command. Add test for "info vector".
2347 * gdb.base/float.exp: New file. Add test for "info float" that
2348 resembles the old test in gdb.base/default.exp.
2349
a1769aca
DC
23502003-01-15 David Carlton <carlton@math.stanford.edu>
2351
2352 * gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot.
2353
82025e13
EZ
23542003-01-15 Elena Zannoni <ezannoni@redhat.com>
2355
2356 * gdb.base/break.exp: Move the tests of until command from here...
2357 * gdb.base/until.exp: ... to here. New file. Add other tests.
2358 * gdb.base/advance.c: New file.
2359 * gdb.base/advance.exp: New file.
2360
8f9ab801
EZ
23612003-01-14 Elena Zannoni <ezannoni@redhat.com>
2362
2363 * gdb.base/args.c: New file.
2364 * gdb.base/args.exp: New file.
2365
9ae66589
DJ
23662003-01-14 Daniel Jacobowitz <drow@mvista.com>
2367
2368 * gdb.c++/virtfunc.exp: Remove fixed XFAIL.
2369
8d77e5c3
DJ
23702003-01-14 Daniel Jacobowitz <drow@mvista.com>
2371
2372 * gdb.threads/killed.exp: Use KFAIL for gdb/568.
2373
12d2f0a1
DJ
23742003-01-14 Daniel Jacobowitz <drow@mvista.com>
2375
2376 * gdb.base/constvars.exp: Remove two extra XFAILs. Update copyright
2377 dates.
2378
6ca37014
DJ
23792003-01-13 Daniel Jacobowitz <drow@mvista.com>
2380
2381 * gdb.c++/printmethod.exp (print virtual method): Accept "(void)".
2382
b0023472
DJ
23832003-01-13 Daniel Jacobowitz <drow@mvista.com>
2384
2385 * gdb.base/printcmds.exp: Enable setup_kfail for gdb/538
2386 (ptype &*"foo").
2387 * gdb.c++/local.exp: Enable setup_kfail for gdb/482.
2388
d6abaea5
DJ
23892002-01-13 Daniel Jacobowitz <drow@mvista.com>
2390
2391 * gdb.mi/mi-console.exp: Remove extra "(known bug)".
2392 * gdb.mi/mi1-console.exp: Likewise.
2393
dfd536a7
DJ
23942002-01-13 Daniel Jacobowitz <drow@mvista.com>
2395
2396 * gdb.mi/mi-console.exp: Add KFAIL for "Hello message (known bug)".
2397 * gdb.mi/mi1-console.exp: Likewise.
2398
a1fb14a2
DJ
23992003-01-13 Daniel Jacobowitz <drow@mvista.com>
2400
2401 * gdb.c++/overload.exp: Remove some fixed XFAILs.
2402
c4cf40b7
DJ
24032003-01-09 Daniel Jacobowitz <drow@mvista.com>
2404
2405 * gdb.base/detach.exp: New test.
2406
696d5a5b
DJ
24072003-01-09 Daniel Jacobowitz <drow@mvista.com>
2408
2409 * Makefile.in (ALL_SUBDIRS): New variable.
2410 (subdirs, clean, distclean): Use it.
2411 * gdb.arch/Makefile.in: Clean up Makefile. Remove rules for
2412 regenerating Makefile, since it is generated from the top level.
2413 * gdb.asm/Makefile.in: Likewise.
2414 * gdb.base/Makefile.in: Likewise.
2415 * gdb.c++/Makefile.in: Likewise.
2416 * gdb.disasm/Makefile.in: Likewise.
2417 * gdb.java/Makefile.in: Likewise.
2418 * gdb.mi/Makefile.in: Likewise.
2419 * gdb.threads/Makefile.in: Likewise.
2420 * gdb.trace/Makefile.in: Likewise.
2421
754533e4
DC
24222003-01-09 David Carlton <carlton@math.stanford.edu>
2423
2424 * gdb.c++/annota2.exp: KFAIL "watch triggered on a.x".
2425 Add copyright year 2003.
2426
d8b3e9ee
MC
24272003-01-06 Michael Chastain <mec@shout.net>
2428
2429 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set):
2430 When selecting a thread, 'line' and 'file' are optional.
2431 * gdb.mi/mi1-pthreads.exp: Likewise.
2432
8e9e0fe6
AS
24332003-01-06 Andreas Schwab <schwab@suse.de>
2434
2435 * lib/gdb.exp: Set LC_ALL to "C" to avoid spurious testsuite
2436 failures.
2437
b5ab8ff3
DJ
24382003-01-04 Daniel Jacobowitz <drow@mvista.com>
2439
2440 Fix PR gdb/844
2441 * lib/gdb.exp (gdb_compile): Handle "quiet" option.
2442 (gdb_compile_pthreads): Pass "quiet" to gdb_compile.
2443
2444 * gdb.threads/gcore-thread.exp: Use gdb_compile_pthreads. Return
2445 instead of calling gdb_suppress_entire_file.
2446 * gdb.threads/print-threads.exp: Likewise.
2447 * gdb.threads/schedlock.exp: Likewise.
2448
2449 * gdb.threads/killed.exp: Return instead of calling
2450 gdb_suppress_entire_file.
2451 * gdb.threads/linux-dp.exp: Likewise.
2452 * gdb.threads/pthreads.exp: Likewise.
2453
1e698235
DJ
24542003-01-04 Daniel Jacobowitz <drow@mvista.com>
2455
2456 * gdb.base/callfuncs.exp: Don't XFAIL unprototyped functions for
2457 stabs.
2458 * gdb.base/completion.exp: Allow marker1(void) as well as marker1().
2459 * gdb.base/whatis.exp: Always allow (void) after function names.
2460
147ff08c
DJ
24612003-01-04 Daniel Jacobowitz <drow@mvista.com>
2462
2463 * gdb.c++/casts.exp: Correct regexp.
2464
dc62bfc2
MK
24652003-01-04 Mark Kettenis <kettenis@gnu.org>
2466
2467 * configure.in: Call AC_CONFIG_HEADER. Don't call
2468 AC_CONFIG_SUBDIRS on gdb.arch, gdb.asm, gdb.base gdb.c++ gdb.java,
2469 gdb.disasm, gdb.mi, gdb.threads and gdb.trace. Call
2470 AC_CHECK_HEADERS on pthread.h. Put Makefiles in the
2471 aforementioned directories in the AC_OUPUT call.
2472 * config.hin: New file.
2473 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
2474 gdb.mi/mi1-pthreads.exp, gdb.threads/gcore-thread.exp,
2475 gdb.threads/killed.exp, gdb.threads/print-threads.exp,
2476 gdb.threads/pthreads.exp, gdb.threads/schedlock.exp: Make sure we
2477 pass -I$objdir instead of -I$objdir/$subdir in compilation.
2478 * gdb.arch/configure.in, gdb.arch/configure, gdb.asm/configure.in,
2479 gdb.asm/configure, gdb.base/configure.in, gdb.base/configure,
2480 gdb.c++/configure.in, gdb.c++/configure, gdb.disasm/configure.in,
2481 gdb.disasm/configure, gdb.java/configure.in, gdb.java/configure,
2482 gdb.mi/configure.in, gdb.mi/configure, gdb.mi/config.in,
2483 gdb.threads/configure.in, gdb.threads/configure,
2484 gdb.threads/config.in, gdb.trace/configure.in,
2485 gdb.trace/configure: Removed.
2486
77afa639
MC
24872003-01-03 Michael Chastain <mec@shout.net>
2488
2489 * gdb.base/miscexprs.c: Fix PR gdb/697, "buglet in
2490 testsuite/gdb.base/miscexprs.c, off-by-1 array reference".
2491
7634bb6e
DJ
24922003-01-03 Daniel Jacobowitz <drow@mvista.com>
2493
2494 * gdb.base/store.exp: Fix regular expressions.
2495
b39c905e
MK
24962002-12-28 Mark Kettenis <kettenis@gnu.org>
2497
2498 * configure.in: Rewrite.
2499 * configure: Regenerated.
2500
0a8551dd
DC
25012003-01-03 David Carlton <carlton@math.stanford.edu>
2502
2503 * gdb.base/psymtab.exp: New file.
2504 * gdb.base/psymtab1.c: Ditto.
2505 * gdb.base/psymtab2.c: Ditto.
2506
c60b7188
AF
25072002-12-23 Adam Fedor <fedor@gnu.org>
2508
2509 * gdb.base/maint.exp: Update expect output to include 'ObjC'.
2510
ee73db83
DC
25112002-12-23 David Carlton <carlton@math.stanford.edu>
2512
2513 * gdb.base/selftest.exp (do_steps_and_nexts): Allow initial brace
2514 and current_directory initialization.
2515
d6c1774e
JB
25162002-12-22 Jim Blandy <jimb@redhat.com>
2517
f0a847b8
JB
2518 * gdb.trace/tfind.exp: Pass '-O1' flag via the 'optimize' option,
2519 rather than as part of the output file name.
2520
d6c1774e
JB
2521 * gdb.base/attach.exp: There's no need to copy the test program to
2522 /tmp; that was only ever necessary on HP/UX, and this test is
2523 entirely disabled there anyway.
2524
f0708dbb
JB
25252002-12-21 Jim Blandy <jimb@redhat.com>
2526
4c2acfea
JB
2527 * gdb.c++/psmang.exp: Doc fix.
2528
f0708dbb
JB
2529 * gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: New
2530 test.
2531
9579e000
DC
25322002-12-20 David Carlton <carlton@math.stanford.edu>
2533
2534 * gdb.c++/annota2.exp: KFAIL annotate-quit.
2535
d1810171
MC
25362002-12-18 Michael Chastain <mec@shout.net>
2537
2538 * gdb.c++/annota2.exp: Add copyright year 2002.
2539
76565097
DC
25402002-12-17 David Carlton <carlton@math.stanford.edu>
2541
2542 * gdb.c++/try_catch.cc: Add marker comments.
2543 * gdb.c++/try_catch.exp: Get line numbers from marker comments.
2544 * gdb.c++/m-data.cc: Delete namespace __gnu_test.
2545 * gdb.c++/m-static.cc: Ditto.
2546 * gdb.c++/m-static1.cc: Ditto.
2547 * gdb.c++/try_catch.cc: Ditto.
2548
da81390b
JJ
25492002-12-16 Jeff Johnston <jjohnstn@redhat.com>
2550
2551 * lib/mi-support.exp (mi_reinitialize_dir): Check mi level
2552 to see whether we are using the new -environment-directory
2553 command which resets via -r or the old version of the command
2554 which may prompt the user. Part of fix for gdb/741.
2555
b304d130
AC
25562002-12-13 Andrew Cagney <ac131313@redhat.com>
2557
2558 * gdb.fortran/types.exp: Update obsolete comment.
2559 * gdb.fortran/exprs.exp: Ditto.
2560 * lib/gdb.exp: Delete obsolete code.
2561 * gdb.chill/ChangeLog, gdb.chill/Makefile.in: Delete.
2562 * gdb.chill/builtins.ch, gdb.chill/builtins.exp: Delete.
2563 * gdb.chill/callch.ch, gdb.chill/callch.exp: Delete.
2564 * gdb.chill/chexp.exp, gdb.chill/chillvars.ch: Delete.
2565 * gdb.chill/chillvars.exp, gdb.chill/configure: Delete.
2566 * gdb.chill/configure.in, gdb.chill/enum.ch: Delete.
2567 * gdb.chill/enum.exp, gdb.chill/func1.ch: Delete.
2568 * gdb.chill/gch1041.ch, gdb.chill/gch1041.exp: Delete.
2569 * gdb.chill/gch1272.ch, gdb.chill/gch1272.exp: Delete.
2570 * gdb.chill/gch1280.ch, gdb.chill/gch1280.exp: Delete.
2571 * gdb.chill/gch922.ch, gdb.chill/gch922.exp: Delete.
2572 * gdb.chill/gch981.ch, gdb.chill/gch981.exp: Delete.
2573 * gdb.chill/misc.ch, gdb.chill/misc.exp: Delete.
2574 * gdb.chill/powerset.ch, gdb.chill/powerset.exp: Delete.
2575 * gdb.chill/pr-4975-grt.ch, gdb.chill/pr-4975.ch: Delete.
2576 * gdb.chill/pr-4975.exp, gdb.chill/pr-5016.ch: Delete.
2577 * gdb.chill/pr-5016.exp, gdb.chill/pr-5020.ch: Delete.
2578 * gdb.chill/pr-5020.exp, gdb.chill/pr-5022.ch: Delete.
2579 * gdb.chill/pr-5022.exp, gdb.chill/pr-5646-grt.ch: Delete.
2580 * gdb.chill/pr-5646.ch, gdb.chill/pr-5646.exp: Delete.
2581 * gdb.chill/pr-5984.ch, gdb.chill/pr-5984.exp: Delete.
2582 * gdb.chill/pr-6292.ch, gdb.chill/pr-6292.exp: Delete.
2583 * gdb.chill/pr-6632-grt.ch, gdb.chill/pr-6632.ch: Delete.
2584 * gdb.chill/pr-6632.exp, gdb.chill/pr-8134.exp: Delete.
2585 * gdb.chill/pr-8136.ch, gdb.chill/pr-8136.exp: Delete.
2586 * gdb.chill/pr-8405.ch, gdb.chill/pr-8405.exp: Delete.
2587 * gdb.chill/pr-8742.ch, gdb.chill/pr-8742.exp: Delete.
2588 * gdb.chill/pr-8894-grt.ch, gdb.chill/pr-8894.ch: Delete.
2589 * gdb.chill/pr-8894.exp, gdb.chill/pr-9095.ch: Delete.
2590 * gdb.chill/pr-9095.exp, gdb.chill/pr-9946.ch: Delete.
2591 * gdb.chill/pr-9946.exp, gdb.chill/result.ch: Delete.
2592 * gdb.chill/result.exp, gdb.chill/string.ch: Delete.
2593 * gdb.chill/string.exp, gdb.chill/tests1.ch: Delete.
2594 * gdb.chill/tests1.exp, gdb.chill/tests2.ch: Delete.
2595 * gdb.chill/tests2.exp, gdb.chill/tuples.ch: Delete.
2596 * gdb.chill/tuples.exp, gdb.chill/xstruct-grt.ch: Delete.
2597 * gdb.chill/xstruct.ch, gdb.chill/xstruct.exp: Delete.
2598
a23b6e6a
DC
25992002-12-11 David Carlton <carlton@math.stanford.edu>
2600
2601 * gdb.c++/m-data.exp: Add test for members that shadow global
2602 variables: see PR gdb/804.
2603 * gdb.c++/m-data.cc: Ditto.
2604
6604731b
DJ
26052002-12-10 Daniel Jacobowitz <drow@mvista.com>
2606
2607 * gdb.base/foll-vfork.exp: Re-enable test on HP/UX.
2608
de46ecd7
DC
26092002-12-06 David Carlton <carlton@math.stanford.edu>
2610
2611 * gdb.base/store.c: Don't declare functions static.
2612
27e829d0
AC
26132002-12-04 Andrew Cagney <ac131313@redhat.com>
2614
2615 * gdb.base/store.exp, gdb.base/store.c: New files.
2616
92806416
DJ
26172002-12-03 Daniel Jacobowitz <drow@mvista.com>
2618
2619 * gdb.base/selftest.exp: Update for current gdb.
2620
3bcbaac5
DJ
26212002-12-03 Daniel Jacobowitz <drow@mvista.com>
2622
2623 * gdb.base/maint.exp: Only dump symbols from one source file
2624 or objfile.
2625
f4f00b1f
DJ
26262002-12-03 Daniel Jacobowitz <drow@mvista.com>
2627
2628 * gdb.base/step-test.exp: Allow MIPS to return to the line of a
2629 function call.
2630
f1c8a949
JB
26312002-11-25 Jim Blandy <jimb@redhat.com>
2632
2633 * lib/mi-support.exp (mi_delete_breakpoints): Change name of
2634 function appearing in error message.
2635
9e297a97
DJ
26362002-11-21 Daniel Jacobowitz <drow@mvista.com>
2637
2638 * gdb.base/maint.exp (help maint dump-me): Update with typo fix.
2639
1f312e79
JJ
26402002-11-08 Jeff Johnston <jjohnstn@redhat.com>
2641
d63a86f8
RM
2642 * lib/mi-support.exp (mi_gdb_start): Verify the startup message
2643 for mi1 and current mi is in correct format. New mi startup message
1f312e79
JJ
2644 should be in mi console format. This is part of fix for PR gdb/604.
2645
83c31e7d
FN
26462002-09-18 Fernando Nasser <fnasser@redhat.com>
2647
2648 * gdb.asm/asm-source.exp: Adjust patter to new disassembler routine
2649 which explicitly prints the zero offset as "+0".
2650
322b3f65
DJ
26512002-10-22 Daniel Jacobowitz <drow@mvista.com>
2652
2653 * gdb.threads/schedlock.c (args): Make unsigned.
2654
26552002-10-21 Daniel Jacobowitz <drow@mvista.com>
2656
2657 * gdb.asm/asm-source.exp: Add "mips*-*" pattern. Update line
2658 numbers. Allow "foo2|selected stack frame".
2659 * gdb.asm/asmsrc1.s: Use gdbasm_declare and gdbasm_end.
2660 * gdb.asm/asmsrc2.s: Likewise.
2661 * gdb.asm/common.inc: Define gdbasm_declare and gdbasm_end. Update
2662 comments.
2663 * gdb.asm/mips.inc: New file.
2664
5e2fe5b8
AF
26652002-10-18 Adam Fedor <fedor@gnu.org>
2666
2667 * gdb.base/default.exp: Update expected output to include 'ObjC'.
2668 * gdb.base/help.exp: Likewise.
2669
abe1a5d0
KB
26702002-10-17 Kevin Buettner <kevinb@redhat.com>
2671
2672 * gdb.base/constvars.c (struct crass, struct crisp): New structs.
2673 * gdb.base/constvars.exp (ptype crass, ptype crisp): New tests.
2674
10abb1d4
JB
26752002-10-02 Jim Blandy <jimb@redhat.com>
2676
2677 * gdb.c++/casts.cc, gdb.c++/casts.exp: New test.
2678
1f609b42
AC
26792002-10-01 Andrew Cagney <ac131313@redhat.com>
2680
2681 * mi1-basics.exp: Copy of mi1-basics.exp MIFLAGS set "-i=mi1".
2682 * mi1-break.exp, mi1-console.exp, mi1-disassemble.exp: Ditto.
2683 * mi1-eval.exp, mi1-hack-cli.exp, mi1-pthreads.exp: Ditto.
2684 * mi1-read-memory.exp, mi1-regs.exp, mi1-return.exp: Ditto.
2685 * mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp: Ditto.
2686 * mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp: Ditto.
2687 * mi1-var-cmd.exp, mi1-var-display.exp, mi1-watch.exp: Ditto.
2688
0aee02e4
AC
26892002-09-29 Andrew Cagney <ac131313@redhat.com>
2690
2691 * mi0-basics.exp, mi0-break.exp, mi0-console.exp: Delete.
2692 * mi0-disassemble.exp, mi0-eval.exp: Delete.
2693 * mi0-hack-cli.exp, mi0-read-memory.exp: Delete.
2694 * mi0-regs.exp, mi0-return.exp, mi0-simplerun.exp: Delete.
2695 * mi0-stack.exp, mi0-stepi.exp, mi0-until.exp: Delete.
2696 * mi0-var-block.exp, mi0-var-child.exp: Delete.
2697 * mi0-var-cmd.exp, mi0-var-display.exp, mi0-watch.exp: Delete.
d63a86f8 2698
6fde09ad
KB
26992002-09-27 Kevin Buettner <kevinb@redhat.com>
2700
2701 * gdb.base/annota1.exp (info break): Make directory components of
2702 path optional since not all compilers emit this debug information.
2703
2704 * gdb.base/shlib-call.exp (step inside shr2): Don't fail if first
2705 step ends up stepping out of the function instead of stopping on
2706 the epilogue.
2707
9e8aab75
KS
27082002-09-26 Keith Seitz <keiths@redhat.com>
2709
2710 * lib/insight-support.exp (gdbtk_start): Figure out where
2711 the insight executable is based on where gdb is. Use this
2712 executable to start insight instead of gdb.
2713
e36180d7
AC
27142002-09-25 Andrew Cagney <cagney@redhat.com>
2715
2716 * gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
2717
9dd34b2b
AC
27182002-09-24 Andrew Cagney <ac131313@redhat.com>
2719
2720 * gdb.gdb/complaints.exp (test_initial_complaints): Rename
2721 test_isolated_complaints.
2722 (test_empty_complaint): New function.
2723 (test_empty_complaints): New function. Check no output when no
2724 complaints.
d63a86f8 2725
dea97812
KB
27262002-09-19 Jim Blandy <jimb@redhat.com>
2727
2728 * gdb.base/charset.exp, gdb.base/charset.c: New files.
2729
54951bd7
AC
27302002-09-19 Andrew Cagney <ac131313@redhat.com>
2731
2732 * gdb.gdb/complaints.exp: New file.
2733
dec43320
AC
27342002-09-18 Andrew Cagney <ac131313@redhat.com>
2735
2736 * gdb.base/maint.exp: Check `help maint internal-warning'.
2737
e70d6e3f
DC
27382002-09-18 David Carlton <carlton@math.stanford.edu>
2739
2740 * gdb.c++/m-static.exp: Remove breakpoints depending on line
2741 numbers, and replace them by a single breakpoint after the
2742 constructors are all finished.
2743 Add test 4.
2744 * gdb.c++/m-static.cc: Add test 4.
2745 * gdb.c++/m-static.h: New file.
2746 * gdb.c++/m-static1.cc: New file.
2747
2748 * gdb.c++/printmethod.exp: New file.
2749 * gdb.c++/printmethod.cc: New file.
2750
2751 * gdb.c++/pr-574.exp: New file.
2752 * gdb.c++/pr-574.cc: New file.
2753
afb5c968
CV
27542002-09-18 Corinna Vinschen <vinschen@redhat.com>
2755
2756 * gdb.base/ending-run.exp: Add handling of "step to end of run" for
2757 embedded targets which never actually exit.
2758
31e45dee
FN
27592002-09-18 Fernando Nasser <fnasser@redhat.com>
2760
2761 * gdb.base/ending-run.exp: Properly mark "continue after exit" and
2762 "don't step after run" as unresolved or unsupported, instead of xfail.
2763
a283c5a1
CV
27642002-09-18 Corinna Vinschen <vinschen@redhat.com>
2765
2766 * gdb.base/ending-run.exp: Fix expected string for _wrap_main to
2767 allow correct handling of #ifdef UNDERSCORES from dejagnu/testglue.c.
2768 Add newline to expected string in "step out of main (status wrapper)"
2769 case.
2770
11350d2a
CV
27712002-09-18 Corinna Vinschen <vinschen@redhat.com>
2772
2773 * lib/gdb.exp (rerun_to_main): Allow restarting application.
2774 * gdb.base/ena-dis-br.exp (rerun_to_main): Eliminate.
2775
0deec7d6
TT
27762002-09-17 Tom Tromey <tromey@redhat.com>
2777
2778 * gdb.base/printcmds.exp (test_print_string_constants): Expect
2779 \000, not \0, in double-quoted string.
2780
b2b4a1b5
CV
27812002-09-14 Corinna Vinschen <vinschen@redhat.com>
2782
c9d37158 2783 * gdb.base/commands.exp: Don't expect a "Program exited normally"
b2b4a1b5
CV
2784 string after running the commands execution on breakpoint tests.
2785
1c56143a
CV
27862002-09-13 Corinna Vinschen <vinschen@redhat.com>
2787
2788 * lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.
2789
37f8da45
JB
27902002-09-12 Joel Brobecker <brobecker@gnat.com>
2791
2792 * gdb.base/call-strs.exp: Fix a small typo in one of the comments.
2793
08b468e0
KS
27942002-09-10 Keith Seitz <keiths@redhat.com>
2795
2796 * lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
2797 runto proc.
2798 (mi_run_to_main): Use mi_runto.
2799 (mi_execute_to): Renamed from mi_run_to. Changed all callers.
2800
dc360f58
KS
28012002-09-10 Keith Seitz <keiths@redhat.com>
2802
2803 * lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
2804 regexp for stopping at main. Could have multiple event notifications.
2805 Don't assume that main was declared with no parameters.
2806 (mi_next): Use mi_step_to.
2807 (mi_step): Use mi_next_to.
2808
ce3abcfb
CV
28092002-09-09 Corinna Vinschen <vinschen@redhat.com>
2810
2811 * gdb.base/default.exp: Fix expected string in `info float' test.
2812
d1f5b980
BE
28132002-09-09 Ben Elliston <bje@redhat.com>
2814
2815 * config/mips.exp: Update comments.
2816 * config/mips-idt.exp: Likewise.
2817 * config/nind.exp: Likewise.
2818 * config/slite.exp: Likewise.
2819 * config/sparclet.exp: Likewise.
2820 * config/udi.exp: Likewise.
2821 * config/vx.exp: Likewise.
2822 * config/vxworks29k.exp: Likewise.
2823
2f71430b
JB
28242002-09-05 Jim Blandy <jimb@redhat.com>
2825
2826 * gdb.threads/killed.exp: Fix test failure message.
2827
7ddebc7e
KS
28282002-09-04 Keith Seitz <keiths@redhat.com>
2829
2830 * lib/mi-support.exp: Update copyright.
2831 (mi_gdb_test): Increase the priority of the expected pattern
2832 so that it matches gdb_test.
2833
0ae67eb3
KS
28342002-09-03 Keith Seitz <keiths@redhat.com>
2835
2836 * lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
2837 Use integer comparison instead of string comparison for testing
2838 whether binary was built.
2839
38fc42c8
JB
28402002-09-03 Jim Blandy <jimb@redhat.com>
2841
2842 * gdb.threads/killed.exp, gdb.threads/killed.c: New test.
2843
b6ff0e81
JB
28442002-08-29 Jim Blandy <jimb@redhat.com>
2845
2846 * gdb.threads/pthreads.exp: Move the portable thread compilation
2847 code into a function in lib/gdb.exp, and call that from here.
2848 * lib/gdb.exp (gdb_compile_pthreads): New function.
2849
07c98896
KS
28502002-08-29 Keith Seitz <keiths@redhat.com>
2851
2852 * lib/mi-support.exp (mi_gdb_test): Add global declaration for
2853 expect_out so that callers can get at it.
2854
0312286c
DJ
28552002-08-23 Daniel Jacobowitz <drow@mvista.com>
2856
2857 * gdb.threads/print-threads.c: New file.
2858 * gdb.threads/print-threads.exp: New file.
2859 * gdb.threads/schedlock.c: New file.
2860 * gdb.threads/schedlock.exp: New file.
2861
dd039bc4
EZ
28622002-08-22 Elena Zannoni <ezannoni@redhat.com>
2863
2864 * gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
2865 not altivec.c.
2866
1f36144c
MK
28672002-08-17 Mark Kettenis <kettenis@gnu.org>
2868
2869 * gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
2870 targets. The problem should be fixed now.
2871
16057ec7 28722002-08-15 Mark Kettenis <kettenis@gnu.org>
5415e7c5
MK
2873
2874 * gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
2875 2002-07-24 change that removes final dots from error messages.
2876
3c1499ad
TT
28772002-08-13 Tom Tromey <tromey@redhat.com>
2878
2879 * gdb.base/readline.exp: New file.
2880
a20ce2c3
AC
28812002-08-01 Andrew Cagney <ac131313@redhat.com>
2882
2883 * lib/gdb.exp (gdb_expect_list): Only print one pass, fail, or
2884 supress message.
2885
db034ac5
AC
28862002-08-01 Andrew Cagney <cagney@redhat.com>
2887
2888 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL,
2889 CHILL_FOR_TARGET and CHILL_LIB.
2890 * configure.in (configdirs): Remove gdb.chill.
2891 * configure: Regenerate.
2892 * lib/gdb.exp: Obsolete references to chill.
2893 * gdb.fortran/types.exp: Ditto.
2894 * gdb.fortran/exprs.exp: Ditto.
2895
3e000b18
KB
28962002-07-30 Kevin Buettner <kevinb@redhat.com>
2897
2898 * gdb.base/shlib-call.exp (additional_flags): Conditionally
2899 set Irix-specific compile and link flags.
2900
28f4966b
KB
29012002-07-29 Kevin Buettner <kevinb@redhat.com>
2902
2903 * lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
2904 source files. The ``-o'' option doesn't work with the ``-E'' option
2905 when using the Irix compiler.
2906
46c0d5a6
DJ
29072002-07-19 Daniel Jacobowitz <drow@mvista.com>
2908
2909 * config/gdbserver.exp (gdb_load): Don't use TCL varargs.
2910 Improve support for reusing an exec file. Copy exec file
2911 to target, and run gdbserver on the target instead of on the host.
2912
eecf4bed
JB
29132002-07-18 Jim Blandy <jimb@redhat.com>
2914
0f815cdf
JB
2915 * gdb.base/ending-run.exp: Don't expect to see the program end in
2916 some orderly fashion when we're running on a real stand-alone
2917 board.
2918
eecf4bed
JB
2919 * gdb.base/interrupt.exp: Correct logic for skipping tests on
2920 targets that don't support interrupts.
2921
52d309e4
JB
29222002-07-10 Paul N. Hilfinger <hilfingr@otisco.mckusick.com>
2923
2924 * gdb.base/attach.exp: Add patterns to match output from /proc-based
2925 systems.
2926 Move comments in expect statements to inside the actions, so that they
2927 don't get matched against.
2928
ff683d9e
MK
29292002-07-10 Mark Kettenis <kettenis@gnu.org>
2930
2931 * gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
2932 function when asleep" test.
2933
b5356753
AC
29342002-07-10 Andrew Cagney <ac131313@redhat.com>
2935
2936 * gdb.base/page.exp: Rewrite to handle problems with very long
2937 `info set' output. Update copyright.
2938
6aa4d13a
AC
29392002-06-26 Andrew Cagney <ac131313@redhat.com>
2940
2941 * gdb.hp/configure.in (AC_CONFIG_SUBDIRS): Do not try to configure
2942 gdb.threads-hp.
2943 * gdb.hp/configure: Regenerate.
2944 * gdb.hp/gdb.threads-hp/configure.in: Delete file.
2945 * gdb.hp/gdb.threads-hp/configure: Delete file.
2946 * gdb.hp/gdb.threads-hp/Makefile.in: Delete file.
2947
8cf8c2b8
AC
29482002-06-22 Andrew Cagney <ac131313@redhat.com>
2949
2950 * gdb.base/selftest.exp (do_stes_and_next): Skip calls to
2951 setlocale, bindtextdomain and textdomain.
2952
6827a8f8
JB
29532002-06-11 Jim Blandy <jimb@redhat.com>
2954
919d772c
JB
2955 * lib/gdb.exp (get_debug_format): Tolerate message saying whether
2956 preprocessor macro information is present.
2957
6827a8f8
JB
2958 * macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: New
2959 tests.
2960
c15b0d21
MS
29612002-06-06 Michael Snyder <msnyder@redhat.com>
2962
c5984d70
MS
2963 * gdb.base/overlays.exp: Record addresses of overlay
2964 functions in TCL variables rather than in GDB variables,
2965 to avoid having GDB convert them to pointers (with loss
2966 of information).
2967
d63a86f8 2968 * gdb.base/d10v.ld: Merge in several years worth of
99a8512b 2969 default linker script changes.
c15b0d21
MS
2970 * gdb.base/long_long.exp: Add check for sizeof (long double).
2971
be26fe0d
ML
29722002-06-06 Michal Ludvig <mludvig@suse.cz>
2973
2974 * gdb.asm/asm-source.exp: Add x86-64 target.
2975 * gdb.asm/x86_64.inc: New.
d63a86f8 2976
258093ca 29772002-05-30 Michael Chastain <mec@shout.net>
258093ca 2978
4b3153f1 2979 From Benjamin Kosnik <bkoz@redhat.com>:
258093ca
MC
2980 * gdb.c++/m-static.cc: New file.
2981 * gdb.c++/m-static.exp: New file.
2982
241264c6
MS
29832002-05-28 Michael Snyder <msnyder@redhat.com>
2984
2985 * gdb.base/call-ar-st.exp: Allow for reduced floating point
2986 precision.
2987
9bba8c8f 29882002-05-27 Michael Chastain <mec@shout.net>
71ea1be0 2989
4b3153f1 2990 From Benjamin Kosnik <bkoz@redhat.com>:
71ea1be0
MC
2991 * gdb.c++/m-data.cc: New file.
2992 * gdb.c++/m-data.exp: New file.
2993
29942002-05-27 Michael Chastain <mec@shout.net>
9bba8c8f 2995
4b3153f1 2996 From Benjamin Kosnik <bkoz@redhat.com>:
9bba8c8f 2997 * gdb.c++/try_catch.cc: New file.
d63a86f8 2998 * gdb.c++/try_catch.exp: New file.
9bba8c8f 2999
def1b996
MC
30002002-05-27 Michael Chastain <mec@shout.net>
3001
3002 * gdb.c++/local.exp: Accept more nested types in output.
3003
522ba268
MC
30042002-05-26 Michael Chastain <mec@shout.net>
3005
3006 * gdb.base/call-rt-st.exp: Fix typo in brace quoting.
3007
277254ba
MS
30082002-05-15 Nick Clifton <nickc@cambridge.redhat.com>
3009
3010 * lib/gdb.exp (gdb_wrapper_init): Just because
3011 gdb_wrapper_file exists, this does not mean that the file
3012 should not be rebuilt. That is what gdb_wrapper_initialized
3013 is for.
3014 (default_gdb_init): Reset gdb_wrapper_initialized.
3015
b61a8733
MS
30162002-05-23 Michael Snyder <msnyder@redhat.com>
3017
d63a86f8 3018 * gdb.base/all-bin.exp: Revise previous patch by just reducing
5bdb6d01
MS
3019 the precision of the floating point test results.
3020 * gdb.base/call-rt-st.exp: Ditto.
3021
b61a8733
MS
3022 * gdb.base/all-bin.exp: Allow for reduced floating point precision.
3023 * gdb.base/call-rt-st.exp: Ditto.
3024
56f6e910
MC
30252002-05-19 Michael Chastain <mec@shout.net>
3026
3027 * gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
3028
ad0b0016
EZ
30292002-05-19 Elena Zannoni <ezannoni@redhat.com>
3030
3031 * configure.in (configdirs): Add gdb.arch.
3032 * configure: Regenerate.
3033
f617d2b6
JB
30342002-05-17 Jim Blandy <jimb@redhat.com>
3035
3036 * gdb.base/completion.exp: Recognize the more detailed error
3037 messages produced by the macro expander's lexical analyzer.
3038
eac2a696
EZ
30392002-05-14 Elena Zannoni <ezannoni@redhat.com>
3040
3041 * gdb.arch/altivec-abi.c: New file.
3042 * gdb.arch/altivec-abi.exp: New file.
3043 * gdb.arch/altivec-regs.c: New file.
3044 * gdb.arch/altivec-regs.exp: New file.
3045
2fdde8f8
DJ
30462002-05-14 Daniel Jacobowitz <drow@mvista.com>
3047
3048 * gdb.base/maint.exp (maint print type): Update for new type
3049 structure.
d63a86f8 3050
e31f1a7c
EZ
30512002-05-14 Elena Zannoni <ezannoni@redhat.com>
3052
3053 * gdb.arch: New directory.
3054 * gdb.arch/configure.in: New file.
3055 * gdb.arch/configure: New file.
3056 * gdb.arch/Makefile.in: New file.
3057
db589741
CV
30582002-05-13 Corinna Vinschen <vinschen@redhat.com>
3059
3060 * gdb.asm/asm-source.exp: Add v850 as supported target.
3061 * gdb.asm/v850.inc: New file.
3062
8ce2a7dc
DJ
30632002-05-13 Daniel Jacobowitz <drow@mvista.com>
3064
3065 * gdb.c++/annota2.exp (annotate-quit): Add comment.
3066
df763c7f
DJ
30672002-05-12 Daniel Jacobowitz <drow@mvista.com>
3068
3069 * gdb.base/break.exp: Check 'break "marker2"'.
3070
377daeed
MS
30712002-05-10 Michael Snyder <msnyder@redhat.com>
3072
3073 * gdb.base/long_long.exp: Fix typo.
3074
c4b7bc2b
JB
30752002-05-10 Jim Blandy <jimb@redhat.com>
3076
ecac9a4e
JB
3077 * gdb.base/printcmds.exp: Don't xfail the ptype command. This is
3078 a bug.
3079
c4b7bc2b
JB
3080 * gdb.base/printcmds.exp (test_integer_literals_rejected):
3081 Recognize more detailed error message produced by the macro
3082 expander's lexical analyzer.
3083 * lib/gdb.exp (test_print_reject): Same.
3084
e71019a1
MK
30852002-05-09 Mark Kettenis <kettenis@gnu.org>
3086
3087 * gdb.c++/method.exp: Fix typo.
3088
fedfc8e6
MS
30892002-05-08 Michael Snyder <msnyder@redhat.com>
3090
166a1957
MS
3091 * gdb.mi/mi-var-child.exp: Accept (void) as well as ().
3092 * gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
fedfc8e6 3093 * gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
35928259
MS
3094 * gdb.base/long_long.exp: Merge clauses for arm and xscale.
3095 Add iftarget clause for strongarm.
d63a86f8 3096
f1c47eb2
MS
30972002-05-06 Michael Snyder <msnyder@redhat.com>
3098
cb9a9d3e
MS
3099 * lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
3100 (gdb_continue_to_end): Accept output from status wrapper.
3101 * gdb.base/ending-run.exp: Add case for output from status wrapper.
3102 Clean up fail messages to match pass messages.
3103
f1c47eb2
MS
3104 Enable the "needs_status_wrapper" testsuite feature.
3105 * lib/gdb.exp (gdb_wrapper_init): New procedure.
3106 (gdb_compile): Conditionally call gdb_wrapper_init.
3107 * gdb.base/a2-run.exp: Recognize output from status wrapper.
3108 * gdb.c++/method.exp: Recognize output from status wrapper.
3109
6079c749
BE
31102002-05-06 Ben Elliston <bje@redhat.com>
3111From Graydon Hoare <graydon@redhat.com>
3112
3113 * config/sid.exp: Include support for "rawsid" protocol.
3114
188baff3
JB
31152002-05-03 Jim Blandy <jimb@redhat.com>
3116
3117 * gdb.c++/hang.exp: Check for corruption of the cv_type chain.
3118 * gdb.c++/hang3.C: New file.
3119
b9c07f0f
AC
31202002-05-04 Andrew Cagney <ac131313@redhat.com>
3121
3122 * gdb.base/default.exp: Remove obsolete code.
3123 * gdb.c++/misc.exp: Ditto. Update copyright.
3124 * gdb.c++/cplusfuncs.exp: Ditto. Update copyright.
3125 * gdb.base/whatis.exp: Ditto. Update copyright.
3126 * gdb.base/scope.exp: Ditto. Update copyright.
3127 * gdb.base/ptype.exp: Ditto. Update copyright.
3128 * gdb.base/printcmds.exp: Ditto. Update copyright.
3129 * gdb.base/opaque.exp: Ditto. Update copyright.
3130 * gdb.base/list.exp: Ditto.
3131 * gdb.base/funcargs.exp: Ditto. Update copyright.
3132 * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
3133 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
3134 * gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
3135 * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
3136 * gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
3137 * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
3138
5c7a0397
MS
31392002-05-02 Michael Snyder <msnyder@redhat.com>
3140
d6dcc264 3141 * gdb.base/watchpoint.exp: Add xscale target.
5c7a0397
MS
3142 * gdb.base/long_long.exp: Add xscale target.
3143 * gdb.base/default.exp: Add xscale target.
3144
eb7f1c48
JB
31452002-05-01 Jim Blandy <jimb@redhat.com>
3146
3147 * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
3148 gdb.c++/hang.exp: New test.
3149
a6befae8
FF
31502002-05-01 Fred Fish <fnf@redhat.com>
3151
3152 * gdb.base/completion.exp: Handle completions of "./Make" for
3153 more than one completion possibility, as is the case when we
3154 build and test in the source tree.
3155
0a310277
AG
31562002-04-29 Anthony Green <green@redhat.com>
3157
3158 * gdb.java/jmisc1.exp: New file.
3159 * gdb.java/jmisc2.exp: New file.
3160
6ff9af88
DJ
31612002-04-24 Daniel Jacobowitz <drow@mvista.com>
3162
3163 * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
3164
96b3d632
EZ
31652002-04-23 Elena Zannoni <ezannoni@redhat.com>
3166
3167 * gdb.base/help.exp: Change 'help status' to allow for target
3168 dependent output differences.
3169
5019bb54
MC
31702002-04-22 Michael Chastain <mec@shout.net>
3171
3172 * gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
3173
a805a116
MC
31742002-04-22 Michael Chastain <mec@shout.net>
3175
3176 * gdb.c++/method.exp: Fix syntax of reference to gdb/277.
3177
a1706bfd
DM
31782002-04-17 David S. Miller <davem@redhat.com>
3179
3180 * gdb.asm/sparc64.inc: New file.
3181 * gdb.asm/asm-source.exp: Handle sparc64-*-*.
3182
a73a20a2
EZ
31832002-04-19 Elena Zannoni <ezannoni@redhat.com>
3184
3185 * gdb.asm/asm-source.exp: Don't use a symlink, just copy the
3186 instruction file directly into the build tree. Clean up at end of
3187 test.
3188
ba678339
DM
31892002-04-18 David S. Miller <davem@redhat.com>
3190
3191 * gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
3192 handle 64-bit platforms correctly.
3193 * gdb.base/maint.exp: Likewise.
3194
b03399da
KB
31952002-04-18 Kevin Buettner <kevinb@redhat.com>
3196
3197 * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
3198 ``-fpic'' when compiling files comprising a shared library, but
3199 it does need additional linker flags in order to find shared
3200 libraries at run time.
3201
e2004992
KB
32022002-04-18 Kevin Buettner <kevinb@redhat.com>
3203
3204 * gdb.base/cvexpr.c (use): New function.
3205 (main): Invoke use() on all global variables to prevent
3206 some linkers from deleting these otherwise unused symbols.
3207
d8937120
MC
32082002-04-17 Michael Chastain <mec@shout.net>
3209From David S. Miller <davem@redhat.com>
3210
3211 * gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
3212 handle 64-bit platforms correctly.
3213
ffd61a58
MS
32142002-04-12 Michael Snyder <msnyder@redhat.com>
3215From Jim Blandy <jimb@redhat.com>
3216 * gdb.base/foo.c (foox): Remove section attribute; the linker
3217 script can handle this instead.
3218 * gdb.base/bar.c (barx): Same.
3219 * gdb.base/baz.c (bazx): Same.
3220 * gdb.base/grbx.c (grbxx): Same.
3221
3222 * gdb.base/overlays.exp: New test: check that GDB's manual overlay
3223 manager doesn't automatically unmap overlays unnecessarily.
3224
6b8426a6
MH
32252002-04-10 Martin M. Hunt <hunt@redhat.com>
3226
3227 * gdb.base/ending-run.exp: Fix pattern for Mips targets
3228 stepping out of main.
3229
34af4875
MC
32302002-04-09 Michael Chastain <mec@shout.net>
3231
3232 * gdb.c++/local.cc (main): Move call to marker1() inside nested
3233 scope so that the nested scope tests will make sense.
3234 * gdb.c++/local.exp: Write patterns that actually work with gcc
3235 (the HP patterns "were never known to work with gcc").
3236 Keep the old aCC patterns too.
3237
2d1676a0
DJ
32382002-04-09 Daniel Jacobowitz <drow@mvista.com>
3239
3240 * gdb.base/attach.exp: Correct target board test.
3241
3a63e3f9
MC
32422002-04-08 Michael Chastain <mec@shout.net>
3243
3244 * gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
3245 in a const method. Add some xfail and fail cases for configurations
3246 that do not emit the "const ...".
3247
f18dabd2
MC
32482002-04-07 Michael Chastain <mec@shout.net>
3249
3250 * gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
3251 Accept "A * const" and "const A * const" as type of "this".
3252 Fix spelling of getFunky throughout. Make messages uniform.
3253
0fcddd82
EZ
32542002-04-07 Elena Zannoni <ezannoni@redhat.com>
3255
3256 Work around for PR gdb/285:
3257 * gdb.asm/asm-source.exp: Bail out if multilibs are detected.
3258
16a8534a
EZ
32592002-04-07 Elena Zannoni <ezannoni@redhat.com>
3260
3261 * gdb.asm/asm-source.exp: Build symbolic link to arch specific
3262 instructions file at run time instead of configure time.
3263 Sometimes we run the test in a directory that is not the one we
3264 configured in.
3265 * gdb.asm/configure.in: Delete creation of symlink.
3266 * gdb.asm/configure: Regenerate.
3267
24181d81
JB
32682002-04-05 J. Brobecker <brobecker@gnat.com>
3269
3270 * gdb.gdb/xfullpath.exp: New test, to exercise the new
3271 xfullpath () function.
3272
7cdb7107
DJ
32732002-04-04 Daniel Jacobowitz <drow@mvista.com>
3274
3275 * gdb.asm/Makefile.in: Correct dependencies.
3276
3277 * gdb.asm/powerpc.inc: New file.
3278 * gdb.asm/asm-source.exp: Add PowerPC.
3279 * gdb.asm/configure.in: Likewise.
3280 * gdb.asm/configure: Regenerated.
3281
a7d17088
DJ
32822002-04-04 Daniel Jacobowitz <drow@mvista.com>
3283
3284 * gdb.base/relocate.exp: New file.
3285 * gdb.base/relocate.c: New file.
3286
cd721503
FF
32872002-04-04 Fred Fish <fnf@redhat.com>
3288
3289 * gdb.base/step-test.exp: Update comment regarding stopping in
3290 memcpy/bcopy calls inserted as part of the compiler runtime.
3291
b22ad7a7
MS
32922002-04-04 Michael Snyder <msnyder@redhat.com>
3293
3294 * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
3295
5f279fa6
DJ
32962002-04-03 Daniel Jacobowitz <drow@mvista.com>
3297
3298 * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
3299 (gdb_expect): Remove $notransfer hack.
3300
dd0fd3ce
DJ
33012002-04-02 Daniel Jacobowitz <drow@mvista.com>
3302
3303 * gdb.c++/classes.exp ("calling method for small class"): Match
3304 updated register output.
3305
1e50cda1
DJ
33062002-03-30 Daniel Jacobowitz <drow@mvista.com>
3307
3308 Fix PR gdb/452
3309 * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
3310 when finished. Make gdb_file_cmd send "exec-file" when
3311 appropriate.
3312
24015922
DJ
33132002-03-30 Daniel Jacobowitz <drow@mvista.com>
3314
3315 * gdb.base/attach.exp: Remove extra setup_xfail.
3316
dd7dfd64
MS
33172002-03-26 Michael Snyder <msnyder@redhat.com>
3318
3319 * gdb.base/default.exp: Add tests for dump, append, and restore.
3320 * gdb.base/help.exp: Add tests for dump, append, and restore.
3321 * gdb.base/dump.exp: New file, test dump, append and restore.
3322 * gdb.base/dump.c: New file.
3323
48b2f8d7
MS
33242002-03-27 Michael Snyder <msnyder@redhat.com>
3325
d63a86f8 3326 * gdb.base/help.exp: Modify expect strings to reflect
48b2f8d7
MS
3327 clean-ups in help messages.
3328
05b4d525
FF
33292002-03-26 Fred Fish <fnf@redhat.com>
3330
3331 * gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
3332 have debugging info for those functions and the compiler uses them
3333 internally to copy structs around.
3334
d7679631
FF
33352002-03-26 Fred Fish <fnf@redhat.com>
3336
3337 * gdb.base/list.exp: Revert the change made yesterday and add note
3338 about why we don't list the default lines for remote targets.
3339
523ac3f9
MS
33402002-03-25 Michael Snyder <msnyder@redhat.com>
3341
3342 * gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
3343
754b2b8d
FF
33442002-03-25 Fred Fish <fnf@redhat.com>
3345
3346 * gdb.base/list.exp: This test works on remote targets so remove
3347 the short circuit for remote targets. Update copyright.
3348
33c3e192
FF
33492002-03-25 Fred Fish <fnf@redhat.com>
3350
3351 * gdb.base/attach.exp: Fix logic error that was suppressing this
3352 test for all non hppa*-*-hpux* targets, instead of the hp target.
3353 Move comments closer to the suppression point. Also now need to
3354 check that we are running natively.
3355
d43e73ee
MS
33562002-03-22 Michael Snyder <msnyder@redhat.com>
3357
882c8f02
MS
3358 * gdb.base/default.exp: Add test for gcore. Update copyright.
3359 * gdb.base/help.exp: Add test for gcore. Update copyright.
d43e73ee 3360
04c12f60
FF
33612002-03-06 Fred Fish <fnf@redhat.com>
3362
3363 * gdb.base/funcargs.c: Remove extraneous ';' character.
3364 * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
3365
b43df995
MC
33662002-03-04 Michael Chastain <mec@shout.net>
3367
3368 * gdb.mi/mi-var-cmd.exp: In test "create local variable func",
3369 accommodate gcc v3 function signature.
3370 * gdb.mi/mi0-var-cmd-exp: Ditto.
3371
92362027
AC
33722002-02-24 Andrew Cagney <ac131313@redhat.com>
3373
3374 * testsuite/gdb.base/huge.c: Replace ``Linux'' with either
3375 ``GNU/Linux'' or ``Linux kernel''
3376 * testsuite/gdb.threads/pthreads.c: Ditto.
3377
258ad32d
MC
33782002-02-24 Michael Chastain <mec@shout.net>
3379
3380 * gdb.threads/pthreads.c (thread1): Add a return statement.
3381 (thread2): Likewise.
3382 (foo): Likewise.
3383
04c3b3d4
MC
33842002-02-23 Michael Chastain <mec@shout.net>
3385
3386 * gdb.threads/linux-dp.c (philosopher): Add a return statement
3387 to placate gcc.
3388
5a2a0a20
MC
33892002-02-23 Michael Chastain <mec@shout.net>
3390
3391 * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
3392 test "ptype bint". The test passes on all my stabs configurations.
3393
a640f7fc
JB
33942002-02-21 Jim Blandy <jimb@redhat.com>
3395
27924826
JB
3396 * gdb.asm/asm-source.exp: Parse the output from `info sources' one
3397 filename at a time, and watch for the ones we want to see.
3398
a640f7fc
JB
3399 * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
3400 types of pointers to prototyped functions.
3401
edcc8c75
AC
34022002-02-20 Andrew Cagney <ac131313@redhat.com>
3403
3404 * gdb.base/sizeof.c (main): Call fill_structs. Print value of
3405 signed, unsigned and straight char.
3406 (padding_char, padding_short, padding_int, padding_long,
3407 padding_long_long, padding_float, padding_double,
3408 padding_long_double): New global variables.
3409 (fill, fill_structs): New functions.
3410
3411 * gdb.base/sizeof.exp: Check for signed and unsigned char. Check
3412 for correctly sized writes. Update copyright.
3413 (get_valueof): New procedure.
3414 (get_sizeof): Call get_valueof.
3415 (check_valueof): New procedure.
3416 (check_padding): New procedure.
3417
ac57ea44
MC
34182002-02-20 Michael Chastain <mec@shout.net>
3419
3420 * gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
3421 to setup_xfail. Document some of the remaining calls.
3422
7a10c941
MC
34232002-02-18 Michael Chastain <mec@shout.net>
3424
3425 * gdb.c++/userdef.exp: Update copyright year.
3426
fb8acdcc
DJ
34272002-02-18 Daniel Jacobowitz <drow@mvista.com>
3428
3429 * gdb.c++/userdef.exp: Test overloaded operators properly.
3430 Remove xfails.
3431
fda6ae12
MS
34322002-02-14 Michael Snyder <msnyder@redhat.com>
3433
3434 * gdb.base/gcore.exp: Relax recognition of function breakpoint.
3435
676a0442
DJ
34362002-02-14 Daniel Jacobowitz <drow@mvista.com>
3437
3438 * gdb.base/a2-run.exp: Check for a remote target properly.
3439 * gdb.base/annota1.exp: Likewise.
3440 * gdb.base/list.exp: Likewise.
3441 * gdb.base/reread.exp: Likewise.
3442 * gdb.base/scope.exp: Likewise.
3443 * gdb.base/shlib-call.exp: Likewise.
3444 * gdb.base/term.exp: Likewise.
3445 * gdb.c++/annota2.exp: Likewise.
3446
78b4f468
RE
34472002-02-13 Richard Earnshaw <rearnsha@arm.com>
3448
3449 * gdb.base/watchpoint.exp: Restore previous timeout at end of test.
3450
9a81ba51
MC
34512002-02-10 Michael Chastain <mec@shout.net>
3452
3453 * gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
3454 (call_after_alloca): Ditto.
3455
004af6c7
DJ
34562002-02-10 Daniel Jacobowitz <drow@mvista.com>
3457
3458 * gdb.base/ending-run.exp: Guard "cont" test with
3459 gdb_skip_stdio_test.
3460
37225f62
JB
34612002-02-06 Jim Blandy <jimb@redhat.com>
3462
3463 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
3464 from here...
3465 * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
3466 To here. Disable this test on non-HP platforms. Add big comment.
3467
fe6fdd96
MS
34682002-02-04 Michael Snyder <msnyder@redhat.com>
3469
3470 * gdb.base/ovlymgr.c (ovly_copy): Generalize for targets
3471 other than d10v and m32r.
3472
036fad3f
RE
34732002-02-02 Richard Earnshaw <rearnsha@arm.com>
3474
3475 * gdb.base/default.exp: Rewrite test patterns to reduce time
3476 taken to match them.
3477
7148ab62
DJ
34782002-01-30 Daniel Jacobowitz <drow@mvista.com>
3479
3480 * gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
3481 Allow a start function above main.
3482 * gdb.threads/linux-dp.exp: Fix copyright date.
3483
396cc255
DJ
34842002-01-30 Daniel Jacobowitz <drow@mvista.com>
3485
3486 * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
3487 (check_philosopher_stack): Check for manager thread before checking
3488 for a just-starting thread.
3489
f038d31b
DJ
34902002-01-30 Daniel Jacobowitz <drow@mvista.com>
3491
3492 From Neil Booth <neil@daikokuya.demon.co.uk>:
3493 * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
3494 warnings.
3495
b3ff9d9a
FF
34962002-01-21 Fred Fish <fnf@redhat.com>
3497
3498 * gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
3499 not caller.
3500
39ad761d
JB
35012002-01-21 Jim Blandy <jimb@redhat.com>
3502
3503 * gdb.base/reread.exp: Check that GDB properly re-reads the
3504 executable file when it changes while no inferior is running.
3505
aaf320fa
FF
35062002-01-21 Fred Fish <fnf@redhat.com>
3507
3508 * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
3509 optionally accept the "shlib events" variation.
3510
808a31f5
JB
35112002-01-21 Jim Blandy <jimb@redhat.com>
3512
3513 * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
3514 call `fflush' after every `printf', so that the output is produced
3515 at predictable points, regardless of whatever buffering does (or
3516 doesn't) take place.
3517 * gdb.base/ending-run.exp: Adjust tests to expect output to appear
3518 at different points.
3519
4420d5e2
DJ
35202002-01-20 Daniel Jacobowitz <drow@mvista.com>
3521
3522 * gdb.c++/inherit.exp: Update copyright years.
3523 * gdb.c++/method.exp: Likewise.
3524
3e36a0f4
DJ
35252002-01-20 Daniel Jacobowitz <drow@mvista.com>
3526
3527 * gdb.c++/classes.exp: Update for improved v3 support and skipping
3528 artificial methods/arguments.
3529 * gdb.c++/derivation.exp: Likewise.
3530 * gdb.c++/inherit.exp: Likewise.
3531 * gdb.c++/method.exp: Likewise.
3532 * gdb.c++/virtfunc.exp: Likewise.
3533
b4ceaee6
AC
35342002-01-18 Andrew Cagney <ac131313@redhat.com>
3535
3536 * gdb.hp/gdb.threads-hp/usrthfork.exp: Mark as obsolete.
3537 * gdb.hp/gdb.threads-hp/usrthcore.exp: Ditto.
3538 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Ditto.
3539 * gdb.hp/gdb.threads-hp/usrthfork.c: Ditto.
3540 * gdb.hp/gdb.threads-hp/usrthbasic.c: Ditto.
3541 * gdb.hp/gdb.threads-hp/usrthcore.c: Ditto.
3542
ecace851
JB
35432002-01-17 Jim Blandy <jimb@redhat.com>
3544
3545 * gdb.asm/asm-source.exp (info symbol): Take another shot at
3546 anchoring the pattern matching the entry point symbol's name.
3547
375fc983
AC
35482002-01-17 Andrew Cagney <ac131313@redhat.com>
3549
3550 * gdb.base/maint.exp: Update ``maint internal-error'' to match
3551 continue/quit query. Update copyright.
3552
fe6fdd96
MS
35532002-01-14 Michael Snyder <msnyder@redhat.com>
3554
3555 * gdb.base/gcore.exp: Remove extra debugging output.
3556
e017c81f
DJ
35572002-01-13 Daniel Jacobowitz <drow@mvista.com>
3558
3559 * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
3560 for slightly dubious v2 mangled string.
3561
37ab3bf8
DJ
35622002-01-13 Daniel Jacobowitz <drow@mvista.com>
3563
3564 * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
3565
1bc05c3a 35662002-01-10 Jason Merrill <jason@redhat.com>
7b2ac63b 3567
1bc05c3a 3568 * gdb.c++/namespace.exp: Accept trailing const for 'this'.
7b2ac63b 3569
1bc05c3a
JM
3570 * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
3571 constructors.
3572 * gdb.c++/derivation.exp: Likewise.
3573 * gdb.c++/templates.exp: Likewise.
3574 * gdb.c++/virtfunc.exp: Likewise.
ffcb195b 3575
1bc05c3a
JM
35762002-01-10 Michael Snyder <msnyder@redhat.com>
3577
3578 * gdb.c++/namespace.exp: Accept both '\0' and '\000'.
ffcb195b 3579
a911c360
MS
35802002-01-08 Michael Snyder <msnyder@redhat.com>
3581
3582 * gdb.base/gcore.exp: New test for generate-core-file command.
3583 * gdb.base/gcore.c: Testcase for above.
3584 * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
3585
ea2119ec
JM
35862002-01-08 Jason Merrill <jason@redhat.com>
3587
3588 * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
3589
68203136
FF
35902002-01-07 Fred Fish <fnf@redhat.com>
3591
3592 * gdb.c++/overload.exp: Remove unconditional xfails for:
3593 print foo_instance1.overloadargs(1)
3594 print foo_instance1.overloadargs(1, 2)
3595 print foo_instance1.overloadargs(1, 2, 3)
3596 print foo_instance1.overloadargs(1, 2, 3, 4)
3597 print foo_instance1.overloadargs(1, 2, 3, 4, 5)
3598 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
3599 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
3600 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
3601 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
3602 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
3603 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
3604 print foo_instance1.overload1arg()
3605 print foo_instance1.overload1arg((char)arg2)
3606 print foo_instance1.overload1arg((signed char)arg3)
3607 print foo_instance1.overload1arg((unsigned char)arg4)
3608 print foo_instance1.overload1arg((int)arg7)
3609 print foo_instance1.overload1arg((unsigned int)arg8)
3610 print foo_instance1.overload1arg((float)arg11)
3611 print foo_instance1.overload1arg((double)arg12)
d63a86f8 3612
21b9b5b1
MS
36132002-01-07 Michael Snyder <msnyder@redhat.com>
3614
3615 * gdb.base/huge.exp: New test. Print a very large target data object.
3616 (skip_huge_test): New test variable. Define if you want to skip this
3617 test. The test reads an 8 megabyte data object from the target, so it
3618 might be very time consuming on remote targets with a slow connection.
3619 * gdb.base/huge.c: New file. Test case for above.
3620
725f922e
FF
36212002-01-07 Fred Fish <fnf@redhat.com>
3622
3623 * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
3624 g_instance.bfoo, and g_instance.cfoo.
3625
634d57ec
JL
3626Mon Jan 7 12:22:18 2002 Jeffrey A Law (law@redhat.com)
3627
f286b2c3
JL
3628 * gdb.base/break.c (multi_line_if_conditional): New function.
3629 (multi_ilne_while_conditional): Likewise.
3630 * gdb.base/break.exp: Verify that a breakpoint on a multi-line
3631 IF or WHILE condition puts the breakpoint at the start of
3632 the condition.
3633
634d57ec
JL
3634 * gdb.base/selftest.exp (backtrace through signal handler): Remove
3635 hppa*-*-hpux* expected failure.
3636 * gdb.base/structs.exp (do_function_calls): Similarly.
3637
3638 * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
3639 watchpoints.
3640
9fbfe2dc
AC
36412002-01-06 Andrew Cagney <ac131313@redhat.com>
3642
3643 Fix PR gdb/66.
3644 * gdb.base/structs.exp: Replace skip for a29k with skip for
3645 gdb,cannot_call_functions.
3646 * gdb.base/call-ar-st.exp: Remove references to a29k in comments.
3647 * gdb.base/callfuncs.exp: Ditto.
3648 * gdb.base/call-rt-st.exp: Ditto.
3649 * gdb.base/call-strs.exp: Ditto.
3650 * gdb.base/callfwmall.exp: Ditto.
3651 * gdb.base/scope.exp: Obsolete xfail a29k.
3652 * gdb.c++/misc.exp: Ditto.
3653 * gdb.c++/cplusfuncs.exp: Ditto.
3654 * gdb.base/ptype.exp: Ditto.
3655 * gdb.base/printcmds.exp: Ditto.
3656 * gdb.base/opaque.exp: Ditto.
3657 * gdb.base/list.exp: Ditto.
3658 * gdb.base/funcargs.exp: Ditto.
3659 * gdb.base/default.exp: Ditto.
3660
8ddad156
MS
36612002-01-04 Michael Snyder <msnyder@redhat.com>
3662
ca4976a6 3663 * gdb.base/info-proc.exp: New file, test for "info proc" cmd.
8ddad156
MS
3664 * gdb.base/maint.exp: Add tests for maint info sections options.
3665
1b074332
JL
3666Fri Dec 21 09:42:11 2001 Jeffrey A Law (law@redhat.com)
3667
3668 * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
3669
7d159115
CV
36702001-12-20 Corinna Vinschen <vinschen@redhat.com>
3671
3672 * gdb.asm/arm.inc: New file.
3673 * gdb.asm/asm-source.exp: Add arm targets.
3674 * gdb.asm/configure.in: Ditto.
3675 * gdb.asm/configure: Recreated from configure.in.
3676
8fb87725
JL
3677Thu Dec 20 09:54:36 2001 Jeffrey A Law (law@redhat.com)
3678
afabe08c
JL
3679 * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
3680 with HP's compiler.
3681 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
3682 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
3683 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
3684 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
3685
3686 * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
3687 either HP's compilers or GCC.
3688
db521deb
JL
3689 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
3690 a SIGBUS or SIGSEGV.
3691
3692 * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
3693
3694 * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
3695 can be compiled with either HP's compiler or GCC.
3696
cfa88ab7
JL
3697 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
3698 * gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
3699 * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
3700
ca344dff
JL
3701 * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
3702 to match current gdb output. Update due to using auto-solib-limit
3703 for limiting instead of overloading auto-solib-add.
3704 * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
3705 test program.
3706
3f3c6e55 3707 * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
ca344dff
JL
3708 * gdb.hp/gdb.base-hp/dollar.exp: Likewise
3709 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
3710 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
3711 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
3712 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
3713 * gdb.hp/gdb.defects/bs15503.exp: Likewise.
3714 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
3715 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
3716 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
3717 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
3718 * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
3719 * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
3f3c6e55 3720
8fb87725
JL
3721 * gdb.base/annota1.exp: Expect failure for hpux11 when posting
3722 a SIGTRAP to the inferior.
3723
cf599fa7
CV
37242001-12-19 Corinna Vinschen <vinschen@redhat.com>
3725
3726 * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
3727 Substitute call to target_link by call to gdb_compile.
3728
2cd045cd
JL
3729Wed Dec 19 14:10:57 2001 Jeffrey A Law (law@redhat.com)
3730
3731 * gdb.base/break.exp: Fix HP specific search string when testing
3732 backtracing in a called function.
3733
d63a86f8 3734 * gdb.base/constvars.exp: Only set lang to C++ if we're
2cd045cd
JL
3735 compiling the test with HP's compilers.
3736 * gdb.base/volatile.exp: Similarly.
3737
99ebe9ac
JB
37382001-12-19 Jim Blandy <jimb@redhat.com>
3739
3740 * gdb.base/printcmds.exp: Expect the null character to be printed
3741 as '\0', and the '\013' to be printed as '\v'.
3742 * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
3743 * gdb.base/setvar.exp: Same.
3744
b9891b29
JB
37452001-12-17 Jim Blandy <jimb@redhat.com>
3746
0eba65ab
JB
3747 * gdb.base/completion.exp: Rather than completing very long
3748 filenames, which can make the readline library produce output we
3749 don't recognize, cd to the directory first, and then complete
3750 using nice, short relative paths.
3751
6970b5b1
JB
3752 * gdb.base/completion.exp: On some systems, there is, in fact, a
3753 variable named `b' in scope, since GDB treats all static
3754 variables as being in scope. So use `no_var_named_this'
3755 instead of `b'.
3756
b9891b29
JB
3757 * gdb.base/corefile.exp: Recognize the message saying that GDB
3758 can't find the core file's registers as a failure.
3759
e6ccd35f
JSC
37602001-12-13 Jackie Smith Cashion <jsmith@redhat.com>
3761
3762 * gdb.base/commands.exp (user_defined_command_test): Make "show user"
3763 test expect string more specific.
3764
105ba819
CV
37652001-12-13 Corinna Vinschen <vinschen@redhat.com>
3766
3767 * gdb.asm/asm-source.exp: Add support for xstormy16.
3768 * gdb.asm/configure.in: Ditto.
3769 * gdb.asm/configure: Rebuild.
3770 * gdb.asm/xstormy16.inc: New file.
3771
e9e79dd9
FF
37722001-12-10 Fred Fish <fnf@redhat.com>
3773
3774 * gdb.base/maint.exp: Update to match changes in type dumping code.
3775
347dc97d
JB
37762001-12-10 Jim Blandy <jimb@redhat.com>
3777
3778 * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
3779 matching the entry point symbol's name at the beginning of the
3780 line.
3781
5178b9d6
DJ
37822001-12-07 Daniel Jacobowitz <drow@mvista.com>
3783
3784 * gdb.c++/classes.exp, gdb.c++/derivation.exp,
3785 gdb.c++/inherit.exp, gdb.c++/method.exp,
3786 gdb.c++/namespace.exp, gdb.c++/templates.exp,
3787 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
3788 and class layout support.
3789
af890c52
DJ
37902001-12-07 Daniel Jacobowitz <drow@mvista.com>
3791
3792 * gdb.c++/classes.exp: Add test for static member function.
3793 * gdb.c++/misc.cc: Add class with static member function.
3794
7a345fb3
JB
37952001-12-07 Jim Blandy <jimb@redhat.com>
3796
f2e54a80 3797 If GDB says it can't find the struct the function returned, report
8032bf31
JB
3798 those tests as `unsupported'.
3799 * gdb.base/call-rt-st.exp (print_struct_call): New function.
3800 Rewrite subsequent tests to use it.
3801
3802 If GDB says it can't find the struct the function returned, report
f2e54a80
JB
3803 those tests as `unsupported'.
3804 * gdb.base/structs.exp (call_struct_func): New function.
3805 (do_function_calls): Use call_struct_func to call the functions
3806 returning structs.
3807
0bc69509
JB
3808 * gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
3809 whether functions are prototyped or not, so we can't possibly pass
3810 arguments to t_float_values2 properly.
3811
7a345fb3
JB
3812 * gdb.base/break.exp: (test_next_with_recursion): Don't change the
3813 value of `timeout' for targets other than the mips*tx39-*.
3814
edb6ede1
MS
38152001-12-06 Michael Snyder <msnyder@redhat.com>
3816
d63a86f8 3817 * gdb.asm/asm-source.exp: Add tests for info target, info symbol,
edb6ede1
MS
3818 and detect whether the start symbol has a leading underscore.
3819
2d842f13
JB
38202001-12-04 Jim Blandy <jimb@redhat.com>
3821
3822 * gdb.base/completion.exp: Clarify indentation.
3823
68550daf
JB
38242001-12-03 Jim Blandy <jimb@redhat.com>
3825
3826 * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
3827 variables on the S/390, not `.word'.
3828
cd5195a8
JB
38292001-11-30 Jim Blandy <jimb@redhat.com>
3830
3831 Add assembly-source tests for s390-ibm-linux.
3832 * gdb.asm/s390.inc: New file.
3833 * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
3834 the S/390 architecture.
3835 * gdb.asm/configure: Regenerated.
3836
ca9efc90
MS
38372001-11-30 Michael Snyder <msnyder@redhat.com>
3838
3839 * gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
3840 next, info source, info sources, info line, global and static
3841 variables, and static functions.
3842 * gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
3843 * gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
3844 * gdb.asm/asmsrc1.s: Add a static function and some variables.
3845 * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
3846 * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
3847 (gdbasm_leave): Restore frame pointer.
3848 (gdbasm_startup): Copy stack set-up from crt0.S.
3849
d0e66976
FN
38502001-11-26 Fernando Nasser <fnasser@redhat.com>
3851
3852 From 2001-11-12 Jackie Smith Cashion <jsmith@redhat.com>:
3853 * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
3854 to a local (non-static) variable. Copy tstruct.a to a static buffer
3855 and return a pointer to that buffer.
3856 * gdb.base/callfwmall.c (t_structs_a): Ditto.
3857
e2334072
MK
38582001-11-24 Mark Kettenis <kettenis@gnu.org>
3859
3860 * gdb.asm/configure.in: Fix recognition of ix86 target.
3861 * gdb.asm/configure: Regenerate.
3862
756caa3d
MS
38632001-11-21 Michael Snyder <msnyder@redhat.com>
3864
3865 * gdb.asm/sparc.inc: New file.
3866 * gdb.asm/asm-source.exp: Recognize sparc target.
3867 * gdb.asm/configure.in: Recognize sparc target.
3868 * gdb.asm/configure: Regenerate.
d63a86f8 3869
9a4d72d5
MS
38702001-11-21 Michael Snyder <msnyder@redhat.com>
3871
3872 * gdb.asm/m32r.inc: New file.
3873 * gdb.asm/asm-source.exp: Recognize m32r target.
3874 * gdb.asm/configure.in: Recognize m32r target.
3875 * gdb.asm/configure: Regenerate.
3876
a773d1cd
MS
38772001-11-20 Michael Snyder <msnyder@redhat.com>
3878
017ac23d
MS
3879 * gdb.asm/i386.inc: New file.
3880 * gdb.asm/asm-source.exp: Recognize ix86 target.
3881 * gdb.asm/configure.in: Recognize ix86 target.
3882 * gdb.asm/configure: Regenerate.
3883
a773d1cd
MS
3884 * gdb.c++/namespace.exp: Fix quotes in output messages.
3885
bb632afb
MS
38862001-11-14 Michael Snyder <msnyder@redhat.com>
3887
25d559ca 3888 * gdb.base/code-expr.exp: New file. Tests use of the "@code"
bb632afb
MS
3889 qualifier in a type cast expression, to designate an address
3890 in the instruction space (Harvard architecture).
3891
4749e309
MS
38922001-11-13 Michael Snyder <msnyder@redhat.com>
3893
3894 * gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
3895 Tests for expressions using 'const' and 'volatile'.
3896
25050984
CV
38972001-11-13 Corinna Vinschen <vinschen@redhat.com>
3898
3899 * gdb.asm/asm-sources.exp: Allow defining linker flags.
3900
1902c51f
DJ
39012001-11-12 Daniel Jacobowitz <drow@mvista.com>
3902
3903 * lib/mi-support.exp (mi_run_to_helper): Move comments
3904 outside of gdb_expect.
3905
dcf95b47
DJ
39062001-11-11 Daniel Jacobowitz <drow@mvista.com>
3907
3908 * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
3909 mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
3910 mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
3911 mi0_run_to): New functions.
3912 * gdb.mi/mi-simplerun.exp: Use them.
3913 * gdb.mi/mi0-simplerun.exp: Likewise.
3914 * gdb.mi/mi-var-cmd.exp: Likewise.
3915 * gdb.mi/mi0-var-cmd.exp: Likewise.
d63a86f8 3916
45b074e1
AC
39172001-11-10 Andrew Cagney <ac131313@redhat.com>
3918
3919 * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
3920 * gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
3921
bf50d346
AC
39222001-11-09 Andrew Cagney <ac131313@redhat.com>
3923
3924 * gdb.base/restore.exp: Include $expected value in restored test
3925 message.
3926
9383332c
AC
39272001-11-09 Andrew Cagney <ac131313@redhat.com>
3928
3929 * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
3930 implemented.
3931
db62520a
MS
39322001-11-08 Michael Snyder <msnyder@redhat.com>
3933
3934 * gdb.base/callfuncs.exp: Add tests for nested call dummies.
3935 Add pass/fail message for stop at breakpoint in call dummy function.
3936
b5703437
MS
39372001-11-07 Michael Snyder <msnyder@redhat.com>
3938
d63a86f8
RM
3939 * gdb.c++/templates.exp (test_template_breakpoints):
3940 If we get an overload menu, but it does not match what
760f6330 3941 we expect, we still need to issue the "cancel" command.
3b2a7ae5
MS
3942 * gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
3943 making the whitespace optional. Argument for "new" may be
3944 "unsigned" as well as "unsigned int/long".
d63a86f8 3945 * gdb.c++/templates.exp: Replace "const &" with "const ?&",
eef747c0
MS
3946 making the whitespace optional. Also replace "(void) with
3947 "((void|)), making the keyword "void" optional.
d63a86f8 3948 * gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
63f50499
MS
3949 making the whitespace optional. Also replace "(void) with
3950 "((void|)), making the keyword "void" optional.
3bf40917
MS
3951 * gdb.base/callfuncs.c (t_float_values): This function must
3952 _not_ be prototyped, and the following function (t_float_values2)
d63a86f8 3953 must be prototyped (if the compiler supports it), so that GDB
3bf40917
MS
3954 can be tested against both cases. Usually one case involves
3955 promotion of float to double, while the other does not.
3956 * gdb.base/callfwmall.c: Ditto.
b5703437
MS
3957 * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
3958 includes a stack frame for "start".
3959
c8ab4e6d
JB
39602001-11-05 Jim Blandy <jimb@redhat.com>
3961
3962 * gdb.stabs/weird.exp: Delete "p v_comb" test. It assumes that
3963 pointers are 32 bits long, and that offsets of relocs are always
3964 stored in the data (REL-style), and not in the reloc entry itself
3965 (RELA-style).
3966 * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
3967 stabs.
3968
3f08ced9
MS
39692001-11-01 Michael Snyder <msnyder@redhat.com>
3970
3971 * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
3972 and regular expression operators by using quoting.
3973
cbfa24cd
MS
39742001-10-31 Michael Snyder <msnyder@redhat.com>
3975
3976 * gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
3977 depending on what the symbol table contains.
3978 * gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
3979 the output of the ptype command. Similarly, accept both "const &"
3980 and "const&".
3981
aaa68313
CV
39822001-10-31 Corinna Vinschen <vinschen@redhat.com>
3983
3984 * gdb.base/miscexprs.c (main): Add usage of preprocessor
3985 symbol `STORAGE' to allow to choose the storage class of
3986 the local datastructures.
3987 * gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
3988 compiler directive.
3989
91740388
MS
39902001-10-30 Michael Snyder <msnyder@redhat.com>
3991
3992 * gdb.base/jump.exp: Allow it to run for all targets.
3993
1b7c05e7
CV
39942001-10-29 Corinna Vinschen <vinschen@redhat.com>
3995
3996 * gdb.base/call-ar-st.c (print_double_array): Match for loop
3997 with new double_array size.
3998 (main): Change storage class of all local variables to static.
3999 Reduce size of double_array to 9.
4000 * gdb.base/call-ar-st.exp: Increase timeout value.
4001 Change expected output for double array to match new size in
4002 call-ar-st.c.
4003
36a22261
CV
40042001-10-29 Corinna Vinschen <vinschen@redhat.com>
4005
4006 * gdb.base/ending-run.exp: Create identical output when passing
4007 `step to end of run' case. Add regular expression branch satisfying
d63a86f8 4008 Stormy16 target.
36a22261 4009
92b8ae91
MK
40102001-10-28 Mark Kettenis <kettenis@gnu.org>
4011
4012 * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
4013 that we catch the expected failure under Linux/x86.
4014
cb135b83
OF
40152001-10-29 Orjan Friberg <orjanf@axis.com>
4016
4017 * gdb.base/setvar.exp: Escape curly braces.
4018 * gdb.stabs/weird.exp: Ditto.
4019
6884aa54
DJ
40202001-10-27 Daniel Jacobowitz <drow@mvista.com>
4021
4022 * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
4023 * gdm.mi/mi0-hack-cli.exp: Likewise.
4024
0398c9aa
AC
40252001-10-25 Andrew Cagney <ac131313@redhat.com>
4026
4027 * gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
4028 messages.
4029
d20bf2e8
AC
40302001-10-21 Andrew Cagney <ac131313@redhat.com>
4031
4032 * lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
4033 checking MI enabled.
4034
03dd63aa
CV
40352001-10-09 Corinna Vinschen <vinschen@redhat.com>
4036
4037 * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
4038
1d9d99f3
FCE
40392001-10-04 Frank Ch. Eigler <fche@redhat.com>
4040
4041 * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
4042 if gdb child process crashes, just signal an error.
4043
838ae6c4
JB
40442001-10-02 Jim Blandy <jimb@redhat.com>
4045
4046 * lib/gdb.exp (test_xfail_format): Simplify.
4047
4048 * lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
4049 front of the variable name `format'. Simplify `if'.
4050
8f0cbc1c
DJ
40512001-10-01 Daniel Jacobowitz <drow@mvista.com>
4052
4053 * gdb.threads/pthreads.exp: Wait for output and delay
4054 before sending ^C.
4055
1f08dafd
DJ
40562001-10-01 Daniel Jacobowitz <drow@mvista.com>
4057
4058 * gdb.mi/mi-var-display.exp (continue to incr_a): Recognize
4059 some incorrect output instead of timing out.
4060 * gdb.mi/mi-var-display.exp (continue to incr_a): Likewise.
4061
674f90ff
CV
40622001-09-28 Corinna Vinschen <vinschen@redhat.com>
4063
4064 * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
4065 check to allow additional `int'.
4066
9b284272
DJ
40672001-09-27 Daniel Jacobowitz <drow@mvista.com>
4068
4069 * gdb.base/completion.exp: Remove incorrect 'p "a' test.
4070 Add tests for 'p "break' (pass) and 'p "break.' (xfail).
4071
b55a4771
MS
40722001-09-27 Michael Snyder <msnyder@redhat.com>
4073
4074 * lib/gdb.exp (test_debug_format): New proc.
4075 (setup_xfail_format): Use new proc test_debug_format.
4076 * gdb.base/constvars.exp (local_compiler_xfail_check): New
4077 proc; use new service proc test_debug_format.
4078 Replace all other "gcc_compiled" tests with this test.
4079 * gdb.base/volatile.exp (local_compiler_xfail_check): New
4080 proc; use new service proc test_debug_format.
4081 Replace all other "gcc_compiled" tests with this test.
4082
40832001-09-27 Michael Snyder <msnyder@redhat.com>
4084
4085 * gdb.base/cvexpr.exp: New file.
4086 * gdb.base/cvexpr.c: New file
4087 Test for expressions using const and volatile keywords.
4088
4e6667ac
CV
40892001-09-26 Corinna Vinschen <vinschen@redhat.com>
4090
4091 * gdb.base/constvars.exp: Check for different orders of keywords
4092 and additional "int" strings in output.
4093
4f337972
AC
40942001-09-22 Andrew Cagney <ac131313@redhat.com>
4095
4096 * gdb.base/maint.exp: Add "maintenance set/show" to list of valid
4097 responses from "help maint".
4098
2015650d
FCE
40992001-09-19 Frank Ch. Eigler <fche@redhat.com>
4100
4101 * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
4102 to localhost:NNN instead of :NNN, in case Xvfb is listening
4103 only on TCP.
4104
f3bcedc1
CV
41052001-09-19 Corinna Vinschen <vinschen@redhat.com>
4106
4107 * gdb.base/recurse.exp: When checking leaving the watchpoint
4108 scope, recognize when gdb is in function's epilogue and pass.
4109
6b819c92
KS
41102001-09-18 Keith Seitz <keiths@redhat.com>
4111
4112 * lib/insight-support.exp (_gdbtk_export_target_info): Add
4113 support for running tests against sid targets.
4114 (gdbtk_done): Ditto.
4115
a10c9419
CV
41162001-09-18 Corinna Vinschen <vinschen@redhat.com>
4117
4118 * gdb.base/ending-run.c (main): Set stdout buffersize
4119 to the same reasonable value for any target.
4120 * gdb.base/ending-run.exp: Add a regular expression
4121 to make testsuite happy on Sanyo Stormy16 target.
4122
739d0d99
CV
41232001-09-17 Corinna Vinschen <vinschen@redhat.com>
4124
4125 * gdb.base/display.c (do_loops): Add float variable `f'.
4126 Increment f in loop.
4127 * gdb.base/display.exp: Increment timeout by 60 seconds.
4128 Change float display test to use variable `f'.
4129
1b8947f0
JB
41302001-09-17 Jim Blandy <jimb@redhat.com>
4131
4132 * gdb.base/restore.exp: Use temporary breakpoints, to avoid
4133 overflowing the limited breakpoint tables on some ROM monitors
4134 (like the ROM68K).
4135
9890ac81
FCE
41362001-09-15 Frank Ch. Eigler <fche@redhat.com>
4137
4138 * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
4139 the "-ac" (disable access control) flag.
4140
6db765ea
JH
41412001-08-30 Jeff Holcomb <jeffh@redhat.com>
4142
4143 * gdb.base/remote.c: Use a small buffer for targets with 16-bit
4144 ints.
4145
4c32cc04
KS
41462001-08-30 Keith Seitz <keiths@redhat.com>
4147
4148 * lib/gdb.exp: Move all insight-related functionality into
4149 separate file.
4150 * lib/insight-support.exp: New file.
4151
8d6e6f81
FCE
41522001-08-29 Frank Ch. Eigler <fche@redhat.com>
4153
4154 * config/sid.exp (sid_start): Never set sid verbosity; disable
4155 expect_background {} that consumed its stdout; tolerate </dev/null.
4156 Attempt to set endianness override in "sid" protocol mode. Cleanup.
4157
6a90e1d0
AC
41582001-08-18 Andrew Cagney <ac131313@redhat.com>
4159
4160 * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
4161 CLI jump command to start it.
4162 (mi_run_to_main): Fail immediatly when unexpected output.
4163
1759b3c3
AC
41642001-08-18 Andrew Cagney <ac131313@redhat.com>
4165
4166 * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
4167 beginning of function. Fix PR gdb/191.
4168
61d11d80
FCE
41692001-08-16 Frank Ch. Eigler <fche@redhat.com>
4170
4171 * config/sid.exp (sid_start): Don't warn if we cannot figure out
4172 what to force sid endianness to.
4173
942a4df2
KS
41742001-08-15 Keith Seitz <keiths@redhat.com>
4175
4176 * lib/gdb.exp (gdbtk_start): Don't set environment
4177 variables for TCL_LIBRARY and friends. Insight will
4178 now figure these out for itself.
4179
0521c418
MS
41802001-08-02 Michael Snyder <msnyder@redhat.com>
4181
4182 * gdb.base/completion.exp: Remove the symbol "a64l" from
4183 the expect string; this is target-specific, and not related
4184 to what is being tested.
4185
74a9a58a
DB
41862001-08-02 Dave Brolley <brolley@redhat.com>
4187
4188 * config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
4189
c70819fa
MS
41902001-07-25 Michael Snyder <msnyder@redhat.com>
4191
c2b8fa57
MS
4192 * gdb.base/consecutive.exp: New file. Test stepping over
4193 breakpoints on consecutive instructions.
4194 * gdb.base/consecutive.c: New file.
4195
c70819fa
MS
4196 * gdb.base/call-rt-st.exp: Use double-backslash to quote
4197 curly braces in regular expressions.
4198
2b1a1355
MS
41992001-07-25 Michael Snyder <msnyder@redhat.com>
4200
4201 * gdb.base/ending-run.exp: Accept "Program exited normally" as
4202 legitimate output from stepping out of main.
4203
413eca6f
KS
42042001-07-22 Keith Seitz <keiths@redhat.com>
4205
4206 * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
4207 the empty string, do not run the tests.
4208
7e5a9322
SC
42092001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
4210
4211 * gdb.base/long_long.exp: Detect size of pointer. Take into
4212 account 2-byte pointers when testing for p/a results.
4213
de58f10f
SC
42142001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
4215
d63a86f8 4216 * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
de58f10f
SC
4217 and defined to 1K for m68hc11.
4218 (random_data): Reduce table to 1K for embedded platforms (68hc11).
4219 * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
4220 (sizeof_random_data): New variable to tell the size of the data table;
4221 don't test past this size; always run to main.
4222
d6f5fea1
SC
42232001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
4224
4225 * gdb.base/return2.exp: return of long long and double fails for
4226 68HC11; don't execute these tests on that platform.
4227 * gdb.base/return.exp: Return of a double fails for 68hc11.
4228
c477543d
SC
42292001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
4230
4231 * call-ar-st.exp: Use gdb_skip_float_test to avoid executing
4232 tests that print a float.
4233 * call-rt-st.exp: Likewise.
4234
63cf1c79
MK
42352001-07-12 Mark Kettenis <kettenis@gnu.org>
4236
4237 * gdb.base/so-impl-ld.exp: Remove stray space that prevented
4238 running this test on Linux.
4239
112f9ab5
MC
42402001-06-24 Michael Chastain <chastain@redhat.com>
4241
4242 * gdb.base/arithmet.exp: Remove some tests to make all test names
4243 unique.
4244
4970cb0f
MS
42452001-07-03 Michael Snyder <msnyder@redhat.com>
4246
4247 * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
4248 the output of the ptype command.
4249
d85da69f
MS
42502001-07-02 Michael Snyder <msnyder@redhat.com>
4251
4c8a82de
MS
4252 * gdb.base/completion.exp: Don't assume that break.c is the only
4253 source file that may contain functions named "marker".
d85da69f
MS
4254 * gdb.base/corefile.exp: Quote the curly braces in regexp.
4255
8afc772b
AC
42562001-06-28 Andrew Cagney <ac131313@redhat.com>
4257
4258 * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
4259 of files to delete.
4260
4261 From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
4262 * gdb.disasm/h8300s.exp: New file.
4263 gdb.disasm/h8300s.s: Likewise.
4264
cff22675
AC
42652001-06-27 Andrew Cagney <ac131313@redhat.com>
4266
4267 * lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format
4268 empty breakpoint tables.
4269
68c81b54
AC
42702001-06-25 Andrew Cagney <ac131313@redhat.com>
4271
4272 * lib/mi-support.exp: Update args=... part of stop-reason
4273 patterns. Accept either a list or a tuple.
4274
2dd62704
AC
42752001-06-23 Andrew Cagney <ac131313@redhat.com>
4276
4277 * lib/mi-support.exp: Remove local emacs variable defining
4278 change-log-default-name.
4279
b4127474
MC
42802001-06-22 Michael Chastain <chastain@redhat.com>
4281
4282 * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
4283 This is operationally compatible with the previous version.
4284
8dbfb380
JB
42852001-06-13 Jim Blandy <jimb@redhat.com>
4286
4287 * lib/gdb.exp (gdb_test): Doc fix.
4288
f2d8c86d
MC
42892001-06-10 Michael Chastain <chastain@redhat.com>
4290
4291 * gdb.base/exprs.exp: Remove a duplicate test.
4292
81564d34
JB
42932001-06-06 Jim Blandy <jimb@redhat.com>
4294
4295 * gdb.base/return2.exp (main): Use values to test float and double
4296 returns that are not NaN's, to avoid being confused by IEEE
4297 comparison rules.
4298
da55addb
MS
42992001-06-04 Michael Snyder <msnyder@redhat.com>
4300
4301 * gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
d63a86f8 4302 non-zero if control_c fails. Terminate the test on failure,
da55addb
MS
4303 rather than wait for 12 more tests to time out.
4304
42c65987
JB
43052001-06-06 Jim Blandy <jimb@redhat.com>
4306
b18bced9 4307 * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
d63a86f8 4308 Don't forget to match the GDB prompt.
b18bced9 4309
42c65987
JB
4310 * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
4311
5b41e5f0
JB
43122001-06-04 Jim Blandy <jimb@redhat.com>
4313
4314 * gdb.base/help.exp: Update pattern to exclude `print-load-map'
4315 command.
4316
015e046f
KB
43172001-05-31 Kevin Buettner <kevinb@redhat.com>
4318
4319 * gdb.base/annota1.exp (info break): Match four or more spaces
4320 after "Address".
4321
fb1ffbbe
MC
43222001-05-31 Michael Chastain <chastain@redhat.com>
4323
4324 * gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
4325 (dm_type_int_star): Likewise.
4326 (dm_type_long_star): Likewise.
4327 (dm_type_void_star): Likewise.
4328
5ea2a32c
KB
43292001-05-29 Kevin Buettner <kevinb@redhat.com>
4330
4331 * gdb.base/completion.exp (INPUTRC): Set this environment variable
4332 to a known value in order to get consistent results regardless
4333 of the setting of INPUTRC or the presence or contents of .inputrc.
4334
ae23c492
MS
43352001-05-24 Michael Snyder <msnyder@redhat.com>
4336
ac55707e
MS
4337 * gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
4338 Don't require that the main thread and the manager thread are the
4339 first in the list.
4340
ae23c492
MS
4341 * gdb.threads/pthreads.exp (test_startup): Relax test for thread
4342 debugging. If test fails, issue an "unsupported" not a "fail".
4343
400071f1
JB
43442001-05-24 Jim Blandy <jimb@redhat.com>
4345
4346 Don't assume that short is shorter than int.
4347 * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
4348 assume that shorts are smaller than ints. On a 16-bit machine,
d63a86f8 4349 this isn't true.
400071f1
JB
4350 ("print unsigned char == (~0)"): Add test that verifies that ~0,
4351 an int, is not equal to ~0 stored in an unsigned char. This tests
4352 the same thing that the previous test meant to, but works on
4353 16-bit machines, too.
4354 ("print unsigned char != (~0)"): Same test, complemented.
4355
0816a3e5
MS
43562001-05-24 Michael Snyder <msnyder@redhat.com>
4357
4358 * gdb.threads/pthreads.exp (all_threads_running): Add an explicit
d63a86f8 4359 test for (full_coverage == 0). This makes the test run faster,
0816a3e5
MS
4360 and prevents dejagnu getting out of step.
4361
f6dc23a9
KB
43622001-05-23 Kevin Buettner <kevinb@redhat.com>
4363
4364 * gdb.base/finish.exp (finish_void): Revise pattern for
4365 stopping on the call statement to not permit stopping at
4366 the start of the instructions comprising the call sequence.
4367
7dbd117d
MC
43682001-05-19 Michael Chastain <chastain@redhat.com>
4369
4370 * gdb.base/callfuncs.exp: Make all test names unique.
4371 * gdb.base/commands.exp: Make all test names unique.
4372 * gdb.base/condbreak.exp: Make all test names unique.
4373 * gdb.base/dbx.exp: Make all test names unique.
4374 * gdb.base/default.exp: Make all test names unique.
4375 * gdb.base/define.exp: Make all test names unique. Conform some FAIL
4376 and TIMEOUT messages to their corresponding PASS message.
4377 * gdb.base/ending-run.exp: Make all test names unique.
4378 * gdb.base/long_long.exp: Remove duplicate test.
4379
6b0b0a9e
KB
43802001-05-21 Kevin Buettner <kevinb@redhat.com>
4381
4382 * gdb.base/finish.exp (finish_void): Allow "finish" command to
4383 stop on the call statement as well as the statement after the
4384 call.
4385
2caa35cb
MS
43862001-05-21 Michael Snyder <msnyder@redhat.com>
4387
4388 * gdb.base/long_long.exp: Allow for targets with 4-byte short.
4389
40713331
EZ
43902001-05-10 Elena Zannoni <ezannoni@redhat.com>
4391
4392 * gdb.base/completion.exp: Revamp test. Make it execute on all
4393 platforms.
4394
c2c1be8d
EZ
43952001-05-10 Elena Zannoni <ezannoni@redhat.com>
4396
2c9cd303
EZ
4397 * config/gdbserver.exp (gdb_load): Handle the case
4398 in which the arguments to gdbserver are given in the
4399 baseboard configuration file.
4400 Also handle the case in which the server needs to do a
4401 load.
4402
9671de48
KS
44032001-05-07 Keith Seitz <keiths@cygnus.com>
4404
4405 * lib/gdb.exp (gdbtk_initialize_display): New proc which will
4406 set up the display for testing.
4407 (gdbtk_start): Convert all paths to paths that tcl will like.
4408 Export target information to environment.
4409 (_gdbtk_xvfb_init): New proc to start Xvfb if available and
4410 necessary.
4411 (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
4412 (to_tcl_path): New proc to convert a given pathname into
4413 a path acceptible as an argument to a tcl command.
4414 (_gdbtk_export_target_info): New proc to export target info
4415 into the environment for gdbtk testing.
4416 (gdbtk_done): New proc to signal end-of-test.
4417
5a360f47
JB
44182001-05-06 Jim Blandy <jimb@redhat.com>
4419
4420 * restore.c: Make the code of caller0 correspond to its comment.
4421
66c756c6
MS
44222001-05-03 Michael Snyder <msnyder@redhat.com>
4423
4424 * config/sid.exp (gdb_target_sid): Check for error messages.
4425 On error or timeout, don't make expect exit (which will terminate
4426 all subsequent tests); instead just make gdb exit.
d63a86f8 4427 (gdb_load): Check for error messages. On error or timeout,
66c756c6
MS
4428 return a negative value.
4429
a966fde5
JB
44302001-04-24 Jim Blandy <jimb@redhat.com>
4431
851c18e0
JB
4432 * gdb.c++/templates.exp: If we see the prompt for the overload
4433 list, but we haven't recognized any of the longer patterns,
4434 arrange for this test to fail, not hang.
4435
a966fde5
JB
4436 * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
4437 variations.
4438
db144853
MC
44392001-04-22 Michael Chastain <chastain@redhat.com>
4440
4441 * gdb.c++/local.exp: Use the 'runto' library function.
4442 * gdb.c++/namespace.exp: Likewise.
4443 * gdb.c++/overload.exp: Likewise.
4444
3207ec21
KB
44452001-03-26 Kevin Buettner <kevinb@redhat.com>
4446
4447 * gdb.base/Makefile.in (EXECUTABLES): Add step-line.
4448 * gdb.base/step-line.exp: New file. Test step/next in presence of
4449 #line directives.
4450 * gdb.base/step-line.c: New file. Test program for the above.
4451 * gdb.base/step-line.inp: New file. We pretend that this file has
4452 been transformed by some other tool into step-line.c.
4453
13b57657
JB
44542001-03-21 Jim Blandy <jimb@redhat.com>
4455
4456 * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
4457 unmangled operator names.
4458
754cbe1c
JB
44592001-03-20 Jim Blandy <jimb@redhat.com>
4460
4461 * gdb.threads/linux-dp.exp: Recognize an additional message
4462 generated by GDB when it doesn't understand how to debug threads
4463 on the target system.
4464
177495c9
AC
44652001-03-19 Andrew Cagney <ac131313@redhat.com>
4466
4467 * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
4468
f266096b
MC
44692001-03-12 Michael Chastain <chastain@redhat.com>
4470
4471 * gdb.c++/derivation.exp: Use the 'runto' library function.
4472
cac3c2ff
MC
44732001-03-12 Michael Chastain <chastain@redhat.com>
4474
4475 * gdb.c++/annota2.exp: Fix regular expression for "post-query".
4476
b6c11a24
MC
44772001-02-24 Michael Chastain <chastain@redhat.com>
4478
4479 * gdb.c++/ref-types.exp: Change handwritten code to library
4480 function 'runto'.
4481
6bae5bce
OF
44822001-03-16 Orjan Friberg <orjanf@axis.com>
4483
4484 * gdb.base/signals.exp: Set count to 0 explicitly.
4485
0015fd9a
MS
44862001-03-15 Mark Salter <msalter@redhat.com>
4487
4488 * config/monitor.exp (gdb_target_cmd): Add explicit error return.
4489 (gdb_target_monitor): Add check of gdb_target_cmd return value.
880a15ee
MS
4490 (gdb_load): Add support for additional target_info: gdb_download_size
4491 and gdb_load_timeout.
0015fd9a 4492
fc33412a
DT
4493Thu Mar 8 16:06:00 2001 David Taylor <taylor@redhat.com>
4494
4495 * gdb.base/annota1.exp: Move test of isnative to earlier in the
4496 file -- to prevent failing when the compile fails but we have no
4497 intention of running the tests anyway.
4498
4499 * gdb.base/long_long.exp: Test target_info for no_long_long, skip
4500 tests if set.
4501
4502 * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
4503 integers.
4504
4505 * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
4506 * gdb.c++/namespace.exp: Ditto.
4507
115f06de
OF
45082001-03-07 Orjan Friberg <orjanf@axis.com>
4509
4510 * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
4511 * gdb.base/pointers.exp: Relax pattern match of decimals.
4512
b6ba6518
KB
45132001-03-06 Kevin Buettner <kevinb@redhat.com>
4514
4515 * Makefile.in, config/abug.exp, config/cfdbug.exp,
4516 config/cpu32bug.exp, config/dve.exp, config/est.exp,
4517 config/gdbserver.exp, config/hmsirom.exp, config/hppro.exp,
4518 config/i960.exp, config/m32r.exp, config/mn10300-eval.exp,
4519 config/monitor.exp, config/proelf.exp, config/rom68k.exp,
4520 config/sh.exp, config/sid.exp, config/slite.exp,
4521 config/sparclet.exp, config/udi.exp, config/unknown.exp,
4522 config/vr4300.exp, config/vr5000.exp, config/vx.exp,
4523 config/vxworks.exp, config/vxworks29k.exp,
4524 gdb.asm/asm-source.exp, gdb.base/a2-run.exp,
4525 gdb.base/all-bin.exp, gdb.base/annota1.exp,
4526 gdb.base/arithmet.exp, gdb.base/assign.exp,
4527 gdb.base/async.exp, gdb.base/attach.exp,
4528 gdb.base/bitfields.exp, gdb.base/bitops.exp,
4529 gdb.base/break.exp, gdb.base/call-ar-st.exp,
4530 gdb.base/call-rt-st.exp, gdb.base/call-strs.exp,
4531 gdb.base/callfuncs.exp, gdb.base/callfwmall.exp,
4532 gdb.base/commands.exp, gdb.base/completion.exp,
4533 gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
4534 gdb.base/constvars.exp, gdb.base/corefile.exp,
4535 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
4536 gdb.base/display.exp, gdb.base/ena-dis-br.exp,
4537 gdb.base/ending-run.exp, gdb.base/environ.exp,
4538 gdb.base/eval-skip.exp, gdb.base/exprs.exp,
4539 gdb.base/finish.exp, gdb.base/foll-exec.exp,
4540 gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp,
4541 gdb.base/funcargs.exp, gdb.base/help.exp,
4542 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp,
4543 gdb.base/logical.exp, gdb.base/long_long.exp,
4544 gdb.base/maint.exp, gdb.base/mips_pro.exp,
4545 gdb.base/miscexprs.exp, gdb.base/nodebug.exp,
4546 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp,
4547 gdb.base/pointers.exp, gdb.base/printcmds.exp,
4548 gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp,
4549 gdb.base/regs.exp, gdb.base/relational.exp,
4550 gdb.base/remote.exp, gdb.base/reread.exp,
4551 gdb.base/restore.exp, gdb.base/return2.exp,
4552 gdb.base/scope.exp, gdb.base/sect-cmd.exp,
4553 gdb.base/selftest.exp, gdb.base/setshow.exp,
4554 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
4555 gdb.base/sigall.exp, gdb.base/signals.exp,
4556 gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp,
4557 gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
4558 gdb.base/step-test.exp, gdb.base/structs.c,
4559 gdb.base/structs.exp, gdb.base/structs2.exp,
4560 gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp,
4561 gdb.base/volatile.exp, gdb.base/watchpoint.exp,
4562 gdb.base/whatis-exp.exp, gdb.base/whatis.exp,
4563 gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
4564 gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.exp,
4565 gdb.c++/derivation.exp, gdb.c++/inherit.exp,
4566 gdb.c++/local.exp, gdb.c++/member-ptr.exp, gdb.c++/method.exp,
4567 gdb.c++/misc.exp, gdb.c++/namespace.exp, gdb.c++/overload.exp,
4568 gdb.c++/ref-types.exp, gdb.c++/templates.exp,
4569 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp,
4570 gdb.disasm/am33.exp, gdb.disasm/hppa.exp,
4571 gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp,
4572 gdb.fortran/types.exp, gdb.java/jmisc.exp,
4573 gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
4574 gdb.stabs/weird.exp, gdb.threads/linux-dp.exp,
4575 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
4576 gdb.trace/circ.exp, gdb.trace/collection.exp,
4577 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
4578 gdb.trace/limits.exp, gdb.trace/packetlen.exp,
4579 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp,
4580 gdb.trace/report.exp, gdb.trace/save-trace.exp,
4581 gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
4582 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
4583 lib/gdb.exp, lib/mi-support.exp: Update/correct copyright
4584 notices.
4585
dc96c6c7 45862001-02-27 Michael Snyder <msnyder@cygnus.com>
d8f92b1f
MS
4587
4588 * gdb.base/varargs.c (find_max_double): Fix printf format string:
4589 first arg is int not float.
4590
dc96c6c7 45912001-02-22 Michael Snyder <msnyder@cygnus.com>
40f33b9b
MS
4592
4593 * gdb.base/reread.exp: Unsupported for non-native targets;
4594 doesn't work for remote debugging.
4595
9b0c4aeb
FN
45962001-02-19 Fernando Nasser <fnasser@redhat.com>
4597
4598 From Drew Moseley <dmoseley@redhat.com>
4599 * gdb.base/ending-run.exp: Properly handle the BSP state when
4600 stepping past the end of main.
4601
02aa71d5
MC
46022001-02-19 John Moore <jmoore@redhat.com>
4603
4604 * gdb.base/commands.exp (infrun_breakpoint_command_test):
4605 Converted HPUX fix for non-expected items following multiple
4606 step commands into general solution for all platforms.
4607
1fa449a4
MC
46082001-02-18 Michael Chastain <chastain@redhat.com>
4609
4610 * gdb.c++/classes.exp (do_tests): Change runto statements
4611 from "runto 'foo(void)'" to "runto 'foo'". This makes the
4612 statements demangler agnostic.
4613 * gdb.c++/virtfunc.exp (do_tests): Likewise.
4614 (gdb_virtfunc_restart): Likewise.
4615
b2f9ec70
MC
46162001-02-14 Michael Chastain <chastain@redhat.com>
4617
4618 * gdb.c++/inherit.exp (do_tests): Change runto statements
4619 from "runto 'foo(void)'" to "runto 'foo'". This makes the
4620 statements demangler agnostic.
4621
cf74b8ca
AC
4622Sun Feb 4 17:32:21 2001 Andrew Cagney <cagney@redhat.com>
4623
4624 * gdb.threads/pthreads.exp: Unify pass/fail messages for
4625 ``continue to bkpt at common_routine in thread 2'' and ``stopped
4626 before calling common_routine 15 times'' tests.
4627
99f78f56
MC
46282001-02-11 Michael Chastain <chastain@redhat.com>
4629
4630 * gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
4631 Helps the test script figure out which demangler is in use.
4632 (dm_type_foo_ref): Ditto.
4633 (dm_type_int_star): Ditto.
4634 (dm_type_long_star): Ditto.
4635 (dm_type_unsigned_int): Ditto.
4636 (dm_type_void): Ditto.
4637 (dm_type_void_star): Ditto.
99707966 4638 * gdb.base/cplusfuncs.exp (probe_demangler): New function.
99f78f56
MC
4639 Probe the gdb demangler and set variables to accommodate
4640 formatting differences.
4641 (info_func_regexp): New function. Same as info_func, but
4642 matches against a regexp.
4643 (info_func): Match against a literal string.
4644 (print_addr_2): New function. Match against a literal string,
4645 which can be different from the input to gdb.
4646 (print_addr): Simply call print_addr_2 with the same argument twice.
4647 (test_lookup_operator_functions): Use demangler formatting variables.
4648 Blow away the xfails and workarounds for gnats gdb bug gdb/18. Sort
4649 the tests in the same order as the C++ class declaration.
4650 (test_paddr_operator_functions): Ditto.
4651 (test_paddr_overloaded_functions): Ditto.
4652 (test_paddr_hairy_functions): Use demangler formatting variables.
4653 Add reference to gdb/19 for related tests.
4654 (do_tests): Call probe_demangler.
4655
1de8f023
KB
46562001-01-30 Kevin Buettner <kevinb@redhat.com>
4657
4658 * gdb.c++/templates.cc (printf): Remove unused function definition.
4659
ca3f91ed
MS
46602001-01-26 Felix Lee <flee@redhat.com>
4661
4662 * sid.exp (sid_exit): Pass host, not target, to remote_close.
4663
46642001-01-25 matthew green <mrg@redhat.com>
4665
4666 * config/sid.exp (sid_start): Call `remote_push_conn' after firing
4667 up sid.
4668 (sid_exit): Call `remote_pop_conn' after GDB is gone.
4669
46702001-01-25 matthew green <mrg@redhat.com>
4671
4672 * config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.'
d63a86f8 4673 Deprecate $sid_spawn_id.
ca3f91ed
MS
4674 (sid_exit): Remove code necessary only for `spawn.'
4675
46762001-01-25 matthew green <mrg@redhat.com>
4677
4678 * config/sid.exp (sid_start): Handle sim,protocol of `sid.'
4679
fb18ec4a
MC
46802001-01-28 Michael Chastain <chastain@redhat.com>
4681
4682 * gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
4683 to call when tests fail. It takes gdb out of the overloaded
4684 function choice menu back to the main prompt, so that the test
4685 program stays synchronized.
4686 (set_bp_overloaded): New proc to collect all the common
4687 code for setting a breakpoint on an overloaded name. Calls
4688 take_gdb_out_of_choice_menu when needed.
4689 (menu_overload1arg): New variable to collect the repeated
4690 instances of the expected menu for an overloaded name. Change
4691 the regular expression to handle changes in g++ type encoding:
4692 "void" can be either "void" or "", and "unsigned int" can be
4693 either "unsigned int" or "unsigned".
4694 (continue_to_bp_overloaded): Change regular expressions to handle
4695 changes in g++ type encoding.
4696 (no proc): Call take_gdb_out_of_choice_menu when needed.
4697 Remove redundant calls to "info break". Accept either "canceled"
4698 or "cancelled". Change regular expressions in "info break"
4699 calls to handle changes in g++ type encoding. Give all tests
4700 unique strings.
4701
9c646a6e
BE
47022001-01-17 Ben Elliston <bje@redhat.com>
4703
4704 * config/sid.exp: New file.
4705
9549d9c1
AC
4706Fri Jan 12 18:29:01 2001 Andrew Cagney <cagney@b1.cygnus.com>
4707
4708 * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
4709
dc96c6c7 47102000-12-21 Michael Snyder <msnyder@cygnus.com>
315f8b0e
MS
4711
4712 * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
4713 Add a RE to accept a non-ascii char if one is ever presented.
4714
b4df4f68
FN
47152000-12-20 Fernando Nasser <fnasser@redhat.com>
4716
297dd0fd 4717 * lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
b4df4f68 4718
dc96c6c7 47192000-12-18 Michael Snyder <msnyder@cygnus.com>
49c890fc 4720
d63a86f8 4721 * gdb.base/setvar.exp: Use double '\\' to quote curly braces
49c890fc
MS
4722 in regexp. One '\' does not suffice on Linux.
4723
4a7bddb6
MC
47242000-12-09 Michael Chastain <chastain@redhat.com>
4725
4726 * gdb.base/break.exp (test_clear_command): Use a marker function
4727 rather than 'main' for the test function. Also move this
4728 test to an execution point where the marker function names are
4729 guaranteed to be bound to functions. (Executing tests after a
4730 'finish' from main runs into name conflicts with local names
4731 in __libc_start_main).
4732
dc96c6c7 47332000-12-07 Michael Snyder <msnyder@cygnus.com>
efb66345
MS
4734
4735 * gdb.base/finish.exp: New test for gdb's "finish" command.
4736 * gdb.base/return2.exp: New test for gdb's "return" command.
4737 * gdb.base/return2.c: New source file for above.
4738
dc96c6c7 47392000-12-05 Michael Snyder <msnyder@cygnus.com>
3c077de9
MS
4740
4741 * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
4742 * gdb.base/miscexprs.exp: Ditto.
4743 * gdb.base/pointers.exp: Ditto.
4744 * gdb.c++/derivation.exp: Ditto.
4745 * gdb.c++/local.exp: Ditto.
4746 * gdb.c++/namespace.exp: Ditto.
4747 * gdb.c++/overload.exp: Ditto.
4748 * gdb.c++/ref-types.exp: Ditto.
4749
dc96c6c7 47502000-12-05 Michael Snyder <msnyder@cygnus.com>
660fd469
MS
4751
4752 * gdb.base/constvars.exp: Test result of "up" command.
4753 * gdb.base/miscexprs.exp: Ditto.
4754 * gdb.base/pointers.exp: Ditto.
4755 * gdb.base/scope.exp: Ditto.
4756 * gdb.c++/derivation.exp: Ditto.
4757 * gdb.c++/local.exp: Ditto.
4758 * gdb.c++/namespace.exp: Ditto.
4759 * gdb.c++/overload.exp: Ditto.
4760 * gdb.c++/ref-types.exp: Ditto.
4761
44097287
FN
47622000-11-22 Michael Chastain <chastain@redhat.com>
4763
4764 * mips_pro.exp: Accept either "middle -> top -> main" or
4765 "middle -> main" in the backtrace, because gcc can optimize
4766 tail calls to jumps. Remove setup_xfail for the hppa case.
4767 Add a comment with the original warning messages from PR 3016,
4768 which was filed in 1993, to preserve them for posterity.
4769
9d2e1bab
ND
47702000-11-17 Nick Duffek <nsd@redhat.com>
4771
4772 * lib/gdb.exp (gdb_test): Override timeout with board info.
4773
1aca8eb7
ND
47742000-11-17 Nick Duffek <nsd@redhat.com>
4775
4776 * gdb.base/display.exp: Don't kill running stub. Add "again" to
4777 the second kill and detach messages.
4778
93076499
ND
47792000-11-17 Nick Duffek <nsd@redhat.com>
4780
4781 * configure.in: Add AC_EXEEXT.
4782 * configure: Regenerate.
4783 * Makefile.in (just-check): Export EXEEXT.
4784 * lib/gdb.exp ($EXEEXT): Import from environment.
4785 * gdb.base/maint.exp: Expect $EXEEXT in executable name. Don't
4786 expect "maint dump-me" on Cygwin.
4787 * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
4788 $EXEEXT.
4789
30e87cd3
ND
47902000-11-17 Nick Duffek <nsd@redhat.com>
4791
4792 * gdb.base/break.exp: Test backtrace and finish from called
4793 function on all platforms, not just HP-UX.
4794
dc96c6c7 47952000-11-03 Michael Snyder <msnyder@cygnus.com>
08e706b1
MS
4796
4797 * config/monitor.exp (gdb_target_cmd): Abstracts some of the
4798 code from gdb_target_monitor, so it can be used independantly
4799 for gdbserver. Also comment out an unnecessary PUTS.
d63a86f8 4800
dc96c6c7 48012000-11-03 Michael Snyder <msnyder@cygnus.com>
958a4e4c
MS
4802
4803 * gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
4804 * gdb.base/corefile.exp: Expect the message "Program is being
4805 debugged already" when we send the "corefile" command, since
4806 the preceeding gdb_load may have connected gdb to a remote target.
4807 * gdb.base/display.exp: Disable hardware watchpoints if new
4808 board info variable "no_hardware_watchpoints" is true.
4809 Replace single-letter commands with more readable ones.
4810 * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
4811 if new board info variable "no_hardware_watchpoints" is true.
4812 * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
4813 to see if stdio (printf) testing is possible.
4814 * gdb.base/watchpoint.exp: Disable hardware watchpoints if new
4815 board info variable "no_hardware_watchpoints" is true. Use new
4816 proc "gdb_skip_stdio_tests" to see if printf tests are possible.
4817
39124dea
FN
48182000-11-13 Fernando Nasser <fnasser@redhat.com>
4819
4820 From Orjan Friberg <orjanf@axis.com>:
4821 * gdb.base/printcmds.exp: Escape curly braces followed by a number
4822 in array print pattern match.
4823
a9e2e984
FN
48242000-11-09 Fernando Nasser <fnasser@redhat.com>
4825
4826 * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
4827 spelling "cancelled" to U.S. spelling "canceled" to match changes
4828 made to gdb.
4829 * gdb.c++/ovldbreak.exp: Ditto.
4830
c7db355b
PS
48312000-11-06 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
4832
4833 * gdb.base/callfuncs.c (main): Moved to end of file, call
4834 t_double_values to initialize the FPU before inferior calls are made.
4835 * gdb.base/callfuncs.exp: Test for register preservation after calling
4836 inferior functions. Add tests for continuining, finishing and
4837 returning from a stop in a call dummy.
4838
dc96c6c7 48392000-10-24 Michael Snyder <msnyder@cygnus.com>
42f5c13f
MS
4840
4841 * gdb.base/commands.exp: Break up long lines, and re-indent.
4842
dc96c6c7 48432000-10-19 Michael Snyder <msnyder@cygnus.com>
ae0323a8
MS
4844
4845 * config/gdbserver.exp: Rewritten from the ground up, to make it
4846 compatible with the current dejagnu tree, and to make it work with
4847 the new "gdbserver" in libremote.
4848
dc96c6c7 48492000-10-16 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
4850
4851 * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
4852 * gdb.base/varargs.exp: Skip entire test if no printf support.
4853 * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
4854 * gdb.base/shlib-call.exp: Skip several tests if no printf support.
4855
dc96c6c7 48562000-10-13 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
4857
4858 * lib/gdb.exp (gdb_skip_float_test): New proc. Skip test if
4859 no floating point support.
4860 (gdb_skip_stdio_test): New proc. Skip test if no stdio support.
4861 * gdb.base/call-ar-st.exp: Use above procs to skip tests.
4862 * gdb.base/call-rt-st.exp: Ditto.
4863 * gdb.base/call-strs.exp: Ditto.
4864
bac5fc66
JG
48652000-08-02 Jimmy Guo <guo@hpcleara.cup.hp.com>
4866
4867 * gdb.base/sizeof.c: include <stdio.h>.
4868
4869 * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
4870 'finish', otherwise uncaptured gdb_prompt would potentially
4871 throw remaining test points out of sync.
4872
b22a6027
SB
48732000-07-26 Scott Bambrough <scottb@netwinder.org>
4874
4875 * gdb.base/recurse.exp: Run tests for all targets.
4876 * gdb.base/so-impl-ld.exp: Added wildcard to handle the
4877 gnu-oldld case on ARM.
4878 * gdb.base/watchpoint.exp (test_stepping): Clear xfail
4879 for ARM targets.
d63a86f8 4880
d8231941
AG
4881Mon Jul 24 07:46:02 CDT 2000 Clinton Popetz <cpopetz@cygnus.com>
4882
4883 * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
4884 * gdb.java/configure: Rebuild.
4885
8caabe69
AG
4886Sun Jul 23 21:42:34 2000 Anthony Green <green@redhat.com>
4887
4888 * gdb.java/jv-exp.exp: New file.
4889
9d273ca3
AG
4890Sun Jul 23 21:02:42 2000 Anthony Green <green@redhat.com>
4891
4892 * configure: Rebuilt.
4893 * configure.in (configdirs): Add gdb.java.
4894 * gdb.java/jmisc.java: New file.
4895 * gdb.java/jmisc.exp: New file.
4896 * gdb.java/Makefile.in: New file.
4897 * gdb.java/configure: Rebuilt.
4898 * gdb.java/configure.in: New file.
4899 * lib/java.exp: New file.
4900
4f823a66
AC
4901Wed Jul 12 18:14:29 2000 Andrew Cagney <cagney@b1.cygnus.com>
4902
4903 * gdb.base/exprs.exp: Test casts to a pointer including over and
4904 underflow.
4905
2391e11d
AC
4906Thu Jul 13 11:52:53 2000 Andrew Cagney <cagney@b1.cygnus.com>
4907
4908 * gdb.base/sizeof.exp, gdb.base/sizeof.c: New files. Compare GDB
4909 and the compilers sizes.
4910
54602222
ND
49112000-07-09 Nick Duffek <nsd@redhat.com>
4912
4913 * gdb.c++/misc.cc (class ClassParam, class_param): Define.
4914 (use_methods): New function.
4915 (main): Call use_methods().
4916 * gdb.c++/classes.exp (test_method_param_class): New procedure.
4917 (do_tests): Call test_method_param_class.
4918
2bec0572
ND
49192000-07-09 Nick Duffek <nsd@redhat.com>
4920
4921 * gdb.c++/classes.exp (test_nonexistant_members): Fix name
4922 spelling.
4923 (test_enums): New procedure. Move enum tests from end of script
4924 to here. Set breakpoint on function name instead of line number.
4925 * gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
4926 (enums2): New marker function.
4927 (enums1): New function.
4928 (main): Call enums1(). Move enum tests to enums1().
4929
78492fde
AC
4930Tue Jul 4 03:43:49 2000 Andrew Cagney <cagney@b1.cygnus.com>
4931
4932 * gdb.asm/asm-source.exp: Use raw AS/LD instead of CC to
4933 compile/link program. Update line numbers.
4934 * gdb.asm/d10v.inc: Define ``startup''.
4935 * gdb.asm/asmsrc1.s: Add definition of _start.
d63a86f8 4936
49a2cef8
AC
4937Fri Jun 23 17:45:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
4938
4939 * gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
4940
3e6c8688
EZ
49412000-06-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4942
4943 * gdb.base/maint.exp: Add 'maint print architecture' item to output
4944 of 'help maint print' command.
4945
9ff5cbe9
AC
4946Fri Jun 16 18:22:05 2000 Andrew Cagney <cagney@b1.cygnus.com>
4947
4948 * gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
4949 they use gdb_expect_list.
4950
17c579bd
AC
4951Wed Jun 7 13:02:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
4952
4953 * gdb.base/commands.exp: Use ``set remote
4954 memory-read-packet-size'' instead of ``set endian big'' to test
4955 long commands.
4956
e6d71bf3
DB
49572000-06-03 Daniel Berlin <dan@cgsoftware.com>
4958
4959 * gdb.c++/templates.exp (do_tests): Make all of these work under
d63a86f8 4960 g++, and stop skipping them.
e6d71bf3
DB
4961
4962 * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
4963 work under g++.
4964
d63a86f8 4965 * gdb.c++/misc.cc: Fix ambiguous initialization with correct
e5f9ba7b
MS
4966 initialization.
4967
dc96c6c7 49682000-06-02 Michael Snyder <msnyder@cygnus.com>
7346e70f
MS
4969
4970 * gdb.base/annota1.exp (run until main breakpoint): Loosen up
4971 the regular expression: accept an (almost) arbitrary sequence of
4972 "frames-invalid" and "breakpoints-invalid" messages both before
4973 and after the "starting" message.
4974
dc96c6c7 49752000-06-02 Michael Snyder <msnyder@cygnus.com>
e5f9ba7b
MS
4976
4977 * gdb.c++/local.exp: This test has never been known to work with g++.
e6d71bf3 4978
dc96c6c7 49792000-05-18 Michael Snyder <msnyder@cygnus.com>
0a791409
MS
4980
4981 * gdb.base/annota1.exp (annotate-signal-handler-caller):
4982 Relax the regular expression a little, make it pass on Solaris 8.
4983
8216cda9
KB
49842000-05-12 Kevin Buettner <kevinb@redhat.com>
4985
4986 * gdb.base/step-test.exp: On IA-64 targets, when stepping out of
d63a86f8 4987 a call, do not require that gdb stop on the line after the call.
8216cda9
KB
4988 Instead, it is permissible for gdb to stop on the line of the
4989 call itself.
4990
1a570b2f
MS
49912000-05-12 Michael Snyder <msnyder@.cygnus.com>
4992
4993 * gdb.base/break.exp (bp on small function, optimized file):
4994 Add a second pass pattern. The behavior differs here between stabs
4995 and dwarf for one-line functions. Stabs preserves two line symbols
4996 (one before the prologue and one after) with the same line number,
4997 but dwarf regards these as duplicates and discards one of them.
4998 Therefore the address after the prologue (where the breakpoint is)
4999 has no exactly matching line symbol, and GDB reports the breakpoint
5000 as if it were in the middle of a line rather than at the beginning.
5001
dc96c6c7 50022000-05-08 Michael Snyder <msnyder@cygnus.com>
89cb06a2 5003
d63a86f8 5004 * gdb.base/interrupt.exp: Make "pass" message say "send"
89cb06a2
MS
5005 rather than "send_gdb" (for consistancy).
5006
7d418785
AC
5007Mon May 1 15:37:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
5008
5009 From 2000-04-28 Andreas Jaeger <aj@suse.de>:
5010 * gdb.c++/templates.cc: Properly check for GCC version number.
5011 * lib/compiler.cc: Likewise
5012
dc96c6c7 50132000-04-28 Michael Snyder <msnyder@cygnus.com>
e919ea79 5014
d63a86f8 5015 * gdb.base/break.exp: When compiled with -O2 optimization,
e919ea79
MS
5016 gdb may not stop at the first line of main, due to code motion.
5017
dc96c6c7 50182000-04-26 Michael Snyder <msnyder@cygnus.com>
1960c400
MS
5019
5020 * gdb.base/call-ar-st.exp: Bail out if target is sparclet.
5021 This test depends on parsing the printf output from the target.
5022 Since the sparclet stub doesn't do stdio, this will never work.
5023 * gdb.base/call-rt-st.exp: ditto.
5024 * gdb.base/call-strs: ditto.
5025
dc96c6c7 50262000-04-24 Michael Snyder <msnyder@cygnus.com>
b84b7669
MS
5027
5028 * gdb.base/miscexprs.exp: make sizeof long array test portable.
5029
5030 * gdb.base/ending-run.exp: After connecting to a remote target,
5031 but before running, the target will appear to be in a random
5032 location. Specify both a file and a line for breakpoints.
5033 Also, the function that calls main may be called 'init'
5034 rather than 'start'.
5035
a5a51225
EZ
50362000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5037
5038 * gdb.base/help.exp: Update output for add-symbol-file command.
5039
7930cc7c
FN
50402000-04-10 Fernando Nasser <fnasser@cygnus.com>
5041
5042 From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
5043 * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
5044
23e37ab1
C
50452000-04-07 J.T. Conklin <jtc@redback.com>
5046
e93c542c
C
5047 * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
5048
23e37ab1
C
5049 * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
5050
591b8fa3
PDM
5051Thu Mar 30 13:26:19 2000 Philippe De Muyter <phdm@macqel.be>
5052
5053 * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
5054 values that can be represented exactly.
5055 * gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
5056 above change, and to not check against the directory part of the source
5057 file name.
5058 (step into print_long_arg_list): Likewise.
5059 (print print_small_structs from print_long_arg_list): Likewise.
5060 (print print_long_arg_list): Likewise.
5061
7a495180
EZ
50622000-03-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5063
30b53638 5064 * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
7a495180 5065
beb998c6
AC
5066Mon Mar 27 14:46:37 2000 Andrew Cagney <cagney@b1.cygnus.com>
5067
5068 * ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
5069
1c689132
DB
50702000-03-25 Daniel Berlin <dan@cgsoftware.com>
5071
5072 * gdb.base/commands.exp (deprecated_command_test): Add test for
5073 deprecate with no arguments.
5074
c1790a9d
JL
50752000-03-24 Jonathan Larmour <jlarmour@redhat.co.uk>
5076
5077 * gdb.base/break.exp: Add new test for setting breakpoints on
5078 optimized code so we can test breakpoints work even when function
5079 prologues may be optimized away
5080
003ba290
FN
50812000-03-23 Fernando Nasser <fnasser@totem.to.cygnus.com>
5082
5083 From David Whedon <dwhedon@gordian.com>
5084 * gdb.base/commands.exp : Added command deprecator tests.
5085
6837a0a2
DB
50862000-03-22 Daniel Berlin <dan@cgsoftware.com>
5087
5088 * gdb.base/help.exp: Added test for new apropos command.
5089
b9593231
KB
50902000-03-21 Kevin Buettner <kevinb@redhat.com>
5091
5092 * gdb.base/pointers.c (usevar): New function.
5093 (main): Make sure that global variables v_int_pointer2, rptr,
5094 and y are all referenced someplace in the program by calling
5095 usevar() on them. [Some linkers delete symbols which are
5096 never referenced. The space remains, but there's no way to
5097 get a (symbolic) handle on the variable from the debugger.]
5098
751a959b
EZ
50992000-03-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5100
5101 * gdb.base/printcmds.c: Add typedeffed arrays.
5102
5103 * gdb.base/printcmds.exp (test_print_typedef_arrays): New
5104 procedure to test arrays that are typedef'd.
5105
73a93a32
JI
51062000-03-13 James Ingham <jingham@leda.cygnus.com>
5107
5108 * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
d63a86f8 5109 the library directories.
73a93a32 5110
fb40c209
AC
5111Mon Feb 21 13:05:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
5112
5113 * configure.in (configdirs): Add sub directory gdb.mi.
5114 * configure: Re-generate.
5115
5116 * gdb.mi: New directory.
d63a86f8 5117
ee4dd2c9
AC
51182000-02-25 Scott Bambrough <scottb@netwinder.org>
5119
5120 * gdb.base/long_long.exp: Correct test suite failure when printing
5121 a long long value as a double on ARM platforms.
5122
70f0cc22
JB
51232000-02-16 Jim Blandy <jimb@redhat.com>
5124
5125 * gdb.base/break.exp ("breakpoint line number"): Make sure the
5126 default source file is set properly before running this test.
5127
853819b8
EZ
51282000-02-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5129
5130 * lib/gdb.exp: Tell the testsuite that now gdbtk is in the
5131 gdbtk/library directory, not in gdbtcl2.
5132
dfcd3bfb
JM
51332000-02-04 Jim Blandy <jimb@redhat.com>
5134
5135 * gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
5136 backslash from regexp pattern.
5137
5138 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): New
5139 procedure. Use it to run all the "continue to bp overloaded"
5140 tests. Note that this changes the names of the tests slightly.
5141 If the breakpoint hit message includes a hex PC value, because
5142 GCC's Dwarf 2 line info doesn't help us distinguish the prologue
5143 from the real source code, still consider that a pass.
5144
5145 * gdb.base/condbreak.exp ("run until breakpoint at marker2"):
5146 XFAIL here if the breakpoint message contains a hex address. Note
5147 similar change on 1999-11-02.
5148
5149 * gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
5150
5151 * gdb.base/ptype.exp: Establish a default source file before
5152 calling get_debug_format.
5153
51542000-02-03 Fernando Nasser <fnasser@totem.to.cygnus.com>
5155
5156 * gdb.base/watchpoint.exp: Remove duplication of test messages.
5157
8b93c638
JM
51582000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
5159
5160 * gdb.base/step-test.exp: Fix the steps to enter a callee by means
5161 of successive stepi commands -- while in the prologue we should see
5162 the function entry bracket.
5163
51642000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
5165
5166 * gdb.base/ending-run.exp: Add ARM in thumb mode case, where we
5167 reach __change_mode() when stepping through the end of main().
5168
c5394b80
JM
51692000-01-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
5170
5171 * gdb.base/default.exp: Fix expected pattern.
5172 * gdb.base/help.exp: Same.
5173
0d06e24b
JM
51742000-01-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5175
5176 * gdb.base/so-indr-cl.exp: Don't execute the test if not on HPUX.
5177 Don't use xfail's because that affects only the following test.
d63a86f8 5178
0d06e24b
JM
5179 * gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
5180 solaris or linux.
5181
5182 * gdb.base/selftest.exp: Update to reflect changes to main.c.
5183
dc96c6c7 51842000-01-07 Michael Snyder <msnyder@cygnus.com>
0d06e24b 5185
d63a86f8 5186 * gdb.base/display.exp: Some yacc parsers like to say
0d06e24b
JM
5187 "A syntax error" rather than "A parse error". Accept both.
5188
51892000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
5190
5191 * gdb.base/default.exp: Remove OS dependent string from "target
5192 remote" test.
5193 * gdb.base/help.exp: Same for "help target remote" test.
5194
c3f6f71d
JM
51952000-01-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5196
5197 From Jim Kingdon <kingdon@redhat.com>:
5198
5199 * gdb.c++/annota2.exp: Fix "delete bps" test to wait for the
5200 prompt (cleanup rather than necessity, but still might keep output
5201 from spilling to next test).
5202
52032000-01-02 Fred Fish <fnf@cygnus.com>
5204
5205 * gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
5206 AIX, which defines them in <sys/types.h>.
5207
ed9a39eb 52081999-12-16 Stan Shebs <shebs@andros.cygnus.com>
c4093a6a 5209
ed9a39eb
JM
5210 * gdb.base/default.exp: Match arm* etc instead of arm in "info
5211 float" test.
5212
52131999-12-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
c4093a6a 5214
ed9a39eb 5215 * gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
c4093a6a
JM
5216
5217 * gdb.base/break.exp: Add missing anchor to reg exp on "finish from
5218 outermost frame disallowed".
5219
52201999-12-09 Fernando Nasser <fnasser@totem.to.cygnus.com>
5221
5222 * gdb.base/setvar.exp: New tests for setting the value of a struct
5223 with a constant list.
5224
52251999-12-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
5226
5227 * gdb.base/setvar.exp: Remove pair os tests that expected gdb to
5228 require the user to type a cast before setting the value of a struct.
5229
de57eccd
JM
52301999-12-06 Jim Blandy <jimb@cygnus.com>
5231
5232 * gdb.base/default.exp: Expect the new 'info float' command on
5233 all i386 platforms.
5234
5235 * gdb.threads/linux-dp.exp: Expand our ability to recognize
5236 LinuxThreads libraries that don't support debugging.
5237
c2d11a7d
JM
5238Sat Dec 4 15:21:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
5239
5240 * gdb.base/remote.c: Fill the buffer with truely random data.
5241 Change the buffer type to ``unsigned char'' to simplify size
5242 arithmetic.
5243
5244 * gdb.base/remote.exp: Reduce download numbers by one. Typical
5245 stub only handles 400-1 byte packets. Verify that the download
5246 worked.
5247
52481999-11-30 Fernando Nasser <fnasser@totem.to.cygnus.com>
5249
5250 * lib/gdb.exp (gdb_expect_list): FAIL only once on multiple pattern
5251 tests, using UNRESOLVED for the untested cases. Also, does not wait
5252 for a timeout if the prompt was received before a recognizable pattern.
5253
52541999-11-29 Fernando Nasser <fnasser@totem.to.cygnus.com>
5255
5256 * lib/gdb.exp (gdb_expect_list): Fix spelling.
5257
52581999-11-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5259
5260 * gdb.base/watchpoint.exp: Add tests cases for the hit count of
5261 watchpoints.
5262
52631999-11-24 Jason Merrill <jason@casey.cygnus.com>
5264
5265 * gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
5266
5267 * gdb.c++/local.exp: Be more flexible in recognizing local class
5268 name mangling. Don't allow horribly truncated method names.
5269 * gdb.c++/derivation.exp: Expect protected inheritance.
5270 * gdb.c++/inherit.exp: Be more flexible in recognizing vbase pointers.
5271 * gdb.c++/virtfunc.exp: Likewise.
5272 * gdb.c++/classes.exp: Likewise. Don't require the enclosing scope
5273 when printing a nested enum.
5274
52751999-11-22 Jim Blandy <jimb@cygnus.com>
5276
5277 * gdb.base/step-test.exp: Properly await GDB's response to setting
5278 a breakpoint on the call to large_struct_by_value.
5279
5280 * gdb.base/ending-run.exp ("step to end of run 1"): Don't fail
5281 just because we have debug info for the `start' function.
5282
52831999-11-19 Jim Blandy <jimb@zenia.red-bean.com>
5284
5285 * gdb.threads/linux-dp.exp ("create philosopher"): Recognize the
5286 "Unknown signal" messages, which indicate (on LinuxThreads) that
5287 GDB doesn't know how to debug threads on this system. This is
5288 better than hanging while philosopher 0 dumps chatter into gdb.log.
5289
52901999-11-18 Tom Tromey <tromey@cygnus.com>
5291
5292 * gdb.trace/deltrace.exp: Updated test to reflect new error text.
5293
52941999-11-18 Fred Fish <fnf@cygnus.com>
5295
5296 * gdb.base/coremaker2.c: Add sample program for generating
5297 cores that is more self contained than coremaker.c. Eventually
5298 I'll add more code to this and tie it into the testsuite.
5299
4ce44c66
JM
53001999-11-12 Stan Shebs <shebs@andros.cygnus.com>
5301
5302 * gdb.base/dollar.exp: Remove, now in gdb.hp.
5303
53041999-11-10 Jimmy Guo <guo@cup.hp.com>
5305
5306 * gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
5307 from $srcdir/lib/.
5308 * lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
5309 and gdb.c++/.
5310
5311 * gdb.c++/derivation.exp: remove redundant get compiler info code.
5312
d63a86f8 5313 * gdb.base/commands.exp: add '$gdb_prompt $' anchor to
4ce44c66
JM
5314 'continue with watch' test point.
5315
53161999-11-08 Jim Blandy <jimb@zenia.red-bean.com>
5317
5318 Merged from p2linux-990323-branch:
d63a86f8 5319
4ce44c66
JM
5320 * lib/gdb.exp (gdb_continue_to_breakpoint): New function.
5321
11cf8741
JM
5322Mon Nov 8 23:07:09 1999 Andrew Cagney <cagney@amy.cygnus.com>
5323
5324 * gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
5325 {limit,fixed}''. Test ``set download-write-size''.
5326
5327Sun Nov 7 17:37:01 1999 Andrew Cagney <cagney@b1.cygnus.com>
5328
5329 * gdb.base/funcargs.exp: Rewrite stack traceback checks using
5330 gdb_expect_list.
5331
5332Fri Nov 5 18:40:52 1999 Andrew Cagney <cagney@b1.cygnus.com>
5333
5334 * lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
5335
53361999-11-03 Mark Salter <msalter@cygnus.com>
5337
5338 * gdb.base/break.exp: Fix "stub continue" pattern.
5339
53401999-11-03 Jim Blandy <jimb@zwingli.cygnus.com>
5341
5342 * gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
5343
53441999-11-02 Jim Blandy <jimb@zwingli.cygnus.com>
5345
5346 * gdb.base/display.exp ("finish"): Add timeout clause.
5347
5348 * gdb.base/condbreak.exp ("run until breakpoint at marker1"): Add
5349 plain prompt clause, so this doesn't have to time out in order to
5350 fail.
5351
5352 * gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
5353 breakpoint hit messages include an address.
5354
5355 * gdb.base/display.exp: Don't forget to escape parens in regular
5356 expressions. Unix regexp notatation sucks.
5357
53581999-11-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5359
5360 * gdb.base/annota1.exp: Test for annotate-signalled: change output
5361 order for 'signalled' message.
5362
5c44784c
JM
53631999-11-01 Stan Shebs <shebs@andros.cygnus.com>
5364
5365 From Jimmy Guo <guo@cup.hp.com>:
5366 * gdb.base/annota1.exp: Add tests for annotate ignore count change.
5367 * gdb.base/annota1.c: Add code for tests to work with.
5368
53691999-10-26 Frank Ch. Eigler <fche@cygnus.com>
5370
5371 * gdb.base/remote.exp: New test for remote downloading settings.
5372 * gdb.base/remote.c: New file with large .data.
5373
917317f4
JM
53741999-10-18 Jim Blandy <jimb@zwingli.cygnus.com>
5375
5376 * gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
5377 for LinuxThreads support, merged from the Code Fusion branch.
5378
5379Mon Oct 11 13:57:21 1999 Andrew Cagney <cagney@amy.cygnus.com>
5380
5381 * lib/gdb.exp (gdb_run_cmd): Break complicated gdb_expect
5382 containing exp_continue into a while within an expect. Don't
5383 attempt a start more than three times. Check return value from
5384 gdb_load.
d63a86f8 5385
2df3850c
JM
5386Wed Oct 6 12:05:58 1999 Andrew Cagney <cagney@b1.cygnus.com>
5387
5388 * gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
5389 a pass case.
5390
2acceee2
JM
53911999-10-01 Kevin Buettner <kevinb@cygnus.com>
5392
5393 * gdb.base/break.c (main): Added a statement that we can step
5394 off of.
5395 * gdb.base/break.exp: Added tests for setting a breakpoint
5396 at an offset and stepping onto a breakpoint.
5397
53981999-10-01 Fred Fish <fnf@cygnus.com>
5399
d63a86f8 5400 * gdb.base/help.exp (help add-symbol-file): Update to match current
2acceee2
JM
5401 gdb output.
5402
c2c6d25f
JM
54031999-09-18 Jim Blandy <jimb@cris.red-bean.com>
5404
5405 * gdb.base/break.exp: Code locations are in hex, don't forget!
5406 (For HP-UX.)
5407
54081999-09-17 Stan Shebs <shebs@andros.cygnus.com>
5409
5410 * condbreak.exp: Use break.c as test program.
5411 * condbreak.c: Remove, redundant with break.c.
5412
54131999-09-15 Stan Shebs <shebs@andros.cygnus.com>
5414
5415 * config/monitor.exp (gdb_target_monitor): Disable X- and
5416 Z-packets if the target needs it.
5417
54181999-09-13 James Ingham <jingham@leda.cygnus.com>
5419
5420 * gdb.c++/overload.exp: Added tests for listing overloaded
5421 functions with function pointers in the arg, explicitly calling
5422 out the version you want.
5423
cff3e48b
JM
54241999-09-09 Stan Shebs <shebs@andros.cygnus.com>
5425
5426 * long_long.exp: Add variations of test cases that work for
5427 targets with 16-bit ints and 32-bit doubles.
5428
d4f3574e
SS
54291999-09-08 Stan Shebs <shebs@andros.cygnus.com>
5430
5431 * break.c (main): Compare a possibly-uninitialized argc with an
5432 unlikely value that fits in 16 bits.
5433
54341999-09-07 Stan Shebs <shebs@andros.cygnus.com>
5435
5436 * gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
5437 0xfeeb, don't want negative numbers if ints are 16 bits.
5438
5439 * lib/gdb.exp (skip_cplus_tests): New proc.
5440 * gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
5441 gdb.c++/anon-union.exp, gdb.c++/classes.exp,
5442 gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
5443 gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
5444 gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
5445 gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
5446 gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
5447 gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
5448
5449 * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
5450
5451Fri Sep 3 15:37:12 1999 Kevin Buettner <kevinb@cygnus.com>
5452
5453 * gdb.base/corefile.exp (up): Allow a parameter to appear
5454 in the frame that we're going up to.
5455
5456 From Jim Blandy <jimb@cygnus.com>:
5457
5458 * gdb.base/default.exp (info float): Expect some output now.
5459
5460 * gdb.base/callfuncs.exp (do_function_calls): We no longer expect
5461 returning floating-point values to fail on the x86.
5462 * gdb.base/callfwmall.exp (do_function_calls): Same.
5463
5464 * gdb.base/list.exp (test_listsize): Correct expectations for
5465 listing line 1 with listsize 2. Also, listing a single line
5466 works now, as does listing three lines. [Kevin's note: There
5467 were a number of other cases fixed too where the expectations
5468 differed...]
5469
54701999-09-02 Stan Shebs <shebs@andros.cygnus.com>
5471
5472 * gdb.base/selftest.exp: Add case for when version prints as
5473 constant string instead of char pointer.
5474
104c1213
JM
54751999-08-25 Stan Shebs <shebs@andros.cygnus.com>
5476
5477 * gdb.base/ending-run.exp: Add Solaris case for what happens when
5478 stepping out of main.
5479
5480 * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
5481 G++ used.
5482
5483 * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
5484 always, expect ptype InnerLocal::NestedInnerLocal to fail always.
5485
5486 * gdb.c++/ovldbreak.exp: Update match string in test that
5487 includes a warning of multiple breakpoints.
5488
54891999-08-24 Stan Shebs <shebs@andros.cygnus.com>
5490
5491 * gdb.base/display.exp: Improve precision of step-after-finish
5492 added yesterday.
5493
5494 * gdb.base/signals.exp: Add extra wildcard to "handle all print"
5495 test.
5496
5497 * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
5498 configs when using G++, not just hppa*.
5499
55001999-08-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5501
5502 * gdb.base/async.c: New file.
5503 * gdb.base/async.exp: New file.
5504
5505Tue Aug 24 03:24:53 1999 Jeffrey A Law (law@cygnus.com)
5506
5507 * gdb.base/break.exp: Tweak PA specific tests to properly handle
5508 PA64.
5509
53a5351d
JM
5510Mon Aug 23 10:25:20 1999 Jeffrey A Law (law@cygnus.com)
5511
104c1213
JM
5512 * gdb.base/display.exp: "finish" can leave us mid-line on many
5513 targets, deal with it. Add a small constant to main, instead of
5514 1000 since main+1000 may not be a valid address in the target.
5515
53a5351d
JM
5516 * gdb.base/dollar.exp: Do not run for PA processors in wide mode
5517 on hpux11.
5518
5519 * gdb.base/attach.exp: Handle another hpux11 error message variant
5520 when attaching to a process that does not exist.
5521
55221999-08-19 J.T. Conklin <jtc@redback.com>
5523
5524 * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
5525 characters in 'continue to 1241' test.
5526
55271999-08-17 Stan Shebs <shebs@andros.cygnus.com>
5528
5529 * gdb.base/call-ar-st.exp: Add a shorter match case for the
5530 stop in print_long_arg_list, define and use a whitespace
5531 variable in print_small_structs test, add an XFAIL for Solaris.
5532 * gdb.base/dbx.exp: XFAIL func commands until somebody is
5533 interested enough to fix.
5534
7be570e7
JM
55351999-08-13 Keith Seitz <keiths@cygnus.com>
5536
5537 * gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
5538 (dbx_gdb_load): Remove. Use gdb_load instead, since that
5539 proc knows about targets other than the natives.
5540 (test_assign): Use "gdb_run_cmd" to "run" the target.
5541 Check that we've actually hit the breakpoint at main.
5542 When we attempt to assign a value to a local variable, check
5543 that the variable is in the current scope, i.e., don't use
5544 a test with an empty result.
5545
5546Tue Aug 10 15:25:16 1999 Andrew Cagney <cagney@b1.cygnus.com>
5547
5548 * gdb.base/maint.exp: Add test of ``maintenance internal-error''
5549 command.
5550
55511999-08-09 Stan Shebs <shebs@andros.cygnus.com>
5552
5553 From Jimmy Guo <guo@cup.hp.com> and others at HP:
5554 gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
5555 gdb.compat, gdb.threads-hp.
5556 gdb.hp/configure, gdb.hp/configure.in: New files.
5557 gdb.hp/Makefile.in: Recurse into new subdirs.
5558 gdb.hp/gdb.defects: New directory, tests for HP bug reports.
5559 gdb.hp/gdb.objdbg: New directory, tests for debugging info
5560 in object files.
5561 gdb.hp/tools: New directory, aux tools for HP-specific tests.
5562
96baa820
JM
55631999-08-05 Stan Shebs <shebs@andros.cygnus.com>
5564
5565 * gdb.base/display.exp: Help expect by putting a newline in the
5566 funky printf, remove a bogus p/a test.
5567
55681999-08-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5569
5570 * gdb.base/display.exp: Make sure that when we say 'run', we are
5571 connected to the target. This is necessary when running not
5572 natively.
5573
55741999-08-03 Stan Shebs <shebs@andros.cygnus.com>
5575
5576 * gdb.base/step-test.exp: Removed some extraneous messages.
5577
5578 * gdb.base/long_long.exp: Don't run memory examination tests
5579 on little-endian targets (they will need a different set of
5580 results to match).
5581
55821999-08-02 Stan Shebs <shebs@andros.cygnus.com>
5583
5584 * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
5585 until somebody decides to fix GDB.
5586
5587 * gdb.base/long_long.c: Stop compiler complaint by specifying long
5588 constant as "ULL".
5589 * gdb.base/long_long.exp: Loosen x/c test, add partial result
5590 matches for a couple x/2 commands.
5591
a0b3c4fd
JM
55921999-07-30 Stan Shebs <shebs@andros.cygnus.com>
5593
5594 * gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
5595 by merging in ref-types2 tests.
5596 * gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
5597
5598 From Jimmy Guo <guo@cup.hp.com> and others at HP:
5599 * gdb.c++/Makefile.in: Add standard actions.
5600 (EXECUTABLES): Rename from PROGS, update list.
5601 * gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
5602 from gdb.hp.
5603 * gdb.c++/anon-union.cc: Don't use anonymous struct, make
5604 foo and bar locals.
5605 * gdb.c++/anon-union.exp: Fix tests to match.
5606 * gdb.c++/classes.exp: Run if HP compiler used, add extra
5607 expect matches to handle output variations.
5608 * gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
5609 * gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
5610 output, add HP alternatives for new and delete prints.
5611 * gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
5612 gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
5613 * gdb.c++/demangle.exp: Use $style when reporting failure.
5614 * gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
5615 * gdb.c++/inherit.exp: Run if HP compiler used, add some
5616 match alternatives.
5617 * gdb.c++/local.exp: Add match alternatives or xfails for HP
5618 compilers.
5619 * gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
5620 * gdb.c++/method.exp: Add match alternatives.
5621 * gdb.c++/misc.cc: Add bool types.
5622 * gdb.c++/misc.exp: Add tests for bool types.
5623 * gdb.c++/overload.exp: Add xfails.
5624 * gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
5625 * gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
5626 add some more template parameter tests (only for HP currently).
5627 * gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
5628 * gdb.c++/virtfunc.cc: Add return type and value for main.
5629 * gdb.c++/virtfunc.exp: Run if HP compiler used, add some
5630 match alternatives.
d63a86f8 5631
a0b3c4fd
JM
56321999-07-30 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5633
5634 * gdb.base/display.exp: Fix output of 'p/a &&j' test.
5635
56361999-07-29 Jim Blandy <jimb@savonarola.red-bean.com>
5637
5638 * gdb.base/signals.exp: Don't expect getting a backtrace from
5639 within a signal handler to fail on Linux.
5640
56411999-07-29 Stan Shebs <shebs@andros.cygnus.com>
5642
5643 From Jimmy Guo <guo@cup.hp.com> and others at HP:
5644 * lib/gdb.exp: Remove some gratuitious semicolons.
5645 (delete_breakpoints): Increase timeout.
5646 (gdb_expect): Add -notransfer option.
5647 (gdb_test): Use -notransfer option.
5648 (get_compiler_info): Add f77 case.
5649 (get_compiler): New proc, split out from gdb_preprocess, add f77
5650 case.
5651 (gdb_preprocess): Call get_compiler.
5652
5653 * gdb.base/Makefile.in (EXECUTABLES): Update the list.
5654 * gdb.base/attach.exp, gdb.base/display.exp,
5655 gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
5656 gdb.base/long_long.exp, gdb.base/printcmds.exp,
5657 gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
5658 third arg to gdb_test.
5659 * gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
5660 * gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
5661 HP-UX xfails, add others.
5662 * gdb.base/completion.exp: Reflect name change of self-test.
5663 * gdb.base/condbreak.exp, gdb.base/corefile.exp,
5664 gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
5665 gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
5666 HP failure number.
5667 * gdb.base/foll-vfork.exp: Loosen matches slightly, remove
5668 useless HP-UX 10.30 references.
5669 * gdb.base/maint.exp: Loosen matches.
5670 * gdb.base/pointers.c (main): Declare more_code.
5671 * gdb.base/pointers.exp: Match on output of a `next'.
5672 * gdb.base/structs.c: Add prototypes.
5673 * gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
5674 * gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
5675
56761999-07-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5677
5678 * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
5679 command.
5680
56811999-07-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5682
5683 * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
5684 Fix run to main failures. Watchpoint can be hardware watchpoint.
d63a86f8
RM
5685
5686 * gdb.base/annota1.exp: Clean up some more, in case printf has
a0b3c4fd
JM
5687 debug info. Deal with lack of signal hanlder info in stack.
5688
5689 From Jim Kingdon <kingdon@redhat.com>:
5690 * gdb.base/annota1.exp: If printf has debug info, deal with it.
5691
5a2468f5
JM
56921999-07-19 Stan Shebs <shebs@andros.cygnus.com>
5693
5694 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
5695 gdb.base/foll-vfork.exp: Don't run for crosses.
5696
adf40b2e
JM
5697Tue Jul 13 23:37:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
5698
5699 * gdb.base/configure.in: Check for gdbvars.exp instead of
5700 a1-selftest.exp.
5701 * gdb.base/configure: Re-generate.
5702
57031999-07-12 Stan Shebs <shebs@andros.cygnus.com>
5704
5705 * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
5706 in trying to run first and name is too long.
5707
5708 * gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
5709 pointers2.c and pointers2.exp, respectively.
5710 * gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
5711 doschk happier.
5712
43e526b9
JM
57131999-07-08 Stan Shebs <shebs@andros.cygnus.com>
5714
5715 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
5716 callfuncs2.c and callfuncs2.exp.
5717
5718 * gdb.base/list.exp: Remove mistaken xfails.
5719 * gdb.base/list0.h: Add optional prototypes.
5720
9846de1b
JM
5721Wed Jul 7 00:27:35 1999 Andrew Cagney <cagney@amy.cygnus.com>
5722
5723 * gdb.base/setvar.exp: Increase the time-out on tests indirectly
5724 calling malloc.
5725 * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
5726 * ptype.exp: Move test for get_debug_format to before its first
5727 use.
5728
57291999-07-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5730
5731 * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
5732 * gdb.base/annota2.cc, annota2.exp: Move from here.
5733 * gdb.c++/annota2.cc, annota2.exp: To here.
5734 * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
5735
43ff13b4
JM
5736Tue Jun 29 11:56:06 1999 Andrew Cagney <cagney@b1.cygnus.com>
5737
5738 * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
5739 a consistent format.
5740
085dd6e6
JM
57411999-06-25 Stan Shebs <shebs@andros.cygnus.com>
5742
5743 From Jimmy Guo <guo@cup.hp.com> and others at HP:
5744 * lib/gdb.exp (get_compiler_info): Add detection for assorted
5745 HP compilers, also set the globals $true and $false.
5746
5747 * gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
5748 call-rt-st.c, call-strs.c, callfuncs.c, callfuncs2.c, condbreak.c,
5749 coremaker.c, ending-run.c, exprs.c, funcargs.c, interrupt.c,
5750 jump.c, langs0.c, langs1.c, langs2.c, list0.c, list1.c,
5751 long_long.c, mips_pro.c, nodebug.c, opaque0.c, opaque1.c,
5752 printcmds.c, ptype.c, recurse.c, restore.c, return.c, run.c,
5753 scope0.c, scope1.c, setshow.c, setvar.c, shmain.c, shr1.c, shr2.c,
5754 sigall.c, signals.c, so-impl-ld.c, so-indr-cl.c, solib.c,
5755 solib1.c, solib2.c, step-test.c, twice.c, varargs.c, watchpoint.c,
5756 whatis.c} Add C++ compatible function definitions and return
5757 types, add includes for library functions.
5758 * gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
5759 * gdb.base/step-test.c (myglob): Rename from glob.
5760 * gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
5761 foll-exec.c, foll-fork.c, foll-vfork.c, sum.c, vforked-prog.c: New
5762 files, move here from gdb.hp.
5763 * gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
5764 commands.exp, condbreak.exp, define.exp, ena-dis-br.exp,
5765 ending-run.exp, jump.exp. list.exp, long_long.exp, so-impl-ld.exp:
5766 Adjust line numbers in regexps.
5767
5768 * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
5769 miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
5770 instead of 0/1.
5771
5772 * gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
5773 foll-vfork.exp: New files, move here from gdb.hp.
5774 * gdb.base/page.exp: New file, test of pagination command.
5775
5776 * gdb.base/watchpoint.c (recurser): New function, for watchpoint
5777 recursion test.
5778 * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
5779
5780 * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
5781 gdb.base/solib.exp: Fix compiler invocation process.
5782
5783 * gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
5784 HP-UX 11, turn off overload resolution explicitly.
5785 * gdb.base/commands.exp: Set argument list explicitly, add
5786 watchpoint test.
5787 * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
5788 them work.
5789 * gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
5790 expressions properly.
5791 * gdb.base/corefile.exp: Loosen the match slightly.
5792 * gdb.base/default.exp: Allow "Error accessing memory" message
5793 also.
5794 * gdb.base/display.exp: Skip over x/0 j if PA64.
5795 * gdb.base/funcargs.exp: Add xfails for HP-UX.
5796 * gdb.base/interrupt.exp: Ditto.
5797 * gdb.base/langs.exp: Add symbolic matches governed by compiler
5798 in use.
5799 * gdb.base/list.exp: Add xfails for HP-UX.
5800 * gdb.base/long_long.exp: Refine some of the numeric matches.
5801 * gdb.base/mips_pro.exp: Xfail on HP-UX.
5802 * gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
5803 * gdb.base/nodebug.exp: Succeed on more varieties of output.
5804 * gdb.base/opaque.exp: Remove some HP-UX xfails.
5805 * gdb.base/ptype.exp: Succeed on more varieties of output.
5806 * gdb.base/scope.exp: Add xfails for HP-UX.
5807 * gdb.base/sect-cmd.exp: Add more cases.
5808 * gdb.base/setvar.exp: Add xfails for HP-UX.
5809 * gdb.base/shlib-call.exp: Loosen some matches slightly.
5810 * gdb.base/signals.exp: Match on void symbolically.
5811 * gdb.base/step-test.exp: Add case for PA64.
5812 * gdb.base/term.exp: Add exit and restart.
5813 * gdb.base/twice.exp: Clean up after self.
5814 * gdb.base/varargs.exp: Disable overload resolution explicitly.
5815 * gdb.base/whatis.exp: Allow more ways to pass tests.
5816
5817 * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
5818 no longer useful.
5819
5820Fri Jun 25 19:27:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
5821
5822 * lib/gdb.exp (proc gdb_expect_list): New procedure. Matches a
5823 list of patterns.
5824 * gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
5825 print_double_array(double_array)", "continuing to breakpoint
5826 1018", "print print_double_array(array_d)" and "continuing to
5827 1034" tests.
d63a86f8 5828
085dd6e6
JM
58291999-06-24 Jason Molenda (jsm@bugshack.cygnus.com)
5830
5831 * Makefile.in: Add empty html and install-html targets.
5832
58331999-06-24 Stan Shebs <shebs@andros.cygnus.com>
5834
5835 * config/mt-*: Remove, these haven't been used since 1996.
5836
58371999-06-22 Stan Shebs <shebs@andros.cygnus.com>
5838
5839 * gdb.base/call-strs.c, gdb.base/ending-run.c,
5840 gdb.base/step-test.c: Include stdlib.h and string.h as needed.
5841 * gdb.c++/member-ptr.exp: Skip over these tests if using G++.
5842
9e0b60a8
JM
58431999-06-18 Stan Shebs <shebs@andros.cygnus.com>
5844
5845 * gdb.c++/overload.exp: XFAIL everything if using G++, add a
5846 simpler match case for the ptype of the big class.
5847
58481999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
5849
5850 * gdb.exp: Fix test for gdb_prompt existence.
5851
58521999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
5853
5854 * gdb.exp (gdb_test): Add fail after calls to perror.
5855
58561999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
5857
5858 * gdb.exp (gdb_test): Accept variations of Undefined command messages.
5859
58601999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
5861
5862 * gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
5863
0f71a2f6
JM
5864Fri Jun 11 12:56:50 1999 Andrew Cagney <cagney@b1.cygnus.com>
5865
5866 * gdb.base/call-strs.c (link_malloc): New function. Ensure that
5867 malloc() is linked in.
5868
58691999-06-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
5870
5871 * gdb.base/ending-run.exp: Make sure we fail and do not timeout at
5872 step at end.
5873
5874 * gdb.base/annota1.exp: Increase match_max to prevent timeout.
5875
58761999-06-08 Jim Blandy <jimb@zwingli.cygnus.com>
5877
5878 * gdb.java/jv-print.exp: New file. (Our first Java test!)
5879
cce74817
JM
5880Fri Jun 4 10:47:46 1999 Jeffrey A Law (law@cygnus.com)
5881
5882 * gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
5883 * gdb.base/mips_pro.exp: Likewise.
5884
58851999-06-02 Keith Seitz <keiths@cygnus.com>
5886
5887 * gdb.c++/templates.cc: Change all "new" operators to throw
5888 an exception.
5889 * gdb.c++/cplusfuncs.cc: Likewise.
5890
5891 * gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
5892
5893Wed Jun 2 17:37:05 1999 Andrew Cagney <cagney@b1.cygnus.com>
5894
5895 * gdb.base/condbreak.exp: Use rerun_to_main to start the program.
5896 * gdb.base/ending-run.exp: When stepping out of main, accept a
5897 step into an arbitrary assembler file.
5898
392a587b
JM
58991999-05-20 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5900
d63a86f8 5901 * gdb.base/annota1.exp: Allow any number of "frames-invalid" and
392a587b 5902 "breakpoint-invalid" to be printed.
d63a86f8 5903 * gdb.base/annota2.exp: Revise line number for main breakpoint. Allow any
392a587b
JM
5904 number of "frames-invalid" and "breakpoint-invalid" to be printed.
5905 * gdb.base/annota2.cc: Initialize a.x to 0.
5906
9e086581
JM
59071999-05-17 Keith Seitz <keiths@cygnus.com>
5908
5909 * gdb.base/call-ar-st.exp: Skip "print print_double_array (double_array)"
5910 when "skip_float_tests" set.
5911 Ditto for "print print_double_array(array_d)", "print print_small_structs",
5912 "print print_ten_doubles", and "step into print_long_arg_list".
5913 Don't assume we can step into "print_long_arg_list": we could step into memcpy.
5914 * gdb.base/call-rt-st.exp: Don't run float-related tests when "skip_float_tests"
5915 is set: "print print_one_double(*d1)" and "print print_two_floats(*f3)".
5916 * gdb.base/funcargs.exp: Don't run "float_and_integral_args" when
5917 "skip_float_tests" is set.
5918 * gdb.base/varargs.exp: Skip "print find_max_double(5,1.0,17.0,2.0,3.0,4.0)"
5919 when "skip_float_tests" set.
d63a86f8 5920
cd0fc7c3
SS
59211999-05-06 Keith Seitz <keiths@cygnus.com>
5922
5923 * gdb.base/annota2.cc: Include stdio.h.
5924
5925Wed May 5 17:44:31 1999 Stan Shebs <shebs@andros.cygnus.com>
5926
5927 * gdb.base/crossload.exp: Remove, this has been disabled ever
5928 since BFD stopped including all targets, and cross-GDB gets
5929 plenty of testing anyway.
5930 * gdb.base/i486-elf.u, gdb.base/m68k-aout.u, gdb.base/m68k-elf.u,
5931 gdb.base/sparc-aout.u, gdb.base/i860-elf.u, gdb.base/m68k-aout2.u,
5932 gdb.base/mips-ecoff.u, gdb.base/sparc-elf.u: Remove.
5933 * gdb.base/README: Remove, was doc for this.
5934 * gdb.base/Makefile.in (CROSS_EXECUTABLES): Remove, no longer
5935 needed.
5936
b83266a0
SS
59371999-05-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5938
5939 * gdb.base/call-ar-st.exp: Fix one regular expression in test
5940 output.
5941
5942 * gdb.base/annota1.exp: New file. Annotation level 2 tests.
5943 * gdb.base/annota2.exp: New file. More annotation tests.
5944 * gdb.base/annota1.c: New file. Source file for annota1.exp.
5945 * gdb.base/annota2.cc: New file. Source file for annota2.exp.
5946
59471999-04-23 Angela Marie Thomas <angela@cygnus.com>
5948
5949 * config/cfdbug.exp: New file.
5950
7a292a7a
SS
59511999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
5952
5953 * gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
5954 Marcus Daniel's and Dale Hawkins's demangler crashes.
5955
5956 * gdb.c++/demangle.exp (test_gnu_style_demangling,
5957 test_lucid_style_demangling, test_arm_style_demangling,
5958 test_hp_style_demangling): Try Tom Tromey's core-dumping
5959 identifier under each demangling style.
5960
59611999-04-07 Jim Blandy <jimb@zwingli.cygnus.com>
5962
5963 * gdb.c++/demangle.exp: Include the current demangling style
5964 in all test names.
5965 (current_demangling_style): New global variable.
5966 (set_demangling_style, test_demangling_core, test_demangling,
5967 test_demangling_exact): New functions.
5968 (test_gnu_style_demangling, test_lucid_style_demangling,
5969 test_arm_style_demangling, test_hp_style_demangling): Use those,
5970 instead of calling gdb_test and gdb_test_exact directly.
5971 (catch_demangling_errors): New function, which reports errors
5972 signalled by the demangling test functions in an orderly way.
5973 (do_tests): Use catch_demangling_errors.
5974
59751999-04-06 Jim Blandy <jimb@zwingli.cygnus.com>
5976
5977 * gdb.base/signals.exp (test_handle_all_print): Use () for
5978 grouping in expressions, not {}.
5979
5980 * gdb.base/smoke.exp: Test value of x, not y. The latter isn't
5981 initialized yet.
5982
59831999-04-01 Stan Shebs <shebs@andros.cygnus.com>
5984
5985 * gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
5986 are listed.
5987
59881999-03-26 Stan Shebs <shebs@andros.cygnus.com>
5989
5990 * gdb.stabs/weird.exp: Test for CC being defined before
5991 looking at its value.
5992
59931999-03-25 Stan Shebs <shebs@andros.cygnus.com>
5994
5995 * gdb.base/call-ar-st.exp: Remove stray '#'.
5996 * gdb.base/miscexprs.exp: Allow "short" and "long" as well as
5997 "short int" and "long int".
5998 * gdb.c++/overload.cc: Cast the string added in the previous
5999 change, to mollify finicky HP compiler.
6000 * gdb.hp/reg-test.exp (testfile): Fix file name.
6001 * gdb.stabs/weird.exp: Don't try to run if HP compiler in use.
d63a86f8 6002
7a292a7a
SS
6003 * gdb.c++/misc.cc (main): Initialize obj_with_enum.
6004 * gdb.c++/classes.exp: Fix test of obj_with_enum values, allow
6005 alternate form of enum ptype.
6006
c906108c
SS
60071999-03-23 Stan Shebs <shebs@andros.cygnus.com>
6008
7a292a7a
SS
6009 * lib/gdb.exp (skip_hp_tests): Remove gcc_used argument.
6010 * gdb.hp/*.exp: Change all to run compiler probe only after
6011 passing skip_hp_tests, so as not to waste time on guaranteed
6012 failure.
6013
c906108c
SS
6014 * gdb.c++/overload.cc: Pass string instead of char addr, always
6015 init ccpfoo.
6016 * gdb.c++/templates.cc: Fix syntax error.
6017
7a292a7a
SS
6018Tue Mar 23 14:56:36 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
6019
6020 * gdb.base/commands.exp: Add test for correct position of '>'
d63a86f8 6021 when issuing the 'commands' command after a 'while' or 'if'
7a292a7a
SS
6022 command.
6023
60241999-03-18 James Ingham <jingham@cygnus.com>
6025
6026 * gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
6027
6028 * gdb.c++/method.exp: It was testing an uninitialized int on the
6029 stack and assuming it was positive.
6030
6031 * gdb.base/watchpoint.exp: Use gdb_continue_to_end.
6032
6033 * gdb.base/step-test.exp: Catch a case where finish is broken and
d63a86f8 6034 keep it from killing the rest of the tests.
7a292a7a
SS
6035 Use gdb_continue_to_end.
6036
6037 * gdb.base/sigall.exp: use gdb_continue_to_end.
6038
6039 * gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
6040
6041 * gdb.base/display.exp: use runto_main, not run.
6042
d63a86f8
RM
6043 * gdb.base/default.exp: Check for the current error message in the
6044 r abbreviation test.
7a292a7a
SS
6045 Add strongarm to the targets that know info float.
6046
d63a86f8 6047 * gdb.base/condbreak.exp: Use the gdb_run command rather than just
7a292a7a
SS
6048 run which doesn't work with monitors.
6049
6050 * gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to 1034 test.
6051
6052 * gdb.base/break.exp: use the gdb_continue_to_end proc.
6053
6054 * lib/gdb.exp: I had added gdb_continue_to_end used to run to the end of a
d63a86f8
RM
6055 program. Traps the case (in Cygmon) when the program never really
6056 exits. Same as Mark's continue_to_exit, but I had put it in a lot
7a292a7a
SS
6057 more places, so I used my name. Sorry Mark...
6058
6059 * config/monitor.exp (gdb_target_monitor): added another
6060 target_info parameter: remotebinarydownload. This will set the
6061 remotebinarydownload flag if this is causing some boards trouble.
6062
60631999-03-18 Mark Salter <msalter@cygnus.com>
6064
6065 * lib/gdb.exp (continue_to_exit): New function.
6066
6067 * gdb.base/ena-dis-br.exp: Clean up for remote targets.
6068 * gdb.base/ending-run.exp: Ditto.
6069 * gdb.base/step-test.exp: Ditto.
6070
60711999-03-16 Stan Shebs <shebs@andros.cygnus.com>
6072
6073 * gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
6074 (suggested by Art Haas <ahaas@neosoft.com>).
6075
60761999-03-16 Jim Blandy <jimb@zwingli.cygnus.com>
6077
6078 * gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
6079
6080Fri Mar 12 18:06:21 1999 Stan Shebs <shebs@andros.cygnus.com>
6081
6082 * gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
6083 descriptions of types (short unsigned int vs unsigned short, etc).
6084
60851999-03-12 Jim Blandy <jimb@zwingli.cygnus.com>
6086
6087 * gdb.base/call-strs.exp: Don't assume that `step' will step over
6088 a call to strlen; sometimes we do have sources.
6089
60901999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
c906108c
SS
6091
6092 * gdb.base/call-ar-st.c (main): Terminate char_array with a null
6093 character, so GDB won't print garbage after its end.
d63a86f8 6094
c906108c
SS
6095 * gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
6096 breakpoint there instead. Sometimes GCC emits memcpy to handle
6097 the large structures being passed by value, so we step into that
6098 instead of sum_array_print, which obscures what we're really testing.
6099 * gdb.base/step-test.exp: However, we do want a test that notices
6100 the bizarre steps into memcpy, so do that here. Add check for
6101 stepping into function calls that pass large structures by value.
6102 ("Is that a noun clause, or are you just happy to see me?")
6103 Remove all references to specific line numbers.
6104 * gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
6105 New type and function.
6106 (main): Call large_struct_by_value, passing it a large struct by value.
6107 * lib/gdb.exp (gdb_get_line_number): New function.
6108
6109 * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
6110 more portable.
6111
7a292a7a
SS
61121999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
6113
c906108c
SS
6114 * lib/gdb.exp: Doc fixes.
6115
7a292a7a
SS
61161999-03-05 Nick Clifton <nickc@cygnus.com>
6117
d63a86f8 6118 * gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
7a292a7a
SS
6119
61201999-03-04 Jim Blandy <jimb@zwingli.cygnus.com>
6121
c906108c
SS
6122 * gdb.base/display.exp: Don't exercise the "detach" and "kill"
6123 commands. They're not germane to this test, and they don't work
6124 that way on remote targets.
6125
3fc11d3e
JM
61261999-03-01 James Ingham <jingham@cygnus.com>
6127
6128 * Changelog entries merged over from gdb development branch.
6129
3fc11d3e
JM
6130 Tue Jan 5 12:33:47 1999 Keith Seitz <keiths@cygnus.com>
6131
6132 * lib/gdb.exp (gdbtk_analyze_results): Generic function
6133 for outputting results of test run.
6134
2d4a1622 6135 1998-12-07 Martin M. Hunt <hunt@cygnus.com>
3fc11d3e
JM
6136
6137 * lib/gdb.exp (gdbtk_start): Fix path for itcl library.
3fc11d3e 6138
7a292a7a
SS
61391999-02-25 Felix Lee <flee@cygnus.com>
6140
6141 * lib/gdb.exp (debug_format): initialize
6142
c906108c
SS
61431999-02-25 Jason Molenda (jsm@bugshack.cygnus.com)
6144
6145 * gdb.base/call-ar-st.c: Include string.h, not strings.h.
6146 * gdb.base/call-rt-st.c: Ditto.
6147
c906108c
SS
61481999-02-13 Jim Blandy <jimb@zwingli.cygnus.com>
6149
6150 * gdb.threads/pthreads.exp (horiz): New variable.
6151 (test_startup): Fix regexps that capture thread numbers.
6152
61531999-02-10 Jason Molenda (jsm@bugshack.cygnus.com)
6154
6155 * gdb.base/smoke.exp: Disambiguate two test case names (both
6156 called ``print'').
6157
6158Fri Feb 5 12:42:56 1999 Stan Shebs <shebs@andros.cygnus.com>
6159
6160 * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
6161 compilation.
6162
61631999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
6164
6165 * gdb.base/miscexprs.exp: Change patterns to match GDB's
6166 actual output formatting.
6167 * gdb.base/smoke.exp: GDB removes leading 0's.
6168 * gdb.base/volatile.exp: Don't check type of remuneration;
6169 that variable is no longer defined in constvars.c.
6170 * gdb.base/step-test.c (main): Exit with explicit exit code.
6171 * gdb.base/step-test.exp: Remove two nexti checks--they are
6172 not portable.
6173
61741999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
6175
6176 * gdb.base/help.exp ("help delete display"): Fix test to match
6177 gdb's output.
6178
6179 * gdb.base/long_long.c (known_types): Initialize values to zero.
6180 * gdb.base/long_long.exp: Step one more line
6181 so 'dec' is initialized in "get to known place". GDB removes
d63a86f8 6182 leading zeros. Explicitly ask for hex formatting. Use
c906108c
SS
6183 unique test case names.
6184
6185Tue Feb 2 10:16:08 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
6186
d63a86f8 6187 * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
c906108c
SS
6188
6189 * gdb.c++/method.exp: Add missing close brace.
6190
61911999-01-30 Jim Blandy <jimb@zwingli.cygnus.com>
6192
6193 * gdb.base/maint.exp: Use 'set height 0' to disable page
6194 prompting, not 'set height 400'.
6195
6196 Fix a bunch of timeouts.
6197 * gdb.base/maint.exp ("maint print objfiles"): Break this up into
6198 four separate tests, so expect doesn't take forever to match a ton
6199 of text against a regexp with lots of .* forms.
6200 ("maint print psymbols", "maint print symbols"): Make some of
6201 these greps more selective, so that expect doesn't try to wade
6202 through huge piles of output and time out.
6203
6204 * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
6205
6206 * gdb.base/maint.exp ("maint info breakpoints"): Split into two
6207 tests: one which doesn't expect shlib events to be reported, and
6208 another which does, but is XFAIL for all platforms other than
6209 HP/UX.
6210
6211 * gdb.base/break.exp: Teach the test suite that the `catch
6212 fork', `catch vfork', and `catch exec' commands produce error
6213 messages on platforms that don't provide these features.
6214
6215Mon Jan 25 18:35:56 1999 Stan Shebs <shebs@andros.cygnus.com>
6216
6217 * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
6218 so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
6219 (shortening names from solib_threshold.exp etc), won't run on
6220 anything but HP-UX for the foreseeable future.
6221 * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
6222 reflect move.
6223
6224Thu Jan 21 15:46:49 1999 Stan Shebs <shebs@andros.cygnus.com>
6225
6226 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
6227 gdb.trace/Makefile.in (clean): Remove all test executables.
6228
6229Tue Jan 19 17:20:09 1999 David Taylor <taylor@texas.cygnus.com>
6230
6231 * gdb.base/shlib-call.exp: add test cases to verify that gdb
6232 successfully re-sets breakpoints in shared libraries.
6233 * gdb.base/shmain.c (main): return 0, don't fall off the end.
6234
6235Fri Jan 15 14:04:57 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
6236
d63a86f8
RM
6237 * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
6238 and compiled w/o GCC.
c906108c
SS
6239
6240 * gdb.hp/watch-cmd.exp: ditto.
6241
6242 * gdb.hp/watch-hp.exp: ditto.
6243
6244 * gdb.hp/xdb1.exp: ditto.
6245
6246 * gdb.hp/xdb2.exp: ditto.
6247
6248 * gdb.hp/dbx.exp: ditto.
6249
6250Thu Jan 14 18:36:48 1999 Stan Shebs <shebs@andros.cygnus.com>
6251
6252 * constvars.c: Remove C++-isms.
6253 * constvars.exp: Use gdb_test everywhere, add xfails if compiled
6254 with GCC.
6255
6256Mon Jan 11 10:08:03 1999 David Taylor <taylor@texas.cygnus.com>
6257
6258 The following changes are part of the HP merge.
6259
6260 * gdb.base/break.exp: new tests to verify that catchpoints for
6261 fork, vfork, and exec don't trigger inappropriately.
6262
6263 * gdb.base/opaque.exp: compile one file at a time, then link.
6264
6265 * gdb.base/signals.exp: be more restrictive about which hppa
6266 systems receive a setup_xfail. new tests.
6267
6268 * gdb.base/solib_threshold.build: new file.
6269 * gdb.base/solib_threshold.exp: new file.
6270 * gdb.base/solib_threshold.link_opts: new file.
6271 * gdb.base/solib_threshold.mk: new file.
6272 * gdb.base/gen_solib_threshold.c: new file.
6273
6274 * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
6275 tests. New tests for enums inside classes.
6276
6277 * gdb.c++/compiler.cc: indicate support of template debugging.
6278
6279 * gdb.c++/demangle.exp: run hp style demangling tests.
6280
6281 * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
6282 tests.
6283
6284 * gdb.c++/misc.cc: changes to support new tests.
6285
6286 * gdb.c++/templates.cc: changes to support HP's compiler; changes
6287 to support new tests.
6288
6289 * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
6290 gcc, then skip these tests.
6291
6292Sun Jan 10 23:44:11 1999 David Taylor <taylor@texas.cygnus.com>
6293
6294 The following files are part of the HP merge; some had longer
6295 names at HP, but have been renamed to be no more than 14
6296 characters in length.
6297
6298 * gdb.hp/ambiguous.cc: new file.
6299 * gdb.hp/ambiguous.exp: new file.
6300 * gdb.hp/attach.exp: new file.
6301 * gdb.hp/attach2.exp: new file.
6302 * gdb.hp/classes-hp.exp: new file.
6303 * gdb.hp/ctti.exp: new file.
6304 * gdb.hp/ctti-add.cc: new file.
6305 * gdb.hp/ctti-add1.cc: new file.
6306 * gdb.hp/ctti-add2.cc: new file.
6307 * gdb.hp/ctti-add3.cc: new file.
6308 * gdb.hp/dbx.exp: new file.
6309 * gdb.hp/exception.cc: new file.
6310 * gdb.hp/exception.exp: new file.
6311 * gdb.hp/foll-exec.c: new file.
6312 * gdb.hp/foll-exec.exp: new file.
6313 * gdb.hp/foll-fork.c: new file.
6314 * gdb.hp/foll-fork.exp: new file.
6315 * gdb.hp/foll-vfork.c: new file.
6316 * gdb.hp/foll-vfork.exp: new file.
6317 * gdb.hp/inherit-hp.exp: new file.
6318 * gdb.hp/more-steps.exp: new file.
6319 * gdb.hp/namespace.cc: new file.
6320 * gdb.hp/namespace.exp: new file.
6321 * gdb.hp/optimize.exp: new file.
6322 * gdb.hp/pxdb.c: new file.
6323 * gdb.hp/pxdb.exp: new file.
6324 * gdb.hp/quicksort.exp: new file.
6325 * gdb.hp/reg-test.exp: new file.
6326 * gdb.hp/reg-test.s: new file.
6327 * gdb.hp/sized-enum.c: new file.
6328 * gdb.hp/sized-enum.exp: new file.
6329 * gdb.hp/start-stop.exp: new file.
6330 * gdb.hp/templ-hp.cc: new file.
6331 * gdb.hp/templ-hp.exp: new file.
6332 * gdb.hp/thr-lib.c: new file.
6333 * gdb.hp/thr-lib.exp: new file.
6334 * gdb.hp/thr-lib.h: new file.
6335 * gdb.hp/thr-liblib.c: new file.
6336 * gdb.hp/virtfun-hp.c: new file.
6337 * gdb.hp/virtfun-hp.exp: new file.
6338 * gdb.hp/watch-cmd.exp: new file.
6339 * gdb.hp/watch-hp.exp: new file.
6340 * gdb.hp/xdb1.exp: new file.
6341 * gdb.hp/xdb2.exp: new file.
6342 * gdb.hp/xdb3.exp: new file.
6343
6344Wed Jan 6 18:41:15 1999 David Taylor <taylor@texas.cygnus.com>
6345
6346 The following files are part of the HP merge; some had longer
6347 names at HP, but have been renamed to be no more than 14
6348 characters in length.
6349
6350 * gdb.base/ss.h: new file.
6351 * gdb.base/call-ar-st.c: new file.
6352 * gdb.base/call-ar-st.exp: new file.
6353 * gdb.base/call-rt-st.c: new file.
6354 * gdb.base/call-rt-st-exp: new file.
6355 * gdb.base/call-strs.exp: new file.
6356 * gdb.base/ena-dis-br.exp: new file.
6357 * gdb.base/environ.exp: new file.
6358 * gdb.base/long_long.exp: new file.
6359 * gdb.base/sect-cmd.exp: new file.
6360 * gdb.base/shlib-cl2.exp: new file.
6361 * gdb.base/smoke.exp: new file.
6362 * gdb.base/so-impl-ld.c: new file.
6363 * gdb.base/so-impl-ld.exp: new file.
6364 * gdb.base/so-indr-cl.c: new file.
6365 * gdb.base/so-indr-cl.exp: new file.
6366 * gdb.base/varargs.exp: new file.
6367 * gdb.base/volatile.exp: new file.
6368 * gdb.base/whatis-exp.exp: new file.
7a292a7a 6369 * gdb.base/display.exp: new file.
c906108c
SS
6370 * gdb.c++/derivation.exp: new file.
6371 * gdb.c++/local.exp: new file.
6372 * gdb.c++/member-ptr.exp: new file.
6373 * gdb.c++/overload.exp: new file.
6374 * gdb.c++/ovldbreak.exp: new file.
6375 * gdb.c++/ref-types.exp: new file.
6376 * gdb.c++/ref-types2.exp: new file.
6377 * gdb.c++/userdef.exp: new file.
d63a86f8 6378
c906108c
SS
6379Wed Jan 6 13:50:57 1999 Stan Shebs <shebs@andros.cygnus.com>
6380
6381 * gdb.base/default.exp: Reflect wording change in remote.c.
6382
dc96c6c7 6383Tue Jan 5 19:14:51 1999 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6384
6385 * gdb.base/help.exp: Update to reflect current text.
6386
6387Tue Jan 5 13:05:32 1999 David Taylor <taylor@texas.cygnus.com>
6388
6389 * gdb.c++/anon-union.cc: make foo and bar global, otherwise
6390 they're stack variables and contain garbage.
6391 * gdb.c++/anon-union.exp: new file.
6392
6393 The following changes were made by David Taylor
6394 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
6395 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
6396 in changes by HP.
6397
6398 * gdb.base/bitops.exp: new file.
6399 * gdb.base/default.exp: change expected messages for catch and
6400 info catch tests to reflect HP merge changes.
6401 * gdb.base/enable-disable-break.exp
6402 * gdb.base/ending-run.c: new file.
6403 * gdb.base/long_long.c: new file.
6404 * gdb.base/maint.exp: new file.
6405 * gdb.base/pointers2.exp: new file.
6406 * gdb.base/shlib-call2.exp: new file.
6407 * gdb.base/solib.exp: new file.
6408 * gdb.base/step-test.c: new file.
6409 * gdb.c++/anon-union.cc: new file.
6410 * gdb.c++/local.cc: new file.
6411 * gdb.c++/member-pointer.cc: new file.
6412 * gdb.c++/method.cc: new file.
6413 * gdb.c++/ref-types.cc: new file.
6414 * gdb.c++/ref-types2.cc: new file.
6415 * gdb.c++/userdef.cc: new file.
d63a86f8 6416
c906108c
SS
6417 * gdb.base/scope.exp: compile one file at a time, then link.
6418 * gdb.base/langs.exp: ditto.
6419 * gdb.base/list.exp: ditto.
d63a86f8 6420
c906108c
SS
6421Mon Jan 4 10:06:43 1999 David Taylor <taylor@texas.cygnus.com>
6422
6423 The following changes were made by David Taylor
6424 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
6425 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
6426 in changes by HP.
d63a86f8 6427
c906108c
SS
6428 * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
6429 skip tests. When compiling pass c++ flag to gdb_compile.
6430 * gdb.c++/
d63a86f8 6431
c906108c
SS
6432 * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
6433 test for on hppa*-*-hpux*; use args to see if c++ was specified.
6434 (skip_hp_tests): new function.
6435 (gdb_preprocess): new function.
6436
6437 * configure.in (hpdir): decide whether to configure gdb.hp.
6438 * configure: regenerated.
6439
6440 * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
6441 to delete on clean.
6442 (EXECUTABLES): update to reflect new additions.
6443 * gdb.base/commands.exp: update message expected.
6444 * gdb.base/default.exp: add copyright notice.
6445 * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
6446 * gdb.base/help.exp: update messages to reflect current text.
6447 * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
6448 targets for recurse tests.
6449 * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
6450 skip this file.
6451
6452 * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
6453 * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
6454 compilation.
6455 * gdb.c++/misc.exp: ditto.
6456 * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
6457 run the tests. tell gdb_compile that it's a c++ compilation.
6458
6459 * gdb.threads/pthreads.exp: fix typo in message.
d63a86f8 6460
c906108c
SS
6461 * gdb.base/all-bin.exp: new file.
6462 * gdb.base/arithmet.exp: new file.
6463 * gdb.base/assign.exp: new file.
6464 * gdb.base/completion.exp: new file.
6465 * gdb.base/cond-expr.exp: new file.
6466 * gdb.base/condbreak.exp: new file.
6467 * gdb.base/define.exp: new file.
6468 * gdb.base/dollar.exp: new file.
6469 * gdb.base/environment.exp: new file.
6470 * gdb.base/eval-skip.exp: new file.
6471 * gdb.base/jump.exp: new file.
6472 * gdb.base/logical.exp: new file.
6473 * gdb.base/pointers.exp: new file.
6474 * gdb.base/relational.exp: new file.
6475 * gdb.base/section_command.exp: new file.
6476 * gdb.base/whatis-expr.exp: new file.
6477
6478 * gdb.base/all-types.c: new file.
6479 * gdb.base/call-array-struct.c: new file.
6480 * gdb.base/call-return-struct.c: new file.
6481 * gdb.base/call-strings.c: new file.
6482 * gdb.base/callfuncs2.c: new file.
6483 * gdb.base/condbreak.c: new file.
6484 * gdb.base/constvars.c: new file.
6485 * gdb.base/display.c: new file.
6486 * gdb.base/int-type.c: new file.
6487 * gdb.base/jump.c: new file.
6488 * gdb.base/miscexprs.c: new file.
6489 * gdb.base/pointers.c: new file.
6490 * gdb.base/pointers2.c: new file.
6491 * gdb.base/shmain.c: new file.
6492 * gdb.base/shr1.c: new file.
6493 * gdb.base/shr2.c: new file.
6494 * gdb.base/solib.c: new file.
6495 * gdb.base/solib1.c: new file.
6496 * gdb.base/solib2.c: new file.
6497 * gdb.base/varargs.c: new file.
6498 * gdb.c++/derivation.cc: new file.
6499 * gdb.c++/overload.cc: new file.
6500 * gdb.c++/ovldbreak.cc: new file.
6501 * gdb.hp/attach.c: new file.
6502 * gdb.hp/attach2.c: new file.
6503 * gdb.hp/average.c: new file.
6504 * gdb.hp/compiler.c: new file.
6505 * gdb.hp/compiler.cc: new file.
6506 * gdb.hp/execd-program.c: new file.
6507 * gdb.hp/follow-exec.c: new file.
6508 * gdb.hp/follow-fork.c: new file.
6509 * gdb.hp/follow-vfork-and-exec.c: new file.
6510 * gdb.hp/misc-hp.cc: new file.
6511 * gdb.hp/more-steps.c: new file.
6512 * gdb.hp/optimize.c: new file.
6513 * gdb.hp/quicksort.c: new file.
6514 * gdb.hp/run-hp.c: new file.
6515 * gdb.hp/start-stop.c: new file.
6516 * gdb.hp/sum.c: new file.
6517 * gdb.hp/templates-hp.cc: new file.
6518 * gdb.hp/thread-local-in-lib.c: new file.
6519 * gdb.hp/thread-local-in-lib.h: new file.
6520 * gdb.hp/thread-local-in-lib.lib.c: new file.
6521 * gdb.hp/vforked-program.c: new file.
6522 * gdb.hp/virtfunc-hp.cc: new file.
6523 * gdb.hp/watchpoint-hp.c: new file.
6524 * gdb.hp/xdb.c: new file.
6525 * gdb.hp/xdb0.c: new file.
6526 * gdb.hp/xdb0.h: new file.
6527 * gdb.hp/xdb1.c: new file.
6528
6529Mon Dec 21 14:08:38 1998 David Taylor <taylor@texas.cygnus.com>
6530
6531 The following change was made by Edith Epstein
6532 <eepstein@cygnus.com> as part of a project to merge in changes
6533 originally made by HP; HP did not create ChangeLog entries.
6534
6535 * gdb.c++/demangle.exp: changed the expected output for some
6536 ARM-style mangling -- removed second reference to datatype.
6537 For example, maint demangle __dt__11T1__pt__2_cFv
6538 T1<char>::~T1<char>(void)
6539 becomes,
6540 maint demangle __dt__11T1__pt__2_cFv
6541 T1<char>::~T1(void)
6542
6543 (test_hp_style_demangling): new hp specific demangling test cases.
d63a86f8 6544
c906108c
SS
6545Mon Dec 14 15:07:03 1998 Jeffrey A Law (law@cygnus.com)
6546
6547 * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
6548 * gdb.trace/backtrace.exp: Likewise.
6549 * gdb.trace/circ.exp: Likewise.
6550 * gdb.trace/collection.exp: Likewise.
6551 * gdb.trace/deltrace.exp: Likewise.
6552 * gdb.trace/infotrace.exp: Likewise.
6553 * gdb.trace/limits.exp: Likewise.
6554 * gdb.trace/packetlen.exp: Likewise.
6555 * gdb.trace/passc-dyn.exp: Likewise.
6556 * gdb.trace/passcount.exp: Likewise.
6557 * gdb.trace/report.exp: Likewise.
6558 * gdb.trace/save-trace.exp: Likewise.
6559 * gdb.trace/tfind.exp: Likewise.
6560 * gdb.trace/tracecmd.exp: Likewise.
6561 * gdb.trace/while-dyn.exp: Likewise.
6562 * gdb.trace/while-stepping.exp: Likewise.
6563
65641998-12-07 Jim Blandy <jimb@zwingli.cygnus.com>
6565
6566 * gdb.base/restore.exp, gdb.base/restore.c: New tests.
6567
6568Wed Dec 2 20:03:53 1998 Stan Shebs <shebs@andros.cygnus.com>
6569
6570 From Brendan Kehoe:
6571 * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
6572 int return types.
6573
6574Sat Oct 24 18:04:22 1998 Felix Lee <flee@cygnus.com>
6575
6576 * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
6577 remote dos host testing right.
6578
6579Mon Oct 19 01:31:59 1998 Felix Lee <flee@cygnus.com>
6580
6581 * gdb.base/corefile.exp: remove some xfails.
6582
6583Thu Oct 15 10:04:38 1998 Andrew Cagney <cagney@b1.cygnus.com>
6584
6585 * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
6586 have different timestamps.
6587
6588Thu Oct 1 20:56:14 1998 Andrew Cagney <cagney@b1.cygnus.com>
6589
6590 * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
6591 gdb.base/default.exp: Replace "exec" with "executable".
6592
6593Tue Sep 29 15:06:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
6594
6595 * gdb.base/default.exp: Change else if to elseif from previous
6596 delta.
6597
6598Mon Sep 28 13:21:43 1998 Nick Clifton <nickc@cygnus.com>
6599
6600 * gdb.base/default.exp: Add brace missing from previous delta.
6601
6602Mon Sep 21 14:39:27 1998 Nick Clifton <nickc@cygnus.com>
6603
6604 * gdb.base/default.exp: Support test for info float for all
6605 varieties of arm toolchain.
6606
dc96c6c7 6607Fri Sep 18 14:07:44 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6608
6609 * gdb.trace/*.exp: remove "remote_download" command.
6610
dc96c6c7 6611Wed Sep 16 11:38:21 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6612
6613 * gdb.trace/*.exp: remove -gdwarf from compile.
6614
6615Wed Sep 16 01:23:11 1998 Felix Lee <flee@cygnus.com>
6616
6617 * gdb.trace/configure.in(AC_INIT): typo
6618 * gdb.trace/configure: regenerated
6619
dc96c6c7 6620Mon Sep 14 20:00:04 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6621
6622 * config/m68k-emc.exp: New file.
6623 * lib/<emc-support.exp trace-support.exp}: New files.
6624 * configure.in: add new test directory gdb.trace.
6625 * gdb.trace/{configure configure.in Makefile.in}: New files.
6626 * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
6627 * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
6628 * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
6629 * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
6630 * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
6631 * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
6632 * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
d63a86f8 6633
dc96c6c7 6634Fri Sep 11 13:58:02 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6635
6636 * gdb.c++/classes.exp: Change all regular expressions to match
6637 arbitrary combinations of newline/carriage-return, so that they
6638 will work equally well on Unix and Windows.
6639 * gdb.c++/inherit.exp: ditto.
6640 * gdb.c++/virtfunc.exp: ditto.
6641
66421998-08-11 Dawn Perchik <dawn@cygnus.com>
6643
6644 * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
6645
c2d11a7d
JM
6646Fri Jul 24 15:51:34 1998 Jeffrey A Law (law@cygnus.com)
6647
6648 * gdb.disasm/am33.s: Add tests for autoincrement instructions.
6649 * gdb.disasm/am33.exp: Run time. Update tests which use r8-r15
6650 to use a0-a3/d0-d3 as needed.
6651
6652Thu Jul 16 18:20:46 1998 Jeffrey A Law (law@cygnus.com)
6653
6654 * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
6655 * gdb.disasm/am33.exp: Corresponding changes.
6656
c906108c
SS
66571998-07-11 Felix Lee <flee@cygnus.com>
6658
6659 * gdb.base/callfuncs.exp: add cmp10 test.
6660 * gdb.base/callfuncs.c (cmp10): new function.
6661
6662Thurs Jul 9 11:08:31 1998 Dawn Perchik <dawn@cygnus.com>
6663
d63a86f8 6664 * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
c906108c
SS
6665 into two parts to get around a synchronization problem in expect.
6666
3fc11d3e
JM
6667Fri Jun 26 14:27:13 1998 Keith Seitz <keiths@cygnus.com>
6668
6669 * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
6670
6671 * configure.in: Add options for gdbtk testsuite.
6672
6673 * configure: Regenerate.
6674
6675 * gdb.gdbtk: New directory to hold gdbtk tests.
6676
c906108c
SS
6677Fri Jun 26 14:52:47 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
6678
6679 * gdb.fortran/types.exp: Escape brackets in expect patterns
6680 for test_float_literal_types_accepted tests.
6681 * gdb.base/scope.exp: Remove extraneous newline in filelocal_bss
6682 before run test.
6683
c2d11a7d
JM
6684Fri Jun 26 11:12:17 1998 Jeffrey A Law (law@cygnus.com)
6685
6686 * am33.exp: Just compile, do not link the testcase.
6687 * am33.s: Add ".am33" pseudoop to force am33 mode.
6688
c906108c
SS
66891998-06-25 Felix Lee <flee@cygnus.com>
6690
6691 * gdb.base/setshow.exp: make sure $pc is sane.
6692
6693 * gdb.stabs/weird.exp: split expect patterns properly.
6694
c2d11a7d
JM
6695Wed Jun 24 13:03:15 1998 Jeffrey A Law (law@cygnus.com)
6696
6697 * gdb.disasm/am33.s: New disassembler testfile for the am33.
6698 * gdb.disasm/am33.exp: Run it.
6699
dc96c6c7 6700Tue Jun 23 11:45:01 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6701
6702 * gdb.base/funcargs.exp: simplify expect strings to ease pattern
6703 match processing (and eliminate spurious timeouts when running).
6704
dc96c6c7 6705Fri Jun 12 17:28:22 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6706
6707 * gdb.base/signals.exp (test_handle_all_print): put back Mach
6708 exception test, but conditionalize it on target [mach | gnu].
6709
dc96c6c7 6710Wed Jun 10 10:40:03 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6711
6712 * gdb.base/overlays.exp: fixup compile line for linker script.
6713
6714Thu Jun 4 21:54:15 1998 Felix Lee <flee@zog.cygnus.com>
6715
6716 * gdb.fortran/types.exp: don't guess at float size.
6717
6718Thu May 21 02:28:37 1998 Felix Lee <flee@zog.cygnus.com>
6719
6720 * gdb.base/exprs.exp: delete test that depends on int size.
6721
6722Sun May 17 17:10:22 1998 Bob Manson <manson@charmed.cygnus.com>
6723
6724 * config/sim.exp: Removed checks for target triplets.
6725 (gdb_target_sim): Use gdb,target_sim_options.
6726
6727Sat May 16 23:43:35 1998 Mark Alexander <marka@cygnus.com>
6728
6729 * gdb.base/reread.exp: New file.
6730 * gdb.base/reread1.c: New file.
6731 * gdb.base/reread2.c: New file.
6732
6733Sat May 16 23:22:09 1998 Mark Alexander <marka@cygnus.com>
6734
6735 * config/sim.exp: Use 'target sim -sparclite' when running
6736 SPARClite programs.
6737
6738Sat May 16 18:48:08 1998 Doug Evans <devans@canuck.cygnus.com>
6739
6740 * gdb.base/structs2.exp: New file.
6741 * gdb.base/structs2.c: New file.
6742
6743Wed May 13 13:36:14 1998 Doug Evans <devans@canuck.cygnus.com>
6744
6745 * gdb.asm/common.inc: New file.
6746 * gdb.asm/d10v.inc: New file.
6747 * asm-source.exp: Pass -I's to gas to find .inc files.
6748 Update line numbers in expected output.
6749 * asmsrc1.s: Rewrite.
6750 * asmsrc2.s: Rewrite.
6751 * configure.in: Create arch.inc symlink.
6752 * configure: Regenerate.
6753 * Makefile.in (distclean): Delete arch.inc.
6754
6755Wed May 6 10:30:54 1998 John Metzler <jmetzler@cygnus.com>
6756
6757 * callfuncs.c (t_enum_value1) : Cleanup return value warnings
6758 (t_enum_value2): ditto
6759 (t_enum_value3): ditto
6760 (main): ditto
6761Fri May 1 09:33:37 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
6762
6763 * gdb.base/break.exp: Remove xfail for `deleting all breakpoints
6764 when none' unexpected prompt case, fixed by breakpoint.c:delete_command
6765 change.
6766 Use gdb_test instead of send_gdb/gdb_expect sequences.
6767
6768Thu Apr 23 12:56:19 1998 Jason Molenda (crash@bugshack.cygnus.com)
6769
6770 * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
6771 not void.
6772
6773Thu Apr 16 10:52:34 1998 John Metzler <jmetzler@cygnus.com>
6774
6775 * gdb.base/branches.c: Code with lots of loops and
6776 subroutines. Used to test gdbs ability to single step through PC
6777 changes, especially to test mips-tdep.c:mips_next_pc
6778
6779Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
6780
6781 * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
6782 more rigorous EGCS C++ error checking.
6783
6784Fri Apr 10 22:38:12 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6785
6786 * gdb.base/help.exp: Clean up `help set args' and `help show args'
d63a86f8 6787 tests.
c906108c 6788 * gdb.base/interrupt.exp: Add "i*86-*-solaris2*" xfail for calling
d63a86f8 6789 function when asleep.
c906108c 6790 * gdb.base/signals.exp: Add "i*86-*-solaris2*" xfails. Add comment
d63a86f8
RM
6791 for i*86 Linux and SVR4 signal handling problems.
6792 Remove linux xfail for `next to handler in signals_tests_1', fixed
6793 by recent infrun.c change.
c906108c 6794 Limit backtrace to 10 frames to avoid timeout problems with infinite
d63a86f8 6795 stack backtraces.
c906108c
SS
6796 Adjust expect pattern in `handle all print' test to match Apr 28 1997
6797 target.[ch] change.
6798
6799Tue Mar 31 00:40:32 1998 Bob Manson <manson@charmed.cygnus.com>
6800
6801 * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
6802 for a newline from gdb before continuing.
6803 (default_gdb_exit): Just look for y or n.
6804 (gdb_test): Detect abnormal exit from GDB running on DOS; if
6805 it does, fail the rests of the tests in the file.
6806
6807Tue Mar 24 22:44:52 1998 Bob Manson <manson@charmed.cygnus.com>
6808
6809 * config/cygmon.exp: New file.
6810
6811Mon Mar 16 21:39:11 1998 Bob Manson <manson@charmed.cygnus.com>
6812
6813 * gdb.base/list.exp: Fix problem with "list default lines around
6814 main" test on remote targets.
6815
6816 * gdb.base/scope.exp: Fix problem with filelocal_bss before
6817 run test on remote targets.
6818
6819Thu Mar 12 16:23:00 1998 Doug Evans <devans@canuck.cygnus.com>
6820
6821 * gdb.asm: New directory.
6822 * configure.in: Configure it.
6823 * configure: Regenerate.
6824 * gdb.asm/{Makefile.in,configure.in,configure}: New files.
6825 * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
6826
6827Mon Feb 23 08:22:44 1998 Mark Alexander <marka@cygnus.com>
6828
6829 * config/mn10300-eval.exp: New file to support MN10300 eval board.
6830
dc96c6c7 6831Wed Feb 18 16:43:46 1998 Michael Snyder (msnyder@cygnus.com)
d63a86f8 6832
c906108c
SS
6833 * gdb.base/overlays (several files): Merge the two overlay
6834 managers into one. Change variables (foox, barx, bazx, grbxx)
6835 back into ints but force them to load in their proper sections.
6836
6837Thu Feb 12 13:49:30 1998 Andrew Cagney <cagney@b1.cygnus.com>
6838
6839 * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
6840 on-chip insn memory and IMAP1 to upper 128k.
6841 (D10VCopy): Handle memory regions crossing 16k boundaries.
6842 (D10VCopy): Transfer data in 32 bit chunks.
6843
6844Tue Feb 10 17:23:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
6845
6846 * gdb.base/overlays.c (main): Exit normally when result is
6847 correct.
6848
6849 * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
6850 map. Include space for printf in .text segment.
6851
6852 * gdb.base/d10vovly.c (D10VTranslate): New function, handle
6853 updated d10v memory VMA/LMA map.
6854 (D10VCopy): Call D10VTranslate.
d63a86f8 6855
c906108c
SS
6856Fri Feb 6 14:13:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
6857
6858 * gdb.base/m32rovly.c: Force variable _novlys into .data section.
6859
6860 * gdb.base/bar.c (barx, bar): Change variable to small array so
6861 that it won't be put into the .sdata - small data -
6862 section. Update reference.
6863 * gdb.base/baz.c (bazx, baz): Ditto.
6864 * gdb.base/foo.c (foox, foo): Ditto.
6865 * gdb.base/grbx.c (grbxx, grbx): Ditto.
6866
6867 * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
6868 to be arrays.
d63a86f8 6869
dc96c6c7 6870Thu Jan 29 14:48:19 1998 Michael Snyder (msnyder@cygnus.com)
d63a86f8 6871
c906108c
SS
6872 * gdb.base/overlays.exp: fix up and get working again.
6873 Add tests for backtraces from an overlay function.
d63a86f8 6874
c906108c
SS
6875Fri Jan 23 07:52:45 1998 Fred Fish <fnf@cygnus.com>
6876
6877 * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
6878 "calling function with watchpoint enabled".
6879
6880Thu Jan 22 14:23:29 1998 Fred Fish <fnf@cygnus.com>
6881
6882 * gdb.base/break.exp (test_next_with_recursion): Remove
6883 gdb_suppress_tests for d10v-*-*.
6884 * lib/gdb.exp (gdb_suppress_tests): Disable this function
6885 pending review of whether it is useful or not.
6886
6887Tue Jan 20 13:02:09 1998 Mark Alexander <marka@cygnus.com>
6888
6889 * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
6890
6891Mon Jan 19 08:53:04 1998 Mark Alexander <marka@cygnus.com>
6892
6893 * gdb.base/break.exp: Increase timeout for slow TX39 boards.
6894 * config/dve.exp: New file to support Densan boards.
6895
6896Mon Dec 15 22:38:05 1997 Andrew Cagney <cagney@b1.cygnus.com>
6897
6898 * gdb.base/interrupt.exp: Document problem of simulators, signals,
6899 reads and BSD.
6900
6901Wed Nov 26 22:29:18 1997 Bob Manson <manson@charmed.cygnus.com>
6902
6903 * config/monitor.exp: Be a bit less picky about the "Remote debugging"
6904 response.
6905
6906 * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
6907
6908Tue Nov 25 12:46:36 1997 Andrew Cagney <cagney@b1.cygnus.com>
6909
6910 * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
6911 test.
6912
6913 * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
6914 target_sizeof_long and target_bigendian_p.
6915 (structs_by_value, structs_by_reference): Check values according
6916 to targets word size and endianess.
d63a86f8 6917
c906108c
SS
6918Mon Nov 24 16:37:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
6919
6920 * gdb.base/langs.exp: For "continue to exit" ignore any trailing
6921 output.
6922
6923Fri Oct 17 13:24:43 1997 Stan Shebs <shebs@andros.cygnus.com>
6924
6925 * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
6926 Update test of set args help to match source change.
6927
6928Fri Sep 26 17:36:20 1997 Jason Molenda (crash@pern.cygnus.com)
6929
6930 * gdb.base/default.exp: Expect help system output to be in
6931 alphabetical order.
6932 * gdb.base/help.exp: Ditto.
6933
6934Wed Sep 24 13:08:14 1997 Bob Manson <manson@charmed.cygnus.com>
6935
6936 * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
6937 "i*86-pc-linux-gnu*".
6938 * gdb.base/interrupt.exp: Ditto.
6939 * gdb.base/corefile.exp: Ditto.
6940
6941 * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
6942 define vxworks when building the testcase.
6943
6944 * gdb.base/ptype.exp: Fix testnames to be unique.
6945 * gdb.base/radix.exp: Ditto.
6946 * gdb.base/term.exp: Ditto.
6947 * gdb.base/whatis.exp: Ditto.
6948 * gdb.c++/classes.exp: Ditto.
6949
6950Tue Sep 16 22:21:48 1997 Bob Manson <manson@charmed.cygnus.com>
6951
6952 * gdb.base/callfuncs.exp: Fix indentation.
6953
6954 * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
6955 suppress_flag has been set.
6956 (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
6957 target feature.
6958
6959Mon Sep 15 15:43:17 1997 Bob Manson <manson@charmed.cygnus.com>
6960
6961 * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
6962 the testcase.
6963
6964 * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
6965 set_debug_traps() and breakpoint().
6966 * gdb.c++/misc.cc (main): Ditto.
6967 * gdb.c++/templates.cc (main): Ditto.
6968 * gdb.c++/virtfunc.cc (main): Ditto.
6969
6970Fri Sep 12 16:56:38 1997 Bob Manson <manson@charmed.cygnus.com>
6971
6972 * lib/gdb.exp(gdb_step_for_stub): New function.
6973 (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
6974 exists, reload the executable and do a "continue" instead of
6975 doing a jump.
6976 (runto_main): Use gdb_step_for_stub.
d63a86f8 6977
c906108c
SS
6978 * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
6979 tests to have unique names.
6980 * gdb.base/callfuncs.exp: Ditto.
6981 * gdb.base/commands.exp: Ditto.
6982 * gdb.base/default.exp: Ditto.
6983 * gdb.base/help.exp: Ditto.
6984 * gdb.base/list.exp: Ditto.
6985 * gdb.base/opaque.exp: Ditto.
6986 * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
6987 similar tests.
d63a86f8 6988
c906108c
SS
6989 * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
6990 * gdb.c++/cplusfuncs.cc: Ditto.
6991 * gdb.c++/virtfunc.cc: Ditto.
6992
6993 * config/monitor.exp: Keep track of the last file we saw, rather
6994 than trying to get the info from gdb.
6995
6996 * gdb.fortran/types.exp: Move comment to previous line.
6997
6998Tue Sep 2 19:55:34 1997 Bob Manson <manson@charmed.cygnus.com>
6999
7000 * config/sparclet.exp: Detect gratuitous change to sparclet gdb
7001 target mode.
7002
7003Mon Jul 28 12:14:47 1997 Stan Shebs <shebs@andros.cygnus.com>
7004
7005 From Bob Manson:
7006 * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
7007 string from GDB when it connects.
7008
7009 * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
7010
7011Thu Jul 3 15:35:12 1997 Bob Manson <manson@charmed.cygnus.com>
7012
7013 * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
7014 if we can't get a debug format from GDB (we may be testing an
7015 older GDB). Use a 10 second timeout when checking for the format.
7016
7017 * gdb.stabs/weird.exp: Fix quoting.
7018
7019 * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
7020
7021Mon Jun 30 18:31:43 1997 Bob Manson <manson@charmed.cygnus.com>
7022
7023 * config/arm-ice.exp: New file.
7024
7025Sun Jun 29 16:43:30 1997 Bob Manson <manson@charmed.cygnus.com>
7026
7027 * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
7028 until it has been modified to work with the new testsuite.
7029
99707966 7030 * gdb.*/*.exp: Instead of causing 1 unresolved test when the
c906108c
SS
7031 testcase won't compile, cause all of the testcases in the file to
7032 fail instead.
7033
7034 * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
7035 (gdb_clear_suppressed): New procedure.
7036 (gdb_stop_suppressing_tests): Only clear suppress_flag if
7037 it contains a positive value.
7038
7039Sat Jun 28 13:31:11 1997 Bob Manson <manson@charmed.cygnus.com>
7040
7041 * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
7042
7043 * gdb.c++/virtfunc.exp: Remove setting of libs variable.
7044
7045Fri Jun 27 07:44:25 1997 Fred Fish <fnf@cygnus.com>
7046
7047 * lib/gdb.exp (setup_xfail_format): New function.
7048 (get_debug_format): New function to get debug format.
7049 (debug_format): New global variable to hold last value set
7050 by get_debug_format.
7051 * gdb.base/list.exp: Call get_debug_format and expect some
7052 tests to fail for DWARF 1 and COFF formats.
7053 * gdb.c++/ptype.exp: Ditto.
7054 * gdb.c++/classes.exp: Ditto.
7055 * gdb.c++/cplusfuncs.exp: Ditto.
7056 * gdb.c++/inherit.exp: Ditto.
7057 * gdb.c++/templates.exp: Ditto.
7058 * gdb.c++/virtfunc.exp: Ditto.
d63a86f8 7059
c906108c
SS
7060Wed Jun 25 09:08:51 1997 Bob Manson <manson@charmed.cygnus.com>
7061
7062 * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
7063 host doesn't have a currently-open connection.
7064
7065 * config/sparclet.exp: Cleanups and fixes to make it generic for
7066 any gdb stub target. Handle cases where gdb doesn't respond when
7067 interrupted in a sane fashion.
7068
7069 * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
7070 same thing in a totally different way.
7071
7072 * config/monitor.exp: Pass in timeouts to gdb_expect instead of
7073 setting "timeout".
7074 (gdb_start): We set the global gdb_prompt variable in
7075 default_gdb_init now.
7076
7077Sun Jun 22 09:11:02 1997 Fred Fish <fnf@cygnus.com>
7078
7079 * gdb.base/printcmds.exp: Fix "check for floating addition"
7080 regexp to accept results within approx +/- .01 of exact value.
7081 * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
7082
7083Wed Jun 18 11:11:39 1997 Bob Manson <manson@charmed.cygnus.com>
7084
7085 * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
7086 properly.
7087 (gdb_expect): Add optional timeout parameter, and add timeout
7088 value to various calls.
7089 (gdb_suppress_tests): Only give one warning message per group.
7090
7091Tue Jun 17 13:10:10 1997 Bob Manson <manson@charmed.cygnus.com>
7092
7093 * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
7094 global variables. Handle getting a value for $timeout more
7095 gracefully.
7096
7097Sat Jun 14 09:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
7098
7099 * lib/gdb.exp: Close connection to remote host if gdb doesn't
7100 initialize.
7101 (default_gdb_init): New procedure; allow gdb_init to be overridden
7102 by a target configuration file.
7103 (gdb_expect): Pass the timeout to remote_expect.
7104
7105 * config/monitor.exp(gdb_load): Fix typo in regexp.
7106
7107Thu Jun 12 20:57:12 1997 Bob Manson <manson@charmed.cygnus.com>
7108
7109 * gdb.base/funcargs.exp: Remove spurious suppress tests call.
7110
7111Tue Jun 3 15:20:20 1997 Bob Manson <manson@charmed.cygnus.com>
7112
7113 * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
7114 here. Call gdb_target_exec before rebooting the target, to make
7115 sure the connection to the target is closed.
7116 (gdb_load): Pass the name of the executable to gdb_target_monitor.
7117 Don't call gdb_file_cmd here; let gdb_target_monitor do it.
7118 Also detect "Timeout reading from remote" error.
7119
7120 * config/gdbserver.exp: Pass the executable being loaded to
7121 gdb_target_monitor. Don't call gdb_file_cmd here; let
7122 gdb_target_monitor do it.
7123
7124 * gdb.disasm/hppa.exp: Don't use exec_output.
7125
7126Fri May 23 13:28:29 1997 Bob Manson <manson@charmed.cygnus.com>
7127
7128 * gdb.base/list.exp: If we're debugging a non-native target,
7129 try to set the pc register to point to the start of the
7130 program before doing the first list command.
7131
7132 * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
7133 test_calls after restarting.
7134
7135 * lib/gdb.exp(gdb_run_cmd): Send jump command again after
7136 reloading.
7137
7138 * gdb.base/watchpoint.exp: Fix typo.
7139
7140 * gdb.base/setshow.exp: Check for use_gdb_stub.
7141
7142 * gdb.base/break.exp: Fix continue until exit test for the gdb
7143 stub case.
7144 * gdb.base/langs.exp: Ditto.
7145
7146 * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
7147 gdb_load_offset. If we weren't given a file to load, figure out
7148 what the current file is and use it.
7149
7150 * config/i386-bozo.exp: New file.
7151
7152Thu May 22 18:51:32 1997 Bob Manson <manson@charmed.cygnus.com>
7153
7154 * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
7155 feature.
7156
7157 * config/proelf.exp: New entry.
7158
7159Wed May 21 21:23:16 1997 Bob Manson <manson@charmed.cygnus.com>
7160
7161 * lib/gdb.exp: Remove spurious .* patterns at the beginning
7162 of regexps.
7163
7164 * gdb.base/watchpoint.exp: Don't run the test_stepping
7165 tests if gdb can't call functions on the target.
7166
7167 * gdb.base/setshow.exp: Don't run the set prompt tests if
7168 the board has gdb_prompt set.
7169
7170Tue May 20 08:58:49 1997 Jeffrey A Law (law@cygnus.com)
7171
7172 * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
7173 * gdb.base/commands.exp: Likewise.
7174 * gdb.base/setshow.exp: Likewise.
7175
7176Mon May 19 15:37:50 1997 Bob Manson <manson@charmed.cygnus.com>
7177
7178 * config/monitor.exp(gdb_start): Look for gdb_prompt target
7179 feature.
7180
7181 * config/i960.exp: New file.
7182
7183Thu May 1 18:01:50 1997 Bob Manson <manson@charmed.cygnus.com>
7184
7185 * gdb.base/funcargs.exp: Check for gdb,short_int target
7186 feature instead of looking for explicit target triplets.
7187
dc96c6c7 7188Mon Apr 28 17:27:40 1997 Michael Snyder <msnyder@cygnus.com>
c906108c 7189
d63a86f8 7190 * gdb.base/printcmds.exp: add a couple more tests a la
c906108c
SS
7191 "p 123DEADBEEF", to check parse_number.
7192 * top.c: change "to enable to enable" to "to enable" in a couple
7193 of help strings.
7194
7195Thu Apr 24 14:38:18 1997 Jeffrey A Law (law@cygnus.com)
7196
7197 * gdb.base/callfuncs.exp: Mark some tests as expected to fail
7198 on the mn10300.
d63a86f8 7199
c906108c
SS
7200Mon Apr 21 15:05:42 1997 Fred Fish <fnf@cygnus.com>
7201
7202 * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
7203 where the test executable is run with explicit args.
7204 * gdb.base/default.exp: Handle arm-*-coff case for "info float".
7205
7206Mon Apr 21 13:38:58 1997 Fred Fish <fnf@cygnus.com>
7207
7208 * gdb.base/run.c: Use FAKEARGV to build test executable that
7209 does not require a command line arg, since most simulators
7210 don't currently support passing such an arg into the simulated
7211 program.
7212 * gdb.base/commands.exp: Change tests to insert the proper
7213 value as the arg to the first recursive factorial call. Change
7214 compilation line to define FAKEARGV at compile time.
7215
7216Wed Apr 9 11:12:36 1997 Jeffrey A Law (law@cygnus.com)
7217
7218 * gdb.base/recurse.exp: Enable these tests for the mn10300.
7219 * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
7220 function with watchpoint enabled" test.
7221
7222Tue Apr 8 19:33:20 1997 Bob Manson <manson@charmed.cygnus.com>
7223
7224 * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
7225 Don't call gdb_test when the command doesn't return to a gdb prompt.
7226
7227 * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
7228 "Tests restarted" messages.
7229
7230Tue Apr 8 16:38:46 1997 Jeffrey A Law (law@cygnus.com)
7231
7232 * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
7233
dc96c6c7 7234Thu Apr 3 15:21:26 1997 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
7235
7236 * gdb.base/help.exp: update help msg for INFO ADDR; add help test
7237 for INFO SYMBOL; add help tests for OVERLAY commands.
7238 * gdb.base/default.exp: add tests for INFO SYMBOL command;
7239 add tests for OVERLAY commands
7240 * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
7241 d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
7242 * gdb.base/sigall.c: add usestubs code frag
7243 * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
d63a86f8 7244
c906108c
SS
7245Thu Apr 3 09:38:53 1997 Bob Manson <manson@charmed.cygnus.com>
7246
7247 * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
7248 failures.
7249 (gdb_stop_suppressing_tests): Note that tests have restarted.
7250
7251Wed Apr 2 19:04:20 1997 Bob Manson <manson@charmed.cygnus.com>
7252
7253 * config/h8300.exp: New file.
7254
7255Sun Mar 30 13:38:25 1997 Bob Manson <manson@charmed.cygnus.com>
7256
7257 * gdb.base/setshow.exp: Check for the existence of a
7258 feature, not its value.
7259
7260Sat Mar 29 11:19:46 1997 Bob Manson <manson@charmed.cygnus.com>
7261
7262 * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
7263
7264 * gdb.base/scope.exp: It's now init0(), not init().
7265
7266 * gdb.base/scope0.c: For now, change init() to be init0().
7267
7268 * config/monitor.exp: Use gdb_serial in preference to serial
7269 or netport.
7270
7271 * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
7272 and it's not already set.
7273
7274Fri Mar 28 19:54:18 1997 Bob Manson <manson@charmed.cygnus.com>
7275
7276 * gdb.base/setshow.exp: Only test the run command if the target
7277 isn't using a stub and if it supports argument passing.
7278
7279Sat Mar 22 19:50:25 1997 Bob Manson <manson@charmed.cygnus.com>
7280
7281 * config/udi.exp(gdb_start): Make sure UDICONF is set
7282 properly before starting gdb.
7283
7284Mon Mar 24 14:40:33 1997 Jeffrey A Law (law@cygnus.com)
7285
7286 * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
7287 * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
7288 * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
7289
7290Tue Mar 11 11:42:58 1997 Bob Manson <manson@charmed.cygnus.com>
7291
7292 * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
7293 specialized code to reboot the board, use remote_reboot instead.
7294
7295 * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
7296
7297 * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
7298
7299 * config/monitor.exp: Make sure we disconnect from the target.
7300 Also, try a reboot/reload cycle instead of failing if the
7301 load fails.
7302
7303Fri Mar 7 13:48:30 1997 Bob Manson <manson@charmed.cygnus.com>
7304
7305 * gdb.base/default.exp: Don't set match_max.
7306 * gdb.base/help.exp: Ditto.
7307 * gdb.base/list.exp: Ditto.
7308 * gdb.base/signals.exp: Ditto.
7309
7310 * config/monitor.exp(gdb_load): If gdb,use_standard_load is
7311 set, use remote_ld to download the testcase instead of
7312 the GDB loader.
7313
7314Wed Mar 5 00:00:43 1997 Bob Manson <manson@charmed.cygnus.com>
7315
7316 * config/vr5000.exp: New file.
7317
7318 * config/monitor.exp(gdb_target_monitor): Add pattern for
7319 "Ending remote" to detect errors in connecting.
7320
7321 * gdb.base/setshow.exp: Add .* within auto language test.
7322
7323 * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
7324 target feature.
7325
7326 * config/monitor.exp(gdb_load): Check for a failure when loading,
7327 and reboot the board if necessary.
7328
7329 * gdb.base/setvar.exp(test_set): Handle multiple prints within
7330 a set of tests. Remove print.* from the patterns being checked.
7331
7332Mon Mar 3 11:57:43 1997 Bob Manson <manson@charmed.cygnus.com>
7333
7334 * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
7335 refer to gdb_spawn_id.
7336
7337 * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
7338 longer used.
7339 * config/sparclet.exp: Ditto.
7340 * config/sparclet-old.exp: Ditto.
7341 * config/slite.exp: Ditto.
7342 * config/sim.exp: Ditto.
7343 * gdb.base/funcargs.exp: Ditto.
7344
7345 * lib/gdb.exp:Remove references to gdb_spawn_id.
7346 (gdb_expect): Move to remote.exp.
7347
7348Fri Feb 28 20:47:39 1997 Bob Manson <manson@charmed.cygnus.com>
7349
7350 * config/monitor.exp: Detect the "Couldn't establish connection"
7351 message from GDB.
7352
7353Tue Feb 25 14:08:55 1997 Bob Manson <manson@charmed.cygnus.com>
7354
7355 * gdb.base/bitfields.exp: Use runto instead of explicit
7356 gdb_run_cmd/gdb_expect sequences.
7357
7358 * gdb.base/break.exp(text_next_with_recursion): Add match for
7359 gdb_expect call.
7360
7361 * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
7362 We also need to handle the "A program is being debugged already"
7363 prompt from gdb. Use gdb_test to set the baud rate.
7364
7365 * lib/gdb.exp(gdb_init): Increase the default expect buffer size
7366 to 20000. Really. I mean it.
7367
7368Mon Feb 24 13:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
7369
7370 * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
7371 fails. If suppress_flag is set, skip perror message about not
7372 being able to send to GDB.
7373 (send_gdb): If suppress_flag is set, don't try to send commands to
7374 GDB.
7375 (gdb_expect): If suppress_flag is set, always fail immediately.
7376 (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
7377 (gdb_init): Call gdb_stop_suppressing_tests.
7378 (default_gdb_exit): Ditto.
7379 (default_gdb_start): Ditto.
7380
7381 * gdb.base/bitfields.exp: Call gdb_suppress_tests and
7382 gdb_stop_suppressing_tests as appropriate.
7383 * gdb.base/break.exp: Ditto.
7384 * gdb.base/callfuncs.exp: Ditto.
7385 * gdb.base/commands.exp: Ditto.
7386 * gdb.base/exprs.exp: Ditto.
7387 * gdb.base/funcargs.exp: Ditto.
7388 * gdb.base/list.exp: Ditto.
7389 * gdb.base/recurse.exp: Ditto.
7390 * gdb.base/scope.exp: Ditto.
7391 * gdb.base/structs.exp: Ditto.
7392 * gdb.c++/inherit.exp: Ditto.
7393
7394Sun Feb 23 19:56:02 1997 Bob Manson <manson@charmed.cygnus.com>
7395
7396 * config/vr4300.exp: New file.
7397
99707966 7398 * gdb.*/*.exp: Call gdb_expect instead of expect.
d63a86f8 7399
99707966 7400 * lib/gdb.exp(gdb_expect): New function.
c906108c
SS
7401
7402Thu Feb 20 13:57:01 1997 Bob Manson <manson@charmed.cygnus.com>
7403
7404 * lib/gdb.exp(gdb_init): New function.
7405
7406 * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
7407 for each individual variable set.
7408
7409 * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
7410 name.
7411
7412 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
7413
7414 * gdb.base/scope.exp: Use gdb_test.
7415
7416 * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
7417 aborting; the testsuite driver will do that for us (see
7418 gdb_finish). Also, use gdb_test in a few more places.
7419
7420Thu Feb 20 13:32:24 1997 Stan Shebs <shebs@andros.cygnus.com>
7421
7422 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
7423
7424Thu Feb 20 10:34:21 1997 Jeffrey A Law (law@cygnus.com)
7425
7426 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
7427 and "add_tests" are not at the same address.
7428
7429Fri Feb 14 18:47:23 1997 Bob Manson <manson@charmed.cygnus.com>
7430
7431 * gdb.base/ptype.exp: Use gdb_test.
7432
7433Thu Feb 13 16:09:36 1997 Jeffrey A Law (law@cygnus.com)
7434
7435 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
7436 * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
7437 left in. No longer expect them to fail.
7438
7439 * gdb.stabs/*.mt; Deleted, no longer used.
7440 * gdb.stabs/configure.in: Remove references to target makefile
7441 frags.
7442 * gdb.stabs/configure: Rebuilt.
7443
7444 * gdb.disasm/*.mt: Deleted, no longer used.
7445 * gdb.disasm/configure.in: Remove references to target makefile
7446 frags. Use "sh3.s" as the unique filename for this directory.
7447 * gdb.disasm/configure: Rebuilt.
7448
7449 * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
7450 * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
7451 * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
7452
7453Tue Feb 11 16:57:58 1997 Bob Manson <manson@charmed.cygnus.com>
7454
7455 * config/udi.exp: Use mondfe,name instead of remote_host.
7456
7457Tue Feb 11 11:22:36 1997 Jeffrey A Law (law@cygnus.com)
7458
7459 * gdb.base/watchpoint.exp: Don't expect a failure when calling
7460 a function with a watchpoint enabled on the mn10200.
7461
7462 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
7463 before trying to create it!
7464
7465Mon Feb 10 16:40:47 1997 Bob Manson <manson@charmed.cygnus.com>
7466
7467 * config/vx.exp: Use hostname instead of netport.
7468
7469 * config/vxworks.exp: New file.
7470
7471 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
7472
7473 * config/monitor.exp(gdb_target_monitor): Look for a prompt from
7474 gdb before assuming everything worked. Send a ^C if a timeout
7475 occurs.
7476
7477 * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
7478 $gdb_spawn_id directly.
7479 (gdb_run_cmd): Try _start as well as start. Use the target feature
7480 gdb,start_symbol as the symbol to start from when jumping.
7481
7482Mon Feb 10 11:26:59 1997 Jeffrey A Law (law@cygnus.com)
7483
7484 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
7485 redundant) test.
7486
7487 * gdb.base/recurse.exp: Relax final value test for 'b' so that
7488 it doesn't lose for 16bit integer systems.
7489
7490Fri Feb 7 09:31:21 1997 Jeffrey A Law (law@cygnus.com)
7491
7492 * gdb.fortran/types.exp: If the target doesn't support "double"
7493 data types, then expect "real" types to only be 4 bytes.
7494
7495 * gdb.c++/virtfunc.exp: Expect failure for virtual function
7496 call tests if the target doesn't support inferior function calls.
7497
7498 * gdb.base/printcmds.exp: Allow minor deviation in FP values
7499 in printf tests.
7500
7501Thu Feb 6 12:46:14 1997 Jeffrey A Law (law@cygnus.com)
7502
7503 * gdb.base/help.exp: Disable "help set", "help show", and
7504 "help support". Simplify regexp for "help stack".
7505
7506 * gdb.base/default.exp: Set match_max to 5000 and the timeout
7507 to 60 seconds. Temporarily set match_max to 15000 around the
7508 "info copying" test.
7509
7510 * gdb.base/nodebug.exp: Don't try to do an inferior function
7511 call if the target doesn't support them.
7512 * gdb.base/printcmds.exp: Likewise.
7513 * gdb.base/setvar.exp: Likewise.
7514 * gdb.base/structs.exp: Likewise.
7515 * gdb.c++/templates.exp: Likewise.
7516 * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
7517
7518 * gdb.base/recurse.exp: Enable for the mn10200.
7519
7520 * configure.in: Do configure gdb.stabs directory for *-*-elf
7521 targets.
7522 * configure: Rebuilt.
7523
7524 * gdb.base/break.exp: Check for gdb,noresults before testing
7525 exit status and/or results from the target.
7526 * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
7527 * lib/gdb.exp: Remove old (now bogus) initialization of
7528 noinferior, noargs, noresults and nosignals.
7529
7530Tue Feb 4 21:52:17 1997 Bob Manson <manson@charmed.cygnus.com>
7531
7532 * config/sh.exp: New file.
7533
7534 * config/slite.exp: Try to connect multiple times to the board
7535 before rebooting. Only send a "monitor run" if need_monitor_run
7536 is set.
7537
7538 * gdb.base/break.exp: Don't do the "stub continue" test if
7539 the target has gdb_stub set.
7540
7541 * gdb.base/callfuncs.exp: Increase the timeout.
7542
7543 * gdb.base/interrupt.exp: Don't even try to compile the testcase
7544 if the target has gdb,noinferiorio set.
7545
7546 * gdb.base/list.exp: Increase match_max to 10000 characters.
7547
7548 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
7549
7550 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
7551 target.
7552
7553 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
7554
7555Mon Feb 3 12:09:37 1997 Bob Manson <manson@charmed.cygnus.com>
7556
7557 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
7558 trying to delete the copy of gdb. Catch the file delete so we
7559 don't die if the delete fails; also, the file should be copied to
7560 the host, not to the build.
7561
7562Sun Feb 2 00:55:14 1997 Bob Manson <manson@charmed.cygnus.com>
7563
7564 * lib/gdb.exp(gdb_test): Surround the result pattern with
7565 parenthesis in case it contains multiple regexps separated
7566 with |.
7567
7568 * gdb.base/watchpoint.exp: Use gdb_test.
7569 * gdb.base/default.exp: Ditto.
7570
7571Sat Feb 1 23:51:01 1997 Bob Manson <manson@charmed.cygnus.com>
7572
99707966 7573 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
d63a86f8 7574
c906108c
SS
7575 * gdb.base/scope.exp: Use gdb_test.
7576 * gdb.c++/classes.exp: Ditto.
7577 * gdb.c++/inherit.exp: Ditto.
7578
7579Fri Jan 31 13:09:12 1997 Bob Manson <manson@charmed.cygnus.com>
7580
7581 * gdb.base/crossload.exp: Don't use execute_anywhere, use
7582 remote_exec instead.
7583 * gdb.base/corefile.exp: Don't be ridiculous.
7584 * gdb.base/*.c: Add missing stub invocations.
7585
7586Thu Jan 30 16:49:25 1997 Bob Manson <manson@charmed.cygnus.com>
7587
7588 * config/slite.exp: Miscellaneous fixes.
7589
7590 * lib/gdb.exp: Fix runto.
7591
7592 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
7593 the target.
7594
7595 * gdb.base/watchpoint.exp: Fix regexp.
7596
7597 * lib/gdb.exp(default_gdb_exit): Add a catch to the
7598 close and wait commands, as the descriptor may now be
7599 invalid. Always call "remote_close host".
7600
7601Tue Jan 28 14:42:31 1997 Bob Manson <manson@charmed.cygnus.com>
7602
7603 Major rewrite for testsuite revision.
d63a86f8 7604
c906108c
SS
7605 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
7606 TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
7607 instead of relying on spawn_id to always contain a valid
7608 spawn id.
7609 (get_compiler_info): New procedure to build the ${binfile}.ci
7610 file, instead of replicating this in N different places.
7611 (gdb_compile): New procedure.
d63a86f8 7612
c906108c
SS
7613 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
7614 appropriate arguments) instead of compile. Use gdb_test in a lot
7615 more places. Use send_gdb instead of send. Always run gdb_start
7616 at the start of a testcase, as this is no longer done magically.
7617
7618 config/*-gdb.exp: Rename without the -gdb suffix.
7619
7620 config/mips.exp: Use remote_close instead of exit_remote_shell.
7621 config/monitor.exp: Use target_info instead of looking at
7622 baud, timeout, etc.
7623 config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
7624
7625Sat Dec 14 00:43:57 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7626
7627 * gdb.c++/templates.exp (test_ptype_of_templates),
7628 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
7629 Update expect patterns for destructors and assignment operators
7630 to match corresponding c-typeprint.c changes.
7631 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
7632 to destructor breakpoint test, GDB should be able to set the
7633 destructor breakpoint without specifying arguments.
7634
7635Tue Dec 3 20:17:52 1996 Fred Fish <fnf@cygnus.com>
7636
7637 * gdb.threads/pthreads.exp: Change result for failure to compile due
7638 to lack of pthreads runtime support from an error to simply an
7639 unsupported test, per dejagnu standards.
7640
7641Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7642
7643 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
7644 where GDB exits to reduce pattern match time.
7645 (skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
7646
7647 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
7648
dc96c6c7 7649Tue Nov 26 18:29:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
7650
7651 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
7652 * gdb.base/default.exp: ditto.
7653 * gdb.base/nodebug.exp: ditto.
7654 * gdb.base/printcmds.exp: ditto.
7655 * gdb.base/ptype.exp: ditto.
7656 * gdb.base/setvar.exp: ditto.
7657 * gdb.base/structs.exp: ditto.
7658 * gdb.base/setshow.c: Guard against uninitialized values of argc.
7659
7660Tue Nov 26 17:23:28 1996 Ian Lance Taylor <ian@cygnus.com>
7661
7662 * configure, */configure: Rebuild with autoconf 2.12.
7663
7664Sat Nov 23 13:32:15 1996 Fred Fish <fnf@cygnus.com>
7665
7666 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
7667 use new i*86-pc-linux*-gnu quads.
7668 * gdb.base/corefile.exp: Ditto.
7669 * gdb.base/signals.exp: Ditto.
7670 * gdb.base/sigall.exp: Ditto.
7671 * gdb.base/interrupt.exp: Ditto.
7672
7673 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
7674 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
7675 RedHat 4.0.
d63a86f8 7676
c906108c
SS
7677 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
7678 linux. This allows the test case to at least compile on latest
7679 linux, but still not run due to missing the threads runtime library.
7680
7681Fri Nov 22 10:13:29 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7682
7683 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
7684 directory to search gdb directory. Accept and step over conditional
7685 stack alignment code. Consume $prompt in failure cases.
7686 Reset timeout to $oldtimeout instead of some arbitrary value.
7687 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
7688 timeout problems with infinite stack backtraces.
7689 * gdb.base/ptype.exp (ptype struct link, union tu_link):
7690 Accept function parameters for linkfunc member.
7691
7692Thu Nov 21 09:17:19 1996 Fred Fish <fnf@cygnus.com>
7693
7694 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
7695 (CXXFLAGS): Remove, unreferenced.
7696 (B_OPTIONS): Add for -B options and add code to initialize with
7697 previous -B options and also add -B option to pick up cross compiled
7698 runtime.
7699 (TARGET_INCLUDES): Add for -I options and add code to initialize when
7700 doing cross compiles.
7701 (target_alias): Declare global.
7702 (xgcc): Set variable to full path of gcc in build tree. Use findfile
7703 to verify that gcc exists in build tree, and if so set CC to that
7704 gcc and to use B_OPTIONS and TARGET_INCLUDES.
d63a86f8 7705
c906108c
SS
7706Tue Nov 12 16:20:13 1996 Fred Fish <fnf@cygnus.com>
7707
7708 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
7709 ptype test for anonymous union. Fixup testcase to match
7710 current gcc debug output.
7711
7712Mon Nov 11 14:12:06 1996 Jeffrey A Law (law@cygnus.com)
7713
7714 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
7715 force argument to an unsigned long type.
7716
7717Mon Nov 11 10:27:55 1996 Fred Fish <fnf@cygnus.com>
7718
7719 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
7720 tests and anonymous union print/ptype tests.
7721 * gdb.base/list.exp (test_forward-search): Increase timeout by
7722 5 minutes for the "search extremely long line" case.
7723 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
7724 completely optional and that the pass/fail messages use the command as
7725 the message if that third arg is a null string.
7726 (gdb_test_exact): Arrange that a null string pattern means match a
7727 null string output rather than any output, which might include random
7728 errors.
7729 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
7730 backtrace test.
7731 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
7732 always failing and failure is now exposed by gdb.exp changes.
7733
7734Sat Nov 9 11:13:24 1996 Fred Fish <fnf@cygnus.com>
7735
7736 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
7737 weren't being noted.
7738
7739Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7740
7741 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
7742 * gdb.stabs/weird.exp: Remove v_comb xfails.
7743
dc96c6c7 7744Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
7745
7746 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
7747 list.exp scope.exp watchpoint.exp]
7748 Make all timeout error msgs explicitly say "(timeout)".
d63a86f8 7749
dc96c6c7 7750Mon Nov 4 12:03:06 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
7751
7752 * config/monitor.exp: Increase download timeout to 1000 seconds.
7753
dc96c6c7 7754Mon Nov 4 12:02:26 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
7755
7756 * config/m32r.exp: Increase timeout to 120 seconds.
7757
7758Sun Nov 3 14:37:05 1996 Fred Fish <fnf@cygnus.com>
7759
7760 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
7761 and accept older ordering as obsolescent gcc or gdb.
7762 * gdb.c++/templates.exp: Ditto.
7763 * gdb.c++/virtfunc.exp: Ditto.
7764
7765Fri Nov 1 11:56:09 1996 Fred Fish <fnf@cygnus.com>
7766
7767 * gdb.base/coremaker.c: Add code to mmap some data so we
7768 can check that it ends up in the core file.
7769 * gdb.base/corefile.exp: Add test to read mmapped data
7770 from core file.
7771
dc96c6c7 7772Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
7773
7774 * config/m32r.exp: New file.
7775
7776Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
7777
7778 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
7779 that cflags can contains -gstabs, and work correctly for other tests.
7780
dc96c6c7 7781Mon Oct 21 14:00:37 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
7782
7783 * gdb.base/setshow.exp: New file, tests show and set.
7784 * gdb.base/setshow.c: New file, tests show and set.
7785 * gdb.base/help.exp: Add test for help set|show annotate.
7786 * gdb.base/default.exp: Add test for set|show annotate.
7787
7788Wed Oct 16 19:03:54 1996 Stu Grossman (grossman@critters.cygnus.com)
7789
7790 * testsuite/gdb.base/break.exp: Make backtrace from factorial
7791 errors unique.
7792 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
7793 explicitly.
7794
7795Tue Oct 15 16:45:02 1996 Stu Grossman (grossman@critters.cygnus.com)
7796
7797 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
7798 and width commands. This is done elsewhere.
7799 * (gdb_start): Don't call gdb_start_sim here. That's already
7800 done in gdb_load. This fixes lots of failures in default.exp.
7801
7802Sun Oct 13 10:40:23 1996 Fred Fish <fnf@cygnus.com>
7803
7804 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
7805 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
7806 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
7807 in the same we we treat other failures (since it may be an expected
7808 condition), rather than as an error.
7809 * gdb.base/signals.exp (test_handle_all_print): Revert back to
7810 old test format.
7811
7812Fri Oct 11 17:05:22 1996 Fred Fish <fnf@cygnus.com>
7813
7814 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
7815 (distclean maintainer-clean realclean): No need to remove files
7816 twice. Nuke the duplicates.
7817 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
d63a86f8 7818 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
c906108c
SS
7819 Remove config.h along with other config files.
7820
7821Mon Sep 30 20:16:22 1996 Fred Fish <fnf@cygnus.com>
7822
7823 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
7824 "p func1 ()" and note that rests of tests are skipped.
7825 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
7826 setup_xfails for "print func2::coremaker_local".
7827 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
7828 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
7829 affected by the previous run test.
7830 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
7831 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
7832 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
7833 "pass int powerset tuple" and "pass modeless int powerset tuple".
7834 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
7835 "real write 4" and "real write 8".
7836 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
7837 setup_xfails for "print vs1 after tuple assign 2",
7838 "print \$i after tuple assign 2", and
7839 "print vs2 after tuple assign 2".
7840 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
7841 meaningful error message and return -1 so the caller can
7842 suppress further tests and avoid a cascade of errors.
d63a86f8 7843
c906108c
SS
7844Fri Sep 27 10:34:51 1996 Fred Fish <fnf@cygnus.com>
7845
7846 * gdb.base/a1-selftest.exp: Tweak tests to account for new
7847 format for printing version.
7848 * gdb.base/default.exp: Ditto.
7849 * gdb.base/interrupt.exp: Fix problem with cascade of
7850 errors if child process dies while calling a function.
d63a86f8 7851
c906108c
SS
7852Fri Sep 13 21:43:48 1996 Fred Fish <fnf@cygnus.com>
7853
7854 * Makefile.in (VPATH): Add
7855 * Makefile.in (Makefile, config.status): Fix rules so things get
7856 remade when necessary.
7857
7858Fri Sep 13 18:16:10 1996 Fred Fish <fnf@cygnus.com>
7859
7860 * Makefile.in (just-check): Add path to sibling expect dir
7861 to environment variable specified by RPATH_ENVVAR.
7862
7863Fri Sep 13 12:05:34 1996 Fred Fish <fnf@cygnus.com>
7864
7865 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
7866 (just-check): Add shared library paths for libstdc++, tk,
7867 tcl, bfd, and opcodes to the environment variable specified
7868 in RPATH_ENVVAR.
7869 * configure.in: Add support to recognize --enable-shared flag
7870 and generate correct value for RPATH_ENVVAR.
7871 * configure: Regenerated with autoconf.
7872
7873Mon Sep 2 06:36:02 1996 Fred Fish <fnf@cygnus.com>
7874
7875 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
7876 include all osf versions.
7877 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
7878 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
7879 when target is linux. When failing to build pthreads test
7880 executable, give more meaningful message.
7881 * gdb.threads/pthreads.c: Hpux also uses old definition of second
7882 arg for pthread_create.
d63a86f8 7883
c906108c
SS
7884Mon Aug 19 09:58:59 1996 Fred Fish <fnf@cygnus.com>
7885
7886 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
7887 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
7888 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
7889 and -lpthreads (everybody else).
7890 (test_startup): Fail gracefully if threads are not supported.
7891 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
7892 "p/c array_index("abcdef",2)" when not gcc compiled.
7893 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
7894 "print func2::coremaker_local" when not gcc compiled.
7895 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
7896 "ptype on opaque struct tagname (statically)",
7897 "ptype on opaque struct tagname (dynamically) 1", and
7898 "ptype on opaque struct tagname (dynamically) 2"
7899 for not compiled with gcc.
7900 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
7901 backtrace when compiled with gcc.
d63a86f8 7902 * lib/gdb.exp (runto_main): Return result of "runto main" rather
c906108c
SS
7903 than always return success.
7904
7905Sat Aug 17 13:28:00 1996 Fred Fish <fnf@cygnus.com>
7906
7907 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
7908
7909Tue Aug 13 10:26:10 1996 Jeffrey A Law (law@cygnus.com)
7910
7911 * gdb.base/structs.exp: Undo last change.
7912
7913Mon Aug 12 15:29:08 1996 Fred Fish <fnf@cygnus.com>
7914
7915 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
7916 encapsulate all the steps/nexts done during self test, starting
7917 at main, and makes them less sensitive to optimization issues.
7918 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
7919 signal handler" test.
7920 * gdb.threads/pthreads.exp: Only run this for native configs.
7921 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
7922 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
7923 tests.
7924 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
7925 for "runto test_calls(void)" test.
d63a86f8 7926
c906108c
SS
7927Sun Aug 11 13:11:24 1996 Fred Fish <fnf@cygnus.com>
7928
7929 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
7930 and don't expect address info in breakpoint confirmations.
7931
7932Wed Aug 7 20:47:43 1996 Fred Fish <fnf@cygnus.com>
7933
7934 * gdb.base/list.exp (test_forward_search): Increase timeout
7935 temporarily by 60 seconds for searching extremely long line,
7936 and then reset to old value when done. Increase expect input
7937 buffer to 10000.
7938
7939Wed Aug 7 15:34:22 1996 Fred Fish <fnf@cygnus.com>
7940
7941 * gdb.base/list.exp (test_forward_search): Fix to handle very
7942 long source line without overflowing expect's input buffer.
7943
7944Wed Aug 7 12:03:25 1996 Tom Tromey <tromey@creche.cygnus.com>
7945
7946 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
7947 "buffer_full".
7948
7949 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
7950 "buffer_full".
7951
7952 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
7953 "buffer_full".
7954
7955 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
7956 "buffer_full".
7957
7958Wed Aug 7 11:05:47 1996 Fred Fish <fnf@cygnus.com>
7959
7960 * configure.in (configdirs): Add gdb.threads.
7961 * configure: Regenerated with autoconf.
7962 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
7963 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
7964 * gdb.threads/configure: New, generated with autoconf.
d63a86f8 7965
c906108c
SS
7966Tue Aug 6 10:23:04 1996 Tom Tromey <tromey@rtl.cygnus.com>
7967
7968 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
7969
7970Mon Aug 5 18:11:53 1996 Fred Fish <fnf@cygnus.com>
7971
7972 * gdb.base/signals.exp (test_handle_all_print): Test separately for
7973 each signal's status in the output of "handle all print".
7974 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
7975 the \r\n sequence that immediately precedes the gdb prompt.
7976 * gdb.base/a1-selftest.exp: Save original timeout and restore
7977 after test.
7978
7979Sun Aug 4 10:20:50 1996 Jeffrey A Law (law@cygnus.com)
7980
7981 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
7982 symbol.
7983
7984Fri Aug 2 17:37:26 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
7985
7986 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
7987
7988Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
7989
7990 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
7991 timeout by 60 seconds.
7992
7993Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
7994
7995 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
7996 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
7997 error return.
7998
7999Thu Jun 27 10:54:58 1996 Fred Fish <fnf@cygnus.com>
8000
8001 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
8002 gdb initialization, also report how long dejagnu waited. Restore
8003 old timeout before doing error return. Temporarily increase timeout
8004 by 3 minutes to allow for slow startups over heavy NFS use.
8005
8006Tue Jun 25 19:59:17 1996 Fred Fish <fnf@cygnus.com>
8007
8008 * lib/gdb.exp: Report timeout value for verbosity level 2.
8009 * config/gdbserver.exp: Ditto.
8010 * config/hppro.exp: Ditto.
8011 * config/mips-gdb.exp: Ditto.
8012 * config/monitor.exp: Ditto.
8013 * config/netware.exp: Ditto.
8014 * config/sim-gdb.exp: Ditto.
8015 * config/slite-gdb.exp: Ditto.
8016 * config/udi-gdb.exp: Ditto.
8017 * config/unix-gdb.exp: Ditto.
8018 * config/vx-gdb.exp: Ditto.
8019 * gdb.base/a1-selftest.exp: Ditto.
8020 * gdb.base/a2-run.exp: Ditto.
8021 * gdb.base/break.exp: Ditto.
8022 * gdb.base/corefile.exp: Ditto.
8023 * gdb.base/list.exp: Ditto.
8024 * gdb.base/recurse.exp: Ditto.
8025 * gdb.base/scope.exp: Ditto.
8026 * gdb.base/signals.exp: Ditto.
8027
8028Tue Jun 25 23:16:58 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
8029
8030 * gdb.threads/Makefile.in (docdir): Removed.
8031
8032Tue Jun 25 17:02:39 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
8033
8034 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
d63a86f8 8035 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
c906108c 8036 @srcdir@.
d63a86f8 8037 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
c906108c
SS
8038 autoconf 2.5 or higher.
8039 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
8040
8041Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
8042
8043 * configure: Regenerated.
8044 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
8045 avoid name clashes with SunOS headers.
8046
8047Wed Jun 5 16:43:27 1996 Jeffrey A Law (law@cygnus.com)
8048
8049 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
8050
8051Thu May 30 11:35:11 1996 Jeffrey A Law (law@cygnus.com)
8052
8053 * gdb.base/callfuncs.exp: Finish last change -- make sure the
8054 prototype information ends up in the compiler info file.
8055
8056Thu May 23 12:48:41 1996 Fred Fish <fnf@cygnus.com>
8057
8058 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
8059 attempting to regenerate it. Eliminate use of a temporary file
8060 and just generate the info file directly. Source it immediately,
8061 for consistency of use.
8062 * gdb.base/corefile.exp: Ditto
8063 * gdb.base/exprs.exp: Ditto.
8064 * gdb.base/funcargs.exp: Ditto.
8065 * gdb.base/langs.exp: Ditto.
8066 * gdb.base/list.exp: Ditto.
8067 * gdb.base/mips_pro.exp: Ditto.
8068 * gdb.base/nodebug.exp: Ditto.
8069 * gdb.base/opaque.exp: Ditto.
8070 * gdb.base/ptype.exp: Ditto.
8071 * gdb.base/scope.exp: Ditto.
8072 * gdb.base/setvar.exp: Ditto.
8073 * gdb.base/signals.exp: Ditto.
8074 * gdb.base/whatis.exp: Ditto.
8075 * gdb.c++/templates.exp: Ditto.
8076 * gdb.c++/virtfunc.exp: Ditto.
8077 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
8078 whether or not to add -lstdc++ to the compile command line args.
8079
8080Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8081
8082 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
8083 it got fixed by the recent lookup_minimal_symbol_by_pc change.
8084 Increase timeout, a lot of single stepping might be needed if the
8085 target has no hardware watchpoints.
8086
8087Wed May 15 08:47:42 1996 Jeffrey A Law (law@cygnus.com)
8088
8089 * gdb.base/break.exp: Ignore compiler warnings when compiling
8090 break.c.
8091 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
8092 * gdb.base/default.exp: Add h8300 xfails. Handle messages
8093 from remote-sim.
8094 * gdb.base/exprs.exp: Add h8300 xfails.
8095 * gdb.base/funcargs.exp: Likewise.
8096 * gdb.base/nodebug.exp: Likewise.
8097 * gdb.base/printcmds.exp: Likewise.
8098 * gdb.base/ptype.exp: Likewise.
8099 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
8100 h8300 xfails.
d63a86f8 8101 * gdb.base/return.exp: Handle float/double precision problems
c906108c
SS
8102 on the h8300.
8103 * gdb.base/funcargs.c: Explicitly make last constant argument to
8104 call_after_alloca_subr an unsigned long type.
8105 * gdb.base/return.c: Include stdio.h.
8106
8107Tue May 7 22:01:12 1996 Rob Savoye <rob@chinadoll.cygnus.com>
8108
8109 * config/abug.exp: New file for the older Motorola Bug monitor
8110 that runs on the mvme13x series VME boards.
8111 * config/monitor.exp: Use the new config array for target settings
8112 if they exist.
8113
8114Fri May 3 16:02:55 1996 Stan Shebs <shebs@andros.cygnus.com>
8115
8116 * sim-gdb.exp: Make the SH simulator allocate less space when
8117 it is targeted.
8118
8119Thu May 2 12:31:56 1996 Jeffrey A Law (law@cygnus.com)
8120
8121 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
8122 test.
8123
8124Wed Mar 20 08:48:03 1996 Fred Fish <fnf@cygnus.com>
8125
8126 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
8127 "rs6000-*-*" for "list function in include file" when gcc compiled.
8128 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
8129 for "p ctable1[120]".
8130 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
8131 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
8132 Remove setup_xfail for "rs6000-*-*" for
8133 "print 'scope0.c'::filelocal before run".
8134 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
8135 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
8136 since some compilers don't allow both options to be given
8137 on the same command line. Create object file and move it.
d63a86f8 8138
c906108c
SS
8139Tue Mar 19 23:49:31 1996 Fred Fish <fnf@cygnus.com>
8140
8141 * gdb.base/corefile.exp: Always regenerate the core file, since
8142 we always regenerate the coremaker program. Detect special case
8143 where registers cannot be read from core file.
d63a86f8 8144
c906108c
SS
8145Tue Mar 19 16:52:49 1996 Fred Fish <fnf@cygnus.com>
8146
8147 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
8148 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
8149 * gdb.c++/templates.exp: Only match on basename of file since
8150 some formats like xcoff don't encode directory information.
8151 * gdb.stabs/weird.exp: Use the right sed script for powerpc
8152 and rs6000 AIX xcoff targets.
8153 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
8154 * configure: Regenerate.
8155 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
8156 here, rather than in distclean.
d63a86f8 8157
c906108c
SS
8158Sun Mar 17 13:35:31 1996 Fred Fish <fnf@cygnus.com>
8159
8160 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
8161 defined, and use it to compile the test case with -O2. The
8162 native compilation still uses no optimization.
8163 * gdb.base/mips_pro.c: Remove inline assembly code since
8164 it is compiled PIC by default, which results in assembler
8165 warnings that make the testsuite think the compilation
8166 was unsuccessful.
8167
8168Sat Mar 16 15:02:24 1996 Fred Fish <fnf@cygnus.com>
8169
8170 * gdb.c++/misc.exp: Add note to message for
8171 "print s.a for foo struct" that this is a known gcc 2.7.2
8172 and earlier bug.
8173
8174Fri Mar 15 17:49:57 1996 Fred Fish (fnf@cygnus.com)
8175
8176 * gdb.base/break.exp: Fix pattern for matching "Delete all
8177 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
8178 setup_xfail for deleting all breakpoints test. Fix various
8179 timeout messages to include "(timeout)".
8180 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
8181 for "p t_float_values2(3.14159,float_val2)".
8182 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
8183 for "continue to call2g" when gcc compiled.
8184 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
8185 "up to foo in langs.exp", "show language at foo in langs.exp",
8186 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
8187 and "show language at fsub in langs.exp".
8188 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
8189 "list line 1 in include file", "list message for lines past EOF",
8190 "list function in include file", "list list0.h:foo", and
8191 "list filename:function; nonexistant function".
8192 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
8193 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
8194 and "ptype t_char_array" to be for native cc only.
d63a86f8 8195
c906108c
SS
8196Fri Mar 15 16:17:22 1996 Fred Fish <fnf@cygnus.com>
8197
d63a86f8 8198 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
c906108c
SS
8199 setup_xfail for "print coremaker_bss", "print coremaker_ro",
8200 "print func2::coremaker_local", and "backtrace in corefile.exp".
8201
8202Wed Mar 13 14:54:11 1996 Fred Fish <fnf@cygnus.com>
8203
8204 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
8205 "bt in signals.exp". This problem only appears when running
8206 the testsuite, and then only intermittently.
8207
8208Tue Mar 12 15:00:16 1996 Stan Shebs <shebs@andros.cygnus.com>
8209
8210 * gdb.base/return.exp (return_tests): Differentiate between
8211 two tests of continuing.
8212
8213Tue Mar 5 14:33:33 1996 Stan Shebs <shebs@andros.cygnus.com>
8214
8215 * */Makefile.in (maintainer-clean): Remove config.log.
8216 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
8217 * gdb.c++/Makefile.in (PROGS): Add inherit.
8218 (clean): Remove *.ci.
8219
8220Tue Feb 20 16:36:10 1996 Fred Fish <fnf@cygnus.com>
8221
8222 * gdb.c++/misc.cc: Add test code from Mike Stump.
8223 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
8224
8225Sun Feb 18 11:39:12 1996 Fred Fish <fnf@cygnus.com>
8226
8227 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
8228 to "alpha-*-osf2*" and add comment.
8229 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
8230 setup_xfail for "step over execarg initialization" and
8231 "step over corearg initialization".
8232 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
8233 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
8234 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
8235 gcc compiled for "print coremaker_bss", "print coremaker_ro",
8236 "print func2::coremaker_local", and "backtrace in corefile.exp".
8237 * gdb.base/signals.exp: Build and source signals.ci.
8238 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
8239 to be for gcc only.
8240 * lib/gdb.exp: Move verbose statements outside conditionals.
d63a86f8 8241
c906108c
SS
8242Sat Feb 17 02:22:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8243
8244 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
8245 Feb 3 procfs.c change.
8246
8247Fri Feb 16 13:25:31 1996 Fred Fish <fnf@cygnus.com>
8248
8249 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
8250
8251Thu Feb 15 08:12:55 1996 Fred Fish <fnf@cygnus.com>
8252
8253 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
8254 from dejagnu's apparent default of 10 seconds, which gives random
8255 results when running the tests over NFS on moderately loaded systems.
8256 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
8257
8258Mon Feb 12 16:50:28 1996 Fred Fish <fnf@cygnus.com>
8259
8260 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
8261 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
8262 result reports.
8263
8264Fri Feb 9 15:56:51 1996 Fred Fish <fnf@cygnus.com>
8265
8266 * configure.in (CY_AC_PATH_TCLH): Remove.
8267 * configure: Regenerate.
8268
8269Fri Feb 9 08:21:31 1996 Fred Fish <fnf@cygnus.com>
8270
8271 * gdb.c++/Makefile.in (clean): Add missing '{'.
8272
8273Fri Feb 2 10:19:40 1996 Jeffrey A Law (law@cygnus.com)
8274
8275 * lib/gdb.exp: Provide a default value for noinferior.
8276
8277 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
8278 Load libgloss.exp.
8279
8280Thu Feb 1 20:20:14 1996 Jeffrey A Law (law@cygnus.com)
8281
8282 * gdb.disasm/hppa.exp: Compile directly into an executable, use
8283 the executable, not the .o to run the tests from.
8284
8285Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com)
8286
8287 * gdb.base/break.exp: Don't test for program exit or exit status
8288 if $noresults if nonzero.
8289 * gdb.base/langs.exp: Likewise.
8290 * gdb.base/watchpoint.exp: Likewise.
8291
8292 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
8293 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
8294 trying to compile the testcase.
8295
8296Wed Jan 24 23:42:39 1996 Doug Evans <dje@charmed.cygnus.com>
8297
8298 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
8299 * gdb.base/signals.exp (continue to handler): Likewise.
8300
8301Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
8302
8303 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
8304
8305 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
8306
8307Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
8308
8309 * gdb.base/corefile.exp: Recognize "not found" as failure
8310 when trying to determine if a core file was generated.
8311 If no core file was generate the first time, try again without
8312 the ulimit -c to work around braindamaged shells.
8313
8314Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
8315
8316 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
8317 [] tests with "test" and enclose string in quotes.
8318 * gdb.stabs/configure: Rebuild
d63a86f8 8319
c906108c
SS
8320Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
8321
8322 Changes in sync with expect:
8323 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
8324 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
8325 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
8326 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
8327 argument to AC_REQUIRE.
8328 * configure: Regenerated.
8329
8330Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
8331
8332 * gdb.base/corefile.exp: When generating a core, discard any
8333 error messages about ulimit not found and the "core dumped"
8334 message from the shell that runs the coredumper.
8335
8336Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
8337
8338 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
8339
8340 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
8341 which sed script to run. Expect failure for v_comb test
8342 on PA targets too.
d63a86f8 8343
c906108c
SS
8344Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
8345
8346 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
8347 "print func2::coremaker_local" and for "backtrace in corefile.exp"
8348
8349Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
8350
8351 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
8352 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
8353 "sparc-sun-solaris*" xfails for "p v_comb".
8354 * lib/gdb.exp (default_gdb_start): Fix typo.
8355 * gdb.base/corefile.exp: Allow "Core was generated by ..."
8356 messages to not include the full program name that caused
8357 the core dump since some systems (such as solaris) apparently
8358 truncate this path to about 80 characters.
8359 When generating a core file first try increasing the core file
8360 size limit to unlimited since some systems may default it to
8361 zero, and it is harmless to try it. Move the test for failing
8362 to generate a core file to where it will actually get executed.
8363 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
8364 new gdb result from g++ debug info improvements and make old
8365 pattern obsolescent. Also account for size_t differences
8366 (may be int or long).
8367 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
8368 initialization before function call is placed in the delay slot
8369 and thus appears to be skipped over by commands such as "next".
8370
8371Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
8372
8373 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
8374
8375Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
8376
8377 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
8378 input source file; fix code to compile test to deal with this
8379 convention.
8380 * gdb.c++/*.exp: Likewise.
8381
8382Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
8383
8384 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
8385 "bt in signals.exp".
8386
8387Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
8388
8389 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
8390 "step over execarg initialization" and
8391 "step over corearg initialization".
8392
8393Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
8394
8395 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
8396 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
8397
8398Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
8399
8400 From Rob Savoye (rob@poseidon.cygnus.com)
8401 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
8402 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
8403 configure.in}, gdb.disasm/{Makefile.in, configure.in},
8404 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
8405 configure.in}: Major reworking for autoconfig.
8406 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
8407 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
8408 New files.
8409 * config/unix-gdb.exp: Make GDB global.
8410 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
8411 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
8412 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
8413 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
8414 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
8415 term.exp, twice.exp, watchpoint.exp, whatis.exp},
8416 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
8417 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
8418 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
8419 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
8420 pr-8136.exp, result.exp, string.exp, tuples.exp},
8421 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
8422 to returns as necessary, arrange for test to compile own testcase
8423 executable.
8424 * lib/gdb.exp: Changes for testsuite to compile own test cases.
d63a86f8 8425
c906108c
SS
8426Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
8427
8428 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
8429 clear_xfail at end of test which might not call either pass or fail.
8430 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
8431 "backtrace through signal handler".
8432
8433Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8434
8435 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
8436 continuing from a job control stop signal.
8437 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
8438
8439Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
8440
8441 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
8442 * gdb.base/corefile.exp: Likewise.
8443 * gdb.base/funcargs.exp: Likewise.
8444
8445Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
8446
8447 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
8448 * config/monitor.exp: Add support for setting baud rate.
8449
8450Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
8451
8452 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
8453 i*86-*-linux* xfails for "backtrace through signal handler".
8454 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
8455 "print func2::coremaker_local".
8456 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
8457 alpha-dec-osf2* xfail for
8458 "delete all breakpoints when none".
8459
8460Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
8461
8462 * gdb.base/break.exp: Change test that deletes all breakpoints
8463 when no user breakpoints are installed. A post 4.15 change
8464 causes gdb to no longer prompt in this case.
8465
8466Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
8467
8468 * gdb.base/return.exp (return_tests): Change xfail for test
8469 "correct value returned double test" to stop xfailing at
8470 Solaris 2.5. Apparently the bug has been fixed.
8471
8472Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
8473
8474 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
8475 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
8476
8477Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
8478
8479 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
8480 * gdb.disasm/hppa.s: Corresponding changes.
8481
8482Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
8483
8484 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
8485 makefile fragment.
8486 * config/mt-hpux: Deleted.
8487
8488Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
8489
d63a86f8 8490 * Many files: When warning about suppressed tests due to a
c906108c
SS
8491 nonexistant test binary, avoid incrementing the warning count.
8492
8493Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
8494
8495 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
d63a86f8 8496
c906108c
SS
8497Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8498
8499 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
8500 "sparc-*-solaris2*".
8501
8502Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8503
8504 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
8505 Add global and local variables and initialize them.
8506 * gdb.base/corefile.exp: Test correct mapping of corefile sections
8507 by printing variables. Remove rs6000 and powerpc xfails, BFD now
8508 extracts the file name and terminating signal from the core file.
8509 * TODO: Remove note about tests for correct mapping of corefile.
8510 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
8511 from optimizing it away.
8512 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
8513 handles common blocks.
8514
8515Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
8516
8517 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
8518 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
8519
8520Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
8521
8522 * Makefile.in (maintainer-clean): New target, synonym for
8523 realclean.
8524 * gdb.base/Makefile.in (maintainer-clean): Likewise.
8525 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
8526 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
8527 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
8528 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
8529 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
8530
8531Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
8532
8533 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
8534 xfails when not gcc compiled for "print foo::funclocal".
8535 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
8536 "print foo::funclocal at foo",
8537 "print 'scope1.c'::foo::funclocal at foo",
8538 "print foo::funclocal_bss at foo",
8539 "print 'scope1.c'::foo::funclocal_bss at foo",
8540 "print foo::funclocal_ro at foo",
8541 "print 'scope1.c'::foo::funclocal_ro at foo",
8542 "print bar::funclocal at foo" and
8543 "print 'scope1.c'::bar::funclocal at foo".
8544 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
8545 gcc compiled for "print foo::funclocal at bar".
8546 Expand all messages to ensure that they identify that
8547 the test is at bar().
8548 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
8549 gcc compiled for:
8550 "ptype on opaque struct pointer (statically)",
8551 "ptype on opaque struct tagname (statically)",
8552 "ptype on opaque struct pointer (dynamically) 1",
8553 "ptype on opaque struct tagname (dynamically) 1",
8554 "ptype on opaque struct pointer (dynamically) 2" and
8555 "ptype on opaque struct tagname (dynamically) 2
8556 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
8557 gcc compiled for:
8558 "p datalocal"
8559 "whatis datalocal",
8560 "ptype datalocal",
8561 "p bsslocal",
8562 "whatis bsslocal", and
8563 "ptype bsslocal".
8564 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
8565 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
8566 when not gcc compiled.
8567 * gdb.base/funcargs.exp (float_and_integral_args): Add
8568 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
8569 compiled.
8570 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
8571 "backtrace from call6a" when not gcc compiled.
8572 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
8573 "backtrace from call7a" when not gcc compiled.
8574 * gdb.base/callfuncs.exp (do_function_calls):
8575 Add "hppa*-*-hpux*" xfail when not gcc compiled for
8576 "p t_char_array_values(char_array_val2,char_array_val1)",
8577 "p t_char_array_values(char_array_val1,char_array_val2)",
8578 "p t_char_array_values("carray 1","carray 2")",
8579 "p t_char_array_values("carray 1",char_array_val2)",
8580 "p t_char_array_values(char_array_val1,"carray 2")",
8581 "p sum_args(1,{2})",
8582 "p sum_args(2,{2,3})",
8583 "p sum_args(3,{2,3,4})",
8584 "p sum_args(4,{2,3,4,5})"
8585 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
8586 "backtrace in corefile.exp" when not gcc compiled.
8587
8588Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8589
8590 * gdb.base/signals.exp: Rewrite `handle all print' test as
8591 a procedure. Accept blanks or TABs as whitespace, increase
8592 timeout and expect input buffer size for the large output
8593 from the command. Remove "i*86-*-bsdi2.0" xfail.
8594
8595Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8596
8597 * gdb.base/setvar.exp: Add new testcases for truncation when
8598 assigning invalid values to bitfields.
8599
8600Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
8601
d63a86f8 8602 * gdb.base/callfuncs.exp (do_function_calls): Remove
c906108c
SS
8603 mips-sgi-irix* xfail for
8604 "call inferior func with struct - returns char *"
8605 and fix test so that an optional (unsigned char *) cast is
8606 accepted in the result.
8607
8608Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
8609
8610 * gdb.base/funcargs.exp (float_and_integral_args): Remove
8611 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
8612 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
8613 * gdb.base/signals.exp: Remove duplicate "handle all print" test
8614 that accidentally got checked in.
8615
8616Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
8617
d63a86f8 8618 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
c906108c
SS
8619 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
8620 compiled test.
8621 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
8622 Add mips-sgi-irix5* xfail for not gcc compiled.
8623 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
8624 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc compiled for
8625 "p top", "whatis top", "p middle", and "whatis middle".
8626 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
8627 "whatis signed char" for not gcc compiled.
8628 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
8629 "set variable signed char=-1 (-1)" and
8630 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
8631 * gdb.base/funcargs.exp (float_and_integral_args):
8632 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
8633 Add mips-sgi-irix* xfail when not gcc compiled for
8634 "continue to call2b".
8635 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
8636 "continue to call2g".
8637 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc compiled for
8638 "backtrace from call6a"
8639 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc compiled for
8640 "backtrace from call7k".
8641 Add mips-sgi-irix5* xfail when not gcc compiled for
8642 "backtrace from call7a".
8643 (localvars_after_alloca): Fix gdb_test cmds for
8644 "print * after runto ...".
8645 Remove rs6000-*-* xfails for
8646 "print i after runto localvars_after_alloca" and
8647 "print l after runto localvars_after_alloca"
8648 for all compilers.
8649 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
8650 when not compiled with gcc, for:
8651 "print signed char == (minus)",
8652 "print signed char != (minus)",
8653 "print signed char < (minus)",
8654 "print signed char > (minus)".
8655 * gdb.base/callfuncs.exp (do_function_calls):
8656 Add mips-sgi-irix* xfail, when compiled with native compiler, for
8657 "call inferior func with struct - returns char *".
d63a86f8 8658 * gdb.base/return.exp (return_tests): Change xfail for
c906108c
SS
8659 "correct value returned double test" to include Solaris 2.4.
8660 * gdb.base/funcargs.exp (float_and_integral_args):
8661 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
d63a86f8 8662
c906108c
SS
8663Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8664
8665 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
8666 enumeration bitfields if compiling with GNU C.
8667 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
8668 to empty' prompt.
8669
8670Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
8671
8672 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
8673 test for PRO targets.
8674
8675 * gdb.base/funcargs.exp: Avoid ever setting more than 8
8676 breakpoints in the inferior at any given time by making
8677 two groups of breakpoints for call2*, call6* and call7*
8678 tests.
8679
8680Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8681
8682 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
8683 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
8684 from optimizing it away.
8685 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
8686 "call inferior func with struct".
8687
8688Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
8689
8690 * configure.in: Only configure gdb.chill for particular targets.
8691
8692Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
8693
8694 * gdb.base/Makefile.in: Add action to .c.o transformation
8695 rule that generates a .ci file for each .o file and remove
8696 explicit .c.o rules except for callfuncs.o.
8697 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
8698 generates a .ci file for each .o file and remove explicit
8699 .cc.o rules.
8700 (clean): Remove *.tmp *.ci files.
8701 (EXECUTABLES): Remove templ-info.exp.
8702 * gdb.base/compiler.c: New file.
8703 * gdb.c++/compiler.cc: New file
8704 * gdb.base/scope.exp: Source gdb.base/scope.ci.
8705 Change rs6000-*-* xfail for
8706 "print 'scope0.c'::filelocal_ro" and
8707 "print 'scope1.c'::filelocal" and
8708 "print 'scope1.c'::filelocal_bss" and
8709 "print 'scope1.c'::filelocal_ro" and
8710 "print 'scope1.c'::foo::funclocal" and
8711 "print 'scope1.c'::foo::funclocal_ro" and
8712 "print 'scope1.c'::bar::funclocal" and
8713 "print 'scope0.c'::filelocal_ro" and
8714 "print 'scope1.c'::filelocal at foo" and
8715 "print 'scope1.c'::filelocal_bss at foo" and
8716 "print 'scope1.c'::filelocal_ro at foo" and
8717 "print 'scope1.c'::foo::funclocal at foo" and
8718 "print 'scope1.c'::foo::funclocal_bss at foo" and
8719 "print 'scope1.c'::foo::funclocal_ro at foo" and
8720 "print 'scope1.c'::bar::funclocal at foo" and
8721 "print 'scope0.c'::filelocal_ro" and
8722 "print 'scope1.c'::filelocal" and
8723 "print 'scope1.c'::filelocal_bss" and
8724 "print 'scope1.c'::filelocal_ro" and
8725 "print 'scope1.c'::foo::funclocal" and
8726 "print 'scope1.c'::foo::funclocal_bss" and
8727 "print 'scope1.c'::foo::funclocal_ro" and
8728 "print 'scope1.c'::bar::funclocal" and
8729 "print 'scope1.c'::bar::funclocal_bss"
8730 to only be xfail'd when not compiled with gcc.
d63a86f8 8731 Add rs6000-*-* xfail for
c906108c
SS
8732 "print 'scope0.c'::filelocal_bss before run"
8733 when compiled with gcc.
8734 (test_at_main): Add rs6000-*-* xfail for
8735 "print filelocal_ro in test_at_main"
8736 when compiled with gcc.
8737 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
d63a86f8 8738 Add rs6000-*-aix* xfail for
c906108c
SS
8739 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
8740 "ptype t_char_array", not compiled with gcc.
8741 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
8742 xfail for "list foo (in include file)" when gcc compiled.
8743 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
8744 (integral_args): Add rs6000-*-* xfail for
8745 "run to call0a" if not compiled with gcc.
8746 (unsigned_integral_args): Add rs6000-*-* xfail for
8747 "run to call1a" if not compiled with gcc.
8748 (float_and_integral_args): Add rs6000-*-* xfail for
8749 "run to call2a" if not compiled with gcc and for
8750 "continue to call2b" for any compiler.
8751 Add rs6000-*-* xfail to
8752 "print f1 after run to call2a" for gcc compiled.
8753 (discard_and_shuffle): Add rs6000-*-* xfail for
8754 "run to call6a".
8755 (shuffle_round_robin): Add rs6000-*-* xfail for
8756 "backtrace from call7a" if not compiled with gcc.
8757 Add rs6000-*-* xfail for
8758 "backtrace from call7b" if compiled with gcc.
8759 (call_after_alloca): Add rs6000-*-* xfail for
8760 "print c in call_after_alloca" and
8761 "print s in call_after_alloca" and
8762 "backtrace from call_after_alloca_subr"
8763 if not compiled with gcc.
8764 (localvars_in_indirect_call): Add rs6000-*-* xfail for
8765 "print c in localvars_in_indirect_call" and
8766 "print c in localvars_in_indirect_call" and
8767 "backtrace in indirectly called function" and
8768 "stepping into indirectly called function"
8769 if not compiled with gcc.
8770 (localvars_after_alloca): Add rs6000-*-* xfail for
8771 "print c after runto localvars_after_alloca" and
8772 "print s after runto localvars_after_alloca" and
8773 "print i after runto localvars_after_alloca" and
8774 "print l after runto localvars_after_alloca"
8775 for all compilers.
8776 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
8777 than whatis-info.exp.
8778 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
8779 than opaque-info.exp.
8780 Setup rs6000-*-* xfail for
d63a86f8 8781 "ptype on opaque struct pointer (statically)" and
c906108c
SS
8782 "ptype on opaque struct pointer (dynamically)" when
8783 not compiled with gcc.
8784 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
8785 rather than callf-info.exp.
8786 (do_function_calls): Add clear_xfail for rs6000-*-* for
8787 "p t_float_values2(3.14159,float_val2)". Seems to work
8788 fine there, both with xlc and gcc. Need to find out what
8789 it is doing right and fix other platforms.
8790 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
8791 "call inferior func with struct - returns int",
8792 "call inferior func with struct - returns long",
8793 "call inferior func with struct - returns float",
8794 "call inferior func with struct - returns double",
8795 "call inferior func with struct - returns char *",
8796 but only if not gcc compiled (presumes xlc compiled).
8797 Change rs6000-*-* xfails for
8798 "call inferior func with struct - returns char" and
8799 " call inferior func with struct - returns short" to only
8800 xfail if not using gcc.
8801 (clean mostlyclean): Remove *.ci and *.tmp files.
8802 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
8803 than templ-info.exp.
8804 * gdb.base/langs.exp: Source gdb.base/langs.ci.
8805 Add rs6000-*-* xfail for "up to foo in langs.exp"
8806 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
8807 when not gcc compiled.
d63a86f8 8808
c906108c
SS
8809Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
8810
8811 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
8812 * gdb.base/corefile.exp: Likewise.
8813 * gdb.base/list.exp: Likewise.
8814 * gdb.base/scope.exp: Likewise.
8815 * gdb.base/siganls.exp: Likewise.
8816
8817 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
8818 compiler output.
8819 * gdb.base/whatis.exp: Likewise.
8820
8821Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
8822
8823 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
8824 failure (opcode table has been fixed to match reality).
8825
8826Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
8827
8828 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
8829 "call inferior func with struct - returns char",
8830 "call inferior func with struct - returns short"
8831
8832 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
8833 "print 'scope0.c'::filelocal at main",
8834 "print 'scope0.c'::filelocal_bss in test_at_main",
8835 "print 'scope0.c'::filelocal at foo",
8836 "print 'scope0.c'::filelocal_bss in test_at_foo",
8837 "print 'scope0.c'::filelocal at bar",
8838 "print 'scope0.c'::filelocal_bss in test_at_bar"
d63a86f8 8839
c906108c
SS
8840 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
8841 in source file 1". This bug seems to have been fixed with both
8842 gcc and native cc (was native assembler bug?).
8843
8844Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
8845
8846 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
8847 "backtrace through signal handler" to "i*86-*-sysv4*".
8848 * gdb.base/signals.exp: Add xfail for "'next' behaved as
8849 continue" case. Add "known SVR4 bug" to fail message.
8850 Add "i*86-*-bsdi2.0" xfail for "handle all print".
8851 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
8852 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
8853 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
8854 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
8855 "up to foo in langs.exp", "show language at foo in
8856 langs.exp", "up to cppsub_ in langs.exp", "show
8857 language at cppsub_ in langs.exp", "up to fsub in
8858 langs.exp", and "show language at fsub in langs.exp".
8859 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
8860 "bactrace in corefile.exp".
8861 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
8862 "call inferior function with struct - returns float" and
8863 "call inferior function with struct - returns double".
d63a86f8 8864
c906108c
SS
8865Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
8866
8867 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
8868 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
8869 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
8870 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
8871
8872Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
8873
8874 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
8875 (or overriden) "CHILL" macro rather then bare "gcc".
8876 Also look for ../../gcc/xgcc since that is what we will
8877 actually need, not "Makefile". Remove following assignment
8878 of CHILL to CHILL_FOR_TARGET because that results in
8879 recursive definition.
8880
8881Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
8882
8883 * gdb.base/corefile.exp: Change xfail for backtrace in
8884 corefile.exp from linuxaout to all linux.
8885 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
8886 cases where we miss the breakpoint at the signal handler
8887 for some reason. Setup xfail for linuxoldld/linuxaout and
8888 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
8889 hitting SIGURG breakpoint.
8890 * gdb.base/signals.exp: Setup xfail for "next" acting like
8891 continue to add linuxoldld. Setup xfail for all linux for
8892 "next to handler in signals_tests_1", "backtrace in
8893 signals_tests_1", "continue to func1", "pass SIGUSR1",
8894 and continue to handler".
8895
8896Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
8897
8898 * Update all FSF addresses except those in COPYING* files.
8899
8900Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
8901
8902 * gdb.base/a2-run.exp: Change messages to be more explicit about
8903 the status of args, and quote binfile in results.
8904
8905Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
8906
8907 * gdb.base/callfuncs.exp: Add tests for passing structs to
8908 inferior functions and return various types.
8909 * gdb.base/callfuncs.c: Add functions to receive a struct
8910 and return a member of the struct, in various types.
8911
8912Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8913
8914 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
8915
8916Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
8917
8918 * config/vxworks29k.exp: New file, sources vxworks.exp.
8919
8920Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
8921
8922 * config/gdbremote.exp: New file. Testing framework using
8923 gdbserver.
8924
8925Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
8926
8927 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
8928 "call function when asleep" and "send end of file".
8929 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
8930 for "backtrace in corefile.exp".
8931 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
8932 for "backtrace through signal handler".
8933 * gdb.base/corefile.exp: Make sure we actually generate a core file
8934 before trying the core tests. Some systems allow the user to suppress
8935 generation of core files and default to that (linux for example).
8936 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
8937 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
8938
8939Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
8940
8941 * gdb.threads: New directory with some crude multi-threaded
8942 gdb tests (step.exp and step2.exp).
8943 * config/mt-lynx (STEP_EXECUTABLE): Define.
8944 (THREADFLAGS): Define.
8945
8946Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
8947
8948 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
8949
8950 * gdb.base/signals.exp: Disable whole file for lynx until
8951 further notice.
8952
8953 * gdb.base/signals.exp: xfail test where "next" acts like
8954 "continue" for lynx.
8955
8956 * gdb.base/interrupt.exp: xfail test for calling function while
8957 inferior is asleep for lynx.
8958
8959 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
8960 than one cr-lf after each command.
8961
8962Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8963
8964 * configure.in: Reinstate setting of stabsdirs variable, fix
8965 typo in setting up configdirs for native builds.
8966
8967 * gdb.base/return.exp: Fix typo in return double test.
8968 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
8969 compiler from optimizing them away.
8970
8971Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
8972
8973 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
8974 sequences to be echo'd by gdb when using gdb_test.
8975 * gdb.chill/chexp.exp: Likewise.
8976 * gdb.fortran/exprs.exp: Likewise
8977
8978Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
8979
8980 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
8981 after the inferior gdb has started.
8982
8983 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
8984 after each command.
8985 * gdb.base/funcargs.exp: Likewise.
8986 * gdb.base/gdbvars.exp: Likewise.
8987 * gdb.base/interrupt.exp: Likewise.
8988 * gdb.base/list.exp: Likewise.
8989 * gdb.base/watchpoint.exp: Likewise.
8990 * gdb.c++/demangle.exp: Likewise.
8991 * gdb.c++/inherit.exp: Likewise.
8992 * gdb.chill/chexp.exp: Likewise.
8993 * gdb.fortran/exprs.exp: Likewise.
8994
8995 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
8996 test if we can't handle IO to/from the inferior.
8997
8998 * gdb.c++/misc.exp: Always check for a program already being
8999 started after sending a "run" command to gdb.
9000
9001 * gdb.base/twice.exp: Start with a fresh gdb.
9002
9003 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
9004 only depend on gdb's expression code, not the chill runtime.
9005
9006 * gdb.base/return.c: Put return values into variables so we
9007 can have gdb print them rather than depending on the program
9008 to print them.
9009 * gdb.base/return.exp: Corresponding changes.
9010
9011 * lib/gdb.exp: Provide default value for noinferiorio.
9012 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
9013 the inferior.
9014
9015 * gdb.base/break.exp: Always check for a program already being
9016 started after sending a "run" command to gdb.
9017 (text_next_with_recursion): Don't check the output from the
9018 program's printf statement. Instead just make sure the program
9019 exited.
9020
9021 * gdb.base/commands.exp: Protect tests which need arguments with
9022 $noargs conditionals.
9023
9024Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9025
9026 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
9027 of structure member arrays to match gdb/valops.c:value_addr change.
9028
9029Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
9030
9031 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
9032 cases.
9033
9034Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
9035
9036 * configure.in (configdirs): Remove gdb.chill from default list
9037 of subdirs and then add it back in only if doing a native build.
9038 The current chill compiler does not yet work in any cross build.
9039 * Revert all signal changes from Jul 6.
9040 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
9041 for sh-hms targets, allowing these tests to link, with no other
9042 changes. Testing is suppressed by setting "nosignals" in site.exp.
9043
9044Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
9045
9046 * configure.in (signaldirs): Define and add to configdirs for all
9047 targets except some specific ones that are known to not support signals.
9048 Also clean up formatting.
9049 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
9050 (signals, sigall): Remove rules to build.
9051 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
9052 Moved to new gdb.signals directory.
9053 * gdb.signals: New test directory.
9054 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
9055 signals.c signals.exp}: New or moved files.
9056
9057Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
9058
9059 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
9060
9061Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
9062
9063 * gdb.base/return.exp: Xfail `return double' test failure
9064 on at least Solaris 2.3 and handle future/past versions on
9065 a case by case basis as appropriate. Also update message
9066 to include i*86 failures.
9067
9068Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9069
9070 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
9071
9072 * lib/gdb.exp: Fix comment which erroneously identified
9073 gdb_file_cmd as gdb_load (the 19 May change was in fact to
9074 gdb_file_cmd not gdb_load).
9075 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
9076
9077 * gdb.base/setvar.exp: Make test names consistent between pass and
9078 fail cases. Use gdb_test more.
9079
9080Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9081
9082 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
9083
9084Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9085
9086 * gdb.base/help.exp: Fix expected help string for `show commands'.
9087
9088Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
9089
9090 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
9091
9092 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
9093 of a text section.
9094
9095Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
9096
9097 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
9098 that loop eventually terminates. Fix Connection refused logic so
9099 that testsuite will expire nicely.
9100
9101Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
9102
9103 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
9104 config/rom68k.exp: New tcl glue for the appropriate monitors.
9105 These all just end up calling monitor.exp.
9106 * config/monitor.exp (gdb_target_monitor): Handle `Connection
9107 refused' by retrying. Cleanup some timeout issues.
9108 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
9109 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
9110 callers don't have to set/restore global timeout variable.
9111
9112 * The following set of changes centralizes management of the global
9113 timeout variable. This way, it can be set in one target dependent
9114 place instead of dozens of places scattered throughout the test suite.
9115 If you need to lengthen a timeout, then you should either set timeout
9116 in one of the config/{target}.exp files, or multiply it by a factor.
9117 Setting it to an absolute value is always going to lose for some
9118 targets.
9119 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
9120 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
9121 * gdb.base/funcargs.exp: Don't set timeout.
9122 * gdb.base/list.exp (test_forward_search): Only use local timeout.
9123 * gdb.base/printcmds.exp (test_print_string_constants
9124 test_print_array_constants): Don't set timeout.
9125 * gdb.base/ptype.exp: Don't set timeout.
9126 * gdb.base/recurse.exp: Don't set timeout.
9127 * gdb.base/return.exp: Don't set timeout.
9128 * gdb.base/watchpoint.exp: Don't set timeout.
9129 * gdb.c++/classes.exp (do_tests): Don't set timeout.
9130 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
9131
9132Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
9133
9134 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
9135
9136Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9137
9138 * lib/gdb.exp: Disable chill tests for irix5.
9139
9140Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9141
9142 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
9143 each test pass or fail.
9144
9145Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9146
9147 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
9148 xlc not gcc.
9149
9150Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
9151
9152 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
9153
9154Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
9155
9156 * config/est.exp: Fix copyright and comments. Remove dead code.
9157 Use targetname, serialport and baud variables instead of fixed
9158 constants.
9159 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
9160 * config/cpu32bug.exp: New file to support cpu32bug monitors.
9161
9162Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9163
9164 * gdb.base/watchpoint.exp: Don't run
9165 test_watchpoint_triggered_in_syscall for sunos.
9166
9167Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9168
9169 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
9170 they don't seem to exist. Do include stdio.h.
9171
9172Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9173
9174 * gdb.base/a1-selftest.exp: Add alpha xfail.
9175
9176Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9177
9178 * gdb.base/watchpoint.c (main): Prompt before calling read().
9179 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
9180 Revise accordingly. Remove cruft about sending "123" several
9181 times, until it gets noticed. Clean up the "print buf[0]" stuff
9182 so that it passes or fails, and waits for prompts in the usual way.
9183
9184Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9185
9186 * gdb.base/recurse.exp: Fix comment.
9187
9188 * TODO: Remove item about printing variables in nodebug.exp. Add
9189 item about enabling tests which are only run on some targets.
9190
9191 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
9192 fail, make test names unique, use new gdb_test convention
9193 regarding pattern, use gdb_test more, etc.).
9194
9195 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
9196 fail, make test names unique, etc.).
9197
9198Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9199
9200 * gdb.base/nodebug.c: Change return type of top and middle to
9201 short.
9202 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
9203 are fixed by the recent mdebugread.c changes. Allow `short ()'
9204 as type for top and middle.
9205
9206Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9207
9208 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
9209 nearly as I can tell, the whole thing was an accident in Stu's
9210 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
9211 to replace a send/expect pair with gdb_test, but ended up only
9212 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
9213 of 30 Mar 1995 took care of it, but left this vestigial comment
9214 which I am now nuking.
9215
9216Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9217
9218 * gdb.base/break.exp: Look for different line number for
9219 breakpoint at main depending on usestubs.
9220
9221Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9222
9223 * gdb.base/list.exp: Adjust some alternate expect patterns to
9224 match recent list0.c change. Add alternate expect pattern for
9225 output from `list default lines around main' for optimizing
9226 compilers.
9227
9228Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9229
9230 * lib/gdb.exp: If nosignals is not set, set it to 0.
9231
9232Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
9233
9234 * config/slite-gdb.exp: Responds to load symbol table prompt.
9235 * gdb.base/break.exp: Adjust line number, fix rerun.
9236 * gdb.base/langs0.c: Add #ifdef usestubs.
9237
9238Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
9239
9240 * gdb.base/list.exp: Adjust line contents after adding new lines in
9241 list0.c. Also fix a syntax error.
9242
9243 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
9244 * gdb.base/break.exp: ditto.
9245 * gdb.base/list.exp: ditto.
9246 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
9247 * gdb.base/run.c: ditto.
9248 * gdb.base/list0.c: ditto.
9249 * gdb.base/funcargs.c: ditto.
9250
9251Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
9252
9253 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
9254 $targetname, $serialport and $baud instead of hardwired variables.
9255 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
9256 target doesn't support signals.
9257
9258Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
9259
9260 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
9261
9262Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9263
9264 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
9265 Don't rely on the value of an auto variable before it has been
9266 initialized. Use gdb_test more.
9267
9268Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9269
9270 * lib/gdb.exp (default_gdb_version): A version number must start
9271 with a digit, but other than that contains all characters up to
9272 the first whitespace character.
9273
9274Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9275
9276 * gdb.base/commands.exp (breakpoint_command_test): New tests.
9277
9278Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9279
9280 * gdb.c++/*.exp: Warn if executable does not exist. The original
9281 reason for skipping the warning was that configure.in sometimes
9282 intentionally skipped building the executables but the tcl code
9283 had no way of knowing. That (a) was always bogus with respect to
9284 error handling, (b) is no longer true (right now there is no way
9285 to skip C++ tests).
9286
9287 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
9288
9289Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9290
9291 * gdb.base/list.exp: Add expect patterns for output from
9292 SunPRO compiled executables.
9293 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
9294 types.
9295
9296Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9297
9298 * gdb.base/break.exp (test_next_with_recursion): Accept any line
9299 number (we are already testing that the correct source line text
9300 gets printed).
9301
9302 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
9303 that is what is intended, but something needed to be done to get
9304 sunos4 native working again.
9305
9306 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
9307
9308 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
9309 apparently went with a (very) old xfail.
9310
9311Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
9312
9313 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
9314 runto_main is a proc in gdb.exp that will do 'step' for target use
9315 stubs.
9316 * gdb.base/exprs.exp: ditto.
9317 * gdb.base/interrupt.exp: ditto.
9318 * gdb.base/opaque.exp: ditto.
9319 * gdb.base/printcmds.exp: ditto.
9320 * gdb.base/ptype.exp: ditto.
9321 * gdb.base/scope.exp: ditto.
9322 * gdb.base/setvar.exp: ditto.
9323 * gdb.base/signals.exp: ditto.
9324 * gdb.base/twice.exp: ditto.
9325 * gdb.c++/classes.exp: ditto.
9326 * gdb.c++/inherit.exp: ditto.
9327 * gdb.c++/templates.exp: ditto.
9328 * gdb.base/break.exp: no run and hit main for stubs. Change line
9329 numbers for breakpoints and info breakpoint.
9330 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
9331 breakpoint().
9332 * gdb.base/callfuncs.c: ditto.
9333 * gdb.base/exprs: ditto.
9334 * gdb.base/interrupt.c: ditto.
9335 * gdb.base/opaque0.c: ditto.
9336 * gdb.base/printcmds.c: ditto.
9337 * gdb.base/ptype.c: ditto.
9338 * gdb.base/scope0.c: ditto.
9339 * gdb.base/setvar.c: ditto.
9340 * gdb.base/signals.c: ditto.
9341 * gdb.base/twice.c: ditto.
9342 * gdb.c++/misc.cc: ditto.
9343 * gdb.c++/templates.cc: ditto.
9344
9345Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9346
9347 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
9348
9349 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
9350 somewhere between `read' and `main.c'. I'm pretty sure the
9351 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
9352 and it isn't particularly useful.
9353
9354 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
9355
9356Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9357
9358 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
9359
9360Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
9361
9362 * config/mt-slite: add LIBS and -nostdlib.
9363 * config/slite-gdb.exp: add this new file to support sparclite target.
9364
9365Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
9366
9367 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
9368
9369 * gdb.base/a2-run.exp: Change argument to istarget from
9370 "*-*-vxworks" to "*-*-vxworks*".
9371 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
9372
9373Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
9374
9375 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
9376 will not runto main but do a 'step' to step out of breakpoint().
9377 * config/mt-slite: add -Dusestubs.
9378
9379Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9380
9381 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
9382 instead of just @.
9383
9384 * gdb.base/signals.exp: Add test for "handle all print".
9385 * TODO: Remove "handle all print". Also remove item about
9386 checking copyright date (I don't like the idea of a spurious FAIL
9387 based on when we run the tests).
9388
9389 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
9390 for SunOS4 (reason for failure not investigated). Remove
9391 redundant test for $binfile.
9392
9393 * gdb.base/nodebug.c (array_index): Call malloc.
9394
9395 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
9396
9397Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
9398
9399 * gdb.base/recurse.exp: Update gdb_test invocation to use new
9400 conventions and slightly simplify the matching regexp.
9401
9402Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9403
9404 * gdb.base/break.exp: Update gdb_test invocation to use new
9405 convention.
9406
9407 * lib/gdb.exp: If noargs is not set, set it to 0.
9408
9409 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
9410 tests unique.
9411
9412 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
9413
9414Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9415
9416 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
9417 one argument of type "<non-float parameter>".
9418
9419Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
9420
9421 * config/rom68k.exp: New file to support Motorola IDP board.
9422 * gdb.base/a2-run.exp: Skip this file if noargs is set.
9423 * gdb.base/break.c: Change things around so that this program
9424 doesn't depend upon args. This is necessary to make remote
9425 targets work (in general, they can't take args).
9426 * gdb.base/break.exp: Don't try to send args to program. Don't
9427 expect output. Also, replace lots of code with gdb_test.
9428
9429Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9430
9431 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
9432 printing of '\'' (which is what the comment says we are testing,
9433 even though we were not), not '''.
9434 (test_integer_literals_rejected): Test that printing ''' is an error.
9435
9436 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
9437 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
9438 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
9439 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
9440 Use gdb_test not test_print_accept.
9441 * lib/gdb.exp: Remove test_print_accept.
9442
9443 * gdb.base/signals.exp (signal_tests_1): Make pass message
9444 consistent with fail message.
9445
9446 * gdb.base/whatis.exp: Remove xfails for printing char vs.
9447 unsigned char; the bug (PR 1821) is fixed.
9448
9449 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
9450
9451 * gdb.base/scope.exp (test_at_localscopes): Call pass for
9452 successful tests--makes xfailing them work right.
9453
9454Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9455
9456 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
9457 only \r\n, not .*. The test can pass .* as the last thing in
9458 $pattern if that is what it wants. In addition to providing this
9459 flexibility, this change should speed up pattern matching in cases
9460 where the pattern already ended with .* (there were a number of
9461 them). This change also helps catch bad patterns--in the old
9462 scheme the typo "char \*" instead of "char \\*" would pass. Now
9463 it is caught.
9464 * Many .exp files: Update callers.
9465
9466 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
9467 clearer and does not spuriously match multiple ('s. Likewise for
9468 ) and *.
9469
9470 * gdb.base/nodebug.exp: Test ability to call a function and pass
9471 it a string (even with no debugging info).
9472
9473 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
9474 "p '\'", which is the same as "p ''" once tcl gets done with
9475 quoting, to "p '\\'", which I suspect is what is intended (one
9476 backslash gets sent to GDB).
9477
9478 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
9479
9480Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9481
9482 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
9483 1817) was fixed literally years ago.
9484
9485Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9486
9487 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
9488 test, it causes stepping out of call_after_alloca_subr with
9489 optimizing compilers.
9490 (localvars_in_indirect_call): Consume GDB prompt if `finish'
9491 fails.
9492
9493 * gdb.c++/templates.exp: Source templ-info.exp only if
9494 the templates executable exists.
9495
9496 * gdb.c++/misc.cc (class Contains_static_instance,
9497 class Contains_nested_static_instance),
9498 gdb.c++/classes.exp (test_static_members): Test printing of
9499 a class that contains a static instance of the class.
9500
9501Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9502
9503 * gdb.base/langs2.c (cppsub_): Don't prototype.
9504 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
9505 only, I believe).
9506
9507Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9508
9509 * lib/gdb.exp (skip_chill_tests): New procedure.
9510
9511 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
9512
9513Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
9514
9515 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
9516 each expect pattern. Cuts runtime from 12 to about 4 seconds.
9517
9518Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9519
9520 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
9521
9522 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
9523 disassemble 8, not 16, instructions for part 4.
9524
9525 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
9526 support the latter anymore.
9527
9528 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
9529 -DNO_PROTOTYPES.
9530 * gdb.base/callfuncs.c: Control use of prototypes based on
9531 NO_PROTOTYPES, not __STDC__.
9532 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
9533 t_float_values2 tests if prototypes in use.
9534
9535 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
9536 t_double_values): When checking differences against DELTA, check
9537 that difference is within the range (-DELTA,DELTA), not just
9538 (-infinity,DELTA).
9539
9540Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
9541
9542 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
9543 'file' command firts, then 'target', then 'load', this is due to gdb
9544 target set up.
9545 * config/mips-gdb.exp: Fix a couple regular exp bugs.
9546
9547Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
9548
9549 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
9550 FP load/store variants.
9551 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
9552
9553Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
9554
9555 * gdb.base/term.exp: Do not give a warning if not native, it is
9556 not an abnormal condition.
9557
9558Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
9559
9560 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
9561 t_char_array".
9562
9563Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
9564
9565 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
9566 are getting the version number.
9567
9568 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
9569 if not native, it is not an abnormal condition.
9570
9571Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9572
9573 * lib/gdb.exp: Just use "file exists", rather than undocumented
9574 dejagnu procedure "findfile".
9575
9576Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
9577
9578 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
9579 (LDFLAGS): Set to -Xlinker -Ur.
9580
9581 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
9582 Removed, these values are set by lib/gdb.exp.
9583
9584 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
9585
9586Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
9587
9588 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
9589 of replicating gdb startup code.
9590
9591 * config/mt-vxworks (LDFLAGS): Set to -r.
9592 (CFLAGS_FOR_TARGET): Removed.
9593
9594 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
9595 (gdb) and gdb for vxworks uses (vxgdb).
9596
9597 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
9598 executable is not in the tree and host != target, use sed and
9599 program_transform_name to determine the gdb name used by the
9600 target.
9601
9602 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
9603 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
9604
9605Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9606
9607 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
9608 floats, chars, and shorts where there are ANSI-style function
9609 definitions.
9610
9611 * gdb.base/langs.exp, gdb.base/langs*: New test.
9612 * gdb.base/Makefile.in: Build it.
9613 * TODO: Remove item about checking that C names don't get C++
9614 demangling applied; this test tests it.
9615
9616Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9617
9618 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
9619 went with the const70 xfail. The xfail went away a year ago.
9620
9621 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
9622
9623 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
9624 for hp300.
9625
9626 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
9627
9628 * gdb.base/a1-selftest.exp: Don't run on hp300.
9629
9630Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9631
9632 * Makefile.in (site.exp): Set host_alias and target_alias as well
9633 as host_triplet and target_triplet.
9634
9635Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9636
9637 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
9638
9639 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
9640 places as other ecoff systems).
9641
9642 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
9643 ultrix.
9644
9645Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9646
9647 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
9648 remove them.
9649 * gdb.base/nodebug.exp: Accept "function" in addition to "text
9650 variable and "variable" in addition to "data variable".
9651 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
9652
9653 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
9654 2.
9655 * gdb.base/list1.c (long_line): Add additional statement at start
9656 of function.
9657 * gdb.base/list.exp (test_forward_search): Update line number to
9658 reflect new statement.
9659
9660Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9661
9662 * gdb.base/signals.exp: Reinitialize searched source directories
9663 after gdb_start call.
9664
9665Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
9666
9667 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
9668 * gdb.stabs/Makefile.in: Likewise.
9669
9670 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
9671 change. Instead split the tests into smaller pieces.
9672 * gdb.disasm/hppa.s: Corresponding changes.
9673
9674Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9675
9676 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
9677 Quote ^C when passing it to stty. For some shells ^ is a pipe.
9678
9679 * gdb.base/funcargs.exp: Modify many tests so that every test
9680 either passes or fails. Make some test names unique.
9681
9682Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9683
9684 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
9685 Call stty to set interrupt character.
9686
9687 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
9688 for HP assembler versus GNU assembler based on actual behavior of
9689 $(CC), rather than assuming that $(AS) is always the GNU assembler.
9690
9691 * TODO: Suggest a few more stepping tests.
9692
9693Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
9694
9695 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
9696 restart GDB for h8300 after a continue.
9697 (return): Add pattern to match a29k-udi behavior.
9698 * gdb.base/nodebug.exp: Remove obsolete comment.
9699 * gdb.base/regs.exp: New file, testing of register displays.
9700 * gdb.base/return.exp: Fix typo in reference to $objdir.
9701 * gdb.base/whatis.exp: Always start with a fresh GDB.
9702
9703Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9704
9705 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
9706 higher, these tests generate a lot of output.
9707
9708Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9709
9710 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
9711 code following the catch silently ignored some errors; without the
9712 catch they should be thrown like any other tcl error. Also, the
9713 catch used "" instead of {} which meant all the callers who wanted
9714 to include one of the characters "[]$ had to quote it an extra time.
9715 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
9716 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
9717 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
9718 Remove extra quoting.
9719
9720Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
9721
9722 * gdb.base/commands.exp: Make test names unique; every test either
9723 passes or fails. Update some comments.
9724
9725 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
9726
9727Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9728
9729 The following fixes a FAIL caused by the fact that the alpha stabs
9730 configuration didn't use the ".if alpha" code in weird.def.
9731 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
9732 bit pointer, so the 32 bit version works even on the alpha.
9733 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
9734 Remove the stuff which allowed us to have separate versions for
9735 alpha and everything else.
9736
9737 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
9738 regexp which "info func operator\[\](" is supposed to match. Fix
9739 string to send to GDB. Note that GDB still doesn't work right. Add a
9740 new test for "info func .perator\[\](" which GDB does handle correctly.
9741
9742 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
9743
9744Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9745
9746 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
9747 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
9748 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
9749 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
9750 it makes the tests harder to understand and confuses test-o-matic.
9751 The preferred style is that each test provides a PASS or a FAIL,
9752 and has a unique message (e.g. "continue #54" not just "continue")
9753 which is the same for the pass and the fail.
9754 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
9755 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
9756 to lib/gdb.exp.
9757 * gdb.base/printcmds.exp: Use test_print_accept. Remove
9758 prt_accept which was basically the same thing. Likewise for
9759 test_print_reject and prt_reject.
9760 * lib/gdb.exp (test_print_reject): Add some more error message
9761 patterns to match from the former printcmds.exp (prt_reject).
9762 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
9763 One defect of the passcount stuff is that some of it failed to
9764 report XPASS where appropriate.
9765 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
9766 stuff before and after arg in expected pattern.
9767 (test_paddr_operator_functions): Re-do test without print_addr_of;
9768 this is the only test which seems to want extra stuff there.
9769
9770Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9771
9772 * gdb.base/nodebug.exp: Update new tests to reflect improved
9773 wording of gdb output.
9774
9775 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
9776 and "ptype" work on variables in files compiled without -g.
9777 Replaces commented out "maint print msymbol" tests.
9778
9779Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9780
9781 * gdb.base/setvar.c (dummy): Call malloc.
9782
9783 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
9784 losing with the irix4 sed.
9785
9786 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
9787 ALRM" on irix4.
9788
9789Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9790
9791 * TODO: Remove items about corefile.exp testing new exec-file and
9792 backtrace; both are now done. Add items about printing enums.
9793
9794Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9795
9796 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
9797 "get signal $thissig" test fails.
9798
9799 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
9800
9801Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9802
9803 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
9804 compiler warning with dec alpha compiler.
9805
9806 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
9807 extra \n from gdb_test call (this explains why the prompt test
9808 that I removed yesterday was there).
9809 (user_defined_command_test): Remove extra \n and prompt test.
9810
9811 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
9812 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
9813 doesn't exist.
9814 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
9815 Also remove alpha workaround, which turns out to be because
9816 SIGABRT == SIGLOST.
9817
9818 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
9819
9820 * gdb.base/help.exp: Don't test "help show".
9821
9822Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9823
9824 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
9825 "set print address" is on.
9826 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
9827 pass prompt to gdb_test; gdb_test already looks for the prompt.
9828
9829 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
9830
9831 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
9832 was a vestige of the manual TESTSTRATEGY, and the purpose of it
9833 was to make sure that gdb can read a core file. But (a) the "read
9834 the corefile" part didn't make it to a1-selftest.exp, we just
9835 delete the corefile after creating it, and (b) we test reading
9836 corefiles in corefile.exp anyway. Also, this test left around a
9837 xgdb process on Solaris.
9838
9839 * gdb.base/corefile.exp: Also test backtrace.
9840
9841Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
9842
9843 * gdb.base/commands.exp: Test a simple user defined command with
9844 arguments and if/while statements; verify the full user command is
9845 printed by "show user".
9846
9847 * gdb.base/commands.exp: Test if/while commands as part of a
9848 breakpoint command list; verify they appear in breakpoint
9849 information.
9850
9851Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9852
9853 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
9854 than by dividing by zero.
9855
9856Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
9857
9858 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
9859 performing an inferior call with watchpoints enabled.
9860 * gdb.base/watchpoint.c (main): Delete second unnecessary read
9861 call.
9862
9863Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9864
9865 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
9866 of "file" command.
9867
9868 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
9869 Add additional pattern for when "int operator int(void);" appears
9870 in a different order.
9871
9872Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9873
9874 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
9875
9876 * gdb.base/help.exp: Replace most of docstrings for "info signals"
9877 and "signal" with ".*".
9878
9879Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9880
9881 * TODO: Add note about "handle all nostop".
9882
9883 * gdb.base/{sigall.c, sigall.exp}: New test.
9884 * gdb.base/Makefile.in: Add it.
9885
9886Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
9887
9888 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
9889 when invoking GDB, suppresses any windowing interface.
9890
9891Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
9892
9893 * config/sim-gdb: New file, simulator testing support.
9894
9895Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
9896
9897 * gdb.base/interrupt.exp: Test calling func1 twice.
9898
9899Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
9900
9901 * gdb.base/list.exp (test_forward_search): Set timeout higher
9902 when we'll be getting lots of output from gdb.
9903
9904 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
9905 "init_malloc" to after the expect statement. Run it if that
9906 regexp is taken, but also for two others which happen if source
9907 cannot be found.
9908
9909Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9910
9911 * gdb.base/printcmds.exp: New test, for printing register before
9912 program is running.
9913
9914Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9915
9916 * gdb.base/list.exp: Correct some alternate expect patterns
9917 to reflect changes in list1.c.
9918
9919Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9920
9921 * TODO: Add item regarding large frames.
9922
9923 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
9924
9925 * TODO: Remove item about enabling return.exp; it
9926 is enabled. Suggest a few more "return" tests.
9927
9928Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9929
9930 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
9931 anonymous unions.
9932
9933Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9934
9935 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
9936 and pr-5646.o, so "make" is the same as "make all", not "make
9937 pr-4975.o".
9938
9939Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
9940
9941 * gdb.base/list.exp: Adjust expectations to reflect changes in
9942 list1.c.
9943 (test_forward_search): New test proc.
9944 * gdb.base/list1.c (long_line): New function, has long source line.
9945
9946Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
9947
9948 * gdb.base/a1-selftest.exp: Change initial stepping to know about
9949 additional line of code that was added.
9950
9951Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
9952
9953 * gdb.disasm/hppa.s: Break the large branching tests into smaller
9954 tests so as not to overflow expect's input buffers.
9955 * gdb.disasm/hppa.exp: Corresponding changes.
9956
9957Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9958
9959 Beginnings of template debugging tests.
9960 * gdb.c++/templ-info.cc: New file to test for template
9961 debugging capability of the compiler.
9962 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
9963 templ-info.cc.
9964 * gdb.c++/templates.cc: Add explicit template instantiations
9965 to enable compiling with -fno-implicit-templates. Add destructor
9966 and 'value' method to T5 class for template tests.
9967 * gdb.c++/templates.exp: Add testcases for printing of template
9968 types, setting breakpoints on template methods and calling a
d63a86f8 9969 template method.
c906108c
SS
9970
9971Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
9972
9973 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
9974 branch target since some assemblers (gas-2.5) may emit a
9975 relocation for the branch instead of resolving it in the
9976 assembler.
9977
9978Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9979
9980 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
9981 through signal handler.
9982
9983Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9984
9985 * configure.in (*-*-netware): Use config/mt-netware.
9986
9987 * config/mt-netware: New file.
9988 * config/mt-i386-netware: Removed, separate configs for different
9989 netware architectures are no longer needed now that we have
9990 --with-headers.
9991
9992Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9993
9994 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
9995 by the recent changes to use ANSI C arithmetic conversions.
9996
9997Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9998
9999 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
10000 bug involving using inferior_pid to figure out whether to select a
10001 frame.
10002
10003Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
10004
10005 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
10006 match the current disassembler output.
10007
10008Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
10009
10010 * gdb.fortran/exprs.exp: Expect VOID instead of void.
10011 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
10012 types, expect "int" as type of integer values (for now).
10013
10014Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
10015
10016 * gdb.base/commands.exp: New tests for if/while commands.
10017
10018Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
10019
10020 * lib/gdb.exp (runto): Replace sub-pattern for hex value
10021 by .*, since hex values have different syntax in Chill mode.
10022
10023Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10024
10025 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
10026 linefeed from expect pattern for repeated types with indices > 9.
10027
10028Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
10029
10030 First part of Fortran test suite.
10031 * gdb.fortran: New directory.
10032 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
10033
10034Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10035
10036 * gdb.base/default.exp: Update expect pattern for load command
10037 without arguments.
10038
10039Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
10040
10041 * configure.in: Change i386 to i[345]86.
10042 * gdb.base/configure.in: Likewise.
10043 * gdb.c++/configure.in: Likewise.
10044 * gdb.chill/configure.in: Likewise.
10045
10046Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
10047
10048 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
10049 patterns, since that is not a valid context for comments.
10050
10051Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
10052
10053 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
10054 repeated types and repeated types with indices > 9.
10055
10056Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
10057
10058 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
10059 2417; old bug has been fixed.
10060
10061Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
10062
10063 * gdb.base/interrupt.exp: When trying to wake up the inferior,
10064 send the newline ourselves instead of assuming gdb_test will do
10065 so when passed an empty input string.
10066
10067 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
10068 stabs testcode.
10069
10070Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
10071
10072 * lib/gdb.exp (gdb_test): Don't send anything if the first
10073 argument is an empty string. This makes cases where we want to
10074 match output that is already in expect's buffers (for example,
10075 matching a breakpoint after gdb_run_cmd has been called) work
10076 reliably.
10077
10078Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
10079
10080 * config/netware.exp: New file.
10081
10082Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
10083
10084 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
10085 the -B and -L prefixes so we can find the debugging stub.
10086
10087 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
10088 there and we are using the gcc from the tree.
10089
10090 * gdb.base/types.c: Removed.
10091
10092 * gdb.base/configure.in: Look for makefile fragments in ../config.
10093 Recognize i386-*-netware.
10094 * gdb.c++/configure.in: Likewise.
10095
10096Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10097
10098 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
10099 the correct TCL syntax.
10100
10101Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
10102
10103 * gdb.base/opaque.exp: use runto instead of messing around with
10104 breakpoints. Simplify by using gdb_test.
10105
10106 * gdb.base/bitfields.exp: restart between tests on netware targets
10107 because breakpoints aren't relocated after target death. Run
10108 processes to completion.
10109
10110 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
10111
10112Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
10113
10114 * Makefile.in: Remove extra tabs that confuse some versions
10115 of "make". Use the newly built gdb to test with by default,
10116 rather than the first one in the tester's search path.
10117
10118Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
10119
10120 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
10121
10122 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
10123 condition help.
10124
10125Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
10126
10127 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
10128
10129 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
10130 running.
10131 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
10132 * gdb.base/funcargs.exp: Likewise.
10133
10134 * gdb.base/bitfields.exp: Simplify by using gdb_test.
10135 * gdb.base/funcargs.exp: Likewise.
10136
10137 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
10138 message is "".
10139
10140Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
10141
10142 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
10143 return,signals,twice}.exp: Handle non-existant binaries
10144 consistantly.
10145
10146 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
10147 * gdb.base/Makefile.in: Don't try to generate a core dump, we
10148 might testing a cross development system.
10149
10150Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
10151
10152 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
10153 runtest script is relative to ${srcdir}, not ${rootdir}.
10154
10155Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
10156
10157 * gdb.base/signals.exp: Allow for optionality of breakpoint
10158 address.
10159
10160Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10161
10162 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
10163
10164Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
10165
10166 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
10167 for size_t definition.
10168 * gdb.c++/templates.cc: Likewise
10169
10170 * config/mt-i386-netware: New file.
10171
10172 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
10173 defined.
10174
10175 * gdb.base/Makefile.in: Added support for systems that name core
10176 files by appending "core" to the program name.
10177 * gdb.base/a1-selftest.exp: Likewise.
10178
10179Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10180
10181 * gdb.base/return.exp: Add comment and message for `return double'
10182 test failure on Sparc Solaris.
10183
10184Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
10185
10186 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
10187
10188Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10189
10190 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
10191 from optimizing them away.
10192 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
10193 patterns to include default constructors and assignment operators,
10194 to match gcc versions beyond 2.5.8. Accept any cplus demangling
10195 character in the output of the virtual base pointer.
10196
10197Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10198
10199 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
10200 expression match in print_addr_of to avoid unintented matches.
10201 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
10202 versions up to 2.5.8.
10203
10204Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10205
10206 * gdb.base/list.exp: Tweak alternate pattern for listing of an
10207 included file to run under newer versions of expect.
10208 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
10209 consecutive >'s in templates to accomodate recent cplus-dem.c change.
10210 Remove xfail for the virtual table of BDDHookV.
10211
10212Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
10213
10214 * lib/gdb.exp (string_to_regexp): Set a default result.
10215 (default_gdb_start): Fix misleading message.
10216
10217Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
10218
10219 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
10220 Remove all CC, etc definitions.
10221 * config/mt-hpux: New file.
10222 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
10223 (CFLAGS, LDFLAGS): Define.
10224 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
10225
10226 * Makefile.in (site.exp): Don't insert host_os, etc.
10227 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
10228 (distclean): Check existence of subdir.
10229 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
10230 * gdb.base/Makefile.in: General cleanup and simplification.
10231 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
10232 to build executables. Use default rule to build .o files.
10233 (EXPECT, RUNTEST, CC): Fix relative pathname.
10234 (site.exp): Don't insert host_os, etc.
10235 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
10236 and/or SIGUSR1 defined.
10237 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
10238 * gdb.c++/Makefile.in: General cleanup and simplification.
10239 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
10240 (CFLAGS): Remove.
10241 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
10242
10243Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
10244
10245 * gdb.base/recurse.exp: Misc changes to get tests running again
10246 after Kung's changes to the watchpoint code.
10247 * gdb.base/watchpoint.exp: Likewise.
10248
10249Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
10250
10251 * lib/gdb.exp (string_to_regexp): Convert {\} also.
10252
10253Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
10254
10255 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
10256 * lib/gdb.exp (default_gdb_start): Define.
10257 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
10258 gdb.base/funcargs.exp, gdb.base/opaque.exp,
10259 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
10260 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
10261 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
10262 Don't call gdb_target_udi in between tests.
10263
10264Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10265
10266 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
10267 (which was basically just a local version of the same thing). In
10268 addition to avoiding duplication, gdb_test_exact is faster.
10269 * lib/gdb.exp (gdb_test_exact): Fix typo.
10270
10271 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
10272 don't give an error.
10273
10274 * gdb.base/term.exp: Call delete_breakpoints before starting.
10275
10276 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
10277 (t10): Add comment.
10278
10279Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
10280
10281 Reorganization of the GDB Test Suite.
10282
10283 * gdb.base: New directory, contains all the basic tests.
10284 * gdb.c++: New directory, tests specific to C++.
10285 * gdb.chill: New directory, tests specific to Chill.
10286 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
10287 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
10288 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
10289 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
10290 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
10291 t30-31 to chill).
10292 * */gdbme.*: Rename to match appropriate expect scripts.
10293 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
10294 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
10295 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
10296 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
10297 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
10298 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
10299 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
10300 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
10301 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
10302 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
10303 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
10304 gdb.c++/virtfunc.cc: New names of C++ files.
10305 * gdb.chill/chillvars.ch: New name of Chill file.
10306 * gdb.base/configure.in, gdb.c++/configure.in,
10307 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
10308 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
10309 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
10310 * configure.in (configdirs): Update to reflect directory changes.
10311 (target_abbrev): No longer define for any configuration.
10312 * Makefile.in: Cosmetic improvements to header comments.
10313
10314Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
10315
10316 Various changes to gdb.t31:
10317
10318 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
10319 * gdbme.ch: Make all key-words and predefineds be upper-case.
10320 * chillvars.exp: Expect key-words and predefinds in upper-case.
10321
10322 * chillvars.exp: Use gdb_test_exact many places.
10323 Change expected output for arrays (which now includes index labels).
10324
10325 * pr-5020.exp, gdme.ch (module PR_5020):
10326 New test, for PR-5020.
10327
10328Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
10329
10330 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
10331 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
10332
10333Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
10334
10335 * Makefile.in: Fix bit-rot in definitions of CHILL,
10336 CHILL_FOR_TARGET and Chill_LIB.
10337 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
10338 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
10339 CHILL, and CHILL_LIB.
10340
10341Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
10342
10343 * Revert the previous changes. Please see Rob's directory
10344 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
10345
10346Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
10347
10348 * Makefile.in, configure.in, config/mips-gdb.exp,
10349 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
10350 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
10351 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
10352 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
10353 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
10354 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
10355 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
10356 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
10357 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
10358 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
10359 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
10360 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
10361 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
10362 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
10363 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
10364 changes from 94Q1.
10365
10366Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
10367
10368 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
10369 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
10370 Rob's new testing fragments.
10371
10372Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
10373
10374 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
10375 lib/gdb.exp: Replace error proc calls with perror.
10376
10377Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
10378
10379 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
10380 version also, match on casted version strings, and match on
10381 gdb startup case where the line numbers might be messed up.
10382
10383Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
10384
10385 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
10386 (CFLAGS): Delete it from here.
10387
10388Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
10389
10390 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
10391
10392Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
10393
10394 * Makefile.in (RUNTEST): Default to just "runtest".
10395
10396Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10397
10398 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
10399 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
10400 the code has been restructured.
10401
10402Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10403
10404 * gdb.t00/default.exp (set write): Allow any number of \r and/or
10405 \n, not just one of each.
10406
10407 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
10408 /bin/cc gives a warning if you do.
10409
10410Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
10411
d63a86f8 10412 * gdb.t24/demangle.exp: change expect pattern of
c906108c
SS
10413 __t10ListS_link1ZUiRCUiPT0
10414
10415Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10416
10417 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
10418 on local variables in recursive functions.
10419
10420 * gdb.t07/Makefile.in: Build the new test.
10421
10422Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10423
10424 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
10425 directly. Instead compare the return values from actual calls.
10426
10427Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
10428
10429 * Makefile.in (check): Set TCL_LIBRARY for runtest.
10430
10431Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10432
10433 * From Peter Schauer with minor modifications.
10434 * gdb.t15/return.exp (return_tests): Handle targets where "return"
10435 stops in mid-line in the caller. Add xfail for returning a float
10436 value on X86 targets.
10437
10438Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10439
10440 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
10441 to avoid expect lossage.
10442 (fmem_LRbug_tests): Likewise.
10443 * gdb.disasm/hppa.s: Corresponding changes.
10444
10445 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
10446 conditions to work with latest dejagnu/expect.
10447
10448 * gdb.t15/funcargs.exp (finish from indirect call): No longer
10449 expected to fail on the PA.
10450 (backtrace in call with trampolines): Explicitly require main
10451 to be frame #1 (no trampolines should show up in backtrace).
10452
10453 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
10454 "continue -expect".
10455 * gdb.t06/break.exp: Likewise.
10456 * gdb.t07/watchpoint.exp: Likewise.
10457 * gdb.t13/bitfields.exp: Likewise.
10458 * gdb.t15/{funcargs,return}.exp: Likewise.
10459 * gdb.stabs/weird.exp: Likewise.
10460 * config/{mips,udi}-gdb.exp: Likewise.
10461
10462 * hppa.sed: Enclose comments within a sed command to avoid
10463 losing with the old OSF1 sed.
10464
10465Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10466
10467 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
10468 sequent dynix.
10469 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
10470 * gdb.t15/funcargs.exp: Conditionally step again to really
10471 finish from marker_call_with_trampolines. Handle the case where
10472 the first step from within call_with_trampolines already steps
10473 us back to main.
10474 * gdb.t15/gdbme.c: Add comment to closing brace of
10475 call_with_trampolines for funcargs.exp.
10476
10477Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10478
d63a86f8 10479 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
c906108c
SS
10480 Fix typo(s).
10481
10482Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10483
10484 * gdb.t07/gdbme.c: More code for watchpoint testing.
10485
10486 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
10487 "Hardware watchpoint" throughout file.
10488 (test_watchpoint_triggered_in_syscall): New test.
10489 (test_complex_watchpoint): New test.
10490
10491Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10492
10493 * gdbme.c (call_with_trampolines): New function to try and step
10494 into. Tests trampoline problems on the PA.
10495
10496 * funcargs.exp (localvars_in_indirect_call): No longer expect
10497 stepping into indirect call to fail on PAs.
10498 (test_stepping_over_trampolines): New test.
10499
10500Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10501
10502 * TODO: Add suggestions for static member function tests, and
10503 completion tests.
10504
10505Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10506
10507 * TODO: Add suggestions for "p/a" tests.
10508
10509 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
10510 (default_gdb_exit): Replace all the hair with sending "quit" to
10511 the process with a simple close.
10512
10513Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10514
10515 * TODO: Add suggestions for shared library tests.
10516
10517Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10518
10519 * TODO: Add suggestions for x/s tests.
10520
10521Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10522
10523 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
10524 "enable once", and "enable breakpoints once" with ".*".
10525
10526Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10527
10528 * TODO: Add suggestions about structure passing tests.
10529
10530Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10531
10532 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
10533 the primary1 test, use work around if __GNUC__ < 2.
10534 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
10535 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
10536 Test for bad output rather than waiting for timeout. Issue
10537 second continue only if first continue failed.
10538
10539Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
10540
10541 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
10542 operator[] test with gdb_test because the old code didn't seem to
10543 be getting the quoting right with the new dejagnu.
10544
10545Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
10546
10547 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
10548 one from the path.
10549 * Makefile.in: Use a fresh expect if there is one, use runtest
10550 from the src tree if there is one.
d63a86f8 10551
c906108c
SS
10552Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
10553
10554 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
10555 next over recursive call. Revise the tests from that point on
10556 (which had been skipped) to match GDB's actual (correct) output.
10557
10558 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
10559 with next over a breakpoint whose condition is false.
10560
10561 * gdb.t00/help.exp: Comment out "help set print" tests just like
10562 (and for same reason as) "help set" test.
10563
10564Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10565
10566 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
10567 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
10568
10569Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10570
10571 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
10572 necessary gdb_target_udi.
10573
10574 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
10575
10576 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
10577 1838 and 2417; they are fixed.
10578
10579 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
10580 gdb.t03/ptype.exp (ptype structure, ptype union):
10581 Remove xfails; the test is looser than when the xfails were added.
10582
10583 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
10584 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
10585
10586 * gdb.t01/run.exp: Only run shell test if isnative.
10587
10588 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
10589 since "run" automatically loads if necessary. Call gdb_target_udi
10590 after the "file" since "file" kills any execution target.
10591
10592 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
10593 GDB. GDB doesn't work that way (not anymore at least) on UDI.
10594 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
10595 argument for UDI.
10596
10597Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
10598
10599 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
10600
10601 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
10602
10603Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10604
10605 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
10606 properly quoting regexps. This makes the second argument to
10607 demangle a fixed string, which matches the callers, instead of a
10608 shell-style pattern which is what the previous implementation
10609 used. Update some of the callers.
10610
10611Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10612
10613 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
10614 (comib_nullified_tests): Fix typo.
10615 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
10616 strings. No longer expected to fail.
10617
10618 * gdb.disasm/hppa.s (addib_tests): Fix typo.
10619 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
10620 strings. No longer expected to fail.
10621
10622 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
10623 string. No longer expected to fail.
10624
10625Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10626
10627 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
10628 No longer expected to fail.
10629
10630 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
10631 string. No longer expected to fail.
10632
10633Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10634
10635 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
10636 only in the names (I probably got most of them). I was even
10637 generous with some which differed in underscores in names, and
10638 probably missed a few, and I *still* was able to remove almost a
10639 third of the file with almost no impact on testsuite coverage.
10640
10641Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10642
10643 * gdb.t00/default.exp: Match udi_attach error message as well as
10644 the one from child_attach.
10645
10646 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
10647
10648 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
10649
10650 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
10651 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
10652
10653 * Move test with enums and partial symbols back to
10654 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
10655 Reverts the change of 26 May 93. Per today's change to
10656 stabs.texinfo, the behavior that weird.exp was expecting was
10657 unreasonable; what is important is that the compiler+gdb get
10658 things right, which happens with a recent gcc. Also fix the test
10659 to deal with native compilers which put out the stab gdb can't
10660 deal with.
10661
10662Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10663
10664 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
10665 in the names. The main thing these accomplish is to slow things down.
10666 Many more such duplicates surely remain.
10667
10668 * gdb.t00/help.exp: Comment out "help support" test just like
10669 (and for same reason as) "help set" test.
10670
10671Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
10672
10673 * gdb.t06/break.exp: Remove setup_xfails for
10674 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
10675 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
10676 about known bug in gcc to include up through 2.5.8.
10677 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
10678 well as "_vb$".
10679 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
10680 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
10681 with latest gcc and gdb.
10682 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
10683 well as "_vb$".
10684
10685Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10686
10687 * configure.in (hppa*-*-*): Also configure and build stabs-only
10688 tests.
10689
10690Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10691
10692 * gdb.t10/hppa.mt: A makefile fragment for the PA.
10693 * gdb.t10/configure.in (hppa*-*-*): Use it.
10694
10695Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10696
10697 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
10698
10699Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10700
10701 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
10702 versions prior to 1.13.5.
10703
10704Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10705
10706 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
10707 the prompt is at the start of a line.
10708
10709Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10710
10711 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
10712 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
10713 in the copr tests now.
10714 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
10715 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
10716 expected to fail.
10717
10718Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
10719
10720 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
10721 gdb.t31/chillvars.exp, lib/gdb.exp:
10722 Tweak to run under either version of expect.
10723 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
10724 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
10725 * gdb.t11/list.exp: Remove extraneous whitespace.
10726
10727Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10728
10729 * gdb.t16/printcmds.exp (test_print_strings): Accept
10730 "(unsigned char *) " before the string.
10731
10732 * TODO: Add notes about printing of fancy types and GDB expressions.
10733
10734Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
10735
10736 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
10737 * gdb.t06/configure.in: Don't try to compile signals test program
d63a86f8 10738 if doing mips-idt-ecoff.
c906108c
SS
10739
10740Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
10741
10742 * Most .exp files: Tweak to run under either version of expect.
10743
10744Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10745
10746 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
10747 xfails; I'm not sure why they are failing, but not because of PR 1806.
10748
10749Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
10750
10751 * config/unix-gdb.exp: Remove gdb_unload cause it's already
10752 defined in lib/gdb.exp.
10753
10754Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10755
10756 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
10757 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
10758 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
10759 have to be typeless.
10760
10761Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10762
10763 * TODO: Add suggestion for copyright year test.
10764
10765Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
10766
10767 * configure.in (*-*-lynxos*): Add stabs tests.
10768
10769Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
10770
10771 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
10772 so insert a tab before any assembler directive in column zero.
10773
10774 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
10775 stores.
10776 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
10777 stores.
10778 (fpu_short_memory_tests): Likewise.
10779
10780Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10781
10782 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
10783 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
10784 .stabs directives in comments.
10785
10786Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10787
10788 * TODO: New file, describing tests we could write.
10789 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
10790
10791Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10792
10793 * gdb.t06/signals.exp: Add kludge to force re-sync.
10794
10795 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
10796 to xgdb instead of gdb, get out of gdb.
10797
10798Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
10799
10800 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
10801 for info.
10802
10803Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
10804
10805 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
10806 * gdb.stabs/configure.in (hppa*-*-*): Use it.
10807 * gdb.stabs/hppa.sed: New sed script for the PA.
10808
10809Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10810
10811 * gdb.stabs: Re-write weird.def and configuration to use sed
10812 instead of cpp. sed is portable and POSIX; cpp is neither.
10813
10814Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10815
10816 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
10817
10818Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10819
10820 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
10821
10822Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10823
10824 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
10825 "_vb$".
10826 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
10827 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
10828
10829Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10830
10831 * lib/gdb.exp: Comment out code which depends on non-existent
10832 `transform' procedure.
10833
10834Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
10835
10836 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
10837 * lib/gdb.exp: Transform tool name.
10838 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
10839 1.1's new error handling system.
10840
10841Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10842
10843 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
10844
10845Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10846
10847 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
10848 They made pattern matching so slow that timeouts happened on
10849 heavily loaded systems. Now any output from "show print" which
10850 gets us back to the GDB prompt is a PASS.
10851
10852Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
10853
10854 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
10855
10856Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10857
10858 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
10859
10860 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
10861 It is not from PR 3220.
10862
10863Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10864
10865 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
10866 just started failing because they depended on the order the
10867 subcommands are presented, or exact docstring text. This kind of
10868 test is a pain and has minimal benefit.
10869
10870Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10871
10872 * gdb.t09/corefile.exp: At end of test, use "core" command with
10873 no arguments.
10874
10875Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
10876
10877 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
10878 17}/Makefile.in: Make it possible to run the testsuite with Sun
10879 make and CC = cross gcc by adding explicit build rules for .o
10880 files.
10881
10882Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10883
10884 * gdb.t15/funcargs.exp: Don't put comments on same line as
10885 setup_xfail (@#$*%& tcl braindamage!).
d63a86f8 10886
c906108c
SS
10887Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10888
10889 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
10890
10891Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
10892
10893 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
10894 * gdb.t20/inherit.exp: remove three dumplicate entries.
10895
10896Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10897
10898 * gdb.t06/break.exp: For "next over recursive call", fail on any
10899 incorrect output, not just on "factorial (value=2)".
10900
10901Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10902
10903 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
10904 working now. Add an xfail if accesing a bss variable causes
10905 a memory error if the target is not yet run.
10906
10907Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10908
10909 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
10910 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
10911 name of __st* demangling (2 strings). Did Kung really get the
10912 more than 95 others right without testing them?
10913
10914Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
10915
10916 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
10917
10918Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
10919
10920 * configure.in (configdirs): Add gdb.disasm
10921 * gdb.disasm: New directory for GDB disassembler tests.
10922 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
10923
10924Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10925
10926 * gdb.t00/help.exp: Don't test "help set".
10927
10928 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
10929 from within expect statements. None of these happen anymore and
10930 they cause regressions to be silently unnoticed.
10931
10932 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
10933 messages) about known failures with gcc cygnus-2.4.5-930417.
10934
10935 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
10936 comp-info.exp so it gets built if it doesn't exist.
10937
10938 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
10939 it is no longer used.
10940 * gdb.t13/comp-info.c: Removed.
10941
10942Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
10943
10944 * gdb.t06/signals.exp: Add xfail for sun3.
10945
10946Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10947
10948 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
10949 relevant because ^C doesn't get sent but failure can be reproduced
10950 interactively).
10951
10952Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10953
10954 * gdb.stabs/alpha.mt: New configuration file for alpha.
10955 * gdb.stabs/configure.in: Use it.
10956 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
10957 sharing with alpha.mt, redefine long to word via preprocessor.
10958 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
10959 for alpha.
10960 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
10961 native cc.
10962 * gdb.t00/teststrategy.exp: Change expect string so that we
10963 consume the `(xgdb)' from the command echo and from the gdb prompt.
10964 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
10965 gdb currently compares all values as long, so this failure probably
10966 applies to any configuration where LONGEST is bigger than a target int.
10967 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
10968 with gcc.
10969 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
10970 to handle opaque pointers, gcc is.
10971 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
10972 as first argument. Include <sys/types.h> and change all operator
10973 new definitions to use size_t.
10974 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
10975 now that we use size_t.
10976
10977Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10978
10979 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
10980 a long or float array cast all array members to the same type.
10981 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
10982 with 64 bit longs.
10983 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
10984 on alpha.
10985 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
10986
10987Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10988
10989 * gdb.t24 (demangle.exp): Constructors of templates have names like
10990 vector<int>::vector(int) not vector<int>::vector<int>(int). See
10991 section 14.6 of the ARM.
10992
10993 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
10994 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
10995 accomplish little and slow down the testsuite.
10996
10997 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
10998 Accept spaces various places.
10999
11000Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11001
11002 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
11003 with watchpoint enabled.
11004
11005 * Makefile.in: Remove definition of CC and remove the second
11006 definition of CXX (the "CXX = gcc" one remains). These definitions
11007 were causing backquotes to be expanded within backquotes, which
11008 doesn't work.
11009
11010Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
11011
11012 * gdb.t17/callfuncs.exp: Add "return 0" to end.
11013
11014Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11015
11016 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
11017 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
11018 by mips cc and contains no stabs entries.
11019
11020Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
11021
11022 * config/vx-gdb.exp: Use fake device to load files rather than
11023 NFS.
11024 * lib/gdb.exp: New proc to do "file" command.
11025 * config/unix-gdb.exp: Use new "file" proc.
11026
11027Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
11028
11029 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
11030 Rework board rebooting slightly.
11031 (gdb_exit): Don't exit from the remote shell; there isn't one.
11032 * gdb.stabs/weird.exp: If a program is being debugged already,
11033 kill it.
11034 * gdb.t04/setvar.exp: Stop and restart gdb.
11035 * gdb.t05/expr.exp: Likewise.
11036 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
11037 restart gdb and reload the program.
11038 * gdb.t08/opaque.exp: Likewise.
11039 * gdb.t12/scope.exp: Likewise.
11040 * gdb.t13/bitfields.exp: Likewise.
11041 * gdb.t15/funcargs.exp: Likewise.
11042 * gdb.t20/classes.exp: Likewise.
11043 * gdb.t03/ptype.exp: Increase timeout.
11044 * gdb.t16/printcmds.exp (test_print_string_constants,
11045 test_print_array_constants): Likewise.
11046 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
11047 * gdb.t20/classes.exp (do_tests): Likewise.
11048 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
11049
11050Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
11051
11052 * gdb.stabs: Renamed *wierd* to *weird*.
11053
11054Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
11055
11056 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
11057 for timeout. Add "known gcc 2.4.5 bug" to failure message.
11058
11059Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
11060
11061 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
11062 (do_tests): Remove xfail for whatis on one_var and two_var.
11063
11064Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
11065
11066 * Makefile.in: Made cross building work better by adding
11067 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
11068
11069Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11070
11071 * gdb.t15/{return.c,return.exp,Makefile.in}:
11072 New test, currently commented out.
11073
11074Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
11075
11076 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
11077 still running and removes the leftover named socket so GDb can do
11078 clean restarts.
11079
11080Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
11081
11082 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
11083 console, not GDB.
11084 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
11085 cross testing works better with "make check"
11086 * config/unix-gdb: Use default procedures for exit and version.
11087 * config/vx-gdb.exp: Cleaned up and massaged back to working order
11088 with the newest VxWorks.
11089
11090Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11091
11092 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
11093 old form.
11094
11095 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
11096 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
11097
11098 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
11099
11100 * config/unix-gdb.exp: Remove this version of gdb_exit
11101 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
11102 Rob says he'll look at it when he gets back to testing boards.
11103
11104Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
11105
11106 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
11107 an expected fail for certain ptype commands.
11108
11109 * gdb.t20/classes.exp: Update expected results of "ptype class
11110 Base1" to account for the constructor that now appears in the type.
11111
11112Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
11113
11114 * configure.in (configdirs): Restore gdb.t04, which mysteriously
11115 disappeared from list.
11116 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
11117 "alldone" proc with call to cleanup and exit.
11118 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
11119 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
11120 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
11121 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
11122 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
11123 "alldone" proc with simple returns that suppress remaining
11124 tests. The alldone proc went away many months ago.
11125
11126Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11127
11128 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
11129
11130 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
11131
11132Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11133
11134 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
11135 as vax gdb will display them.
11136
11137Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11138
11139 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
11140 optimizers.
11141
11142 * scope.exp: Change "bad value for localval" messages so each one
11143 is unique.
11144
11145 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
11146 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
11147
11148 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
11149
11150Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11151
11152 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
11153 doesn't exist (due to optimization).
11154
11155Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11156
11157 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
11158 contains \r because the filename is long.
11159
11160 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
11161 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
11162
11163Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11164
11165 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
11166 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
11167 Ultrix.
11168 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
11169 int tests.
11170 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
11171
11172Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
11173
11174 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
11175
11176 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
d63a86f8 11177 to match does not match the passing case but still matches the
c906108c
SS
11178 failing case.
11179
11180Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11181
11182 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
11183
11184Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
11185
11186 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
11187 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
11188 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
11189 Remove various versions of gdb_exit.
11190 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
11191 gdb_exit.
11192 * config/unix-gdb.exp: gdb_exit remains here, and should override
11193 the generic version, since it's doing a lot of wierd stuff that
11194 the other versions aren't. FIXME, fold it in, or abandon this
11195 version.
11196
11197Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11198
11199 * gdb.t24/demangle.exp: Add tests for PR 3220.
11200
11201Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11202
11203 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
11204
11205Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
11206
11207 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
11208 "i386-*-*". Works for i486 as well.
11209
11210 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
11211 bug, and expand domain of xfail to all SVR4 systems, since the
11212 actual problem is likely to be in generic SVR4 /proc support.
11213
11214Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11215
11216 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
11217
11218Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
11219
11220 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
11221 xfails for other systems. Match a missing 'Continuing.' as an
11222 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
11223
11224 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
11225 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
11226 Only issue warning for missing executables if -all option is used.
11227
11228 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
11229 file if -all option is used. It's like an unpredictable XFAIL.
11230
11231Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11232
11233 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
11234 for dynamically linked binaries.
11235
11236 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
11237
11238Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11239
11240 * gdb.t20/inherit.exp: Change message for "print tagless struct"
11241 to state that this is a known bug in old versions of g++.
11242
11243Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11244
11245 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
11246 while waiting for `Continuing'.
11247
11248Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
11249
11250 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
11251 in text, data, and bss.
11252 * gdb.t10/nodebug.c: Add local and global test variables for
11253 initialized and uninitialized data.
11254
11255Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11256
11257 * config/unix-gdb.exp (gdb_exit): Add "wait".
11258
11259Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11260
11261 * gdb.t06/signals.exp: xfail the continue from the handler for all
11262 targets.
11263
11264 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
11265 function with watchpoints enabled, the i386 call dummy starts with
11266 a call.
11267
11268 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
11269 386 bsd names its corefiles.
11270
11271Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
11272
11273 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
11274 compilers don't grok it.
11275 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
11276 with small octal ints rather than character constants, which
11277 are signed and might not fit if first promoted to int.
11278
11279Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
11280
11281 * gdb.t09/Makefile.in (clean): Remove corefile.
11282
11283Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11284
11285 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
11286
11287Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11288 and Jim Kingdon (kingdon@cygnus.com)
11289
11290 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
11291 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
11292 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
11293
11294Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11295
11296 * gdb.t17/interrupt.exp: Add xfail for hppa.
11297
11298Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11299
11300 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
11301 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
11302 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
11303 to determine signed-ness of bitfields and use the result to setup
11304 the xfail.
11305 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
11306 * gdb.t15/funcargs.exp: Use them to step until the second indirect
11307 call line is reached if necessary.
11308
11309Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11310
11311 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
11312
11313Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11314
11315 * gdb.t06/break.exp: Also test `clear' command.
11316
11317Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
11318
11319 * gdb.t00/teststrategy.exp: Remove extra quote.
11320
11321 * gdb.t07/watchpoint.exp: Change xfail for calling function with
11322 watchpoint enabled to be for all non-68k machines.
11323
11324 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
11325
11326Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11327
11328 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
11329 targets use aout.mt instead of ecoff.mt as gas understands
11330 standard aout format.
11331
11332Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
11333
11334 * lib/gdb.exp (runto): Don't insist that function we are running to
11335 was compiled with -g.
11336
11337 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
11338
11339 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
11340 to get back into the read system call.
11341 Accept leading newline in case where we woke it up.
11342
11343Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11344
11345 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
11346 to make the stabs test work on ecoff systems using gcc and -with-stabs.
11347 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
11348 enable ecoff configuration.
11349
11350Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11351
11352 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
11353
11354Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11355
11356 * gdb.t16/printcmds.exp: Add another printf test.
11357
11358Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
11359
11360 * configure.in: If configured -with-stabs on any target, add
11361 stabsdirs to configdirs.
11362
11363Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11364
11365 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
11366 fun" so pattern does not match the command itself.
11367
11368Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11369
11370 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
11371
11372Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11373
11374 * gdb.t17/interrupt.exp: Test for more things.
11375
11376Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11377
11378 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
11379 compiler arranges the code and line numbers.
11380
11381 * gdb.t17/interrupt.exp: Don't send \n after ^C.
11382
11383Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11384
11385 * gdb.t00/help.exp: Increase expect input buffer size.
11386
11387Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11388
11389 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
11390
11391 * gdb.t07/watchpoint.exp: Add xfail for hppa.
11392
11393 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
11394
11395 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
11396 [0-9]*, not just [0-9].
11397
11398Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11399
11400 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
11401
11402 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
11403
11404Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11405
11406 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
11407
11408Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11409
11410 * gdb.t06/signals.c: Add xfails for sun3.
11411
11412 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
11413
11414 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
11415 test_stepping tests.
11416
11417Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11418
11419 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
11420
11421 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
11422
11423 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
11424 rather than actually putting it through cpp twice.
11425
11426 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
11427
11428Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
11429
11430 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
11431 no longer needed.
11432
11433Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11434
11435 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
11436
11437 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
11438 C++ features prints as "struct", make it a pass, not an xfail.
11439
11440Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11441
11442 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
11443 Don't require VA to print as "class" rather than "struct".
11444
11445Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
11446
11447 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
11448
11449Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11450
11451 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
11452
11453Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11454
11455 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
11456 order.
11457
11458Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11459
11460 * gdb.t16/printcmds.exp: Add printf tests.
11461
11462 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
11463
11464 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
11465
11466Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
11467
11468 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
11469 pass counts, to counteract any existing or future setup_xfails.
11470
11471Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11472
11473 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
11474 {BEGIN,END}_COMMON for common block instead of STAB.
11475 * gdb.stabs/wierd.exp: Add xfail for rs6000.
11476
11477 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
11478 intp_var should be N_GSYM not N_LSYM.
11479 wierd-aout.S: Use a label for the value of the N_SO.
11480 wierd.def: Remove all backslashes.
11481 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
11482
11483Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11484
11485 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
11486 get the expected next to inheritance3.
11487
11488Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11489
11490 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
11491 now that gcc-2.4 gets it right.
11492
11493Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11494
11495 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
11496
11497 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
11498 generating comp-info.exp which works for cross-compilation.
11499
11500Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
11501
11502 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
11503 "*-*-sysv4.*".
11504
11505Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
11506
11507 * gdb.t01/run.exp: Start with a fresh gdb.
11508 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
11509 SVR4.x.
11510
11511Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
11512
11513 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
11514 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
11515 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
11516 Makefile.in (distclean, realclean): Remove gdbme.c from list of
11517 things to remove.
11518
11519Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
11520
11521 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
11522 test cases from bug reports.
11523
11524Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
11525
11526 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
11527 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
11528 avoid spurious xfails.
11529 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
11530 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
11531 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
11532
11533Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
11534
11535 * gdb.t00/teststrategy.exp: Rework to provide more useful
11536 description of each test, fix problem with systems that define
11537 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
11538 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
11539 results for "next over recursive call" so timeouts aren't taken
11540 by error.
11541
11542Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
11543
11544 * gdb.t12/scope.exp: Test printing of variables before run.
11545
11546 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
11547 printed in wrong order due to sorting.
11548
11549Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
11550
11551 * gdb.t00/teststrategy.exp: Fix expected results for printing
11552 user entered string constant. Is array of char, prints with no
11553 address.
11554
11555 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
11556 commands.
11557 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
11558 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
11559 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
11560 of struct of char arrays.
11561 * gdb.t00/radix.exp: New tests for radix commands.
11562
11563Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
11564
11565 * gdb.t16/printcmd.exp: Print a variable before running program
11566 (with xfail for AIX).
11567
11568Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
11569
11570 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
11571
11572 * gdb.t16/printcmd.exp: Don't print variables before running program.
11573
11574 * gdb.t06/break.exp: Don't require envp argument to main.
11575
11576 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
11577
11578 * gdb.t02/whatis.exp, gdb.t11/list.exp:
11579 Add xfails for rs6000.
11580
11581 * gdb.t02/whatis.exp: Change other tests not to re-test something
11582 we already tested.
11583
11584 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
11585 each type used has a variable of that type.
11586
11587Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
11588
11589 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
11590
11591Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
11592
11593 * configure.in: change srctrigger to be a file, not a directory
11594
11595Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
11596
11597 * configure.in (mips-idt-ecoff*): Added trailing '*'.
11598
11599 * gdb.t11/list.exp: Fixed a couple of typos.
11600
11601Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
11602
11603 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
11604 is fixed and PR is closed.
11605 * gdb.t16 (gdbme.c): Add simple test string variable.
11606 * gdb.t16 (printcmds.exp): Add tests with simple test string
11607 variable, primarily for boundaries on "set print elements".
11608
11609Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
11610
11611 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
11612 Make leading 0's optional and don't expect a tab in the middle
11613 of the number.
11614
11615 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
11616
11617 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
11618 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
11619 don't end command passed to gdb_test with newline.
11620
11621 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
11622 signed keyword away, don't expect signed bitfields to be signed.
11623
11624 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
11625 printing with only as many 1's as are in the field as well as printing
11626 with 32 1's (see comment).
11627
11628Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
11629
11630 * gdb.t00/default.exp: Start with a fresh gdb.
11631 * configure.in (configdirs): Remove gdb.t31 until the chill
11632 compiler works again. It no longer is able to find chillrt0
11633 since it isn't in libchill.a anymore.
11634 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
11635 wierd.o, make more modular.
11636 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
11637 spurious newlines that caused problems.
11638
11639Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11640
11641 * Move test with enums and partial symbols from gdb.t03/ptype.exp
11642 to gdb.stabs/wierd.exp since GCC has worked around the bug.
11643 gdb.stabs/wierd.{exp,def}: Many new tests.
11644
11645 * gdb.t00/default.exp: update info line for new message.
11646
11647 * gdb.t02/{whatis.exp,gdbme.c}:
11648 Test that "char *" doesn't print as "caddr_t".
11649
11650Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11651
11652 * gdb.t00/help.exp: Use .* in place of some help messages which
11653 just changed.
11654 gdb.t00/default.exp: Update "info frame" test for new message.
11655 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
11656 Remove some xfails
11657
11658Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11659
11660 * gdb.t03/{gdbme.c,ptype.exp}:
11661 Add tests for typedef'd struct and union without tags.
11662 Also check "whatis" on a variable of a typedef'd enum without a tag.
11663
11664 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
11665 PRMS 1823; the bug still exists but isn't reproduced by this test
11666 anymore), and remove rs6000 XFAIL (the bug is fixed).
11667
11668 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
11669 duplicated from whatis.exp. For those that are left, accept
11670 "long", "long int", or "int" for long variables (whatis.exp already
11671 has an XFAIL for "int", so no need to fail it here).
11672
11673 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
11674 Deal with GCC's names for types now that GDB uses the compiler's names.
11675
11676 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
11677 setup_xfail's for sunos4. If we #defined the signed keyword away,
11678 don't expect GDB to know that char it is signed.
11679
11680 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
11681
11682Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
11683
11684 * configure.in (configdirs): Add gdb.t24 for C++ tests that
11685 should work on any system, regardless of debugging format.
11686 * gdb.t21/demangle.exp: Move to gdb.t24.
11687 * gdb.t24/demangle.exp: Move from gdb.t21.
11688 * gdb.t24/{Makefile.in, configure.in}: New files.
11689
11690Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11691
11692 * configure.in: Do gdb.stabs and C++ tests only for stabs.
11693 * gdb.stabs: New directory.
11694
11695Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11696
11697 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
11698 not just "Quit anyway?".
11699
11700Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
11701
11702 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
11703 that all setup_xfails are immediately followed by clear_xfails.
11704
11705Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
11706
11707 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
11708 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
11709 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
11710 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
11711 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
11712 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
11713 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
11714 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
11715 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
11716 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
11717 gdb.t31/chillvars.exp, lib/gdb.exp:
11718 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
11719 bug-gdb@prep.ai.mit.edu.
11720
11721Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
11722
11723 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
11724 with 0.0, not integer 0.
11725
11726Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
11727
11728 * gdb.t06/break.exp: Update for "Kill the program" message change.
11729
11730Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
11731
11732 * Makefile.in (GDBFLAGS): Set to -nx.
11733 * Makefile.in (site.exp): Use GDBFLAGS.
11734
11735Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
11736
11737 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
11738 Makefiles.
11739 (check): depend on just-check.
11740 (just-check): added so that tests can be run without a noop
11741 build pass.
11742
11743Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
11744
11745 Switch to using configure's configdirs.
11746 * Makefile.in (Makefile): add configure.in dependency.
11747 (SUBDIRS): removed redundant assignment.
11748 * configure.in: switch subdirs assignment to configdirs.
11749 * gdb.t*/configure.in: new files.
11750
11751Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
11752
11753 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
11754 works.
11755
11756Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
11757
11758 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
11759 in explicit rules. Apparently this is not supported by some makes.
11760
11761Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
11762
11763 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
11764
11765Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11766
11767 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
11768 disappeared.
11769
11770Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
11771
11772 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
11773
11774Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
11775
11776 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
11777 watchpoint problem that is now fixed.
11778 * gdb.t30/chexp.exp: Remove setup_xfail for printing
11779 uninitialized convenience variables.
11780 * gdb.t31/chillvars.exp: Fix expected patterns for printing
11781 structures.
11782
11783Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11784
11785 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
11786 which causes expect to get out of sync with gdb on long output
11787 from help set.
11788 * gdb.t09/corefile.exp: Make expected pattern for core file
11789 failing signal and frame output format less sun specific.
11790
11791Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
11792
11793 * gdb.t31/chillvars.exp: Add and remove initial dummy
11794 breakpoint, so that symbol table is forced in.
11795 (Needed at least on Sunos4, though it seems not SVR4.)
11796 * gdb.t31/chillvars.exp: Update for changed output format.
11797
11798Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
11799
11800 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
11801
11802Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
11803
11804 * Makefile.in: Added --srcdir when invoking runtest, removed the
11805 need for a local config file. (optional now)
11806
11807Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
11808
11809 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
11810 failure count used to force early termination. Add some more
11811 expected failures for gnu style demangling.
11812
11813Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11814
11815 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
11816 pmi variable from gdb.t20/gdbme to get optimized away.
11817 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
11818 Check for written corefile upon timeout _and_ eof.
11819
11820Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11821
11822 * config/unix-gdb.exp: Add missing return 0.
11823
11824Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11825
11826 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
11827 test termination.
11828
11829Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
11830
11831 * configure.in (subdirs): Put back gdb.t17 which mysteriously
11832 disappeared.
11833
11834Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
11835
11836 * gdb.t10/crossload.exp: Disable the i860-elf test until such
11837 time as i860 support works.
11838
d63a86f8 11839 * gdb.t15/funcargs.exp: Fix expected outputs to include
c906108c
SS
11840 "backtrace 100\r" rather than just "backtrace\r", to match last
11841 change.
11842
11843Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
11844
11845 * config/udi-gdb.exp (gdb_exit): Remove close command.
11846 (gdb_target_udi): New procedure to set the UDI target.
11847 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
11848 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
11849 Added waits for prompts after several question responses. Added
11850 some more responses used by a29k-amd-udi-gdb.
11851 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
11852 pass different arguments, restart UDI connection after program
11853 completion.
11854 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
11855 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
11856 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
11857 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
11858 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
11859 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
11860 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
11861 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
11862 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
11863 after program completion.
11864 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
11865 compiled with a SELECT_VECS setting.
11866 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
11867 infinite recursion.
11868
11869 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
11870 Added checks for COFF results, and made them expected failures for
11871 all targets. It would be better to make them expected failures
11872 for COFF targets only.
11873
11874Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
11875
11876 * Makefile.in: add null dvi target, don't bother to recurse
11877 through test directories for info and install-info; rename
11878 $(datadir) to be dejagnu instead of deja-gnu
11879
11880Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
11881
11882 * gdb.t31/gdbme.ch: Re-enable code that previously caused
11883 compiler to coredump.
11884 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
11885 code.
11886
11887Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
11888
11889 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
11890 coredump.
11891 * gdb.t31/chillvars.exp: Comment out tests that depend on that
11892 code.
11893
11894Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
11895
11896 * gdb.t03/ptype.exp: tests for return code from gdb_test.
11897 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
11898 which in a shell. Deletes xgdb when done.
11899 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
11900 Tests the return from the "set height" or "set width" commands.
11901 Added a few return codes where needed.
11902
11903Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
11904
11905 * Makefile.in (SUBDIRS): Add gdb.t17.
11906 * configure.in (subdirs): Add gdb.t17.
11907 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
11908 files to test gdb's calling of functions in the inferior with
11909 the correct arguments and gdb's ability to retrieve any
11910 result returned.
11911
11912Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
11913
11914 * config/unix-gdb.exp (gdb_exit): Remove close commands that
11915 may be called after gdb goes away. Previous versions of expect
11916 needed these to avoid file descriptor leaks, but they cause
11917 errors with the current revision of expect.
11918 * gdb.t00/gdbvars.exp: Use -re on expected output after
11919 setting sevenbit-strings.
11920 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
11921 to set sevenbit-strings consistent across tests.
11922 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
11923 set sevenbit-strings consistent across tests.
11924
11925Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
11926
11927 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
11928 expected output to match current "expect" expectations.
11929
11930Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
11931
11932 * gdb.t00/default.exp: Change expected output for default "source"
11933 command, to match new gdb behavior which requires a filename to
11934 source.
11935
11936Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
11937
11938 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
11939 expected fail for i486-*-* that misses the marker2 function.
11940 * gdb.t10/crossload.exp (bfddefault): Allow successful
11941 recognition of a format to pass even if no symbols are found.
11942 Explicitly catch failures where the format is not recognized
11943 or is ambiguous, and add the reason to the fail message.
11944 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
11945 the cause is and invalid target and add reason to failure message.
11946 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
11947 elf32-i386, elf32-sparc, and elf32-i860.
11948 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
11949 Set up expected failure for 'filename'::variable scope resolution,
11950 which is now apparently broken on all targets.
11951 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
11952 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
11953 gdb.t23/templates.exp: Change failure for missing binfile into
11954 just a warning.
11955 gdb.t21/demangle.exp: Change all cfront references to 'arm'
11956 references.
11957
11958Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
11959
11960 * gdb.t00/default.exp: Add expected output for default "source"
11961 command, to match new gdb behavior.
11962 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
11963
11964Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
11965
11966 * config/*-gdb.exp: returns an error, rather than exiting on
11967 internal errors.
11968
11969Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
11970
11971 * gdb.t03/gdbme.c: Add pointer to struct variable.
11972 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
11973 referencing struct members.
11974
11975Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
11976
11977 * configure.in (mips-idt-ecoff): New target.
11978 * config/mips-gdb.exp: New file for remote board using MIPS remote
11979 debugging protocol.
11980
11981 * Redid configuration scheme. Removed gdb.t*/configure.in.
11982 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
11983 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
11984 distclean targets. Built executables via .o files. Adjusted
11985 tests to account for source files in $(srcdir) rather than
11986 $(objdir).
11987 * lib/gdb.exp (runto): Don't expect () after the function name,
11988 because it may have arguments.
11989
11990Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
11991
11992 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
11993 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
11994 expected failures for mips-idt-* and mips-sgi-*.
11995 * gdb.t00/default.exp (attach): Kill process if requested.
11996 * gdb.t00/help.exp (help target core, help target): Accept a gdb
11997 that does not read core files.
11998 * gdb.t01/run.exp: Removed checks for exit status code.
11999 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
12000 it is linked in.
12001 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
12002 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
12003 appropriate, rather than doing it by hand.
12004 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
12005 execution.
12006 * gdb.t10/crossload.exp: Kill existing program if needed.
12007 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
12008 appropriate, rather than doing it by hand. Always increase
12009 timeout for this test, not just for VxWorks.
12010
12011Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
12012
12013 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
12014 of Chill STRUCT types and STRUCT values.
12015 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
12016 than "char".
12017 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
d63a86f8 12018 struct2): New struct definitions and initializations to test
c906108c
SS
12019 simple Chill STRUCT types.
12020
12021Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
12022
12023 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
12024 the null byte at the end of strings.
12025 * gdb.t00/default.exp: Make show version insensitive to copyright
12026 date.
12027 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
12028 to avoid dependencies on target char signedness.
12029 * gdb.t16/printcmds.exp: Update expected results for explicitly
12030 unsigned char.
12031 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
12032 now work.
12033 * gdb.t21/demangle.exp: Add many more patterns for template
12034 demangling, most of them being expected failures.
12035 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
12036 string we are matching for, to match on the whole string.
12037 * gdb.t21/demangle.exp: Add many new test strings to demangle,
12038 and fix a whole bunch that had incorrect expected output but were
12039 passing anyway because of the bug in "proc demangle".
12040 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
12041 type.
12042 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
12043
12044Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
12045
12046 * gdb/testsuite: made modifications to testcases, etc., to allow
12047 them to work properly given the reorganization of deja-gnu and the
12048 relocation of the testcases from deja-gnu to a "tool" subdirectory.
12049
12050Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
12051
12052 * gdb/testsuite: Initial creation of gdb/testsuite.
12053 Migrated dejagnu testcases and support files for testing nm to
12054 gdb/testsuite from deja-gnu. These files were moved "as is"
12055 with no modifications. This migration is part of a major overhaul
12056 of dejagnu. The modifications to these testcases, etc., which
12057 will allow them to work with the new version of dejagnu will be
12058 made in a future update.
48efe704
AC
12059
12060For additional changes see gdb.mi/ChangeLog-1999-2003.
c906108c
SS
12061\f
12062Local Variables:
ef043731 12063mode: change-log
c906108c
SS
12064left-margin: 8
12065fill-column: 74
12066version-control: never
12067End: