]> 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
4013522b
MC
12004-06-02 Michael Chastain <mec.gnu@mindspring.com>
2
3 Fix PR gdb/1636.
4 * gdb.threads/manythreads.exp: Change asynchronous 'after'
5 calls to synchronous.
6
7a8f1e6b
JB
72004-05-26 Jim Blandy <jimb@redhat.com>
8
9 * gdb.arch/e500-prologue.exp, gdb.arch/e500-prologue.c: New tests.
10
81bb3443
RC
112004-05-24 Randolph Chung <tausq@debian.org>
12
13 * gdb.asm/asm-source.exp: Enable test for hppa-linux target.
14 * gdb.asm/pa.inc: New file.
15
8f5a3103
MK
162004-05-22 Mark Kettenis <kettenis@gnu.org>
17
18 * gdb.base/signull.c: Use sigjmp_buf instead of jmp_buf.
19
734b8fe8
JB
202004-05-21 Joel Brobecker <brobecker@gnat.com>
21 Daniel Jacobowitz <drow@mvista.com>
22
23 * lib/gdb.exp (gdb_test_multiple): Improve regexp matching the
24 GDB prompt.
25
725603e1
UW
262004-05-20 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
27
28 * gdb.base/signull.c: Use sigsetjmp/siglongjmp instead of
29 setjmp/longjmp. Use sigaction instead of signal.
30
8b923272
JB
312004-05-19 J. Brobecker <brobecker@gnat.com>
32 Michael Snyder <msnyder@redhat.com>
33
34 * gdb.threads/pthread_cond_wait.c: New file.
35 * gdb.threads/pthread_cond_wait.exp: New testcase.
36
8bfabb04
AC
372004-05-13 Andrew Cagney <cagney@redhat.com>
38
39 * gdb.base/signull.exp, gdb.base/signull.c: New files.
40 * gdb.base/gdb1476.c, gdb.base/gdb1476.exp: Delete files.
41
42edda50
AC
422004-05-11 Andrew Cagney <cagney@redhat.com>
43
44 * gdb.base/sigstep.exp (advancei): Update KFAILs. gdb/1613 is
45 fixed but revealed gdb/1639.
46
d303a6c7
AC
472004-05-10 Andrew Cagney <cagney@redhat.com>
48
49 * gdb.base/signals.exp (signal_tests_1): Simplify "continue to
50 func1" and "next to 2nd alarm", kernel bug avoided.
51
bf08c2a1
DJ
522004-05-10 Daniel Jacobowitz <dan@debian.org>
53
54 PR external/1568
55 * gdb.base/bigcore.exp: Check the size of the dumped core file.
56 XFAIL if it is smaller than bytes_allocated.
57 * gdb.base/bigcore.c (bytes_allocated): Make static and unsigned.
58 (main): Make chunks_allocated unsigned. Correct comment.
59
c0586a34
JB
602004-05-07 Joel Brobecker <brobecker@gnat.com>
61
62 * gdb.arch/powerpc-aix-prologue.c: New file.
63 * gdb.arch/powerpc-aix-prologue.exp: New file.
64
f2785d12
JB
652004-05-07 Jim Blandy <jimb@redhat.com>
66
67 * gdb.base/lineinc.exp, gdb.base/lineinc1.h, gdb.base/lineinc2.h,
68 gdb.base/lineinc3.h, gdb.base/lineinc.c: New tests.
69
bd7f6e30
JB
702004-05-06 Joel Brobecker <brobecker@gnat.com>
71
72 * gdb.base/sep.exp: No longer setup_kfail when the program was
73 built with dwarf2.
74
0a5e7efe
JI
752004-05-05 Jim Ingham <jingham@apple.com>
76
77 * gdb.base/pending.exp: Make sure pending breakpoints
78 preserve the ignore count.
79
a8958849
MK
802004-04-27 Jerome Guitton <guitton@gnat.com>
81
82 * i386-prologue.exp: Add testcase for jump instruction as first
83 instruction of the real code.
84 * i386-prologue.c (jump_at_beginning): New function.
85
7e103f5b
MK
862004-04-28 Mark Kettenis <kettenis@gnu.org>
87
88 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1624 on
89 x86_64-*-*.
90
5d38b224
MK
912004-04-28 Mark Kettenis <kettenis@gnu.org>
92
93 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1623 on
94 i*86-*-*.
95
0ef32fd9
MK
962004-04-25 Mark Kettenis <kettenis@gnu.org>
97
98 * gdb.base/call-sc.exp (start_scalars_test): Fix regular
99 expression that checks the return type.
100
71d7dd7c
AC
1012004-04-23 Andrew Cagney <cagney@redhat.com>
102
103 * gdb.base/call-sc.exp: New test of scalar call/return values.
104 * gdb.base/call-sc.c: Ditto.
105
1e9f977e
JJ
1062004-04-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
107
108 * gdb.threads/manythreads.c: Reduce thread stack size.
109
899d9e3a
JJ
1102004-04-23 Jeff Johnston <jjohnstn@redhat.com>
111
112 * gdb.threads/manythreads.c: Add copyright notice.
113
61bcae62
AC
1142004-04-23 Andrew Cagney <cagney@redhat.com>
115
116 * gdb.base/siginfo.exp: Better handle step out of signal.
117 * gdb.base/sigstep.exp: Ditto.
118
7339a42e
JJ
1192004-04-22 Jeff Johnston <jjohnstn@redhat.com>
120 Daniel Jacobowitz <drow@mvista.com>
121
122 * gdb.threads/manythreads.c: New testcase.
123 * gdb.threads/manythreads.exp: Ditto.
124
5c98409b
JB
1252004-04-22 Jim Blandy <jimb@redhat.com>
126
127 * gdb.stabs/exclfwd.exp, gdb.stabs/exclfwd1.c,
128 gdb.stabs/exclfwd2.c, gdb.stabs/exclfwd.h: New test.
129
3b611f1a
MC
1302004-04-21 Michael Chastain <mec.gnu@mindspring.com>
131
132 * gdb.stabs/weird.exp: Accept full pathname for $binfile.
133
f0fd9238
AC
1342004-04-21 Andrew Cagney <cagney@redhat.com>
135
136 * gdb.base/sigstep.c: New file.
137 * gdb.base/sigstep.exp: New file.
138
90990674
JB
1392004-04-16 Joel Brobecker <brobecker@gnat.com>
140
141 * gdb.gdb/observer.exp (test_normal_stop_notifications): Update
142 call to observer_notify_normal_stop.
143
78cef34b
AC
1442004-04-15 Andrew Cagney <cagney@redhat.com>
145
146 * gdb.base/siginfo.c: New file.
147 * gdb.base/siginfo.exp: New file.
148
d2343407
JB
1492004-04-12 J. Brobecker <brobecker@gnat.com>
150
151 * gdb.base/sep.exp: Fix typo in comment.
152
a2dba3c8
JB
1532004-04-12 J. Brobecker <brobecker@gnat.com>
154
155 * gdb.base/sep.c: New file.
156 * gdb.base/sep-proc.c: New file.
157 * gdb.base/sep.exp: New testcase.
158
15f7b60e
MK
1592004-04-09 Mark Kettenis <kettenis@gnu.org>
160
161 * gdb.base/bigcore.exp: Disable on Solaris; no sparse core file
162 support.
163
44f4de1a
AC
1642004-04-05 Andrew Cagney <cagney@redhat.com>
165
166 * gdb.base/sigaltstack.c: New file.
167 * gdb.base/sigaltstack.exp: New file.
168
ef04f396
JB
1692004-04-04 Joel Brobecker <brobecker@gnat.com>
170
171 * gdb.base/foll-fork.exp: Update the expected output for
172 "help set follow-fork-mode", to match a change that was made
173 to the help of this variable on 2004-01-13.
174
d40d2c92
JB
1752004-04-01 Joel Brobecker <brobecker@gnat.com>
176
177 * lib/ada.exp: Add copyright notice.
178 * bar.ads: Likewise.
179 * bar.adb: Likewise.
180 * null_record.adb: Likewise.
181 * null_record.exp: Likewise.
182 * gnat_ada.gpr.in: Likewise. Fix typo in a comment, clarify another.
183
f86ef5a3
JB
1842004-04-01 Joel Brobecker <brobecker@gnat.com>
185
186 * configure.in: Generate gdb.ada/Makefile and gdb.ada/gnat_ada.gpr.
187 * configure: Regenerate.
188
414e70e3
JB
1892004-04-01 Joel Brobecker <brobecker@gnat.com>
190
191 * lib/ada.exp (gdb_compile_ada): Emit UNSUPPORTED if we failed
192 to build the application. Remove the message printed when in
193 verbose mode, redundant with the UNSUPPORTED message above.
194
f0aaee49
JB
1952004-03-31 Joel Brobecker <brobecker@gnat.com>
196
197 * gdb.ada (bar.ads, bar.adb, null_record.adb): New files.
198 * gdb.ada (null_record.exp): New testcase.
199
ac81cb54
JB
2002004-03-31 Joel Brobecker <brobecker@gnat.com>
201
202 * Makefile.in (ALL_SUBDIRS) Add gdb.ada.
203
854af2f7
JB
2042004-03-31 Joel Brobecker <brobecker@gnat.com>
205
206 * gdb.ada: New subdirectory.
207 * gdb.ada/Makefile.in: New file.
208 * gdb.ada/gnat_ada.gpr.in: New file.
209
034cb681
JB
2102004-03-31 Joel Brobecker <brobecker@gnat.com>
211
212 * lib/ada.exp: New file.
213
78a1a894
DJ
2142004-03-24 Daniel Jacobowitz <drow@mvista.com>
215
216 * gdb.base/gdb1250.exp: Use runto {allow-pending}.
217 * lib/gdb.exp (runto, gdb_breakpoint): Support {allow-pending}.
218
4b2b3b3e
AC
2192004-03-22 Andrew Cagney <cagney@redhat.com>
220
221 * gdb.base/watchpoint.exp (test_stepping): Delete bogus XFAILs
222 hiding problems with DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET.
223 Problem identified by Ulrich Weigand.
224
23c73aa3
DC
2252004-03-17 David Carlton <carlton@kealia.com>
226
227 * gdb.cp/classes.exp (test_enums): Refer to PR c++/1588 instead of
228 PR c++/826.
229
d63a86f8
RM
2302004-03-16 Roland McGrath <roland@redhat.com>
231
232 * gdb.base/auxv.exp: New file.
233 * gdb.base/auxv.c: New file, copied verbatim from coremaker2.c.
234
0e02aa50
DC
2352004-03-12 David Carlton <carlton@kealia.com>
236
237 * gdb.cp/pr-1553.exp: New. Tests for PR c++/1553.
238 * gdb.cp/pr-1553.cc: Ditto.
239 * gdb.cp/local.exp (ptype NestedInnerLocal): Add comment, third
240 pass branch.
241
c20b71be
MC
2422004-03-12 Michael Chastain <mec.gnu@mindspring.com>
243
244 * gdb.cp/templates.exp: Accept more template types.
245
c7414a01
MC
2462004-03-09 Michael Chastain <mec.gnu@mindspring.com>
247
248 From Corinna Vinschen with modifications.
249 * gdb.cp/classes.cc (enums1): Add a line to extend scope of
250 local variable obj_with_enum.
251 * gdb.cp/classes.exp (test_enums): Remove TODO note about FAIL
252 results with obj_with_enum.
253
ed69573c
MC
2542004-03-09 Michael Chastain <mec.gnu@mindspring.com>
255
256 * gdb.cp/classes.cc: New file, copied from misc.cc.
257 * gdb.cp/classes.exp: Use classes.cc rather than misc.cc.
258
28301461
MC
2592004-03-09 Michael Chastain <mec.gnu@mindspring.com>
260
261 * gdb.cp/misc.cc: Add copyright notice.
262
1198ecbe
DC
2632004-03-05 David Carlton <carlton@kealia.com>
264
265 * gdb.cp/rtti.exp: Add 'print *obj3' test.
266 * gdb.cp/rtti.h: Update copyright.
267 (namespace n2::n3): New.
268 * gdb.cp/rtti1.cc: (refer_to (n2::n3::C3 *)): New.
269 (n2::n3::func3): New.
270 (main): Call n2::n3::func3.
271 * gdb.cp/rtti2.cc: Update copyright.
272 (n2::create3): New.
273
9e08c470
MK
2742004-03-04 Mark Kettenis <kettenis@gnu.org>
275
276 * gdb.asm/openbsd.inc: Fix typo.
277
4bebc3aa
FF
2782004-03-03 Fred Fish <fnf@redhat.com>
279
280 * gdb.base/pc-fp.exp (get_valueofx): Fix apparent typo to now set
281 "val" instead of unused "size". Update copyright year.
282
6ea9fb37
DJ
2832004-02-29 Daniel Jacobowitz <drow@mvista.com>
284
285 * gdb.cp/ctti.exp: Handle unsigned char type. Expect templates
286 to use unsigned char.
287 * gdb.cp/cttiadd.c, gdb.cp/cttiadd1.c, gdb.cp/cttiadd2.c,
288 gdb.cp/cttiadd3.c: Change type of variable to unsigned char.
289
23b23974
DJ
2902004-02-29 Daniel Jacobowitz <drow@mvista.com>
291
292 * config/gdbserver.exp (gdbserver_gdb_load): Wait for a complete
293 line of output.
294
7574fd53
DJ
2952004-02-28 Daniel Jacobowitz <drow@mvista.com>
296
297 * gdb.base/relocate.c (dummy): Initialize.
298
a195357f
DJ
2992004-02-28 Daniel Jacobowitz <drow@mvista.com>
300
301 * gdb.base/chng-syms.exp: Anchor exit pattern. Allow
302 a breakpoint at exit.
303
72fd54a9
FF
3042004-02-27 Fred Fish <fnf@redhat.com>
305
306 * gdb.base/chng-syms.exp: Add expect condition to match failing
307 case that isn't a timeout.
308
b9d23137
AC
3092004-02-27 Andrew Cagney <cagney@redhat.com>
310
311 * gdb.base/bigcore.exp: Disable on HP/UX, no sparse corefile
312 support.
313
15d208f6 3142004-02-26 Fred Fish <fnf@redhat.com>
d63a86f8 315
15d208f6
FF
316 * gdb.arch/gdb1431.c: Remove.
317 * gdb.arch/gdb1431.s: New file, copy of gdb1291.s
318 * gdb.arch/gdb1431.exp: Use "advance" correctly instead
319 of "until" incorrectly.
320
98f9cd2d
JB
3212004-02-26 J. Brobecker <brobecker@gnat.com>
322
323 * gdb.cp/class2.cc (empty): New class.
324 (refer): New function.
325 (main): Declare an object of type empty and use it.
326 * gdb.cp/class2.exp: Print the value of an object of type empty.
327
9b50c11b
JJ
3282004-02-26 Jeff Johnston <jjohnstn@redhat.com>
329
330 * gdb.base/langs.exp: Update query string to match the
331 new nquery format used for pending breakpoints.
332
0dcd613f
AC
3332004-02-26 Andrew Cagney <cagney@redhat.com>
334
335 Fix PR i18n/1570.
336 * gdb.base/charset.c: Update copyright notice.
337 (main, init_string): Remove the escape character '\e' tests.
338 * gdb.base/printcmds.exp (test_print_all_chars): Ditto.
339 * gdb.base/charset.exp (valid_host_charset): Ditto.
340 * gdb.base/setvar.exp: Ditto.
341
b8a56647
AC
3422004-02-24 Andrew Cagney <cagney@redhat.com>
343
90d59e34
AC
344 * gdb.base/corefile.exp: Use gdb_test_multiple, make "accessing
345 mmapped data in core file" PASS and FAIL messages consistent.
346
b8a56647
AC
347 * gdb.java/jmisc.exp: Use the fully quallified name of "main" when
348 setting a breakpoint. Work around PR java/1565.
349
9f27c604
JJ
3502004-02-23 Jeff Johnston <jjohnstn@redhat.com>
351
352 * lib/gdb.exp (gdb_breakpoint): Update query string to match
353 new nquery format.
354 * gdb.base/pending.exp: Ditto.
355
3224a706
MK
3562004-02-22 Mark Kettenis <kettenis@gnu.org>
357
358 * configure.in: Run stabs tests on *BSD.
359 * configure: Regenerated.
360
41e0a9ca
MK
3612004-02-21 Mark Kettenis <kettenis@gnu.org>
362
363 * gdb.base/bigcore.exp: Bail out on *BSD instead of only NetBSD.
364
1e1b3428
FF
3652004-02-20 Fred Fish <fnf@redhat.com>
366
367 * gdb.base/callfuncs.exp (do_function_calls): Remove extraneous
368 blank in test for "returns short", for consistency with other
369 "returns xxx" tests. Update copyright year.
370
f9a7572a
FF
3712004-02-19 Fred Fish <fnf@redhat.com>
372
373 New testcase for PR breakpoint/1558.
374 * gdb.arch/gdb1558.exp: New file.
375 * gdb.arch/gdb1558.c: New file.
376
b2ce2854
EZ
3772004-02-19 Elena Zannoni <ezannoni@redhat.com>
378
379 * gdb.base/nodebug.exp: Fix typo.
380
e7c9ff01
JB
3812004-02-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
382
383 Committed by Jim Blandy <jimb@redhat.com>.
384
62f4b920
JB
385 * gdb.objc/basicclass.exp: Adapt to fixed return type of printHi.
386
2db536a1
JB
387 * gdb.base/dump.exp: Handle negative offsets in decimal, not hex.
388
e7c9ff01
JB
389 * gdb.base/float.exp: Support s390*-*-* targets.
390
f3205b34
AF
3912004-02-17 Adam Fedor <fedor@gnu.org>
392
393 * gdb.base/gdb1555.exp: New file.
394 * gdb.base/gdb1555-main.c, gdb.base/gdb1555.c: New files.
395
9d62932d
EZ
3962004-02-17 Elena Zannoni <ezannoni@redhat.com>
397
398 * gdb.base/selftest.exp (do_steps_and_nexts): Add comment.
399
344c9711
FF
4002004-02-16 Fred Fish <fnf@redhat.com>
401
402 * gdb.arch/gdb1291.c: Remove
403 * gdb.arch/gdb1291.s: New test input file.
404 * gdb.arch/gdb1291.exp: Expand test to check case that should not
405 fail. Test for correct result, known incorrect result, other
406 failures and timeouts.
407
2d822687
AC
4082004-02-16 Andrew Cagney <cagney@redhat.com>
409
410 * gdb.base/bigcore.exp: New file.
411 * gdb.base/bigcore.c: New file.
412
dac15b66
AC
4132004-02-13 Andrew Cagney <cagney@redhat.com>
414
415 * gdb.mi/mi1-basics.exp, gdb.mi/mi1-break.exp: Delete file.
416 * gdb.mi/mi1-console.exp, gdb.mi/mi1-disassemble.exp: Delete file.
417 * gdb.mi/mi1-eval.exp, gdb.mi/mi1-hack-cli.exp: Delete file.
418 * gdb.mi/mi1-pthreads.exp, gdb.mi/mi1-read-memory.exp: Delete file.
419 * gdb.mi/mi1-regs.exp, gdb.mi/mi1-return.exp: Delete file.
420 * gdb.mi/mi1-simplerun.exp, gdb.mi/mi1-stack.exp: Delete file.
421 * gdb.mi/mi1-stepi.exp, gdb.mi/mi1-symbol.exp: Delete file.
422 * gdb.mi/mi1-until.exp, gdb.mi/mi1-var-block.exp: Delete file.
423 * gdb.mi/mi1-var-child.exp, gdb.mi/mi1-var-cmd.exp: Delete file.
424 * gdb.mi/mi1-var-display.exp, gdb.mi/mi1-watch.exp: Delete file.
425
6bdfc2c4
JJ
4262004-02-11 Jeff Johnston <jjohnstn@redhat.com>
427
428 * gdb.asm/ia64.inc (gdbasm_startup): Make sure first instruction
429 executed is an alloc instruction.
430
87b3ede8
DC
4312004-02-11 David Carlton <carlton@kealia.com>
432
433 * gdb.cp/breakpoint.exp: New.
434 * gdb.cp/breakpoint.cc: New.
435
6e19e2bf
MC
4362004-02-11 Michael Chastain <mec.gnu@mindspring.com>
437
438 Partial fix for PR gdb/1543.
439 * gdb.cp/ambiguous.exp, gdb.cp/annota2.exp, gdb.cp/annota3.exp,
440 gdb.cp/anon-union.exp, gdb.cp/casts.exp, gdb.cp/classes.exp,
441 gdb.cp/cplusfuncs.exp, gdb.cp/ctti.exp, gdb.exp/demangle.exp,
442 gdb.cp/derivation.exp, gdb.cp/exception.exp, gdb.cp/hang.exp,
443 gdb.cp/inherit.exp, gdb.cp/local.exp, gdb.cp/maint.exp,
444 gdb.cp/member-ptr.exp, gdb.cp/method.exp, gdb.cp/misc.exp,
445 gdb.cp/namespace.exp, gdb.cp/overload.exp, gdb.cp/ovldbreak.exp,
446 gdb.cp/psmang.exp, gdb.cp/ref-types.exp, gdb.cp/templates.exp,
447 gdb.cp/userdef.exp, gdb.cp/virtfunc.exp: Remove reference
448 to bug-gdb@prep.ai.mit.edu .
449 * gdb.cp/bs15503.cc, gdb.cp/class2.cc, gdb.cp/cttiadd.cc,
450 gdb.cp/cttiadd1.cc, gdb.cp/cttiadd2.cc, gdb.cp/cttiadd3.cc,
451 gdb.cp/exception.cc, gdb.cp/member-ptr.cc, gdb.cp/namespace1.cc:
452 Likewise.
453
5c5455dc
AC
4542004-02-10 Andrew Cagney <cagney@redhat.com>
455
456 * lib/gdb.exp (gdb_expect_list): Recover from internal-errors
457 using gdb_internal_error_resync.
458
9cf689d7
DJ
4592004-02-09 Daniel Jacobowitz <drow@mvista.com>
460
461 * gdb.threads/thread-specific.exp: Stop early if no threads are
462 found.
463
d2dc51db
MC
4642004-02-09 Michael Chastain <mec.gnu@mindspring.com>
465
466 * gdb.base/pending.exp: Remove extra \n from gdb_test calls.
467
14b1a056
DJ
4682004-02-08 Daniel Jacobowitz <drow@mvista.com>
469
470 * lib/gdb.exp (gdb_breakpoint): Fail on unexpected pending
471 breakpoints.
472
83f66e8f
DJ
4732004-02-07 Daniel Jacobowitz <drow@mvista.com>
474
475 * config/sim.exp (gdb_load): Handle $arg == "".
476 * lib/gdb.exp (gdb_run_cmd): Honor gdb,do_reload_on_run.
477 * gdb.objc/basicclass.exp: Use gdb_run_cmd.
478
30fc0091
EZ
4792004-02-07 Elena Zannoni <ezannoni@redhat.com>
480
481 * gdb.base/maint.exp: Update test to reflect
482 obstack changes.
483
4d806929
JJ
4842004-02-04 Jeff Johnston <jjohnstn@redhat.com>
485
486 * gdb.base/pendshr.c (pendfunc): New function that calls
487 pendfunc1.
488 * gdb.base/pending.c: Call pendfunc instead of pendfunc1.
489
7bfdd688
FF
4902004-02-04 Fred Fish <fnf@redhat.com>
491
492 * gdb.arch/gdb1431.c: Add underbar prefixed version of global
493 function symbols and update copyright years.
494 * gdb.arch/gdb1291.c: Ditto.
495
aaa08ee4
MC
4962004-02-03 Michael Chastain <mec.gnu@mindspring.com>
497
498 * gdb.cp/virtfunc.exp: Accept both "ctor()" and "ctor(void)".
499
dbad7755
MC
5002004-02-03 Michael Chastain <mec.gnu@mindspring.com>
501
502 * gdb.cp/inherit.exp: Accept both "ctor()" and "ctor(void)".
503
ec4646ef
MC
5042004-02-03 Michael Chastain <mec.gnu@mindspring.com>
505
506 * gdb.cp/inherit.exp: Accept output with gcc 3.2-7-rh.
507
1b802196
FF
5082004-02-02 Fred Fish <fnf@redhat.com>
509
510 * gdb.base/bang.exp: Use gdb_run_cmd so this tests works with
511 remote targets. Update copyright years.
512
18fe2033
JJ
5132004-02-02 Jeff Johnston <jjohnstn@redhat.com>
514
515 * lib/gdb.exp (gdb_breakpoint): Add pending breakpoint
516 support.
517 * gdb.base/langs.exp: Fix test which attempts to create
518 breakpoint on non-existent function to handle new pending
519 support.
520 * gdb.base/shlib-call.exp: Use gdb_breakpoint to set
521 a breakpoint.
522 * gdb.base/pending.exp: New test.
523 * gdb.base/pending.c: New file.
524 * gdb.base/pendshr.c: Ditto.
525
8d577d32
DC
5262004-02-02 David Carlton <carlton@kealia.com>
527
528 * gdb.cp/overload.exp: Add overloadNamespace tests.
529 * gdb.cp/overload.cc (dummyClass, dummyInstance): New.
530 (overloadNamespace, XXX): New.
531 (main): Call XXX::marker2.
532
3ad13771
FF
5332004-02-01 Fred Fish <fnf@redhat.com>
534
535 * gdb.base/dump.exp: Use runto_main instead of "runto main".
536 * gdb.base/finish.exp: Ditto.
537 * gdb.base/gcore.exp: Ditto.
538 * gdb.base/huge.exp: Ditto.
539 * gdb.base/info-proc.exp: Ditto.
540 * gdb.base/return2.exp: Ditto.
541 * gdb.threads/gcore-thread.exp: Ditto.
542
44c75849
DJ
5432004-02-01 Daniel Jacobowitz <drow@mvista.com>
544
545 * gdb.threads/thread-specific.exp: Add missing anchor to regexp.
546
005bc093
MK
5472004-02-01 Mark Kettenis <kettenis@gnu.org>
548
549 * gdb.base/fileio.c (test_open): Replace O_RDONLY with O_RDWR such
550 that opening the file succeeds on OpenBSD.
551
c47cebdb
DJ
5522004-02-01 Daniel Jacobowitz <drow@mvista.com>
553
554 * gdb.threads/thread-specific.c: New file.
555 * gdb.threads/threads-specific.exp: New test script.
556 * lib/gdb.exp (gdb_test_multiple): Allow user patterns access
557 to expect_out.
558
5a01311c
MK
5592004-02-01 Mark Kettenis <kettenis@gnu.org>
560
561 * gdb.base/call-ar-st.exp: Call get_debug_format. Remove xfail on
562 sparc*-*-solaris* into a kfail PR gdb/1539 on sparc-*-* for stabs
563 only on the "print_small_structs from print_long_arg_list" test.
564
ce22a4f1
DJ
5652004-02-01 Daniel Jacobowitz <drow@mvista.com>
566
567 * gdb.base/completion.exp: Kill a stray backslash.
568
569 From Jim Ingham <jingham@apple.com>:
570 * gdb.base/completion.exp: Test that "complete file ./gdb.base/compl"
571 agrees with the result from sending a tab.
572
abbab9d3
DJ
5732004-01-31 Daniel Jacobowitz <drow@mvista.com>
574
575 * gdb.base/chng-syms.exp: Remove stray newline.
576
53904d1e
MK
5772004-01-31 Mark Kettenis <kettenis@gnu.org>
578
579 * gdb.asm/asm-source.exp: Set asm-note to "openbsd" for
580 *-*-openbsd*.
581 * gdb.asm/openbsd.inc: New file.
582
3a4b3aac
MK
5832004-01-30 Mark Kettenis <kettenis@gnu.org>
584
585 * gdb.asm/asm-source.exp: Strip -Wl, from link-flags. Don't
586 append -static to link-flags for *-*-freebsd*, *-*netbsd* and
587 *-*solaris2*. Remove commented out default settings for
588 asm-flags. Replace gdb_compile with target_link.
589
ebac27b4
MC
5902004-01-29 Michael Chastain <mec.gnu@mindspring.com>
591
592 * gdb.cp/inherit.exp: Rewrite. Use gdb_test_multiple and gdb
593 for all tests. Remove old hp-ux and cygnus xfail cases.
594
d8679d84
PH
5952004-01-29 Paul N. Hilfinger <Hilfinger@gnat.com>
596
597 * gdb.base/chng-syms.exp: New file.
598 * gdb.base/chng-syms.c: New file.
599
0a55bc22
MC
6002004-01-24 Michael Chastain <mec.gnu@mindspring.com>
601
602 * gdb.cp/local.exp: Rewrite "ptype Local". Add "ptype l".
603 Provide arms for current output in all my configurations.
604
94b8e876
MC
6052004-01-24 Michael Chastain <mec.gnu@mindspring.com>
606
607 * lib/compiler.c: Add hp_cc_compiler and hp_aCC_compiler.
608 * lib/compiler.cc: Likewise.
609 * lib/gdb.exp (get_compiler_info): Always call gdb_compile to
610 get the right preprocessor. Eval the output directly. Remove
611 special tests for hp_cc_compiler and hp_aCC_compiler. Remove
612 hp_f77_compiler and hp_f90_compiler completely.
613 (gdb_preprocess): Delete.
614 (get_compiler): Delete.
615
7cf03d44
MK
6162004-01-24 Mark Kettenis <kettenis@gnu.org>
617
618 * gdb.base/charset.c, gdb.base/dump.c, gdb.base/huge.c: Include
619 <string.h>.
620
68b6dce9
NR
6212004-01-24 Nick Roberts <nick@nick.uklinux.net>
622
623 * gdb.mi/mi-stack.exp: Update copyright.
624
b368761e
DC
6252004-01-23 David Carlton <carlton@kealia.com>
626
627 * gdb.cp/rtti.exp: Don't include full path in ${srcfile}. Add
628 test for cp_lookup_transparent_type.
629 * gdb.cp/rtti1.cc: Update copyright. Add n2::func and refer_to;
630 call them.
631
f2061b53
DJ
6322004-01-23 Daniel Jacobowitz <drow@mvista.com>
633
634 * gdb.mi/mi-var-child.exp: Update copyright year. Move new test
635 after -var-update.
636
37fc574a
DC
6372004-01-23 David Carlton <carlton@kealia.com>
638
639 * gdb.cp/namespace.cc (C::ensureRefs): New.
640 * gdb.cp/namespace1.cc (C::ensureOtherRefs): New.
641
8e94b928
NR
6422004-01-20 Nick Roberts <nick@nick.uklinux.net>
643
644 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Test for
645 case "-stack-list-locals 2".
646 * gdb.mi/mi-var-child.exp: Test for case
647 "-var-list-children --all-values NAME".
648
997b0952
MC
6492004-01-18 Michael Chastain <mec.gnu@mindspring.com>
650
651 * gdb.cp/local.exp: Accept correct output for gcc v3 -gstabs+.
652
52470da3
MK
6532004-01-18 Mark Kettenis <kettenis@gnu.org>
654
7049b4b8
MK
655 * gdb.base/fileio.exp: Add "$gdb_prompt $" anchors to patterns
656 used with gdb_test_multiple.
657
52470da3
MK
658 * gdb.base/gdb1476.exp: Accept alternat pattern for failed memory
659 read at address 0. This fixes PR testsuite/1504.
660
da6012e5
DJ
6612004-01-18 Daniel Jacobowitz <drow@mvista.com>
662
663 * config/gdbserver.exp (gdbserver_gdb_load): Rename from gdb_load.
664 Remove downloading, guessing the host executable, the calls to
665 gdb_file_cmd and gdb_target_cmd, and "load" support.
666 (infer_host_exec): New function broken out from gdb_load.
667 (gdb_load): New wrapper for gdbserver_gdb_load.
668 * lib/mi-support.exp (mi_gdb_target_cmd): New function, based on
669 gdb_target_cmd. Use -target-select.
670 (mi_gdb_file_cmd): New function, broken out from mi_gdb_load.
671 Download binaries to the host. Clear last_mi_remote_file when
672 we load a new binary.
673 (mi_gdb_load): Call mi_gdb_file_cmd. If gdbserver.exp is loaded,
674 call gdbserver_gdb_load and mi_gdb_target_cmd.
675
32c70722
MC
6762004-01-17 Michael Chastain <mec.gnu@mindspring.com>
677
678 * gdb.cp/templates.exp: Accept more spaces with "<foo, ?bar>"
679 type patterns.
680
b0cecf36
MC
6812004-01-17 Michael Chastain <mec.gnu@mindspring.com>
682
683 * gdb.cp/templates.exp: Fix typo in test name of
684 "print Foo<volatile char*>::foo".
685
4120d7e6
MC
6862004-01-15 Michael Chastain <mec.gnu@mindspring.com>
687
688 * gdb.base/setvar.exp: Remove setup_xfail for hppa*-*-*11*.
689
f679e530
BE
6902004-01-16 Ben Elliston <bje@wasabisystems.com>
691
692 * gdb.arch/Makefile.in (MISCELLANEOUS): Remove.
693 (clean mostlyclean): Remove empty rm.
694
091c48f6
MC
6952004-01-15 Michael Chastain <mec.gnu@mindspring.com>
696
697 * gdb.base/setvar.exp: Add copyright years.
698
3e5fc8d2
DC
6992004-01-14 David Carlton <carlton@bactrian.org>
700
701 * gdb.cp/rtti.exp: Update copyright. KFAIL test with repect to
702 PR c++/1511 and update coment.
703 * gdb.cp/templates.exp: Update patterns to match current output.
704 If changes involve something other than whitespace, KFAIL
705 w.r.t. PR c++/1512 or PR c++/931 as appropriate.
706
63d06c5c
DC
7072004-01-14 David Carlton <carlton@kealia.com>
708
709 * gdb.cp/namespace.exp: Add tests involving classes defined within
710 namespaces.
711 * gdb.cp/namespace.cc (C::CClass): New.
712 * gdb.cp/namespace1.cc (C::OtherFileClass): New.
713
a51dab88
EZ
7142004-01-14 Elena Zannoni <ezannoni@redhat.com>
715
716 * gdb.base/sepdebug.exp: Bail out of the test if we don't know
717 what debug info we have. Print a better message if something goes
718 wrong while producing the separate debug info file.
719
a476ccc9
MC
7202004-01-14 Michael Chastain <mec.gnu@mindspring.com>
721
722 * gdb.base/callfuncs.c: Remove explicit declaration of malloc.
723
f453692c
MC
7242004-01-14 Michael Chastain <mec.gnu@mindspring.com>
725
726 * gdb.base/callfuncs.c: Add copyright notice.
727
f40063a5
MC
7282004-01-13 Michael Chastain <mec.gnu@mindspring.com>
729
730 * gdb.cp/derivation.exp: Add XFAIL for bug with protected
731 inheritance. PR gdb/1498, PR gcc/13539.
732
19ac3974
EZ
7332004-01-13 Elena Zannoni <ezannoni@redhat.com>
734
735 * gdb.threads/gcore-thread.exp: Prefix name of binary with
736 test specific name.
737 * gdb.mi/gdb669.exp: Ditto.
738 * gdb.mi/mi-pthreads.exp: Ditto.
739 * gdb.mi/mi1-pthreads.exp: Ditto.
740 * gdb.mi/mi2-pthreads.exp: Ditto.
741
56c97c6e
MC
7422004-01-12 Michael Chastain <mec.gnu@mindspring.com>
743
744 * gdb.cp/member-ptr.cc: Add copyright notice.
745
a0644324
MC
7462004-01-12 Michael Chastain <mec.gnu@mindspring.com>
747
748 * gdb.cp/member-ptr.exp: Use gdb_test, gdb_test_multiple. Add
749 some patterns for recent versions of gcc and hpacc. Delete
750 calls to setup_xfail for hppa*-*-*. Delete redundant tests.
751 Delete tests that access a NULL pointer-to-member-data. This
752 script is still disabled for gcc.
753
32fabe09
EZ
7542004-01-12 Elena Zannoni <ezannoni@redhat.com>
755
756 * gdb.mi/mi2-basics.exp: Make sure that full pathnames are
757 escaped correctly.
758
1f8a6abb
EZ
7592004-01-12 Elena Zannoni <ezannoni@redhat.com>
760
761 * gdb.base/sepdebug.exp: New file.
762 * gdb.base/sepdebug.c: New file.
763 * lib/gdb.exp (separate_debug_filename): New procedure.
764 (gdb_gnu_strip_debug): New procedure.
765
48efe704
AC
7662004-01-12 Andrew Cagney <cagney@redhat.com>
767
768 * gdb.mi/ChangeLog: Delete file. Renamed to ...
769 * gdb.mi/ChangeLog-1999-2003: New file.
770
a9415475
AC
7712004-01-12 Andrew Cagney <cagney@redhat.com>
772
773 * gdb.base/fileio.exp: Update copyright year. On GNU/Linux, for
774 "Renaming a directory to a non-empty directory returns ENOTEMPTY
775 or EEXIST", treat EBUSY as an XFAIL.
776
83b8cf9d
MC
7772004-01-11 Michael Chastain <mec.gnu@mindspring.com>
778
779 * gdb.base/scope.exp: Remove obsolete setup_xfail for
780 hp_cc_compiler.
781
9939d2a8
MC
7822004-01-10 Michael Chastain <mec.gnu@mindspring.com>
783
784 * gdb.cp/classes.exp: Remove old "(obsolescent gcc or gdb)"
785 decorations.
786
1ff8cadf
MC
7872004-01-10 Michael Chastain <mec.gnu@mindspring.com>
788
789 * gdb.cp/virtfunc.exp: Remove old "(obsolescent gcc or gdb)"
790 and "(aCC)" decorations. Remove obsolete doco about old
791 test results.
792
6fa9022e
MC
7932004-01-09 Michael Chastain <mec.gnu@mindspring.com>
794
795 * gdb.cp/exception.exp: Fix typo in doco.
796
209721fe
MK
7972004-01-09 Mark Kettenis <kettenis@gnu.org>
798
799 * gdb.base/gdb1476.exp: Fix typo.
800
ef11303e
MC
8012004-01-09 Michael Chastain <mec.gnu@mindspring.com>
802
803 * gdb.hp/gdb.aCC/exception.exp: Re-create as a nearly empty
804 file.
805
041ab88c
MC
8062004-01-09 Michael Chastain <mec.gnu@mindspring.com>
807
808 * gdb.cp/exception.cc: Change <iostream.h> to <iostream>.
809 * gdb.cp/exception.exp: Use gdb test, gdb_test_multiple.
810 Use gdb_compile. Remove restriction on gcc. Add some patterns
811 for recent version of gdb. Delete second half, which was a copy
812 of the first half with different build flags. This test is
813 still disabled because it is still not ready for production.
814
e36d075a
MC
8152004-01-08 Michael Chastain <mec.gnu@mindspring.com>
816
817 * gdb.cp/exception.cc: Add copyright notice.
818 * gdb.cp/exception.exp: Add a notice that this file is broken
819 because of line number changes caused by addition of copyright
820 notice.
821
42b190ad
MC
8222004-01-08 Michael Chastain <mec.gnu@mindspring.com>
823
824 * gdb.cp/exception.cc: Renamed from gdb.hp/gdb.aCC/exception.cc.
825 * gdb.cp/exception.exp: Renamed from gdb.hp/gdb.aCC/exception.exp.
826
8f25f06b
MC
8272004-01-08 Michael Chastain <mec.gnu@mindspring.com>
828
829 * gdb.cp/classes.exp: Accept gnu abi 2.
830 * gdb.cp/derivation.exp: Likewise.
831 * gdb.cp/overload.exp: Likewise.
832 * gdb.cp/virtfunc.exp: Likewise.
833
06ded8b8
MC
8342004-01-08 Michael Chastain <mec.gnu@mindspring.com>
835
836 * gdb.mi/pthreads.c (done_making_threads): Remove extraneous
837 semicolon after end of function.
838
77c26ae3
MC
8392004-01-07 Michael Chastain <mec.gnu@mindspring.com>
840
841 * gdb.cp/bs15503.cc: Include <iostream>, not <iostream.h>.
842 * gdb.cp/bs15503.exp: Remove hp-only restriction. Use modern
843 boilerplate code for compiling and running the program under
844 test. Add some string method tests.
845
20757486
MC
8462004-01-07 Michael Chastain <mec.gnu@mindspring.com>
847
848 * gdb.cp/bs15503.cc: Add copyright notice.
849 * gdb.cp/bs15503.exp: Adjust line number.
850
0fd3b503
MC
8512004-01-07 Michael Chastain <mec.gnu@mindspring.com>
852
853 * gdb.hp/gdb.defects/bs15503.exp: Renamed to gdb.cp/bs15503.exp.
854 * gdb.hp/gdb.defects/bs15503.cc: Renamed to gdb.cp/bs15503.cc.
855
10d1bea8
MC
8562004-01-07 Michael Chastain <mec.gnu@mindspring.com>
857
858 * gdb.base/funcargs.exp: Remove obsolete setup_xfail for
859 hp_cc_compiler.
860
2789202a
MC
8612004-01-07 Michael Chastain <mec.gnu@mindspring.com>
862
863 * gdb.cp/cttiadd.c: Add a marker for gdb_get_line_number.
864 * gdb.cp/ctti.exp: Use the marker instead of "next".
865 With gcc, run further before bailing.
866
b862f14c
MC
8672004-01-07 Michael Chastain <mec.gnu@mindspring.com>
868
869 * gdb.cp/cttiadd.cc: Add copyright notice.
870 * gdb.cp/cttiadd1.cc: Likewise.
871 * gdb.cp/cttiadd2.cc: Likewise.
872 * gdb.cp/cttiadd3.cc: Likewise.
873
96da2469
MC
8742004-01-07 Michael Chastain <mec.gnu@mindspring.com>
875
876 * gdb.cp/ctti.exp: Partial rewrite. Call gdb_compile properly.
877 Use gdb_test, gdb_test_multiple. Use floating-point values that
878 have exact representations in IEEE-ish formats.
879
053248ff
MC
8802004-01-07 Michael Chastain <mec.gnu@mindspring.com>
881
882 * gdb.base/constvars.exp: Do not force lang=c++ if using HP
883 compilers. Delete duplicate call to get_compiler_info.
884 (local_compiler_xfail_check): setup_xfail if $hp_cc_compiler.
885 * gdb.base/volatile.exp: Likewise.
886
84acecdd
MK
8872004-01-07 Mark Kettenis <kettenis@gnu.org>
888
889 * gdb.base/gdb1476.exp: Only run the tests if we can't read the
890 memory at address 0.
891
fe11a27f
MC
8922004-01-07 Michael Chastain <mec.gnu@mindspring.com>
893
894 * gdb.stabs/weird.exp: Use hp_cc_compiler and hp_aCC_compiler
895 to test for hp-ux assembler. Fix copyright years.
896
60ad077b
AC
8972004-01-07 Andrew Cagney <cagney@redhat.com>
898
899 * gdb.base/fileio.c (strerrno): Add "EBUSY".
900
1c9b8f33
AC
9012004-01-07 Andrew Cagney <cagney@redhat.com>
902
903 * gdb.base/fileio.c (test_open): Do not pass S_IWUSR to "open"
904 when creating the read-only file. From analysis by Roland McGrath
905 and Elena Zannoni.
906
753ccc7a
MC
9072004-01-06 Michael Chastain <mec.gnu@mindspring.com>
908
909 * gdb.cp/namespace.exp: Call get_compiler_info with "c++".
910
eca3e36b
MC
9112004-01-06 Michael Chastain <mec.gnu@mindspring.com>
912
913 * gdb.base/cvexpr.c: Be type-safe with function pointers and
914 data pointers.
915
f8d4bac4
MC
9162004-01-06 Michael Chastain <mec.gnu@mindspring.com>
917
918 * gdb.cp/m-static.exp: Compile one source file at a time.
919 Delete unused call to get_compiler_info.
920
9b4e0f94
MC
9212004-01-06 Michael Chastain <mec.gnu@mindspring.com>
922
923 * gdb.base/call-ar-st.exp: Delete explicit reference to ${binfile}.ci.
924 * gdb.base/call-rt-st.exp: Likewise.
925 * gdb.base/nodebug.exp: Likewise.
926 * gdb.base/volatile.exp: Likewise.
927 * gdb.cp/ref-types.exp: Likewise.
928 * gdb.cp/templates.exp: Likewise.
929
023c1024
MK
9302004-01-05 Mark Kettenis <kettenis@gnu.org>
931
932 * gdb.base/gdb1476.exp, gdb.base/gdb1476.c: New files.
933
19703c4a
MC
9342004-01-05 Michael Chastain <mec.gnu@mindspring.com>
935
936 * gdb.cp/funcargs.exp: Delete special timeout of 240 seconds for
937 hppa*-hp-hpux*.
938
18b67037
MK
9392004-01-04 Mark Kettenis <kettenis@gnu.org>
940
ba6219c8
MK
941 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
942 x86_64-*-*.
943
18b67037
MK
944 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
945 sparc64-*-* and sparc*-solaris2*.
946
1bfbbb9d
MK
9472004-01-04 Mark Kettenis <kettenis@gnu.org>
948
949 * gdb.base/structs.exp: Remove ${testfile} from "zed L<n> for
950 return ${tests}" test. The ${tests} already mentions the
951 filename.
952
06846494
MC
9532004-01-02 Michael Chastain <mec.gnu@mindspring.com>
954
955 * gdb.cp/local.exp: Accept gcc abi 2.
956
3b0cb202
MC
9572004-01-02 Michael Chastain <mec.gnu@mindspring.com>
958
959 * gdb.cp/templates.exp: Accept gcc abi 2.
960
0643ec3f
MC
9612004-01-02 Michael Chastain <mec.gnu@mindspring.com>
962
963 * lib/compiler.cc: Remove supports_template_debugging.
964 * gdb.cp/templates.exp: Do not test supports_template_debugging.
965
d231d0b1
MC
9662004-01-01 Michael Chastain <mec.gnu@mindspring.com>
967
968 * gdb.cp/namespace.exp: Accept gcc abi 2.
969
44ffb27c
MC
9702004-01-01 Michael Chastain <mec.gnu@mindspring.com>
971
972 * gdb.cp/method.exp: Accept gcc abi 2.
973
184ad485
MC
9742004-01-01 Michael Chastain <mec.gnu@mindspring.com>
975
976 * gdb.cp/classes.exp: Generate identical results as old version.
977 * gdb.cp/derivation.exp: Likewise.
978 * gdb.cp/overload.exp: Likewise.
979 * gdb.cp/virtfunc.exp: Likewise.
980
116f09e7
MC
9812004-01-01 Michael Chastain <mec.gnu@mindspring.com>
982
983 * gdb.cp/virtfunc.exp: Modify some patterns to avoid a
984 mysterious bug with sourceware version of expect.
985
b1379776
MC
9862004-01-01 Michael Chastain <mec.gnu@mindspring.com>
987
988 * gdb.cp/overload.exp: Rewrite. Clean up patterns to match
989 current versions of gcc, including gcc abi 2. Remove gratuitous
990 restart of test program. Use gdb_test_multiple and gdb_test for
991 all tests. Add patterns to xfail missing "const" in "const char *"
992 and kfail PR gdb/1155.
993
6b7a4c0e
MC
9942004-01-01 Michael Chastain <mec.gnu@mindspring.com>
995
996 * gdb.cp/derivation.exp: Rewrite. Clean up patterns to match
997 current versions of gcc, including gcc abi 2. Remove gratuitous
998 restart of test program. Use gdb_test_multiple and gdb_test for
999 all tests. Add patterns to kfail PR gdb/1498.
1000
51615d72
MC
10012003-12-31 Michael Chastain <mec.gnu@mindspring.com>
1002
1003 * gdb.cp/virtfunc.exp: Rewrite. Clean up patterns to match
1004 current versions of gcc, including gcc abi 2. Use "breakpoint"
1005 and "continue" instead of restarting the target program. Use
1006 gdb_test_multiple and gdb_test for all tests.
1007
7b79a9d7
MK
10082004-01-01 Mark Kettenis <kettenis@gnu.org>
1009
1010 * gdb.asm/asm-source.exp: Update copyright year. Link statically
1011 for *-*-solaris2*.
1012
1cd3489f
MC
10132003-12-31 Michael Chastain <mec.gnu@mindspring.com>
1014
1015 * gdb.cp/classes.exp: Rewrite. Clean up patterns to match
1016 current versions of gcc, including gcc abi 2. Use "breakpoint"
1017 and "continue" instead of restarting the target program several
1018 times. Use gdb_test_multiple and gdb_test for all tests.
1019
850742db
MC
10202003-12-18 Michael Chastain <mec.gnu@mindspring.com>
1021
1022 * gdb.base/sect-cmd.exp: Handle compiling test case from multiple
1023 source files.
1024
eb4bbda8
MC
10252003-12-16 Michael Chastain <mec.gnu@mindspring.com>
1026
1027 * gdb.base/environ.exp: Handle compiling test case from multiple
1028 source files.
1029
e42c7771
MC
10302003-12-16 Michael Chastain <mec.gnu@mindspring.com>
1031
1032 * gdb.base/structs.exp: Call gdb_exit as well as gdb_start.
1033
80e4b428
JB
10342003-12-17 Jim Blandy <jimb@redhat.com>
1035
5f06973a
JB
1036 * gdb.base/freebpcmd.c: Add copyright notice.
1037
80e4b428
JB
1038 * gdb.base/freebpcmd.exp: Mark the interesting failure as known.
1039
0ab84fb7
MC
10402003-12-16 Michael Chastain <mec.gnu@mindspring.com>
1041
1042 * gdb.base/maint.exp: Add generic FAIL patterns to prevent timeouts.
1043
1b3bb3d0
JB
10442003-12-13 Jim Blandy <jimb@redhat.com>
1045
1046 * gdb.base/freebpcmd.exp, gdb.base/freebpcmd.c: New test.
1047
3a4c9371
KB
10482003-12-12 Kevin Buettner <kevinb@redhat.com>
1049
1050 * gdb.asm/frv.inc: New file.
1051 * gdb.asm/asm-source.exp: Add frv-*-* as a supported target.
1052
a1dea79a
FF
10532003-12-09 Fred Fish <fnf@redhat.com>
1054
1055 * gdb.base/break.c (marker1, marker2, marker3, marker4): Move
1056 functions to break1.c and leave prototypes behind. Add more
1057 "set breakpoint NN here" comments.
1058 * gdb.base/break1.c: New file.
1059
1060 * gdb.base/break.exp: Handle compiling test case from multiple
1061 source files and change source file references as needed.
1062 * gdb.base/completion.exp: Ditto.
1063 * gdb.base/condbreak.exp: Ditto.
1064 * gdb.base/define.exp: Ditto.
1065 * gdb.base/ena-dis-br.exp: Ditto.
1066 * gdb.base/info-proc.exp: Ditto.
1067 * gdb.base/maint.exp: Ditto.
1068 * gdb.base/until.exp: Ditto.
1069
1070 * gdb.base/condbreak.exp: Use bp_locationNN variables instead of
1071 hardcoded line numbers.
1072 * gdb.base/define.exp: Ditto.
1073 * gdb.base/ena-dis-br.exp: Ditto.
1074 * gdb.base/maint.exp: Ditto.
1075 * gdb.base/until.exp: Ditto.
1076
1077 * gdb.base/completion.exp: Use "break1" for completion tests since
1078 "break" is no longer a unique prefix.
1079
5266b69c
AC
10802003-12-06 Andrew Cagney <cagney@redhat.com>
1081
1082 * gdb.base/structs.exp (test_struct_returns): When applicable, set
1083 "return_value_unimplemented". When an unimplemented struct return
1084 architecture, report incorrect values as a KFAIL
1085
374451f0
MC
10862003-12-05 Michael Chastain <mec.gnu@mindspring.com>
1087
1088 * gdb.cp/rtti.exp: Accept new wording of warning from
1089 cp_lookup_rtti_type.
1090
ba9b20a7
MC
10912003-12-05 Michael Chastain <mec.gnu@mindspring.com>
1092
1093 Partial fix for PR testsuite/1456.
1094 * gdb.base/scope.exp (test_at_main): Replace references to
1095 gcc_compiled with calls to test_compiler_info.
1096 (test_at_foo): Likewise.
1097 (test_at_bar): Likewise.
1098
b74b6d0b
MC
10992003-12-04 Michael Chastain <mec.gnu@mindspring.com>
1100
1101 Partial fix for PR testsuite/1456.
1102 * gdb.base/so-impl-ld.exp: Replace reference to gcc_compiled with call
1103 to test_compiler_info.
1104
ccfa3402
MC
11052003-12-03 Michael Chastain <mec.gnu@mindspring.com>
1106
1107 * gdb.base/so-impl-ld.exp: Update copyright notice.
1108
f6246aba
MC
11092003-12-02 Michael Chastain <mec.gnu@mindspring.com>
1110
1111 Partial fix for PR testsuite/1456.
1112 * gdb.base/mips_pro.exp: Replace references to gcc_compiled with calls
1113 to test_compiler_info.
1114
13ae734a
MC
11152003-11-28 Michael Chastain <mec.gnu@mindspring.com>
1116
1117 * gdb.objc/objcdecode.exp: Match and KFAIL the output that comes
1118 from current versions of gdb. Clean up regular expressions.
1119 Delete redundant timeout case.
1120
d8e1cdee
MC
11212003-11-28 Michael Chastain <mec.gnu@mindspring.com>
1122
1123 * gdb.objc/nondebug.exp: Match and KFAIL the output that comes
1124 from current versions of gdb. Clean up regular expressions.
1125 Delete redundant timeout case.
1126
96457b64
MC
11272003-12-01 Michael Chastain <mec.gnu@mindspring.com>
1128
1129 Partial fix for PR testsuite/1456.
1130 * gdb.base/callfuncs.exp (do_function_calls): Replace reference to
1131 gcc_compiled with call to test_compiler_info.
1132
f35309fc
MC
11332003-11-30 Michael Chastain <mec.gnu@mindspring.com>
1134
1135 Partial fix for PR testsuite/1456.
1136 * gdb.base/list.exp (test_list_function): Delete unused declaration
1137 of gcc_compiled.
1138
d7afdf9b
MC
11392003-11-29 Michael Chastain <mec.gnu@mindspring.com>
1140
1141 Partial fix for PR testsuite/1456.
1142 * gdb.base/complex.exp: Replace reference to gcc_compiled with
1143 call to test_compiler_info.
1144
71507b56
MK
11452003-11-29 Mark Kettenis <kettenis@gnu.org>
1146
1147 * gdb.asm/asm-source.exp: Initialize asm-note to "empty". Set
1148 asm-note to "netbsd" for *-*-netbsdelf* and x86_64-*-netbsd*. Use
1149 it to create the appropriate note.inc.
1150 * gdb.asm/asmsrc1.s: Include "note.inc".
1151 * gdb.asm/netbsd.inc: New file.
1152 * gdb.asm/empty.inc: New file.
1153
f81f93f7
MC
11542003-11-28 Michael Chastain <mec.gnu@mindspring.com>
1155
1156 Partial fix for PR testsuite/1456.
1157 * gdb.base/constvars.exp: Replace references to gcc_compiled with
1158 calls to test_compiler_info.
1159
9a77938e
MC
11602003-11-27 Michael Chastain <mec.gnu@mindspring.com>
1161
1162 Partial fix for PR testsuite/1456.
1163 * gdb.base/volatile.exp: Replace references to gcc_compiled with
1164 calls to test_compiler_info.
1165
e8367dc7
MK
11662003-11-27 Mark Kettenis <kettenis@gnu.org>
1167
1168 * gdb.base/structs.exp: Use i*86-*-* instead of i686-*-* as a
1169 pattern for the KFAILs.
1170
526c61ee
AF
11712003-11-25 Adam Fedor <fedor@gnu.org>
1172
1173 * gdb.objc/objcdecode.exp: Test for PR objc/1238.
1174 * gdb.objc/objcdecode.m: New file.
1175
28f2d600
AF
11762003-11-25 Adam Fedor <fedor@gnu.org>
1177
1178 * gdb.objc/nondebug.exp: Test for PR objc/1236.
1179 * gdb.objc/nondebug.m: New file.
1180
a3895cee
BE
11812003-11-26 Ben Elliston <bje@wasabisystems.com>
1182
1183 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
1184 NetBSD as it does on FreeBSD. Modelled on a similar change by
1185 Mark Kettenis on 2003-05-30.
1186 (link-flags): Set to "--entry _start" regardless of target.
1187 Special linker flags are to be appended to $link-flags.
1188 * gdb.asm/mips.inc (gdbasm_startup): Remove __start label.
1189
c9f2c8a3
MC
11902003-11-25 Michael Chastain <mec.gnu@mindspring.com>
1191
1192 * gdb.cp/method.exp: Accept output of new demangler.
1193
15a0587a 11942003-11-25 Michael Chastain <mec.gnu@mindspring.com>
f4e8b6f3
MC
1195
1196 * gdb/class2.exp: New file.
1197 * gdb/class2.cc: New file.
1198
3c00b570
MC
11992003-11-25 Michael Chastain <mec.gnu@mindspring.com>
1200
1201 * gdb.cp/templates.exp (test_ptype_of_templates): Accept output
1202 of new demangler.
1203
7027acc7
MK
12042003-11-23 Mark Kettenis <kettenis@gnu.org>
1205
1206 * gdb.arch/i386-unwind.exp: Use gdb_run_cmd and gdb_expect instead
1207 of gdb_test "run".
1208
b0e1598a
MK
12092003-11-23 Mark Kettenis <kettenis@gnu.org>
1210
1211 * gdb.arch/i386-unwind.exp: Don't use runto_main. Change
1212 "continue" into "run".
1213
4d9eda44
MC
12142003-11-23 Michael Chastain <mec.gnu@mindspring.com>
1215
1216 Partial fix for PR testsuite/1456.
1217 * gdb.cp/ambiguous.exp: Replace reference to gcc_compiled with
1218 call to test_compiler_info.
1219 * gdb.cp/ctti.exp: Likewise.
1220 * gdb.cp/derivation.exp: Likewise.
1221 * gdb.cp/member-ptr.exp: Likewise.
1222 * gdb.cp/virtfunc.exp (test_virtual_calls): Remove unused
1223 reference to gcc_compiled.
1224
12252003-11-23 Michael Chastain <mec.gnu@mindspring.com>
b729099e
MC
1226
1227 Fix PR testsuite/1463.
1228 * gdb.base/structs.exp (start_structs_test): Call
1229 get_debug_format before using the debug format.
1230
d422fe19
AC
12312003-11-22 Andrew Cagney <cagney@redhat.com>
1232
1233 * lib/gdb.exp (gdb_test_multiple): Add simple example.
1234 * gdb.base/structs.exp: Use gdb_test_multiple.
1235
039cf96d
AC
12362003-11-20 Andrew Cagney <cagney@redhat.com>
1237
6882279b
AC
1238 * gdb.base/structs.exp: Handle and recover from internal errors.
1239 Replace "foo${n}" with "foo<n>" in test messages.
1240
e53890ae
AC
1241 * gdb.base/structs.exp: Update copyright. Rewrite.
1242 * gdb.base/structs.c: Update copyright. Rewrite.
1243
2b211c59
AC
1244 * lib/gdb.exp (gdb_internal_error_resync): Issue a perror when the
1245 resync count exceeded.
d63a86f8 1246
039cf96d
AC
1247 * gdb.base/maint.exp: Use gdb_internal_error_resync to recover
1248 from the internal error.
1249 * lib/gdb.exp (gdb_internal_error_resync): New procedure.
1250 Original from Jim Blandy.
1251 (gdb_test_multiple): Use gdb_internal_error_resync.
2b211c59 1252
eac98b22
AC
12532003-11-19 Andrew Cagney <cagney@redhat.com>
1254
1255 * gdb.base/callfuncs.exp: Change the XFAILed descriptor test to a
1256 KFAIL.
1257
67455b2a
MK
12582003-11-17 Mark Kettenis <kettenis@gnu.org>
1259
1260 New testcase for PR backtrace/1435.
1261 * gdb.arch/i386-unwind.exp: New file.
1262 * gdb.arch/i386-unwind.c: New file.
1263
853d6e5b
AC
12642003-11-17 Andrew Cagney <cagney@redhat.com>
1265
1266 * lib/gdb.exp (compiler_info): New global.
1267 (test_compiler_info): New function.
1268 (get_compiler_info): Set compiler_info.
1269 * lib/compiler.c, lib/compiler.cc: Add copyright. When GNUC, set
1270 "compiler_info" to gcc-<major>-<minor>.
1271
38cf6e11
MC
12722003-11-15 Michael Chastain <mec.gnu@mindspring.com>
1273
1274 * gdb.trace/configure: Remove.
1275
a50d3602
EZ
12762003-11-13 Elena Zannoni <ezannoni@redhat.com>
1277
1278 * gdb.base/break.c: Add comments to aid finding line numbers for
d63a86f8 1279 breakpoints.
a50d3602
EZ
1280 * gdb.base/break.exp: Remove all references to explicit line
1281 numbers.
1282
d9407aaa
NC
12832003-11-11 Nick Clifton <nickc@redhat.com>
1284
1285 * gdb.base/shreloc.exp: Do not run for targets which do not
1286 support shared objects.
1287
db488fc1
CV
12882003-11-10 Corinna Vinschen <vinschen@redhat.com>
1289
1290 * gdb.base/fileio.exp: Drop tests for nointerrupts and noinferiorio.
1291 Don't run tests if nofileio flag is given.
1292
6a90a18e
EZ
12932003-11-07 Elena Zannoni <ezannoni@redhat.com>
1294
1295 * gdb.cp/annota3.exp: Make sure we can match 'Hardware watchpoint'
1296 as well as 'Watchpoint'.
1297
0b915e9c
EZ
12982003-11-06 Elena Zannoni <ezannoni@redhat.com>
1299
1300 Reported by Jim Ingham <jingham@apple.com>:
1301 * gdb.base/annota1.exp: Match at least one occurrence of the
1302 signal handler annotation.
1303
d7e4b55f
EZ
13042003-11-06 Elena Zannoni <ezannoni@redhat.com>
1305
1306 * gdb.cp/annota2.exp: Make sure we can match 'Hardware watchpoint'
1307 as well as 'Watchpoint'.
1308
2fe4e8d0
MC
13092003-11-05 Michael Chastain <mec@shout.net>
1310
1311 * gdb.mi/pthreads.c (routine): Handle early return from sleep.
1312
6ef88553
KW
13132003-11-03 Kris Warkentin <kewarken@qnx.com>
1314
1315 * gdb.arch/gdb1291.c: New test file.
1316 * gdb.arch/gdb1291.exp: New test script.
1317 * gdb.arch/gdb1431.c: New test file.
1318 * gdb.arch/gdb1431.exp: New test script.
1319
ae7dc4d8
MC
13202003-10-22 Michael Chastain <mec@shout.net>
1321
1322 * gdb.mi/pthreads.c: Add copyright notice.
1323
c39d7427
MC
13242003-10-22 Michael Chastain <mec@shout.net>
1325
1326 * gdb.threads/pthreads.c: Add copyright notice.
1327
8b7d96c1
MC
13282003-10-20 Michael Chastain <mec@shout.net>
1329
1330 * gdb.base/gdb1056.exp: New test script.
1331
d1d69fdd
DJ
13322003-10-13 Daniel Jacobowitz <drow@mvista.com>
1333
1334 * gdb.threads/killed.exp: Use gdb_run_cmd.
1335
7d605576
DJ
13362003-10-13 Daniel Jacobowitz <drow@mvista.com>
1337
1338 * gdb.base/gcore.exp: Issue an UNSUPPORTED and exit if we can't
1339 create a core file.
1340 * gdb.threads/gcore-thread.exp: Likewise.
1341
618ec112
CV
13422003-10-13 Corinna Vinschen <vinschen@redhat.com>
1343
1344 * gdb.base/call-rt-st.c (struct bit_flags_char_t): New bitfield
1345 type, based on char type.
1346 (struct bit_flags_short_t): New bitfield type, based on short type.
1347 (init_bit_flags_char): New fuction.
1348 (init_bit_flags_short): Ditto.
1349 (print_bit_flags_char): Ditto.
1350 (print_bit_flags_short): Ditto.
1351 (main): Add handling for bit_flags_char_t and bit_flags_short_t.
1352
9367a73c
MC
13532003-10-11 Michael Chastain <mec@shout.net>
1354
1355 * gdb.base/call-rt-st.exp: Update copyright year.
1356
1decf120
KI
13572003-10-10 Kei Sakamoto <sakamoto.kei@renesas.com>
1358
1359 * config/hmsirom.exp: Replace "Hitachi" with "Renesas".
1360 * gdb.disasm/sh3.s: Ditto.
1361
5445b2ae
DJ
13622003-10-07 Daniel Jacobowitz <drow@mvista.com>
1363
1364 * gdb.threads/switch-threads.exp: New test.
1365 * gdb.threads/switch-threads.c: New source file.
1366
aec24853
CV
13672003-10-07 Corinna Vinschen <vinschen@redhat.com>
1368
1369 * gdb.base/ending-run.exp: Add sh specific case.
1370
adc7428d
AC
13712003-10-06 Andrew Cagney <cagney@redhat.com>
1372
1373 * gdb.base/watchpoint.exp: Delete obsolete clear_xfail.
1374 * gdb.disasm/mn10200.exp: Delete obsolete file.
1375
c9d37158
DJ
13762003-09-29 Daniel Jacobowitz <drow@mvista.com>
1377
1378 * ChangeLog: Correct an entry command.exp -> commands.exp.
1379 * gdb.base/commands.exp (bp_deleted_in_command_test)
1380 (temporary_breakpoint_commands): Check noargs.
1381
79c2c32d
DC
13822003-09-25 David Carlton <carlton@kealia.com>
1383
1384 * gdb.cp/namespace.exp: Tweak comments. Add non-quoted versions
1385 of some print tests, where appropriate. Add tests for C::D::cd,
1386 E::ce, F::cXfX, G::XgX.
1387 * gdb.cp/namespace.cc: Add XgX, cXfX, ce.
1388
594e6d67
RE
13892003-09-25 Richard Earnshaw <rearnsha@arm.com>
1390
1391 * lib/java.exp (java_init): Import target_alias before using it.
1392
10f0d451
DC
13932003-09-25 David Carlton <carlton@kealia.com>
1394
1395 * gdb.base/corefile.exp: Delete obsolete setup_xfail.
1396
274bcba0
EZ
13972003-09-23 Elena Zannoni <ezannoni@redhat.com>
1398
d63a86f8 1399 * gdb.base/selftest.exp: Accomodate more instruction reordering
274bcba0
EZ
1400 weirdness.
1401
cdbf20f7
MC
14022003-09-17 Michael Chastain <mec@shout.net>
1403
1404 * gdb.cp/gdb1355.exp: New file.
1405 * gdb.cp/gdb1355.c: New file.
1406
71e06f80
CV
14072003-09-15 Corinna Vinschen <vinschen@redhat.com>
1408
1409 * gdb.asm/asm-source.exp: Add sh*-*-* as supported target.
1410 * gdb.asm/sh.inc: New file.
1411
5c4e30ca
DC
14122003-09-11 David Carlton <carlton@kealia.com>
1413
bd45b7af
DC
1414 * gdb.cp/namespace.exp: Add tests for namespace types.
1415 * gdb.cp/maint.exp (test_help): Test 'help maint cp namespace'.
5c4e30ca
DC
1416 (test_namespace): New.
1417
1c199746
EZ
14182003-09-11 Elena Zannoni <ezannoni@redhat.com>
1419
1420 * gdb.base/relocate.exp: Handle new gdb output at startup.
3fcf0ced 1421 * gdb.stabs/weird.exp: Ditto.
1c199746 1422
04ed252f
MC
14232003-09-08 Michael Chastain <mec@shout.net>
1424
1425 * gdb.base/gdb1250.c: Rename 'gamma' to 'my_gamma'.
1426
d8a2d9e7
MC
14272003-09-07 Michael Chastain <mec@shout.net>
1428
1429 * gdb.cp/classes.exp: Accommodate both 'syntax error' and
1430 'parse error'.
1431
161afb24
MK
14322003-09-07 Mark Kettenis <m.kettenis@osp.nl>
1433
1434 * gdb.arch/i386-prologue.exp: Add checks for saved registers.
1435
49f2741a
MC
14362003-08-30 Michael Chastain <mec@shout.net>
1437
1438 * gdb.base/selftest.exp: Remove support for m68k*-*-hpux.
1439 * gdb.gdb/observer.exp: Ditto.
1440 * gdb.gdb/xfullpath.exp: Ditto.
1441
8afa723e
MK
14422003-08-29 Mark Kettenis <kettenis@gnu.org>
1443
1444 * gdb.base/interrupt.exp: XFAIL "call function when asleep" for
1445 *-*-*bsd*.
1446
f31dfe3b
JJ
14472003-08-28 Jeff Johnston <jjohnstn@redhat.com>
1448
1449 * gdb.base/dump.exp: Skip for ia64.
1450
4630e498
JJ
14512003-08-25 Jeff Johnston <jjohnstn@redhat.com>
1452
1453 * gdb.asm/asm-source.exp: Add ia64 support.
1454 * gdb.asm/ia64.inc: New file.
1455
1105b7ef
MC
14562003-08-22 Michael Chastain <mec@shout.net>
1457
1458 * gdb.cp: New directory.
1459 * gdb.cp/*: Copy from gdb.c++/*.
1460 * gdb.c++/*: Remove.
1461 * Makefile.in: Change gdb.c++ to gdb.cp.
1462 * configure.in: Ditto.
1463 * configure: Regnerate.
1464
c945b932
MK
14652003-08-18 Mark Kettenis <kettenis@gnu.org>
1466
1467 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1338.
1468 * gdb.arch/i386-prologue.c (gdb1338): Add function.
1469
2b66634b
DJ
14702003-08-17 Daniel Jacobowitz <drow@mvista.com>
1471
1472 * mi-var-display.exp (-var-list-children weird): Accept function
1473 pointers with argument types.
1474 * mi1-var-display.exp (-var-list-children weird): Likewise.
1475 * mi2-var-display.exp (-var-list-children weird): Likewise.
1476
a356f73b
DJ
14772003-08-17 Daniel Jacobowitz <drow@mvista.com>
1478
1479 * gdb.base/annota3.exp: Add missing newline.
1480
483417b8
MC
14812003-08-06 Michael Chastain <mec@shout.net>
1482
1483 * gdb.java/jmisc1.exp: Add test for pr gdb/1322.
1484
c99c59c3
MS
14852003-08-12 Michael Snyder <msnyder@redhat.com>
1486
1487 * gdb.base/float.exp: Add test for SH.
1488
55ed7501
MK
14892003-08-10 Mark Kettenis <kettenis@gnu.org>
1490
1491 * gdb.arch/i386-prologue.c, gdb.arch/i386-prologue.exp: New files.
1492
1a371f2e
EZ
14932003-08-07 Elena Zannoni <ezannoni@redhat.com>
1494
1495 * gdb.base/completion.exp: Remove reduntant completion test
1496 on filename.
1497
e0f353ce
EZ
14982003-08-07 Elena Zannoni <ezannoni@redhat.com>
1499
1500 * gdb.base/attach.exp, gdb.base/detach.exp, gdb.base/gcore.exp,
1501 gdb.mi/mi-basics.exp, gdb.threads/gcore-thread.exp,
1502 gdb.trace/save-trace.exp: Make sure that full pathnames are
1503 escaped correctly.
1504
5710a1af 15052003-08-07 Elena Zannoni <ezannoni@redhat.com>
d63a86f8 1506
5710a1af
EZ
1507 * configure.in: Don't generate config.h from config.hin.
1508 * configure: Regenerate.
1509 * config.hin: Remove file.
1510 * gdb.mi/pthreads.c: Remove include of config.h, and other ifdefs.
1511 * gdb.threads/pthreads.c: Ditto.
1512
dcd81ce9
DJ
15132003-08-07 Daniel Jacobowitz <drow@mvista.com>
1514
1515 From Kei Sakamoto <sakamoto.kei@renesas.com>:
1516 * gdb.asm/asm-source.exp : Add -lgloss to link-flags.
1517 * gdb.asm/m32r.inc : Remove an illegal nop after bl instruction.
1518 Replace ld24 with seth/add3.
1519
6009d884
AC
15202003-08-02 Andrew Cagney <cagney@redhat.com>
1521
1522 * gdb.base/annota3.exp: New file.
1523 * gdb.base/annota3.c: New file.
1524 * gdb.c++/annota3.exp: New file.
1525 * gdb.c++/annota3.cc: New file.
1526
51514e06
MC
15272003-07-29 Michael Chastain <mec@shout.net>
1528
1529 * gdb.threads/tls.c (spin): Check errno only if sem_wait
1530 actually failed.
1531 (do_pass): Likewise.
1532 * gdb.threads/tls.exp: Always initialize no_of_threads.
1533
4ee6625b
DJ
15342003-07-27 Daniel Jacobowitz <drow@mvista.com>
1535
1536 * gdb.threads/print-threads.exp (test_all_threads): Loosen KFAIL
1537 pattern.
1538 * gdb.threads/tls-shared.exp: Don't use gdb_suppress_entire_file.
1539 * gdb.threads/tls.exp: Recognize one case of the host library not
1540 supporting TLS.
1541
225f2bf6
AC
15422003-07-27 Andrew Cagney <cagney@redhat.com>
1543
1544 * gdb.base/fileio.exp: Use SH when running commands using
1545 remote_exec.
1546
bcb27c9f
DJ
15472003-07-24 Daniel Jacobowitz <drow@mvista.com>
1548
1549 From Kei Sakamoto <sakamoto.kei@renesas.com>:
1550 * gdb.base/relocate.c (dummy): New padding array.
1551
3d67be83
MS
15522003-07-22 Michael Snyder <msnyder@redhat.com>
1553
d63a86f8 1554 * gdb.disasm/8300s.s: Fix syntax of bsr insn.
3d67be83
MS
1555
1556 * gdb.disasm/h8300s.exp : Minor changes in disassembler output require
1557 patterns to be more general, accepting old and new output.
1558 Some output chars (such as '+') also must be quoted.
d63a86f8 1559 Some addresses are displayed numerically instead of
3d67be83
MS
1560 symbolically.
1561
57ba3b85
MS
15622003-07-23 Michael Snyder <msnyder@redhat.com>
1563
686d097c
MS
1564 * gdb.base/return2.exp: Don't test long-long return.
1565
57ba3b85
MS
1566 * gdb.disasm/t01_mov.s: New file, h8300sx disassembly tests.
1567 * gdb.disasm/t01_mov.exp: Ditto.
1568 * gdb.disasm/t02_mova.s: Ditto.
1569 * gdb.disasm/t02_mova.exp: Ditto.
1570 * gdb.disasm/t03_add.s: Ditto.
1571 * gdb.disasm/t03_add.exp: Ditto.
1572 * gdb.disasm/t04_sub.s: Ditto.
1573 * gdb.disasm/t04_sub.exp: Ditto.
1574 * gdb.disasm/t05_cmp.s: Ditto.
1575 * gdb.disasm/t05_cmp.exp: Ditto.
1576 * gdb.disasm/t06_ari2.s: Ditto.
1577 * gdb.disasm/t06_ari2.exp: Ditto.
1578 * gdb.disasm/t07_ari3.s: Ditto.
1579 * gdb.disasm/t07_ari3.exp: Ditto.
1580 * gdb.disasm/t08_or.s: Ditto.
1581 * gdb.disasm/t08_or.exp: Ditto.
1582 * gdb.disasm/t09_xor.s: Ditto.
1583 * gdb.disasm/t09_xor.exp: Ditto.
1584 * gdb.disasm/t10_and.s: Ditto.
1585 * gdb.disasm/t10_and.exp: Ditto.
1586 * gdb.disasm/t11_logs.s: Ditto.
1587 * gdb.disasm/t11_logs.exp: Ditto.
1588 * gdb.disasm/t12_bit.s: Ditto.
1589 * gdb.disasm/t12_bit.exp: Ditto.
1590 * gdb.disasm/t13_otr.s: Ditto.
1591 * gdb.disasm/t13_otr.exp: Ditto.
1592
e00759ef
EZ
15932003-07-22 Elena Zannoni <ezannoni@redhat.com>
1594
1595 * gdb.threads/tls.exp :Add kfail for 'info address' case.
1596
8bc2021f
EZ
15972003-07-22 Elena Zannoni <ezannoni@redhat.com>
1598
1599 * gdb.threads/tls.c : New file.
1600 * gdb.threads/tls.exp : New file.
1601 * gdb.threads/tls-main.c : New file.
1602 * gdb.threads/tls-shared.c : New file.
1603 * gdb.threads/tls-shared.exp : New file.
1604
89320c4c
AS
16052003-07-22 Andreas Schwab <schwab@suse.de>
1606
1607 * gdb.asm/powerpc.inc (gdbasm_startup): Force alignment.
1608
180dea7c
AS
16092003-07-20 Andreas Schwab <schwab@suse.de>
1610
1611 * gdb.base/selftest.exp (do_steps_and_nexts): Add more patterns
1612 due to insn reordering.
1613
0714963c
AC
16142003-07-15 Andrew Cagney <cagney@redhat.com>
1615
1616 * gdb.asm/asm-source.exp: Do not allow "start" in the backtrace.
1617
98a23b3f
MC
16182003-07-15 Michael Chastain <mec@shout.net>
1619
1620 * gdb.base/gdb1250.exp: New file.
1621 * gdb.base/gdb1250.c: New file.
1622
27e417a2
ML
16232003-07-09 Michal Ludvig <mludvig@suse.cz>
1624
1625 * gdb.c++/templates.exp (test_ptype_of_templates): Recognize
1626 expansion of size_t to 'unsigned long', not only to 'unsigned'.
1627
8bc2021f
EZ
16282003-07-09 Elena Zannoni <ezannoni@redhat.com>
1629
1630 * gdb.threads/tls.c: New file.
1631 * gdb.threads/tls.exp: New file.
1632 * gdb.threads/tls-main.c: New file.
1633 * gdb.threads/tls-shared.c: New file.
1634 * gdb.threads/tls-shared.exp: New file.
1635
d99968dc
EZ
16362003-07-09 Elena Zannoni <ezannoni@redhat.com>
1637
1638 * gdb.base/annota1.exp: Make sure that we properly escape the
1639 full path of the source file. Xfail more permissive patterns,
d63a86f8 1640 due to a compiler debug info problem.
d99968dc 1641
83876b3b
AS
16422003-07-07 Andreas Schwab <schwab@suse.de>
1643
2705e972
AS
1644 * gdb.asm/m68k.inc: New file.
1645 * gdb.asm/asm-source.exp: Use it for m68k-*-*.
1646
83876b3b
AS
1647 * gdb.objc/basicclass.exp ("Call an Objective-C method with no
1648 arguments"): Also match negative number.
1649
1650 * gdb.base/float.exp ("info float"): Add test for m68k-*-*.
1651
3a871b37
DJ
16522003-07-03 Daniel Jacobowitz <drow@mvista.com>
1653
1654 * gdb.base/store.c (charest): New typedef.
1655 (add_char): Rename to add_charest, update.
1656 (wack_char): Rename to wack_charest, update types. Return l + r
1657 to keep r live across the call.
1658 (wack_short, wack_int, wack_long, wack_longest, wack_float)
1659 (wack_double, wack_doublest): Return l + r to keep r live across
1660 the call.
1661 * gdb.base/store.exp: Accomodate store.c changes.
1662
b2a7f303
DC
16632003-06-30 David Carlton <carlton@kealia.com>
1664
1665 * gdb.c++/maint.exp (test_invalid_name): New.
1666 (test_first_component): Add tests for invalid names.
1667
3c6cb4a1
MC
16682003-06-29 Michael Chastain <mec@shout.net>
1669
1670 * gdb.c++/inherit.exp (test_print_svi_classes): Accept gdb
1671 output of '<VTT for class>' for virtual base classes.
1672
f1c2644b
DJ
16732003-06-29 Daniel Jacobowitz <drow@mvista.com>
1674
1675 * gdb.base/completion.exp: Tab-complete "complet" instead of
1676 "compl".
1677 * gdb.base/complex.exp, gdb.base/complex.c: New files.
1678
18080350
DJ
16792003-06-29 Daniel Jacobowitz <drow@mvista.com>
1680
1681 * gdb.base/constvars.exp: Remove most xfails for GCC 3.x.
1682 * gdb.base/volatile.exp: Likewise.
1683
f56973f8
DJ
16842003-06-29 Daniel Jacobowitz <drow@mvista.com>
1685
1686 * gdb.threads/print-threads.exp (test_all_threads): Add kfail for
1687 gdb/1265.
1688
16892003-06-28 Michael Chastain <mec@shout.net>
48fe539f
DJ
1690 Daniel Jacobowitz <drow@mvista.com>
1691
1692 * gdb.base/selftest.exp (do_steps_and_nexts): Increase maximum
1693 initial line count of 'captured_main' from 26 to 32.
1694 (test_with_self): Allow xmalloc call to be interleaved with the
1695 preceding two lines.
1696
e766d4d6
JB
16972003-06-24 Joel Brobecker <brobecker@gnat.com>
1698
1699 * gdb.base/bang.exp: New testcase.
1700
f125c9a4
JB
17012003-06-23 Joel Brobecker <brobecker@gnat.com>
1702
1703 * gdb.base/langs.exp: Add some tests for the "minimal" language
1704 support.
1705
6e25beaf
EZ
17062003-06-23 Elena Zannoni <ezannoni@redhat.com>
1707
1708 * gdb.objc/basicclass.exp: Return -1 if we cannot compile
1709 the testcase.
1710
2f816dda
DJ
17112003-06-22 Daniel Jacobowitz <drow@mvista.com>
1712
1713 * gdb.base/relocate.exp: Test add-symbol-file with a variable
1714 offset.
1715
db5a5748
DJ
17162003-06-22 Daniel Jacobowitz <drow@mvista.com>
1717
1718 * gdb.c++/pr-1210.cc: New file.
1719 * gdb.c++/pr-1210.exp: New file.
1720
1df0c130
DJ
17212003-06-21 Daniel Jacobowitz <drow@mvista.com>
1722
1723 * lib/mi-support.exp (mi_run_cmd): Expect an MI response to
1724 000-exec-continue.
1725
a92feac0
MK
17262003-06-15 Mark Kettenis <kettenis@gnu.org>
1727
1728 * gdb.base/attach.exp: Use -1 for the ID of a nonexistent process
1729 on *-*-*bsd* instead of *-*-freebsd*.
1730
81a58f5b
AC
17312003-06-14 Andrew Cagney <cagney@redhat.com>
1732
1733 * gdb.base/store.exp: Test longest and doublest. Test all
1734 parameters. Weaken return statement match.
1735 * gdb.base/store.c: Add longest and doublest - aka long long and
1736 long double functions. Put all parameters into local register
1737 variables. Use negative values.
1738
b257a0d3
AC
17392003-06-14 Andrew Cagney <cagney@redhat.com>
1740
1741 * gdb.base/fileio.c: Include <errno.h>, and <sys/wait.h>. Gag
1742 -Wformat errors. Add lost line. Use WEXITSTATUS to get system
1743 exit status.
1744 * gdb.base/fileio.exp: Disable target when nointerrupts and
1745 noinferiorio, instead of limiting it to remote. Use remote_exec
1746 instead of system.
d63a86f8 1747
21c38304
JJ
17482003-06-12 Jeff Johnston <jjohnstn@redhat.com>
1749
1750 * gdb.base/float.exp: Add ia64 support.
1751
1bcdb424
CV
17522003-06-12 Corinna Vinschen <vinschen@redhat.com>
1753
1754 * gdb.base/fileio.exp: Run only on remote targets.
1755
6aeb981f
CV
17562003-06-10 Corinna Vinschen <vinschen@redhat.com>
1757
1758 * gdb.base/fileio.c: New file, testing File-I/O.
1759 * gdb.base/fileio.exp: Ditto.
1760
53df362e
RG
17612003-06-09 Raoul Gough <RaoulGough@yahoo.co.uk>
1762
1763 * gdb.base/shreloc.exp: New file, check symbol values obtained from
1764 shared objects after relocation at load time (gdb PR/1132).
1765 * gdb.base/shreloc.c, gdb.base/shreloc1.c, gdb.base/shreloc2.c:
1766 as above, part of the shared object relocation test.
1767
ffee1b46
MK
17682003-06-08 Mark Kettenis <kettenis@gnu.org>
1769
b5ca3722
MK
1770 * gdb.base/readline.exp: Add tests for operate-and-get-next with a
1771 fully filled history list.
1772 * gdb.base/gdb_history: New file.
1773
03ed860d
MK
1774 * gdb.base/signals.exp: XFAIL "continue to func1" on
1775 i*86-*-freebsd*.
1776
ffee1b46
MK
1777 * gdb.base/attach.exp: When trying to attach to a nonexistent
1778 process, make it possible to specify the PID based on the target,
1779 and do so for *-*-freebsd*.
1780
d80dbb52
RH
17812003-06-02 Richard Henderson <rth@redhat.com>
1782
1783 * gdb.base/float.exp: Add expected regexp for alpha-*-*.
1784
6dd77b81
RH
17852003-06-02 Richard Henderson <rth@redhat.com>
1786
1787 * gdb.base/selftest.exp: Next over lim_at_start initialization.
1788
f6347e16
RH
17892003-06-02 Richard Henderson <rth@redhat.com>
1790
1791 * gdb.base/dump.exp [alpha*-*-*]: Add -taso linker switch.
1792
2c161407
DJ
17932003-06-01 Daniel Jacobowitz <drow@mvista.com>
1794
1795 * gdb.asm/asm-source.exp: Dissassemble from &globalvar instead
1796 of globalvar.
1797
572eb746
MK
17982003-06-01 Mark Kettenis <kettenis@gnu.org>
1799
1800 * gdb.asm/asm-source.exp: Check for memory read errors in
1801 disassembler test on *BSD too.
1802
9e9617a5
RH
18032003-06-01 Richard Henderson <rth@redhat.com>
1804
1805 * gdb.asm/alpha.inc (gdbasm_enter): Use numeric register names
1806 for .frame.
1807 (gdbasm_call): Lose ldgp.
1808 (gdbasm_startup): Add frame information.
1809 * gdb.asm/asm-source.exp (alpha*-*): Add -no-mdebug to asm-flags.
1810
7b34ad4e
MK
18112003-05-31 Mark Kettenis <kettenis@gnu.org>
1812
1813 * gdb.base/float.exp: Expect similar output for x86_64-*-* as for
1814 i?86-*-*.
1815
10059fdf
MK
18162003-05-30 Mark Kettenis <kettenis@gnu.org>
1817
1818 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
1819 FreeBSD.
1820
acf4b816
RH
18212003-05-29 Richard Henderson <rth@redhat.com>
1822
1823 * gdb.asm/alpha.inc: New file.
1824 * gdb.asm/asm-source.exp: Use it.
1825
e9ecd949
JB
18262003-05-29 Jim Blandy <jimb@redhat.com>
1827
1828 * gdb.base/corefile.exp: Find corefiles on Linux, which names them
1829 'core.PID'.
1830
e3e5a4f3
JB
18312003-05-22 Jim Blandy <jimb@redhat.com>
1832
1833 * gdb.base/corefile.exp: Tolerate stuff after argument parens in
1834 backtrace.
d63a86f8 1835
72fe3d25
DC
18362003-05-20 David Carlton <carlton@math.stanford.edu>
1837
1838 * gdb.c++/namespace1.cc: Actually do 'cvs add' before committing
1839 this time.
1840
58da2eb2
DC
18412003-05-19 David Carlton <carlton@bactrian.org>
1842
1843 * gdb.c++/rtti.exp: New file, containing tests for PR c++/488.
1844 * gdb.c++/rtti.h, gdb.c++/rtti1.cc, gdb.c++/rtti2.cc: Ditto.
1845
1fcb5155
DC
18462003-05-19 David Carlton <carlton@bactrian.org>
1847
1848 * gdb.c++/namespace.exp: Add namespace scope and anonymous
1849 namespace tests.
1850 Bump copyright date.
1851 * gdb.c++/namespace.cc: Add anonymous namespace and namespace C.
1852 (main): Call C::D::marker2.
1853 * gdb.c++/namespace1.cc: New file.
1854
85e85163
JJ
18552003-05-14 Jeff Johnston <jjohnstn@redhat.com>
1856
1857 Roland McGrath <roland@redhat.com>
d63a86f8 1858 * gdb.threads/linux-dp.exp: Account for fact that in nptl model
85e85163
JJ
1859 there is no manager thread.
1860
a25fbfec
JJ
18612003-05-08 Jeff Johnston <jjohnstn@redhat.com>
1862
d63a86f8
RM
1863 * gdb.threads/schedlock.exp: Remove assumption that all threads
1864 will run in a particular small time slice. Also ensure we break
a25fbfec
JJ
1865 in one of the child threads rather than the main thread.
1866
be375bae
JB
18672003-05-07 Jim Blandy <jimb@redhat.com>
1868
09bf6082
JB
1869 Add support for assembly source testing on the s390x.
1870 * gdb.asm/asm-source.exp: Add a case for the s390x-*-*
1871 architecture.
1872 * gdb.asm/s390x.inc: New file.
1873
be375bae
JB
1874 * gdb.asm/asm-source.exp: Use a 'switch -glob' statement, not a
1875 succession of 'if' statements.
1876
00905d52
AC
18772003-05-05 Andrew Cagney <cagney@redhat.com>
1878
1879 * gdb.base/maint.exp: Add tests for "maint print dummy-frames".
1880
b1e29e33
AC
18812003-05-05 Andrew Cagney <cagney@redhat.com>
1882
1883 * gdb.base/watchpoint.exp: Rename CALL_DUMMY_BREAKPOINT_OFFSET to
1884 DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET in comments.
1885
e33d66ec
EZ
18862003-05-02 Elena Zannoni <ezannoni@redhat.com>
1887
1888 * gdb.base/charset.exp: Update based on new behavior of set/show
1889 charset commands.
1890
2b6fd0d8
AC
18912003-05-01 Andrew Cagney <cagney@redhat.com>
1892
1893 * gdb.asm/asm-source.exp: Check that "disassm" and "x/i" of a
1894 variable do not give memory errors.
1895
130cacce
AF
18962003-04-30 Adam Fedor <fedor@gnu.org>
1897
1898 * Makefile.in (ALL_SUBDIRS): Add gdb.objc
1899 * configure.in (AC_OUTPUT): Add gdb.objc/Makefile
1900 * gdb.objc/Makefile.in, gdb.objc/basicclass.exp,
1901 gdb.objc/basicclass.m: : New files
1902
1903 * lib/gdb.exp (gdb_compile_objc): New procedure.
1904
bea71854
DJ
19052003-04-27 Daniel Jacobowitz <drow@mvista.com>
1906
1907 * gdb.base/signals.exp: Make backtrace tests more specific.
1908
0f20eeea
DC
19092003-04-23 David Carlton <carlton@bactrian.org>
1910
1911 * gdb.c++/maint.exp (test_first_component): Add tests for
1912 'operator' in more locations.
1913
c8c4d8dc
KB
19142003-04-16 Kevin Buettner <kevinb@redhat.com>
1915
1916 * gdb.base/args.exp: Invoke gdb_load for simulator targets.
1917
3fe60e3c
EZ
19182003-04-16 Elena Zannoni <ezannoni@redhat.com>
1919
1920 * gdb.base/completion.exp: Make 'info func mark' complete on 'info
1921 func marke' instead. Update test name.
1922
9219021c
DC
19232003-04-15 David Carlton <carlton@math.stanford.edu>
1924
1925 * gdb.c++/maint.exp: New file.
1926
5dd55bdd
EZ
19272003-04-14 Elena Zannoni <ezannoni@redhat.com>
1928
1929 * gdb.threads/schedlock.c: Change type of thread function argument
1930 to long, to avoid warnings on 64-bit platforms.
1931
00890572
EZ
19322003-04-14 Elena Zannoni <ezannoni@redhat.com>
1933
1934 * gdb.base/attach.exp: Add new message from ptrace in case of
1935 attaching to nonexistent process.
d63a86f8 1936
93201743
JB
19372003-04-11 Jim Blandy <jimb@redhat.com>
1938
1939 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
1940 gdb.c++/userdef.cc: Place comments on the lines to which the
1941 marker function might return.
1942 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
1943 gdb.c++/userdef.exp: Look for those comments to check that we've
1944 returned to the right place, instead of checking line numbers.
1945
2a11c64d
EZ
19462003-04-11 Elena Zannoni <ezannoni@redhat.com>
1947
1948 * gdb.threads/pthreads.exp (test_startup): When setting a breakpoint
1949 match on sourcefile name, instead of directory name.
1950
68ab8fc5
EZ
19512003-04-10 Elena Zannoni <ezannoni@redhat.com>
1952
d63a86f8 1953 * gdb.base/completion.exp: Use string_to_regexp to match the
68ab8fc5
EZ
1954 working directory name.
1955
5624293a
JB
19562003-04-09 Jim Blandy <jimb@redhat.com>
1957
1958 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
1959 gdb.c++/userdef.exp: If GDB fails to restore the selected frame
1960 after an inferior function call, report the failure, but allow the
1961 test to continue.
1962
f1f02ee4
SC
19632003-04-05 Stephane Carrez <stcarrez@nerim.fr>
1964
1965 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
1966 with -DPROTOTYPES.
1967
6eb79af0
SC
19682003-04-05 Stephane Carrez <stcarrez@nerim.fr>
1969
1970 * gdb.base/break.exp: Revert last patch.
1971
8dfb4cf0
SC
19722003-04-04 Stephane Carrez <stcarrez@nerim.fr>
1973
1974 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
1975 with -DPROTOTYPES.
1976
ed4c619a
AC
19772003-04-02 Andrew Cagney <cagney@redhat.com>
1978
1979 * gdb.base/callfuncs.exp: Make "print add" messages unique.
1980 * gdb.base/ending-run.exp: Put spaces around "breakpoint" to stop
1981 matching directories by the name breakpoint.
1982 * gdb.base/pointers.exp: Make "ptype pppC" message consistent.
1983 Make "continue to marker1" consistent.
1984 * gdb.base/call-rt-st.exp: Make "finish out from loop_count"
1985 message consistent.
1986 * lib/gdb.exp: Put "the program is no longer running", and "the
1987 program exited" in parenthesis.
1988 * lib/mi-support.exp: Ditto.
d63a86f8 1989
4e35d5f0 19902003-04-02 Bob Rossi <bob_rossi@cox.net>
d63a86f8 1991
4e35d5f0
BR
1992 * gdb.mi/mi-file.exp: New file for -file-list-exec-source-file.
1993
71900fe8
AC
19942003-03-29 Andrew Cagney <cagney@redhat.com>
1995
1996 * gdb.base/sizeof.c (main): Print the value of '\377'.
1997 * gdb.base/sizeof.exp: Check the sign of '\377'.
1998
c0655a16
MC
19992003-03-27 Michael Chastain <mec@shout.net>
2000
2001 * gdb.base/gdb1090.exp: New file.
2002 * gdb.base/gdb1090.cc: New file.
2003
5b2a3989
JB
20042003-03-27 J. Brobecker <brobecker@gnat.com>
2005
2006 * gdb.gdb/observer.exp: New regression test.
2007
79876890
MC
20082003-03-27 Michael Chastain <mec@shout.net>
2009
2010 * gdb.base/list.exp: Remove setup_xfail_format for DWARF 1.
2011 * gdb.base/ptype.exp: Likewise.
2012
6eac95e3
CV
20132003-03-27 Corinna Vinschen <vinschen@redhat.com>
2014
2015 * gdb.c++/casts.exp: Fix startup to run also on embedded targets.
2016
e8c71839
MC
20172003-03-26 Michael Chastain <mec@shout.net>
2018
2019 * gdb.base/ptype.exp: Actually use some typedef'd types.
2020
71b10041
SC
20212003-03-21 Stephane Carrez <stcarrez@nerim.fr>
2022
2023 * gdb.asm/asm-source.exp: Set asm-arch for m6811 and m6812.
2024 * gdb.asm/m68hc11.inc: New file for HC11/HC12 macros.
2025
2512cf80
CV
20262003-03-20 Corinna Vinschen <vinschen@redhat.com>
2027
2028 * gdb.base/default.exp: Fix regular expression.
2029
0d195a4f
CV
20302003-03-20 Corinna Vinschen <vinschen@redhat.com>
2031
2032 * gdb.base/args.exp: Fix regular expression.
2033
8a2dbca8
CV
20342003-03-20 Corinna Vinschen <vinschen@redhat.com>
2035
2036 * gdb.base/help.exp: Allow Win32 child process.
2037
bf028682
CV
20382003-03-20 Corinna Vinschen <vinschen@redhat.com>
2039
2040 * gdb.base/ending-run.exp: Check for Cygwin specific wrapper function
2041 when stepping out of main().
2042
182dbe85
CV
20432003-03-20 Corinna Vinschen <vinschen@redhat.com>
2044
2045 * gdb.base/default.exp: Check for win32 specific message when calling
2046 "run" without executable.
2047
d67a6ba5
CV
20482003-03-20 Corinna Vinschen <vinschen@redhat.com>
2049
2050 * gdb.base/args.exp: Expect .exe in output.
2051
a955b5bb
CV
20522003-03-20 Corinna Vinschen <vinschen@redhat.com>
2053
2054 * gdb.asm/asm-source.exp: Add appropriate --entry linker flag for
2055 Cygwin native.
2056
bf6bad4b
AC
20572003-03-17 Andrew Cagney <cagney@redhat.com>
2058
2059 From Elena Zannoni <ezannoni@redhat.com>. Test e500 abi and
2060 vector registes.
2061 * gdb.arch/e500-regs.c, gdb.arch/e500-regs.exp: New files.
2062 * gdb.arch/e500-abi.c, gdb.arch/e500-abi.exp: New files.
2063
293e9a31
DC
20642003-03-17 David Carlton <carlton@math.stanford.edu>
2065
2066 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): New
2067 test, for PR breakpoints/38.
2068 Call test_watchpoint_and_breakpoint.
2069 * gdb.base/watchpoint.c (func3): New function.
2070 (main): Call func3.
2071
5330f2db
DC
20722003-03-04 David Carlton <carlton@math.stanford.edu>
2073
2074 * gdb.c++/templates.exp (do_tests): Accept valid const in "print
2075 Garply<Garply<char> >:: garply".
2076 (test_ptype_of_templates): KFAIL "ptype T5<int>" and "ptype t5i"
2077 with respect to PR c++/1111; note also PR c++/1113.
2078 (test_template_breakpoints): KFAIL "constructor breakpoint" with
2079 respect to PR c++/1062.
2080 KFAIL "destructor breakpoint" with respect to PR c++/1112.
2081
6ece72da
DC
20822003-03-03 David Carlton <carlton@math.stanford.edu>
2083
2084 * gdb.c++/classes.exp (test_enums): KFAIL "ptype obj_with_enum"
2085 with respect to PR c++/57.
2086 KFAIL "print (ClassWithEnum::PrivEnum) 42" with respect to PR
2087 c++/826.
2088 Create "print ('ClassWithEnum::PrivEnum') 42"; KFAIL it with
2089 respect to PR c++/57.
2090
85ca1584
DC
20912003-03-03 David Carlton <carlton@math.stanford.edu>
2092
2093 * gdb.c++/templates.exp (do_tests): Convert the KFAILs with
2094 respect to PR c++/33 into FAILs.
2095
98e9c5b8
MC
20962003-03-03 Michael Chastain <mec@shout.net>
2097
7bedbf27
MC
2098 * configure.in: Update copyright years.
2099
21002003-03-03 Michael Chastain <mec@shout.net>
2101
2102 * Makefile.in: Update copyright years.
98e9c5b8 2103
f683e100
DC
21042003-02-28 David Carlton <carlton@math.stanford.edu>
2105
2106 * gdb.c++/classes.exp (test_ptype_class_objects): Accept it if we
2107 print class instead of struct and/or superfluous protection
2108 specifiers, as long as the resulting output is equivalent to the
2109 source code.
2110 Delete FIXME from end of messages on tests that don't need
2111 fixing.
2112
a9e0cf2c
DC
21132003-02-28 David Carlton <carlton@math.stanford.edu>
2114
2115 * gdb.c++/templates.exp (do_tests): Allow const in the two
2116 Foo<volatile char *>::foo tests.
2117
e8d359df
MS
21182003-02-27 Michael Snyder <msnyder@redhat.com>
2119
d63a86f8 2120 * gdb.base/restore.c (main): Return zero, so exit code
e8d359df
MS
2121 will be consistant.
2122
0b71dc91
DC
21232003-02-26 David Carlton <carlton@math.stanford.edu>
2124
2125 * gdb.c++/templates.exp (do_tests): KFAIL the "print Foo<volatile
2126 char *>::foo" test with respect to PR c++/33. Create a new test
2127 which is identical to that one except that it doesn't put the
2128 space between the "char" and the "*"; KFAIL it, too.
2129
dd14ab43
DC
21302003-02-26 David Carlton <carlton@math.stanford.edu>
2131
2132 * gdb.c++/templates.exp (do_tests): Convert XFAILs about printing
2133 template types into either PASSes or KFAILs (corresponding to PR
2134 c++/57). Tweak indentation. Update copyright.
2135
1146c7f1
SC
21362003-02-23 Stephane Carrez <stcarrez@nerim.fr>
2137
2138 * lib/gdb.exp: Don't execute C++ tests on m6811/m6812 targets.
2139
74641dfb
MC
21402003-02-13 Michael Chastain <mec@shout.net>
2141
2142 * gdb.base/exprs.exp: Remove i960 remnants.
2143 * gdb.base/funcargs.exp: Likewise.
2144 * gdb.base/list.exp: Likewise.
2145 * gdb.base/ptype.exp: Likewise.
2146
559cd2d0
DC
21472003-02-14 David Carlton <carlton@math.stanford.edu>
2148
2149 * gdb.c++/virtfunc.exp (test_virtual_calls): Change 'print
2150 pEe->D::vg()" from XFAIL to KFAIL.
2151
c4f90d87
JM
21522003-02-13 Jason Molenda (jmolenda@apple.com)
2153
2154 * gdb.base/maint.exp: Update maint print statistics regexp to include
2155 new entries.
2156
cbc4d97c
MC
21572003-02-13 Michael Chastain <mec@shout.net>
2158
2159 * gdb.c++/inherit.exp: Remove call to get_debug_format.
2160
40f235b7
MC
21612003-02-12 Michael Chastain <mec@shout.net>
2162
2163 * gdb.c++/classes.exp: Remove setup_xfail_format for DWARF 1.
2164 * gdb.c++/inherit.exp: Likewise.
2165 * gdb.c++/cplusfuncs.exp: Remove suppression logic for DWARF 1.
2166 * gdb.c++/templates.exp: Likewise.
2167 * gdb.c++/virtfunc.exp: Likewise.
2168
c56716b0
JM
21692003-02-06 Jason Molenda (jason-cl@molenda.com)
2170
2171 * gdb.mi/mi-syn-frame.c (subroutine): Add a comment explaining
2172 why the code is written that way.
2173
070afcf8
MC
21742003-02-05 Michael Chastain <mec@shout.net>
2175
2176 * gdb.base/dump.exp: Add missing copyright line.
2177
5d0331e5
JM
21782003-02-05 Jason Molenda (jason-cl@molenda.com)
2179
f7ae6d3e 2180 * gdb.mi/mi-syn-frame.c (subroutine): Add an extra statement
5d0331e5
JM
2181 at the beginning so the breakpoint doesn't get set on the loop.
2182
92851186
MC
21832003-02-05 Michael Chastain <mec@shout.net>
2184
2185 * gdb.c++/local.exp: Relax the test for PR gdb/825 to accept
2186 output for configurations with gcc 2.95.3.
2187
cbf1e085
AC
21882003-02-05 Keith Seitz <keiths@redhat.com>
2189 Andrew Cagney <ac131313@redhat.com>
2190
2191 * gdb.mi/mi-cli.exp: New file.
d63a86f8 2192
29518e1e
MC
21932003-02-04 Michael Chastain <mec@shout.net>
2194
2195 * gdb.c++/anon-union.exp: Do not call gdb_suppress_entire_file.
2196 Call perror and then continue.
2197
5af1d5f3
MC
21982003-02-03 Michael Chastain <mec@shout.net>
2199
2200 * gdb.c++/pr-1023.cc: New file.
2201 * gdb.c++/pr-1023.exp: New file.
2202
6b549786
JB
22032003-02-05 Jim Blandy <jimb@redhat.com>
2204
2205 * gdb.c++/local.exp: Don't expect Local to be in scope in main;
2206 it's local to foobar. Check for it there, and check that it's not
2207 present in main.
2208 * gdb.c++/local.cc (marker2): New function.
2209 (foobar): Call marker1.
2210 (main): Call marker2 instead of marker1.
2211
67f16606
AC
22122003-02-04 Andrew Cagney <ac131313@redhat.com>
2213
2214 * gdb.disasm/mn10200.exp: Obsolete file.
2215 * gdb.trace/Makefile.in (clean mostlyclean): Remove mn10200.
2216 * gdb.disasm/Makefile.in (clean mostlyclean): Remove mn10200.
2217 * gdb.base/watchpoint.exp: Mark the mn10200 xfails as obsolete.
2218
1c5cb38e
DC
22192003-02-04 David Carlton <carlton@math.stanford.edu>
2220
2221 * gdb.c++/overload.exp: Test intToChar(1).
2222 * gdb.c++/overload.cc (intToChar): New.
2223 (main): Call intToChar.
2224
d1fe6965
DC
22252003-02-03 David Carlton <carlton@math.stanford.edu>
2226
2227 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): Add
2228 'might_kfail' arg.
2229 KFAIL some of the continue_to_bp_overloaded calls, according to
2230 PR c++/1025.
2231
9ba61c5d
MC
22322003-02-01 Michael Chastain <mec@shout.net>
2233
2234 * gdb.base/advance.c (marker1): New marker function.
2235 * gdb.base/advance.exp: When the 'advance' command lands on the
2236 return breakpoint, it can legitimately stop on either the
2237 current line or the next line. Accommodate both outcomes.
2238 * gdb.base/until.exp: Likewise.
2239
e7494ffb
AC
22402003-02-02 Andrew Cagney <ac131313@redhat.com>
2241
2242 2002-11-10 Jason Molenda (jason-cl@molenda.com):
2243 * gdb.mi/mi-var-child.exp: -var-list-children's CHILDREN field is
2244 now a list, not a tuple.
2245 * gdb.mi/mi-var-display.exp: Ditto.
2246 * gdb.mi/gdb792.exp: Ditto.
2247
075559bc
AC
22482003-02-01 Andrew Cagney <ac131313@redhat.com>
2249
2250 From 2002-11-09 Jason Molenda (jason-cl@molenda.com):
2251 * gdb.mi/mi-syn-frame.exp: New tests for synthetic frames in
2252 stack backtraces.
2253 * gdb.mi/mi-syn-frame.c: Part of same.
2254
2bd4c7b1
MK
22552003-02-01 Mark Kettenis <kettenis@gnu.org>
2256
2257 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
2258 gdb.mi/mi1-pthreads.exp: Return instead of calling
2259 gdb_suppress_entire_file.
2260
eabd8992
MS
22612003-02-01 Mark Salter <msalter@redhat.com>
2262
2263 * gdb.asm/arm.inc (gdbasm_startup): Clear frame pointer, not sp.
2264
71469e2f
MS
22652003-01-31 Mark Salter <msalter@redhat.com>
2266
2267 * lib/mi-support.exp (mi_gdb_load): Support remote targets.
2268 Support empty arg.
2269
38a94d44
MC
22702003-01-30 Michael Chastain <mec@shout.net>
2271
2272 * lib/gdb.exp: Revert patch of 2003-01-06, which set LC_ALL.
2273 This was a workaround for a UTF-8 bug in readline 4.3. The bug
2274 has been fixed in gdb/readline on 2003-01-09.
2275
19ea9e73
MS
22762003-01-29 Michael Snyder <msnyder@redhat.com>
2277
e8d359df
MS
2278 * gdb.base/maint.exp: Allow for leading underscore in symbol.
2279 * gdb.base/display.exp: Allow for leading underscore in symbol.
19ea9e73
MS
2280 * gdb.base/args.exp: Skip if target does not support args passing.
2281
2307bd6a
DJ
22822003-01-22 Daniel Jacobowitz <drow@mvista.com>
2283
19ea9e73 2284 * lib/gdb.exp (gdb_test_multiple): New function, cloned from
2307bd6a
DJ
2285 gdb_test. Accept a list of expect arguments as the third
2286 parameter.
2287 (gdb_test): Use it.
2288
f2dd3617
EZ
22892003-01-20 Elena Zannoni <ezannoni@redhat.com>
2290
2291 * gdb.arch/altivec-abi.exp: Set variable 'srcfile' differently, to
2292 allow for different test tree configurations. Update some
2293 tescases accordingly.
2294 * gdb.arch/altivec-regs.exp: Ditto.
2295 * gdb.asm/asm-source.exp: Ditto.
2296 * gdb.base/advance.exp: Ditto.
2297 * gdb.base/display.exp: Ditto.
d63a86f8 2298 * gdb.base/long_long.exp: Ditto.
f2dd3617
EZ
2299 * gdb.base/mips_pro.exp: Ditto.
2300 * gdb.base/overlays.exp: Ditto.
2301 * gdb.base/relocate.exp: Ditto.
2302 * gdb.base/setshow.exp: Ditto.
2303 * gdb.base/step-line.exp: Ditto.
2304 * gdb.base/step-test.exp: Ditto.
2305 * gdb.base/until.exp: Ditto.
2306 * gdb.c++/virtfunc.exp: Get rid of variable 'src'.
2307
c71cdefd
DC
23082003-01-17 David Carlton <carlton@math.stanford.edu>
2309
2310 * gdb.c++/demangle.exp (test_lucid_style_demangling): KFAIL test
2311 corresponding to PR c++/945.
2312 Update copyright.
2313
fdba05d7
DC
23142003-01-17 David Carlton <carlton@math.stanford.edu>
2315
2316 * gdb.c++/inherit.exp (test_print_mi_members): KFAIL tests
2317 corresponding to PR c++/68.
2318
23192003-01-17 David Carlton <carlton@math.stanford.edu>
d2b29e01
DC
2320
2321 * gdb.c++/cplusfuncs.exp (print_addr_2_kfail): New procedure.
2322 (test_paddr_hairy_functions): Call print_addr_2_kfail for
2323 hairyfunc5 through hairyfunc7. KFAIL for PR c++/19.
2324
c362c33a
EZ
23252003-01-15 Elena Zannoni <ezannoni@redhat.com>
2326
0fbc361c
EZ
2327 * gdb.base/break.exp: Fix change of default location, because of
2328 removal of until tests.
2329 * gdb.base/help.exp: Update test for new 'until' help message.
2330 Add test for help on 'advance'.
c362c33a
EZ
2331 * gdb.base/args.exp: Fix foobar with GDBFLAGS global.
2332
dabf8a35
MK
23332003-01-15 Mark Kettenis <kettenis@gnu.org>
2334
2335 * gdb.base/default.exp: Adapt "info float" test for recent changes
2336 to that command. Add test for "info vector".
2337 * gdb.base/float.exp: New file. Add test for "info float" that
2338 resembles the old test in gdb.base/default.exp.
2339
a1769aca
DC
23402003-01-15 David Carlton <carlton@math.stanford.edu>
2341
2342 * gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot.
2343
82025e13
EZ
23442003-01-15 Elena Zannoni <ezannoni@redhat.com>
2345
2346 * gdb.base/break.exp: Move the tests of until command from here...
2347 * gdb.base/until.exp: ... to here. New file. Add other tests.
2348 * gdb.base/advance.c: New file.
2349 * gdb.base/advance.exp: New file.
2350
8f9ab801
EZ
23512003-01-14 Elena Zannoni <ezannoni@redhat.com>
2352
2353 * gdb.base/args.c: New file.
2354 * gdb.base/args.exp: New file.
2355
9ae66589
DJ
23562003-01-14 Daniel Jacobowitz <drow@mvista.com>
2357
2358 * gdb.c++/virtfunc.exp: Remove fixed XFAIL.
2359
8d77e5c3
DJ
23602003-01-14 Daniel Jacobowitz <drow@mvista.com>
2361
2362 * gdb.threads/killed.exp: Use KFAIL for gdb/568.
2363
12d2f0a1
DJ
23642003-01-14 Daniel Jacobowitz <drow@mvista.com>
2365
2366 * gdb.base/constvars.exp: Remove two extra XFAILs. Update copyright
2367 dates.
2368
6ca37014
DJ
23692003-01-13 Daniel Jacobowitz <drow@mvista.com>
2370
2371 * gdb.c++/printmethod.exp (print virtual method): Accept "(void)".
2372
b0023472
DJ
23732003-01-13 Daniel Jacobowitz <drow@mvista.com>
2374
2375 * gdb.base/printcmds.exp: Enable setup_kfail for gdb/538
2376 (ptype &*"foo").
2377 * gdb.c++/local.exp: Enable setup_kfail for gdb/482.
2378
d6abaea5
DJ
23792002-01-13 Daniel Jacobowitz <drow@mvista.com>
2380
2381 * gdb.mi/mi-console.exp: Remove extra "(known bug)".
2382 * gdb.mi/mi1-console.exp: Likewise.
2383
dfd536a7
DJ
23842002-01-13 Daniel Jacobowitz <drow@mvista.com>
2385
2386 * gdb.mi/mi-console.exp: Add KFAIL for "Hello message (known bug)".
2387 * gdb.mi/mi1-console.exp: Likewise.
2388
a1fb14a2
DJ
23892003-01-13 Daniel Jacobowitz <drow@mvista.com>
2390
2391 * gdb.c++/overload.exp: Remove some fixed XFAILs.
2392
c4cf40b7
DJ
23932003-01-09 Daniel Jacobowitz <drow@mvista.com>
2394
2395 * gdb.base/detach.exp: New test.
2396
696d5a5b
DJ
23972003-01-09 Daniel Jacobowitz <drow@mvista.com>
2398
2399 * Makefile.in (ALL_SUBDIRS): New variable.
2400 (subdirs, clean, distclean): Use it.
2401 * gdb.arch/Makefile.in: Clean up Makefile. Remove rules for
2402 regenerating Makefile, since it is generated from the top level.
2403 * gdb.asm/Makefile.in: Likewise.
2404 * gdb.base/Makefile.in: Likewise.
2405 * gdb.c++/Makefile.in: Likewise.
2406 * gdb.disasm/Makefile.in: Likewise.
2407 * gdb.java/Makefile.in: Likewise.
2408 * gdb.mi/Makefile.in: Likewise.
2409 * gdb.threads/Makefile.in: Likewise.
2410 * gdb.trace/Makefile.in: Likewise.
2411
754533e4
DC
24122003-01-09 David Carlton <carlton@math.stanford.edu>
2413
2414 * gdb.c++/annota2.exp: KFAIL "watch triggered on a.x".
2415 Add copyright year 2003.
2416
d8b3e9ee
MC
24172003-01-06 Michael Chastain <mec@shout.net>
2418
2419 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set):
2420 When selecting a thread, 'line' and 'file' are optional.
2421 * gdb.mi/mi1-pthreads.exp: Likewise.
2422
8e9e0fe6
AS
24232003-01-06 Andreas Schwab <schwab@suse.de>
2424
2425 * lib/gdb.exp: Set LC_ALL to "C" to avoid spurious testsuite
2426 failures.
2427
b5ab8ff3
DJ
24282003-01-04 Daniel Jacobowitz <drow@mvista.com>
2429
2430 Fix PR gdb/844
2431 * lib/gdb.exp (gdb_compile): Handle "quiet" option.
2432 (gdb_compile_pthreads): Pass "quiet" to gdb_compile.
2433
2434 * gdb.threads/gcore-thread.exp: Use gdb_compile_pthreads. Return
2435 instead of calling gdb_suppress_entire_file.
2436 * gdb.threads/print-threads.exp: Likewise.
2437 * gdb.threads/schedlock.exp: Likewise.
2438
2439 * gdb.threads/killed.exp: Return instead of calling
2440 gdb_suppress_entire_file.
2441 * gdb.threads/linux-dp.exp: Likewise.
2442 * gdb.threads/pthreads.exp: Likewise.
2443
1e698235
DJ
24442003-01-04 Daniel Jacobowitz <drow@mvista.com>
2445
2446 * gdb.base/callfuncs.exp: Don't XFAIL unprototyped functions for
2447 stabs.
2448 * gdb.base/completion.exp: Allow marker1(void) as well as marker1().
2449 * gdb.base/whatis.exp: Always allow (void) after function names.
2450
147ff08c
DJ
24512003-01-04 Daniel Jacobowitz <drow@mvista.com>
2452
2453 * gdb.c++/casts.exp: Correct regexp.
2454
dc62bfc2
MK
24552003-01-04 Mark Kettenis <kettenis@gnu.org>
2456
2457 * configure.in: Call AC_CONFIG_HEADER. Don't call
2458 AC_CONFIG_SUBDIRS on gdb.arch, gdb.asm, gdb.base gdb.c++ gdb.java,
2459 gdb.disasm, gdb.mi, gdb.threads and gdb.trace. Call
2460 AC_CHECK_HEADERS on pthread.h. Put Makefiles in the
2461 aforementioned directories in the AC_OUPUT call.
2462 * config.hin: New file.
2463 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
2464 gdb.mi/mi1-pthreads.exp, gdb.threads/gcore-thread.exp,
2465 gdb.threads/killed.exp, gdb.threads/print-threads.exp,
2466 gdb.threads/pthreads.exp, gdb.threads/schedlock.exp: Make sure we
2467 pass -I$objdir instead of -I$objdir/$subdir in compilation.
2468 * gdb.arch/configure.in, gdb.arch/configure, gdb.asm/configure.in,
2469 gdb.asm/configure, gdb.base/configure.in, gdb.base/configure,
2470 gdb.c++/configure.in, gdb.c++/configure, gdb.disasm/configure.in,
2471 gdb.disasm/configure, gdb.java/configure.in, gdb.java/configure,
2472 gdb.mi/configure.in, gdb.mi/configure, gdb.mi/config.in,
2473 gdb.threads/configure.in, gdb.threads/configure,
2474 gdb.threads/config.in, gdb.trace/configure.in,
2475 gdb.trace/configure: Removed.
2476
77afa639
MC
24772003-01-03 Michael Chastain <mec@shout.net>
2478
2479 * gdb.base/miscexprs.c: Fix PR gdb/697, "buglet in
2480 testsuite/gdb.base/miscexprs.c, off-by-1 array reference".
2481
7634bb6e
DJ
24822003-01-03 Daniel Jacobowitz <drow@mvista.com>
2483
2484 * gdb.base/store.exp: Fix regular expressions.
2485
b39c905e
MK
24862002-12-28 Mark Kettenis <kettenis@gnu.org>
2487
2488 * configure.in: Rewrite.
2489 * configure: Regenerated.
2490
0a8551dd
DC
24912003-01-03 David Carlton <carlton@math.stanford.edu>
2492
2493 * gdb.base/psymtab.exp: New file.
2494 * gdb.base/psymtab1.c: Ditto.
2495 * gdb.base/psymtab2.c: Ditto.
2496
c60b7188
AF
24972002-12-23 Adam Fedor <fedor@gnu.org>
2498
2499 * gdb.base/maint.exp: Update expect output to include 'ObjC'.
2500
ee73db83
DC
25012002-12-23 David Carlton <carlton@math.stanford.edu>
2502
2503 * gdb.base/selftest.exp (do_steps_and_nexts): Allow initial brace
2504 and current_directory initialization.
2505
d6c1774e
JB
25062002-12-22 Jim Blandy <jimb@redhat.com>
2507
f0a847b8
JB
2508 * gdb.trace/tfind.exp: Pass '-O1' flag via the 'optimize' option,
2509 rather than as part of the output file name.
2510
d6c1774e
JB
2511 * gdb.base/attach.exp: There's no need to copy the test program to
2512 /tmp; that was only ever necessary on HP/UX, and this test is
2513 entirely disabled there anyway.
2514
f0708dbb
JB
25152002-12-21 Jim Blandy <jimb@redhat.com>
2516
4c2acfea
JB
2517 * gdb.c++/psmang.exp: Doc fix.
2518
f0708dbb
JB
2519 * gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: New
2520 test.
2521
9579e000
DC
25222002-12-20 David Carlton <carlton@math.stanford.edu>
2523
2524 * gdb.c++/annota2.exp: KFAIL annotate-quit.
2525
d1810171
MC
25262002-12-18 Michael Chastain <mec@shout.net>
2527
2528 * gdb.c++/annota2.exp: Add copyright year 2002.
2529
76565097
DC
25302002-12-17 David Carlton <carlton@math.stanford.edu>
2531
2532 * gdb.c++/try_catch.cc: Add marker comments.
2533 * gdb.c++/try_catch.exp: Get line numbers from marker comments.
2534 * gdb.c++/m-data.cc: Delete namespace __gnu_test.
2535 * gdb.c++/m-static.cc: Ditto.
2536 * gdb.c++/m-static1.cc: Ditto.
2537 * gdb.c++/try_catch.cc: Ditto.
2538
da81390b
JJ
25392002-12-16 Jeff Johnston <jjohnstn@redhat.com>
2540
2541 * lib/mi-support.exp (mi_reinitialize_dir): Check mi level
2542 to see whether we are using the new -environment-directory
2543 command which resets via -r or the old version of the command
2544 which may prompt the user. Part of fix for gdb/741.
2545
b304d130
AC
25462002-12-13 Andrew Cagney <ac131313@redhat.com>
2547
2548 * gdb.fortran/types.exp: Update obsolete comment.
2549 * gdb.fortran/exprs.exp: Ditto.
2550 * lib/gdb.exp: Delete obsolete code.
2551 * gdb.chill/ChangeLog, gdb.chill/Makefile.in: Delete.
2552 * gdb.chill/builtins.ch, gdb.chill/builtins.exp: Delete.
2553 * gdb.chill/callch.ch, gdb.chill/callch.exp: Delete.
2554 * gdb.chill/chexp.exp, gdb.chill/chillvars.ch: Delete.
2555 * gdb.chill/chillvars.exp, gdb.chill/configure: Delete.
2556 * gdb.chill/configure.in, gdb.chill/enum.ch: Delete.
2557 * gdb.chill/enum.exp, gdb.chill/func1.ch: Delete.
2558 * gdb.chill/gch1041.ch, gdb.chill/gch1041.exp: Delete.
2559 * gdb.chill/gch1272.ch, gdb.chill/gch1272.exp: Delete.
2560 * gdb.chill/gch1280.ch, gdb.chill/gch1280.exp: Delete.
2561 * gdb.chill/gch922.ch, gdb.chill/gch922.exp: Delete.
2562 * gdb.chill/gch981.ch, gdb.chill/gch981.exp: Delete.
2563 * gdb.chill/misc.ch, gdb.chill/misc.exp: Delete.
2564 * gdb.chill/powerset.ch, gdb.chill/powerset.exp: Delete.
2565 * gdb.chill/pr-4975-grt.ch, gdb.chill/pr-4975.ch: Delete.
2566 * gdb.chill/pr-4975.exp, gdb.chill/pr-5016.ch: Delete.
2567 * gdb.chill/pr-5016.exp, gdb.chill/pr-5020.ch: Delete.
2568 * gdb.chill/pr-5020.exp, gdb.chill/pr-5022.ch: Delete.
2569 * gdb.chill/pr-5022.exp, gdb.chill/pr-5646-grt.ch: Delete.
2570 * gdb.chill/pr-5646.ch, gdb.chill/pr-5646.exp: Delete.
2571 * gdb.chill/pr-5984.ch, gdb.chill/pr-5984.exp: Delete.
2572 * gdb.chill/pr-6292.ch, gdb.chill/pr-6292.exp: Delete.
2573 * gdb.chill/pr-6632-grt.ch, gdb.chill/pr-6632.ch: Delete.
2574 * gdb.chill/pr-6632.exp, gdb.chill/pr-8134.exp: Delete.
2575 * gdb.chill/pr-8136.ch, gdb.chill/pr-8136.exp: Delete.
2576 * gdb.chill/pr-8405.ch, gdb.chill/pr-8405.exp: Delete.
2577 * gdb.chill/pr-8742.ch, gdb.chill/pr-8742.exp: Delete.
2578 * gdb.chill/pr-8894-grt.ch, gdb.chill/pr-8894.ch: Delete.
2579 * gdb.chill/pr-8894.exp, gdb.chill/pr-9095.ch: Delete.
2580 * gdb.chill/pr-9095.exp, gdb.chill/pr-9946.ch: Delete.
2581 * gdb.chill/pr-9946.exp, gdb.chill/result.ch: Delete.
2582 * gdb.chill/result.exp, gdb.chill/string.ch: Delete.
2583 * gdb.chill/string.exp, gdb.chill/tests1.ch: Delete.
2584 * gdb.chill/tests1.exp, gdb.chill/tests2.ch: Delete.
2585 * gdb.chill/tests2.exp, gdb.chill/tuples.ch: Delete.
2586 * gdb.chill/tuples.exp, gdb.chill/xstruct-grt.ch: Delete.
2587 * gdb.chill/xstruct.ch, gdb.chill/xstruct.exp: Delete.
2588
a23b6e6a
DC
25892002-12-11 David Carlton <carlton@math.stanford.edu>
2590
2591 * gdb.c++/m-data.exp: Add test for members that shadow global
2592 variables: see PR gdb/804.
2593 * gdb.c++/m-data.cc: Ditto.
2594
6604731b
DJ
25952002-12-10 Daniel Jacobowitz <drow@mvista.com>
2596
2597 * gdb.base/foll-vfork.exp: Re-enable test on HP/UX.
2598
de46ecd7
DC
25992002-12-06 David Carlton <carlton@math.stanford.edu>
2600
2601 * gdb.base/store.c: Don't declare functions static.
2602
27e829d0
AC
26032002-12-04 Andrew Cagney <ac131313@redhat.com>
2604
2605 * gdb.base/store.exp, gdb.base/store.c: New files.
2606
92806416
DJ
26072002-12-03 Daniel Jacobowitz <drow@mvista.com>
2608
2609 * gdb.base/selftest.exp: Update for current gdb.
2610
3bcbaac5
DJ
26112002-12-03 Daniel Jacobowitz <drow@mvista.com>
2612
2613 * gdb.base/maint.exp: Only dump symbols from one source file
2614 or objfile.
2615
f4f00b1f
DJ
26162002-12-03 Daniel Jacobowitz <drow@mvista.com>
2617
2618 * gdb.base/step-test.exp: Allow MIPS to return to the line of a
2619 function call.
2620
f1c8a949
JB
26212002-11-25 Jim Blandy <jimb@redhat.com>
2622
2623 * lib/mi-support.exp (mi_delete_breakpoints): Change name of
2624 function appearing in error message.
2625
9e297a97
DJ
26262002-11-21 Daniel Jacobowitz <drow@mvista.com>
2627
2628 * gdb.base/maint.exp (help maint dump-me): Update with typo fix.
2629
1f312e79
JJ
26302002-11-08 Jeff Johnston <jjohnstn@redhat.com>
2631
d63a86f8
RM
2632 * lib/mi-support.exp (mi_gdb_start): Verify the startup message
2633 for mi1 and current mi is in correct format. New mi startup message
1f312e79
JJ
2634 should be in mi console format. This is part of fix for PR gdb/604.
2635
83c31e7d
FN
26362002-09-18 Fernando Nasser <fnasser@redhat.com>
2637
2638 * gdb.asm/asm-source.exp: Adjust patter to new disassembler routine
2639 which explicitly prints the zero offset as "+0".
2640
322b3f65
DJ
26412002-10-22 Daniel Jacobowitz <drow@mvista.com>
2642
2643 * gdb.threads/schedlock.c (args): Make unsigned.
2644
26452002-10-21 Daniel Jacobowitz <drow@mvista.com>
2646
2647 * gdb.asm/asm-source.exp: Add "mips*-*" pattern. Update line
2648 numbers. Allow "foo2|selected stack frame".
2649 * gdb.asm/asmsrc1.s: Use gdbasm_declare and gdbasm_end.
2650 * gdb.asm/asmsrc2.s: Likewise.
2651 * gdb.asm/common.inc: Define gdbasm_declare and gdbasm_end. Update
2652 comments.
2653 * gdb.asm/mips.inc: New file.
2654
5e2fe5b8
AF
26552002-10-18 Adam Fedor <fedor@gnu.org>
2656
2657 * gdb.base/default.exp: Update expected output to include 'ObjC'.
2658 * gdb.base/help.exp: Likewise.
2659
abe1a5d0
KB
26602002-10-17 Kevin Buettner <kevinb@redhat.com>
2661
2662 * gdb.base/constvars.c (struct crass, struct crisp): New structs.
2663 * gdb.base/constvars.exp (ptype crass, ptype crisp): New tests.
2664
10abb1d4
JB
26652002-10-02 Jim Blandy <jimb@redhat.com>
2666
2667 * gdb.c++/casts.cc, gdb.c++/casts.exp: New test.
2668
1f609b42
AC
26692002-10-01 Andrew Cagney <ac131313@redhat.com>
2670
2671 * mi1-basics.exp: Copy of mi1-basics.exp MIFLAGS set "-i=mi1".
2672 * mi1-break.exp, mi1-console.exp, mi1-disassemble.exp: Ditto.
2673 * mi1-eval.exp, mi1-hack-cli.exp, mi1-pthreads.exp: Ditto.
2674 * mi1-read-memory.exp, mi1-regs.exp, mi1-return.exp: Ditto.
2675 * mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp: Ditto.
2676 * mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp: Ditto.
2677 * mi1-var-cmd.exp, mi1-var-display.exp, mi1-watch.exp: Ditto.
2678
0aee02e4
AC
26792002-09-29 Andrew Cagney <ac131313@redhat.com>
2680
2681 * mi0-basics.exp, mi0-break.exp, mi0-console.exp: Delete.
2682 * mi0-disassemble.exp, mi0-eval.exp: Delete.
2683 * mi0-hack-cli.exp, mi0-read-memory.exp: Delete.
2684 * mi0-regs.exp, mi0-return.exp, mi0-simplerun.exp: Delete.
2685 * mi0-stack.exp, mi0-stepi.exp, mi0-until.exp: Delete.
2686 * mi0-var-block.exp, mi0-var-child.exp: Delete.
2687 * mi0-var-cmd.exp, mi0-var-display.exp, mi0-watch.exp: Delete.
d63a86f8 2688
6fde09ad
KB
26892002-09-27 Kevin Buettner <kevinb@redhat.com>
2690
2691 * gdb.base/annota1.exp (info break): Make directory components of
2692 path optional since not all compilers emit this debug information.
2693
2694 * gdb.base/shlib-call.exp (step inside shr2): Don't fail if first
2695 step ends up stepping out of the function instead of stopping on
2696 the epilogue.
2697
9e8aab75
KS
26982002-09-26 Keith Seitz <keiths@redhat.com>
2699
2700 * lib/insight-support.exp (gdbtk_start): Figure out where
2701 the insight executable is based on where gdb is. Use this
2702 executable to start insight instead of gdb.
2703
e36180d7
AC
27042002-09-25 Andrew Cagney <cagney@redhat.com>
2705
2706 * gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
2707
9dd34b2b
AC
27082002-09-24 Andrew Cagney <ac131313@redhat.com>
2709
2710 * gdb.gdb/complaints.exp (test_initial_complaints): Rename
2711 test_isolated_complaints.
2712 (test_empty_complaint): New function.
2713 (test_empty_complaints): New function. Check no output when no
2714 complaints.
d63a86f8 2715
dea97812
KB
27162002-09-19 Jim Blandy <jimb@redhat.com>
2717
2718 * gdb.base/charset.exp, gdb.base/charset.c: New files.
2719
54951bd7
AC
27202002-09-19 Andrew Cagney <ac131313@redhat.com>
2721
2722 * gdb.gdb/complaints.exp: New file.
2723
dec43320
AC
27242002-09-18 Andrew Cagney <ac131313@redhat.com>
2725
2726 * gdb.base/maint.exp: Check `help maint internal-warning'.
2727
e70d6e3f
DC
27282002-09-18 David Carlton <carlton@math.stanford.edu>
2729
2730 * gdb.c++/m-static.exp: Remove breakpoints depending on line
2731 numbers, and replace them by a single breakpoint after the
2732 constructors are all finished.
2733 Add test 4.
2734 * gdb.c++/m-static.cc: Add test 4.
2735 * gdb.c++/m-static.h: New file.
2736 * gdb.c++/m-static1.cc: New file.
2737
2738 * gdb.c++/printmethod.exp: New file.
2739 * gdb.c++/printmethod.cc: New file.
2740
2741 * gdb.c++/pr-574.exp: New file.
2742 * gdb.c++/pr-574.cc: New file.
2743
afb5c968
CV
27442002-09-18 Corinna Vinschen <vinschen@redhat.com>
2745
2746 * gdb.base/ending-run.exp: Add handling of "step to end of run" for
2747 embedded targets which never actually exit.
2748
31e45dee
FN
27492002-09-18 Fernando Nasser <fnasser@redhat.com>
2750
2751 * gdb.base/ending-run.exp: Properly mark "continue after exit" and
2752 "don't step after run" as unresolved or unsupported, instead of xfail.
2753
a283c5a1
CV
27542002-09-18 Corinna Vinschen <vinschen@redhat.com>
2755
2756 * gdb.base/ending-run.exp: Fix expected string for _wrap_main to
2757 allow correct handling of #ifdef UNDERSCORES from dejagnu/testglue.c.
2758 Add newline to expected string in "step out of main (status wrapper)"
2759 case.
2760
11350d2a
CV
27612002-09-18 Corinna Vinschen <vinschen@redhat.com>
2762
2763 * lib/gdb.exp (rerun_to_main): Allow restarting application.
2764 * gdb.base/ena-dis-br.exp (rerun_to_main): Eliminate.
2765
0deec7d6
TT
27662002-09-17 Tom Tromey <tromey@redhat.com>
2767
2768 * gdb.base/printcmds.exp (test_print_string_constants): Expect
2769 \000, not \0, in double-quoted string.
2770
b2b4a1b5
CV
27712002-09-14 Corinna Vinschen <vinschen@redhat.com>
2772
c9d37158 2773 * gdb.base/commands.exp: Don't expect a "Program exited normally"
b2b4a1b5
CV
2774 string after running the commands execution on breakpoint tests.
2775
1c56143a
CV
27762002-09-13 Corinna Vinschen <vinschen@redhat.com>
2777
2778 * lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.
2779
37f8da45
JB
27802002-09-12 Joel Brobecker <brobecker@gnat.com>
2781
2782 * gdb.base/call-strs.exp: Fix a small typo in one of the comments.
2783
08b468e0
KS
27842002-09-10 Keith Seitz <keiths@redhat.com>
2785
2786 * lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
2787 runto proc.
2788 (mi_run_to_main): Use mi_runto.
2789 (mi_execute_to): Renamed from mi_run_to. Changed all callers.
2790
dc360f58
KS
27912002-09-10 Keith Seitz <keiths@redhat.com>
2792
2793 * lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
2794 regexp for stopping at main. Could have multiple event notifications.
2795 Don't assume that main was declared with no parameters.
2796 (mi_next): Use mi_step_to.
2797 (mi_step): Use mi_next_to.
2798
ce3abcfb
CV
27992002-09-09 Corinna Vinschen <vinschen@redhat.com>
2800
2801 * gdb.base/default.exp: Fix expected string in `info float' test.
2802
d1f5b980
BE
28032002-09-09 Ben Elliston <bje@redhat.com>
2804
2805 * config/mips.exp: Update comments.
2806 * config/mips-idt.exp: Likewise.
2807 * config/nind.exp: Likewise.
2808 * config/slite.exp: Likewise.
2809 * config/sparclet.exp: Likewise.
2810 * config/udi.exp: Likewise.
2811 * config/vx.exp: Likewise.
2812 * config/vxworks29k.exp: Likewise.
2813
2f71430b
JB
28142002-09-05 Jim Blandy <jimb@redhat.com>
2815
2816 * gdb.threads/killed.exp: Fix test failure message.
2817
7ddebc7e
KS
28182002-09-04 Keith Seitz <keiths@redhat.com>
2819
2820 * lib/mi-support.exp: Update copyright.
2821 (mi_gdb_test): Increase the priority of the expected pattern
2822 so that it matches gdb_test.
2823
0ae67eb3
KS
28242002-09-03 Keith Seitz <keiths@redhat.com>
2825
2826 * lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
2827 Use integer comparison instead of string comparison for testing
2828 whether binary was built.
2829
38fc42c8
JB
28302002-09-03 Jim Blandy <jimb@redhat.com>
2831
2832 * gdb.threads/killed.exp, gdb.threads/killed.c: New test.
2833
b6ff0e81
JB
28342002-08-29 Jim Blandy <jimb@redhat.com>
2835
2836 * gdb.threads/pthreads.exp: Move the portable thread compilation
2837 code into a function in lib/gdb.exp, and call that from here.
2838 * lib/gdb.exp (gdb_compile_pthreads): New function.
2839
07c98896
KS
28402002-08-29 Keith Seitz <keiths@redhat.com>
2841
2842 * lib/mi-support.exp (mi_gdb_test): Add global declaration for
2843 expect_out so that callers can get at it.
2844
0312286c
DJ
28452002-08-23 Daniel Jacobowitz <drow@mvista.com>
2846
2847 * gdb.threads/print-threads.c: New file.
2848 * gdb.threads/print-threads.exp: New file.
2849 * gdb.threads/schedlock.c: New file.
2850 * gdb.threads/schedlock.exp: New file.
2851
dd039bc4
EZ
28522002-08-22 Elena Zannoni <ezannoni@redhat.com>
2853
2854 * gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
2855 not altivec.c.
2856
1f36144c
MK
28572002-08-17 Mark Kettenis <kettenis@gnu.org>
2858
2859 * gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
2860 targets. The problem should be fixed now.
2861
16057ec7 28622002-08-15 Mark Kettenis <kettenis@gnu.org>
5415e7c5
MK
2863
2864 * gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
2865 2002-07-24 change that removes final dots from error messages.
2866
3c1499ad
TT
28672002-08-13 Tom Tromey <tromey@redhat.com>
2868
2869 * gdb.base/readline.exp: New file.
2870
a20ce2c3
AC
28712002-08-01 Andrew Cagney <ac131313@redhat.com>
2872
2873 * lib/gdb.exp (gdb_expect_list): Only print one pass, fail, or
2874 supress message.
2875
db034ac5
AC
28762002-08-01 Andrew Cagney <cagney@redhat.com>
2877
2878 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL,
2879 CHILL_FOR_TARGET and CHILL_LIB.
2880 * configure.in (configdirs): Remove gdb.chill.
2881 * configure: Regenerate.
2882 * lib/gdb.exp: Obsolete references to chill.
2883 * gdb.fortran/types.exp: Ditto.
2884 * gdb.fortran/exprs.exp: Ditto.
2885
3e000b18
KB
28862002-07-30 Kevin Buettner <kevinb@redhat.com>
2887
2888 * gdb.base/shlib-call.exp (additional_flags): Conditionally
2889 set Irix-specific compile and link flags.
2890
28f4966b
KB
28912002-07-29 Kevin Buettner <kevinb@redhat.com>
2892
2893 * lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
2894 source files. The ``-o'' option doesn't work with the ``-E'' option
2895 when using the Irix compiler.
2896
46c0d5a6
DJ
28972002-07-19 Daniel Jacobowitz <drow@mvista.com>
2898
2899 * config/gdbserver.exp (gdb_load): Don't use TCL varargs.
2900 Improve support for reusing an exec file. Copy exec file
2901 to target, and run gdbserver on the target instead of on the host.
2902
eecf4bed
JB
29032002-07-18 Jim Blandy <jimb@redhat.com>
2904
0f815cdf
JB
2905 * gdb.base/ending-run.exp: Don't expect to see the program end in
2906 some orderly fashion when we're running on a real stand-alone
2907 board.
2908
eecf4bed
JB
2909 * gdb.base/interrupt.exp: Correct logic for skipping tests on
2910 targets that don't support interrupts.
2911
52d309e4
JB
29122002-07-10 Paul N. Hilfinger <hilfingr@otisco.mckusick.com>
2913
2914 * gdb.base/attach.exp: Add patterns to match output from /proc-based
2915 systems.
2916 Move comments in expect statements to inside the actions, so that they
2917 don't get matched against.
2918
ff683d9e
MK
29192002-07-10 Mark Kettenis <kettenis@gnu.org>
2920
2921 * gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
2922 function when asleep" test.
2923
b5356753
AC
29242002-07-10 Andrew Cagney <ac131313@redhat.com>
2925
2926 * gdb.base/page.exp: Rewrite to handle problems with very long
2927 `info set' output. Update copyright.
2928
6aa4d13a
AC
29292002-06-26 Andrew Cagney <ac131313@redhat.com>
2930
2931 * gdb.hp/configure.in (AC_CONFIG_SUBDIRS): Do not try to configure
2932 gdb.threads-hp.
2933 * gdb.hp/configure: Regenerate.
2934 * gdb.hp/gdb.threads-hp/configure.in: Delete file.
2935 * gdb.hp/gdb.threads-hp/configure: Delete file.
2936 * gdb.hp/gdb.threads-hp/Makefile.in: Delete file.
2937
8cf8c2b8
AC
29382002-06-22 Andrew Cagney <ac131313@redhat.com>
2939
2940 * gdb.base/selftest.exp (do_stes_and_next): Skip calls to
2941 setlocale, bindtextdomain and textdomain.
2942
6827a8f8
JB
29432002-06-11 Jim Blandy <jimb@redhat.com>
2944
919d772c
JB
2945 * lib/gdb.exp (get_debug_format): Tolerate message saying whether
2946 preprocessor macro information is present.
2947
6827a8f8
JB
2948 * macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: New
2949 tests.
2950
c15b0d21
MS
29512002-06-06 Michael Snyder <msnyder@redhat.com>
2952
c5984d70
MS
2953 * gdb.base/overlays.exp: Record addresses of overlay
2954 functions in TCL variables rather than in GDB variables,
2955 to avoid having GDB convert them to pointers (with loss
2956 of information).
2957
d63a86f8 2958 * gdb.base/d10v.ld: Merge in several years worth of
99a8512b 2959 default linker script changes.
c15b0d21
MS
2960 * gdb.base/long_long.exp: Add check for sizeof (long double).
2961
be26fe0d
ML
29622002-06-06 Michal Ludvig <mludvig@suse.cz>
2963
2964 * gdb.asm/asm-source.exp: Add x86-64 target.
2965 * gdb.asm/x86_64.inc: New.
d63a86f8 2966
258093ca 29672002-05-30 Michael Chastain <mec@shout.net>
258093ca 2968
4b3153f1 2969 From Benjamin Kosnik <bkoz@redhat.com>:
258093ca
MC
2970 * gdb.c++/m-static.cc: New file.
2971 * gdb.c++/m-static.exp: New file.
2972
241264c6
MS
29732002-05-28 Michael Snyder <msnyder@redhat.com>
2974
2975 * gdb.base/call-ar-st.exp: Allow for reduced floating point
2976 precision.
2977
9bba8c8f 29782002-05-27 Michael Chastain <mec@shout.net>
71ea1be0 2979
4b3153f1 2980 From Benjamin Kosnik <bkoz@redhat.com>:
71ea1be0
MC
2981 * gdb.c++/m-data.cc: New file.
2982 * gdb.c++/m-data.exp: New file.
2983
29842002-05-27 Michael Chastain <mec@shout.net>
9bba8c8f 2985
4b3153f1 2986 From Benjamin Kosnik <bkoz@redhat.com>:
9bba8c8f 2987 * gdb.c++/try_catch.cc: New file.
d63a86f8 2988 * gdb.c++/try_catch.exp: New file.
9bba8c8f 2989
def1b996
MC
29902002-05-27 Michael Chastain <mec@shout.net>
2991
2992 * gdb.c++/local.exp: Accept more nested types in output.
2993
522ba268
MC
29942002-05-26 Michael Chastain <mec@shout.net>
2995
2996 * gdb.base/call-rt-st.exp: Fix typo in brace quoting.
2997
277254ba
MS
29982002-05-15 Nick Clifton <nickc@cambridge.redhat.com>
2999
3000 * lib/gdb.exp (gdb_wrapper_init): Just because
3001 gdb_wrapper_file exists, this does not mean that the file
3002 should not be rebuilt. That is what gdb_wrapper_initialized
3003 is for.
3004 (default_gdb_init): Reset gdb_wrapper_initialized.
3005
b61a8733
MS
30062002-05-23 Michael Snyder <msnyder@redhat.com>
3007
d63a86f8 3008 * gdb.base/all-bin.exp: Revise previous patch by just reducing
5bdb6d01
MS
3009 the precision of the floating point test results.
3010 * gdb.base/call-rt-st.exp: Ditto.
3011
b61a8733
MS
3012 * gdb.base/all-bin.exp: Allow for reduced floating point precision.
3013 * gdb.base/call-rt-st.exp: Ditto.
3014
56f6e910
MC
30152002-05-19 Michael Chastain <mec@shout.net>
3016
3017 * gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
3018
ad0b0016
EZ
30192002-05-19 Elena Zannoni <ezannoni@redhat.com>
3020
3021 * configure.in (configdirs): Add gdb.arch.
3022 * configure: Regenerate.
3023
f617d2b6
JB
30242002-05-17 Jim Blandy <jimb@redhat.com>
3025
3026 * gdb.base/completion.exp: Recognize the more detailed error
3027 messages produced by the macro expander's lexical analyzer.
3028
eac2a696
EZ
30292002-05-14 Elena Zannoni <ezannoni@redhat.com>
3030
3031 * gdb.arch/altivec-abi.c: New file.
3032 * gdb.arch/altivec-abi.exp: New file.
3033 * gdb.arch/altivec-regs.c: New file.
3034 * gdb.arch/altivec-regs.exp: New file.
3035
2fdde8f8
DJ
30362002-05-14 Daniel Jacobowitz <drow@mvista.com>
3037
3038 * gdb.base/maint.exp (maint print type): Update for new type
3039 structure.
d63a86f8 3040
e31f1a7c
EZ
30412002-05-14 Elena Zannoni <ezannoni@redhat.com>
3042
3043 * gdb.arch: New directory.
3044 * gdb.arch/configure.in: New file.
3045 * gdb.arch/configure: New file.
3046 * gdb.arch/Makefile.in: New file.
3047
db589741
CV
30482002-05-13 Corinna Vinschen <vinschen@redhat.com>
3049
3050 * gdb.asm/asm-source.exp: Add v850 as supported target.
3051 * gdb.asm/v850.inc: New file.
3052
8ce2a7dc
DJ
30532002-05-13 Daniel Jacobowitz <drow@mvista.com>
3054
3055 * gdb.c++/annota2.exp (annotate-quit): Add comment.
3056
df763c7f
DJ
30572002-05-12 Daniel Jacobowitz <drow@mvista.com>
3058
3059 * gdb.base/break.exp: Check 'break "marker2"'.
3060
377daeed
MS
30612002-05-10 Michael Snyder <msnyder@redhat.com>
3062
3063 * gdb.base/long_long.exp: Fix typo.
3064
c4b7bc2b
JB
30652002-05-10 Jim Blandy <jimb@redhat.com>
3066
ecac9a4e
JB
3067 * gdb.base/printcmds.exp: Don't xfail the ptype command. This is
3068 a bug.
3069
c4b7bc2b
JB
3070 * gdb.base/printcmds.exp (test_integer_literals_rejected):
3071 Recognize more detailed error message produced by the macro
3072 expander's lexical analyzer.
3073 * lib/gdb.exp (test_print_reject): Same.
3074
e71019a1
MK
30752002-05-09 Mark Kettenis <kettenis@gnu.org>
3076
3077 * gdb.c++/method.exp: Fix typo.
3078
fedfc8e6
MS
30792002-05-08 Michael Snyder <msnyder@redhat.com>
3080
166a1957
MS
3081 * gdb.mi/mi-var-child.exp: Accept (void) as well as ().
3082 * gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
fedfc8e6 3083 * gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
35928259
MS
3084 * gdb.base/long_long.exp: Merge clauses for arm and xscale.
3085 Add iftarget clause for strongarm.
d63a86f8 3086
f1c47eb2
MS
30872002-05-06 Michael Snyder <msnyder@redhat.com>
3088
cb9a9d3e
MS
3089 * lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
3090 (gdb_continue_to_end): Accept output from status wrapper.
3091 * gdb.base/ending-run.exp: Add case for output from status wrapper.
3092 Clean up fail messages to match pass messages.
3093
f1c47eb2
MS
3094 Enable the "needs_status_wrapper" testsuite feature.
3095 * lib/gdb.exp (gdb_wrapper_init): New procedure.
3096 (gdb_compile): Conditionally call gdb_wrapper_init.
3097 * gdb.base/a2-run.exp: Recognize output from status wrapper.
3098 * gdb.c++/method.exp: Recognize output from status wrapper.
3099
6079c749
BE
31002002-05-06 Ben Elliston <bje@redhat.com>
3101From Graydon Hoare <graydon@redhat.com>
3102
3103 * config/sid.exp: Include support for "rawsid" protocol.
3104
188baff3
JB
31052002-05-03 Jim Blandy <jimb@redhat.com>
3106
3107 * gdb.c++/hang.exp: Check for corruption of the cv_type chain.
3108 * gdb.c++/hang3.C: New file.
3109
b9c07f0f
AC
31102002-05-04 Andrew Cagney <ac131313@redhat.com>
3111
3112 * gdb.base/default.exp: Remove obsolete code.
3113 * gdb.c++/misc.exp: Ditto. Update copyright.
3114 * gdb.c++/cplusfuncs.exp: Ditto. Update copyright.
3115 * gdb.base/whatis.exp: Ditto. Update copyright.
3116 * gdb.base/scope.exp: Ditto. Update copyright.
3117 * gdb.base/ptype.exp: Ditto. Update copyright.
3118 * gdb.base/printcmds.exp: Ditto. Update copyright.
3119 * gdb.base/opaque.exp: Ditto. Update copyright.
3120 * gdb.base/list.exp: Ditto.
3121 * gdb.base/funcargs.exp: Ditto. Update copyright.
3122 * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
3123 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
3124 * gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
3125 * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
3126 * gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
3127 * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
3128
5c7a0397
MS
31292002-05-02 Michael Snyder <msnyder@redhat.com>
3130
d6dcc264 3131 * gdb.base/watchpoint.exp: Add xscale target.
5c7a0397
MS
3132 * gdb.base/long_long.exp: Add xscale target.
3133 * gdb.base/default.exp: Add xscale target.
3134
eb7f1c48
JB
31352002-05-01 Jim Blandy <jimb@redhat.com>
3136
3137 * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
3138 gdb.c++/hang.exp: New test.
3139
a6befae8
FF
31402002-05-01 Fred Fish <fnf@redhat.com>
3141
3142 * gdb.base/completion.exp: Handle completions of "./Make" for
3143 more than one completion possibility, as is the case when we
3144 build and test in the source tree.
3145
0a310277
AG
31462002-04-29 Anthony Green <green@redhat.com>
3147
3148 * gdb.java/jmisc1.exp: New file.
3149 * gdb.java/jmisc2.exp: New file.
3150
6ff9af88
DJ
31512002-04-24 Daniel Jacobowitz <drow@mvista.com>
3152
3153 * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
3154
96b3d632
EZ
31552002-04-23 Elena Zannoni <ezannoni@redhat.com>
3156
3157 * gdb.base/help.exp: Change 'help status' to allow for target
3158 dependent output differences.
3159
5019bb54
MC
31602002-04-22 Michael Chastain <mec@shout.net>
3161
3162 * gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
3163
a805a116
MC
31642002-04-22 Michael Chastain <mec@shout.net>
3165
3166 * gdb.c++/method.exp: Fix syntax of reference to gdb/277.
3167
a1706bfd
DM
31682002-04-17 David S. Miller <davem@redhat.com>
3169
3170 * gdb.asm/sparc64.inc: New file.
3171 * gdb.asm/asm-source.exp: Handle sparc64-*-*.
3172
a73a20a2
EZ
31732002-04-19 Elena Zannoni <ezannoni@redhat.com>
3174
3175 * gdb.asm/asm-source.exp: Don't use a symlink, just copy the
3176 instruction file directly into the build tree. Clean up at end of
3177 test.
3178
ba678339
DM
31792002-04-18 David S. Miller <davem@redhat.com>
3180
3181 * gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
3182 handle 64-bit platforms correctly.
3183 * gdb.base/maint.exp: Likewise.
3184
b03399da
KB
31852002-04-18 Kevin Buettner <kevinb@redhat.com>
3186
3187 * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
3188 ``-fpic'' when compiling files comprising a shared library, but
3189 it does need additional linker flags in order to find shared
3190 libraries at run time.
3191
e2004992
KB
31922002-04-18 Kevin Buettner <kevinb@redhat.com>
3193
3194 * gdb.base/cvexpr.c (use): New function.
3195 (main): Invoke use() on all global variables to prevent
3196 some linkers from deleting these otherwise unused symbols.
3197
d8937120
MC
31982002-04-17 Michael Chastain <mec@shout.net>
3199From David S. Miller <davem@redhat.com>
3200
3201 * gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
3202 handle 64-bit platforms correctly.
3203
ffd61a58
MS
32042002-04-12 Michael Snyder <msnyder@redhat.com>
3205From Jim Blandy <jimb@redhat.com>
3206 * gdb.base/foo.c (foox): Remove section attribute; the linker
3207 script can handle this instead.
3208 * gdb.base/bar.c (barx): Same.
3209 * gdb.base/baz.c (bazx): Same.
3210 * gdb.base/grbx.c (grbxx): Same.
3211
3212 * gdb.base/overlays.exp: New test: check that GDB's manual overlay
3213 manager doesn't automatically unmap overlays unnecessarily.
3214
6b8426a6
MH
32152002-04-10 Martin M. Hunt <hunt@redhat.com>
3216
3217 * gdb.base/ending-run.exp: Fix pattern for Mips targets
3218 stepping out of main.
3219
34af4875
MC
32202002-04-09 Michael Chastain <mec@shout.net>
3221
3222 * gdb.c++/local.cc (main): Move call to marker1() inside nested
3223 scope so that the nested scope tests will make sense.
3224 * gdb.c++/local.exp: Write patterns that actually work with gcc
3225 (the HP patterns "were never known to work with gcc").
3226 Keep the old aCC patterns too.
3227
2d1676a0
DJ
32282002-04-09 Daniel Jacobowitz <drow@mvista.com>
3229
3230 * gdb.base/attach.exp: Correct target board test.
3231
3a63e3f9
MC
32322002-04-08 Michael Chastain <mec@shout.net>
3233
3234 * gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
3235 in a const method. Add some xfail and fail cases for configurations
3236 that do not emit the "const ...".
3237
f18dabd2
MC
32382002-04-07 Michael Chastain <mec@shout.net>
3239
3240 * gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
3241 Accept "A * const" and "const A * const" as type of "this".
3242 Fix spelling of getFunky throughout. Make messages uniform.
3243
0fcddd82
EZ
32442002-04-07 Elena Zannoni <ezannoni@redhat.com>
3245
3246 Work around for PR gdb/285:
3247 * gdb.asm/asm-source.exp: Bail out if multilibs are detected.
3248
16a8534a
EZ
32492002-04-07 Elena Zannoni <ezannoni@redhat.com>
3250
3251 * gdb.asm/asm-source.exp: Build symbolic link to arch specific
3252 instructions file at run time instead of configure time.
3253 Sometimes we run the test in a directory that is not the one we
3254 configured in.
3255 * gdb.asm/configure.in: Delete creation of symlink.
3256 * gdb.asm/configure: Regenerate.
3257
24181d81
JB
32582002-04-05 J. Brobecker <brobecker@gnat.com>
3259
3260 * gdb.gdb/xfullpath.exp: New test, to exercise the new
3261 xfullpath () function.
3262
7cdb7107
DJ
32632002-04-04 Daniel Jacobowitz <drow@mvista.com>
3264
3265 * gdb.asm/Makefile.in: Correct dependencies.
3266
3267 * gdb.asm/powerpc.inc: New file.
3268 * gdb.asm/asm-source.exp: Add PowerPC.
3269 * gdb.asm/configure.in: Likewise.
3270 * gdb.asm/configure: Regenerated.
3271
a7d17088
DJ
32722002-04-04 Daniel Jacobowitz <drow@mvista.com>
3273
3274 * gdb.base/relocate.exp: New file.
3275 * gdb.base/relocate.c: New file.
3276
cd721503
FF
32772002-04-04 Fred Fish <fnf@redhat.com>
3278
3279 * gdb.base/step-test.exp: Update comment regarding stopping in
3280 memcpy/bcopy calls inserted as part of the compiler runtime.
3281
b22ad7a7
MS
32822002-04-04 Michael Snyder <msnyder@redhat.com>
3283
3284 * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
3285
5f279fa6
DJ
32862002-04-03 Daniel Jacobowitz <drow@mvista.com>
3287
3288 * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
3289 (gdb_expect): Remove $notransfer hack.
3290
dd0fd3ce
DJ
32912002-04-02 Daniel Jacobowitz <drow@mvista.com>
3292
3293 * gdb.c++/classes.exp ("calling method for small class"): Match
3294 updated register output.
3295
1e50cda1
DJ
32962002-03-30 Daniel Jacobowitz <drow@mvista.com>
3297
3298 Fix PR gdb/452
3299 * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
3300 when finished. Make gdb_file_cmd send "exec-file" when
3301 appropriate.
3302
24015922
DJ
33032002-03-30 Daniel Jacobowitz <drow@mvista.com>
3304
3305 * gdb.base/attach.exp: Remove extra setup_xfail.
3306
dd7dfd64
MS
33072002-03-26 Michael Snyder <msnyder@redhat.com>
3308
3309 * gdb.base/default.exp: Add tests for dump, append, and restore.
3310 * gdb.base/help.exp: Add tests for dump, append, and restore.
3311 * gdb.base/dump.exp: New file, test dump, append and restore.
3312 * gdb.base/dump.c: New file.
3313
48b2f8d7
MS
33142002-03-27 Michael Snyder <msnyder@redhat.com>
3315
d63a86f8 3316 * gdb.base/help.exp: Modify expect strings to reflect
48b2f8d7
MS
3317 clean-ups in help messages.
3318
05b4d525
FF
33192002-03-26 Fred Fish <fnf@redhat.com>
3320
3321 * gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
3322 have debugging info for those functions and the compiler uses them
3323 internally to copy structs around.
3324
d7679631
FF
33252002-03-26 Fred Fish <fnf@redhat.com>
3326
3327 * gdb.base/list.exp: Revert the change made yesterday and add note
3328 about why we don't list the default lines for remote targets.
3329
523ac3f9
MS
33302002-03-25 Michael Snyder <msnyder@redhat.com>
3331
3332 * gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
3333
754b2b8d
FF
33342002-03-25 Fred Fish <fnf@redhat.com>
3335
3336 * gdb.base/list.exp: This test works on remote targets so remove
3337 the short circuit for remote targets. Update copyright.
3338
33c3e192
FF
33392002-03-25 Fred Fish <fnf@redhat.com>
3340
3341 * gdb.base/attach.exp: Fix logic error that was suppressing this
3342 test for all non hppa*-*-hpux* targets, instead of the hp target.
3343 Move comments closer to the suppression point. Also now need to
3344 check that we are running natively.
3345
d43e73ee
MS
33462002-03-22 Michael Snyder <msnyder@redhat.com>
3347
882c8f02
MS
3348 * gdb.base/default.exp: Add test for gcore. Update copyright.
3349 * gdb.base/help.exp: Add test for gcore. Update copyright.
d43e73ee 3350
04c12f60
FF
33512002-03-06 Fred Fish <fnf@redhat.com>
3352
3353 * gdb.base/funcargs.c: Remove extraneous ';' character.
3354 * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
3355
b43df995
MC
33562002-03-04 Michael Chastain <mec@shout.net>
3357
3358 * gdb.mi/mi-var-cmd.exp: In test "create local variable func",
3359 accommodate gcc v3 function signature.
3360 * gdb.mi/mi0-var-cmd-exp: Ditto.
3361
92362027
AC
33622002-02-24 Andrew Cagney <ac131313@redhat.com>
3363
3364 * testsuite/gdb.base/huge.c: Replace ``Linux'' with either
3365 ``GNU/Linux'' or ``Linux kernel''
3366 * testsuite/gdb.threads/pthreads.c: Ditto.
3367
258ad32d
MC
33682002-02-24 Michael Chastain <mec@shout.net>
3369
3370 * gdb.threads/pthreads.c (thread1): Add a return statement.
3371 (thread2): Likewise.
3372 (foo): Likewise.
3373
04c3b3d4
MC
33742002-02-23 Michael Chastain <mec@shout.net>
3375
3376 * gdb.threads/linux-dp.c (philosopher): Add a return statement
3377 to placate gcc.
3378
5a2a0a20
MC
33792002-02-23 Michael Chastain <mec@shout.net>
3380
3381 * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
3382 test "ptype bint". The test passes on all my stabs configurations.
3383
a640f7fc
JB
33842002-02-21 Jim Blandy <jimb@redhat.com>
3385
27924826
JB
3386 * gdb.asm/asm-source.exp: Parse the output from `info sources' one
3387 filename at a time, and watch for the ones we want to see.
3388
a640f7fc
JB
3389 * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
3390 types of pointers to prototyped functions.
3391
edcc8c75
AC
33922002-02-20 Andrew Cagney <ac131313@redhat.com>
3393
3394 * gdb.base/sizeof.c (main): Call fill_structs. Print value of
3395 signed, unsigned and straight char.
3396 (padding_char, padding_short, padding_int, padding_long,
3397 padding_long_long, padding_float, padding_double,
3398 padding_long_double): New global variables.
3399 (fill, fill_structs): New functions.
3400
3401 * gdb.base/sizeof.exp: Check for signed and unsigned char. Check
3402 for correctly sized writes. Update copyright.
3403 (get_valueof): New procedure.
3404 (get_sizeof): Call get_valueof.
3405 (check_valueof): New procedure.
3406 (check_padding): New procedure.
3407
ac57ea44
MC
34082002-02-20 Michael Chastain <mec@shout.net>
3409
3410 * gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
3411 to setup_xfail. Document some of the remaining calls.
3412
7a10c941
MC
34132002-02-18 Michael Chastain <mec@shout.net>
3414
3415 * gdb.c++/userdef.exp: Update copyright year.
3416
fb8acdcc
DJ
34172002-02-18 Daniel Jacobowitz <drow@mvista.com>
3418
3419 * gdb.c++/userdef.exp: Test overloaded operators properly.
3420 Remove xfails.
3421
fda6ae12
MS
34222002-02-14 Michael Snyder <msnyder@redhat.com>
3423
3424 * gdb.base/gcore.exp: Relax recognition of function breakpoint.
3425
676a0442
DJ
34262002-02-14 Daniel Jacobowitz <drow@mvista.com>
3427
3428 * gdb.base/a2-run.exp: Check for a remote target properly.
3429 * gdb.base/annota1.exp: Likewise.
3430 * gdb.base/list.exp: Likewise.
3431 * gdb.base/reread.exp: Likewise.
3432 * gdb.base/scope.exp: Likewise.
3433 * gdb.base/shlib-call.exp: Likewise.
3434 * gdb.base/term.exp: Likewise.
3435 * gdb.c++/annota2.exp: Likewise.
3436
78b4f468
RE
34372002-02-13 Richard Earnshaw <rearnsha@arm.com>
3438
3439 * gdb.base/watchpoint.exp: Restore previous timeout at end of test.
3440
9a81ba51
MC
34412002-02-10 Michael Chastain <mec@shout.net>
3442
3443 * gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
3444 (call_after_alloca): Ditto.
3445
004af6c7
DJ
34462002-02-10 Daniel Jacobowitz <drow@mvista.com>
3447
3448 * gdb.base/ending-run.exp: Guard "cont" test with
3449 gdb_skip_stdio_test.
3450
37225f62
JB
34512002-02-06 Jim Blandy <jimb@redhat.com>
3452
3453 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
3454 from here...
3455 * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
3456 To here. Disable this test on non-HP platforms. Add big comment.
3457
fe6fdd96
MS
34582002-02-04 Michael Snyder <msnyder@redhat.com>
3459
3460 * gdb.base/ovlymgr.c (ovly_copy): Generalize for targets
3461 other than d10v and m32r.
3462
036fad3f
RE
34632002-02-02 Richard Earnshaw <rearnsha@arm.com>
3464
3465 * gdb.base/default.exp: Rewrite test patterns to reduce time
3466 taken to match them.
3467
7148ab62
DJ
34682002-01-30 Daniel Jacobowitz <drow@mvista.com>
3469
3470 * gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
3471 Allow a start function above main.
3472 * gdb.threads/linux-dp.exp: Fix copyright date.
3473
396cc255
DJ
34742002-01-30 Daniel Jacobowitz <drow@mvista.com>
3475
3476 * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
3477 (check_philosopher_stack): Check for manager thread before checking
3478 for a just-starting thread.
3479
f038d31b
DJ
34802002-01-30 Daniel Jacobowitz <drow@mvista.com>
3481
3482 From Neil Booth <neil@daikokuya.demon.co.uk>:
3483 * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
3484 warnings.
3485
b3ff9d9a
FF
34862002-01-21 Fred Fish <fnf@redhat.com>
3487
3488 * gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
3489 not caller.
3490
39ad761d
JB
34912002-01-21 Jim Blandy <jimb@redhat.com>
3492
3493 * gdb.base/reread.exp: Check that GDB properly re-reads the
3494 executable file when it changes while no inferior is running.
3495
aaf320fa
FF
34962002-01-21 Fred Fish <fnf@redhat.com>
3497
3498 * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
3499 optionally accept the "shlib events" variation.
3500
808a31f5
JB
35012002-01-21 Jim Blandy <jimb@redhat.com>
3502
3503 * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
3504 call `fflush' after every `printf', so that the output is produced
3505 at predictable points, regardless of whatever buffering does (or
3506 doesn't) take place.
3507 * gdb.base/ending-run.exp: Adjust tests to expect output to appear
3508 at different points.
3509
4420d5e2
DJ
35102002-01-20 Daniel Jacobowitz <drow@mvista.com>
3511
3512 * gdb.c++/inherit.exp: Update copyright years.
3513 * gdb.c++/method.exp: Likewise.
3514
3e36a0f4
DJ
35152002-01-20 Daniel Jacobowitz <drow@mvista.com>
3516
3517 * gdb.c++/classes.exp: Update for improved v3 support and skipping
3518 artificial methods/arguments.
3519 * gdb.c++/derivation.exp: Likewise.
3520 * gdb.c++/inherit.exp: Likewise.
3521 * gdb.c++/method.exp: Likewise.
3522 * gdb.c++/virtfunc.exp: Likewise.
3523
b4ceaee6
AC
35242002-01-18 Andrew Cagney <ac131313@redhat.com>
3525
3526 * gdb.hp/gdb.threads-hp/usrthfork.exp: Mark as obsolete.
3527 * gdb.hp/gdb.threads-hp/usrthcore.exp: Ditto.
3528 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Ditto.
3529 * gdb.hp/gdb.threads-hp/usrthfork.c: Ditto.
3530 * gdb.hp/gdb.threads-hp/usrthbasic.c: Ditto.
3531 * gdb.hp/gdb.threads-hp/usrthcore.c: Ditto.
3532
ecace851
JB
35332002-01-17 Jim Blandy <jimb@redhat.com>
3534
3535 * gdb.asm/asm-source.exp (info symbol): Take another shot at
3536 anchoring the pattern matching the entry point symbol's name.
3537
375fc983
AC
35382002-01-17 Andrew Cagney <ac131313@redhat.com>
3539
3540 * gdb.base/maint.exp: Update ``maint internal-error'' to match
3541 continue/quit query. Update copyright.
3542
fe6fdd96
MS
35432002-01-14 Michael Snyder <msnyder@redhat.com>
3544
3545 * gdb.base/gcore.exp: Remove extra debugging output.
3546
e017c81f
DJ
35472002-01-13 Daniel Jacobowitz <drow@mvista.com>
3548
3549 * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
3550 for slightly dubious v2 mangled string.
3551
37ab3bf8
DJ
35522002-01-13 Daniel Jacobowitz <drow@mvista.com>
3553
3554 * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
3555
1bc05c3a 35562002-01-10 Jason Merrill <jason@redhat.com>
7b2ac63b 3557
1bc05c3a 3558 * gdb.c++/namespace.exp: Accept trailing const for 'this'.
7b2ac63b 3559
1bc05c3a
JM
3560 * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
3561 constructors.
3562 * gdb.c++/derivation.exp: Likewise.
3563 * gdb.c++/templates.exp: Likewise.
3564 * gdb.c++/virtfunc.exp: Likewise.
ffcb195b 3565
1bc05c3a
JM
35662002-01-10 Michael Snyder <msnyder@redhat.com>
3567
3568 * gdb.c++/namespace.exp: Accept both '\0' and '\000'.
ffcb195b 3569
a911c360
MS
35702002-01-08 Michael Snyder <msnyder@redhat.com>
3571
3572 * gdb.base/gcore.exp: New test for generate-core-file command.
3573 * gdb.base/gcore.c: Testcase for above.
3574 * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
3575
ea2119ec
JM
35762002-01-08 Jason Merrill <jason@redhat.com>
3577
3578 * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
3579
68203136
FF
35802002-01-07 Fred Fish <fnf@redhat.com>
3581
3582 * gdb.c++/overload.exp: Remove unconditional xfails for:
3583 print foo_instance1.overloadargs(1)
3584 print foo_instance1.overloadargs(1, 2)
3585 print foo_instance1.overloadargs(1, 2, 3)
3586 print foo_instance1.overloadargs(1, 2, 3, 4)
3587 print foo_instance1.overloadargs(1, 2, 3, 4, 5)
3588 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
3589 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
3590 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
3591 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
3592 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
3593 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
3594 print foo_instance1.overload1arg()
3595 print foo_instance1.overload1arg((char)arg2)
3596 print foo_instance1.overload1arg((signed char)arg3)
3597 print foo_instance1.overload1arg((unsigned char)arg4)
3598 print foo_instance1.overload1arg((int)arg7)
3599 print foo_instance1.overload1arg((unsigned int)arg8)
3600 print foo_instance1.overload1arg((float)arg11)
3601 print foo_instance1.overload1arg((double)arg12)
d63a86f8 3602
21b9b5b1
MS
36032002-01-07 Michael Snyder <msnyder@redhat.com>
3604
3605 * gdb.base/huge.exp: New test. Print a very large target data object.
3606 (skip_huge_test): New test variable. Define if you want to skip this
3607 test. The test reads an 8 megabyte data object from the target, so it
3608 might be very time consuming on remote targets with a slow connection.
3609 * gdb.base/huge.c: New file. Test case for above.
3610
725f922e
FF
36112002-01-07 Fred Fish <fnf@redhat.com>
3612
3613 * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
3614 g_instance.bfoo, and g_instance.cfoo.
3615
634d57ec
JL
3616Mon Jan 7 12:22:18 2002 Jeffrey A Law (law@redhat.com)
3617
f286b2c3
JL
3618 * gdb.base/break.c (multi_line_if_conditional): New function.
3619 (multi_ilne_while_conditional): Likewise.
3620 * gdb.base/break.exp: Verify that a breakpoint on a multi-line
3621 IF or WHILE condition puts the breakpoint at the start of
3622 the condition.
3623
634d57ec
JL
3624 * gdb.base/selftest.exp (backtrace through signal handler): Remove
3625 hppa*-*-hpux* expected failure.
3626 * gdb.base/structs.exp (do_function_calls): Similarly.
3627
3628 * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
3629 watchpoints.
3630
9fbfe2dc
AC
36312002-01-06 Andrew Cagney <ac131313@redhat.com>
3632
3633 Fix PR gdb/66.
3634 * gdb.base/structs.exp: Replace skip for a29k with skip for
3635 gdb,cannot_call_functions.
3636 * gdb.base/call-ar-st.exp: Remove references to a29k in comments.
3637 * gdb.base/callfuncs.exp: Ditto.
3638 * gdb.base/call-rt-st.exp: Ditto.
3639 * gdb.base/call-strs.exp: Ditto.
3640 * gdb.base/callfwmall.exp: Ditto.
3641 * gdb.base/scope.exp: Obsolete xfail a29k.
3642 * gdb.c++/misc.exp: Ditto.
3643 * gdb.c++/cplusfuncs.exp: Ditto.
3644 * gdb.base/ptype.exp: Ditto.
3645 * gdb.base/printcmds.exp: Ditto.
3646 * gdb.base/opaque.exp: Ditto.
3647 * gdb.base/list.exp: Ditto.
3648 * gdb.base/funcargs.exp: Ditto.
3649 * gdb.base/default.exp: Ditto.
3650
8ddad156
MS
36512002-01-04 Michael Snyder <msnyder@redhat.com>
3652
ca4976a6 3653 * gdb.base/info-proc.exp: New file, test for "info proc" cmd.
8ddad156
MS
3654 * gdb.base/maint.exp: Add tests for maint info sections options.
3655
1b074332
JL
3656Fri Dec 21 09:42:11 2001 Jeffrey A Law (law@redhat.com)
3657
3658 * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
3659
7d159115
CV
36602001-12-20 Corinna Vinschen <vinschen@redhat.com>
3661
3662 * gdb.asm/arm.inc: New file.
3663 * gdb.asm/asm-source.exp: Add arm targets.
3664 * gdb.asm/configure.in: Ditto.
3665 * gdb.asm/configure: Recreated from configure.in.
3666
8fb87725
JL
3667Thu Dec 20 09:54:36 2001 Jeffrey A Law (law@redhat.com)
3668
afabe08c
JL
3669 * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
3670 with HP's compiler.
3671 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
3672 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
3673 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
3674 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
3675
3676 * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
3677 either HP's compilers or GCC.
3678
db521deb
JL
3679 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
3680 a SIGBUS or SIGSEGV.
3681
3682 * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
3683
3684 * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
3685 can be compiled with either HP's compiler or GCC.
3686
cfa88ab7
JL
3687 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
3688 * gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
3689 * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
3690
ca344dff
JL
3691 * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
3692 to match current gdb output. Update due to using auto-solib-limit
3693 for limiting instead of overloading auto-solib-add.
3694 * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
3695 test program.
3696
3f3c6e55 3697 * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
ca344dff
JL
3698 * gdb.hp/gdb.base-hp/dollar.exp: Likewise
3699 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
3700 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
3701 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
3702 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
3703 * gdb.hp/gdb.defects/bs15503.exp: Likewise.
3704 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
3705 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
3706 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
3707 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
3708 * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
3709 * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
3f3c6e55 3710
8fb87725
JL
3711 * gdb.base/annota1.exp: Expect failure for hpux11 when posting
3712 a SIGTRAP to the inferior.
3713
cf599fa7
CV
37142001-12-19 Corinna Vinschen <vinschen@redhat.com>
3715
3716 * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
3717 Substitute call to target_link by call to gdb_compile.
3718
2cd045cd
JL
3719Wed Dec 19 14:10:57 2001 Jeffrey A Law (law@redhat.com)
3720
3721 * gdb.base/break.exp: Fix HP specific search string when testing
3722 backtracing in a called function.
3723
d63a86f8 3724 * gdb.base/constvars.exp: Only set lang to C++ if we're
2cd045cd
JL
3725 compiling the test with HP's compilers.
3726 * gdb.base/volatile.exp: Similarly.
3727
99ebe9ac
JB
37282001-12-19 Jim Blandy <jimb@redhat.com>
3729
3730 * gdb.base/printcmds.exp: Expect the null character to be printed
3731 as '\0', and the '\013' to be printed as '\v'.
3732 * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
3733 * gdb.base/setvar.exp: Same.
3734
b9891b29
JB
37352001-12-17 Jim Blandy <jimb@redhat.com>
3736
0eba65ab
JB
3737 * gdb.base/completion.exp: Rather than completing very long
3738 filenames, which can make the readline library produce output we
3739 don't recognize, cd to the directory first, and then complete
3740 using nice, short relative paths.
3741
6970b5b1
JB
3742 * gdb.base/completion.exp: On some systems, there is, in fact, a
3743 variable named `b' in scope, since GDB treats all static
3744 variables as being in scope. So use `no_var_named_this'
3745 instead of `b'.
3746
b9891b29
JB
3747 * gdb.base/corefile.exp: Recognize the message saying that GDB
3748 can't find the core file's registers as a failure.
3749
e6ccd35f
JSC
37502001-12-13 Jackie Smith Cashion <jsmith@redhat.com>
3751
3752 * gdb.base/commands.exp (user_defined_command_test): Make "show user"
3753 test expect string more specific.
3754
105ba819
CV
37552001-12-13 Corinna Vinschen <vinschen@redhat.com>
3756
3757 * gdb.asm/asm-source.exp: Add support for xstormy16.
3758 * gdb.asm/configure.in: Ditto.
3759 * gdb.asm/configure: Rebuild.
3760 * gdb.asm/xstormy16.inc: New file.
3761
e9e79dd9
FF
37622001-12-10 Fred Fish <fnf@redhat.com>
3763
3764 * gdb.base/maint.exp: Update to match changes in type dumping code.
3765
347dc97d
JB
37662001-12-10 Jim Blandy <jimb@redhat.com>
3767
3768 * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
3769 matching the entry point symbol's name at the beginning of the
3770 line.
3771
5178b9d6
DJ
37722001-12-07 Daniel Jacobowitz <drow@mvista.com>
3773
3774 * gdb.c++/classes.exp, gdb.c++/derivation.exp,
3775 gdb.c++/inherit.exp, gdb.c++/method.exp,
3776 gdb.c++/namespace.exp, gdb.c++/templates.exp,
3777 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
3778 and class layout support.
3779
af890c52
DJ
37802001-12-07 Daniel Jacobowitz <drow@mvista.com>
3781
3782 * gdb.c++/classes.exp: Add test for static member function.
3783 * gdb.c++/misc.cc: Add class with static member function.
3784
7a345fb3
JB
37852001-12-07 Jim Blandy <jimb@redhat.com>
3786
f2e54a80 3787 If GDB says it can't find the struct the function returned, report
8032bf31
JB
3788 those tests as `unsupported'.
3789 * gdb.base/call-rt-st.exp (print_struct_call): New function.
3790 Rewrite subsequent tests to use it.
3791
3792 If GDB says it can't find the struct the function returned, report
f2e54a80
JB
3793 those tests as `unsupported'.
3794 * gdb.base/structs.exp (call_struct_func): New function.
3795 (do_function_calls): Use call_struct_func to call the functions
3796 returning structs.
3797
0bc69509
JB
3798 * gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
3799 whether functions are prototyped or not, so we can't possibly pass
3800 arguments to t_float_values2 properly.
3801
7a345fb3
JB
3802 * gdb.base/break.exp: (test_next_with_recursion): Don't change the
3803 value of `timeout' for targets other than the mips*tx39-*.
3804
edb6ede1
MS
38052001-12-06 Michael Snyder <msnyder@redhat.com>
3806
d63a86f8 3807 * gdb.asm/asm-source.exp: Add tests for info target, info symbol,
edb6ede1
MS
3808 and detect whether the start symbol has a leading underscore.
3809
2d842f13
JB
38102001-12-04 Jim Blandy <jimb@redhat.com>
3811
3812 * gdb.base/completion.exp: Clarify indentation.
3813
68550daf
JB
38142001-12-03 Jim Blandy <jimb@redhat.com>
3815
3816 * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
3817 variables on the S/390, not `.word'.
3818
cd5195a8
JB
38192001-11-30 Jim Blandy <jimb@redhat.com>
3820
3821 Add assembly-source tests for s390-ibm-linux.
3822 * gdb.asm/s390.inc: New file.
3823 * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
3824 the S/390 architecture.
3825 * gdb.asm/configure: Regenerated.
3826
ca9efc90
MS
38272001-11-30 Michael Snyder <msnyder@redhat.com>
3828
3829 * gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
3830 next, info source, info sources, info line, global and static
3831 variables, and static functions.
3832 * gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
3833 * gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
3834 * gdb.asm/asmsrc1.s: Add a static function and some variables.
3835 * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
3836 * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
3837 (gdbasm_leave): Restore frame pointer.
3838 (gdbasm_startup): Copy stack set-up from crt0.S.
3839
d0e66976
FN
38402001-11-26 Fernando Nasser <fnasser@redhat.com>
3841
3842 From 2001-11-12 Jackie Smith Cashion <jsmith@redhat.com>:
3843 * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
3844 to a local (non-static) variable. Copy tstruct.a to a static buffer
3845 and return a pointer to that buffer.
3846 * gdb.base/callfwmall.c (t_structs_a): Ditto.
3847
e2334072
MK
38482001-11-24 Mark Kettenis <kettenis@gnu.org>
3849
3850 * gdb.asm/configure.in: Fix recognition of ix86 target.
3851 * gdb.asm/configure: Regenerate.
3852
756caa3d
MS
38532001-11-21 Michael Snyder <msnyder@redhat.com>
3854
3855 * gdb.asm/sparc.inc: New file.
3856 * gdb.asm/asm-source.exp: Recognize sparc target.
3857 * gdb.asm/configure.in: Recognize sparc target.
3858 * gdb.asm/configure: Regenerate.
d63a86f8 3859
9a4d72d5
MS
38602001-11-21 Michael Snyder <msnyder@redhat.com>
3861
3862 * gdb.asm/m32r.inc: New file.
3863 * gdb.asm/asm-source.exp: Recognize m32r target.
3864 * gdb.asm/configure.in: Recognize m32r target.
3865 * gdb.asm/configure: Regenerate.
3866
a773d1cd
MS
38672001-11-20 Michael Snyder <msnyder@redhat.com>
3868
017ac23d
MS
3869 * gdb.asm/i386.inc: New file.
3870 * gdb.asm/asm-source.exp: Recognize ix86 target.
3871 * gdb.asm/configure.in: Recognize ix86 target.
3872 * gdb.asm/configure: Regenerate.
3873
a773d1cd
MS
3874 * gdb.c++/namespace.exp: Fix quotes in output messages.
3875
bb632afb
MS
38762001-11-14 Michael Snyder <msnyder@redhat.com>
3877
25d559ca 3878 * gdb.base/code-expr.exp: New file. Tests use of the "@code"
bb632afb
MS
3879 qualifier in a type cast expression, to designate an address
3880 in the instruction space (Harvard architecture).
3881
4749e309
MS
38822001-11-13 Michael Snyder <msnyder@redhat.com>
3883
3884 * gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
3885 Tests for expressions using 'const' and 'volatile'.
3886
25050984
CV
38872001-11-13 Corinna Vinschen <vinschen@redhat.com>
3888
3889 * gdb.asm/asm-sources.exp: Allow defining linker flags.
3890
1902c51f
DJ
38912001-11-12 Daniel Jacobowitz <drow@mvista.com>
3892
3893 * lib/mi-support.exp (mi_run_to_helper): Move comments
3894 outside of gdb_expect.
3895
dcf95b47
DJ
38962001-11-11 Daniel Jacobowitz <drow@mvista.com>
3897
3898 * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
3899 mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
3900 mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
3901 mi0_run_to): New functions.
3902 * gdb.mi/mi-simplerun.exp: Use them.
3903 * gdb.mi/mi0-simplerun.exp: Likewise.
3904 * gdb.mi/mi-var-cmd.exp: Likewise.
3905 * gdb.mi/mi0-var-cmd.exp: Likewise.
d63a86f8 3906
45b074e1
AC
39072001-11-10 Andrew Cagney <ac131313@redhat.com>
3908
3909 * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
3910 * gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
3911
bf50d346
AC
39122001-11-09 Andrew Cagney <ac131313@redhat.com>
3913
3914 * gdb.base/restore.exp: Include $expected value in restored test
3915 message.
3916
9383332c
AC
39172001-11-09 Andrew Cagney <ac131313@redhat.com>
3918
3919 * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
3920 implemented.
3921
db62520a
MS
39222001-11-08 Michael Snyder <msnyder@redhat.com>
3923
3924 * gdb.base/callfuncs.exp: Add tests for nested call dummies.
3925 Add pass/fail message for stop at breakpoint in call dummy function.
3926
b5703437
MS
39272001-11-07 Michael Snyder <msnyder@redhat.com>
3928
d63a86f8
RM
3929 * gdb.c++/templates.exp (test_template_breakpoints):
3930 If we get an overload menu, but it does not match what
760f6330 3931 we expect, we still need to issue the "cancel" command.
3b2a7ae5
MS
3932 * gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
3933 making the whitespace optional. Argument for "new" may be
3934 "unsigned" as well as "unsigned int/long".
d63a86f8 3935 * gdb.c++/templates.exp: Replace "const &" with "const ?&",
eef747c0
MS
3936 making the whitespace optional. Also replace "(void) with
3937 "((void|)), making the keyword "void" optional.
d63a86f8 3938 * gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
63f50499
MS
3939 making the whitespace optional. Also replace "(void) with
3940 "((void|)), making the keyword "void" optional.
3bf40917
MS
3941 * gdb.base/callfuncs.c (t_float_values): This function must
3942 _not_ be prototyped, and the following function (t_float_values2)
d63a86f8 3943 must be prototyped (if the compiler supports it), so that GDB
3bf40917
MS
3944 can be tested against both cases. Usually one case involves
3945 promotion of float to double, while the other does not.
3946 * gdb.base/callfwmall.c: Ditto.
b5703437
MS
3947 * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
3948 includes a stack frame for "start".
3949
c8ab4e6d
JB
39502001-11-05 Jim Blandy <jimb@redhat.com>
3951
3952 * gdb.stabs/weird.exp: Delete "p v_comb" test. It assumes that
3953 pointers are 32 bits long, and that offsets of relocs are always
3954 stored in the data (REL-style), and not in the reloc entry itself
3955 (RELA-style).
3956 * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
3957 stabs.
3958
3f08ced9
MS
39592001-11-01 Michael Snyder <msnyder@redhat.com>
3960
3961 * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
3962 and regular expression operators by using quoting.
3963
cbfa24cd
MS
39642001-10-31 Michael Snyder <msnyder@redhat.com>
3965
3966 * gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
3967 depending on what the symbol table contains.
3968 * gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
3969 the output of the ptype command. Similarly, accept both "const &"
3970 and "const&".
3971
aaa68313
CV
39722001-10-31 Corinna Vinschen <vinschen@redhat.com>
3973
3974 * gdb.base/miscexprs.c (main): Add usage of preprocessor
3975 symbol `STORAGE' to allow to choose the storage class of
3976 the local datastructures.
3977 * gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
3978 compiler directive.
3979
91740388
MS
39802001-10-30 Michael Snyder <msnyder@redhat.com>
3981
3982 * gdb.base/jump.exp: Allow it to run for all targets.
3983
1b7c05e7
CV
39842001-10-29 Corinna Vinschen <vinschen@redhat.com>
3985
3986 * gdb.base/call-ar-st.c (print_double_array): Match for loop
3987 with new double_array size.
3988 (main): Change storage class of all local variables to static.
3989 Reduce size of double_array to 9.
3990 * gdb.base/call-ar-st.exp: Increase timeout value.
3991 Change expected output for double array to match new size in
3992 call-ar-st.c.
3993
36a22261
CV
39942001-10-29 Corinna Vinschen <vinschen@redhat.com>
3995
3996 * gdb.base/ending-run.exp: Create identical output when passing
3997 `step to end of run' case. Add regular expression branch satisfying
d63a86f8 3998 Stormy16 target.
36a22261 3999
92b8ae91
MK
40002001-10-28 Mark Kettenis <kettenis@gnu.org>
4001
4002 * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
4003 that we catch the expected failure under Linux/x86.
4004
cb135b83
OF
40052001-10-29 Orjan Friberg <orjanf@axis.com>
4006
4007 * gdb.base/setvar.exp: Escape curly braces.
4008 * gdb.stabs/weird.exp: Ditto.
4009
6884aa54
DJ
40102001-10-27 Daniel Jacobowitz <drow@mvista.com>
4011
4012 * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
4013 * gdm.mi/mi0-hack-cli.exp: Likewise.
4014
0398c9aa
AC
40152001-10-25 Andrew Cagney <ac131313@redhat.com>
4016
4017 * gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
4018 messages.
4019
d20bf2e8
AC
40202001-10-21 Andrew Cagney <ac131313@redhat.com>
4021
4022 * lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
4023 checking MI enabled.
4024
03dd63aa
CV
40252001-10-09 Corinna Vinschen <vinschen@redhat.com>
4026
4027 * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
4028
1d9d99f3
FCE
40292001-10-04 Frank Ch. Eigler <fche@redhat.com>
4030
4031 * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
4032 if gdb child process crashes, just signal an error.
4033
838ae6c4
JB
40342001-10-02 Jim Blandy <jimb@redhat.com>
4035
4036 * lib/gdb.exp (test_xfail_format): Simplify.
4037
4038 * lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
4039 front of the variable name `format'. Simplify `if'.
4040
8f0cbc1c
DJ
40412001-10-01 Daniel Jacobowitz <drow@mvista.com>
4042
4043 * gdb.threads/pthreads.exp: Wait for output and delay
4044 before sending ^C.
4045
1f08dafd
DJ
40462001-10-01 Daniel Jacobowitz <drow@mvista.com>
4047
4048 * gdb.mi/mi-var-display.exp (continue to incr_a): Recognize
4049 some incorrect output instead of timing out.
4050 * gdb.mi/mi-var-display.exp (continue to incr_a): Likewise.
4051
674f90ff
CV
40522001-09-28 Corinna Vinschen <vinschen@redhat.com>
4053
4054 * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
4055 check to allow additional `int'.
4056
9b284272
DJ
40572001-09-27 Daniel Jacobowitz <drow@mvista.com>
4058
4059 * gdb.base/completion.exp: Remove incorrect 'p "a' test.
4060 Add tests for 'p "break' (pass) and 'p "break.' (xfail).
4061
b55a4771
MS
40622001-09-27 Michael Snyder <msnyder@redhat.com>
4063
4064 * lib/gdb.exp (test_debug_format): New proc.
4065 (setup_xfail_format): Use new proc test_debug_format.
4066 * gdb.base/constvars.exp (local_compiler_xfail_check): New
4067 proc; use new service proc test_debug_format.
4068 Replace all other "gcc_compiled" tests with this test.
4069 * gdb.base/volatile.exp (local_compiler_xfail_check): New
4070 proc; use new service proc test_debug_format.
4071 Replace all other "gcc_compiled" tests with this test.
4072
40732001-09-27 Michael Snyder <msnyder@redhat.com>
4074
4075 * gdb.base/cvexpr.exp: New file.
4076 * gdb.base/cvexpr.c: New file
4077 Test for expressions using const and volatile keywords.
4078
4e6667ac
CV
40792001-09-26 Corinna Vinschen <vinschen@redhat.com>
4080
4081 * gdb.base/constvars.exp: Check for different orders of keywords
4082 and additional "int" strings in output.
4083
4f337972
AC
40842001-09-22 Andrew Cagney <ac131313@redhat.com>
4085
4086 * gdb.base/maint.exp: Add "maintenance set/show" to list of valid
4087 responses from "help maint".
4088
2015650d
FCE
40892001-09-19 Frank Ch. Eigler <fche@redhat.com>
4090
4091 * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
4092 to localhost:NNN instead of :NNN, in case Xvfb is listening
4093 only on TCP.
4094
f3bcedc1
CV
40952001-09-19 Corinna Vinschen <vinschen@redhat.com>
4096
4097 * gdb.base/recurse.exp: When checking leaving the watchpoint
4098 scope, recognize when gdb is in function's epilogue and pass.
4099
6b819c92
KS
41002001-09-18 Keith Seitz <keiths@redhat.com>
4101
4102 * lib/insight-support.exp (_gdbtk_export_target_info): Add
4103 support for running tests against sid targets.
4104 (gdbtk_done): Ditto.
4105
a10c9419
CV
41062001-09-18 Corinna Vinschen <vinschen@redhat.com>
4107
4108 * gdb.base/ending-run.c (main): Set stdout buffersize
4109 to the same reasonable value for any target.
4110 * gdb.base/ending-run.exp: Add a regular expression
4111 to make testsuite happy on Sanyo Stormy16 target.
4112
739d0d99
CV
41132001-09-17 Corinna Vinschen <vinschen@redhat.com>
4114
4115 * gdb.base/display.c (do_loops): Add float variable `f'.
4116 Increment f in loop.
4117 * gdb.base/display.exp: Increment timeout by 60 seconds.
4118 Change float display test to use variable `f'.
4119
1b8947f0
JB
41202001-09-17 Jim Blandy <jimb@redhat.com>
4121
4122 * gdb.base/restore.exp: Use temporary breakpoints, to avoid
4123 overflowing the limited breakpoint tables on some ROM monitors
4124 (like the ROM68K).
4125
9890ac81
FCE
41262001-09-15 Frank Ch. Eigler <fche@redhat.com>
4127
4128 * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
4129 the "-ac" (disable access control) flag.
4130
6db765ea
JH
41312001-08-30 Jeff Holcomb <jeffh@redhat.com>
4132
4133 * gdb.base/remote.c: Use a small buffer for targets with 16-bit
4134 ints.
4135
4c32cc04
KS
41362001-08-30 Keith Seitz <keiths@redhat.com>
4137
4138 * lib/gdb.exp: Move all insight-related functionality into
4139 separate file.
4140 * lib/insight-support.exp: New file.
4141
8d6e6f81
FCE
41422001-08-29 Frank Ch. Eigler <fche@redhat.com>
4143
4144 * config/sid.exp (sid_start): Never set sid verbosity; disable
4145 expect_background {} that consumed its stdout; tolerate </dev/null.
4146 Attempt to set endianness override in "sid" protocol mode. Cleanup.
4147
6a90e1d0
AC
41482001-08-18 Andrew Cagney <ac131313@redhat.com>
4149
4150 * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
4151 CLI jump command to start it.
4152 (mi_run_to_main): Fail immediatly when unexpected output.
4153
1759b3c3
AC
41542001-08-18 Andrew Cagney <ac131313@redhat.com>
4155
4156 * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
4157 beginning of function. Fix PR gdb/191.
4158
61d11d80
FCE
41592001-08-16 Frank Ch. Eigler <fche@redhat.com>
4160
4161 * config/sid.exp (sid_start): Don't warn if we cannot figure out
4162 what to force sid endianness to.
4163
942a4df2
KS
41642001-08-15 Keith Seitz <keiths@redhat.com>
4165
4166 * lib/gdb.exp (gdbtk_start): Don't set environment
4167 variables for TCL_LIBRARY and friends. Insight will
4168 now figure these out for itself.
4169
0521c418
MS
41702001-08-02 Michael Snyder <msnyder@redhat.com>
4171
4172 * gdb.base/completion.exp: Remove the symbol "a64l" from
4173 the expect string; this is target-specific, and not related
4174 to what is being tested.
4175
74a9a58a
DB
41762001-08-02 Dave Brolley <brolley@redhat.com>
4177
4178 * config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
4179
c70819fa
MS
41802001-07-25 Michael Snyder <msnyder@redhat.com>
4181
c2b8fa57
MS
4182 * gdb.base/consecutive.exp: New file. Test stepping over
4183 breakpoints on consecutive instructions.
4184 * gdb.base/consecutive.c: New file.
4185
c70819fa
MS
4186 * gdb.base/call-rt-st.exp: Use double-backslash to quote
4187 curly braces in regular expressions.
4188
2b1a1355
MS
41892001-07-25 Michael Snyder <msnyder@redhat.com>
4190
4191 * gdb.base/ending-run.exp: Accept "Program exited normally" as
4192 legitimate output from stepping out of main.
4193
413eca6f
KS
41942001-07-22 Keith Seitz <keiths@redhat.com>
4195
4196 * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
4197 the empty string, do not run the tests.
4198
7e5a9322
SC
41992001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
4200
4201 * gdb.base/long_long.exp: Detect size of pointer. Take into
4202 account 2-byte pointers when testing for p/a results.
4203
de58f10f
SC
42042001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
4205
d63a86f8 4206 * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
de58f10f
SC
4207 and defined to 1K for m68hc11.
4208 (random_data): Reduce table to 1K for embedded platforms (68hc11).
4209 * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
4210 (sizeof_random_data): New variable to tell the size of the data table;
4211 don't test past this size; always run to main.
4212
d6f5fea1
SC
42132001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
4214
4215 * gdb.base/return2.exp: return of long long and double fails for
4216 68HC11; don't execute these tests on that platform.
4217 * gdb.base/return.exp: Return of a double fails for 68hc11.
4218
c477543d
SC
42192001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
4220
4221 * call-ar-st.exp: Use gdb_skip_float_test to avoid executing
4222 tests that print a float.
4223 * call-rt-st.exp: Likewise.
4224
63cf1c79
MK
42252001-07-12 Mark Kettenis <kettenis@gnu.org>
4226
4227 * gdb.base/so-impl-ld.exp: Remove stray space that prevented
4228 running this test on Linux.
4229
112f9ab5
MC
42302001-06-24 Michael Chastain <chastain@redhat.com>
4231
4232 * gdb.base/arithmet.exp: Remove some tests to make all test names
4233 unique.
4234
4970cb0f
MS
42352001-07-03 Michael Snyder <msnyder@redhat.com>
4236
4237 * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
4238 the output of the ptype command.
4239
d85da69f
MS
42402001-07-02 Michael Snyder <msnyder@redhat.com>
4241
4c8a82de
MS
4242 * gdb.base/completion.exp: Don't assume that break.c is the only
4243 source file that may contain functions named "marker".
d85da69f
MS
4244 * gdb.base/corefile.exp: Quote the curly braces in regexp.
4245
8afc772b
AC
42462001-06-28 Andrew Cagney <ac131313@redhat.com>
4247
4248 * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
4249 of files to delete.
4250
4251 From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
4252 * gdb.disasm/h8300s.exp: New file.
4253 gdb.disasm/h8300s.s: Likewise.
4254
cff22675
AC
42552001-06-27 Andrew Cagney <ac131313@redhat.com>
4256
4257 * lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format
4258 empty breakpoint tables.
4259
68c81b54
AC
42602001-06-25 Andrew Cagney <ac131313@redhat.com>
4261
4262 * lib/mi-support.exp: Update args=... part of stop-reason
4263 patterns. Accept either a list or a tuple.
4264
2dd62704
AC
42652001-06-23 Andrew Cagney <ac131313@redhat.com>
4266
4267 * lib/mi-support.exp: Remove local emacs variable defining
4268 change-log-default-name.
4269
b4127474
MC
42702001-06-22 Michael Chastain <chastain@redhat.com>
4271
4272 * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
4273 This is operationally compatible with the previous version.
4274
8dbfb380
JB
42752001-06-13 Jim Blandy <jimb@redhat.com>
4276
4277 * lib/gdb.exp (gdb_test): Doc fix.
4278
f2d8c86d
MC
42792001-06-10 Michael Chastain <chastain@redhat.com>
4280
4281 * gdb.base/exprs.exp: Remove a duplicate test.
4282
81564d34
JB
42832001-06-06 Jim Blandy <jimb@redhat.com>
4284
4285 * gdb.base/return2.exp (main): Use values to test float and double
4286 returns that are not NaN's, to avoid being confused by IEEE
4287 comparison rules.
4288
da55addb
MS
42892001-06-04 Michael Snyder <msnyder@redhat.com>
4290
4291 * gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
d63a86f8 4292 non-zero if control_c fails. Terminate the test on failure,
da55addb
MS
4293 rather than wait for 12 more tests to time out.
4294
42c65987
JB
42952001-06-06 Jim Blandy <jimb@redhat.com>
4296
b18bced9 4297 * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
d63a86f8 4298 Don't forget to match the GDB prompt.
b18bced9 4299
42c65987
JB
4300 * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
4301
5b41e5f0
JB
43022001-06-04 Jim Blandy <jimb@redhat.com>
4303
4304 * gdb.base/help.exp: Update pattern to exclude `print-load-map'
4305 command.
4306
015e046f
KB
43072001-05-31 Kevin Buettner <kevinb@redhat.com>
4308
4309 * gdb.base/annota1.exp (info break): Match four or more spaces
4310 after "Address".
4311
fb1ffbbe
MC
43122001-05-31 Michael Chastain <chastain@redhat.com>
4313
4314 * gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
4315 (dm_type_int_star): Likewise.
4316 (dm_type_long_star): Likewise.
4317 (dm_type_void_star): Likewise.
4318
5ea2a32c
KB
43192001-05-29 Kevin Buettner <kevinb@redhat.com>
4320
4321 * gdb.base/completion.exp (INPUTRC): Set this environment variable
4322 to a known value in order to get consistent results regardless
4323 of the setting of INPUTRC or the presence or contents of .inputrc.
4324
ae23c492
MS
43252001-05-24 Michael Snyder <msnyder@redhat.com>
4326
ac55707e
MS
4327 * gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
4328 Don't require that the main thread and the manager thread are the
4329 first in the list.
4330
ae23c492
MS
4331 * gdb.threads/pthreads.exp (test_startup): Relax test for thread
4332 debugging. If test fails, issue an "unsupported" not a "fail".
4333
400071f1
JB
43342001-05-24 Jim Blandy <jimb@redhat.com>
4335
4336 Don't assume that short is shorter than int.
4337 * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
4338 assume that shorts are smaller than ints. On a 16-bit machine,
d63a86f8 4339 this isn't true.
400071f1
JB
4340 ("print unsigned char == (~0)"): Add test that verifies that ~0,
4341 an int, is not equal to ~0 stored in an unsigned char. This tests
4342 the same thing that the previous test meant to, but works on
4343 16-bit machines, too.
4344 ("print unsigned char != (~0)"): Same test, complemented.
4345
0816a3e5
MS
43462001-05-24 Michael Snyder <msnyder@redhat.com>
4347
4348 * gdb.threads/pthreads.exp (all_threads_running): Add an explicit
d63a86f8 4349 test for (full_coverage == 0). This makes the test run faster,
0816a3e5
MS
4350 and prevents dejagnu getting out of step.
4351
f6dc23a9
KB
43522001-05-23 Kevin Buettner <kevinb@redhat.com>
4353
4354 * gdb.base/finish.exp (finish_void): Revise pattern for
4355 stopping on the call statement to not permit stopping at
4356 the start of the instructions comprising the call sequence.
4357
7dbd117d
MC
43582001-05-19 Michael Chastain <chastain@redhat.com>
4359
4360 * gdb.base/callfuncs.exp: Make all test names unique.
4361 * gdb.base/commands.exp: Make all test names unique.
4362 * gdb.base/condbreak.exp: Make all test names unique.
4363 * gdb.base/dbx.exp: Make all test names unique.
4364 * gdb.base/default.exp: Make all test names unique.
4365 * gdb.base/define.exp: Make all test names unique. Conform some FAIL
4366 and TIMEOUT messages to their corresponding PASS message.
4367 * gdb.base/ending-run.exp: Make all test names unique.
4368 * gdb.base/long_long.exp: Remove duplicate test.
4369
6b0b0a9e
KB
43702001-05-21 Kevin Buettner <kevinb@redhat.com>
4371
4372 * gdb.base/finish.exp (finish_void): Allow "finish" command to
4373 stop on the call statement as well as the statement after the
4374 call.
4375
2caa35cb
MS
43762001-05-21 Michael Snyder <msnyder@redhat.com>
4377
4378 * gdb.base/long_long.exp: Allow for targets with 4-byte short.
4379
40713331
EZ
43802001-05-10 Elena Zannoni <ezannoni@redhat.com>
4381
4382 * gdb.base/completion.exp: Revamp test. Make it execute on all
4383 platforms.
4384
c2c1be8d
EZ
43852001-05-10 Elena Zannoni <ezannoni@redhat.com>
4386
2c9cd303
EZ
4387 * config/gdbserver.exp (gdb_load): Handle the case
4388 in which the arguments to gdbserver are given in the
4389 baseboard configuration file.
4390 Also handle the case in which the server needs to do a
4391 load.
4392
9671de48
KS
43932001-05-07 Keith Seitz <keiths@cygnus.com>
4394
4395 * lib/gdb.exp (gdbtk_initialize_display): New proc which will
4396 set up the display for testing.
4397 (gdbtk_start): Convert all paths to paths that tcl will like.
4398 Export target information to environment.
4399 (_gdbtk_xvfb_init): New proc to start Xvfb if available and
4400 necessary.
4401 (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
4402 (to_tcl_path): New proc to convert a given pathname into
4403 a path acceptible as an argument to a tcl command.
4404 (_gdbtk_export_target_info): New proc to export target info
4405 into the environment for gdbtk testing.
4406 (gdbtk_done): New proc to signal end-of-test.
4407
5a360f47
JB
44082001-05-06 Jim Blandy <jimb@redhat.com>
4409
4410 * restore.c: Make the code of caller0 correspond to its comment.
4411
66c756c6
MS
44122001-05-03 Michael Snyder <msnyder@redhat.com>
4413
4414 * config/sid.exp (gdb_target_sid): Check for error messages.
4415 On error or timeout, don't make expect exit (which will terminate
4416 all subsequent tests); instead just make gdb exit.
d63a86f8 4417 (gdb_load): Check for error messages. On error or timeout,
66c756c6
MS
4418 return a negative value.
4419
a966fde5
JB
44202001-04-24 Jim Blandy <jimb@redhat.com>
4421
851c18e0
JB
4422 * gdb.c++/templates.exp: If we see the prompt for the overload
4423 list, but we haven't recognized any of the longer patterns,
4424 arrange for this test to fail, not hang.
4425
a966fde5
JB
4426 * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
4427 variations.
4428
db144853
MC
44292001-04-22 Michael Chastain <chastain@redhat.com>
4430
4431 * gdb.c++/local.exp: Use the 'runto' library function.
4432 * gdb.c++/namespace.exp: Likewise.
4433 * gdb.c++/overload.exp: Likewise.
4434
3207ec21
KB
44352001-03-26 Kevin Buettner <kevinb@redhat.com>
4436
4437 * gdb.base/Makefile.in (EXECUTABLES): Add step-line.
4438 * gdb.base/step-line.exp: New file. Test step/next in presence of
4439 #line directives.
4440 * gdb.base/step-line.c: New file. Test program for the above.
4441 * gdb.base/step-line.inp: New file. We pretend that this file has
4442 been transformed by some other tool into step-line.c.
4443
13b57657
JB
44442001-03-21 Jim Blandy <jimb@redhat.com>
4445
4446 * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
4447 unmangled operator names.
4448
754cbe1c
JB
44492001-03-20 Jim Blandy <jimb@redhat.com>
4450
4451 * gdb.threads/linux-dp.exp: Recognize an additional message
4452 generated by GDB when it doesn't understand how to debug threads
4453 on the target system.
4454
177495c9
AC
44552001-03-19 Andrew Cagney <ac131313@redhat.com>
4456
4457 * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
4458
f266096b
MC
44592001-03-12 Michael Chastain <chastain@redhat.com>
4460
4461 * gdb.c++/derivation.exp: Use the 'runto' library function.
4462
cac3c2ff
MC
44632001-03-12 Michael Chastain <chastain@redhat.com>
4464
4465 * gdb.c++/annota2.exp: Fix regular expression for "post-query".
4466
b6c11a24
MC
44672001-02-24 Michael Chastain <chastain@redhat.com>
4468
4469 * gdb.c++/ref-types.exp: Change handwritten code to library
4470 function 'runto'.
4471
6bae5bce
OF
44722001-03-16 Orjan Friberg <orjanf@axis.com>
4473
4474 * gdb.base/signals.exp: Set count to 0 explicitly.
4475
0015fd9a
MS
44762001-03-15 Mark Salter <msalter@redhat.com>
4477
4478 * config/monitor.exp (gdb_target_cmd): Add explicit error return.
4479 (gdb_target_monitor): Add check of gdb_target_cmd return value.
880a15ee
MS
4480 (gdb_load): Add support for additional target_info: gdb_download_size
4481 and gdb_load_timeout.
0015fd9a 4482
fc33412a
DT
4483Thu Mar 8 16:06:00 2001 David Taylor <taylor@redhat.com>
4484
4485 * gdb.base/annota1.exp: Move test of isnative to earlier in the
4486 file -- to prevent failing when the compile fails but we have no
4487 intention of running the tests anyway.
4488
4489 * gdb.base/long_long.exp: Test target_info for no_long_long, skip
4490 tests if set.
4491
4492 * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
4493 integers.
4494
4495 * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
4496 * gdb.c++/namespace.exp: Ditto.
4497
115f06de
OF
44982001-03-07 Orjan Friberg <orjanf@axis.com>
4499
4500 * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
4501 * gdb.base/pointers.exp: Relax pattern match of decimals.
4502
b6ba6518
KB
45032001-03-06 Kevin Buettner <kevinb@redhat.com>
4504
4505 * Makefile.in, config/abug.exp, config/cfdbug.exp,
4506 config/cpu32bug.exp, config/dve.exp, config/est.exp,
4507 config/gdbserver.exp, config/hmsirom.exp, config/hppro.exp,
4508 config/i960.exp, config/m32r.exp, config/mn10300-eval.exp,
4509 config/monitor.exp, config/proelf.exp, config/rom68k.exp,
4510 config/sh.exp, config/sid.exp, config/slite.exp,
4511 config/sparclet.exp, config/udi.exp, config/unknown.exp,
4512 config/vr4300.exp, config/vr5000.exp, config/vx.exp,
4513 config/vxworks.exp, config/vxworks29k.exp,
4514 gdb.asm/asm-source.exp, gdb.base/a2-run.exp,
4515 gdb.base/all-bin.exp, gdb.base/annota1.exp,
4516 gdb.base/arithmet.exp, gdb.base/assign.exp,
4517 gdb.base/async.exp, gdb.base/attach.exp,
4518 gdb.base/bitfields.exp, gdb.base/bitops.exp,
4519 gdb.base/break.exp, gdb.base/call-ar-st.exp,
4520 gdb.base/call-rt-st.exp, gdb.base/call-strs.exp,
4521 gdb.base/callfuncs.exp, gdb.base/callfwmall.exp,
4522 gdb.base/commands.exp, gdb.base/completion.exp,
4523 gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
4524 gdb.base/constvars.exp, gdb.base/corefile.exp,
4525 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
4526 gdb.base/display.exp, gdb.base/ena-dis-br.exp,
4527 gdb.base/ending-run.exp, gdb.base/environ.exp,
4528 gdb.base/eval-skip.exp, gdb.base/exprs.exp,
4529 gdb.base/finish.exp, gdb.base/foll-exec.exp,
4530 gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp,
4531 gdb.base/funcargs.exp, gdb.base/help.exp,
4532 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp,
4533 gdb.base/logical.exp, gdb.base/long_long.exp,
4534 gdb.base/maint.exp, gdb.base/mips_pro.exp,
4535 gdb.base/miscexprs.exp, gdb.base/nodebug.exp,
4536 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp,
4537 gdb.base/pointers.exp, gdb.base/printcmds.exp,
4538 gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp,
4539 gdb.base/regs.exp, gdb.base/relational.exp,
4540 gdb.base/remote.exp, gdb.base/reread.exp,
4541 gdb.base/restore.exp, gdb.base/return2.exp,
4542 gdb.base/scope.exp, gdb.base/sect-cmd.exp,
4543 gdb.base/selftest.exp, gdb.base/setshow.exp,
4544 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
4545 gdb.base/sigall.exp, gdb.base/signals.exp,
4546 gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp,
4547 gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
4548 gdb.base/step-test.exp, gdb.base/structs.c,
4549 gdb.base/structs.exp, gdb.base/structs2.exp,
4550 gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp,
4551 gdb.base/volatile.exp, gdb.base/watchpoint.exp,
4552 gdb.base/whatis-exp.exp, gdb.base/whatis.exp,
4553 gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
4554 gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.exp,
4555 gdb.c++/derivation.exp, gdb.c++/inherit.exp,
4556 gdb.c++/local.exp, gdb.c++/member-ptr.exp, gdb.c++/method.exp,
4557 gdb.c++/misc.exp, gdb.c++/namespace.exp, gdb.c++/overload.exp,
4558 gdb.c++/ref-types.exp, gdb.c++/templates.exp,
4559 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp,
4560 gdb.disasm/am33.exp, gdb.disasm/hppa.exp,
4561 gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp,
4562 gdb.fortran/types.exp, gdb.java/jmisc.exp,
4563 gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
4564 gdb.stabs/weird.exp, gdb.threads/linux-dp.exp,
4565 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
4566 gdb.trace/circ.exp, gdb.trace/collection.exp,
4567 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
4568 gdb.trace/limits.exp, gdb.trace/packetlen.exp,
4569 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp,
4570 gdb.trace/report.exp, gdb.trace/save-trace.exp,
4571 gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
4572 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
4573 lib/gdb.exp, lib/mi-support.exp: Update/correct copyright
4574 notices.
4575
dc96c6c7 45762001-02-27 Michael Snyder <msnyder@cygnus.com>
d8f92b1f
MS
4577
4578 * gdb.base/varargs.c (find_max_double): Fix printf format string:
4579 first arg is int not float.
4580
dc96c6c7 45812001-02-22 Michael Snyder <msnyder@cygnus.com>
40f33b9b
MS
4582
4583 * gdb.base/reread.exp: Unsupported for non-native targets;
4584 doesn't work for remote debugging.
4585
9b0c4aeb
FN
45862001-02-19 Fernando Nasser <fnasser@redhat.com>
4587
4588 From Drew Moseley <dmoseley@redhat.com>
4589 * gdb.base/ending-run.exp: Properly handle the BSP state when
4590 stepping past the end of main.
4591
02aa71d5
MC
45922001-02-19 John Moore <jmoore@redhat.com>
4593
4594 * gdb.base/commands.exp (infrun_breakpoint_command_test):
4595 Converted HPUX fix for non-expected items following multiple
4596 step commands into general solution for all platforms.
4597
1fa449a4
MC
45982001-02-18 Michael Chastain <chastain@redhat.com>
4599
4600 * gdb.c++/classes.exp (do_tests): Change runto statements
4601 from "runto 'foo(void)'" to "runto 'foo'". This makes the
4602 statements demangler agnostic.
4603 * gdb.c++/virtfunc.exp (do_tests): Likewise.
4604 (gdb_virtfunc_restart): Likewise.
4605
b2f9ec70
MC
46062001-02-14 Michael Chastain <chastain@redhat.com>
4607
4608 * gdb.c++/inherit.exp (do_tests): Change runto statements
4609 from "runto 'foo(void)'" to "runto 'foo'". This makes the
4610 statements demangler agnostic.
4611
cf74b8ca
AC
4612Sun Feb 4 17:32:21 2001 Andrew Cagney <cagney@redhat.com>
4613
4614 * gdb.threads/pthreads.exp: Unify pass/fail messages for
4615 ``continue to bkpt at common_routine in thread 2'' and ``stopped
4616 before calling common_routine 15 times'' tests.
4617
99f78f56
MC
46182001-02-11 Michael Chastain <chastain@redhat.com>
4619
4620 * gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
4621 Helps the test script figure out which demangler is in use.
4622 (dm_type_foo_ref): Ditto.
4623 (dm_type_int_star): Ditto.
4624 (dm_type_long_star): Ditto.
4625 (dm_type_unsigned_int): Ditto.
4626 (dm_type_void): Ditto.
4627 (dm_type_void_star): Ditto.
99707966 4628 * gdb.base/cplusfuncs.exp (probe_demangler): New function.
99f78f56
MC
4629 Probe the gdb demangler and set variables to accommodate
4630 formatting differences.
4631 (info_func_regexp): New function. Same as info_func, but
4632 matches against a regexp.
4633 (info_func): Match against a literal string.
4634 (print_addr_2): New function. Match against a literal string,
4635 which can be different from the input to gdb.
4636 (print_addr): Simply call print_addr_2 with the same argument twice.
4637 (test_lookup_operator_functions): Use demangler formatting variables.
4638 Blow away the xfails and workarounds for gnats gdb bug gdb/18. Sort
4639 the tests in the same order as the C++ class declaration.
4640 (test_paddr_operator_functions): Ditto.
4641 (test_paddr_overloaded_functions): Ditto.
4642 (test_paddr_hairy_functions): Use demangler formatting variables.
4643 Add reference to gdb/19 for related tests.
4644 (do_tests): Call probe_demangler.
4645
1de8f023
KB
46462001-01-30 Kevin Buettner <kevinb@redhat.com>
4647
4648 * gdb.c++/templates.cc (printf): Remove unused function definition.
4649
ca3f91ed
MS
46502001-01-26 Felix Lee <flee@redhat.com>
4651
4652 * sid.exp (sid_exit): Pass host, not target, to remote_close.
4653
46542001-01-25 matthew green <mrg@redhat.com>
4655
4656 * config/sid.exp (sid_start): Call `remote_push_conn' after firing
4657 up sid.
4658 (sid_exit): Call `remote_pop_conn' after GDB is gone.
4659
46602001-01-25 matthew green <mrg@redhat.com>
4661
4662 * config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.'
d63a86f8 4663 Deprecate $sid_spawn_id.
ca3f91ed
MS
4664 (sid_exit): Remove code necessary only for `spawn.'
4665
46662001-01-25 matthew green <mrg@redhat.com>
4667
4668 * config/sid.exp (sid_start): Handle sim,protocol of `sid.'
4669
fb18ec4a
MC
46702001-01-28 Michael Chastain <chastain@redhat.com>
4671
4672 * gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
4673 to call when tests fail. It takes gdb out of the overloaded
4674 function choice menu back to the main prompt, so that the test
4675 program stays synchronized.
4676 (set_bp_overloaded): New proc to collect all the common
4677 code for setting a breakpoint on an overloaded name. Calls
4678 take_gdb_out_of_choice_menu when needed.
4679 (menu_overload1arg): New variable to collect the repeated
4680 instances of the expected menu for an overloaded name. Change
4681 the regular expression to handle changes in g++ type encoding:
4682 "void" can be either "void" or "", and "unsigned int" can be
4683 either "unsigned int" or "unsigned".
4684 (continue_to_bp_overloaded): Change regular expressions to handle
4685 changes in g++ type encoding.
4686 (no proc): Call take_gdb_out_of_choice_menu when needed.
4687 Remove redundant calls to "info break". Accept either "canceled"
4688 or "cancelled". Change regular expressions in "info break"
4689 calls to handle changes in g++ type encoding. Give all tests
4690 unique strings.
4691
9c646a6e
BE
46922001-01-17 Ben Elliston <bje@redhat.com>
4693
4694 * config/sid.exp: New file.
4695
9549d9c1
AC
4696Fri Jan 12 18:29:01 2001 Andrew Cagney <cagney@b1.cygnus.com>
4697
4698 * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
4699
dc96c6c7 47002000-12-21 Michael Snyder <msnyder@cygnus.com>
315f8b0e
MS
4701
4702 * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
4703 Add a RE to accept a non-ascii char if one is ever presented.
4704
b4df4f68
FN
47052000-12-20 Fernando Nasser <fnasser@redhat.com>
4706
297dd0fd 4707 * lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
b4df4f68 4708
dc96c6c7 47092000-12-18 Michael Snyder <msnyder@cygnus.com>
49c890fc 4710
d63a86f8 4711 * gdb.base/setvar.exp: Use double '\\' to quote curly braces
49c890fc
MS
4712 in regexp. One '\' does not suffice on Linux.
4713
4a7bddb6
MC
47142000-12-09 Michael Chastain <chastain@redhat.com>
4715
4716 * gdb.base/break.exp (test_clear_command): Use a marker function
4717 rather than 'main' for the test function. Also move this
4718 test to an execution point where the marker function names are
4719 guaranteed to be bound to functions. (Executing tests after a
4720 'finish' from main runs into name conflicts with local names
4721 in __libc_start_main).
4722
dc96c6c7 47232000-12-07 Michael Snyder <msnyder@cygnus.com>
efb66345
MS
4724
4725 * gdb.base/finish.exp: New test for gdb's "finish" command.
4726 * gdb.base/return2.exp: New test for gdb's "return" command.
4727 * gdb.base/return2.c: New source file for above.
4728
dc96c6c7 47292000-12-05 Michael Snyder <msnyder@cygnus.com>
3c077de9
MS
4730
4731 * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
4732 * gdb.base/miscexprs.exp: Ditto.
4733 * gdb.base/pointers.exp: Ditto.
4734 * gdb.c++/derivation.exp: Ditto.
4735 * gdb.c++/local.exp: Ditto.
4736 * gdb.c++/namespace.exp: Ditto.
4737 * gdb.c++/overload.exp: Ditto.
4738 * gdb.c++/ref-types.exp: Ditto.
4739
dc96c6c7 47402000-12-05 Michael Snyder <msnyder@cygnus.com>
660fd469
MS
4741
4742 * gdb.base/constvars.exp: Test result of "up" command.
4743 * gdb.base/miscexprs.exp: Ditto.
4744 * gdb.base/pointers.exp: Ditto.
4745 * gdb.base/scope.exp: Ditto.
4746 * gdb.c++/derivation.exp: Ditto.
4747 * gdb.c++/local.exp: Ditto.
4748 * gdb.c++/namespace.exp: Ditto.
4749 * gdb.c++/overload.exp: Ditto.
4750 * gdb.c++/ref-types.exp: Ditto.
4751
44097287
FN
47522000-11-22 Michael Chastain <chastain@redhat.com>
4753
4754 * mips_pro.exp: Accept either "middle -> top -> main" or
4755 "middle -> main" in the backtrace, because gcc can optimize
4756 tail calls to jumps. Remove setup_xfail for the hppa case.
4757 Add a comment with the original warning messages from PR 3016,
4758 which was filed in 1993, to preserve them for posterity.
4759
9d2e1bab
ND
47602000-11-17 Nick Duffek <nsd@redhat.com>
4761
4762 * lib/gdb.exp (gdb_test): Override timeout with board info.
4763
1aca8eb7
ND
47642000-11-17 Nick Duffek <nsd@redhat.com>
4765
4766 * gdb.base/display.exp: Don't kill running stub. Add "again" to
4767 the second kill and detach messages.
4768
93076499
ND
47692000-11-17 Nick Duffek <nsd@redhat.com>
4770
4771 * configure.in: Add AC_EXEEXT.
4772 * configure: Regenerate.
4773 * Makefile.in (just-check): Export EXEEXT.
4774 * lib/gdb.exp ($EXEEXT): Import from environment.
4775 * gdb.base/maint.exp: Expect $EXEEXT in executable name. Don't
4776 expect "maint dump-me" on Cygwin.
4777 * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
4778 $EXEEXT.
4779
30e87cd3
ND
47802000-11-17 Nick Duffek <nsd@redhat.com>
4781
4782 * gdb.base/break.exp: Test backtrace and finish from called
4783 function on all platforms, not just HP-UX.
4784
dc96c6c7 47852000-11-03 Michael Snyder <msnyder@cygnus.com>
08e706b1
MS
4786
4787 * config/monitor.exp (gdb_target_cmd): Abstracts some of the
4788 code from gdb_target_monitor, so it can be used independantly
4789 for gdbserver. Also comment out an unnecessary PUTS.
d63a86f8 4790
dc96c6c7 47912000-11-03 Michael Snyder <msnyder@cygnus.com>
958a4e4c
MS
4792
4793 * gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
4794 * gdb.base/corefile.exp: Expect the message "Program is being
4795 debugged already" when we send the "corefile" command, since
4796 the preceeding gdb_load may have connected gdb to a remote target.
4797 * gdb.base/display.exp: Disable hardware watchpoints if new
4798 board info variable "no_hardware_watchpoints" is true.
4799 Replace single-letter commands with more readable ones.
4800 * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
4801 if new board info variable "no_hardware_watchpoints" is true.
4802 * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
4803 to see if stdio (printf) testing is possible.
4804 * gdb.base/watchpoint.exp: Disable hardware watchpoints if new
4805 board info variable "no_hardware_watchpoints" is true. Use new
4806 proc "gdb_skip_stdio_tests" to see if printf tests are possible.
4807
39124dea
FN
48082000-11-13 Fernando Nasser <fnasser@redhat.com>
4809
4810 From Orjan Friberg <orjanf@axis.com>:
4811 * gdb.base/printcmds.exp: Escape curly braces followed by a number
4812 in array print pattern match.
4813
a9e2e984
FN
48142000-11-09 Fernando Nasser <fnasser@redhat.com>
4815
4816 * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
4817 spelling "cancelled" to U.S. spelling "canceled" to match changes
4818 made to gdb.
4819 * gdb.c++/ovldbreak.exp: Ditto.
4820
c7db355b
PS
48212000-11-06 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
4822
4823 * gdb.base/callfuncs.c (main): Moved to end of file, call
4824 t_double_values to initialize the FPU before inferior calls are made.
4825 * gdb.base/callfuncs.exp: Test for register preservation after calling
4826 inferior functions. Add tests for continuining, finishing and
4827 returning from a stop in a call dummy.
4828
dc96c6c7 48292000-10-24 Michael Snyder <msnyder@cygnus.com>
42f5c13f
MS
4830
4831 * gdb.base/commands.exp: Break up long lines, and re-indent.
4832
dc96c6c7 48332000-10-19 Michael Snyder <msnyder@cygnus.com>
ae0323a8
MS
4834
4835 * config/gdbserver.exp: Rewritten from the ground up, to make it
4836 compatible with the current dejagnu tree, and to make it work with
4837 the new "gdbserver" in libremote.
4838
dc96c6c7 48392000-10-16 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
4840
4841 * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
4842 * gdb.base/varargs.exp: Skip entire test if no printf support.
4843 * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
4844 * gdb.base/shlib-call.exp: Skip several tests if no printf support.
4845
dc96c6c7 48462000-10-13 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
4847
4848 * lib/gdb.exp (gdb_skip_float_test): New proc. Skip test if
4849 no floating point support.
4850 (gdb_skip_stdio_test): New proc. Skip test if no stdio support.
4851 * gdb.base/call-ar-st.exp: Use above procs to skip tests.
4852 * gdb.base/call-rt-st.exp: Ditto.
4853 * gdb.base/call-strs.exp: Ditto.
4854
bac5fc66
JG
48552000-08-02 Jimmy Guo <guo@hpcleara.cup.hp.com>
4856
4857 * gdb.base/sizeof.c: include <stdio.h>.
4858
4859 * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
4860 'finish', otherwise uncaptured gdb_prompt would potentially
4861 throw remaining test points out of sync.
4862
b22a6027
SB
48632000-07-26 Scott Bambrough <scottb@netwinder.org>
4864
4865 * gdb.base/recurse.exp: Run tests for all targets.
4866 * gdb.base/so-impl-ld.exp: Added wildcard to handle the
4867 gnu-oldld case on ARM.
4868 * gdb.base/watchpoint.exp (test_stepping): Clear xfail
4869 for ARM targets.
d63a86f8 4870
d8231941
AG
4871Mon Jul 24 07:46:02 CDT 2000 Clinton Popetz <cpopetz@cygnus.com>
4872
4873 * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
4874 * gdb.java/configure: Rebuild.
4875
8caabe69
AG
4876Sun Jul 23 21:42:34 2000 Anthony Green <green@redhat.com>
4877
4878 * gdb.java/jv-exp.exp: New file.
4879
9d273ca3
AG
4880Sun Jul 23 21:02:42 2000 Anthony Green <green@redhat.com>
4881
4882 * configure: Rebuilt.
4883 * configure.in (configdirs): Add gdb.java.
4884 * gdb.java/jmisc.java: New file.
4885 * gdb.java/jmisc.exp: New file.
4886 * gdb.java/Makefile.in: New file.
4887 * gdb.java/configure: Rebuilt.
4888 * gdb.java/configure.in: New file.
4889 * lib/java.exp: New file.
4890
4f823a66
AC
4891Wed Jul 12 18:14:29 2000 Andrew Cagney <cagney@b1.cygnus.com>
4892
4893 * gdb.base/exprs.exp: Test casts to a pointer including over and
4894 underflow.
4895
2391e11d
AC
4896Thu Jul 13 11:52:53 2000 Andrew Cagney <cagney@b1.cygnus.com>
4897
4898 * gdb.base/sizeof.exp, gdb.base/sizeof.c: New files. Compare GDB
4899 and the compilers sizes.
4900
54602222
ND
49012000-07-09 Nick Duffek <nsd@redhat.com>
4902
4903 * gdb.c++/misc.cc (class ClassParam, class_param): Define.
4904 (use_methods): New function.
4905 (main): Call use_methods().
4906 * gdb.c++/classes.exp (test_method_param_class): New procedure.
4907 (do_tests): Call test_method_param_class.
4908
2bec0572
ND
49092000-07-09 Nick Duffek <nsd@redhat.com>
4910
4911 * gdb.c++/classes.exp (test_nonexistant_members): Fix name
4912 spelling.
4913 (test_enums): New procedure. Move enum tests from end of script
4914 to here. Set breakpoint on function name instead of line number.
4915 * gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
4916 (enums2): New marker function.
4917 (enums1): New function.
4918 (main): Call enums1(). Move enum tests to enums1().
4919
78492fde
AC
4920Tue Jul 4 03:43:49 2000 Andrew Cagney <cagney@b1.cygnus.com>
4921
4922 * gdb.asm/asm-source.exp: Use raw AS/LD instead of CC to
4923 compile/link program. Update line numbers.
4924 * gdb.asm/d10v.inc: Define ``startup''.
4925 * gdb.asm/asmsrc1.s: Add definition of _start.
d63a86f8 4926
49a2cef8
AC
4927Fri Jun 23 17:45:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
4928
4929 * gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
4930
3e6c8688
EZ
49312000-06-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4932
4933 * gdb.base/maint.exp: Add 'maint print architecture' item to output
4934 of 'help maint print' command.
4935
9ff5cbe9
AC
4936Fri Jun 16 18:22:05 2000 Andrew Cagney <cagney@b1.cygnus.com>
4937
4938 * gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
4939 they use gdb_expect_list.
4940
17c579bd
AC
4941Wed Jun 7 13:02:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
4942
4943 * gdb.base/commands.exp: Use ``set remote
4944 memory-read-packet-size'' instead of ``set endian big'' to test
4945 long commands.
4946
e6d71bf3
DB
49472000-06-03 Daniel Berlin <dan@cgsoftware.com>
4948
4949 * gdb.c++/templates.exp (do_tests): Make all of these work under
d63a86f8 4950 g++, and stop skipping them.
e6d71bf3
DB
4951
4952 * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
4953 work under g++.
4954
d63a86f8 4955 * gdb.c++/misc.cc: Fix ambiguous initialization with correct
e5f9ba7b
MS
4956 initialization.
4957
dc96c6c7 49582000-06-02 Michael Snyder <msnyder@cygnus.com>
7346e70f
MS
4959
4960 * gdb.base/annota1.exp (run until main breakpoint): Loosen up
4961 the regular expression: accept an (almost) arbitrary sequence of
4962 "frames-invalid" and "breakpoints-invalid" messages both before
4963 and after the "starting" message.
4964
dc96c6c7 49652000-06-02 Michael Snyder <msnyder@cygnus.com>
e5f9ba7b
MS
4966
4967 * gdb.c++/local.exp: This test has never been known to work with g++.
e6d71bf3 4968
dc96c6c7 49692000-05-18 Michael Snyder <msnyder@cygnus.com>
0a791409
MS
4970
4971 * gdb.base/annota1.exp (annotate-signal-handler-caller):
4972 Relax the regular expression a little, make it pass on Solaris 8.
4973
8216cda9
KB
49742000-05-12 Kevin Buettner <kevinb@redhat.com>
4975
4976 * gdb.base/step-test.exp: On IA-64 targets, when stepping out of
d63a86f8 4977 a call, do not require that gdb stop on the line after the call.
8216cda9
KB
4978 Instead, it is permissible for gdb to stop on the line of the
4979 call itself.
4980
1a570b2f
MS
49812000-05-12 Michael Snyder <msnyder@.cygnus.com>
4982
4983 * gdb.base/break.exp (bp on small function, optimized file):
4984 Add a second pass pattern. The behavior differs here between stabs
4985 and dwarf for one-line functions. Stabs preserves two line symbols
4986 (one before the prologue and one after) with the same line number,
4987 but dwarf regards these as duplicates and discards one of them.
4988 Therefore the address after the prologue (where the breakpoint is)
4989 has no exactly matching line symbol, and GDB reports the breakpoint
4990 as if it were in the middle of a line rather than at the beginning.
4991
dc96c6c7 49922000-05-08 Michael Snyder <msnyder@cygnus.com>
89cb06a2 4993
d63a86f8 4994 * gdb.base/interrupt.exp: Make "pass" message say "send"
89cb06a2
MS
4995 rather than "send_gdb" (for consistancy).
4996
7d418785
AC
4997Mon May 1 15:37:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
4998
4999 From 2000-04-28 Andreas Jaeger <aj@suse.de>:
5000 * gdb.c++/templates.cc: Properly check for GCC version number.
5001 * lib/compiler.cc: Likewise
5002
dc96c6c7 50032000-04-28 Michael Snyder <msnyder@cygnus.com>
e919ea79 5004
d63a86f8 5005 * gdb.base/break.exp: When compiled with -O2 optimization,
e919ea79
MS
5006 gdb may not stop at the first line of main, due to code motion.
5007
dc96c6c7 50082000-04-26 Michael Snyder <msnyder@cygnus.com>
1960c400
MS
5009
5010 * gdb.base/call-ar-st.exp: Bail out if target is sparclet.
5011 This test depends on parsing the printf output from the target.
5012 Since the sparclet stub doesn't do stdio, this will never work.
5013 * gdb.base/call-rt-st.exp: ditto.
5014 * gdb.base/call-strs: ditto.
5015
dc96c6c7 50162000-04-24 Michael Snyder <msnyder@cygnus.com>
b84b7669
MS
5017
5018 * gdb.base/miscexprs.exp: make sizeof long array test portable.
5019
5020 * gdb.base/ending-run.exp: After connecting to a remote target,
5021 but before running, the target will appear to be in a random
5022 location. Specify both a file and a line for breakpoints.
5023 Also, the function that calls main may be called 'init'
5024 rather than 'start'.
5025
a5a51225
EZ
50262000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5027
5028 * gdb.base/help.exp: Update output for add-symbol-file command.
5029
7930cc7c
FN
50302000-04-10 Fernando Nasser <fnasser@cygnus.com>
5031
5032 From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
5033 * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
5034
23e37ab1
C
50352000-04-07 J.T. Conklin <jtc@redback.com>
5036
e93c542c
C
5037 * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
5038
23e37ab1
C
5039 * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
5040
591b8fa3
PDM
5041Thu Mar 30 13:26:19 2000 Philippe De Muyter <phdm@macqel.be>
5042
5043 * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
5044 values that can be represented exactly.
5045 * gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
5046 above change, and to not check against the directory part of the source
5047 file name.
5048 (step into print_long_arg_list): Likewise.
5049 (print print_small_structs from print_long_arg_list): Likewise.
5050 (print print_long_arg_list): Likewise.
5051
7a495180
EZ
50522000-03-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5053
30b53638 5054 * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
7a495180 5055
beb998c6
AC
5056Mon Mar 27 14:46:37 2000 Andrew Cagney <cagney@b1.cygnus.com>
5057
5058 * ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
5059
1c689132
DB
50602000-03-25 Daniel Berlin <dan@cgsoftware.com>
5061
5062 * gdb.base/commands.exp (deprecated_command_test): Add test for
5063 deprecate with no arguments.
5064
c1790a9d
JL
50652000-03-24 Jonathan Larmour <jlarmour@redhat.co.uk>
5066
5067 * gdb.base/break.exp: Add new test for setting breakpoints on
5068 optimized code so we can test breakpoints work even when function
5069 prologues may be optimized away
5070
003ba290
FN
50712000-03-23 Fernando Nasser <fnasser@totem.to.cygnus.com>
5072
5073 From David Whedon <dwhedon@gordian.com>
5074 * gdb.base/commands.exp : Added command deprecator tests.
5075
6837a0a2
DB
50762000-03-22 Daniel Berlin <dan@cgsoftware.com>
5077
5078 * gdb.base/help.exp: Added test for new apropos command.
5079
b9593231
KB
50802000-03-21 Kevin Buettner <kevinb@redhat.com>
5081
5082 * gdb.base/pointers.c (usevar): New function.
5083 (main): Make sure that global variables v_int_pointer2, rptr,
5084 and y are all referenced someplace in the program by calling
5085 usevar() on them. [Some linkers delete symbols which are
5086 never referenced. The space remains, but there's no way to
5087 get a (symbolic) handle on the variable from the debugger.]
5088
751a959b
EZ
50892000-03-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5090
5091 * gdb.base/printcmds.c: Add typedeffed arrays.
5092
5093 * gdb.base/printcmds.exp (test_print_typedef_arrays): New
5094 procedure to test arrays that are typedef'd.
5095
73a93a32
JI
50962000-03-13 James Ingham <jingham@leda.cygnus.com>
5097
5098 * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
d63a86f8 5099 the library directories.
73a93a32 5100
fb40c209
AC
5101Mon Feb 21 13:05:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
5102
5103 * configure.in (configdirs): Add sub directory gdb.mi.
5104 * configure: Re-generate.
5105
5106 * gdb.mi: New directory.
d63a86f8 5107
ee4dd2c9
AC
51082000-02-25 Scott Bambrough <scottb@netwinder.org>
5109
5110 * gdb.base/long_long.exp: Correct test suite failure when printing
5111 a long long value as a double on ARM platforms.
5112
70f0cc22
JB
51132000-02-16 Jim Blandy <jimb@redhat.com>
5114
5115 * gdb.base/break.exp ("breakpoint line number"): Make sure the
5116 default source file is set properly before running this test.
5117
853819b8
EZ
51182000-02-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5119
5120 * lib/gdb.exp: Tell the testsuite that now gdbtk is in the
5121 gdbtk/library directory, not in gdbtcl2.
5122
dfcd3bfb
JM
51232000-02-04 Jim Blandy <jimb@redhat.com>
5124
5125 * gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
5126 backslash from regexp pattern.
5127
5128 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): New
5129 procedure. Use it to run all the "continue to bp overloaded"
5130 tests. Note that this changes the names of the tests slightly.
5131 If the breakpoint hit message includes a hex PC value, because
5132 GCC's Dwarf 2 line info doesn't help us distinguish the prologue
5133 from the real source code, still consider that a pass.
5134
5135 * gdb.base/condbreak.exp ("run until breakpoint at marker2"):
5136 XFAIL here if the breakpoint message contains a hex address. Note
5137 similar change on 1999-11-02.
5138
5139 * gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
5140
5141 * gdb.base/ptype.exp: Establish a default source file before
5142 calling get_debug_format.
5143
51442000-02-03 Fernando Nasser <fnasser@totem.to.cygnus.com>
5145
5146 * gdb.base/watchpoint.exp: Remove duplication of test messages.
5147
8b93c638
JM
51482000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
5149
5150 * gdb.base/step-test.exp: Fix the steps to enter a callee by means
5151 of successive stepi commands -- while in the prologue we should see
5152 the function entry bracket.
5153
51542000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
5155
5156 * gdb.base/ending-run.exp: Add ARM in thumb mode case, where we
5157 reach __change_mode() when stepping through the end of main().
5158
c5394b80
JM
51592000-01-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
5160
5161 * gdb.base/default.exp: Fix expected pattern.
5162 * gdb.base/help.exp: Same.
5163
0d06e24b
JM
51642000-01-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5165
5166 * gdb.base/so-indr-cl.exp: Don't execute the test if not on HPUX.
5167 Don't use xfail's because that affects only the following test.
d63a86f8 5168
0d06e24b
JM
5169 * gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
5170 solaris or linux.
5171
5172 * gdb.base/selftest.exp: Update to reflect changes to main.c.
5173
dc96c6c7 51742000-01-07 Michael Snyder <msnyder@cygnus.com>
0d06e24b 5175
d63a86f8 5176 * gdb.base/display.exp: Some yacc parsers like to say
0d06e24b
JM
5177 "A syntax error" rather than "A parse error". Accept both.
5178
51792000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
5180
5181 * gdb.base/default.exp: Remove OS dependent string from "target
5182 remote" test.
5183 * gdb.base/help.exp: Same for "help target remote" test.
5184
c3f6f71d
JM
51852000-01-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5186
5187 From Jim Kingdon <kingdon@redhat.com>:
5188
5189 * gdb.c++/annota2.exp: Fix "delete bps" test to wait for the
5190 prompt (cleanup rather than necessity, but still might keep output
5191 from spilling to next test).
5192
51932000-01-02 Fred Fish <fnf@cygnus.com>
5194
5195 * gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
5196 AIX, which defines them in <sys/types.h>.
5197
ed9a39eb 51981999-12-16 Stan Shebs <shebs@andros.cygnus.com>
c4093a6a 5199
ed9a39eb
JM
5200 * gdb.base/default.exp: Match arm* etc instead of arm in "info
5201 float" test.
5202
52031999-12-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
c4093a6a 5204
ed9a39eb 5205 * gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
c4093a6a
JM
5206
5207 * gdb.base/break.exp: Add missing anchor to reg exp on "finish from
5208 outermost frame disallowed".
5209
52101999-12-09 Fernando Nasser <fnasser@totem.to.cygnus.com>
5211
5212 * gdb.base/setvar.exp: New tests for setting the value of a struct
5213 with a constant list.
5214
52151999-12-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
5216
5217 * gdb.base/setvar.exp: Remove pair os tests that expected gdb to
5218 require the user to type a cast before setting the value of a struct.
5219
de57eccd
JM
52201999-12-06 Jim Blandy <jimb@cygnus.com>
5221
5222 * gdb.base/default.exp: Expect the new 'info float' command on
5223 all i386 platforms.
5224
5225 * gdb.threads/linux-dp.exp: Expand our ability to recognize
5226 LinuxThreads libraries that don't support debugging.
5227
c2d11a7d
JM
5228Sat Dec 4 15:21:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
5229
5230 * gdb.base/remote.c: Fill the buffer with truely random data.
5231 Change the buffer type to ``unsigned char'' to simplify size
5232 arithmetic.
5233
5234 * gdb.base/remote.exp: Reduce download numbers by one. Typical
5235 stub only handles 400-1 byte packets. Verify that the download
5236 worked.
5237
52381999-11-30 Fernando Nasser <fnasser@totem.to.cygnus.com>
5239
5240 * lib/gdb.exp (gdb_expect_list): FAIL only once on multiple pattern
5241 tests, using UNRESOLVED for the untested cases. Also, does not wait
5242 for a timeout if the prompt was received before a recognizable pattern.
5243
52441999-11-29 Fernando Nasser <fnasser@totem.to.cygnus.com>
5245
5246 * lib/gdb.exp (gdb_expect_list): Fix spelling.
5247
52481999-11-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5249
5250 * gdb.base/watchpoint.exp: Add tests cases for the hit count of
5251 watchpoints.
5252
52531999-11-24 Jason Merrill <jason@casey.cygnus.com>
5254
5255 * gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
5256
5257 * gdb.c++/local.exp: Be more flexible in recognizing local class
5258 name mangling. Don't allow horribly truncated method names.
5259 * gdb.c++/derivation.exp: Expect protected inheritance.
5260 * gdb.c++/inherit.exp: Be more flexible in recognizing vbase pointers.
5261 * gdb.c++/virtfunc.exp: Likewise.
5262 * gdb.c++/classes.exp: Likewise. Don't require the enclosing scope
5263 when printing a nested enum.
5264
52651999-11-22 Jim Blandy <jimb@cygnus.com>
5266
5267 * gdb.base/step-test.exp: Properly await GDB's response to setting
5268 a breakpoint on the call to large_struct_by_value.
5269
5270 * gdb.base/ending-run.exp ("step to end of run 1"): Don't fail
5271 just because we have debug info for the `start' function.
5272
52731999-11-19 Jim Blandy <jimb@zenia.red-bean.com>
5274
5275 * gdb.threads/linux-dp.exp ("create philosopher"): Recognize the
5276 "Unknown signal" messages, which indicate (on LinuxThreads) that
5277 GDB doesn't know how to debug threads on this system. This is
5278 better than hanging while philosopher 0 dumps chatter into gdb.log.
5279
52801999-11-18 Tom Tromey <tromey@cygnus.com>
5281
5282 * gdb.trace/deltrace.exp: Updated test to reflect new error text.
5283
52841999-11-18 Fred Fish <fnf@cygnus.com>
5285
5286 * gdb.base/coremaker2.c: Add sample program for generating
5287 cores that is more self contained than coremaker.c. Eventually
5288 I'll add more code to this and tie it into the testsuite.
5289
4ce44c66
JM
52901999-11-12 Stan Shebs <shebs@andros.cygnus.com>
5291
5292 * gdb.base/dollar.exp: Remove, now in gdb.hp.
5293
52941999-11-10 Jimmy Guo <guo@cup.hp.com>
5295
5296 * gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
5297 from $srcdir/lib/.
5298 * lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
5299 and gdb.c++/.
5300
5301 * gdb.c++/derivation.exp: remove redundant get compiler info code.
5302
d63a86f8 5303 * gdb.base/commands.exp: add '$gdb_prompt $' anchor to
4ce44c66
JM
5304 'continue with watch' test point.
5305
53061999-11-08 Jim Blandy <jimb@zenia.red-bean.com>
5307
5308 Merged from p2linux-990323-branch:
d63a86f8 5309
4ce44c66
JM
5310 * lib/gdb.exp (gdb_continue_to_breakpoint): New function.
5311
11cf8741
JM
5312Mon Nov 8 23:07:09 1999 Andrew Cagney <cagney@amy.cygnus.com>
5313
5314 * gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
5315 {limit,fixed}''. Test ``set download-write-size''.
5316
5317Sun Nov 7 17:37:01 1999 Andrew Cagney <cagney@b1.cygnus.com>
5318
5319 * gdb.base/funcargs.exp: Rewrite stack traceback checks using
5320 gdb_expect_list.
5321
5322Fri Nov 5 18:40:52 1999 Andrew Cagney <cagney@b1.cygnus.com>
5323
5324 * lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
5325
53261999-11-03 Mark Salter <msalter@cygnus.com>
5327
5328 * gdb.base/break.exp: Fix "stub continue" pattern.
5329
53301999-11-03 Jim Blandy <jimb@zwingli.cygnus.com>
5331
5332 * gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
5333
53341999-11-02 Jim Blandy <jimb@zwingli.cygnus.com>
5335
5336 * gdb.base/display.exp ("finish"): Add timeout clause.
5337
5338 * gdb.base/condbreak.exp ("run until breakpoint at marker1"): Add
5339 plain prompt clause, so this doesn't have to time out in order to
5340 fail.
5341
5342 * gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
5343 breakpoint hit messages include an address.
5344
5345 * gdb.base/display.exp: Don't forget to escape parens in regular
5346 expressions. Unix regexp notatation sucks.
5347
53481999-11-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5349
5350 * gdb.base/annota1.exp: Test for annotate-signalled: change output
5351 order for 'signalled' message.
5352
5c44784c
JM
53531999-11-01 Stan Shebs <shebs@andros.cygnus.com>
5354
5355 From Jimmy Guo <guo@cup.hp.com>:
5356 * gdb.base/annota1.exp: Add tests for annotate ignore count change.
5357 * gdb.base/annota1.c: Add code for tests to work with.
5358
53591999-10-26 Frank Ch. Eigler <fche@cygnus.com>
5360
5361 * gdb.base/remote.exp: New test for remote downloading settings.
5362 * gdb.base/remote.c: New file with large .data.
5363
917317f4
JM
53641999-10-18 Jim Blandy <jimb@zwingli.cygnus.com>
5365
5366 * gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
5367 for LinuxThreads support, merged from the Code Fusion branch.
5368
5369Mon Oct 11 13:57:21 1999 Andrew Cagney <cagney@amy.cygnus.com>
5370
5371 * lib/gdb.exp (gdb_run_cmd): Break complicated gdb_expect
5372 containing exp_continue into a while within an expect. Don't
5373 attempt a start more than three times. Check return value from
5374 gdb_load.
d63a86f8 5375
2df3850c
JM
5376Wed Oct 6 12:05:58 1999 Andrew Cagney <cagney@b1.cygnus.com>
5377
5378 * gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
5379 a pass case.
5380
2acceee2
JM
53811999-10-01 Kevin Buettner <kevinb@cygnus.com>
5382
5383 * gdb.base/break.c (main): Added a statement that we can step
5384 off of.
5385 * gdb.base/break.exp: Added tests for setting a breakpoint
5386 at an offset and stepping onto a breakpoint.
5387
53881999-10-01 Fred Fish <fnf@cygnus.com>
5389
d63a86f8 5390 * gdb.base/help.exp (help add-symbol-file): Update to match current
2acceee2
JM
5391 gdb output.
5392
c2c6d25f
JM
53931999-09-18 Jim Blandy <jimb@cris.red-bean.com>
5394
5395 * gdb.base/break.exp: Code locations are in hex, don't forget!
5396 (For HP-UX.)
5397
53981999-09-17 Stan Shebs <shebs@andros.cygnus.com>
5399
5400 * condbreak.exp: Use break.c as test program.
5401 * condbreak.c: Remove, redundant with break.c.
5402
54031999-09-15 Stan Shebs <shebs@andros.cygnus.com>
5404
5405 * config/monitor.exp (gdb_target_monitor): Disable X- and
5406 Z-packets if the target needs it.
5407
54081999-09-13 James Ingham <jingham@leda.cygnus.com>
5409
5410 * gdb.c++/overload.exp: Added tests for listing overloaded
5411 functions with function pointers in the arg, explicitly calling
5412 out the version you want.
5413
cff3e48b
JM
54141999-09-09 Stan Shebs <shebs@andros.cygnus.com>
5415
5416 * long_long.exp: Add variations of test cases that work for
5417 targets with 16-bit ints and 32-bit doubles.
5418
d4f3574e
SS
54191999-09-08 Stan Shebs <shebs@andros.cygnus.com>
5420
5421 * break.c (main): Compare a possibly-uninitialized argc with an
5422 unlikely value that fits in 16 bits.
5423
54241999-09-07 Stan Shebs <shebs@andros.cygnus.com>
5425
5426 * gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
5427 0xfeeb, don't want negative numbers if ints are 16 bits.
5428
5429 * lib/gdb.exp (skip_cplus_tests): New proc.
5430 * gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
5431 gdb.c++/anon-union.exp, gdb.c++/classes.exp,
5432 gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
5433 gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
5434 gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
5435 gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
5436 gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
5437 gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
5438
5439 * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
5440
5441Fri Sep 3 15:37:12 1999 Kevin Buettner <kevinb@cygnus.com>
5442
5443 * gdb.base/corefile.exp (up): Allow a parameter to appear
5444 in the frame that we're going up to.
5445
5446 From Jim Blandy <jimb@cygnus.com>:
5447
5448 * gdb.base/default.exp (info float): Expect some output now.
5449
5450 * gdb.base/callfuncs.exp (do_function_calls): We no longer expect
5451 returning floating-point values to fail on the x86.
5452 * gdb.base/callfwmall.exp (do_function_calls): Same.
5453
5454 * gdb.base/list.exp (test_listsize): Correct expectations for
5455 listing line 1 with listsize 2. Also, listing a single line
5456 works now, as does listing three lines. [Kevin's note: There
5457 were a number of other cases fixed too where the expectations
5458 differed...]
5459
54601999-09-02 Stan Shebs <shebs@andros.cygnus.com>
5461
5462 * gdb.base/selftest.exp: Add case for when version prints as
5463 constant string instead of char pointer.
5464
104c1213
JM
54651999-08-25 Stan Shebs <shebs@andros.cygnus.com>
5466
5467 * gdb.base/ending-run.exp: Add Solaris case for what happens when
5468 stepping out of main.
5469
5470 * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
5471 G++ used.
5472
5473 * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
5474 always, expect ptype InnerLocal::NestedInnerLocal to fail always.
5475
5476 * gdb.c++/ovldbreak.exp: Update match string in test that
5477 includes a warning of multiple breakpoints.
5478
54791999-08-24 Stan Shebs <shebs@andros.cygnus.com>
5480
5481 * gdb.base/display.exp: Improve precision of step-after-finish
5482 added yesterday.
5483
5484 * gdb.base/signals.exp: Add extra wildcard to "handle all print"
5485 test.
5486
5487 * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
5488 configs when using G++, not just hppa*.
5489
54901999-08-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5491
5492 * gdb.base/async.c: New file.
5493 * gdb.base/async.exp: New file.
5494
5495Tue Aug 24 03:24:53 1999 Jeffrey A Law (law@cygnus.com)
5496
5497 * gdb.base/break.exp: Tweak PA specific tests to properly handle
5498 PA64.
5499
53a5351d
JM
5500Mon Aug 23 10:25:20 1999 Jeffrey A Law (law@cygnus.com)
5501
104c1213
JM
5502 * gdb.base/display.exp: "finish" can leave us mid-line on many
5503 targets, deal with it. Add a small constant to main, instead of
5504 1000 since main+1000 may not be a valid address in the target.
5505
53a5351d
JM
5506 * gdb.base/dollar.exp: Do not run for PA processors in wide mode
5507 on hpux11.
5508
5509 * gdb.base/attach.exp: Handle another hpux11 error message variant
5510 when attaching to a process that does not exist.
5511
55121999-08-19 J.T. Conklin <jtc@redback.com>
5513
5514 * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
5515 characters in 'continue to 1241' test.
5516
55171999-08-17 Stan Shebs <shebs@andros.cygnus.com>
5518
5519 * gdb.base/call-ar-st.exp: Add a shorter match case for the
5520 stop in print_long_arg_list, define and use a whitespace
5521 variable in print_small_structs test, add an XFAIL for Solaris.
5522 * gdb.base/dbx.exp: XFAIL func commands until somebody is
5523 interested enough to fix.
5524
7be570e7
JM
55251999-08-13 Keith Seitz <keiths@cygnus.com>
5526
5527 * gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
5528 (dbx_gdb_load): Remove. Use gdb_load instead, since that
5529 proc knows about targets other than the natives.
5530 (test_assign): Use "gdb_run_cmd" to "run" the target.
5531 Check that we've actually hit the breakpoint at main.
5532 When we attempt to assign a value to a local variable, check
5533 that the variable is in the current scope, i.e., don't use
5534 a test with an empty result.
5535
5536Tue Aug 10 15:25:16 1999 Andrew Cagney <cagney@b1.cygnus.com>
5537
5538 * gdb.base/maint.exp: Add test of ``maintenance internal-error''
5539 command.
5540
55411999-08-09 Stan Shebs <shebs@andros.cygnus.com>
5542
5543 From Jimmy Guo <guo@cup.hp.com> and others at HP:
5544 gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
5545 gdb.compat, gdb.threads-hp.
5546 gdb.hp/configure, gdb.hp/configure.in: New files.
5547 gdb.hp/Makefile.in: Recurse into new subdirs.
5548 gdb.hp/gdb.defects: New directory, tests for HP bug reports.
5549 gdb.hp/gdb.objdbg: New directory, tests for debugging info
5550 in object files.
5551 gdb.hp/tools: New directory, aux tools for HP-specific tests.
5552
96baa820
JM
55531999-08-05 Stan Shebs <shebs@andros.cygnus.com>
5554
5555 * gdb.base/display.exp: Help expect by putting a newline in the
5556 funky printf, remove a bogus p/a test.
5557
55581999-08-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5559
5560 * gdb.base/display.exp: Make sure that when we say 'run', we are
5561 connected to the target. This is necessary when running not
5562 natively.
5563
55641999-08-03 Stan Shebs <shebs@andros.cygnus.com>
5565
5566 * gdb.base/step-test.exp: Removed some extraneous messages.
5567
5568 * gdb.base/long_long.exp: Don't run memory examination tests
5569 on little-endian targets (they will need a different set of
5570 results to match).
5571
55721999-08-02 Stan Shebs <shebs@andros.cygnus.com>
5573
5574 * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
5575 until somebody decides to fix GDB.
5576
5577 * gdb.base/long_long.c: Stop compiler complaint by specifying long
5578 constant as "ULL".
5579 * gdb.base/long_long.exp: Loosen x/c test, add partial result
5580 matches for a couple x/2 commands.
5581
a0b3c4fd
JM
55821999-07-30 Stan Shebs <shebs@andros.cygnus.com>
5583
5584 * gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
5585 by merging in ref-types2 tests.
5586 * gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
5587
5588 From Jimmy Guo <guo@cup.hp.com> and others at HP:
5589 * gdb.c++/Makefile.in: Add standard actions.
5590 (EXECUTABLES): Rename from PROGS, update list.
5591 * gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
5592 from gdb.hp.
5593 * gdb.c++/anon-union.cc: Don't use anonymous struct, make
5594 foo and bar locals.
5595 * gdb.c++/anon-union.exp: Fix tests to match.
5596 * gdb.c++/classes.exp: Run if HP compiler used, add extra
5597 expect matches to handle output variations.
5598 * gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
5599 * gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
5600 output, add HP alternatives for new and delete prints.
5601 * gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
5602 gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
5603 * gdb.c++/demangle.exp: Use $style when reporting failure.
5604 * gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
5605 * gdb.c++/inherit.exp: Run if HP compiler used, add some
5606 match alternatives.
5607 * gdb.c++/local.exp: Add match alternatives or xfails for HP
5608 compilers.
5609 * gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
5610 * gdb.c++/method.exp: Add match alternatives.
5611 * gdb.c++/misc.cc: Add bool types.
5612 * gdb.c++/misc.exp: Add tests for bool types.
5613 * gdb.c++/overload.exp: Add xfails.
5614 * gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
5615 * gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
5616 add some more template parameter tests (only for HP currently).
5617 * gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
5618 * gdb.c++/virtfunc.cc: Add return type and value for main.
5619 * gdb.c++/virtfunc.exp: Run if HP compiler used, add some
5620 match alternatives.
d63a86f8 5621
a0b3c4fd
JM
56221999-07-30 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5623
5624 * gdb.base/display.exp: Fix output of 'p/a &&j' test.
5625
56261999-07-29 Jim Blandy <jimb@savonarola.red-bean.com>
5627
5628 * gdb.base/signals.exp: Don't expect getting a backtrace from
5629 within a signal handler to fail on Linux.
5630
56311999-07-29 Stan Shebs <shebs@andros.cygnus.com>
5632
5633 From Jimmy Guo <guo@cup.hp.com> and others at HP:
5634 * lib/gdb.exp: Remove some gratuitious semicolons.
5635 (delete_breakpoints): Increase timeout.
5636 (gdb_expect): Add -notransfer option.
5637 (gdb_test): Use -notransfer option.
5638 (get_compiler_info): Add f77 case.
5639 (get_compiler): New proc, split out from gdb_preprocess, add f77
5640 case.
5641 (gdb_preprocess): Call get_compiler.
5642
5643 * gdb.base/Makefile.in (EXECUTABLES): Update the list.
5644 * gdb.base/attach.exp, gdb.base/display.exp,
5645 gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
5646 gdb.base/long_long.exp, gdb.base/printcmds.exp,
5647 gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
5648 third arg to gdb_test.
5649 * gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
5650 * gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
5651 HP-UX xfails, add others.
5652 * gdb.base/completion.exp: Reflect name change of self-test.
5653 * gdb.base/condbreak.exp, gdb.base/corefile.exp,
5654 gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
5655 gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
5656 HP failure number.
5657 * gdb.base/foll-vfork.exp: Loosen matches slightly, remove
5658 useless HP-UX 10.30 references.
5659 * gdb.base/maint.exp: Loosen matches.
5660 * gdb.base/pointers.c (main): Declare more_code.
5661 * gdb.base/pointers.exp: Match on output of a `next'.
5662 * gdb.base/structs.c: Add prototypes.
5663 * gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
5664 * gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
5665
56661999-07-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5667
5668 * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
5669 command.
5670
56711999-07-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5672
5673 * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
5674 Fix run to main failures. Watchpoint can be hardware watchpoint.
d63a86f8
RM
5675
5676 * gdb.base/annota1.exp: Clean up some more, in case printf has
a0b3c4fd
JM
5677 debug info. Deal with lack of signal hanlder info in stack.
5678
5679 From Jim Kingdon <kingdon@redhat.com>:
5680 * gdb.base/annota1.exp: If printf has debug info, deal with it.
5681
5a2468f5
JM
56821999-07-19 Stan Shebs <shebs@andros.cygnus.com>
5683
5684 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
5685 gdb.base/foll-vfork.exp: Don't run for crosses.
5686
adf40b2e
JM
5687Tue Jul 13 23:37:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
5688
5689 * gdb.base/configure.in: Check for gdbvars.exp instead of
5690 a1-selftest.exp.
5691 * gdb.base/configure: Re-generate.
5692
56931999-07-12 Stan Shebs <shebs@andros.cygnus.com>
5694
5695 * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
5696 in trying to run first and name is too long.
5697
5698 * gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
5699 pointers2.c and pointers2.exp, respectively.
5700 * gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
5701 doschk happier.
5702
43e526b9
JM
57031999-07-08 Stan Shebs <shebs@andros.cygnus.com>
5704
5705 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
5706 callfuncs2.c and callfuncs2.exp.
5707
5708 * gdb.base/list.exp: Remove mistaken xfails.
5709 * gdb.base/list0.h: Add optional prototypes.
5710
9846de1b
JM
5711Wed Jul 7 00:27:35 1999 Andrew Cagney <cagney@amy.cygnus.com>
5712
5713 * gdb.base/setvar.exp: Increase the time-out on tests indirectly
5714 calling malloc.
5715 * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
5716 * ptype.exp: Move test for get_debug_format to before its first
5717 use.
5718
57191999-07-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5720
5721 * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
5722 * gdb.base/annota2.cc, annota2.exp: Move from here.
5723 * gdb.c++/annota2.cc, annota2.exp: To here.
5724 * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
5725
43ff13b4
JM
5726Tue Jun 29 11:56:06 1999 Andrew Cagney <cagney@b1.cygnus.com>
5727
5728 * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
5729 a consistent format.
5730
085dd6e6
JM
57311999-06-25 Stan Shebs <shebs@andros.cygnus.com>
5732
5733 From Jimmy Guo <guo@cup.hp.com> and others at HP:
5734 * lib/gdb.exp (get_compiler_info): Add detection for assorted
5735 HP compilers, also set the globals $true and $false.
5736
5737 * gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
5738 call-rt-st.c, call-strs.c, callfuncs.c, callfuncs2.c, condbreak.c,
5739 coremaker.c, ending-run.c, exprs.c, funcargs.c, interrupt.c,
5740 jump.c, langs0.c, langs1.c, langs2.c, list0.c, list1.c,
5741 long_long.c, mips_pro.c, nodebug.c, opaque0.c, opaque1.c,
5742 printcmds.c, ptype.c, recurse.c, restore.c, return.c, run.c,
5743 scope0.c, scope1.c, setshow.c, setvar.c, shmain.c, shr1.c, shr2.c,
5744 sigall.c, signals.c, so-impl-ld.c, so-indr-cl.c, solib.c,
5745 solib1.c, solib2.c, step-test.c, twice.c, varargs.c, watchpoint.c,
5746 whatis.c} Add C++ compatible function definitions and return
5747 types, add includes for library functions.
5748 * gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
5749 * gdb.base/step-test.c (myglob): Rename from glob.
5750 * gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
5751 foll-exec.c, foll-fork.c, foll-vfork.c, sum.c, vforked-prog.c: New
5752 files, move here from gdb.hp.
5753 * gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
5754 commands.exp, condbreak.exp, define.exp, ena-dis-br.exp,
5755 ending-run.exp, jump.exp. list.exp, long_long.exp, so-impl-ld.exp:
5756 Adjust line numbers in regexps.
5757
5758 * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
5759 miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
5760 instead of 0/1.
5761
5762 * gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
5763 foll-vfork.exp: New files, move here from gdb.hp.
5764 * gdb.base/page.exp: New file, test of pagination command.
5765
5766 * gdb.base/watchpoint.c (recurser): New function, for watchpoint
5767 recursion test.
5768 * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
5769
5770 * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
5771 gdb.base/solib.exp: Fix compiler invocation process.
5772
5773 * gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
5774 HP-UX 11, turn off overload resolution explicitly.
5775 * gdb.base/commands.exp: Set argument list explicitly, add
5776 watchpoint test.
5777 * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
5778 them work.
5779 * gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
5780 expressions properly.
5781 * gdb.base/corefile.exp: Loosen the match slightly.
5782 * gdb.base/default.exp: Allow "Error accessing memory" message
5783 also.
5784 * gdb.base/display.exp: Skip over x/0 j if PA64.
5785 * gdb.base/funcargs.exp: Add xfails for HP-UX.
5786 * gdb.base/interrupt.exp: Ditto.
5787 * gdb.base/langs.exp: Add symbolic matches governed by compiler
5788 in use.
5789 * gdb.base/list.exp: Add xfails for HP-UX.
5790 * gdb.base/long_long.exp: Refine some of the numeric matches.
5791 * gdb.base/mips_pro.exp: Xfail on HP-UX.
5792 * gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
5793 * gdb.base/nodebug.exp: Succeed on more varieties of output.
5794 * gdb.base/opaque.exp: Remove some HP-UX xfails.
5795 * gdb.base/ptype.exp: Succeed on more varieties of output.
5796 * gdb.base/scope.exp: Add xfails for HP-UX.
5797 * gdb.base/sect-cmd.exp: Add more cases.
5798 * gdb.base/setvar.exp: Add xfails for HP-UX.
5799 * gdb.base/shlib-call.exp: Loosen some matches slightly.
5800 * gdb.base/signals.exp: Match on void symbolically.
5801 * gdb.base/step-test.exp: Add case for PA64.
5802 * gdb.base/term.exp: Add exit and restart.
5803 * gdb.base/twice.exp: Clean up after self.
5804 * gdb.base/varargs.exp: Disable overload resolution explicitly.
5805 * gdb.base/whatis.exp: Allow more ways to pass tests.
5806
5807 * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
5808 no longer useful.
5809
5810Fri Jun 25 19:27:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
5811
5812 * lib/gdb.exp (proc gdb_expect_list): New procedure. Matches a
5813 list of patterns.
5814 * gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
5815 print_double_array(double_array)", "continuing to breakpoint
5816 1018", "print print_double_array(array_d)" and "continuing to
5817 1034" tests.
d63a86f8 5818
085dd6e6
JM
58191999-06-24 Jason Molenda (jsm@bugshack.cygnus.com)
5820
5821 * Makefile.in: Add empty html and install-html targets.
5822
58231999-06-24 Stan Shebs <shebs@andros.cygnus.com>
5824
5825 * config/mt-*: Remove, these haven't been used since 1996.
5826
58271999-06-22 Stan Shebs <shebs@andros.cygnus.com>
5828
5829 * gdb.base/call-strs.c, gdb.base/ending-run.c,
5830 gdb.base/step-test.c: Include stdlib.h and string.h as needed.
5831 * gdb.c++/member-ptr.exp: Skip over these tests if using G++.
5832
9e0b60a8
JM
58331999-06-18 Stan Shebs <shebs@andros.cygnus.com>
5834
5835 * gdb.c++/overload.exp: XFAIL everything if using G++, add a
5836 simpler match case for the ptype of the big class.
5837
58381999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
5839
5840 * gdb.exp: Fix test for gdb_prompt existence.
5841
58421999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
5843
5844 * gdb.exp (gdb_test): Add fail after calls to perror.
5845
58461999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
5847
5848 * gdb.exp (gdb_test): Accept variations of Undefined command messages.
5849
58501999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
5851
5852 * gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
5853
0f71a2f6
JM
5854Fri Jun 11 12:56:50 1999 Andrew Cagney <cagney@b1.cygnus.com>
5855
5856 * gdb.base/call-strs.c (link_malloc): New function. Ensure that
5857 malloc() is linked in.
5858
58591999-06-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
5860
5861 * gdb.base/ending-run.exp: Make sure we fail and do not timeout at
5862 step at end.
5863
5864 * gdb.base/annota1.exp: Increase match_max to prevent timeout.
5865
58661999-06-08 Jim Blandy <jimb@zwingli.cygnus.com>
5867
5868 * gdb.java/jv-print.exp: New file. (Our first Java test!)
5869
cce74817
JM
5870Fri Jun 4 10:47:46 1999 Jeffrey A Law (law@cygnus.com)
5871
5872 * gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
5873 * gdb.base/mips_pro.exp: Likewise.
5874
58751999-06-02 Keith Seitz <keiths@cygnus.com>
5876
5877 * gdb.c++/templates.cc: Change all "new" operators to throw
5878 an exception.
5879 * gdb.c++/cplusfuncs.cc: Likewise.
5880
5881 * gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
5882
5883Wed Jun 2 17:37:05 1999 Andrew Cagney <cagney@b1.cygnus.com>
5884
5885 * gdb.base/condbreak.exp: Use rerun_to_main to start the program.
5886 * gdb.base/ending-run.exp: When stepping out of main, accept a
5887 step into an arbitrary assembler file.
5888
392a587b
JM
58891999-05-20 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5890
d63a86f8 5891 * gdb.base/annota1.exp: Allow any number of "frames-invalid" and
392a587b 5892 "breakpoint-invalid" to be printed.
d63a86f8 5893 * gdb.base/annota2.exp: Revise line number for main breakpoint. Allow any
392a587b
JM
5894 number of "frames-invalid" and "breakpoint-invalid" to be printed.
5895 * gdb.base/annota2.cc: Initialize a.x to 0.
5896
9e086581
JM
58971999-05-17 Keith Seitz <keiths@cygnus.com>
5898
5899 * gdb.base/call-ar-st.exp: Skip "print print_double_array (double_array)"
5900 when "skip_float_tests" set.
5901 Ditto for "print print_double_array(array_d)", "print print_small_structs",
5902 "print print_ten_doubles", and "step into print_long_arg_list".
5903 Don't assume we can step into "print_long_arg_list": we could step into memcpy.
5904 * gdb.base/call-rt-st.exp: Don't run float-related tests when "skip_float_tests"
5905 is set: "print print_one_double(*d1)" and "print print_two_floats(*f3)".
5906 * gdb.base/funcargs.exp: Don't run "float_and_integral_args" when
5907 "skip_float_tests" is set.
5908 * gdb.base/varargs.exp: Skip "print find_max_double(5,1.0,17.0,2.0,3.0,4.0)"
5909 when "skip_float_tests" set.
d63a86f8 5910
cd0fc7c3
SS
59111999-05-06 Keith Seitz <keiths@cygnus.com>
5912
5913 * gdb.base/annota2.cc: Include stdio.h.
5914
5915Wed May 5 17:44:31 1999 Stan Shebs <shebs@andros.cygnus.com>
5916
5917 * gdb.base/crossload.exp: Remove, this has been disabled ever
5918 since BFD stopped including all targets, and cross-GDB gets
5919 plenty of testing anyway.
5920 * gdb.base/i486-elf.u, gdb.base/m68k-aout.u, gdb.base/m68k-elf.u,
5921 gdb.base/sparc-aout.u, gdb.base/i860-elf.u, gdb.base/m68k-aout2.u,
5922 gdb.base/mips-ecoff.u, gdb.base/sparc-elf.u: Remove.
5923 * gdb.base/README: Remove, was doc for this.
5924 * gdb.base/Makefile.in (CROSS_EXECUTABLES): Remove, no longer
5925 needed.
5926
b83266a0
SS
59271999-05-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5928
5929 * gdb.base/call-ar-st.exp: Fix one regular expression in test
5930 output.
5931
5932 * gdb.base/annota1.exp: New file. Annotation level 2 tests.
5933 * gdb.base/annota2.exp: New file. More annotation tests.
5934 * gdb.base/annota1.c: New file. Source file for annota1.exp.
5935 * gdb.base/annota2.cc: New file. Source file for annota2.exp.
5936
59371999-04-23 Angela Marie Thomas <angela@cygnus.com>
5938
5939 * config/cfdbug.exp: New file.
5940
7a292a7a
SS
59411999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
5942
5943 * gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
5944 Marcus Daniel's and Dale Hawkins's demangler crashes.
5945
5946 * gdb.c++/demangle.exp (test_gnu_style_demangling,
5947 test_lucid_style_demangling, test_arm_style_demangling,
5948 test_hp_style_demangling): Try Tom Tromey's core-dumping
5949 identifier under each demangling style.
5950
59511999-04-07 Jim Blandy <jimb@zwingli.cygnus.com>
5952
5953 * gdb.c++/demangle.exp: Include the current demangling style
5954 in all test names.
5955 (current_demangling_style): New global variable.
5956 (set_demangling_style, test_demangling_core, test_demangling,
5957 test_demangling_exact): New functions.
5958 (test_gnu_style_demangling, test_lucid_style_demangling,
5959 test_arm_style_demangling, test_hp_style_demangling): Use those,
5960 instead of calling gdb_test and gdb_test_exact directly.
5961 (catch_demangling_errors): New function, which reports errors
5962 signalled by the demangling test functions in an orderly way.
5963 (do_tests): Use catch_demangling_errors.
5964
59651999-04-06 Jim Blandy <jimb@zwingli.cygnus.com>
5966
5967 * gdb.base/signals.exp (test_handle_all_print): Use () for
5968 grouping in expressions, not {}.
5969
5970 * gdb.base/smoke.exp: Test value of x, not y. The latter isn't
5971 initialized yet.
5972
59731999-04-01 Stan Shebs <shebs@andros.cygnus.com>
5974
5975 * gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
5976 are listed.
5977
59781999-03-26 Stan Shebs <shebs@andros.cygnus.com>
5979
5980 * gdb.stabs/weird.exp: Test for CC being defined before
5981 looking at its value.
5982
59831999-03-25 Stan Shebs <shebs@andros.cygnus.com>
5984
5985 * gdb.base/call-ar-st.exp: Remove stray '#'.
5986 * gdb.base/miscexprs.exp: Allow "short" and "long" as well as
5987 "short int" and "long int".
5988 * gdb.c++/overload.cc: Cast the string added in the previous
5989 change, to mollify finicky HP compiler.
5990 * gdb.hp/reg-test.exp (testfile): Fix file name.
5991 * gdb.stabs/weird.exp: Don't try to run if HP compiler in use.
d63a86f8 5992
7a292a7a
SS
5993 * gdb.c++/misc.cc (main): Initialize obj_with_enum.
5994 * gdb.c++/classes.exp: Fix test of obj_with_enum values, allow
5995 alternate form of enum ptype.
5996
c906108c
SS
59971999-03-23 Stan Shebs <shebs@andros.cygnus.com>
5998
7a292a7a
SS
5999 * lib/gdb.exp (skip_hp_tests): Remove gcc_used argument.
6000 * gdb.hp/*.exp: Change all to run compiler probe only after
6001 passing skip_hp_tests, so as not to waste time on guaranteed
6002 failure.
6003
c906108c
SS
6004 * gdb.c++/overload.cc: Pass string instead of char addr, always
6005 init ccpfoo.
6006 * gdb.c++/templates.cc: Fix syntax error.
6007
7a292a7a
SS
6008Tue Mar 23 14:56:36 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
6009
6010 * gdb.base/commands.exp: Add test for correct position of '>'
d63a86f8 6011 when issuing the 'commands' command after a 'while' or 'if'
7a292a7a
SS
6012 command.
6013
60141999-03-18 James Ingham <jingham@cygnus.com>
6015
6016 * gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
6017
6018 * gdb.c++/method.exp: It was testing an uninitialized int on the
6019 stack and assuming it was positive.
6020
6021 * gdb.base/watchpoint.exp: Use gdb_continue_to_end.
6022
6023 * gdb.base/step-test.exp: Catch a case where finish is broken and
d63a86f8 6024 keep it from killing the rest of the tests.
7a292a7a
SS
6025 Use gdb_continue_to_end.
6026
6027 * gdb.base/sigall.exp: use gdb_continue_to_end.
6028
6029 * gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
6030
6031 * gdb.base/display.exp: use runto_main, not run.
6032
d63a86f8
RM
6033 * gdb.base/default.exp: Check for the current error message in the
6034 r abbreviation test.
7a292a7a
SS
6035 Add strongarm to the targets that know info float.
6036
d63a86f8 6037 * gdb.base/condbreak.exp: Use the gdb_run command rather than just
7a292a7a
SS
6038 run which doesn't work with monitors.
6039
6040 * gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to 1034 test.
6041
6042 * gdb.base/break.exp: use the gdb_continue_to_end proc.
6043
6044 * lib/gdb.exp: I had added gdb_continue_to_end used to run to the end of a
d63a86f8
RM
6045 program. Traps the case (in Cygmon) when the program never really
6046 exits. Same as Mark's continue_to_exit, but I had put it in a lot
7a292a7a
SS
6047 more places, so I used my name. Sorry Mark...
6048
6049 * config/monitor.exp (gdb_target_monitor): added another
6050 target_info parameter: remotebinarydownload. This will set the
6051 remotebinarydownload flag if this is causing some boards trouble.
6052
60531999-03-18 Mark Salter <msalter@cygnus.com>
6054
6055 * lib/gdb.exp (continue_to_exit): New function.
6056
6057 * gdb.base/ena-dis-br.exp: Clean up for remote targets.
6058 * gdb.base/ending-run.exp: Ditto.
6059 * gdb.base/step-test.exp: Ditto.
6060
60611999-03-16 Stan Shebs <shebs@andros.cygnus.com>
6062
6063 * gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
6064 (suggested by Art Haas <ahaas@neosoft.com>).
6065
60661999-03-16 Jim Blandy <jimb@zwingli.cygnus.com>
6067
6068 * gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
6069
6070Fri Mar 12 18:06:21 1999 Stan Shebs <shebs@andros.cygnus.com>
6071
6072 * gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
6073 descriptions of types (short unsigned int vs unsigned short, etc).
6074
60751999-03-12 Jim Blandy <jimb@zwingli.cygnus.com>
6076
6077 * gdb.base/call-strs.exp: Don't assume that `step' will step over
6078 a call to strlen; sometimes we do have sources.
6079
60801999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
c906108c
SS
6081
6082 * gdb.base/call-ar-st.c (main): Terminate char_array with a null
6083 character, so GDB won't print garbage after its end.
d63a86f8 6084
c906108c
SS
6085 * gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
6086 breakpoint there instead. Sometimes GCC emits memcpy to handle
6087 the large structures being passed by value, so we step into that
6088 instead of sum_array_print, which obscures what we're really testing.
6089 * gdb.base/step-test.exp: However, we do want a test that notices
6090 the bizarre steps into memcpy, so do that here. Add check for
6091 stepping into function calls that pass large structures by value.
6092 ("Is that a noun clause, or are you just happy to see me?")
6093 Remove all references to specific line numbers.
6094 * gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
6095 New type and function.
6096 (main): Call large_struct_by_value, passing it a large struct by value.
6097 * lib/gdb.exp (gdb_get_line_number): New function.
6098
6099 * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
6100 more portable.
6101
7a292a7a
SS
61021999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
6103
c906108c
SS
6104 * lib/gdb.exp: Doc fixes.
6105
7a292a7a
SS
61061999-03-05 Nick Clifton <nickc@cygnus.com>
6107
d63a86f8 6108 * gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
7a292a7a
SS
6109
61101999-03-04 Jim Blandy <jimb@zwingli.cygnus.com>
6111
c906108c
SS
6112 * gdb.base/display.exp: Don't exercise the "detach" and "kill"
6113 commands. They're not germane to this test, and they don't work
6114 that way on remote targets.
6115
3fc11d3e
JM
61161999-03-01 James Ingham <jingham@cygnus.com>
6117
6118 * Changelog entries merged over from gdb development branch.
6119
3fc11d3e
JM
6120 Tue Jan 5 12:33:47 1999 Keith Seitz <keiths@cygnus.com>
6121
6122 * lib/gdb.exp (gdbtk_analyze_results): Generic function
6123 for outputting results of test run.
6124
2d4a1622 6125 1998-12-07 Martin M. Hunt <hunt@cygnus.com>
3fc11d3e
JM
6126
6127 * lib/gdb.exp (gdbtk_start): Fix path for itcl library.
3fc11d3e 6128
7a292a7a
SS
61291999-02-25 Felix Lee <flee@cygnus.com>
6130
6131 * lib/gdb.exp (debug_format): initialize
6132
c906108c
SS
61331999-02-25 Jason Molenda (jsm@bugshack.cygnus.com)
6134
6135 * gdb.base/call-ar-st.c: Include string.h, not strings.h.
6136 * gdb.base/call-rt-st.c: Ditto.
6137
c906108c
SS
61381999-02-13 Jim Blandy <jimb@zwingli.cygnus.com>
6139
6140 * gdb.threads/pthreads.exp (horiz): New variable.
6141 (test_startup): Fix regexps that capture thread numbers.
6142
61431999-02-10 Jason Molenda (jsm@bugshack.cygnus.com)
6144
6145 * gdb.base/smoke.exp: Disambiguate two test case names (both
6146 called ``print'').
6147
6148Fri Feb 5 12:42:56 1999 Stan Shebs <shebs@andros.cygnus.com>
6149
6150 * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
6151 compilation.
6152
61531999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
6154
6155 * gdb.base/miscexprs.exp: Change patterns to match GDB's
6156 actual output formatting.
6157 * gdb.base/smoke.exp: GDB removes leading 0's.
6158 * gdb.base/volatile.exp: Don't check type of remuneration;
6159 that variable is no longer defined in constvars.c.
6160 * gdb.base/step-test.c (main): Exit with explicit exit code.
6161 * gdb.base/step-test.exp: Remove two nexti checks--they are
6162 not portable.
6163
61641999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
6165
6166 * gdb.base/help.exp ("help delete display"): Fix test to match
6167 gdb's output.
6168
6169 * gdb.base/long_long.c (known_types): Initialize values to zero.
6170 * gdb.base/long_long.exp: Step one more line
6171 so 'dec' is initialized in "get to known place". GDB removes
d63a86f8 6172 leading zeros. Explicitly ask for hex formatting. Use
c906108c
SS
6173 unique test case names.
6174
6175Tue Feb 2 10:16:08 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
6176
d63a86f8 6177 * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
c906108c
SS
6178
6179 * gdb.c++/method.exp: Add missing close brace.
6180
61811999-01-30 Jim Blandy <jimb@zwingli.cygnus.com>
6182
6183 * gdb.base/maint.exp: Use 'set height 0' to disable page
6184 prompting, not 'set height 400'.
6185
6186 Fix a bunch of timeouts.
6187 * gdb.base/maint.exp ("maint print objfiles"): Break this up into
6188 four separate tests, so expect doesn't take forever to match a ton
6189 of text against a regexp with lots of .* forms.
6190 ("maint print psymbols", "maint print symbols"): Make some of
6191 these greps more selective, so that expect doesn't try to wade
6192 through huge piles of output and time out.
6193
6194 * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
6195
6196 * gdb.base/maint.exp ("maint info breakpoints"): Split into two
6197 tests: one which doesn't expect shlib events to be reported, and
6198 another which does, but is XFAIL for all platforms other than
6199 HP/UX.
6200
6201 * gdb.base/break.exp: Teach the test suite that the `catch
6202 fork', `catch vfork', and `catch exec' commands produce error
6203 messages on platforms that don't provide these features.
6204
6205Mon Jan 25 18:35:56 1999 Stan Shebs <shebs@andros.cygnus.com>
6206
6207 * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
6208 so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
6209 (shortening names from solib_threshold.exp etc), won't run on
6210 anything but HP-UX for the foreseeable future.
6211 * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
6212 reflect move.
6213
6214Thu Jan 21 15:46:49 1999 Stan Shebs <shebs@andros.cygnus.com>
6215
6216 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
6217 gdb.trace/Makefile.in (clean): Remove all test executables.
6218
6219Tue Jan 19 17:20:09 1999 David Taylor <taylor@texas.cygnus.com>
6220
6221 * gdb.base/shlib-call.exp: add test cases to verify that gdb
6222 successfully re-sets breakpoints in shared libraries.
6223 * gdb.base/shmain.c (main): return 0, don't fall off the end.
6224
6225Fri Jan 15 14:04:57 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
6226
d63a86f8
RM
6227 * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
6228 and compiled w/o GCC.
c906108c
SS
6229
6230 * gdb.hp/watch-cmd.exp: ditto.
6231
6232 * gdb.hp/watch-hp.exp: ditto.
6233
6234 * gdb.hp/xdb1.exp: ditto.
6235
6236 * gdb.hp/xdb2.exp: ditto.
6237
6238 * gdb.hp/dbx.exp: ditto.
6239
6240Thu Jan 14 18:36:48 1999 Stan Shebs <shebs@andros.cygnus.com>
6241
6242 * constvars.c: Remove C++-isms.
6243 * constvars.exp: Use gdb_test everywhere, add xfails if compiled
6244 with GCC.
6245
6246Mon Jan 11 10:08:03 1999 David Taylor <taylor@texas.cygnus.com>
6247
6248 The following changes are part of the HP merge.
6249
6250 * gdb.base/break.exp: new tests to verify that catchpoints for
6251 fork, vfork, and exec don't trigger inappropriately.
6252
6253 * gdb.base/opaque.exp: compile one file at a time, then link.
6254
6255 * gdb.base/signals.exp: be more restrictive about which hppa
6256 systems receive a setup_xfail. new tests.
6257
6258 * gdb.base/solib_threshold.build: new file.
6259 * gdb.base/solib_threshold.exp: new file.
6260 * gdb.base/solib_threshold.link_opts: new file.
6261 * gdb.base/solib_threshold.mk: new file.
6262 * gdb.base/gen_solib_threshold.c: new file.
6263
6264 * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
6265 tests. New tests for enums inside classes.
6266
6267 * gdb.c++/compiler.cc: indicate support of template debugging.
6268
6269 * gdb.c++/demangle.exp: run hp style demangling tests.
6270
6271 * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
6272 tests.
6273
6274 * gdb.c++/misc.cc: changes to support new tests.
6275
6276 * gdb.c++/templates.cc: changes to support HP's compiler; changes
6277 to support new tests.
6278
6279 * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
6280 gcc, then skip these tests.
6281
6282Sun Jan 10 23:44:11 1999 David Taylor <taylor@texas.cygnus.com>
6283
6284 The following files are part of the HP merge; some had longer
6285 names at HP, but have been renamed to be no more than 14
6286 characters in length.
6287
6288 * gdb.hp/ambiguous.cc: new file.
6289 * gdb.hp/ambiguous.exp: new file.
6290 * gdb.hp/attach.exp: new file.
6291 * gdb.hp/attach2.exp: new file.
6292 * gdb.hp/classes-hp.exp: new file.
6293 * gdb.hp/ctti.exp: new file.
6294 * gdb.hp/ctti-add.cc: new file.
6295 * gdb.hp/ctti-add1.cc: new file.
6296 * gdb.hp/ctti-add2.cc: new file.
6297 * gdb.hp/ctti-add3.cc: new file.
6298 * gdb.hp/dbx.exp: new file.
6299 * gdb.hp/exception.cc: new file.
6300 * gdb.hp/exception.exp: new file.
6301 * gdb.hp/foll-exec.c: new file.
6302 * gdb.hp/foll-exec.exp: new file.
6303 * gdb.hp/foll-fork.c: new file.
6304 * gdb.hp/foll-fork.exp: new file.
6305 * gdb.hp/foll-vfork.c: new file.
6306 * gdb.hp/foll-vfork.exp: new file.
6307 * gdb.hp/inherit-hp.exp: new file.
6308 * gdb.hp/more-steps.exp: new file.
6309 * gdb.hp/namespace.cc: new file.
6310 * gdb.hp/namespace.exp: new file.
6311 * gdb.hp/optimize.exp: new file.
6312 * gdb.hp/pxdb.c: new file.
6313 * gdb.hp/pxdb.exp: new file.
6314 * gdb.hp/quicksort.exp: new file.
6315 * gdb.hp/reg-test.exp: new file.
6316 * gdb.hp/reg-test.s: new file.
6317 * gdb.hp/sized-enum.c: new file.
6318 * gdb.hp/sized-enum.exp: new file.
6319 * gdb.hp/start-stop.exp: new file.
6320 * gdb.hp/templ-hp.cc: new file.
6321 * gdb.hp/templ-hp.exp: new file.
6322 * gdb.hp/thr-lib.c: new file.
6323 * gdb.hp/thr-lib.exp: new file.
6324 * gdb.hp/thr-lib.h: new file.
6325 * gdb.hp/thr-liblib.c: new file.
6326 * gdb.hp/virtfun-hp.c: new file.
6327 * gdb.hp/virtfun-hp.exp: new file.
6328 * gdb.hp/watch-cmd.exp: new file.
6329 * gdb.hp/watch-hp.exp: new file.
6330 * gdb.hp/xdb1.exp: new file.
6331 * gdb.hp/xdb2.exp: new file.
6332 * gdb.hp/xdb3.exp: new file.
6333
6334Wed Jan 6 18:41:15 1999 David Taylor <taylor@texas.cygnus.com>
6335
6336 The following files are part of the HP merge; some had longer
6337 names at HP, but have been renamed to be no more than 14
6338 characters in length.
6339
6340 * gdb.base/ss.h: new file.
6341 * gdb.base/call-ar-st.c: new file.
6342 * gdb.base/call-ar-st.exp: new file.
6343 * gdb.base/call-rt-st.c: new file.
6344 * gdb.base/call-rt-st-exp: new file.
6345 * gdb.base/call-strs.exp: new file.
6346 * gdb.base/ena-dis-br.exp: new file.
6347 * gdb.base/environ.exp: new file.
6348 * gdb.base/long_long.exp: new file.
6349 * gdb.base/sect-cmd.exp: new file.
6350 * gdb.base/shlib-cl2.exp: new file.
6351 * gdb.base/smoke.exp: new file.
6352 * gdb.base/so-impl-ld.c: new file.
6353 * gdb.base/so-impl-ld.exp: new file.
6354 * gdb.base/so-indr-cl.c: new file.
6355 * gdb.base/so-indr-cl.exp: new file.
6356 * gdb.base/varargs.exp: new file.
6357 * gdb.base/volatile.exp: new file.
6358 * gdb.base/whatis-exp.exp: new file.
7a292a7a 6359 * gdb.base/display.exp: new file.
c906108c
SS
6360 * gdb.c++/derivation.exp: new file.
6361 * gdb.c++/local.exp: new file.
6362 * gdb.c++/member-ptr.exp: new file.
6363 * gdb.c++/overload.exp: new file.
6364 * gdb.c++/ovldbreak.exp: new file.
6365 * gdb.c++/ref-types.exp: new file.
6366 * gdb.c++/ref-types2.exp: new file.
6367 * gdb.c++/userdef.exp: new file.
d63a86f8 6368
c906108c
SS
6369Wed Jan 6 13:50:57 1999 Stan Shebs <shebs@andros.cygnus.com>
6370
6371 * gdb.base/default.exp: Reflect wording change in remote.c.
6372
dc96c6c7 6373Tue Jan 5 19:14:51 1999 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6374
6375 * gdb.base/help.exp: Update to reflect current text.
6376
6377Tue Jan 5 13:05:32 1999 David Taylor <taylor@texas.cygnus.com>
6378
6379 * gdb.c++/anon-union.cc: make foo and bar global, otherwise
6380 they're stack variables and contain garbage.
6381 * gdb.c++/anon-union.exp: new file.
6382
6383 The following changes were made by David Taylor
6384 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
6385 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
6386 in changes by HP.
6387
6388 * gdb.base/bitops.exp: new file.
6389 * gdb.base/default.exp: change expected messages for catch and
6390 info catch tests to reflect HP merge changes.
6391 * gdb.base/enable-disable-break.exp
6392 * gdb.base/ending-run.c: new file.
6393 * gdb.base/long_long.c: new file.
6394 * gdb.base/maint.exp: new file.
6395 * gdb.base/pointers2.exp: new file.
6396 * gdb.base/shlib-call2.exp: new file.
6397 * gdb.base/solib.exp: new file.
6398 * gdb.base/step-test.c: new file.
6399 * gdb.c++/anon-union.cc: new file.
6400 * gdb.c++/local.cc: new file.
6401 * gdb.c++/member-pointer.cc: new file.
6402 * gdb.c++/method.cc: new file.
6403 * gdb.c++/ref-types.cc: new file.
6404 * gdb.c++/ref-types2.cc: new file.
6405 * gdb.c++/userdef.cc: new file.
d63a86f8 6406
c906108c
SS
6407 * gdb.base/scope.exp: compile one file at a time, then link.
6408 * gdb.base/langs.exp: ditto.
6409 * gdb.base/list.exp: ditto.
d63a86f8 6410
c906108c
SS
6411Mon Jan 4 10:06:43 1999 David Taylor <taylor@texas.cygnus.com>
6412
6413 The following changes were made by David Taylor
6414 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
6415 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
6416 in changes by HP.
d63a86f8 6417
c906108c
SS
6418 * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
6419 skip tests. When compiling pass c++ flag to gdb_compile.
6420 * gdb.c++/
d63a86f8 6421
c906108c
SS
6422 * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
6423 test for on hppa*-*-hpux*; use args to see if c++ was specified.
6424 (skip_hp_tests): new function.
6425 (gdb_preprocess): new function.
6426
6427 * configure.in (hpdir): decide whether to configure gdb.hp.
6428 * configure: regenerated.
6429
6430 * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
6431 to delete on clean.
6432 (EXECUTABLES): update to reflect new additions.
6433 * gdb.base/commands.exp: update message expected.
6434 * gdb.base/default.exp: add copyright notice.
6435 * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
6436 * gdb.base/help.exp: update messages to reflect current text.
6437 * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
6438 targets for recurse tests.
6439 * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
6440 skip this file.
6441
6442 * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
6443 * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
6444 compilation.
6445 * gdb.c++/misc.exp: ditto.
6446 * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
6447 run the tests. tell gdb_compile that it's a c++ compilation.
6448
6449 * gdb.threads/pthreads.exp: fix typo in message.
d63a86f8 6450
c906108c
SS
6451 * gdb.base/all-bin.exp: new file.
6452 * gdb.base/arithmet.exp: new file.
6453 * gdb.base/assign.exp: new file.
6454 * gdb.base/completion.exp: new file.
6455 * gdb.base/cond-expr.exp: new file.
6456 * gdb.base/condbreak.exp: new file.
6457 * gdb.base/define.exp: new file.
6458 * gdb.base/dollar.exp: new file.
6459 * gdb.base/environment.exp: new file.
6460 * gdb.base/eval-skip.exp: new file.
6461 * gdb.base/jump.exp: new file.
6462 * gdb.base/logical.exp: new file.
6463 * gdb.base/pointers.exp: new file.
6464 * gdb.base/relational.exp: new file.
6465 * gdb.base/section_command.exp: new file.
6466 * gdb.base/whatis-expr.exp: new file.
6467
6468 * gdb.base/all-types.c: new file.
6469 * gdb.base/call-array-struct.c: new file.
6470 * gdb.base/call-return-struct.c: new file.
6471 * gdb.base/call-strings.c: new file.
6472 * gdb.base/callfuncs2.c: new file.
6473 * gdb.base/condbreak.c: new file.
6474 * gdb.base/constvars.c: new file.
6475 * gdb.base/display.c: new file.
6476 * gdb.base/int-type.c: new file.
6477 * gdb.base/jump.c: new file.
6478 * gdb.base/miscexprs.c: new file.
6479 * gdb.base/pointers.c: new file.
6480 * gdb.base/pointers2.c: new file.
6481 * gdb.base/shmain.c: new file.
6482 * gdb.base/shr1.c: new file.
6483 * gdb.base/shr2.c: new file.
6484 * gdb.base/solib.c: new file.
6485 * gdb.base/solib1.c: new file.
6486 * gdb.base/solib2.c: new file.
6487 * gdb.base/varargs.c: new file.
6488 * gdb.c++/derivation.cc: new file.
6489 * gdb.c++/overload.cc: new file.
6490 * gdb.c++/ovldbreak.cc: new file.
6491 * gdb.hp/attach.c: new file.
6492 * gdb.hp/attach2.c: new file.
6493 * gdb.hp/average.c: new file.
6494 * gdb.hp/compiler.c: new file.
6495 * gdb.hp/compiler.cc: new file.
6496 * gdb.hp/execd-program.c: new file.
6497 * gdb.hp/follow-exec.c: new file.
6498 * gdb.hp/follow-fork.c: new file.
6499 * gdb.hp/follow-vfork-and-exec.c: new file.
6500 * gdb.hp/misc-hp.cc: new file.
6501 * gdb.hp/more-steps.c: new file.
6502 * gdb.hp/optimize.c: new file.
6503 * gdb.hp/quicksort.c: new file.
6504 * gdb.hp/run-hp.c: new file.
6505 * gdb.hp/start-stop.c: new file.
6506 * gdb.hp/sum.c: new file.
6507 * gdb.hp/templates-hp.cc: new file.
6508 * gdb.hp/thread-local-in-lib.c: new file.
6509 * gdb.hp/thread-local-in-lib.h: new file.
6510 * gdb.hp/thread-local-in-lib.lib.c: new file.
6511 * gdb.hp/vforked-program.c: new file.
6512 * gdb.hp/virtfunc-hp.cc: new file.
6513 * gdb.hp/watchpoint-hp.c: new file.
6514 * gdb.hp/xdb.c: new file.
6515 * gdb.hp/xdb0.c: new file.
6516 * gdb.hp/xdb0.h: new file.
6517 * gdb.hp/xdb1.c: new file.
6518
6519Mon Dec 21 14:08:38 1998 David Taylor <taylor@texas.cygnus.com>
6520
6521 The following change was made by Edith Epstein
6522 <eepstein@cygnus.com> as part of a project to merge in changes
6523 originally made by HP; HP did not create ChangeLog entries.
6524
6525 * gdb.c++/demangle.exp: changed the expected output for some
6526 ARM-style mangling -- removed second reference to datatype.
6527 For example, maint demangle __dt__11T1__pt__2_cFv
6528 T1<char>::~T1<char>(void)
6529 becomes,
6530 maint demangle __dt__11T1__pt__2_cFv
6531 T1<char>::~T1(void)
6532
6533 (test_hp_style_demangling): new hp specific demangling test cases.
d63a86f8 6534
c906108c
SS
6535Mon Dec 14 15:07:03 1998 Jeffrey A Law (law@cygnus.com)
6536
6537 * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
6538 * gdb.trace/backtrace.exp: Likewise.
6539 * gdb.trace/circ.exp: Likewise.
6540 * gdb.trace/collection.exp: Likewise.
6541 * gdb.trace/deltrace.exp: Likewise.
6542 * gdb.trace/infotrace.exp: Likewise.
6543 * gdb.trace/limits.exp: Likewise.
6544 * gdb.trace/packetlen.exp: Likewise.
6545 * gdb.trace/passc-dyn.exp: Likewise.
6546 * gdb.trace/passcount.exp: Likewise.
6547 * gdb.trace/report.exp: Likewise.
6548 * gdb.trace/save-trace.exp: Likewise.
6549 * gdb.trace/tfind.exp: Likewise.
6550 * gdb.trace/tracecmd.exp: Likewise.
6551 * gdb.trace/while-dyn.exp: Likewise.
6552 * gdb.trace/while-stepping.exp: Likewise.
6553
65541998-12-07 Jim Blandy <jimb@zwingli.cygnus.com>
6555
6556 * gdb.base/restore.exp, gdb.base/restore.c: New tests.
6557
6558Wed Dec 2 20:03:53 1998 Stan Shebs <shebs@andros.cygnus.com>
6559
6560 From Brendan Kehoe:
6561 * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
6562 int return types.
6563
6564Sat Oct 24 18:04:22 1998 Felix Lee <flee@cygnus.com>
6565
6566 * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
6567 remote dos host testing right.
6568
6569Mon Oct 19 01:31:59 1998 Felix Lee <flee@cygnus.com>
6570
6571 * gdb.base/corefile.exp: remove some xfails.
6572
6573Thu Oct 15 10:04:38 1998 Andrew Cagney <cagney@b1.cygnus.com>
6574
6575 * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
6576 have different timestamps.
6577
6578Thu Oct 1 20:56:14 1998 Andrew Cagney <cagney@b1.cygnus.com>
6579
6580 * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
6581 gdb.base/default.exp: Replace "exec" with "executable".
6582
6583Tue Sep 29 15:06:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
6584
6585 * gdb.base/default.exp: Change else if to elseif from previous
6586 delta.
6587
6588Mon Sep 28 13:21:43 1998 Nick Clifton <nickc@cygnus.com>
6589
6590 * gdb.base/default.exp: Add brace missing from previous delta.
6591
6592Mon Sep 21 14:39:27 1998 Nick Clifton <nickc@cygnus.com>
6593
6594 * gdb.base/default.exp: Support test for info float for all
6595 varieties of arm toolchain.
6596
dc96c6c7 6597Fri Sep 18 14:07:44 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6598
6599 * gdb.trace/*.exp: remove "remote_download" command.
6600
dc96c6c7 6601Wed Sep 16 11:38:21 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6602
6603 * gdb.trace/*.exp: remove -gdwarf from compile.
6604
6605Wed Sep 16 01:23:11 1998 Felix Lee <flee@cygnus.com>
6606
6607 * gdb.trace/configure.in(AC_INIT): typo
6608 * gdb.trace/configure: regenerated
6609
dc96c6c7 6610Mon Sep 14 20:00:04 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6611
6612 * config/m68k-emc.exp: New file.
6613 * lib/<emc-support.exp trace-support.exp}: New files.
6614 * configure.in: add new test directory gdb.trace.
6615 * gdb.trace/{configure configure.in Makefile.in}: New files.
6616 * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
6617 * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
6618 * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
6619 * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
6620 * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
6621 * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
6622 * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
d63a86f8 6623
dc96c6c7 6624Fri Sep 11 13:58:02 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6625
6626 * gdb.c++/classes.exp: Change all regular expressions to match
6627 arbitrary combinations of newline/carriage-return, so that they
6628 will work equally well on Unix and Windows.
6629 * gdb.c++/inherit.exp: ditto.
6630 * gdb.c++/virtfunc.exp: ditto.
6631
66321998-08-11 Dawn Perchik <dawn@cygnus.com>
6633
6634 * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
6635
c2d11a7d
JM
6636Fri Jul 24 15:51:34 1998 Jeffrey A Law (law@cygnus.com)
6637
6638 * gdb.disasm/am33.s: Add tests for autoincrement instructions.
6639 * gdb.disasm/am33.exp: Run time. Update tests which use r8-r15
6640 to use a0-a3/d0-d3 as needed.
6641
6642Thu Jul 16 18:20:46 1998 Jeffrey A Law (law@cygnus.com)
6643
6644 * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
6645 * gdb.disasm/am33.exp: Corresponding changes.
6646
c906108c
SS
66471998-07-11 Felix Lee <flee@cygnus.com>
6648
6649 * gdb.base/callfuncs.exp: add cmp10 test.
6650 * gdb.base/callfuncs.c (cmp10): new function.
6651
6652Thurs Jul 9 11:08:31 1998 Dawn Perchik <dawn@cygnus.com>
6653
d63a86f8 6654 * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
c906108c
SS
6655 into two parts to get around a synchronization problem in expect.
6656
3fc11d3e
JM
6657Fri Jun 26 14:27:13 1998 Keith Seitz <keiths@cygnus.com>
6658
6659 * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
6660
6661 * configure.in: Add options for gdbtk testsuite.
6662
6663 * configure: Regenerate.
6664
6665 * gdb.gdbtk: New directory to hold gdbtk tests.
6666
c906108c
SS
6667Fri Jun 26 14:52:47 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
6668
6669 * gdb.fortran/types.exp: Escape brackets in expect patterns
6670 for test_float_literal_types_accepted tests.
6671 * gdb.base/scope.exp: Remove extraneous newline in filelocal_bss
6672 before run test.
6673
c2d11a7d
JM
6674Fri Jun 26 11:12:17 1998 Jeffrey A Law (law@cygnus.com)
6675
6676 * am33.exp: Just compile, do not link the testcase.
6677 * am33.s: Add ".am33" pseudoop to force am33 mode.
6678
c906108c
SS
66791998-06-25 Felix Lee <flee@cygnus.com>
6680
6681 * gdb.base/setshow.exp: make sure $pc is sane.
6682
6683 * gdb.stabs/weird.exp: split expect patterns properly.
6684
c2d11a7d
JM
6685Wed Jun 24 13:03:15 1998 Jeffrey A Law (law@cygnus.com)
6686
6687 * gdb.disasm/am33.s: New disassembler testfile for the am33.
6688 * gdb.disasm/am33.exp: Run it.
6689
dc96c6c7 6690Tue Jun 23 11:45:01 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6691
6692 * gdb.base/funcargs.exp: simplify expect strings to ease pattern
6693 match processing (and eliminate spurious timeouts when running).
6694
dc96c6c7 6695Fri Jun 12 17:28:22 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6696
6697 * gdb.base/signals.exp (test_handle_all_print): put back Mach
6698 exception test, but conditionalize it on target [mach | gnu].
6699
dc96c6c7 6700Wed Jun 10 10:40:03 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6701
6702 * gdb.base/overlays.exp: fixup compile line for linker script.
6703
6704Thu Jun 4 21:54:15 1998 Felix Lee <flee@zog.cygnus.com>
6705
6706 * gdb.fortran/types.exp: don't guess at float size.
6707
6708Thu May 21 02:28:37 1998 Felix Lee <flee@zog.cygnus.com>
6709
6710 * gdb.base/exprs.exp: delete test that depends on int size.
6711
6712Sun May 17 17:10:22 1998 Bob Manson <manson@charmed.cygnus.com>
6713
6714 * config/sim.exp: Removed checks for target triplets.
6715 (gdb_target_sim): Use gdb,target_sim_options.
6716
6717Sat May 16 23:43:35 1998 Mark Alexander <marka@cygnus.com>
6718
6719 * gdb.base/reread.exp: New file.
6720 * gdb.base/reread1.c: New file.
6721 * gdb.base/reread2.c: New file.
6722
6723Sat May 16 23:22:09 1998 Mark Alexander <marka@cygnus.com>
6724
6725 * config/sim.exp: Use 'target sim -sparclite' when running
6726 SPARClite programs.
6727
6728Sat May 16 18:48:08 1998 Doug Evans <devans@canuck.cygnus.com>
6729
6730 * gdb.base/structs2.exp: New file.
6731 * gdb.base/structs2.c: New file.
6732
6733Wed May 13 13:36:14 1998 Doug Evans <devans@canuck.cygnus.com>
6734
6735 * gdb.asm/common.inc: New file.
6736 * gdb.asm/d10v.inc: New file.
6737 * asm-source.exp: Pass -I's to gas to find .inc files.
6738 Update line numbers in expected output.
6739 * asmsrc1.s: Rewrite.
6740 * asmsrc2.s: Rewrite.
6741 * configure.in: Create arch.inc symlink.
6742 * configure: Regenerate.
6743 * Makefile.in (distclean): Delete arch.inc.
6744
6745Wed May 6 10:30:54 1998 John Metzler <jmetzler@cygnus.com>
6746
6747 * callfuncs.c (t_enum_value1) : Cleanup return value warnings
6748 (t_enum_value2): ditto
6749 (t_enum_value3): ditto
6750 (main): ditto
6751Fri May 1 09:33:37 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
6752
6753 * gdb.base/break.exp: Remove xfail for `deleting all breakpoints
6754 when none' unexpected prompt case, fixed by breakpoint.c:delete_command
6755 change.
6756 Use gdb_test instead of send_gdb/gdb_expect sequences.
6757
6758Thu Apr 23 12:56:19 1998 Jason Molenda (crash@bugshack.cygnus.com)
6759
6760 * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
6761 not void.
6762
6763Thu Apr 16 10:52:34 1998 John Metzler <jmetzler@cygnus.com>
6764
6765 * gdb.base/branches.c: Code with lots of loops and
6766 subroutines. Used to test gdbs ability to single step through PC
6767 changes, especially to test mips-tdep.c:mips_next_pc
6768
6769Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
6770
6771 * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
6772 more rigorous EGCS C++ error checking.
6773
6774Fri Apr 10 22:38:12 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6775
6776 * gdb.base/help.exp: Clean up `help set args' and `help show args'
d63a86f8 6777 tests.
c906108c 6778 * gdb.base/interrupt.exp: Add "i*86-*-solaris2*" xfail for calling
d63a86f8 6779 function when asleep.
c906108c 6780 * gdb.base/signals.exp: Add "i*86-*-solaris2*" xfails. Add comment
d63a86f8
RM
6781 for i*86 Linux and SVR4 signal handling problems.
6782 Remove linux xfail for `next to handler in signals_tests_1', fixed
6783 by recent infrun.c change.
c906108c 6784 Limit backtrace to 10 frames to avoid timeout problems with infinite
d63a86f8 6785 stack backtraces.
c906108c
SS
6786 Adjust expect pattern in `handle all print' test to match Apr 28 1997
6787 target.[ch] change.
6788
6789Tue Mar 31 00:40:32 1998 Bob Manson <manson@charmed.cygnus.com>
6790
6791 * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
6792 for a newline from gdb before continuing.
6793 (default_gdb_exit): Just look for y or n.
6794 (gdb_test): Detect abnormal exit from GDB running on DOS; if
6795 it does, fail the rests of the tests in the file.
6796
6797Tue Mar 24 22:44:52 1998 Bob Manson <manson@charmed.cygnus.com>
6798
6799 * config/cygmon.exp: New file.
6800
6801Mon Mar 16 21:39:11 1998 Bob Manson <manson@charmed.cygnus.com>
6802
6803 * gdb.base/list.exp: Fix problem with "list default lines around
6804 main" test on remote targets.
6805
6806 * gdb.base/scope.exp: Fix problem with filelocal_bss before
6807 run test on remote targets.
6808
6809Thu Mar 12 16:23:00 1998 Doug Evans <devans@canuck.cygnus.com>
6810
6811 * gdb.asm: New directory.
6812 * configure.in: Configure it.
6813 * configure: Regenerate.
6814 * gdb.asm/{Makefile.in,configure.in,configure}: New files.
6815 * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
6816
6817Mon Feb 23 08:22:44 1998 Mark Alexander <marka@cygnus.com>
6818
6819 * config/mn10300-eval.exp: New file to support MN10300 eval board.
6820
dc96c6c7 6821Wed Feb 18 16:43:46 1998 Michael Snyder (msnyder@cygnus.com)
d63a86f8 6822
c906108c
SS
6823 * gdb.base/overlays (several files): Merge the two overlay
6824 managers into one. Change variables (foox, barx, bazx, grbxx)
6825 back into ints but force them to load in their proper sections.
6826
6827Thu Feb 12 13:49:30 1998 Andrew Cagney <cagney@b1.cygnus.com>
6828
6829 * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
6830 on-chip insn memory and IMAP1 to upper 128k.
6831 (D10VCopy): Handle memory regions crossing 16k boundaries.
6832 (D10VCopy): Transfer data in 32 bit chunks.
6833
6834Tue Feb 10 17:23:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
6835
6836 * gdb.base/overlays.c (main): Exit normally when result is
6837 correct.
6838
6839 * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
6840 map. Include space for printf in .text segment.
6841
6842 * gdb.base/d10vovly.c (D10VTranslate): New function, handle
6843 updated d10v memory VMA/LMA map.
6844 (D10VCopy): Call D10VTranslate.
d63a86f8 6845
c906108c
SS
6846Fri Feb 6 14:13:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
6847
6848 * gdb.base/m32rovly.c: Force variable _novlys into .data section.
6849
6850 * gdb.base/bar.c (barx, bar): Change variable to small array so
6851 that it won't be put into the .sdata - small data -
6852 section. Update reference.
6853 * gdb.base/baz.c (bazx, baz): Ditto.
6854 * gdb.base/foo.c (foox, foo): Ditto.
6855 * gdb.base/grbx.c (grbxx, grbx): Ditto.
6856
6857 * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
6858 to be arrays.
d63a86f8 6859
dc96c6c7 6860Thu Jan 29 14:48:19 1998 Michael Snyder (msnyder@cygnus.com)
d63a86f8 6861
c906108c
SS
6862 * gdb.base/overlays.exp: fix up and get working again.
6863 Add tests for backtraces from an overlay function.
d63a86f8 6864
c906108c
SS
6865Fri Jan 23 07:52:45 1998 Fred Fish <fnf@cygnus.com>
6866
6867 * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
6868 "calling function with watchpoint enabled".
6869
6870Thu Jan 22 14:23:29 1998 Fred Fish <fnf@cygnus.com>
6871
6872 * gdb.base/break.exp (test_next_with_recursion): Remove
6873 gdb_suppress_tests for d10v-*-*.
6874 * lib/gdb.exp (gdb_suppress_tests): Disable this function
6875 pending review of whether it is useful or not.
6876
6877Tue Jan 20 13:02:09 1998 Mark Alexander <marka@cygnus.com>
6878
6879 * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
6880
6881Mon Jan 19 08:53:04 1998 Mark Alexander <marka@cygnus.com>
6882
6883 * gdb.base/break.exp: Increase timeout for slow TX39 boards.
6884 * config/dve.exp: New file to support Densan boards.
6885
6886Mon Dec 15 22:38:05 1997 Andrew Cagney <cagney@b1.cygnus.com>
6887
6888 * gdb.base/interrupt.exp: Document problem of simulators, signals,
6889 reads and BSD.
6890
6891Wed Nov 26 22:29:18 1997 Bob Manson <manson@charmed.cygnus.com>
6892
6893 * config/monitor.exp: Be a bit less picky about the "Remote debugging"
6894 response.
6895
6896 * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
6897
6898Tue Nov 25 12:46:36 1997 Andrew Cagney <cagney@b1.cygnus.com>
6899
6900 * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
6901 test.
6902
6903 * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
6904 target_sizeof_long and target_bigendian_p.
6905 (structs_by_value, structs_by_reference): Check values according
6906 to targets word size and endianess.
d63a86f8 6907
c906108c
SS
6908Mon Nov 24 16:37:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
6909
6910 * gdb.base/langs.exp: For "continue to exit" ignore any trailing
6911 output.
6912
6913Fri Oct 17 13:24:43 1997 Stan Shebs <shebs@andros.cygnus.com>
6914
6915 * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
6916 Update test of set args help to match source change.
6917
6918Fri Sep 26 17:36:20 1997 Jason Molenda (crash@pern.cygnus.com)
6919
6920 * gdb.base/default.exp: Expect help system output to be in
6921 alphabetical order.
6922 * gdb.base/help.exp: Ditto.
6923
6924Wed Sep 24 13:08:14 1997 Bob Manson <manson@charmed.cygnus.com>
6925
6926 * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
6927 "i*86-pc-linux-gnu*".
6928 * gdb.base/interrupt.exp: Ditto.
6929 * gdb.base/corefile.exp: Ditto.
6930
6931 * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
6932 define vxworks when building the testcase.
6933
6934 * gdb.base/ptype.exp: Fix testnames to be unique.
6935 * gdb.base/radix.exp: Ditto.
6936 * gdb.base/term.exp: Ditto.
6937 * gdb.base/whatis.exp: Ditto.
6938 * gdb.c++/classes.exp: Ditto.
6939
6940Tue Sep 16 22:21:48 1997 Bob Manson <manson@charmed.cygnus.com>
6941
6942 * gdb.base/callfuncs.exp: Fix indentation.
6943
6944 * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
6945 suppress_flag has been set.
6946 (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
6947 target feature.
6948
6949Mon Sep 15 15:43:17 1997 Bob Manson <manson@charmed.cygnus.com>
6950
6951 * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
6952 the testcase.
6953
6954 * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
6955 set_debug_traps() and breakpoint().
6956 * gdb.c++/misc.cc (main): Ditto.
6957 * gdb.c++/templates.cc (main): Ditto.
6958 * gdb.c++/virtfunc.cc (main): Ditto.
6959
6960Fri Sep 12 16:56:38 1997 Bob Manson <manson@charmed.cygnus.com>
6961
6962 * lib/gdb.exp(gdb_step_for_stub): New function.
6963 (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
6964 exists, reload the executable and do a "continue" instead of
6965 doing a jump.
6966 (runto_main): Use gdb_step_for_stub.
d63a86f8 6967
c906108c
SS
6968 * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
6969 tests to have unique names.
6970 * gdb.base/callfuncs.exp: Ditto.
6971 * gdb.base/commands.exp: Ditto.
6972 * gdb.base/default.exp: Ditto.
6973 * gdb.base/help.exp: Ditto.
6974 * gdb.base/list.exp: Ditto.
6975 * gdb.base/opaque.exp: Ditto.
6976 * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
6977 similar tests.
d63a86f8 6978
c906108c
SS
6979 * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
6980 * gdb.c++/cplusfuncs.cc: Ditto.
6981 * gdb.c++/virtfunc.cc: Ditto.
6982
6983 * config/monitor.exp: Keep track of the last file we saw, rather
6984 than trying to get the info from gdb.
6985
6986 * gdb.fortran/types.exp: Move comment to previous line.
6987
6988Tue Sep 2 19:55:34 1997 Bob Manson <manson@charmed.cygnus.com>
6989
6990 * config/sparclet.exp: Detect gratuitous change to sparclet gdb
6991 target mode.
6992
6993Mon Jul 28 12:14:47 1997 Stan Shebs <shebs@andros.cygnus.com>
6994
6995 From Bob Manson:
6996 * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
6997 string from GDB when it connects.
6998
6999 * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
7000
7001Thu Jul 3 15:35:12 1997 Bob Manson <manson@charmed.cygnus.com>
7002
7003 * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
7004 if we can't get a debug format from GDB (we may be testing an
7005 older GDB). Use a 10 second timeout when checking for the format.
7006
7007 * gdb.stabs/weird.exp: Fix quoting.
7008
7009 * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
7010
7011Mon Jun 30 18:31:43 1997 Bob Manson <manson@charmed.cygnus.com>
7012
7013 * config/arm-ice.exp: New file.
7014
7015Sun Jun 29 16:43:30 1997 Bob Manson <manson@charmed.cygnus.com>
7016
7017 * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
7018 until it has been modified to work with the new testsuite.
7019
99707966 7020 * gdb.*/*.exp: Instead of causing 1 unresolved test when the
c906108c
SS
7021 testcase won't compile, cause all of the testcases in the file to
7022 fail instead.
7023
7024 * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
7025 (gdb_clear_suppressed): New procedure.
7026 (gdb_stop_suppressing_tests): Only clear suppress_flag if
7027 it contains a positive value.
7028
7029Sat Jun 28 13:31:11 1997 Bob Manson <manson@charmed.cygnus.com>
7030
7031 * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
7032
7033 * gdb.c++/virtfunc.exp: Remove setting of libs variable.
7034
7035Fri Jun 27 07:44:25 1997 Fred Fish <fnf@cygnus.com>
7036
7037 * lib/gdb.exp (setup_xfail_format): New function.
7038 (get_debug_format): New function to get debug format.
7039 (debug_format): New global variable to hold last value set
7040 by get_debug_format.
7041 * gdb.base/list.exp: Call get_debug_format and expect some
7042 tests to fail for DWARF 1 and COFF formats.
7043 * gdb.c++/ptype.exp: Ditto.
7044 * gdb.c++/classes.exp: Ditto.
7045 * gdb.c++/cplusfuncs.exp: Ditto.
7046 * gdb.c++/inherit.exp: Ditto.
7047 * gdb.c++/templates.exp: Ditto.
7048 * gdb.c++/virtfunc.exp: Ditto.
d63a86f8 7049
c906108c
SS
7050Wed Jun 25 09:08:51 1997 Bob Manson <manson@charmed.cygnus.com>
7051
7052 * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
7053 host doesn't have a currently-open connection.
7054
7055 * config/sparclet.exp: Cleanups and fixes to make it generic for
7056 any gdb stub target. Handle cases where gdb doesn't respond when
7057 interrupted in a sane fashion.
7058
7059 * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
7060 same thing in a totally different way.
7061
7062 * config/monitor.exp: Pass in timeouts to gdb_expect instead of
7063 setting "timeout".
7064 (gdb_start): We set the global gdb_prompt variable in
7065 default_gdb_init now.
7066
7067Sun Jun 22 09:11:02 1997 Fred Fish <fnf@cygnus.com>
7068
7069 * gdb.base/printcmds.exp: Fix "check for floating addition"
7070 regexp to accept results within approx +/- .01 of exact value.
7071 * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
7072
7073Wed Jun 18 11:11:39 1997 Bob Manson <manson@charmed.cygnus.com>
7074
7075 * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
7076 properly.
7077 (gdb_expect): Add optional timeout parameter, and add timeout
7078 value to various calls.
7079 (gdb_suppress_tests): Only give one warning message per group.
7080
7081Tue Jun 17 13:10:10 1997 Bob Manson <manson@charmed.cygnus.com>
7082
7083 * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
7084 global variables. Handle getting a value for $timeout more
7085 gracefully.
7086
7087Sat Jun 14 09:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
7088
7089 * lib/gdb.exp: Close connection to remote host if gdb doesn't
7090 initialize.
7091 (default_gdb_init): New procedure; allow gdb_init to be overridden
7092 by a target configuration file.
7093 (gdb_expect): Pass the timeout to remote_expect.
7094
7095 * config/monitor.exp(gdb_load): Fix typo in regexp.
7096
7097Thu Jun 12 20:57:12 1997 Bob Manson <manson@charmed.cygnus.com>
7098
7099 * gdb.base/funcargs.exp: Remove spurious suppress tests call.
7100
7101Tue Jun 3 15:20:20 1997 Bob Manson <manson@charmed.cygnus.com>
7102
7103 * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
7104 here. Call gdb_target_exec before rebooting the target, to make
7105 sure the connection to the target is closed.
7106 (gdb_load): Pass the name of the executable to gdb_target_monitor.
7107 Don't call gdb_file_cmd here; let gdb_target_monitor do it.
7108 Also detect "Timeout reading from remote" error.
7109
7110 * config/gdbserver.exp: Pass the executable being loaded to
7111 gdb_target_monitor. Don't call gdb_file_cmd here; let
7112 gdb_target_monitor do it.
7113
7114 * gdb.disasm/hppa.exp: Don't use exec_output.
7115
7116Fri May 23 13:28:29 1997 Bob Manson <manson@charmed.cygnus.com>
7117
7118 * gdb.base/list.exp: If we're debugging a non-native target,
7119 try to set the pc register to point to the start of the
7120 program before doing the first list command.
7121
7122 * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
7123 test_calls after restarting.
7124
7125 * lib/gdb.exp(gdb_run_cmd): Send jump command again after
7126 reloading.
7127
7128 * gdb.base/watchpoint.exp: Fix typo.
7129
7130 * gdb.base/setshow.exp: Check for use_gdb_stub.
7131
7132 * gdb.base/break.exp: Fix continue until exit test for the gdb
7133 stub case.
7134 * gdb.base/langs.exp: Ditto.
7135
7136 * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
7137 gdb_load_offset. If we weren't given a file to load, figure out
7138 what the current file is and use it.
7139
7140 * config/i386-bozo.exp: New file.
7141
7142Thu May 22 18:51:32 1997 Bob Manson <manson@charmed.cygnus.com>
7143
7144 * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
7145 feature.
7146
7147 * config/proelf.exp: New entry.
7148
7149Wed May 21 21:23:16 1997 Bob Manson <manson@charmed.cygnus.com>
7150
7151 * lib/gdb.exp: Remove spurious .* patterns at the beginning
7152 of regexps.
7153
7154 * gdb.base/watchpoint.exp: Don't run the test_stepping
7155 tests if gdb can't call functions on the target.
7156
7157 * gdb.base/setshow.exp: Don't run the set prompt tests if
7158 the board has gdb_prompt set.
7159
7160Tue May 20 08:58:49 1997 Jeffrey A Law (law@cygnus.com)
7161
7162 * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
7163 * gdb.base/commands.exp: Likewise.
7164 * gdb.base/setshow.exp: Likewise.
7165
7166Mon May 19 15:37:50 1997 Bob Manson <manson@charmed.cygnus.com>
7167
7168 * config/monitor.exp(gdb_start): Look for gdb_prompt target
7169 feature.
7170
7171 * config/i960.exp: New file.
7172
7173Thu May 1 18:01:50 1997 Bob Manson <manson@charmed.cygnus.com>
7174
7175 * gdb.base/funcargs.exp: Check for gdb,short_int target
7176 feature instead of looking for explicit target triplets.
7177
dc96c6c7 7178Mon Apr 28 17:27:40 1997 Michael Snyder <msnyder@cygnus.com>
c906108c 7179
d63a86f8 7180 * gdb.base/printcmds.exp: add a couple more tests a la
c906108c
SS
7181 "p 123DEADBEEF", to check parse_number.
7182 * top.c: change "to enable to enable" to "to enable" in a couple
7183 of help strings.
7184
7185Thu Apr 24 14:38:18 1997 Jeffrey A Law (law@cygnus.com)
7186
7187 * gdb.base/callfuncs.exp: Mark some tests as expected to fail
7188 on the mn10300.
d63a86f8 7189
c906108c
SS
7190Mon Apr 21 15:05:42 1997 Fred Fish <fnf@cygnus.com>
7191
7192 * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
7193 where the test executable is run with explicit args.
7194 * gdb.base/default.exp: Handle arm-*-coff case for "info float".
7195
7196Mon Apr 21 13:38:58 1997 Fred Fish <fnf@cygnus.com>
7197
7198 * gdb.base/run.c: Use FAKEARGV to build test executable that
7199 does not require a command line arg, since most simulators
7200 don't currently support passing such an arg into the simulated
7201 program.
7202 * gdb.base/commands.exp: Change tests to insert the proper
7203 value as the arg to the first recursive factorial call. Change
7204 compilation line to define FAKEARGV at compile time.
7205
7206Wed Apr 9 11:12:36 1997 Jeffrey A Law (law@cygnus.com)
7207
7208 * gdb.base/recurse.exp: Enable these tests for the mn10300.
7209 * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
7210 function with watchpoint enabled" test.
7211
7212Tue Apr 8 19:33:20 1997 Bob Manson <manson@charmed.cygnus.com>
7213
7214 * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
7215 Don't call gdb_test when the command doesn't return to a gdb prompt.
7216
7217 * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
7218 "Tests restarted" messages.
7219
7220Tue Apr 8 16:38:46 1997 Jeffrey A Law (law@cygnus.com)
7221
7222 * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
7223
dc96c6c7 7224Thu Apr 3 15:21:26 1997 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
7225
7226 * gdb.base/help.exp: update help msg for INFO ADDR; add help test
7227 for INFO SYMBOL; add help tests for OVERLAY commands.
7228 * gdb.base/default.exp: add tests for INFO SYMBOL command;
7229 add tests for OVERLAY commands
7230 * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
7231 d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
7232 * gdb.base/sigall.c: add usestubs code frag
7233 * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
d63a86f8 7234
c906108c
SS
7235Thu Apr 3 09:38:53 1997 Bob Manson <manson@charmed.cygnus.com>
7236
7237 * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
7238 failures.
7239 (gdb_stop_suppressing_tests): Note that tests have restarted.
7240
7241Wed Apr 2 19:04:20 1997 Bob Manson <manson@charmed.cygnus.com>
7242
7243 * config/h8300.exp: New file.
7244
7245Sun Mar 30 13:38:25 1997 Bob Manson <manson@charmed.cygnus.com>
7246
7247 * gdb.base/setshow.exp: Check for the existence of a
7248 feature, not its value.
7249
7250Sat Mar 29 11:19:46 1997 Bob Manson <manson@charmed.cygnus.com>
7251
7252 * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
7253
7254 * gdb.base/scope.exp: It's now init0(), not init().
7255
7256 * gdb.base/scope0.c: For now, change init() to be init0().
7257
7258 * config/monitor.exp: Use gdb_serial in preference to serial
7259 or netport.
7260
7261 * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
7262 and it's not already set.
7263
7264Fri Mar 28 19:54:18 1997 Bob Manson <manson@charmed.cygnus.com>
7265
7266 * gdb.base/setshow.exp: Only test the run command if the target
7267 isn't using a stub and if it supports argument passing.
7268
7269Sat Mar 22 19:50:25 1997 Bob Manson <manson@charmed.cygnus.com>
7270
7271 * config/udi.exp(gdb_start): Make sure UDICONF is set
7272 properly before starting gdb.
7273
7274Mon Mar 24 14:40:33 1997 Jeffrey A Law (law@cygnus.com)
7275
7276 * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
7277 * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
7278 * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
7279
7280Tue Mar 11 11:42:58 1997 Bob Manson <manson@charmed.cygnus.com>
7281
7282 * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
7283 specialized code to reboot the board, use remote_reboot instead.
7284
7285 * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
7286
7287 * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
7288
7289 * config/monitor.exp: Make sure we disconnect from the target.
7290 Also, try a reboot/reload cycle instead of failing if the
7291 load fails.
7292
7293Fri Mar 7 13:48:30 1997 Bob Manson <manson@charmed.cygnus.com>
7294
7295 * gdb.base/default.exp: Don't set match_max.
7296 * gdb.base/help.exp: Ditto.
7297 * gdb.base/list.exp: Ditto.
7298 * gdb.base/signals.exp: Ditto.
7299
7300 * config/monitor.exp(gdb_load): If gdb,use_standard_load is
7301 set, use remote_ld to download the testcase instead of
7302 the GDB loader.
7303
7304Wed Mar 5 00:00:43 1997 Bob Manson <manson@charmed.cygnus.com>
7305
7306 * config/vr5000.exp: New file.
7307
7308 * config/monitor.exp(gdb_target_monitor): Add pattern for
7309 "Ending remote" to detect errors in connecting.
7310
7311 * gdb.base/setshow.exp: Add .* within auto language test.
7312
7313 * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
7314 target feature.
7315
7316 * config/monitor.exp(gdb_load): Check for a failure when loading,
7317 and reboot the board if necessary.
7318
7319 * gdb.base/setvar.exp(test_set): Handle multiple prints within
7320 a set of tests. Remove print.* from the patterns being checked.
7321
7322Mon Mar 3 11:57:43 1997 Bob Manson <manson@charmed.cygnus.com>
7323
7324 * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
7325 refer to gdb_spawn_id.
7326
7327 * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
7328 longer used.
7329 * config/sparclet.exp: Ditto.
7330 * config/sparclet-old.exp: Ditto.
7331 * config/slite.exp: Ditto.
7332 * config/sim.exp: Ditto.
7333 * gdb.base/funcargs.exp: Ditto.
7334
7335 * lib/gdb.exp:Remove references to gdb_spawn_id.
7336 (gdb_expect): Move to remote.exp.
7337
7338Fri Feb 28 20:47:39 1997 Bob Manson <manson@charmed.cygnus.com>
7339
7340 * config/monitor.exp: Detect the "Couldn't establish connection"
7341 message from GDB.
7342
7343Tue Feb 25 14:08:55 1997 Bob Manson <manson@charmed.cygnus.com>
7344
7345 * gdb.base/bitfields.exp: Use runto instead of explicit
7346 gdb_run_cmd/gdb_expect sequences.
7347
7348 * gdb.base/break.exp(text_next_with_recursion): Add match for
7349 gdb_expect call.
7350
7351 * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
7352 We also need to handle the "A program is being debugged already"
7353 prompt from gdb. Use gdb_test to set the baud rate.
7354
7355 * lib/gdb.exp(gdb_init): Increase the default expect buffer size
7356 to 20000. Really. I mean it.
7357
7358Mon Feb 24 13:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
7359
7360 * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
7361 fails. If suppress_flag is set, skip perror message about not
7362 being able to send to GDB.
7363 (send_gdb): If suppress_flag is set, don't try to send commands to
7364 GDB.
7365 (gdb_expect): If suppress_flag is set, always fail immediately.
7366 (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
7367 (gdb_init): Call gdb_stop_suppressing_tests.
7368 (default_gdb_exit): Ditto.
7369 (default_gdb_start): Ditto.
7370
7371 * gdb.base/bitfields.exp: Call gdb_suppress_tests and
7372 gdb_stop_suppressing_tests as appropriate.
7373 * gdb.base/break.exp: Ditto.
7374 * gdb.base/callfuncs.exp: Ditto.
7375 * gdb.base/commands.exp: Ditto.
7376 * gdb.base/exprs.exp: Ditto.
7377 * gdb.base/funcargs.exp: Ditto.
7378 * gdb.base/list.exp: Ditto.
7379 * gdb.base/recurse.exp: Ditto.
7380 * gdb.base/scope.exp: Ditto.
7381 * gdb.base/structs.exp: Ditto.
7382 * gdb.c++/inherit.exp: Ditto.
7383
7384Sun Feb 23 19:56:02 1997 Bob Manson <manson@charmed.cygnus.com>
7385
7386 * config/vr4300.exp: New file.
7387
99707966 7388 * gdb.*/*.exp: Call gdb_expect instead of expect.
d63a86f8 7389
99707966 7390 * lib/gdb.exp(gdb_expect): New function.
c906108c
SS
7391
7392Thu Feb 20 13:57:01 1997 Bob Manson <manson@charmed.cygnus.com>
7393
7394 * lib/gdb.exp(gdb_init): New function.
7395
7396 * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
7397 for each individual variable set.
7398
7399 * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
7400 name.
7401
7402 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
7403
7404 * gdb.base/scope.exp: Use gdb_test.
7405
7406 * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
7407 aborting; the testsuite driver will do that for us (see
7408 gdb_finish). Also, use gdb_test in a few more places.
7409
7410Thu Feb 20 13:32:24 1997 Stan Shebs <shebs@andros.cygnus.com>
7411
7412 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
7413
7414Thu Feb 20 10:34:21 1997 Jeffrey A Law (law@cygnus.com)
7415
7416 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
7417 and "add_tests" are not at the same address.
7418
7419Fri Feb 14 18:47:23 1997 Bob Manson <manson@charmed.cygnus.com>
7420
7421 * gdb.base/ptype.exp: Use gdb_test.
7422
7423Thu Feb 13 16:09:36 1997 Jeffrey A Law (law@cygnus.com)
7424
7425 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
7426 * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
7427 left in. No longer expect them to fail.
7428
7429 * gdb.stabs/*.mt; Deleted, no longer used.
7430 * gdb.stabs/configure.in: Remove references to target makefile
7431 frags.
7432 * gdb.stabs/configure: Rebuilt.
7433
7434 * gdb.disasm/*.mt: Deleted, no longer used.
7435 * gdb.disasm/configure.in: Remove references to target makefile
7436 frags. Use "sh3.s" as the unique filename for this directory.
7437 * gdb.disasm/configure: Rebuilt.
7438
7439 * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
7440 * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
7441 * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
7442
7443Tue Feb 11 16:57:58 1997 Bob Manson <manson@charmed.cygnus.com>
7444
7445 * config/udi.exp: Use mondfe,name instead of remote_host.
7446
7447Tue Feb 11 11:22:36 1997 Jeffrey A Law (law@cygnus.com)
7448
7449 * gdb.base/watchpoint.exp: Don't expect a failure when calling
7450 a function with a watchpoint enabled on the mn10200.
7451
7452 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
7453 before trying to create it!
7454
7455Mon Feb 10 16:40:47 1997 Bob Manson <manson@charmed.cygnus.com>
7456
7457 * config/vx.exp: Use hostname instead of netport.
7458
7459 * config/vxworks.exp: New file.
7460
7461 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
7462
7463 * config/monitor.exp(gdb_target_monitor): Look for a prompt from
7464 gdb before assuming everything worked. Send a ^C if a timeout
7465 occurs.
7466
7467 * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
7468 $gdb_spawn_id directly.
7469 (gdb_run_cmd): Try _start as well as start. Use the target feature
7470 gdb,start_symbol as the symbol to start from when jumping.
7471
7472Mon Feb 10 11:26:59 1997 Jeffrey A Law (law@cygnus.com)
7473
7474 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
7475 redundant) test.
7476
7477 * gdb.base/recurse.exp: Relax final value test for 'b' so that
7478 it doesn't lose for 16bit integer systems.
7479
7480Fri Feb 7 09:31:21 1997 Jeffrey A Law (law@cygnus.com)
7481
7482 * gdb.fortran/types.exp: If the target doesn't support "double"
7483 data types, then expect "real" types to only be 4 bytes.
7484
7485 * gdb.c++/virtfunc.exp: Expect failure for virtual function
7486 call tests if the target doesn't support inferior function calls.
7487
7488 * gdb.base/printcmds.exp: Allow minor deviation in FP values
7489 in printf tests.
7490
7491Thu Feb 6 12:46:14 1997 Jeffrey A Law (law@cygnus.com)
7492
7493 * gdb.base/help.exp: Disable "help set", "help show", and
7494 "help support". Simplify regexp for "help stack".
7495
7496 * gdb.base/default.exp: Set match_max to 5000 and the timeout
7497 to 60 seconds. Temporarily set match_max to 15000 around the
7498 "info copying" test.
7499
7500 * gdb.base/nodebug.exp: Don't try to do an inferior function
7501 call if the target doesn't support them.
7502 * gdb.base/printcmds.exp: Likewise.
7503 * gdb.base/setvar.exp: Likewise.
7504 * gdb.base/structs.exp: Likewise.
7505 * gdb.c++/templates.exp: Likewise.
7506 * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
7507
7508 * gdb.base/recurse.exp: Enable for the mn10200.
7509
7510 * configure.in: Do configure gdb.stabs directory for *-*-elf
7511 targets.
7512 * configure: Rebuilt.
7513
7514 * gdb.base/break.exp: Check for gdb,noresults before testing
7515 exit status and/or results from the target.
7516 * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
7517 * lib/gdb.exp: Remove old (now bogus) initialization of
7518 noinferior, noargs, noresults and nosignals.
7519
7520Tue Feb 4 21:52:17 1997 Bob Manson <manson@charmed.cygnus.com>
7521
7522 * config/sh.exp: New file.
7523
7524 * config/slite.exp: Try to connect multiple times to the board
7525 before rebooting. Only send a "monitor run" if need_monitor_run
7526 is set.
7527
7528 * gdb.base/break.exp: Don't do the "stub continue" test if
7529 the target has gdb_stub set.
7530
7531 * gdb.base/callfuncs.exp: Increase the timeout.
7532
7533 * gdb.base/interrupt.exp: Don't even try to compile the testcase
7534 if the target has gdb,noinferiorio set.
7535
7536 * gdb.base/list.exp: Increase match_max to 10000 characters.
7537
7538 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
7539
7540 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
7541 target.
7542
7543 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
7544
7545Mon Feb 3 12:09:37 1997 Bob Manson <manson@charmed.cygnus.com>
7546
7547 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
7548 trying to delete the copy of gdb. Catch the file delete so we
7549 don't die if the delete fails; also, the file should be copied to
7550 the host, not to the build.
7551
7552Sun Feb 2 00:55:14 1997 Bob Manson <manson@charmed.cygnus.com>
7553
7554 * lib/gdb.exp(gdb_test): Surround the result pattern with
7555 parenthesis in case it contains multiple regexps separated
7556 with |.
7557
7558 * gdb.base/watchpoint.exp: Use gdb_test.
7559 * gdb.base/default.exp: Ditto.
7560
7561Sat Feb 1 23:51:01 1997 Bob Manson <manson@charmed.cygnus.com>
7562
99707966 7563 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
d63a86f8 7564
c906108c
SS
7565 * gdb.base/scope.exp: Use gdb_test.
7566 * gdb.c++/classes.exp: Ditto.
7567 * gdb.c++/inherit.exp: Ditto.
7568
7569Fri Jan 31 13:09:12 1997 Bob Manson <manson@charmed.cygnus.com>
7570
7571 * gdb.base/crossload.exp: Don't use execute_anywhere, use
7572 remote_exec instead.
7573 * gdb.base/corefile.exp: Don't be ridiculous.
7574 * gdb.base/*.c: Add missing stub invocations.
7575
7576Thu Jan 30 16:49:25 1997 Bob Manson <manson@charmed.cygnus.com>
7577
7578 * config/slite.exp: Miscellaneous fixes.
7579
7580 * lib/gdb.exp: Fix runto.
7581
7582 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
7583 the target.
7584
7585 * gdb.base/watchpoint.exp: Fix regexp.
7586
7587 * lib/gdb.exp(default_gdb_exit): Add a catch to the
7588 close and wait commands, as the descriptor may now be
7589 invalid. Always call "remote_close host".
7590
7591Tue Jan 28 14:42:31 1997 Bob Manson <manson@charmed.cygnus.com>
7592
7593 Major rewrite for testsuite revision.
d63a86f8 7594
c906108c
SS
7595 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
7596 TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
7597 instead of relying on spawn_id to always contain a valid
7598 spawn id.
7599 (get_compiler_info): New procedure to build the ${binfile}.ci
7600 file, instead of replicating this in N different places.
7601 (gdb_compile): New procedure.
d63a86f8 7602
c906108c
SS
7603 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
7604 appropriate arguments) instead of compile. Use gdb_test in a lot
7605 more places. Use send_gdb instead of send. Always run gdb_start
7606 at the start of a testcase, as this is no longer done magically.
7607
7608 config/*-gdb.exp: Rename without the -gdb suffix.
7609
7610 config/mips.exp: Use remote_close instead of exit_remote_shell.
7611 config/monitor.exp: Use target_info instead of looking at
7612 baud, timeout, etc.
7613 config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
7614
7615Sat Dec 14 00:43:57 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7616
7617 * gdb.c++/templates.exp (test_ptype_of_templates),
7618 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
7619 Update expect patterns for destructors and assignment operators
7620 to match corresponding c-typeprint.c changes.
7621 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
7622 to destructor breakpoint test, GDB should be able to set the
7623 destructor breakpoint without specifying arguments.
7624
7625Tue Dec 3 20:17:52 1996 Fred Fish <fnf@cygnus.com>
7626
7627 * gdb.threads/pthreads.exp: Change result for failure to compile due
7628 to lack of pthreads runtime support from an error to simply an
7629 unsupported test, per dejagnu standards.
7630
7631Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7632
7633 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
7634 where GDB exits to reduce pattern match time.
7635 (skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
7636
7637 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
7638
dc96c6c7 7639Tue Nov 26 18:29:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
7640
7641 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
7642 * gdb.base/default.exp: ditto.
7643 * gdb.base/nodebug.exp: ditto.
7644 * gdb.base/printcmds.exp: ditto.
7645 * gdb.base/ptype.exp: ditto.
7646 * gdb.base/setvar.exp: ditto.
7647 * gdb.base/structs.exp: ditto.
7648 * gdb.base/setshow.c: Guard against uninitialized values of argc.
7649
7650Tue Nov 26 17:23:28 1996 Ian Lance Taylor <ian@cygnus.com>
7651
7652 * configure, */configure: Rebuild with autoconf 2.12.
7653
7654Sat Nov 23 13:32:15 1996 Fred Fish <fnf@cygnus.com>
7655
7656 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
7657 use new i*86-pc-linux*-gnu quads.
7658 * gdb.base/corefile.exp: Ditto.
7659 * gdb.base/signals.exp: Ditto.
7660 * gdb.base/sigall.exp: Ditto.
7661 * gdb.base/interrupt.exp: Ditto.
7662
7663 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
7664 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
7665 RedHat 4.0.
d63a86f8 7666
c906108c
SS
7667 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
7668 linux. This allows the test case to at least compile on latest
7669 linux, but still not run due to missing the threads runtime library.
7670
7671Fri Nov 22 10:13:29 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7672
7673 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
7674 directory to search gdb directory. Accept and step over conditional
7675 stack alignment code. Consume $prompt in failure cases.
7676 Reset timeout to $oldtimeout instead of some arbitrary value.
7677 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
7678 timeout problems with infinite stack backtraces.
7679 * gdb.base/ptype.exp (ptype struct link, union tu_link):
7680 Accept function parameters for linkfunc member.
7681
7682Thu Nov 21 09:17:19 1996 Fred Fish <fnf@cygnus.com>
7683
7684 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
7685 (CXXFLAGS): Remove, unreferenced.
7686 (B_OPTIONS): Add for -B options and add code to initialize with
7687 previous -B options and also add -B option to pick up cross compiled
7688 runtime.
7689 (TARGET_INCLUDES): Add for -I options and add code to initialize when
7690 doing cross compiles.
7691 (target_alias): Declare global.
7692 (xgcc): Set variable to full path of gcc in build tree. Use findfile
7693 to verify that gcc exists in build tree, and if so set CC to that
7694 gcc and to use B_OPTIONS and TARGET_INCLUDES.
d63a86f8 7695
c906108c
SS
7696Tue Nov 12 16:20:13 1996 Fred Fish <fnf@cygnus.com>
7697
7698 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
7699 ptype test for anonymous union. Fixup testcase to match
7700 current gcc debug output.
7701
7702Mon Nov 11 14:12:06 1996 Jeffrey A Law (law@cygnus.com)
7703
7704 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
7705 force argument to an unsigned long type.
7706
7707Mon Nov 11 10:27:55 1996 Fred Fish <fnf@cygnus.com>
7708
7709 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
7710 tests and anonymous union print/ptype tests.
7711 * gdb.base/list.exp (test_forward-search): Increase timeout by
7712 5 minutes for the "search extremely long line" case.
7713 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
7714 completely optional and that the pass/fail messages use the command as
7715 the message if that third arg is a null string.
7716 (gdb_test_exact): Arrange that a null string pattern means match a
7717 null string output rather than any output, which might include random
7718 errors.
7719 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
7720 backtrace test.
7721 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
7722 always failing and failure is now exposed by gdb.exp changes.
7723
7724Sat Nov 9 11:13:24 1996 Fred Fish <fnf@cygnus.com>
7725
7726 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
7727 weren't being noted.
7728
7729Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7730
7731 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
7732 * gdb.stabs/weird.exp: Remove v_comb xfails.
7733
dc96c6c7 7734Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
7735
7736 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
7737 list.exp scope.exp watchpoint.exp]
7738 Make all timeout error msgs explicitly say "(timeout)".
d63a86f8 7739
dc96c6c7 7740Mon Nov 4 12:03:06 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
7741
7742 * config/monitor.exp: Increase download timeout to 1000 seconds.
7743
dc96c6c7 7744Mon Nov 4 12:02:26 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
7745
7746 * config/m32r.exp: Increase timeout to 120 seconds.
7747
7748Sun Nov 3 14:37:05 1996 Fred Fish <fnf@cygnus.com>
7749
7750 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
7751 and accept older ordering as obsolescent gcc or gdb.
7752 * gdb.c++/templates.exp: Ditto.
7753 * gdb.c++/virtfunc.exp: Ditto.
7754
7755Fri Nov 1 11:56:09 1996 Fred Fish <fnf@cygnus.com>
7756
7757 * gdb.base/coremaker.c: Add code to mmap some data so we
7758 can check that it ends up in the core file.
7759 * gdb.base/corefile.exp: Add test to read mmapped data
7760 from core file.
7761
dc96c6c7 7762Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
7763
7764 * config/m32r.exp: New file.
7765
7766Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
7767
7768 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
7769 that cflags can contains -gstabs, and work correctly for other tests.
7770
dc96c6c7 7771Mon Oct 21 14:00:37 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
7772
7773 * gdb.base/setshow.exp: New file, tests show and set.
7774 * gdb.base/setshow.c: New file, tests show and set.
7775 * gdb.base/help.exp: Add test for help set|show annotate.
7776 * gdb.base/default.exp: Add test for set|show annotate.
7777
7778Wed Oct 16 19:03:54 1996 Stu Grossman (grossman@critters.cygnus.com)
7779
7780 * testsuite/gdb.base/break.exp: Make backtrace from factorial
7781 errors unique.
7782 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
7783 explicitly.
7784
7785Tue Oct 15 16:45:02 1996 Stu Grossman (grossman@critters.cygnus.com)
7786
7787 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
7788 and width commands. This is done elsewhere.
7789 * (gdb_start): Don't call gdb_start_sim here. That's already
7790 done in gdb_load. This fixes lots of failures in default.exp.
7791
7792Sun Oct 13 10:40:23 1996 Fred Fish <fnf@cygnus.com>
7793
7794 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
7795 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
7796 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
7797 in the same we we treat other failures (since it may be an expected
7798 condition), rather than as an error.
7799 * gdb.base/signals.exp (test_handle_all_print): Revert back to
7800 old test format.
7801
7802Fri Oct 11 17:05:22 1996 Fred Fish <fnf@cygnus.com>
7803
7804 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
7805 (distclean maintainer-clean realclean): No need to remove files
7806 twice. Nuke the duplicates.
7807 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
d63a86f8 7808 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
c906108c
SS
7809 Remove config.h along with other config files.
7810
7811Mon Sep 30 20:16:22 1996 Fred Fish <fnf@cygnus.com>
7812
7813 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
7814 "p func1 ()" and note that rests of tests are skipped.
7815 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
7816 setup_xfails for "print func2::coremaker_local".
7817 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
7818 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
7819 affected by the previous run test.
7820 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
7821 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
7822 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
7823 "pass int powerset tuple" and "pass modeless int powerset tuple".
7824 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
7825 "real write 4" and "real write 8".
7826 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
7827 setup_xfails for "print vs1 after tuple assign 2",
7828 "print \$i after tuple assign 2", and
7829 "print vs2 after tuple assign 2".
7830 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
7831 meaningful error message and return -1 so the caller can
7832 suppress further tests and avoid a cascade of errors.
d63a86f8 7833
c906108c
SS
7834Fri Sep 27 10:34:51 1996 Fred Fish <fnf@cygnus.com>
7835
7836 * gdb.base/a1-selftest.exp: Tweak tests to account for new
7837 format for printing version.
7838 * gdb.base/default.exp: Ditto.
7839 * gdb.base/interrupt.exp: Fix problem with cascade of
7840 errors if child process dies while calling a function.
d63a86f8 7841
c906108c
SS
7842Fri Sep 13 21:43:48 1996 Fred Fish <fnf@cygnus.com>
7843
7844 * Makefile.in (VPATH): Add
7845 * Makefile.in (Makefile, config.status): Fix rules so things get
7846 remade when necessary.
7847
7848Fri Sep 13 18:16:10 1996 Fred Fish <fnf@cygnus.com>
7849
7850 * Makefile.in (just-check): Add path to sibling expect dir
7851 to environment variable specified by RPATH_ENVVAR.
7852
7853Fri Sep 13 12:05:34 1996 Fred Fish <fnf@cygnus.com>
7854
7855 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
7856 (just-check): Add shared library paths for libstdc++, tk,
7857 tcl, bfd, and opcodes to the environment variable specified
7858 in RPATH_ENVVAR.
7859 * configure.in: Add support to recognize --enable-shared flag
7860 and generate correct value for RPATH_ENVVAR.
7861 * configure: Regenerated with autoconf.
7862
7863Mon Sep 2 06:36:02 1996 Fred Fish <fnf@cygnus.com>
7864
7865 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
7866 include all osf versions.
7867 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
7868 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
7869 when target is linux. When failing to build pthreads test
7870 executable, give more meaningful message.
7871 * gdb.threads/pthreads.c: Hpux also uses old definition of second
7872 arg for pthread_create.
d63a86f8 7873
c906108c
SS
7874Mon Aug 19 09:58:59 1996 Fred Fish <fnf@cygnus.com>
7875
7876 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
7877 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
7878 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
7879 and -lpthreads (everybody else).
7880 (test_startup): Fail gracefully if threads are not supported.
7881 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
7882 "p/c array_index("abcdef",2)" when not gcc compiled.
7883 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
7884 "print func2::coremaker_local" when not gcc compiled.
7885 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
7886 "ptype on opaque struct tagname (statically)",
7887 "ptype on opaque struct tagname (dynamically) 1", and
7888 "ptype on opaque struct tagname (dynamically) 2"
7889 for not compiled with gcc.
7890 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
7891 backtrace when compiled with gcc.
d63a86f8 7892 * lib/gdb.exp (runto_main): Return result of "runto main" rather
c906108c
SS
7893 than always return success.
7894
7895Sat Aug 17 13:28:00 1996 Fred Fish <fnf@cygnus.com>
7896
7897 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
7898
7899Tue Aug 13 10:26:10 1996 Jeffrey A Law (law@cygnus.com)
7900
7901 * gdb.base/structs.exp: Undo last change.
7902
7903Mon Aug 12 15:29:08 1996 Fred Fish <fnf@cygnus.com>
7904
7905 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
7906 encapsulate all the steps/nexts done during self test, starting
7907 at main, and makes them less sensitive to optimization issues.
7908 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
7909 signal handler" test.
7910 * gdb.threads/pthreads.exp: Only run this for native configs.
7911 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
7912 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
7913 tests.
7914 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
7915 for "runto test_calls(void)" test.
d63a86f8 7916
c906108c
SS
7917Sun Aug 11 13:11:24 1996 Fred Fish <fnf@cygnus.com>
7918
7919 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
7920 and don't expect address info in breakpoint confirmations.
7921
7922Wed Aug 7 20:47:43 1996 Fred Fish <fnf@cygnus.com>
7923
7924 * gdb.base/list.exp (test_forward_search): Increase timeout
7925 temporarily by 60 seconds for searching extremely long line,
7926 and then reset to old value when done. Increase expect input
7927 buffer to 10000.
7928
7929Wed Aug 7 15:34:22 1996 Fred Fish <fnf@cygnus.com>
7930
7931 * gdb.base/list.exp (test_forward_search): Fix to handle very
7932 long source line without overflowing expect's input buffer.
7933
7934Wed Aug 7 12:03:25 1996 Tom Tromey <tromey@creche.cygnus.com>
7935
7936 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
7937 "buffer_full".
7938
7939 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
7940 "buffer_full".
7941
7942 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
7943 "buffer_full".
7944
7945 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
7946 "buffer_full".
7947
7948Wed Aug 7 11:05:47 1996 Fred Fish <fnf@cygnus.com>
7949
7950 * configure.in (configdirs): Add gdb.threads.
7951 * configure: Regenerated with autoconf.
7952 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
7953 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
7954 * gdb.threads/configure: New, generated with autoconf.
d63a86f8 7955
c906108c
SS
7956Tue Aug 6 10:23:04 1996 Tom Tromey <tromey@rtl.cygnus.com>
7957
7958 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
7959
7960Mon Aug 5 18:11:53 1996 Fred Fish <fnf@cygnus.com>
7961
7962 * gdb.base/signals.exp (test_handle_all_print): Test separately for
7963 each signal's status in the output of "handle all print".
7964 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
7965 the \r\n sequence that immediately precedes the gdb prompt.
7966 * gdb.base/a1-selftest.exp: Save original timeout and restore
7967 after test.
7968
7969Sun Aug 4 10:20:50 1996 Jeffrey A Law (law@cygnus.com)
7970
7971 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
7972 symbol.
7973
7974Fri Aug 2 17:37:26 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
7975
7976 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
7977
7978Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
7979
7980 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
7981 timeout by 60 seconds.
7982
7983Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
7984
7985 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
7986 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
7987 error return.
7988
7989Thu Jun 27 10:54:58 1996 Fred Fish <fnf@cygnus.com>
7990
7991 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
7992 gdb initialization, also report how long dejagnu waited. Restore
7993 old timeout before doing error return. Temporarily increase timeout
7994 by 3 minutes to allow for slow startups over heavy NFS use.
7995
7996Tue Jun 25 19:59:17 1996 Fred Fish <fnf@cygnus.com>
7997
7998 * lib/gdb.exp: Report timeout value for verbosity level 2.
7999 * config/gdbserver.exp: Ditto.
8000 * config/hppro.exp: Ditto.
8001 * config/mips-gdb.exp: Ditto.
8002 * config/monitor.exp: Ditto.
8003 * config/netware.exp: Ditto.
8004 * config/sim-gdb.exp: Ditto.
8005 * config/slite-gdb.exp: Ditto.
8006 * config/udi-gdb.exp: Ditto.
8007 * config/unix-gdb.exp: Ditto.
8008 * config/vx-gdb.exp: Ditto.
8009 * gdb.base/a1-selftest.exp: Ditto.
8010 * gdb.base/a2-run.exp: Ditto.
8011 * gdb.base/break.exp: Ditto.
8012 * gdb.base/corefile.exp: Ditto.
8013 * gdb.base/list.exp: Ditto.
8014 * gdb.base/recurse.exp: Ditto.
8015 * gdb.base/scope.exp: Ditto.
8016 * gdb.base/signals.exp: Ditto.
8017
8018Tue Jun 25 23:16:58 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
8019
8020 * gdb.threads/Makefile.in (docdir): Removed.
8021
8022Tue Jun 25 17:02:39 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
8023
8024 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
d63a86f8 8025 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
c906108c 8026 @srcdir@.
d63a86f8 8027 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
c906108c
SS
8028 autoconf 2.5 or higher.
8029 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
8030
8031Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
8032
8033 * configure: Regenerated.
8034 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
8035 avoid name clashes with SunOS headers.
8036
8037Wed Jun 5 16:43:27 1996 Jeffrey A Law (law@cygnus.com)
8038
8039 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
8040
8041Thu May 30 11:35:11 1996 Jeffrey A Law (law@cygnus.com)
8042
8043 * gdb.base/callfuncs.exp: Finish last change -- make sure the
8044 prototype information ends up in the compiler info file.
8045
8046Thu May 23 12:48:41 1996 Fred Fish <fnf@cygnus.com>
8047
8048 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
8049 attempting to regenerate it. Eliminate use of a temporary file
8050 and just generate the info file directly. Source it immediately,
8051 for consistency of use.
8052 * gdb.base/corefile.exp: Ditto
8053 * gdb.base/exprs.exp: Ditto.
8054 * gdb.base/funcargs.exp: Ditto.
8055 * gdb.base/langs.exp: Ditto.
8056 * gdb.base/list.exp: Ditto.
8057 * gdb.base/mips_pro.exp: Ditto.
8058 * gdb.base/nodebug.exp: Ditto.
8059 * gdb.base/opaque.exp: Ditto.
8060 * gdb.base/ptype.exp: Ditto.
8061 * gdb.base/scope.exp: Ditto.
8062 * gdb.base/setvar.exp: Ditto.
8063 * gdb.base/signals.exp: Ditto.
8064 * gdb.base/whatis.exp: Ditto.
8065 * gdb.c++/templates.exp: Ditto.
8066 * gdb.c++/virtfunc.exp: Ditto.
8067 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
8068 whether or not to add -lstdc++ to the compile command line args.
8069
8070Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8071
8072 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
8073 it got fixed by the recent lookup_minimal_symbol_by_pc change.
8074 Increase timeout, a lot of single stepping might be needed if the
8075 target has no hardware watchpoints.
8076
8077Wed May 15 08:47:42 1996 Jeffrey A Law (law@cygnus.com)
8078
8079 * gdb.base/break.exp: Ignore compiler warnings when compiling
8080 break.c.
8081 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
8082 * gdb.base/default.exp: Add h8300 xfails. Handle messages
8083 from remote-sim.
8084 * gdb.base/exprs.exp: Add h8300 xfails.
8085 * gdb.base/funcargs.exp: Likewise.
8086 * gdb.base/nodebug.exp: Likewise.
8087 * gdb.base/printcmds.exp: Likewise.
8088 * gdb.base/ptype.exp: Likewise.
8089 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
8090 h8300 xfails.
d63a86f8 8091 * gdb.base/return.exp: Handle float/double precision problems
c906108c
SS
8092 on the h8300.
8093 * gdb.base/funcargs.c: Explicitly make last constant argument to
8094 call_after_alloca_subr an unsigned long type.
8095 * gdb.base/return.c: Include stdio.h.
8096
8097Tue May 7 22:01:12 1996 Rob Savoye <rob@chinadoll.cygnus.com>
8098
8099 * config/abug.exp: New file for the older Motorola Bug monitor
8100 that runs on the mvme13x series VME boards.
8101 * config/monitor.exp: Use the new config array for target settings
8102 if they exist.
8103
8104Fri May 3 16:02:55 1996 Stan Shebs <shebs@andros.cygnus.com>
8105
8106 * sim-gdb.exp: Make the SH simulator allocate less space when
8107 it is targeted.
8108
8109Thu May 2 12:31:56 1996 Jeffrey A Law (law@cygnus.com)
8110
8111 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
8112 test.
8113
8114Wed Mar 20 08:48:03 1996 Fred Fish <fnf@cygnus.com>
8115
8116 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
8117 "rs6000-*-*" for "list function in include file" when gcc compiled.
8118 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
8119 for "p ctable1[120]".
8120 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
8121 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
8122 Remove setup_xfail for "rs6000-*-*" for
8123 "print 'scope0.c'::filelocal before run".
8124 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
8125 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
8126 since some compilers don't allow both options to be given
8127 on the same command line. Create object file and move it.
d63a86f8 8128
c906108c
SS
8129Tue Mar 19 23:49:31 1996 Fred Fish <fnf@cygnus.com>
8130
8131 * gdb.base/corefile.exp: Always regenerate the core file, since
8132 we always regenerate the coremaker program. Detect special case
8133 where registers cannot be read from core file.
d63a86f8 8134
c906108c
SS
8135Tue Mar 19 16:52:49 1996 Fred Fish <fnf@cygnus.com>
8136
8137 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
8138 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
8139 * gdb.c++/templates.exp: Only match on basename of file since
8140 some formats like xcoff don't encode directory information.
8141 * gdb.stabs/weird.exp: Use the right sed script for powerpc
8142 and rs6000 AIX xcoff targets.
8143 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
8144 * configure: Regenerate.
8145 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
8146 here, rather than in distclean.
d63a86f8 8147
c906108c
SS
8148Sun Mar 17 13:35:31 1996 Fred Fish <fnf@cygnus.com>
8149
8150 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
8151 defined, and use it to compile the test case with -O2. The
8152 native compilation still uses no optimization.
8153 * gdb.base/mips_pro.c: Remove inline assembly code since
8154 it is compiled PIC by default, which results in assembler
8155 warnings that make the testsuite think the compilation
8156 was unsuccessful.
8157
8158Sat Mar 16 15:02:24 1996 Fred Fish <fnf@cygnus.com>
8159
8160 * gdb.c++/misc.exp: Add note to message for
8161 "print s.a for foo struct" that this is a known gcc 2.7.2
8162 and earlier bug.
8163
8164Fri Mar 15 17:49:57 1996 Fred Fish (fnf@cygnus.com)
8165
8166 * gdb.base/break.exp: Fix pattern for matching "Delete all
8167 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
8168 setup_xfail for deleting all breakpoints test. Fix various
8169 timeout messages to include "(timeout)".
8170 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
8171 for "p t_float_values2(3.14159,float_val2)".
8172 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
8173 for "continue to call2g" when gcc compiled.
8174 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
8175 "up to foo in langs.exp", "show language at foo in langs.exp",
8176 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
8177 and "show language at fsub in langs.exp".
8178 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
8179 "list line 1 in include file", "list message for lines past EOF",
8180 "list function in include file", "list list0.h:foo", and
8181 "list filename:function; nonexistant function".
8182 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
8183 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
8184 and "ptype t_char_array" to be for native cc only.
d63a86f8 8185
c906108c
SS
8186Fri Mar 15 16:17:22 1996 Fred Fish <fnf@cygnus.com>
8187
d63a86f8 8188 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
c906108c
SS
8189 setup_xfail for "print coremaker_bss", "print coremaker_ro",
8190 "print func2::coremaker_local", and "backtrace in corefile.exp".
8191
8192Wed Mar 13 14:54:11 1996 Fred Fish <fnf@cygnus.com>
8193
8194 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
8195 "bt in signals.exp". This problem only appears when running
8196 the testsuite, and then only intermittently.
8197
8198Tue Mar 12 15:00:16 1996 Stan Shebs <shebs@andros.cygnus.com>
8199
8200 * gdb.base/return.exp (return_tests): Differentiate between
8201 two tests of continuing.
8202
8203Tue Mar 5 14:33:33 1996 Stan Shebs <shebs@andros.cygnus.com>
8204
8205 * */Makefile.in (maintainer-clean): Remove config.log.
8206 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
8207 * gdb.c++/Makefile.in (PROGS): Add inherit.
8208 (clean): Remove *.ci.
8209
8210Tue Feb 20 16:36:10 1996 Fred Fish <fnf@cygnus.com>
8211
8212 * gdb.c++/misc.cc: Add test code from Mike Stump.
8213 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
8214
8215Sun Feb 18 11:39:12 1996 Fred Fish <fnf@cygnus.com>
8216
8217 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
8218 to "alpha-*-osf2*" and add comment.
8219 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
8220 setup_xfail for "step over execarg initialization" and
8221 "step over corearg initialization".
8222 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
8223 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
8224 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
8225 gcc compiled for "print coremaker_bss", "print coremaker_ro",
8226 "print func2::coremaker_local", and "backtrace in corefile.exp".
8227 * gdb.base/signals.exp: Build and source signals.ci.
8228 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
8229 to be for gcc only.
8230 * lib/gdb.exp: Move verbose statements outside conditionals.
d63a86f8 8231
c906108c
SS
8232Sat Feb 17 02:22:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8233
8234 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
8235 Feb 3 procfs.c change.
8236
8237Fri Feb 16 13:25:31 1996 Fred Fish <fnf@cygnus.com>
8238
8239 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
8240
8241Thu Feb 15 08:12:55 1996 Fred Fish <fnf@cygnus.com>
8242
8243 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
8244 from dejagnu's apparent default of 10 seconds, which gives random
8245 results when running the tests over NFS on moderately loaded systems.
8246 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
8247
8248Mon Feb 12 16:50:28 1996 Fred Fish <fnf@cygnus.com>
8249
8250 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
8251 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
8252 result reports.
8253
8254Fri Feb 9 15:56:51 1996 Fred Fish <fnf@cygnus.com>
8255
8256 * configure.in (CY_AC_PATH_TCLH): Remove.
8257 * configure: Regenerate.
8258
8259Fri Feb 9 08:21:31 1996 Fred Fish <fnf@cygnus.com>
8260
8261 * gdb.c++/Makefile.in (clean): Add missing '{'.
8262
8263Fri Feb 2 10:19:40 1996 Jeffrey A Law (law@cygnus.com)
8264
8265 * lib/gdb.exp: Provide a default value for noinferior.
8266
8267 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
8268 Load libgloss.exp.
8269
8270Thu Feb 1 20:20:14 1996 Jeffrey A Law (law@cygnus.com)
8271
8272 * gdb.disasm/hppa.exp: Compile directly into an executable, use
8273 the executable, not the .o to run the tests from.
8274
8275Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com)
8276
8277 * gdb.base/break.exp: Don't test for program exit or exit status
8278 if $noresults if nonzero.
8279 * gdb.base/langs.exp: Likewise.
8280 * gdb.base/watchpoint.exp: Likewise.
8281
8282 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
8283 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
8284 trying to compile the testcase.
8285
8286Wed Jan 24 23:42:39 1996 Doug Evans <dje@charmed.cygnus.com>
8287
8288 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
8289 * gdb.base/signals.exp (continue to handler): Likewise.
8290
8291Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
8292
8293 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
8294
8295 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
8296
8297Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
8298
8299 * gdb.base/corefile.exp: Recognize "not found" as failure
8300 when trying to determine if a core file was generated.
8301 If no core file was generate the first time, try again without
8302 the ulimit -c to work around braindamaged shells.
8303
8304Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
8305
8306 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
8307 [] tests with "test" and enclose string in quotes.
8308 * gdb.stabs/configure: Rebuild
d63a86f8 8309
c906108c
SS
8310Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
8311
8312 Changes in sync with expect:
8313 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
8314 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
8315 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
8316 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
8317 argument to AC_REQUIRE.
8318 * configure: Regenerated.
8319
8320Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
8321
8322 * gdb.base/corefile.exp: When generating a core, discard any
8323 error messages about ulimit not found and the "core dumped"
8324 message from the shell that runs the coredumper.
8325
8326Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
8327
8328 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
8329
8330 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
8331 which sed script to run. Expect failure for v_comb test
8332 on PA targets too.
d63a86f8 8333
c906108c
SS
8334Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
8335
8336 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
8337 "print func2::coremaker_local" and for "backtrace in corefile.exp"
8338
8339Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
8340
8341 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
8342 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
8343 "sparc-sun-solaris*" xfails for "p v_comb".
8344 * lib/gdb.exp (default_gdb_start): Fix typo.
8345 * gdb.base/corefile.exp: Allow "Core was generated by ..."
8346 messages to not include the full program name that caused
8347 the core dump since some systems (such as solaris) apparently
8348 truncate this path to about 80 characters.
8349 When generating a core file first try increasing the core file
8350 size limit to unlimited since some systems may default it to
8351 zero, and it is harmless to try it. Move the test for failing
8352 to generate a core file to where it will actually get executed.
8353 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
8354 new gdb result from g++ debug info improvements and make old
8355 pattern obsolescent. Also account for size_t differences
8356 (may be int or long).
8357 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
8358 initialization before function call is placed in the delay slot
8359 and thus appears to be skipped over by commands such as "next".
8360
8361Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
8362
8363 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
8364
8365Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
8366
8367 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
8368 input source file; fix code to compile test to deal with this
8369 convention.
8370 * gdb.c++/*.exp: Likewise.
8371
8372Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
8373
8374 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
8375 "bt in signals.exp".
8376
8377Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
8378
8379 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
8380 "step over execarg initialization" and
8381 "step over corearg initialization".
8382
8383Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
8384
8385 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
8386 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
8387
8388Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
8389
8390 From Rob Savoye (rob@poseidon.cygnus.com)
8391 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
8392 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
8393 configure.in}, gdb.disasm/{Makefile.in, configure.in},
8394 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
8395 configure.in}: Major reworking for autoconfig.
8396 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
8397 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
8398 New files.
8399 * config/unix-gdb.exp: Make GDB global.
8400 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
8401 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
8402 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
8403 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
8404 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
8405 term.exp, twice.exp, watchpoint.exp, whatis.exp},
8406 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
8407 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
8408 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
8409 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
8410 pr-8136.exp, result.exp, string.exp, tuples.exp},
8411 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
8412 to returns as necessary, arrange for test to compile own testcase
8413 executable.
8414 * lib/gdb.exp: Changes for testsuite to compile own test cases.
d63a86f8 8415
c906108c
SS
8416Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
8417
8418 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
8419 clear_xfail at end of test which might not call either pass or fail.
8420 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
8421 "backtrace through signal handler".
8422
8423Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8424
8425 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
8426 continuing from a job control stop signal.
8427 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
8428
8429Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
8430
8431 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
8432 * gdb.base/corefile.exp: Likewise.
8433 * gdb.base/funcargs.exp: Likewise.
8434
8435Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
8436
8437 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
8438 * config/monitor.exp: Add support for setting baud rate.
8439
8440Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
8441
8442 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
8443 i*86-*-linux* xfails for "backtrace through signal handler".
8444 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
8445 "print func2::coremaker_local".
8446 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
8447 alpha-dec-osf2* xfail for
8448 "delete all breakpoints when none".
8449
8450Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
8451
8452 * gdb.base/break.exp: Change test that deletes all breakpoints
8453 when no user breakpoints are installed. A post 4.15 change
8454 causes gdb to no longer prompt in this case.
8455
8456Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
8457
8458 * gdb.base/return.exp (return_tests): Change xfail for test
8459 "correct value returned double test" to stop xfailing at
8460 Solaris 2.5. Apparently the bug has been fixed.
8461
8462Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
8463
8464 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
8465 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
8466
8467Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
8468
8469 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
8470 * gdb.disasm/hppa.s: Corresponding changes.
8471
8472Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
8473
8474 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
8475 makefile fragment.
8476 * config/mt-hpux: Deleted.
8477
8478Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
8479
d63a86f8 8480 * Many files: When warning about suppressed tests due to a
c906108c
SS
8481 nonexistant test binary, avoid incrementing the warning count.
8482
8483Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
8484
8485 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
d63a86f8 8486
c906108c
SS
8487Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8488
8489 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
8490 "sparc-*-solaris2*".
8491
8492Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8493
8494 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
8495 Add global and local variables and initialize them.
8496 * gdb.base/corefile.exp: Test correct mapping of corefile sections
8497 by printing variables. Remove rs6000 and powerpc xfails, BFD now
8498 extracts the file name and terminating signal from the core file.
8499 * TODO: Remove note about tests for correct mapping of corefile.
8500 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
8501 from optimizing it away.
8502 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
8503 handles common blocks.
8504
8505Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
8506
8507 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
8508 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
8509
8510Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
8511
8512 * Makefile.in (maintainer-clean): New target, synonym for
8513 realclean.
8514 * gdb.base/Makefile.in (maintainer-clean): Likewise.
8515 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
8516 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
8517 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
8518 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
8519 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
8520
8521Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
8522
8523 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
8524 xfails when not gcc compiled for "print foo::funclocal".
8525 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
8526 "print foo::funclocal at foo",
8527 "print 'scope1.c'::foo::funclocal at foo",
8528 "print foo::funclocal_bss at foo",
8529 "print 'scope1.c'::foo::funclocal_bss at foo",
8530 "print foo::funclocal_ro at foo",
8531 "print 'scope1.c'::foo::funclocal_ro at foo",
8532 "print bar::funclocal at foo" and
8533 "print 'scope1.c'::bar::funclocal at foo".
8534 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
8535 gcc compiled for "print foo::funclocal at bar".
8536 Expand all messages to ensure that they identify that
8537 the test is at bar().
8538 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
8539 gcc compiled for:
8540 "ptype on opaque struct pointer (statically)",
8541 "ptype on opaque struct tagname (statically)",
8542 "ptype on opaque struct pointer (dynamically) 1",
8543 "ptype on opaque struct tagname (dynamically) 1",
8544 "ptype on opaque struct pointer (dynamically) 2" and
8545 "ptype on opaque struct tagname (dynamically) 2
8546 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
8547 gcc compiled for:
8548 "p datalocal"
8549 "whatis datalocal",
8550 "ptype datalocal",
8551 "p bsslocal",
8552 "whatis bsslocal", and
8553 "ptype bsslocal".
8554 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
8555 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
8556 when not gcc compiled.
8557 * gdb.base/funcargs.exp (float_and_integral_args): Add
8558 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
8559 compiled.
8560 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
8561 "backtrace from call6a" when not gcc compiled.
8562 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
8563 "backtrace from call7a" when not gcc compiled.
8564 * gdb.base/callfuncs.exp (do_function_calls):
8565 Add "hppa*-*-hpux*" xfail when not gcc compiled for
8566 "p t_char_array_values(char_array_val2,char_array_val1)",
8567 "p t_char_array_values(char_array_val1,char_array_val2)",
8568 "p t_char_array_values("carray 1","carray 2")",
8569 "p t_char_array_values("carray 1",char_array_val2)",
8570 "p t_char_array_values(char_array_val1,"carray 2")",
8571 "p sum_args(1,{2})",
8572 "p sum_args(2,{2,3})",
8573 "p sum_args(3,{2,3,4})",
8574 "p sum_args(4,{2,3,4,5})"
8575 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
8576 "backtrace in corefile.exp" when not gcc compiled.
8577
8578Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8579
8580 * gdb.base/signals.exp: Rewrite `handle all print' test as
8581 a procedure. Accept blanks or TABs as whitespace, increase
8582 timeout and expect input buffer size for the large output
8583 from the command. Remove "i*86-*-bsdi2.0" xfail.
8584
8585Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8586
8587 * gdb.base/setvar.exp: Add new testcases for truncation when
8588 assigning invalid values to bitfields.
8589
8590Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
8591
d63a86f8 8592 * gdb.base/callfuncs.exp (do_function_calls): Remove
c906108c
SS
8593 mips-sgi-irix* xfail for
8594 "call inferior func with struct - returns char *"
8595 and fix test so that an optional (unsigned char *) cast is
8596 accepted in the result.
8597
8598Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
8599
8600 * gdb.base/funcargs.exp (float_and_integral_args): Remove
8601 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
8602 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
8603 * gdb.base/signals.exp: Remove duplicate "handle all print" test
8604 that accidentally got checked in.
8605
8606Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
8607
d63a86f8 8608 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
c906108c
SS
8609 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
8610 compiled test.
8611 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
8612 Add mips-sgi-irix5* xfail for not gcc compiled.
8613 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
8614 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc compiled for
8615 "p top", "whatis top", "p middle", and "whatis middle".
8616 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
8617 "whatis signed char" for not gcc compiled.
8618 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
8619 "set variable signed char=-1 (-1)" and
8620 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
8621 * gdb.base/funcargs.exp (float_and_integral_args):
8622 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
8623 Add mips-sgi-irix* xfail when not gcc compiled for
8624 "continue to call2b".
8625 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
8626 "continue to call2g".
8627 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc compiled for
8628 "backtrace from call6a"
8629 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc compiled for
8630 "backtrace from call7k".
8631 Add mips-sgi-irix5* xfail when not gcc compiled for
8632 "backtrace from call7a".
8633 (localvars_after_alloca): Fix gdb_test cmds for
8634 "print * after runto ...".
8635 Remove rs6000-*-* xfails for
8636 "print i after runto localvars_after_alloca" and
8637 "print l after runto localvars_after_alloca"
8638 for all compilers.
8639 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
8640 when not compiled with gcc, for:
8641 "print signed char == (minus)",
8642 "print signed char != (minus)",
8643 "print signed char < (minus)",
8644 "print signed char > (minus)".
8645 * gdb.base/callfuncs.exp (do_function_calls):
8646 Add mips-sgi-irix* xfail, when compiled with native compiler, for
8647 "call inferior func with struct - returns char *".
d63a86f8 8648 * gdb.base/return.exp (return_tests): Change xfail for
c906108c
SS
8649 "correct value returned double test" to include Solaris 2.4.
8650 * gdb.base/funcargs.exp (float_and_integral_args):
8651 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
d63a86f8 8652
c906108c
SS
8653Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8654
8655 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
8656 enumeration bitfields if compiling with GNU C.
8657 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
8658 to empty' prompt.
8659
8660Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
8661
8662 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
8663 test for PRO targets.
8664
8665 * gdb.base/funcargs.exp: Avoid ever setting more than 8
8666 breakpoints in the inferior at any given time by making
8667 two groups of breakpoints for call2*, call6* and call7*
8668 tests.
8669
8670Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8671
8672 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
8673 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
8674 from optimizing it away.
8675 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
8676 "call inferior func with struct".
8677
8678Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
8679
8680 * configure.in: Only configure gdb.chill for particular targets.
8681
8682Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
8683
8684 * gdb.base/Makefile.in: Add action to .c.o transformation
8685 rule that generates a .ci file for each .o file and remove
8686 explicit .c.o rules except for callfuncs.o.
8687 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
8688 generates a .ci file for each .o file and remove explicit
8689 .cc.o rules.
8690 (clean): Remove *.tmp *.ci files.
8691 (EXECUTABLES): Remove templ-info.exp.
8692 * gdb.base/compiler.c: New file.
8693 * gdb.c++/compiler.cc: New file
8694 * gdb.base/scope.exp: Source gdb.base/scope.ci.
8695 Change rs6000-*-* xfail for
8696 "print 'scope0.c'::filelocal_ro" and
8697 "print 'scope1.c'::filelocal" and
8698 "print 'scope1.c'::filelocal_bss" and
8699 "print 'scope1.c'::filelocal_ro" and
8700 "print 'scope1.c'::foo::funclocal" and
8701 "print 'scope1.c'::foo::funclocal_ro" and
8702 "print 'scope1.c'::bar::funclocal" and
8703 "print 'scope0.c'::filelocal_ro" and
8704 "print 'scope1.c'::filelocal at foo" and
8705 "print 'scope1.c'::filelocal_bss at foo" and
8706 "print 'scope1.c'::filelocal_ro at foo" and
8707 "print 'scope1.c'::foo::funclocal at foo" and
8708 "print 'scope1.c'::foo::funclocal_bss at foo" and
8709 "print 'scope1.c'::foo::funclocal_ro at foo" and
8710 "print 'scope1.c'::bar::funclocal at foo" and
8711 "print 'scope0.c'::filelocal_ro" and
8712 "print 'scope1.c'::filelocal" and
8713 "print 'scope1.c'::filelocal_bss" and
8714 "print 'scope1.c'::filelocal_ro" and
8715 "print 'scope1.c'::foo::funclocal" and
8716 "print 'scope1.c'::foo::funclocal_bss" and
8717 "print 'scope1.c'::foo::funclocal_ro" and
8718 "print 'scope1.c'::bar::funclocal" and
8719 "print 'scope1.c'::bar::funclocal_bss"
8720 to only be xfail'd when not compiled with gcc.
d63a86f8 8721 Add rs6000-*-* xfail for
c906108c
SS
8722 "print 'scope0.c'::filelocal_bss before run"
8723 when compiled with gcc.
8724 (test_at_main): Add rs6000-*-* xfail for
8725 "print filelocal_ro in test_at_main"
8726 when compiled with gcc.
8727 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
d63a86f8 8728 Add rs6000-*-aix* xfail for
c906108c
SS
8729 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
8730 "ptype t_char_array", not compiled with gcc.
8731 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
8732 xfail for "list foo (in include file)" when gcc compiled.
8733 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
8734 (integral_args): Add rs6000-*-* xfail for
8735 "run to call0a" if not compiled with gcc.
8736 (unsigned_integral_args): Add rs6000-*-* xfail for
8737 "run to call1a" if not compiled with gcc.
8738 (float_and_integral_args): Add rs6000-*-* xfail for
8739 "run to call2a" if not compiled with gcc and for
8740 "continue to call2b" for any compiler.
8741 Add rs6000-*-* xfail to
8742 "print f1 after run to call2a" for gcc compiled.
8743 (discard_and_shuffle): Add rs6000-*-* xfail for
8744 "run to call6a".
8745 (shuffle_round_robin): Add rs6000-*-* xfail for
8746 "backtrace from call7a" if not compiled with gcc.
8747 Add rs6000-*-* xfail for
8748 "backtrace from call7b" if compiled with gcc.
8749 (call_after_alloca): Add rs6000-*-* xfail for
8750 "print c in call_after_alloca" and
8751 "print s in call_after_alloca" and
8752 "backtrace from call_after_alloca_subr"
8753 if not compiled with gcc.
8754 (localvars_in_indirect_call): Add rs6000-*-* xfail for
8755 "print c in localvars_in_indirect_call" and
8756 "print c in localvars_in_indirect_call" and
8757 "backtrace in indirectly called function" and
8758 "stepping into indirectly called function"
8759 if not compiled with gcc.
8760 (localvars_after_alloca): Add rs6000-*-* xfail for
8761 "print c after runto localvars_after_alloca" and
8762 "print s after runto localvars_after_alloca" and
8763 "print i after runto localvars_after_alloca" and
8764 "print l after runto localvars_after_alloca"
8765 for all compilers.
8766 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
8767 than whatis-info.exp.
8768 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
8769 than opaque-info.exp.
8770 Setup rs6000-*-* xfail for
d63a86f8 8771 "ptype on opaque struct pointer (statically)" and
c906108c
SS
8772 "ptype on opaque struct pointer (dynamically)" when
8773 not compiled with gcc.
8774 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
8775 rather than callf-info.exp.
8776 (do_function_calls): Add clear_xfail for rs6000-*-* for
8777 "p t_float_values2(3.14159,float_val2)". Seems to work
8778 fine there, both with xlc and gcc. Need to find out what
8779 it is doing right and fix other platforms.
8780 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
8781 "call inferior func with struct - returns int",
8782 "call inferior func with struct - returns long",
8783 "call inferior func with struct - returns float",
8784 "call inferior func with struct - returns double",
8785 "call inferior func with struct - returns char *",
8786 but only if not gcc compiled (presumes xlc compiled).
8787 Change rs6000-*-* xfails for
8788 "call inferior func with struct - returns char" and
8789 " call inferior func with struct - returns short" to only
8790 xfail if not using gcc.
8791 (clean mostlyclean): Remove *.ci and *.tmp files.
8792 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
8793 than templ-info.exp.
8794 * gdb.base/langs.exp: Source gdb.base/langs.ci.
8795 Add rs6000-*-* xfail for "up to foo in langs.exp"
8796 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
8797 when not gcc compiled.
d63a86f8 8798
c906108c
SS
8799Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
8800
8801 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
8802 * gdb.base/corefile.exp: Likewise.
8803 * gdb.base/list.exp: Likewise.
8804 * gdb.base/scope.exp: Likewise.
8805 * gdb.base/siganls.exp: Likewise.
8806
8807 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
8808 compiler output.
8809 * gdb.base/whatis.exp: Likewise.
8810
8811Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
8812
8813 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
8814 failure (opcode table has been fixed to match reality).
8815
8816Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
8817
8818 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
8819 "call inferior func with struct - returns char",
8820 "call inferior func with struct - returns short"
8821
8822 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
8823 "print 'scope0.c'::filelocal at main",
8824 "print 'scope0.c'::filelocal_bss in test_at_main",
8825 "print 'scope0.c'::filelocal at foo",
8826 "print 'scope0.c'::filelocal_bss in test_at_foo",
8827 "print 'scope0.c'::filelocal at bar",
8828 "print 'scope0.c'::filelocal_bss in test_at_bar"
d63a86f8 8829
c906108c
SS
8830 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
8831 in source file 1". This bug seems to have been fixed with both
8832 gcc and native cc (was native assembler bug?).
8833
8834Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
8835
8836 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
8837 "backtrace through signal handler" to "i*86-*-sysv4*".
8838 * gdb.base/signals.exp: Add xfail for "'next' behaved as
8839 continue" case. Add "known SVR4 bug" to fail message.
8840 Add "i*86-*-bsdi2.0" xfail for "handle all print".
8841 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
8842 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
8843 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
8844 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
8845 "up to foo in langs.exp", "show language at foo in
8846 langs.exp", "up to cppsub_ in langs.exp", "show
8847 language at cppsub_ in langs.exp", "up to fsub in
8848 langs.exp", and "show language at fsub in langs.exp".
8849 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
8850 "bactrace in corefile.exp".
8851 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
8852 "call inferior function with struct - returns float" and
8853 "call inferior function with struct - returns double".
d63a86f8 8854
c906108c
SS
8855Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
8856
8857 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
8858 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
8859 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
8860 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
8861
8862Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
8863
8864 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
8865 (or overriden) "CHILL" macro rather then bare "gcc".
8866 Also look for ../../gcc/xgcc since that is what we will
8867 actually need, not "Makefile". Remove following assignment
8868 of CHILL to CHILL_FOR_TARGET because that results in
8869 recursive definition.
8870
8871Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
8872
8873 * gdb.base/corefile.exp: Change xfail for backtrace in
8874 corefile.exp from linuxaout to all linux.
8875 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
8876 cases where we miss the breakpoint at the signal handler
8877 for some reason. Setup xfail for linuxoldld/linuxaout and
8878 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
8879 hitting SIGURG breakpoint.
8880 * gdb.base/signals.exp: Setup xfail for "next" acting like
8881 continue to add linuxoldld. Setup xfail for all linux for
8882 "next to handler in signals_tests_1", "backtrace in
8883 signals_tests_1", "continue to func1", "pass SIGUSR1",
8884 and continue to handler".
8885
8886Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
8887
8888 * Update all FSF addresses except those in COPYING* files.
8889
8890Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
8891
8892 * gdb.base/a2-run.exp: Change messages to be more explicit about
8893 the status of args, and quote binfile in results.
8894
8895Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
8896
8897 * gdb.base/callfuncs.exp: Add tests for passing structs to
8898 inferior functions and return various types.
8899 * gdb.base/callfuncs.c: Add functions to receive a struct
8900 and return a member of the struct, in various types.
8901
8902Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8903
8904 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
8905
8906Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
8907
8908 * config/vxworks29k.exp: New file, sources vxworks.exp.
8909
8910Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
8911
8912 * config/gdbremote.exp: New file. Testing framework using
8913 gdbserver.
8914
8915Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
8916
8917 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
8918 "call function when asleep" and "send end of file".
8919 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
8920 for "backtrace in corefile.exp".
8921 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
8922 for "backtrace through signal handler".
8923 * gdb.base/corefile.exp: Make sure we actually generate a core file
8924 before trying the core tests. Some systems allow the user to suppress
8925 generation of core files and default to that (linux for example).
8926 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
8927 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
8928
8929Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
8930
8931 * gdb.threads: New directory with some crude multi-threaded
8932 gdb tests (step.exp and step2.exp).
8933 * config/mt-lynx (STEP_EXECUTABLE): Define.
8934 (THREADFLAGS): Define.
8935
8936Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
8937
8938 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
8939
8940 * gdb.base/signals.exp: Disable whole file for lynx until
8941 further notice.
8942
8943 * gdb.base/signals.exp: xfail test where "next" acts like
8944 "continue" for lynx.
8945
8946 * gdb.base/interrupt.exp: xfail test for calling function while
8947 inferior is asleep for lynx.
8948
8949 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
8950 than one cr-lf after each command.
8951
8952Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8953
8954 * configure.in: Reinstate setting of stabsdirs variable, fix
8955 typo in setting up configdirs for native builds.
8956
8957 * gdb.base/return.exp: Fix typo in return double test.
8958 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
8959 compiler from optimizing them away.
8960
8961Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
8962
8963 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
8964 sequences to be echo'd by gdb when using gdb_test.
8965 * gdb.chill/chexp.exp: Likewise.
8966 * gdb.fortran/exprs.exp: Likewise
8967
8968Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
8969
8970 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
8971 after the inferior gdb has started.
8972
8973 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
8974 after each command.
8975 * gdb.base/funcargs.exp: Likewise.
8976 * gdb.base/gdbvars.exp: Likewise.
8977 * gdb.base/interrupt.exp: Likewise.
8978 * gdb.base/list.exp: Likewise.
8979 * gdb.base/watchpoint.exp: Likewise.
8980 * gdb.c++/demangle.exp: Likewise.
8981 * gdb.c++/inherit.exp: Likewise.
8982 * gdb.chill/chexp.exp: Likewise.
8983 * gdb.fortran/exprs.exp: Likewise.
8984
8985 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
8986 test if we can't handle IO to/from the inferior.
8987
8988 * gdb.c++/misc.exp: Always check for a program already being
8989 started after sending a "run" command to gdb.
8990
8991 * gdb.base/twice.exp: Start with a fresh gdb.
8992
8993 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
8994 only depend on gdb's expression code, not the chill runtime.
8995
8996 * gdb.base/return.c: Put return values into variables so we
8997 can have gdb print them rather than depending on the program
8998 to print them.
8999 * gdb.base/return.exp: Corresponding changes.
9000
9001 * lib/gdb.exp: Provide default value for noinferiorio.
9002 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
9003 the inferior.
9004
9005 * gdb.base/break.exp: Always check for a program already being
9006 started after sending a "run" command to gdb.
9007 (text_next_with_recursion): Don't check the output from the
9008 program's printf statement. Instead just make sure the program
9009 exited.
9010
9011 * gdb.base/commands.exp: Protect tests which need arguments with
9012 $noargs conditionals.
9013
9014Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9015
9016 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
9017 of structure member arrays to match gdb/valops.c:value_addr change.
9018
9019Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
9020
9021 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
9022 cases.
9023
9024Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
9025
9026 * configure.in (configdirs): Remove gdb.chill from default list
9027 of subdirs and then add it back in only if doing a native build.
9028 The current chill compiler does not yet work in any cross build.
9029 * Revert all signal changes from Jul 6.
9030 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
9031 for sh-hms targets, allowing these tests to link, with no other
9032 changes. Testing is suppressed by setting "nosignals" in site.exp.
9033
9034Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
9035
9036 * configure.in (signaldirs): Define and add to configdirs for all
9037 targets except some specific ones that are known to not support signals.
9038 Also clean up formatting.
9039 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
9040 (signals, sigall): Remove rules to build.
9041 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
9042 Moved to new gdb.signals directory.
9043 * gdb.signals: New test directory.
9044 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
9045 signals.c signals.exp}: New or moved files.
9046
9047Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
9048
9049 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
9050
9051Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
9052
9053 * gdb.base/return.exp: Xfail `return double' test failure
9054 on at least Solaris 2.3 and handle future/past versions on
9055 a case by case basis as appropriate. Also update message
9056 to include i*86 failures.
9057
9058Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9059
9060 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
9061
9062 * lib/gdb.exp: Fix comment which erroneously identified
9063 gdb_file_cmd as gdb_load (the 19 May change was in fact to
9064 gdb_file_cmd not gdb_load).
9065 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
9066
9067 * gdb.base/setvar.exp: Make test names consistent between pass and
9068 fail cases. Use gdb_test more.
9069
9070Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9071
9072 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
9073
9074Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9075
9076 * gdb.base/help.exp: Fix expected help string for `show commands'.
9077
9078Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
9079
9080 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
9081
9082 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
9083 of a text section.
9084
9085Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
9086
9087 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
9088 that loop eventually terminates. Fix Connection refused logic so
9089 that testsuite will expire nicely.
9090
9091Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
9092
9093 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
9094 config/rom68k.exp: New tcl glue for the appropriate monitors.
9095 These all just end up calling monitor.exp.
9096 * config/monitor.exp (gdb_target_monitor): Handle `Connection
9097 refused' by retrying. Cleanup some timeout issues.
9098 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
9099 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
9100 callers don't have to set/restore global timeout variable.
9101
9102 * The following set of changes centralizes management of the global
9103 timeout variable. This way, it can be set in one target dependent
9104 place instead of dozens of places scattered throughout the test suite.
9105 If you need to lengthen a timeout, then you should either set timeout
9106 in one of the config/{target}.exp files, or multiply it by a factor.
9107 Setting it to an absolute value is always going to lose for some
9108 targets.
9109 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
9110 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
9111 * gdb.base/funcargs.exp: Don't set timeout.
9112 * gdb.base/list.exp (test_forward_search): Only use local timeout.
9113 * gdb.base/printcmds.exp (test_print_string_constants
9114 test_print_array_constants): Don't set timeout.
9115 * gdb.base/ptype.exp: Don't set timeout.
9116 * gdb.base/recurse.exp: Don't set timeout.
9117 * gdb.base/return.exp: Don't set timeout.
9118 * gdb.base/watchpoint.exp: Don't set timeout.
9119 * gdb.c++/classes.exp (do_tests): Don't set timeout.
9120 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
9121
9122Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
9123
9124 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
9125
9126Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9127
9128 * lib/gdb.exp: Disable chill tests for irix5.
9129
9130Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9131
9132 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
9133 each test pass or fail.
9134
9135Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9136
9137 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
9138 xlc not gcc.
9139
9140Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
9141
9142 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
9143
9144Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
9145
9146 * config/est.exp: Fix copyright and comments. Remove dead code.
9147 Use targetname, serialport and baud variables instead of fixed
9148 constants.
9149 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
9150 * config/cpu32bug.exp: New file to support cpu32bug monitors.
9151
9152Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9153
9154 * gdb.base/watchpoint.exp: Don't run
9155 test_watchpoint_triggered_in_syscall for sunos.
9156
9157Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9158
9159 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
9160 they don't seem to exist. Do include stdio.h.
9161
9162Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9163
9164 * gdb.base/a1-selftest.exp: Add alpha xfail.
9165
9166Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9167
9168 * gdb.base/watchpoint.c (main): Prompt before calling read().
9169 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
9170 Revise accordingly. Remove cruft about sending "123" several
9171 times, until it gets noticed. Clean up the "print buf[0]" stuff
9172 so that it passes or fails, and waits for prompts in the usual way.
9173
9174Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9175
9176 * gdb.base/recurse.exp: Fix comment.
9177
9178 * TODO: Remove item about printing variables in nodebug.exp. Add
9179 item about enabling tests which are only run on some targets.
9180
9181 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
9182 fail, make test names unique, use new gdb_test convention
9183 regarding pattern, use gdb_test more, etc.).
9184
9185 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
9186 fail, make test names unique, etc.).
9187
9188Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9189
9190 * gdb.base/nodebug.c: Change return type of top and middle to
9191 short.
9192 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
9193 are fixed by the recent mdebugread.c changes. Allow `short ()'
9194 as type for top and middle.
9195
9196Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9197
9198 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
9199 nearly as I can tell, the whole thing was an accident in Stu's
9200 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
9201 to replace a send/expect pair with gdb_test, but ended up only
9202 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
9203 of 30 Mar 1995 took care of it, but left this vestigial comment
9204 which I am now nuking.
9205
9206Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9207
9208 * gdb.base/break.exp: Look for different line number for
9209 breakpoint at main depending on usestubs.
9210
9211Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9212
9213 * gdb.base/list.exp: Adjust some alternate expect patterns to
9214 match recent list0.c change. Add alternate expect pattern for
9215 output from `list default lines around main' for optimizing
9216 compilers.
9217
9218Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9219
9220 * lib/gdb.exp: If nosignals is not set, set it to 0.
9221
9222Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
9223
9224 * config/slite-gdb.exp: Responds to load symbol table prompt.
9225 * gdb.base/break.exp: Adjust line number, fix rerun.
9226 * gdb.base/langs0.c: Add #ifdef usestubs.
9227
9228Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
9229
9230 * gdb.base/list.exp: Adjust line contents after adding new lines in
9231 list0.c. Also fix a syntax error.
9232
9233 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
9234 * gdb.base/break.exp: ditto.
9235 * gdb.base/list.exp: ditto.
9236 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
9237 * gdb.base/run.c: ditto.
9238 * gdb.base/list0.c: ditto.
9239 * gdb.base/funcargs.c: ditto.
9240
9241Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
9242
9243 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
9244 $targetname, $serialport and $baud instead of hardwired variables.
9245 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
9246 target doesn't support signals.
9247
9248Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
9249
9250 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
9251
9252Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9253
9254 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
9255 Don't rely on the value of an auto variable before it has been
9256 initialized. Use gdb_test more.
9257
9258Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9259
9260 * lib/gdb.exp (default_gdb_version): A version number must start
9261 with a digit, but other than that contains all characters up to
9262 the first whitespace character.
9263
9264Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9265
9266 * gdb.base/commands.exp (breakpoint_command_test): New tests.
9267
9268Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9269
9270 * gdb.c++/*.exp: Warn if executable does not exist. The original
9271 reason for skipping the warning was that configure.in sometimes
9272 intentionally skipped building the executables but the tcl code
9273 had no way of knowing. That (a) was always bogus with respect to
9274 error handling, (b) is no longer true (right now there is no way
9275 to skip C++ tests).
9276
9277 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
9278
9279Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9280
9281 * gdb.base/list.exp: Add expect patterns for output from
9282 SunPRO compiled executables.
9283 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
9284 types.
9285
9286Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9287
9288 * gdb.base/break.exp (test_next_with_recursion): Accept any line
9289 number (we are already testing that the correct source line text
9290 gets printed).
9291
9292 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
9293 that is what is intended, but something needed to be done to get
9294 sunos4 native working again.
9295
9296 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
9297
9298 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
9299 apparently went with a (very) old xfail.
9300
9301Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
9302
9303 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
9304 runto_main is a proc in gdb.exp that will do 'step' for target use
9305 stubs.
9306 * gdb.base/exprs.exp: ditto.
9307 * gdb.base/interrupt.exp: ditto.
9308 * gdb.base/opaque.exp: ditto.
9309 * gdb.base/printcmds.exp: ditto.
9310 * gdb.base/ptype.exp: ditto.
9311 * gdb.base/scope.exp: ditto.
9312 * gdb.base/setvar.exp: ditto.
9313 * gdb.base/signals.exp: ditto.
9314 * gdb.base/twice.exp: ditto.
9315 * gdb.c++/classes.exp: ditto.
9316 * gdb.c++/inherit.exp: ditto.
9317 * gdb.c++/templates.exp: ditto.
9318 * gdb.base/break.exp: no run and hit main for stubs. Change line
9319 numbers for breakpoints and info breakpoint.
9320 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
9321 breakpoint().
9322 * gdb.base/callfuncs.c: ditto.
9323 * gdb.base/exprs: ditto.
9324 * gdb.base/interrupt.c: ditto.
9325 * gdb.base/opaque0.c: ditto.
9326 * gdb.base/printcmds.c: ditto.
9327 * gdb.base/ptype.c: ditto.
9328 * gdb.base/scope0.c: ditto.
9329 * gdb.base/setvar.c: ditto.
9330 * gdb.base/signals.c: ditto.
9331 * gdb.base/twice.c: ditto.
9332 * gdb.c++/misc.cc: ditto.
9333 * gdb.c++/templates.cc: ditto.
9334
9335Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9336
9337 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
9338
9339 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
9340 somewhere between `read' and `main.c'. I'm pretty sure the
9341 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
9342 and it isn't particularly useful.
9343
9344 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
9345
9346Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9347
9348 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
9349
9350Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
9351
9352 * config/mt-slite: add LIBS and -nostdlib.
9353 * config/slite-gdb.exp: add this new file to support sparclite target.
9354
9355Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
9356
9357 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
9358
9359 * gdb.base/a2-run.exp: Change argument to istarget from
9360 "*-*-vxworks" to "*-*-vxworks*".
9361 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
9362
9363Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
9364
9365 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
9366 will not runto main but do a 'step' to step out of breakpoint().
9367 * config/mt-slite: add -Dusestubs.
9368
9369Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9370
9371 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
9372 instead of just @.
9373
9374 * gdb.base/signals.exp: Add test for "handle all print".
9375 * TODO: Remove "handle all print". Also remove item about
9376 checking copyright date (I don't like the idea of a spurious FAIL
9377 based on when we run the tests).
9378
9379 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
9380 for SunOS4 (reason for failure not investigated). Remove
9381 redundant test for $binfile.
9382
9383 * gdb.base/nodebug.c (array_index): Call malloc.
9384
9385 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
9386
9387Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
9388
9389 * gdb.base/recurse.exp: Update gdb_test invocation to use new
9390 conventions and slightly simplify the matching regexp.
9391
9392Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9393
9394 * gdb.base/break.exp: Update gdb_test invocation to use new
9395 convention.
9396
9397 * lib/gdb.exp: If noargs is not set, set it to 0.
9398
9399 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
9400 tests unique.
9401
9402 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
9403
9404Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9405
9406 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
9407 one argument of type "<non-float parameter>".
9408
9409Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
9410
9411 * config/rom68k.exp: New file to support Motorola IDP board.
9412 * gdb.base/a2-run.exp: Skip this file if noargs is set.
9413 * gdb.base/break.c: Change things around so that this program
9414 doesn't depend upon args. This is necessary to make remote
9415 targets work (in general, they can't take args).
9416 * gdb.base/break.exp: Don't try to send args to program. Don't
9417 expect output. Also, replace lots of code with gdb_test.
9418
9419Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9420
9421 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
9422 printing of '\'' (which is what the comment says we are testing,
9423 even though we were not), not '''.
9424 (test_integer_literals_rejected): Test that printing ''' is an error.
9425
9426 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
9427 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
9428 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
9429 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
9430 Use gdb_test not test_print_accept.
9431 * lib/gdb.exp: Remove test_print_accept.
9432
9433 * gdb.base/signals.exp (signal_tests_1): Make pass message
9434 consistent with fail message.
9435
9436 * gdb.base/whatis.exp: Remove xfails for printing char vs.
9437 unsigned char; the bug (PR 1821) is fixed.
9438
9439 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
9440
9441 * gdb.base/scope.exp (test_at_localscopes): Call pass for
9442 successful tests--makes xfailing them work right.
9443
9444Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9445
9446 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
9447 only \r\n, not .*. The test can pass .* as the last thing in
9448 $pattern if that is what it wants. In addition to providing this
9449 flexibility, this change should speed up pattern matching in cases
9450 where the pattern already ended with .* (there were a number of
9451 them). This change also helps catch bad patterns--in the old
9452 scheme the typo "char \*" instead of "char \\*" would pass. Now
9453 it is caught.
9454 * Many .exp files: Update callers.
9455
9456 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
9457 clearer and does not spuriously match multiple ('s. Likewise for
9458 ) and *.
9459
9460 * gdb.base/nodebug.exp: Test ability to call a function and pass
9461 it a string (even with no debugging info).
9462
9463 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
9464 "p '\'", which is the same as "p ''" once tcl gets done with
9465 quoting, to "p '\\'", which I suspect is what is intended (one
9466 backslash gets sent to GDB).
9467
9468 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
9469
9470Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9471
9472 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
9473 1817) was fixed literally years ago.
9474
9475Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9476
9477 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
9478 test, it causes stepping out of call_after_alloca_subr with
9479 optimizing compilers.
9480 (localvars_in_indirect_call): Consume GDB prompt if `finish'
9481 fails.
9482
9483 * gdb.c++/templates.exp: Source templ-info.exp only if
9484 the templates executable exists.
9485
9486 * gdb.c++/misc.cc (class Contains_static_instance,
9487 class Contains_nested_static_instance),
9488 gdb.c++/classes.exp (test_static_members): Test printing of
9489 a class that contains a static instance of the class.
9490
9491Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9492
9493 * gdb.base/langs2.c (cppsub_): Don't prototype.
9494 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
9495 only, I believe).
9496
9497Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9498
9499 * lib/gdb.exp (skip_chill_tests): New procedure.
9500
9501 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
9502
9503Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
9504
9505 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
9506 each expect pattern. Cuts runtime from 12 to about 4 seconds.
9507
9508Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9509
9510 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
9511
9512 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
9513 disassemble 8, not 16, instructions for part 4.
9514
9515 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
9516 support the latter anymore.
9517
9518 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
9519 -DNO_PROTOTYPES.
9520 * gdb.base/callfuncs.c: Control use of prototypes based on
9521 NO_PROTOTYPES, not __STDC__.
9522 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
9523 t_float_values2 tests if prototypes in use.
9524
9525 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
9526 t_double_values): When checking differences against DELTA, check
9527 that difference is within the range (-DELTA,DELTA), not just
9528 (-infinity,DELTA).
9529
9530Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
9531
9532 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
9533 'file' command firts, then 'target', then 'load', this is due to gdb
9534 target set up.
9535 * config/mips-gdb.exp: Fix a couple regular exp bugs.
9536
9537Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
9538
9539 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
9540 FP load/store variants.
9541 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
9542
9543Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
9544
9545 * gdb.base/term.exp: Do not give a warning if not native, it is
9546 not an abnormal condition.
9547
9548Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
9549
9550 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
9551 t_char_array".
9552
9553Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
9554
9555 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
9556 are getting the version number.
9557
9558 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
9559 if not native, it is not an abnormal condition.
9560
9561Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9562
9563 * lib/gdb.exp: Just use "file exists", rather than undocumented
9564 dejagnu procedure "findfile".
9565
9566Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
9567
9568 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
9569 (LDFLAGS): Set to -Xlinker -Ur.
9570
9571 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
9572 Removed, these values are set by lib/gdb.exp.
9573
9574 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
9575
9576Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
9577
9578 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
9579 of replicating gdb startup code.
9580
9581 * config/mt-vxworks (LDFLAGS): Set to -r.
9582 (CFLAGS_FOR_TARGET): Removed.
9583
9584 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
9585 (gdb) and gdb for vxworks uses (vxgdb).
9586
9587 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
9588 executable is not in the tree and host != target, use sed and
9589 program_transform_name to determine the gdb name used by the
9590 target.
9591
9592 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
9593 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
9594
9595Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9596
9597 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
9598 floats, chars, and shorts where there are ANSI-style function
9599 definitions.
9600
9601 * gdb.base/langs.exp, gdb.base/langs*: New test.
9602 * gdb.base/Makefile.in: Build it.
9603 * TODO: Remove item about checking that C names don't get C++
9604 demangling applied; this test tests it.
9605
9606Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9607
9608 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
9609 went with the const70 xfail. The xfail went away a year ago.
9610
9611 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
9612
9613 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
9614 for hp300.
9615
9616 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
9617
9618 * gdb.base/a1-selftest.exp: Don't run on hp300.
9619
9620Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9621
9622 * Makefile.in (site.exp): Set host_alias and target_alias as well
9623 as host_triplet and target_triplet.
9624
9625Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9626
9627 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
9628
9629 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
9630 places as other ecoff systems).
9631
9632 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
9633 ultrix.
9634
9635Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9636
9637 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
9638 remove them.
9639 * gdb.base/nodebug.exp: Accept "function" in addition to "text
9640 variable and "variable" in addition to "data variable".
9641 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
9642
9643 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
9644 2.
9645 * gdb.base/list1.c (long_line): Add additional statement at start
9646 of function.
9647 * gdb.base/list.exp (test_forward_search): Update line number to
9648 reflect new statement.
9649
9650Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9651
9652 * gdb.base/signals.exp: Reinitialize searched source directories
9653 after gdb_start call.
9654
9655Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
9656
9657 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
9658 * gdb.stabs/Makefile.in: Likewise.
9659
9660 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
9661 change. Instead split the tests into smaller pieces.
9662 * gdb.disasm/hppa.s: Corresponding changes.
9663
9664Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9665
9666 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
9667 Quote ^C when passing it to stty. For some shells ^ is a pipe.
9668
9669 * gdb.base/funcargs.exp: Modify many tests so that every test
9670 either passes or fails. Make some test names unique.
9671
9672Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9673
9674 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
9675 Call stty to set interrupt character.
9676
9677 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
9678 for HP assembler versus GNU assembler based on actual behavior of
9679 $(CC), rather than assuming that $(AS) is always the GNU assembler.
9680
9681 * TODO: Suggest a few more stepping tests.
9682
9683Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
9684
9685 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
9686 restart GDB for h8300 after a continue.
9687 (return): Add pattern to match a29k-udi behavior.
9688 * gdb.base/nodebug.exp: Remove obsolete comment.
9689 * gdb.base/regs.exp: New file, testing of register displays.
9690 * gdb.base/return.exp: Fix typo in reference to $objdir.
9691 * gdb.base/whatis.exp: Always start with a fresh GDB.
9692
9693Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9694
9695 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
9696 higher, these tests generate a lot of output.
9697
9698Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9699
9700 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
9701 code following the catch silently ignored some errors; without the
9702 catch they should be thrown like any other tcl error. Also, the
9703 catch used "" instead of {} which meant all the callers who wanted
9704 to include one of the characters "[]$ had to quote it an extra time.
9705 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
9706 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
9707 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
9708 Remove extra quoting.
9709
9710Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
9711
9712 * gdb.base/commands.exp: Make test names unique; every test either
9713 passes or fails. Update some comments.
9714
9715 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
9716
9717Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9718
9719 The following fixes a FAIL caused by the fact that the alpha stabs
9720 configuration didn't use the ".if alpha" code in weird.def.
9721 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
9722 bit pointer, so the 32 bit version works even on the alpha.
9723 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
9724 Remove the stuff which allowed us to have separate versions for
9725 alpha and everything else.
9726
9727 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
9728 regexp which "info func operator\[\](" is supposed to match. Fix
9729 string to send to GDB. Note that GDB still doesn't work right. Add a
9730 new test for "info func .perator\[\](" which GDB does handle correctly.
9731
9732 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
9733
9734Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9735
9736 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
9737 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
9738 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
9739 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
9740 it makes the tests harder to understand and confuses test-o-matic.
9741 The preferred style is that each test provides a PASS or a FAIL,
9742 and has a unique message (e.g. "continue #54" not just "continue")
9743 which is the same for the pass and the fail.
9744 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
9745 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
9746 to lib/gdb.exp.
9747 * gdb.base/printcmds.exp: Use test_print_accept. Remove
9748 prt_accept which was basically the same thing. Likewise for
9749 test_print_reject and prt_reject.
9750 * lib/gdb.exp (test_print_reject): Add some more error message
9751 patterns to match from the former printcmds.exp (prt_reject).
9752 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
9753 One defect of the passcount stuff is that some of it failed to
9754 report XPASS where appropriate.
9755 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
9756 stuff before and after arg in expected pattern.
9757 (test_paddr_operator_functions): Re-do test without print_addr_of;
9758 this is the only test which seems to want extra stuff there.
9759
9760Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9761
9762 * gdb.base/nodebug.exp: Update new tests to reflect improved
9763 wording of gdb output.
9764
9765 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
9766 and "ptype" work on variables in files compiled without -g.
9767 Replaces commented out "maint print msymbol" tests.
9768
9769Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9770
9771 * gdb.base/setvar.c (dummy): Call malloc.
9772
9773 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
9774 losing with the irix4 sed.
9775
9776 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
9777 ALRM" on irix4.
9778
9779Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9780
9781 * TODO: Remove items about corefile.exp testing new exec-file and
9782 backtrace; both are now done. Add items about printing enums.
9783
9784Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9785
9786 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
9787 "get signal $thissig" test fails.
9788
9789 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
9790
9791Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9792
9793 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
9794 compiler warning with dec alpha compiler.
9795
9796 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
9797 extra \n from gdb_test call (this explains why the prompt test
9798 that I removed yesterday was there).
9799 (user_defined_command_test): Remove extra \n and prompt test.
9800
9801 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
9802 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
9803 doesn't exist.
9804 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
9805 Also remove alpha workaround, which turns out to be because
9806 SIGABRT == SIGLOST.
9807
9808 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
9809
9810 * gdb.base/help.exp: Don't test "help show".
9811
9812Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9813
9814 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
9815 "set print address" is on.
9816 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
9817 pass prompt to gdb_test; gdb_test already looks for the prompt.
9818
9819 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
9820
9821 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
9822 was a vestige of the manual TESTSTRATEGY, and the purpose of it
9823 was to make sure that gdb can read a core file. But (a) the "read
9824 the corefile" part didn't make it to a1-selftest.exp, we just
9825 delete the corefile after creating it, and (b) we test reading
9826 corefiles in corefile.exp anyway. Also, this test left around a
9827 xgdb process on Solaris.
9828
9829 * gdb.base/corefile.exp: Also test backtrace.
9830
9831Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
9832
9833 * gdb.base/commands.exp: Test a simple user defined command with
9834 arguments and if/while statements; verify the full user command is
9835 printed by "show user".
9836
9837 * gdb.base/commands.exp: Test if/while commands as part of a
9838 breakpoint command list; verify they appear in breakpoint
9839 information.
9840
9841Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9842
9843 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
9844 than by dividing by zero.
9845
9846Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
9847
9848 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
9849 performing an inferior call with watchpoints enabled.
9850 * gdb.base/watchpoint.c (main): Delete second unnecessary read
9851 call.
9852
9853Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9854
9855 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
9856 of "file" command.
9857
9858 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
9859 Add additional pattern for when "int operator int(void);" appears
9860 in a different order.
9861
9862Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9863
9864 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
9865
9866 * gdb.base/help.exp: Replace most of docstrings for "info signals"
9867 and "signal" with ".*".
9868
9869Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9870
9871 * TODO: Add note about "handle all nostop".
9872
9873 * gdb.base/{sigall.c, sigall.exp}: New test.
9874 * gdb.base/Makefile.in: Add it.
9875
9876Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
9877
9878 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
9879 when invoking GDB, suppresses any windowing interface.
9880
9881Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
9882
9883 * config/sim-gdb: New file, simulator testing support.
9884
9885Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
9886
9887 * gdb.base/interrupt.exp: Test calling func1 twice.
9888
9889Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
9890
9891 * gdb.base/list.exp (test_forward_search): Set timeout higher
9892 when we'll be getting lots of output from gdb.
9893
9894 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
9895 "init_malloc" to after the expect statement. Run it if that
9896 regexp is taken, but also for two others which happen if source
9897 cannot be found.
9898
9899Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9900
9901 * gdb.base/printcmds.exp: New test, for printing register before
9902 program is running.
9903
9904Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9905
9906 * gdb.base/list.exp: Correct some alternate expect patterns
9907 to reflect changes in list1.c.
9908
9909Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9910
9911 * TODO: Add item regarding large frames.
9912
9913 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
9914
9915 * TODO: Remove item about enabling return.exp; it
9916 is enabled. Suggest a few more "return" tests.
9917
9918Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9919
9920 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
9921 anonymous unions.
9922
9923Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9924
9925 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
9926 and pr-5646.o, so "make" is the same as "make all", not "make
9927 pr-4975.o".
9928
9929Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
9930
9931 * gdb.base/list.exp: Adjust expectations to reflect changes in
9932 list1.c.
9933 (test_forward_search): New test proc.
9934 * gdb.base/list1.c (long_line): New function, has long source line.
9935
9936Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
9937
9938 * gdb.base/a1-selftest.exp: Change initial stepping to know about
9939 additional line of code that was added.
9940
9941Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
9942
9943 * gdb.disasm/hppa.s: Break the large branching tests into smaller
9944 tests so as not to overflow expect's input buffers.
9945 * gdb.disasm/hppa.exp: Corresponding changes.
9946
9947Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9948
9949 Beginnings of template debugging tests.
9950 * gdb.c++/templ-info.cc: New file to test for template
9951 debugging capability of the compiler.
9952 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
9953 templ-info.cc.
9954 * gdb.c++/templates.cc: Add explicit template instantiations
9955 to enable compiling with -fno-implicit-templates. Add destructor
9956 and 'value' method to T5 class for template tests.
9957 * gdb.c++/templates.exp: Add testcases for printing of template
9958 types, setting breakpoints on template methods and calling a
d63a86f8 9959 template method.
c906108c
SS
9960
9961Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
9962
9963 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
9964 branch target since some assemblers (gas-2.5) may emit a
9965 relocation for the branch instead of resolving it in the
9966 assembler.
9967
9968Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9969
9970 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
9971 through signal handler.
9972
9973Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9974
9975 * configure.in (*-*-netware): Use config/mt-netware.
9976
9977 * config/mt-netware: New file.
9978 * config/mt-i386-netware: Removed, separate configs for different
9979 netware architectures are no longer needed now that we have
9980 --with-headers.
9981
9982Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9983
9984 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
9985 by the recent changes to use ANSI C arithmetic conversions.
9986
9987Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9988
9989 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
9990 bug involving using inferior_pid to figure out whether to select a
9991 frame.
9992
9993Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
9994
9995 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
9996 match the current disassembler output.
9997
9998Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
9999
10000 * gdb.fortran/exprs.exp: Expect VOID instead of void.
10001 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
10002 types, expect "int" as type of integer values (for now).
10003
10004Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
10005
10006 * gdb.base/commands.exp: New tests for if/while commands.
10007
10008Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
10009
10010 * lib/gdb.exp (runto): Replace sub-pattern for hex value
10011 by .*, since hex values have different syntax in Chill mode.
10012
10013Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10014
10015 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
10016 linefeed from expect pattern for repeated types with indices > 9.
10017
10018Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
10019
10020 First part of Fortran test suite.
10021 * gdb.fortran: New directory.
10022 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
10023
10024Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10025
10026 * gdb.base/default.exp: Update expect pattern for load command
10027 without arguments.
10028
10029Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
10030
10031 * configure.in: Change i386 to i[345]86.
10032 * gdb.base/configure.in: Likewise.
10033 * gdb.c++/configure.in: Likewise.
10034 * gdb.chill/configure.in: Likewise.
10035
10036Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
10037
10038 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
10039 patterns, since that is not a valid context for comments.
10040
10041Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
10042
10043 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
10044 repeated types and repeated types with indices > 9.
10045
10046Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
10047
10048 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
10049 2417; old bug has been fixed.
10050
10051Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
10052
10053 * gdb.base/interrupt.exp: When trying to wake up the inferior,
10054 send the newline ourselves instead of assuming gdb_test will do
10055 so when passed an empty input string.
10056
10057 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
10058 stabs testcode.
10059
10060Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
10061
10062 * lib/gdb.exp (gdb_test): Don't send anything if the first
10063 argument is an empty string. This makes cases where we want to
10064 match output that is already in expect's buffers (for example,
10065 matching a breakpoint after gdb_run_cmd has been called) work
10066 reliably.
10067
10068Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
10069
10070 * config/netware.exp: New file.
10071
10072Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
10073
10074 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
10075 the -B and -L prefixes so we can find the debugging stub.
10076
10077 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
10078 there and we are using the gcc from the tree.
10079
10080 * gdb.base/types.c: Removed.
10081
10082 * gdb.base/configure.in: Look for makefile fragments in ../config.
10083 Recognize i386-*-netware.
10084 * gdb.c++/configure.in: Likewise.
10085
10086Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10087
10088 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
10089 the correct TCL syntax.
10090
10091Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
10092
10093 * gdb.base/opaque.exp: use runto instead of messing around with
10094 breakpoints. Simplify by using gdb_test.
10095
10096 * gdb.base/bitfields.exp: restart between tests on netware targets
10097 because breakpoints aren't relocated after target death. Run
10098 processes to completion.
10099
10100 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
10101
10102Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
10103
10104 * Makefile.in: Remove extra tabs that confuse some versions
10105 of "make". Use the newly built gdb to test with by default,
10106 rather than the first one in the tester's search path.
10107
10108Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
10109
10110 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
10111
10112 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
10113 condition help.
10114
10115Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
10116
10117 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
10118
10119 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
10120 running.
10121 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
10122 * gdb.base/funcargs.exp: Likewise.
10123
10124 * gdb.base/bitfields.exp: Simplify by using gdb_test.
10125 * gdb.base/funcargs.exp: Likewise.
10126
10127 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
10128 message is "".
10129
10130Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
10131
10132 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
10133 return,signals,twice}.exp: Handle non-existant binaries
10134 consistantly.
10135
10136 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
10137 * gdb.base/Makefile.in: Don't try to generate a core dump, we
10138 might testing a cross development system.
10139
10140Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
10141
10142 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
10143 runtest script is relative to ${srcdir}, not ${rootdir}.
10144
10145Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
10146
10147 * gdb.base/signals.exp: Allow for optionality of breakpoint
10148 address.
10149
10150Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10151
10152 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
10153
10154Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
10155
10156 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
10157 for size_t definition.
10158 * gdb.c++/templates.cc: Likewise
10159
10160 * config/mt-i386-netware: New file.
10161
10162 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
10163 defined.
10164
10165 * gdb.base/Makefile.in: Added support for systems that name core
10166 files by appending "core" to the program name.
10167 * gdb.base/a1-selftest.exp: Likewise.
10168
10169Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10170
10171 * gdb.base/return.exp: Add comment and message for `return double'
10172 test failure on Sparc Solaris.
10173
10174Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
10175
10176 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
10177
10178Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10179
10180 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
10181 from optimizing them away.
10182 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
10183 patterns to include default constructors and assignment operators,
10184 to match gcc versions beyond 2.5.8. Accept any cplus demangling
10185 character in the output of the virtual base pointer.
10186
10187Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10188
10189 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
10190 expression match in print_addr_of to avoid unintented matches.
10191 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
10192 versions up to 2.5.8.
10193
10194Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10195
10196 * gdb.base/list.exp: Tweak alternate pattern for listing of an
10197 included file to run under newer versions of expect.
10198 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
10199 consecutive >'s in templates to accomodate recent cplus-dem.c change.
10200 Remove xfail for the virtual table of BDDHookV.
10201
10202Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
10203
10204 * lib/gdb.exp (string_to_regexp): Set a default result.
10205 (default_gdb_start): Fix misleading message.
10206
10207Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
10208
10209 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
10210 Remove all CC, etc definitions.
10211 * config/mt-hpux: New file.
10212 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
10213 (CFLAGS, LDFLAGS): Define.
10214 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
10215
10216 * Makefile.in (site.exp): Don't insert host_os, etc.
10217 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
10218 (distclean): Check existence of subdir.
10219 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
10220 * gdb.base/Makefile.in: General cleanup and simplification.
10221 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
10222 to build executables. Use default rule to build .o files.
10223 (EXPECT, RUNTEST, CC): Fix relative pathname.
10224 (site.exp): Don't insert host_os, etc.
10225 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
10226 and/or SIGUSR1 defined.
10227 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
10228 * gdb.c++/Makefile.in: General cleanup and simplification.
10229 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
10230 (CFLAGS): Remove.
10231 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
10232
10233Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
10234
10235 * gdb.base/recurse.exp: Misc changes to get tests running again
10236 after Kung's changes to the watchpoint code.
10237 * gdb.base/watchpoint.exp: Likewise.
10238
10239Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
10240
10241 * lib/gdb.exp (string_to_regexp): Convert {\} also.
10242
10243Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
10244
10245 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
10246 * lib/gdb.exp (default_gdb_start): Define.
10247 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
10248 gdb.base/funcargs.exp, gdb.base/opaque.exp,
10249 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
10250 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
10251 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
10252 Don't call gdb_target_udi in between tests.
10253
10254Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10255
10256 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
10257 (which was basically just a local version of the same thing). In
10258 addition to avoiding duplication, gdb_test_exact is faster.
10259 * lib/gdb.exp (gdb_test_exact): Fix typo.
10260
10261 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
10262 don't give an error.
10263
10264 * gdb.base/term.exp: Call delete_breakpoints before starting.
10265
10266 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
10267 (t10): Add comment.
10268
10269Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
10270
10271 Reorganization of the GDB Test Suite.
10272
10273 * gdb.base: New directory, contains all the basic tests.
10274 * gdb.c++: New directory, tests specific to C++.
10275 * gdb.chill: New directory, tests specific to Chill.
10276 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
10277 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
10278 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
10279 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
10280 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
10281 t30-31 to chill).
10282 * */gdbme.*: Rename to match appropriate expect scripts.
10283 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
10284 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
10285 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
10286 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
10287 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
10288 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
10289 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
10290 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
10291 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
10292 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
10293 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
10294 gdb.c++/virtfunc.cc: New names of C++ files.
10295 * gdb.chill/chillvars.ch: New name of Chill file.
10296 * gdb.base/configure.in, gdb.c++/configure.in,
10297 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
10298 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
10299 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
10300 * configure.in (configdirs): Update to reflect directory changes.
10301 (target_abbrev): No longer define for any configuration.
10302 * Makefile.in: Cosmetic improvements to header comments.
10303
10304Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
10305
10306 Various changes to gdb.t31:
10307
10308 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
10309 * gdbme.ch: Make all key-words and predefineds be upper-case.
10310 * chillvars.exp: Expect key-words and predefinds in upper-case.
10311
10312 * chillvars.exp: Use gdb_test_exact many places.
10313 Change expected output for arrays (which now includes index labels).
10314
10315 * pr-5020.exp, gdme.ch (module PR_5020):
10316 New test, for PR-5020.
10317
10318Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
10319
10320 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
10321 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
10322
10323Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
10324
10325 * Makefile.in: Fix bit-rot in definitions of CHILL,
10326 CHILL_FOR_TARGET and Chill_LIB.
10327 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
10328 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
10329 CHILL, and CHILL_LIB.
10330
10331Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
10332
10333 * Revert the previous changes. Please see Rob's directory
10334 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
10335
10336Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
10337
10338 * Makefile.in, configure.in, config/mips-gdb.exp,
10339 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
10340 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
10341 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
10342 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
10343 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
10344 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
10345 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
10346 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
10347 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
10348 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
10349 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
10350 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
10351 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
10352 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
10353 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
10354 changes from 94Q1.
10355
10356Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
10357
10358 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
10359 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
10360 Rob's new testing fragments.
10361
10362Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
10363
10364 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
10365 lib/gdb.exp: Replace error proc calls with perror.
10366
10367Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
10368
10369 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
10370 version also, match on casted version strings, and match on
10371 gdb startup case where the line numbers might be messed up.
10372
10373Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
10374
10375 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
10376 (CFLAGS): Delete it from here.
10377
10378Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
10379
10380 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
10381
10382Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
10383
10384 * Makefile.in (RUNTEST): Default to just "runtest".
10385
10386Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10387
10388 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
10389 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
10390 the code has been restructured.
10391
10392Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10393
10394 * gdb.t00/default.exp (set write): Allow any number of \r and/or
10395 \n, not just one of each.
10396
10397 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
10398 /bin/cc gives a warning if you do.
10399
10400Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
10401
d63a86f8 10402 * gdb.t24/demangle.exp: change expect pattern of
c906108c
SS
10403 __t10ListS_link1ZUiRCUiPT0
10404
10405Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10406
10407 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
10408 on local variables in recursive functions.
10409
10410 * gdb.t07/Makefile.in: Build the new test.
10411
10412Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10413
10414 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
10415 directly. Instead compare the return values from actual calls.
10416
10417Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
10418
10419 * Makefile.in (check): Set TCL_LIBRARY for runtest.
10420
10421Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10422
10423 * From Peter Schauer with minor modifications.
10424 * gdb.t15/return.exp (return_tests): Handle targets where "return"
10425 stops in mid-line in the caller. Add xfail for returning a float
10426 value on X86 targets.
10427
10428Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10429
10430 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
10431 to avoid expect lossage.
10432 (fmem_LRbug_tests): Likewise.
10433 * gdb.disasm/hppa.s: Corresponding changes.
10434
10435 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
10436 conditions to work with latest dejagnu/expect.
10437
10438 * gdb.t15/funcargs.exp (finish from indirect call): No longer
10439 expected to fail on the PA.
10440 (backtrace in call with trampolines): Explicitly require main
10441 to be frame #1 (no trampolines should show up in backtrace).
10442
10443 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
10444 "continue -expect".
10445 * gdb.t06/break.exp: Likewise.
10446 * gdb.t07/watchpoint.exp: Likewise.
10447 * gdb.t13/bitfields.exp: Likewise.
10448 * gdb.t15/{funcargs,return}.exp: Likewise.
10449 * gdb.stabs/weird.exp: Likewise.
10450 * config/{mips,udi}-gdb.exp: Likewise.
10451
10452 * hppa.sed: Enclose comments within a sed command to avoid
10453 losing with the old OSF1 sed.
10454
10455Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10456
10457 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
10458 sequent dynix.
10459 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
10460 * gdb.t15/funcargs.exp: Conditionally step again to really
10461 finish from marker_call_with_trampolines. Handle the case where
10462 the first step from within call_with_trampolines already steps
10463 us back to main.
10464 * gdb.t15/gdbme.c: Add comment to closing brace of
10465 call_with_trampolines for funcargs.exp.
10466
10467Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10468
d63a86f8 10469 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
c906108c
SS
10470 Fix typo(s).
10471
10472Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10473
10474 * gdb.t07/gdbme.c: More code for watchpoint testing.
10475
10476 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
10477 "Hardware watchpoint" throughout file.
10478 (test_watchpoint_triggered_in_syscall): New test.
10479 (test_complex_watchpoint): New test.
10480
10481Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10482
10483 * gdbme.c (call_with_trampolines): New function to try and step
10484 into. Tests trampoline problems on the PA.
10485
10486 * funcargs.exp (localvars_in_indirect_call): No longer expect
10487 stepping into indirect call to fail on PAs.
10488 (test_stepping_over_trampolines): New test.
10489
10490Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10491
10492 * TODO: Add suggestions for static member function tests, and
10493 completion tests.
10494
10495Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10496
10497 * TODO: Add suggestions for "p/a" tests.
10498
10499 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
10500 (default_gdb_exit): Replace all the hair with sending "quit" to
10501 the process with a simple close.
10502
10503Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10504
10505 * TODO: Add suggestions for shared library tests.
10506
10507Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10508
10509 * TODO: Add suggestions for x/s tests.
10510
10511Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10512
10513 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
10514 "enable once", and "enable breakpoints once" with ".*".
10515
10516Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10517
10518 * TODO: Add suggestions about structure passing tests.
10519
10520Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10521
10522 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
10523 the primary1 test, use work around if __GNUC__ < 2.
10524 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
10525 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
10526 Test for bad output rather than waiting for timeout. Issue
10527 second continue only if first continue failed.
10528
10529Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
10530
10531 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
10532 operator[] test with gdb_test because the old code didn't seem to
10533 be getting the quoting right with the new dejagnu.
10534
10535Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
10536
10537 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
10538 one from the path.
10539 * Makefile.in: Use a fresh expect if there is one, use runtest
10540 from the src tree if there is one.
d63a86f8 10541
c906108c
SS
10542Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
10543
10544 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
10545 next over recursive call. Revise the tests from that point on
10546 (which had been skipped) to match GDB's actual (correct) output.
10547
10548 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
10549 with next over a breakpoint whose condition is false.
10550
10551 * gdb.t00/help.exp: Comment out "help set print" tests just like
10552 (and for same reason as) "help set" test.
10553
10554Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10555
10556 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
10557 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
10558
10559Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10560
10561 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
10562 necessary gdb_target_udi.
10563
10564 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
10565
10566 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
10567 1838 and 2417; they are fixed.
10568
10569 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
10570 gdb.t03/ptype.exp (ptype structure, ptype union):
10571 Remove xfails; the test is looser than when the xfails were added.
10572
10573 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
10574 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
10575
10576 * gdb.t01/run.exp: Only run shell test if isnative.
10577
10578 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
10579 since "run" automatically loads if necessary. Call gdb_target_udi
10580 after the "file" since "file" kills any execution target.
10581
10582 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
10583 GDB. GDB doesn't work that way (not anymore at least) on UDI.
10584 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
10585 argument for UDI.
10586
10587Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
10588
10589 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
10590
10591 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
10592
10593Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10594
10595 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
10596 properly quoting regexps. This makes the second argument to
10597 demangle a fixed string, which matches the callers, instead of a
10598 shell-style pattern which is what the previous implementation
10599 used. Update some of the callers.
10600
10601Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10602
10603 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
10604 (comib_nullified_tests): Fix typo.
10605 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
10606 strings. No longer expected to fail.
10607
10608 * gdb.disasm/hppa.s (addib_tests): Fix typo.
10609 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
10610 strings. No longer expected to fail.
10611
10612 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
10613 string. No longer expected to fail.
10614
10615Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10616
10617 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
10618 No longer expected to fail.
10619
10620 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
10621 string. No longer expected to fail.
10622
10623Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10624
10625 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
10626 only in the names (I probably got most of them). I was even
10627 generous with some which differed in underscores in names, and
10628 probably missed a few, and I *still* was able to remove almost a
10629 third of the file with almost no impact on testsuite coverage.
10630
10631Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10632
10633 * gdb.t00/default.exp: Match udi_attach error message as well as
10634 the one from child_attach.
10635
10636 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
10637
10638 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
10639
10640 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
10641 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
10642
10643 * Move test with enums and partial symbols back to
10644 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
10645 Reverts the change of 26 May 93. Per today's change to
10646 stabs.texinfo, the behavior that weird.exp was expecting was
10647 unreasonable; what is important is that the compiler+gdb get
10648 things right, which happens with a recent gcc. Also fix the test
10649 to deal with native compilers which put out the stab gdb can't
10650 deal with.
10651
10652Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10653
10654 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
10655 in the names. The main thing these accomplish is to slow things down.
10656 Many more such duplicates surely remain.
10657
10658 * gdb.t00/help.exp: Comment out "help support" test just like
10659 (and for same reason as) "help set" test.
10660
10661Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
10662
10663 * gdb.t06/break.exp: Remove setup_xfails for
10664 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
10665 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
10666 about known bug in gcc to include up through 2.5.8.
10667 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
10668 well as "_vb$".
10669 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
10670 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
10671 with latest gcc and gdb.
10672 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
10673 well as "_vb$".
10674
10675Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10676
10677 * configure.in (hppa*-*-*): Also configure and build stabs-only
10678 tests.
10679
10680Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10681
10682 * gdb.t10/hppa.mt: A makefile fragment for the PA.
10683 * gdb.t10/configure.in (hppa*-*-*): Use it.
10684
10685Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10686
10687 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
10688
10689Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10690
10691 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
10692 versions prior to 1.13.5.
10693
10694Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10695
10696 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
10697 the prompt is at the start of a line.
10698
10699Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10700
10701 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
10702 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
10703 in the copr tests now.
10704 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
10705 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
10706 expected to fail.
10707
10708Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
10709
10710 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
10711 gdb.t31/chillvars.exp, lib/gdb.exp:
10712 Tweak to run under either version of expect.
10713 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
10714 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
10715 * gdb.t11/list.exp: Remove extraneous whitespace.
10716
10717Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10718
10719 * gdb.t16/printcmds.exp (test_print_strings): Accept
10720 "(unsigned char *) " before the string.
10721
10722 * TODO: Add notes about printing of fancy types and GDB expressions.
10723
10724Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
10725
10726 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
10727 * gdb.t06/configure.in: Don't try to compile signals test program
d63a86f8 10728 if doing mips-idt-ecoff.
c906108c
SS
10729
10730Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
10731
10732 * Most .exp files: Tweak to run under either version of expect.
10733
10734Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10735
10736 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
10737 xfails; I'm not sure why they are failing, but not because of PR 1806.
10738
10739Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
10740
10741 * config/unix-gdb.exp: Remove gdb_unload cause it's already
10742 defined in lib/gdb.exp.
10743
10744Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10745
10746 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
10747 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
10748 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
10749 have to be typeless.
10750
10751Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10752
10753 * TODO: Add suggestion for copyright year test.
10754
10755Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
10756
10757 * configure.in (*-*-lynxos*): Add stabs tests.
10758
10759Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
10760
10761 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
10762 so insert a tab before any assembler directive in column zero.
10763
10764 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
10765 stores.
10766 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
10767 stores.
10768 (fpu_short_memory_tests): Likewise.
10769
10770Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10771
10772 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
10773 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
10774 .stabs directives in comments.
10775
10776Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10777
10778 * TODO: New file, describing tests we could write.
10779 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
10780
10781Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10782
10783 * gdb.t06/signals.exp: Add kludge to force re-sync.
10784
10785 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
10786 to xgdb instead of gdb, get out of gdb.
10787
10788Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
10789
10790 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
10791 for info.
10792
10793Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
10794
10795 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
10796 * gdb.stabs/configure.in (hppa*-*-*): Use it.
10797 * gdb.stabs/hppa.sed: New sed script for the PA.
10798
10799Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10800
10801 * gdb.stabs: Re-write weird.def and configuration to use sed
10802 instead of cpp. sed is portable and POSIX; cpp is neither.
10803
10804Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10805
10806 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
10807
10808Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10809
10810 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
10811
10812Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10813
10814 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
10815 "_vb$".
10816 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
10817 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
10818
10819Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10820
10821 * lib/gdb.exp: Comment out code which depends on non-existent
10822 `transform' procedure.
10823
10824Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
10825
10826 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
10827 * lib/gdb.exp: Transform tool name.
10828 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
10829 1.1's new error handling system.
10830
10831Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10832
10833 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
10834
10835Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10836
10837 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
10838 They made pattern matching so slow that timeouts happened on
10839 heavily loaded systems. Now any output from "show print" which
10840 gets us back to the GDB prompt is a PASS.
10841
10842Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
10843
10844 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
10845
10846Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10847
10848 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
10849
10850 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
10851 It is not from PR 3220.
10852
10853Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10854
10855 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
10856 just started failing because they depended on the order the
10857 subcommands are presented, or exact docstring text. This kind of
10858 test is a pain and has minimal benefit.
10859
10860Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10861
10862 * gdb.t09/corefile.exp: At end of test, use "core" command with
10863 no arguments.
10864
10865Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
10866
10867 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
10868 17}/Makefile.in: Make it possible to run the testsuite with Sun
10869 make and CC = cross gcc by adding explicit build rules for .o
10870 files.
10871
10872Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10873
10874 * gdb.t15/funcargs.exp: Don't put comments on same line as
10875 setup_xfail (@#$*%& tcl braindamage!).
d63a86f8 10876
c906108c
SS
10877Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10878
10879 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
10880
10881Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
10882
10883 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
10884 * gdb.t20/inherit.exp: remove three dumplicate entries.
10885
10886Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10887
10888 * gdb.t06/break.exp: For "next over recursive call", fail on any
10889 incorrect output, not just on "factorial (value=2)".
10890
10891Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10892
10893 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
10894 working now. Add an xfail if accesing a bss variable causes
10895 a memory error if the target is not yet run.
10896
10897Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10898
10899 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
10900 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
10901 name of __st* demangling (2 strings). Did Kung really get the
10902 more than 95 others right without testing them?
10903
10904Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
10905
10906 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
10907
10908Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
10909
10910 * configure.in (configdirs): Add gdb.disasm
10911 * gdb.disasm: New directory for GDB disassembler tests.
10912 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
10913
10914Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10915
10916 * gdb.t00/help.exp: Don't test "help set".
10917
10918 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
10919 from within expect statements. None of these happen anymore and
10920 they cause regressions to be silently unnoticed.
10921
10922 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
10923 messages) about known failures with gcc cygnus-2.4.5-930417.
10924
10925 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
10926 comp-info.exp so it gets built if it doesn't exist.
10927
10928 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
10929 it is no longer used.
10930 * gdb.t13/comp-info.c: Removed.
10931
10932Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
10933
10934 * gdb.t06/signals.exp: Add xfail for sun3.
10935
10936Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10937
10938 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
10939 relevant because ^C doesn't get sent but failure can be reproduced
10940 interactively).
10941
10942Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10943
10944 * gdb.stabs/alpha.mt: New configuration file for alpha.
10945 * gdb.stabs/configure.in: Use it.
10946 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
10947 sharing with alpha.mt, redefine long to word via preprocessor.
10948 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
10949 for alpha.
10950 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
10951 native cc.
10952 * gdb.t00/teststrategy.exp: Change expect string so that we
10953 consume the `(xgdb)' from the command echo and from the gdb prompt.
10954 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
10955 gdb currently compares all values as long, so this failure probably
10956 applies to any configuration where LONGEST is bigger than a target int.
10957 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
10958 with gcc.
10959 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
10960 to handle opaque pointers, gcc is.
10961 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
10962 as first argument. Include <sys/types.h> and change all operator
10963 new definitions to use size_t.
10964 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
10965 now that we use size_t.
10966
10967Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10968
10969 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
10970 a long or float array cast all array members to the same type.
10971 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
10972 with 64 bit longs.
10973 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
10974 on alpha.
10975 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
10976
10977Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10978
10979 * gdb.t24 (demangle.exp): Constructors of templates have names like
10980 vector<int>::vector(int) not vector<int>::vector<int>(int). See
10981 section 14.6 of the ARM.
10982
10983 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
10984 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
10985 accomplish little and slow down the testsuite.
10986
10987 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
10988 Accept spaces various places.
10989
10990Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10991
10992 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
10993 with watchpoint enabled.
10994
10995 * Makefile.in: Remove definition of CC and remove the second
10996 definition of CXX (the "CXX = gcc" one remains). These definitions
10997 were causing backquotes to be expanded within backquotes, which
10998 doesn't work.
10999
11000Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
11001
11002 * gdb.t17/callfuncs.exp: Add "return 0" to end.
11003
11004Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11005
11006 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
11007 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
11008 by mips cc and contains no stabs entries.
11009
11010Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
11011
11012 * config/vx-gdb.exp: Use fake device to load files rather than
11013 NFS.
11014 * lib/gdb.exp: New proc to do "file" command.
11015 * config/unix-gdb.exp: Use new "file" proc.
11016
11017Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
11018
11019 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
11020 Rework board rebooting slightly.
11021 (gdb_exit): Don't exit from the remote shell; there isn't one.
11022 * gdb.stabs/weird.exp: If a program is being debugged already,
11023 kill it.
11024 * gdb.t04/setvar.exp: Stop and restart gdb.
11025 * gdb.t05/expr.exp: Likewise.
11026 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
11027 restart gdb and reload the program.
11028 * gdb.t08/opaque.exp: Likewise.
11029 * gdb.t12/scope.exp: Likewise.
11030 * gdb.t13/bitfields.exp: Likewise.
11031 * gdb.t15/funcargs.exp: Likewise.
11032 * gdb.t20/classes.exp: Likewise.
11033 * gdb.t03/ptype.exp: Increase timeout.
11034 * gdb.t16/printcmds.exp (test_print_string_constants,
11035 test_print_array_constants): Likewise.
11036 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
11037 * gdb.t20/classes.exp (do_tests): Likewise.
11038 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
11039
11040Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
11041
11042 * gdb.stabs: Renamed *wierd* to *weird*.
11043
11044Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
11045
11046 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
11047 for timeout. Add "known gcc 2.4.5 bug" to failure message.
11048
11049Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
11050
11051 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
11052 (do_tests): Remove xfail for whatis on one_var and two_var.
11053
11054Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
11055
11056 * Makefile.in: Made cross building work better by adding
11057 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
11058
11059Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11060
11061 * gdb.t15/{return.c,return.exp,Makefile.in}:
11062 New test, currently commented out.
11063
11064Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
11065
11066 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
11067 still running and removes the leftover named socket so GDb can do
11068 clean restarts.
11069
11070Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
11071
11072 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
11073 console, not GDB.
11074 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
11075 cross testing works better with "make check"
11076 * config/unix-gdb: Use default procedures for exit and version.
11077 * config/vx-gdb.exp: Cleaned up and massaged back to working order
11078 with the newest VxWorks.
11079
11080Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11081
11082 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
11083 old form.
11084
11085 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
11086 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
11087
11088 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
11089
11090 * config/unix-gdb.exp: Remove this version of gdb_exit
11091 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
11092 Rob says he'll look at it when he gets back to testing boards.
11093
11094Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
11095
11096 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
11097 an expected fail for certain ptype commands.
11098
11099 * gdb.t20/classes.exp: Update expected results of "ptype class
11100 Base1" to account for the constructor that now appears in the type.
11101
11102Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
11103
11104 * configure.in (configdirs): Restore gdb.t04, which mysteriously
11105 disappeared from list.
11106 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
11107 "alldone" proc with call to cleanup and exit.
11108 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
11109 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
11110 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
11111 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
11112 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
11113 "alldone" proc with simple returns that suppress remaining
11114 tests. The alldone proc went away many months ago.
11115
11116Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11117
11118 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
11119
11120 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
11121
11122Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11123
11124 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
11125 as vax gdb will display them.
11126
11127Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11128
11129 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
11130 optimizers.
11131
11132 * scope.exp: Change "bad value for localval" messages so each one
11133 is unique.
11134
11135 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
11136 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
11137
11138 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
11139
11140Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11141
11142 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
11143 doesn't exist (due to optimization).
11144
11145Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11146
11147 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
11148 contains \r because the filename is long.
11149
11150 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
11151 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
11152
11153Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11154
11155 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
11156 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
11157 Ultrix.
11158 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
11159 int tests.
11160 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
11161
11162Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
11163
11164 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
11165
11166 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
d63a86f8 11167 to match does not match the passing case but still matches the
c906108c
SS
11168 failing case.
11169
11170Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11171
11172 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
11173
11174Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
11175
11176 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
11177 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
11178 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
11179 Remove various versions of gdb_exit.
11180 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
11181 gdb_exit.
11182 * config/unix-gdb.exp: gdb_exit remains here, and should override
11183 the generic version, since it's doing a lot of wierd stuff that
11184 the other versions aren't. FIXME, fold it in, or abandon this
11185 version.
11186
11187Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11188
11189 * gdb.t24/demangle.exp: Add tests for PR 3220.
11190
11191Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11192
11193 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
11194
11195Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
11196
11197 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
11198 "i386-*-*". Works for i486 as well.
11199
11200 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
11201 bug, and expand domain of xfail to all SVR4 systems, since the
11202 actual problem is likely to be in generic SVR4 /proc support.
11203
11204Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11205
11206 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
11207
11208Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
11209
11210 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
11211 xfails for other systems. Match a missing 'Continuing.' as an
11212 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
11213
11214 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
11215 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
11216 Only issue warning for missing executables if -all option is used.
11217
11218 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
11219 file if -all option is used. It's like an unpredictable XFAIL.
11220
11221Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11222
11223 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
11224 for dynamically linked binaries.
11225
11226 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
11227
11228Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11229
11230 * gdb.t20/inherit.exp: Change message for "print tagless struct"
11231 to state that this is a known bug in old versions of g++.
11232
11233Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11234
11235 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
11236 while waiting for `Continuing'.
11237
11238Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
11239
11240 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
11241 in text, data, and bss.
11242 * gdb.t10/nodebug.c: Add local and global test variables for
11243 initialized and uninitialized data.
11244
11245Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11246
11247 * config/unix-gdb.exp (gdb_exit): Add "wait".
11248
11249Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11250
11251 * gdb.t06/signals.exp: xfail the continue from the handler for all
11252 targets.
11253
11254 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
11255 function with watchpoints enabled, the i386 call dummy starts with
11256 a call.
11257
11258 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
11259 386 bsd names its corefiles.
11260
11261Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
11262
11263 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
11264 compilers don't grok it.
11265 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
11266 with small octal ints rather than character constants, which
11267 are signed and might not fit if first promoted to int.
11268
11269Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
11270
11271 * gdb.t09/Makefile.in (clean): Remove corefile.
11272
11273Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11274
11275 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
11276
11277Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11278 and Jim Kingdon (kingdon@cygnus.com)
11279
11280 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
11281 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
11282 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
11283
11284Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11285
11286 * gdb.t17/interrupt.exp: Add xfail for hppa.
11287
11288Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11289
11290 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
11291 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
11292 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
11293 to determine signed-ness of bitfields and use the result to setup
11294 the xfail.
11295 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
11296 * gdb.t15/funcargs.exp: Use them to step until the second indirect
11297 call line is reached if necessary.
11298
11299Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11300
11301 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
11302
11303Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11304
11305 * gdb.t06/break.exp: Also test `clear' command.
11306
11307Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
11308
11309 * gdb.t00/teststrategy.exp: Remove extra quote.
11310
11311 * gdb.t07/watchpoint.exp: Change xfail for calling function with
11312 watchpoint enabled to be for all non-68k machines.
11313
11314 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
11315
11316Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11317
11318 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
11319 targets use aout.mt instead of ecoff.mt as gas understands
11320 standard aout format.
11321
11322Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
11323
11324 * lib/gdb.exp (runto): Don't insist that function we are running to
11325 was compiled with -g.
11326
11327 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
11328
11329 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
11330 to get back into the read system call.
11331 Accept leading newline in case where we woke it up.
11332
11333Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11334
11335 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
11336 to make the stabs test work on ecoff systems using gcc and -with-stabs.
11337 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
11338 enable ecoff configuration.
11339
11340Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11341
11342 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
11343
11344Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11345
11346 * gdb.t16/printcmds.exp: Add another printf test.
11347
11348Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
11349
11350 * configure.in: If configured -with-stabs on any target, add
11351 stabsdirs to configdirs.
11352
11353Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11354
11355 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
11356 fun" so pattern does not match the command itself.
11357
11358Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11359
11360 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
11361
11362Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11363
11364 * gdb.t17/interrupt.exp: Test for more things.
11365
11366Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11367
11368 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
11369 compiler arranges the code and line numbers.
11370
11371 * gdb.t17/interrupt.exp: Don't send \n after ^C.
11372
11373Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11374
11375 * gdb.t00/help.exp: Increase expect input buffer size.
11376
11377Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11378
11379 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
11380
11381 * gdb.t07/watchpoint.exp: Add xfail for hppa.
11382
11383 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
11384
11385 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
11386 [0-9]*, not just [0-9].
11387
11388Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11389
11390 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
11391
11392 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
11393
11394Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11395
11396 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
11397
11398Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11399
11400 * gdb.t06/signals.c: Add xfails for sun3.
11401
11402 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
11403
11404 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
11405 test_stepping tests.
11406
11407Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11408
11409 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
11410
11411 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
11412
11413 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
11414 rather than actually putting it through cpp twice.
11415
11416 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
11417
11418Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
11419
11420 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
11421 no longer needed.
11422
11423Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11424
11425 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
11426
11427 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
11428 C++ features prints as "struct", make it a pass, not an xfail.
11429
11430Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11431
11432 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
11433 Don't require VA to print as "class" rather than "struct".
11434
11435Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
11436
11437 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
11438
11439Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11440
11441 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
11442
11443Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11444
11445 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
11446 order.
11447
11448Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11449
11450 * gdb.t16/printcmds.exp: Add printf tests.
11451
11452 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
11453
11454 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
11455
11456Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
11457
11458 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
11459 pass counts, to counteract any existing or future setup_xfails.
11460
11461Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11462
11463 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
11464 {BEGIN,END}_COMMON for common block instead of STAB.
11465 * gdb.stabs/wierd.exp: Add xfail for rs6000.
11466
11467 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
11468 intp_var should be N_GSYM not N_LSYM.
11469 wierd-aout.S: Use a label for the value of the N_SO.
11470 wierd.def: Remove all backslashes.
11471 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
11472
11473Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11474
11475 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
11476 get the expected next to inheritance3.
11477
11478Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11479
11480 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
11481 now that gcc-2.4 gets it right.
11482
11483Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11484
11485 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
11486
11487 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
11488 generating comp-info.exp which works for cross-compilation.
11489
11490Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
11491
11492 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
11493 "*-*-sysv4.*".
11494
11495Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
11496
11497 * gdb.t01/run.exp: Start with a fresh gdb.
11498 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
11499 SVR4.x.
11500
11501Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
11502
11503 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
11504 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
11505 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
11506 Makefile.in (distclean, realclean): Remove gdbme.c from list of
11507 things to remove.
11508
11509Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
11510
11511 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
11512 test cases from bug reports.
11513
11514Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
11515
11516 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
11517 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
11518 avoid spurious xfails.
11519 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
11520 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
11521 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
11522
11523Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
11524
11525 * gdb.t00/teststrategy.exp: Rework to provide more useful
11526 description of each test, fix problem with systems that define
11527 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
11528 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
11529 results for "next over recursive call" so timeouts aren't taken
11530 by error.
11531
11532Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
11533
11534 * gdb.t12/scope.exp: Test printing of variables before run.
11535
11536 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
11537 printed in wrong order due to sorting.
11538
11539Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
11540
11541 * gdb.t00/teststrategy.exp: Fix expected results for printing
11542 user entered string constant. Is array of char, prints with no
11543 address.
11544
11545 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
11546 commands.
11547 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
11548 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
11549 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
11550 of struct of char arrays.
11551 * gdb.t00/radix.exp: New tests for radix commands.
11552
11553Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
11554
11555 * gdb.t16/printcmd.exp: Print a variable before running program
11556 (with xfail for AIX).
11557
11558Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
11559
11560 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
11561
11562 * gdb.t16/printcmd.exp: Don't print variables before running program.
11563
11564 * gdb.t06/break.exp: Don't require envp argument to main.
11565
11566 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
11567
11568 * gdb.t02/whatis.exp, gdb.t11/list.exp:
11569 Add xfails for rs6000.
11570
11571 * gdb.t02/whatis.exp: Change other tests not to re-test something
11572 we already tested.
11573
11574 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
11575 each type used has a variable of that type.
11576
11577Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
11578
11579 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
11580
11581Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
11582
11583 * configure.in: change srctrigger to be a file, not a directory
11584
11585Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
11586
11587 * configure.in (mips-idt-ecoff*): Added trailing '*'.
11588
11589 * gdb.t11/list.exp: Fixed a couple of typos.
11590
11591Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
11592
11593 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
11594 is fixed and PR is closed.
11595 * gdb.t16 (gdbme.c): Add simple test string variable.
11596 * gdb.t16 (printcmds.exp): Add tests with simple test string
11597 variable, primarily for boundaries on "set print elements".
11598
11599Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
11600
11601 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
11602 Make leading 0's optional and don't expect a tab in the middle
11603 of the number.
11604
11605 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
11606
11607 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
11608 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
11609 don't end command passed to gdb_test with newline.
11610
11611 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
11612 signed keyword away, don't expect signed bitfields to be signed.
11613
11614 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
11615 printing with only as many 1's as are in the field as well as printing
11616 with 32 1's (see comment).
11617
11618Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
11619
11620 * gdb.t00/default.exp: Start with a fresh gdb.
11621 * configure.in (configdirs): Remove gdb.t31 until the chill
11622 compiler works again. It no longer is able to find chillrt0
11623 since it isn't in libchill.a anymore.
11624 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
11625 wierd.o, make more modular.
11626 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
11627 spurious newlines that caused problems.
11628
11629Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11630
11631 * Move test with enums and partial symbols from gdb.t03/ptype.exp
11632 to gdb.stabs/wierd.exp since GCC has worked around the bug.
11633 gdb.stabs/wierd.{exp,def}: Many new tests.
11634
11635 * gdb.t00/default.exp: update info line for new message.
11636
11637 * gdb.t02/{whatis.exp,gdbme.c}:
11638 Test that "char *" doesn't print as "caddr_t".
11639
11640Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11641
11642 * gdb.t00/help.exp: Use .* in place of some help messages which
11643 just changed.
11644 gdb.t00/default.exp: Update "info frame" test for new message.
11645 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
11646 Remove some xfails
11647
11648Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11649
11650 * gdb.t03/{gdbme.c,ptype.exp}:
11651 Add tests for typedef'd struct and union without tags.
11652 Also check "whatis" on a variable of a typedef'd enum without a tag.
11653
11654 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
11655 PRMS 1823; the bug still exists but isn't reproduced by this test
11656 anymore), and remove rs6000 XFAIL (the bug is fixed).
11657
11658 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
11659 duplicated from whatis.exp. For those that are left, accept
11660 "long", "long int", or "int" for long variables (whatis.exp already
11661 has an XFAIL for "int", so no need to fail it here).
11662
11663 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
11664 Deal with GCC's names for types now that GDB uses the compiler's names.
11665
11666 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
11667 setup_xfail's for sunos4. If we #defined the signed keyword away,
11668 don't expect GDB to know that char it is signed.
11669
11670 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
11671
11672Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
11673
11674 * configure.in (configdirs): Add gdb.t24 for C++ tests that
11675 should work on any system, regardless of debugging format.
11676 * gdb.t21/demangle.exp: Move to gdb.t24.
11677 * gdb.t24/demangle.exp: Move from gdb.t21.
11678 * gdb.t24/{Makefile.in, configure.in}: New files.
11679
11680Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11681
11682 * configure.in: Do gdb.stabs and C++ tests only for stabs.
11683 * gdb.stabs: New directory.
11684
11685Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11686
11687 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
11688 not just "Quit anyway?".
11689
11690Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
11691
11692 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
11693 that all setup_xfails are immediately followed by clear_xfails.
11694
11695Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
11696
11697 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
11698 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
11699 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
11700 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
11701 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
11702 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
11703 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
11704 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
11705 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
11706 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
11707 gdb.t31/chillvars.exp, lib/gdb.exp:
11708 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
11709 bug-gdb@prep.ai.mit.edu.
11710
11711Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
11712
11713 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
11714 with 0.0, not integer 0.
11715
11716Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
11717
11718 * gdb.t06/break.exp: Update for "Kill the program" message change.
11719
11720Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
11721
11722 * Makefile.in (GDBFLAGS): Set to -nx.
11723 * Makefile.in (site.exp): Use GDBFLAGS.
11724
11725Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
11726
11727 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
11728 Makefiles.
11729 (check): depend on just-check.
11730 (just-check): added so that tests can be run without a noop
11731 build pass.
11732
11733Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
11734
11735 Switch to using configure's configdirs.
11736 * Makefile.in (Makefile): add configure.in dependency.
11737 (SUBDIRS): removed redundant assignment.
11738 * configure.in: switch subdirs assignment to configdirs.
11739 * gdb.t*/configure.in: new files.
11740
11741Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
11742
11743 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
11744 works.
11745
11746Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
11747
11748 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
11749 in explicit rules. Apparently this is not supported by some makes.
11750
11751Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
11752
11753 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
11754
11755Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11756
11757 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
11758 disappeared.
11759
11760Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
11761
11762 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
11763
11764Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
11765
11766 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
11767 watchpoint problem that is now fixed.
11768 * gdb.t30/chexp.exp: Remove setup_xfail for printing
11769 uninitialized convenience variables.
11770 * gdb.t31/chillvars.exp: Fix expected patterns for printing
11771 structures.
11772
11773Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11774
11775 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
11776 which causes expect to get out of sync with gdb on long output
11777 from help set.
11778 * gdb.t09/corefile.exp: Make expected pattern for core file
11779 failing signal and frame output format less sun specific.
11780
11781Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
11782
11783 * gdb.t31/chillvars.exp: Add and remove initial dummy
11784 breakpoint, so that symbol table is forced in.
11785 (Needed at least on Sunos4, though it seems not SVR4.)
11786 * gdb.t31/chillvars.exp: Update for changed output format.
11787
11788Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
11789
11790 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
11791
11792Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
11793
11794 * Makefile.in: Added --srcdir when invoking runtest, removed the
11795 need for a local config file. (optional now)
11796
11797Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
11798
11799 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
11800 failure count used to force early termination. Add some more
11801 expected failures for gnu style demangling.
11802
11803Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11804
11805 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
11806 pmi variable from gdb.t20/gdbme to get optimized away.
11807 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
11808 Check for written corefile upon timeout _and_ eof.
11809
11810Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11811
11812 * config/unix-gdb.exp: Add missing return 0.
11813
11814Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11815
11816 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
11817 test termination.
11818
11819Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
11820
11821 * configure.in (subdirs): Put back gdb.t17 which mysteriously
11822 disappeared.
11823
11824Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
11825
11826 * gdb.t10/crossload.exp: Disable the i860-elf test until such
11827 time as i860 support works.
11828
d63a86f8 11829 * gdb.t15/funcargs.exp: Fix expected outputs to include
c906108c
SS
11830 "backtrace 100\r" rather than just "backtrace\r", to match last
11831 change.
11832
11833Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
11834
11835 * config/udi-gdb.exp (gdb_exit): Remove close command.
11836 (gdb_target_udi): New procedure to set the UDI target.
11837 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
11838 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
11839 Added waits for prompts after several question responses. Added
11840 some more responses used by a29k-amd-udi-gdb.
11841 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
11842 pass different arguments, restart UDI connection after program
11843 completion.
11844 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
11845 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
11846 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
11847 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
11848 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
11849 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
11850 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
11851 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
11852 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
11853 after program completion.
11854 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
11855 compiled with a SELECT_VECS setting.
11856 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
11857 infinite recursion.
11858
11859 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
11860 Added checks for COFF results, and made them expected failures for
11861 all targets. It would be better to make them expected failures
11862 for COFF targets only.
11863
11864Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
11865
11866 * Makefile.in: add null dvi target, don't bother to recurse
11867 through test directories for info and install-info; rename
11868 $(datadir) to be dejagnu instead of deja-gnu
11869
11870Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
11871
11872 * gdb.t31/gdbme.ch: Re-enable code that previously caused
11873 compiler to coredump.
11874 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
11875 code.
11876
11877Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
11878
11879 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
11880 coredump.
11881 * gdb.t31/chillvars.exp: Comment out tests that depend on that
11882 code.
11883
11884Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
11885
11886 * gdb.t03/ptype.exp: tests for return code from gdb_test.
11887 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
11888 which in a shell. Deletes xgdb when done.
11889 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
11890 Tests the return from the "set height" or "set width" commands.
11891 Added a few return codes where needed.
11892
11893Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
11894
11895 * Makefile.in (SUBDIRS): Add gdb.t17.
11896 * configure.in (subdirs): Add gdb.t17.
11897 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
11898 files to test gdb's calling of functions in the inferior with
11899 the correct arguments and gdb's ability to retrieve any
11900 result returned.
11901
11902Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
11903
11904 * config/unix-gdb.exp (gdb_exit): Remove close commands that
11905 may be called after gdb goes away. Previous versions of expect
11906 needed these to avoid file descriptor leaks, but they cause
11907 errors with the current revision of expect.
11908 * gdb.t00/gdbvars.exp: Use -re on expected output after
11909 setting sevenbit-strings.
11910 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
11911 to set sevenbit-strings consistent across tests.
11912 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
11913 set sevenbit-strings consistent across tests.
11914
11915Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
11916
11917 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
11918 expected output to match current "expect" expectations.
11919
11920Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
11921
11922 * gdb.t00/default.exp: Change expected output for default "source"
11923 command, to match new gdb behavior which requires a filename to
11924 source.
11925
11926Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
11927
11928 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
11929 expected fail for i486-*-* that misses the marker2 function.
11930 * gdb.t10/crossload.exp (bfddefault): Allow successful
11931 recognition of a format to pass even if no symbols are found.
11932 Explicitly catch failures where the format is not recognized
11933 or is ambiguous, and add the reason to the fail message.
11934 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
11935 the cause is and invalid target and add reason to failure message.
11936 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
11937 elf32-i386, elf32-sparc, and elf32-i860.
11938 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
11939 Set up expected failure for 'filename'::variable scope resolution,
11940 which is now apparently broken on all targets.
11941 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
11942 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
11943 gdb.t23/templates.exp: Change failure for missing binfile into
11944 just a warning.
11945 gdb.t21/demangle.exp: Change all cfront references to 'arm'
11946 references.
11947
11948Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
11949
11950 * gdb.t00/default.exp: Add expected output for default "source"
11951 command, to match new gdb behavior.
11952 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
11953
11954Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
11955
11956 * config/*-gdb.exp: returns an error, rather than exiting on
11957 internal errors.
11958
11959Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
11960
11961 * gdb.t03/gdbme.c: Add pointer to struct variable.
11962 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
11963 referencing struct members.
11964
11965Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
11966
11967 * configure.in (mips-idt-ecoff): New target.
11968 * config/mips-gdb.exp: New file for remote board using MIPS remote
11969 debugging protocol.
11970
11971 * Redid configuration scheme. Removed gdb.t*/configure.in.
11972 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
11973 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
11974 distclean targets. Built executables via .o files. Adjusted
11975 tests to account for source files in $(srcdir) rather than
11976 $(objdir).
11977 * lib/gdb.exp (runto): Don't expect () after the function name,
11978 because it may have arguments.
11979
11980Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
11981
11982 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
11983 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
11984 expected failures for mips-idt-* and mips-sgi-*.
11985 * gdb.t00/default.exp (attach): Kill process if requested.
11986 * gdb.t00/help.exp (help target core, help target): Accept a gdb
11987 that does not read core files.
11988 * gdb.t01/run.exp: Removed checks for exit status code.
11989 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
11990 it is linked in.
11991 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
11992 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
11993 appropriate, rather than doing it by hand.
11994 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
11995 execution.
11996 * gdb.t10/crossload.exp: Kill existing program if needed.
11997 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
11998 appropriate, rather than doing it by hand. Always increase
11999 timeout for this test, not just for VxWorks.
12000
12001Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
12002
12003 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
12004 of Chill STRUCT types and STRUCT values.
12005 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
12006 than "char".
12007 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
d63a86f8 12008 struct2): New struct definitions and initializations to test
c906108c
SS
12009 simple Chill STRUCT types.
12010
12011Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
12012
12013 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
12014 the null byte at the end of strings.
12015 * gdb.t00/default.exp: Make show version insensitive to copyright
12016 date.
12017 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
12018 to avoid dependencies on target char signedness.
12019 * gdb.t16/printcmds.exp: Update expected results for explicitly
12020 unsigned char.
12021 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
12022 now work.
12023 * gdb.t21/demangle.exp: Add many more patterns for template
12024 demangling, most of them being expected failures.
12025 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
12026 string we are matching for, to match on the whole string.
12027 * gdb.t21/demangle.exp: Add many new test strings to demangle,
12028 and fix a whole bunch that had incorrect expected output but were
12029 passing anyway because of the bug in "proc demangle".
12030 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
12031 type.
12032 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
12033
12034Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
12035
12036 * gdb/testsuite: made modifications to testcases, etc., to allow
12037 them to work properly given the reorganization of deja-gnu and the
12038 relocation of the testcases from deja-gnu to a "tool" subdirectory.
12039
12040Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
12041
12042 * gdb/testsuite: Initial creation of gdb/testsuite.
12043 Migrated dejagnu testcases and support files for testing nm to
12044 gdb/testsuite from deja-gnu. These files were moved "as is"
12045 with no modifications. This migration is part of a major overhaul
12046 of dejagnu. The modifications to these testcases, etc., which
12047 will allow them to work with the new version of dejagnu will be
12048 made in a future update.
48efe704
AC
12049
12050For additional changes see gdb.mi/ChangeLog-1999-2003.
c906108c
SS
12051\f
12052Local Variables:
ef043731 12053mode: change-log
c906108c
SS
12054left-margin: 8
12055fill-column: 74
12056version-control: never
12057End: