]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/testsuite/ChangeLog
2004-05-24 Randolph Chung <tausq@debian.org>
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
8f5a3103
MK
12004-05-22 Mark Kettenis <kettenis@gnu.org>
2
3 * gdb.base/signull.c: Use sigjmp_buf instead of jmp_buf.
4
734b8fe8
JB
52004-05-21 Joel Brobecker <brobecker@gnat.com>
6 Daniel Jacobowitz <drow@mvista.com>
7
8 * lib/gdb.exp (gdb_test_multiple): Improve regexp matching the
9 GDB prompt.
10
725603e1
UW
112004-05-20 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12
13 * gdb.base/signull.c: Use sigsetjmp/siglongjmp instead of
14 setjmp/longjmp. Use sigaction instead of signal.
15
8b923272
JB
162004-05-19 J. Brobecker <brobecker@gnat.com>
17 Michael Snyder <msnyder@redhat.com>
18
19 * gdb.threads/pthread_cond_wait.c: New file.
20 * gdb.threads/pthread_cond_wait.exp: New testcase.
21
8bfabb04
AC
222004-05-13 Andrew Cagney <cagney@redhat.com>
23
24 * gdb.base/signull.exp, gdb.base/signull.c: New files.
25 * gdb.base/gdb1476.c, gdb.base/gdb1476.exp: Delete files.
26
42edda50
AC
272004-05-11 Andrew Cagney <cagney@redhat.com>
28
29 * gdb.base/sigstep.exp (advancei): Update KFAILs. gdb/1613 is
30 fixed but revealed gdb/1639.
31
d303a6c7
AC
322004-05-10 Andrew Cagney <cagney@redhat.com>
33
34 * gdb.base/signals.exp (signal_tests_1): Simplify "continue to
35 func1" and "next to 2nd alarm", kernel bug avoided.
36
bf08c2a1
DJ
372004-05-10 Daniel Jacobowitz <dan@debian.org>
38
39 PR external/1568
40 * gdb.base/bigcore.exp: Check the size of the dumped core file.
41 XFAIL if it is smaller than bytes_allocated.
42 * gdb.base/bigcore.c (bytes_allocated): Make static and unsigned.
43 (main): Make chunks_allocated unsigned. Correct comment.
44
c0586a34
JB
452004-05-07 Joel Brobecker <brobecker@gnat.com>
46
47 * gdb.arch/powerpc-aix-prologue.c: New file.
48 * gdb.arch/powerpc-aix-prologue.exp: New file.
49
f2785d12
JB
502004-05-07 Jim Blandy <jimb@redhat.com>
51
52 * gdb.base/lineinc.exp, gdb.base/lineinc1.h, gdb.base/lineinc2.h,
53 gdb.base/lineinc3.h, gdb.base/lineinc.c: New tests.
54
bd7f6e30
JB
552004-05-06 Joel Brobecker <brobecker@gnat.com>
56
57 * gdb.base/sep.exp: No longer setup_kfail when the program was
58 built with dwarf2.
59
0a5e7efe
JI
602004-05-05 Jim Ingham <jingham@apple.com>
61
62 * gdb.base/pending.exp: Make sure pending breakpoints
63 preserve the ignore count.
64
a8958849
MK
652004-04-27 Jerome Guitton <guitton@gnat.com>
66
67 * i386-prologue.exp: Add testcase for jump instruction as first
68 instruction of the real code.
69 * i386-prologue.c (jump_at_beginning): New function.
70
7e103f5b
MK
712004-04-28 Mark Kettenis <kettenis@gnu.org>
72
73 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1624 on
74 x86_64-*-*.
75
5d38b224
MK
762004-04-28 Mark Kettenis <kettenis@gnu.org>
77
78 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1623 on
79 i*86-*-*.
80
0ef32fd9
MK
812004-04-25 Mark Kettenis <kettenis@gnu.org>
82
83 * gdb.base/call-sc.exp (start_scalars_test): Fix regular
84 expression that checks the return type.
85
71d7dd7c
AC
862004-04-23 Andrew Cagney <cagney@redhat.com>
87
88 * gdb.base/call-sc.exp: New test of scalar call/return values.
89 * gdb.base/call-sc.c: Ditto.
90
1e9f977e
JJ
912004-04-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
92
93 * gdb.threads/manythreads.c: Reduce thread stack size.
94
899d9e3a
JJ
952004-04-23 Jeff Johnston <jjohnstn@redhat.com>
96
97 * gdb.threads/manythreads.c: Add copyright notice.
98
61bcae62
AC
992004-04-23 Andrew Cagney <cagney@redhat.com>
100
101 * gdb.base/siginfo.exp: Better handle step out of signal.
102 * gdb.base/sigstep.exp: Ditto.
103
7339a42e
JJ
1042004-04-22 Jeff Johnston <jjohnstn@redhat.com>
105 Daniel Jacobowitz <drow@mvista.com>
106
107 * gdb.threads/manythreads.c: New testcase.
108 * gdb.threads/manythreads.exp: Ditto.
109
5c98409b
JB
1102004-04-22 Jim Blandy <jimb@redhat.com>
111
112 * gdb.stabs/exclfwd.exp, gdb.stabs/exclfwd1.c,
113 gdb.stabs/exclfwd2.c, gdb.stabs/exclfwd.h: New test.
114
3b611f1a
MC
1152004-04-21 Michael Chastain <mec.gnu@mindspring.com>
116
117 * gdb.stabs/weird.exp: Accept full pathname for $binfile.
118
f0fd9238
AC
1192004-04-21 Andrew Cagney <cagney@redhat.com>
120
121 * gdb.base/sigstep.c: New file.
122 * gdb.base/sigstep.exp: New file.
123
90990674
JB
1242004-04-16 Joel Brobecker <brobecker@gnat.com>
125
126 * gdb.gdb/observer.exp (test_normal_stop_notifications): Update
127 call to observer_notify_normal_stop.
128
78cef34b
AC
1292004-04-15 Andrew Cagney <cagney@redhat.com>
130
131 * gdb.base/siginfo.c: New file.
132 * gdb.base/siginfo.exp: New file.
133
d2343407
JB
1342004-04-12 J. Brobecker <brobecker@gnat.com>
135
136 * gdb.base/sep.exp: Fix typo in comment.
137
a2dba3c8
JB
1382004-04-12 J. Brobecker <brobecker@gnat.com>
139
140 * gdb.base/sep.c: New file.
141 * gdb.base/sep-proc.c: New file.
142 * gdb.base/sep.exp: New testcase.
143
15f7b60e
MK
1442004-04-09 Mark Kettenis <kettenis@gnu.org>
145
146 * gdb.base/bigcore.exp: Disable on Solaris; no sparse core file
147 support.
148
44f4de1a
AC
1492004-04-05 Andrew Cagney <cagney@redhat.com>
150
151 * gdb.base/sigaltstack.c: New file.
152 * gdb.base/sigaltstack.exp: New file.
153
ef04f396
JB
1542004-04-04 Joel Brobecker <brobecker@gnat.com>
155
156 * gdb.base/foll-fork.exp: Update the expected output for
157 "help set follow-fork-mode", to match a change that was made
158 to the help of this variable on 2004-01-13.
159
d40d2c92
JB
1602004-04-01 Joel Brobecker <brobecker@gnat.com>
161
162 * lib/ada.exp: Add copyright notice.
163 * bar.ads: Likewise.
164 * bar.adb: Likewise.
165 * null_record.adb: Likewise.
166 * null_record.exp: Likewise.
167 * gnat_ada.gpr.in: Likewise. Fix typo in a comment, clarify another.
168
f86ef5a3
JB
1692004-04-01 Joel Brobecker <brobecker@gnat.com>
170
171 * configure.in: Generate gdb.ada/Makefile and gdb.ada/gnat_ada.gpr.
172 * configure: Regenerate.
173
414e70e3
JB
1742004-04-01 Joel Brobecker <brobecker@gnat.com>
175
176 * lib/ada.exp (gdb_compile_ada): Emit UNSUPPORTED if we failed
177 to build the application. Remove the message printed when in
178 verbose mode, redundant with the UNSUPPORTED message above.
179
f0aaee49
JB
1802004-03-31 Joel Brobecker <brobecker@gnat.com>
181
182 * gdb.ada (bar.ads, bar.adb, null_record.adb): New files.
183 * gdb.ada (null_record.exp): New testcase.
184
ac81cb54
JB
1852004-03-31 Joel Brobecker <brobecker@gnat.com>
186
187 * Makefile.in (ALL_SUBDIRS) Add gdb.ada.
188
854af2f7
JB
1892004-03-31 Joel Brobecker <brobecker@gnat.com>
190
191 * gdb.ada: New subdirectory.
192 * gdb.ada/Makefile.in: New file.
193 * gdb.ada/gnat_ada.gpr.in: New file.
194
034cb681
JB
1952004-03-31 Joel Brobecker <brobecker@gnat.com>
196
197 * lib/ada.exp: New file.
198
78a1a894
DJ
1992004-03-24 Daniel Jacobowitz <drow@mvista.com>
200
201 * gdb.base/gdb1250.exp: Use runto {allow-pending}.
202 * lib/gdb.exp (runto, gdb_breakpoint): Support {allow-pending}.
203
4b2b3b3e
AC
2042004-03-22 Andrew Cagney <cagney@redhat.com>
205
206 * gdb.base/watchpoint.exp (test_stepping): Delete bogus XFAILs
207 hiding problems with DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET.
208 Problem identified by Ulrich Weigand.
209
23c73aa3
DC
2102004-03-17 David Carlton <carlton@kealia.com>
211
212 * gdb.cp/classes.exp (test_enums): Refer to PR c++/1588 instead of
213 PR c++/826.
214
d63a86f8
RM
2152004-03-16 Roland McGrath <roland@redhat.com>
216
217 * gdb.base/auxv.exp: New file.
218 * gdb.base/auxv.c: New file, copied verbatim from coremaker2.c.
219
0e02aa50
DC
2202004-03-12 David Carlton <carlton@kealia.com>
221
222 * gdb.cp/pr-1553.exp: New. Tests for PR c++/1553.
223 * gdb.cp/pr-1553.cc: Ditto.
224 * gdb.cp/local.exp (ptype NestedInnerLocal): Add comment, third
225 pass branch.
226
c20b71be
MC
2272004-03-12 Michael Chastain <mec.gnu@mindspring.com>
228
229 * gdb.cp/templates.exp: Accept more template types.
230
c7414a01
MC
2312004-03-09 Michael Chastain <mec.gnu@mindspring.com>
232
233 From Corinna Vinschen with modifications.
234 * gdb.cp/classes.cc (enums1): Add a line to extend scope of
235 local variable obj_with_enum.
236 * gdb.cp/classes.exp (test_enums): Remove TODO note about FAIL
237 results with obj_with_enum.
238
ed69573c
MC
2392004-03-09 Michael Chastain <mec.gnu@mindspring.com>
240
241 * gdb.cp/classes.cc: New file, copied from misc.cc.
242 * gdb.cp/classes.exp: Use classes.cc rather than misc.cc.
243
28301461
MC
2442004-03-09 Michael Chastain <mec.gnu@mindspring.com>
245
246 * gdb.cp/misc.cc: Add copyright notice.
247
1198ecbe
DC
2482004-03-05 David Carlton <carlton@kealia.com>
249
250 * gdb.cp/rtti.exp: Add 'print *obj3' test.
251 * gdb.cp/rtti.h: Update copyright.
252 (namespace n2::n3): New.
253 * gdb.cp/rtti1.cc: (refer_to (n2::n3::C3 *)): New.
254 (n2::n3::func3): New.
255 (main): Call n2::n3::func3.
256 * gdb.cp/rtti2.cc: Update copyright.
257 (n2::create3): New.
258
9e08c470
MK
2592004-03-04 Mark Kettenis <kettenis@gnu.org>
260
261 * gdb.asm/openbsd.inc: Fix typo.
262
4bebc3aa
FF
2632004-03-03 Fred Fish <fnf@redhat.com>
264
265 * gdb.base/pc-fp.exp (get_valueofx): Fix apparent typo to now set
266 "val" instead of unused "size". Update copyright year.
267
6ea9fb37
DJ
2682004-02-29 Daniel Jacobowitz <drow@mvista.com>
269
270 * gdb.cp/ctti.exp: Handle unsigned char type. Expect templates
271 to use unsigned char.
272 * gdb.cp/cttiadd.c, gdb.cp/cttiadd1.c, gdb.cp/cttiadd2.c,
273 gdb.cp/cttiadd3.c: Change type of variable to unsigned char.
274
23b23974
DJ
2752004-02-29 Daniel Jacobowitz <drow@mvista.com>
276
277 * config/gdbserver.exp (gdbserver_gdb_load): Wait for a complete
278 line of output.
279
7574fd53
DJ
2802004-02-28 Daniel Jacobowitz <drow@mvista.com>
281
282 * gdb.base/relocate.c (dummy): Initialize.
283
a195357f
DJ
2842004-02-28 Daniel Jacobowitz <drow@mvista.com>
285
286 * gdb.base/chng-syms.exp: Anchor exit pattern. Allow
287 a breakpoint at exit.
288
72fd54a9
FF
2892004-02-27 Fred Fish <fnf@redhat.com>
290
291 * gdb.base/chng-syms.exp: Add expect condition to match failing
292 case that isn't a timeout.
293
b9d23137
AC
2942004-02-27 Andrew Cagney <cagney@redhat.com>
295
296 * gdb.base/bigcore.exp: Disable on HP/UX, no sparse corefile
297 support.
298
15d208f6 2992004-02-26 Fred Fish <fnf@redhat.com>
d63a86f8 300
15d208f6
FF
301 * gdb.arch/gdb1431.c: Remove.
302 * gdb.arch/gdb1431.s: New file, copy of gdb1291.s
303 * gdb.arch/gdb1431.exp: Use "advance" correctly instead
304 of "until" incorrectly.
305
98f9cd2d
JB
3062004-02-26 J. Brobecker <brobecker@gnat.com>
307
308 * gdb.cp/class2.cc (empty): New class.
309 (refer): New function.
310 (main): Declare an object of type empty and use it.
311 * gdb.cp/class2.exp: Print the value of an object of type empty.
312
9b50c11b
JJ
3132004-02-26 Jeff Johnston <jjohnstn@redhat.com>
314
315 * gdb.base/langs.exp: Update query string to match the
316 new nquery format used for pending breakpoints.
317
0dcd613f
AC
3182004-02-26 Andrew Cagney <cagney@redhat.com>
319
320 Fix PR i18n/1570.
321 * gdb.base/charset.c: Update copyright notice.
322 (main, init_string): Remove the escape character '\e' tests.
323 * gdb.base/printcmds.exp (test_print_all_chars): Ditto.
324 * gdb.base/charset.exp (valid_host_charset): Ditto.
325 * gdb.base/setvar.exp: Ditto.
326
b8a56647
AC
3272004-02-24 Andrew Cagney <cagney@redhat.com>
328
90d59e34
AC
329 * gdb.base/corefile.exp: Use gdb_test_multiple, make "accessing
330 mmapped data in core file" PASS and FAIL messages consistent.
331
b8a56647
AC
332 * gdb.java/jmisc.exp: Use the fully quallified name of "main" when
333 setting a breakpoint. Work around PR java/1565.
334
9f27c604
JJ
3352004-02-23 Jeff Johnston <jjohnstn@redhat.com>
336
337 * lib/gdb.exp (gdb_breakpoint): Update query string to match
338 new nquery format.
339 * gdb.base/pending.exp: Ditto.
340
3224a706
MK
3412004-02-22 Mark Kettenis <kettenis@gnu.org>
342
343 * configure.in: Run stabs tests on *BSD.
344 * configure: Regenerated.
345
41e0a9ca
MK
3462004-02-21 Mark Kettenis <kettenis@gnu.org>
347
348 * gdb.base/bigcore.exp: Bail out on *BSD instead of only NetBSD.
349
1e1b3428
FF
3502004-02-20 Fred Fish <fnf@redhat.com>
351
352 * gdb.base/callfuncs.exp (do_function_calls): Remove extraneous
353 blank in test for "returns short", for consistency with other
354 "returns xxx" tests. Update copyright year.
355
f9a7572a
FF
3562004-02-19 Fred Fish <fnf@redhat.com>
357
358 New testcase for PR breakpoint/1558.
359 * gdb.arch/gdb1558.exp: New file.
360 * gdb.arch/gdb1558.c: New file.
361
b2ce2854
EZ
3622004-02-19 Elena Zannoni <ezannoni@redhat.com>
363
364 * gdb.base/nodebug.exp: Fix typo.
365
e7c9ff01
JB
3662004-02-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
367
368 Committed by Jim Blandy <jimb@redhat.com>.
369
62f4b920
JB
370 * gdb.objc/basicclass.exp: Adapt to fixed return type of printHi.
371
2db536a1
JB
372 * gdb.base/dump.exp: Handle negative offsets in decimal, not hex.
373
e7c9ff01
JB
374 * gdb.base/float.exp: Support s390*-*-* targets.
375
f3205b34
AF
3762004-02-17 Adam Fedor <fedor@gnu.org>
377
378 * gdb.base/gdb1555.exp: New file.
379 * gdb.base/gdb1555-main.c, gdb.base/gdb1555.c: New files.
380
9d62932d
EZ
3812004-02-17 Elena Zannoni <ezannoni@redhat.com>
382
383 * gdb.base/selftest.exp (do_steps_and_nexts): Add comment.
384
344c9711
FF
3852004-02-16 Fred Fish <fnf@redhat.com>
386
387 * gdb.arch/gdb1291.c: Remove
388 * gdb.arch/gdb1291.s: New test input file.
389 * gdb.arch/gdb1291.exp: Expand test to check case that should not
390 fail. Test for correct result, known incorrect result, other
391 failures and timeouts.
392
2d822687
AC
3932004-02-16 Andrew Cagney <cagney@redhat.com>
394
395 * gdb.base/bigcore.exp: New file.
396 * gdb.base/bigcore.c: New file.
397
dac15b66
AC
3982004-02-13 Andrew Cagney <cagney@redhat.com>
399
400 * gdb.mi/mi1-basics.exp, gdb.mi/mi1-break.exp: Delete file.
401 * gdb.mi/mi1-console.exp, gdb.mi/mi1-disassemble.exp: Delete file.
402 * gdb.mi/mi1-eval.exp, gdb.mi/mi1-hack-cli.exp: Delete file.
403 * gdb.mi/mi1-pthreads.exp, gdb.mi/mi1-read-memory.exp: Delete file.
404 * gdb.mi/mi1-regs.exp, gdb.mi/mi1-return.exp: Delete file.
405 * gdb.mi/mi1-simplerun.exp, gdb.mi/mi1-stack.exp: Delete file.
406 * gdb.mi/mi1-stepi.exp, gdb.mi/mi1-symbol.exp: Delete file.
407 * gdb.mi/mi1-until.exp, gdb.mi/mi1-var-block.exp: Delete file.
408 * gdb.mi/mi1-var-child.exp, gdb.mi/mi1-var-cmd.exp: Delete file.
409 * gdb.mi/mi1-var-display.exp, gdb.mi/mi1-watch.exp: Delete file.
410
6bdfc2c4
JJ
4112004-02-11 Jeff Johnston <jjohnstn@redhat.com>
412
413 * gdb.asm/ia64.inc (gdbasm_startup): Make sure first instruction
414 executed is an alloc instruction.
415
87b3ede8
DC
4162004-02-11 David Carlton <carlton@kealia.com>
417
418 * gdb.cp/breakpoint.exp: New.
419 * gdb.cp/breakpoint.cc: New.
420
6e19e2bf
MC
4212004-02-11 Michael Chastain <mec.gnu@mindspring.com>
422
423 Partial fix for PR gdb/1543.
424 * gdb.cp/ambiguous.exp, gdb.cp/annota2.exp, gdb.cp/annota3.exp,
425 gdb.cp/anon-union.exp, gdb.cp/casts.exp, gdb.cp/classes.exp,
426 gdb.cp/cplusfuncs.exp, gdb.cp/ctti.exp, gdb.exp/demangle.exp,
427 gdb.cp/derivation.exp, gdb.cp/exception.exp, gdb.cp/hang.exp,
428 gdb.cp/inherit.exp, gdb.cp/local.exp, gdb.cp/maint.exp,
429 gdb.cp/member-ptr.exp, gdb.cp/method.exp, gdb.cp/misc.exp,
430 gdb.cp/namespace.exp, gdb.cp/overload.exp, gdb.cp/ovldbreak.exp,
431 gdb.cp/psmang.exp, gdb.cp/ref-types.exp, gdb.cp/templates.exp,
432 gdb.cp/userdef.exp, gdb.cp/virtfunc.exp: Remove reference
433 to bug-gdb@prep.ai.mit.edu .
434 * gdb.cp/bs15503.cc, gdb.cp/class2.cc, gdb.cp/cttiadd.cc,
435 gdb.cp/cttiadd1.cc, gdb.cp/cttiadd2.cc, gdb.cp/cttiadd3.cc,
436 gdb.cp/exception.cc, gdb.cp/member-ptr.cc, gdb.cp/namespace1.cc:
437 Likewise.
438
5c5455dc
AC
4392004-02-10 Andrew Cagney <cagney@redhat.com>
440
441 * lib/gdb.exp (gdb_expect_list): Recover from internal-errors
442 using gdb_internal_error_resync.
443
9cf689d7
DJ
4442004-02-09 Daniel Jacobowitz <drow@mvista.com>
445
446 * gdb.threads/thread-specific.exp: Stop early if no threads are
447 found.
448
d2dc51db
MC
4492004-02-09 Michael Chastain <mec.gnu@mindspring.com>
450
451 * gdb.base/pending.exp: Remove extra \n from gdb_test calls.
452
14b1a056
DJ
4532004-02-08 Daniel Jacobowitz <drow@mvista.com>
454
455 * lib/gdb.exp (gdb_breakpoint): Fail on unexpected pending
456 breakpoints.
457
83f66e8f
DJ
4582004-02-07 Daniel Jacobowitz <drow@mvista.com>
459
460 * config/sim.exp (gdb_load): Handle $arg == "".
461 * lib/gdb.exp (gdb_run_cmd): Honor gdb,do_reload_on_run.
462 * gdb.objc/basicclass.exp: Use gdb_run_cmd.
463
30fc0091
EZ
4642004-02-07 Elena Zannoni <ezannoni@redhat.com>
465
466 * gdb.base/maint.exp: Update test to reflect
467 obstack changes.
468
4d806929
JJ
4692004-02-04 Jeff Johnston <jjohnstn@redhat.com>
470
471 * gdb.base/pendshr.c (pendfunc): New function that calls
472 pendfunc1.
473 * gdb.base/pending.c: Call pendfunc instead of pendfunc1.
474
7bfdd688
FF
4752004-02-04 Fred Fish <fnf@redhat.com>
476
477 * gdb.arch/gdb1431.c: Add underbar prefixed version of global
478 function symbols and update copyright years.
479 * gdb.arch/gdb1291.c: Ditto.
480
aaa08ee4
MC
4812004-02-03 Michael Chastain <mec.gnu@mindspring.com>
482
483 * gdb.cp/virtfunc.exp: Accept both "ctor()" and "ctor(void)".
484
dbad7755
MC
4852004-02-03 Michael Chastain <mec.gnu@mindspring.com>
486
487 * gdb.cp/inherit.exp: Accept both "ctor()" and "ctor(void)".
488
ec4646ef
MC
4892004-02-03 Michael Chastain <mec.gnu@mindspring.com>
490
491 * gdb.cp/inherit.exp: Accept output with gcc 3.2-7-rh.
492
1b802196
FF
4932004-02-02 Fred Fish <fnf@redhat.com>
494
495 * gdb.base/bang.exp: Use gdb_run_cmd so this tests works with
496 remote targets. Update copyright years.
497
18fe2033
JJ
4982004-02-02 Jeff Johnston <jjohnstn@redhat.com>
499
500 * lib/gdb.exp (gdb_breakpoint): Add pending breakpoint
501 support.
502 * gdb.base/langs.exp: Fix test which attempts to create
503 breakpoint on non-existent function to handle new pending
504 support.
505 * gdb.base/shlib-call.exp: Use gdb_breakpoint to set
506 a breakpoint.
507 * gdb.base/pending.exp: New test.
508 * gdb.base/pending.c: New file.
509 * gdb.base/pendshr.c: Ditto.
510
8d577d32
DC
5112004-02-02 David Carlton <carlton@kealia.com>
512
513 * gdb.cp/overload.exp: Add overloadNamespace tests.
514 * gdb.cp/overload.cc (dummyClass, dummyInstance): New.
515 (overloadNamespace, XXX): New.
516 (main): Call XXX::marker2.
517
3ad13771
FF
5182004-02-01 Fred Fish <fnf@redhat.com>
519
520 * gdb.base/dump.exp: Use runto_main instead of "runto main".
521 * gdb.base/finish.exp: Ditto.
522 * gdb.base/gcore.exp: Ditto.
523 * gdb.base/huge.exp: Ditto.
524 * gdb.base/info-proc.exp: Ditto.
525 * gdb.base/return2.exp: Ditto.
526 * gdb.threads/gcore-thread.exp: Ditto.
527
44c75849
DJ
5282004-02-01 Daniel Jacobowitz <drow@mvista.com>
529
530 * gdb.threads/thread-specific.exp: Add missing anchor to regexp.
531
005bc093
MK
5322004-02-01 Mark Kettenis <kettenis@gnu.org>
533
534 * gdb.base/fileio.c (test_open): Replace O_RDONLY with O_RDWR such
535 that opening the file succeeds on OpenBSD.
536
c47cebdb
DJ
5372004-02-01 Daniel Jacobowitz <drow@mvista.com>
538
539 * gdb.threads/thread-specific.c: New file.
540 * gdb.threads/threads-specific.exp: New test script.
541 * lib/gdb.exp (gdb_test_multiple): Allow user patterns access
542 to expect_out.
543
5a01311c
MK
5442004-02-01 Mark Kettenis <kettenis@gnu.org>
545
546 * gdb.base/call-ar-st.exp: Call get_debug_format. Remove xfail on
547 sparc*-*-solaris* into a kfail PR gdb/1539 on sparc-*-* for stabs
548 only on the "print_small_structs from print_long_arg_list" test.
549
ce22a4f1
DJ
5502004-02-01 Daniel Jacobowitz <drow@mvista.com>
551
552 * gdb.base/completion.exp: Kill a stray backslash.
553
554 From Jim Ingham <jingham@apple.com>:
555 * gdb.base/completion.exp: Test that "complete file ./gdb.base/compl"
556 agrees with the result from sending a tab.
557
abbab9d3
DJ
5582004-01-31 Daniel Jacobowitz <drow@mvista.com>
559
560 * gdb.base/chng-syms.exp: Remove stray newline.
561
53904d1e
MK
5622004-01-31 Mark Kettenis <kettenis@gnu.org>
563
564 * gdb.asm/asm-source.exp: Set asm-note to "openbsd" for
565 *-*-openbsd*.
566 * gdb.asm/openbsd.inc: New file.
567
3a4b3aac
MK
5682004-01-30 Mark Kettenis <kettenis@gnu.org>
569
570 * gdb.asm/asm-source.exp: Strip -Wl, from link-flags. Don't
571 append -static to link-flags for *-*-freebsd*, *-*netbsd* and
572 *-*solaris2*. Remove commented out default settings for
573 asm-flags. Replace gdb_compile with target_link.
574
ebac27b4
MC
5752004-01-29 Michael Chastain <mec.gnu@mindspring.com>
576
577 * gdb.cp/inherit.exp: Rewrite. Use gdb_test_multiple and gdb
578 for all tests. Remove old hp-ux and cygnus xfail cases.
579
d8679d84
PH
5802004-01-29 Paul N. Hilfinger <Hilfinger@gnat.com>
581
582 * gdb.base/chng-syms.exp: New file.
583 * gdb.base/chng-syms.c: New file.
584
0a55bc22
MC
5852004-01-24 Michael Chastain <mec.gnu@mindspring.com>
586
587 * gdb.cp/local.exp: Rewrite "ptype Local". Add "ptype l".
588 Provide arms for current output in all my configurations.
589
94b8e876
MC
5902004-01-24 Michael Chastain <mec.gnu@mindspring.com>
591
592 * lib/compiler.c: Add hp_cc_compiler and hp_aCC_compiler.
593 * lib/compiler.cc: Likewise.
594 * lib/gdb.exp (get_compiler_info): Always call gdb_compile to
595 get the right preprocessor. Eval the output directly. Remove
596 special tests for hp_cc_compiler and hp_aCC_compiler. Remove
597 hp_f77_compiler and hp_f90_compiler completely.
598 (gdb_preprocess): Delete.
599 (get_compiler): Delete.
600
7cf03d44
MK
6012004-01-24 Mark Kettenis <kettenis@gnu.org>
602
603 * gdb.base/charset.c, gdb.base/dump.c, gdb.base/huge.c: Include
604 <string.h>.
605
68b6dce9
NR
6062004-01-24 Nick Roberts <nick@nick.uklinux.net>
607
608 * gdb.mi/mi-stack.exp: Update copyright.
609
b368761e
DC
6102004-01-23 David Carlton <carlton@kealia.com>
611
612 * gdb.cp/rtti.exp: Don't include full path in ${srcfile}. Add
613 test for cp_lookup_transparent_type.
614 * gdb.cp/rtti1.cc: Update copyright. Add n2::func and refer_to;
615 call them.
616
f2061b53
DJ
6172004-01-23 Daniel Jacobowitz <drow@mvista.com>
618
619 * gdb.mi/mi-var-child.exp: Update copyright year. Move new test
620 after -var-update.
621
37fc574a
DC
6222004-01-23 David Carlton <carlton@kealia.com>
623
624 * gdb.cp/namespace.cc (C::ensureRefs): New.
625 * gdb.cp/namespace1.cc (C::ensureOtherRefs): New.
626
8e94b928
NR
6272004-01-20 Nick Roberts <nick@nick.uklinux.net>
628
629 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Test for
630 case "-stack-list-locals 2".
631 * gdb.mi/mi-var-child.exp: Test for case
632 "-var-list-children --all-values NAME".
633
997b0952
MC
6342004-01-18 Michael Chastain <mec.gnu@mindspring.com>
635
636 * gdb.cp/local.exp: Accept correct output for gcc v3 -gstabs+.
637
52470da3
MK
6382004-01-18 Mark Kettenis <kettenis@gnu.org>
639
7049b4b8
MK
640 * gdb.base/fileio.exp: Add "$gdb_prompt $" anchors to patterns
641 used with gdb_test_multiple.
642
52470da3
MK
643 * gdb.base/gdb1476.exp: Accept alternat pattern for failed memory
644 read at address 0. This fixes PR testsuite/1504.
645
da6012e5
DJ
6462004-01-18 Daniel Jacobowitz <drow@mvista.com>
647
648 * config/gdbserver.exp (gdbserver_gdb_load): Rename from gdb_load.
649 Remove downloading, guessing the host executable, the calls to
650 gdb_file_cmd and gdb_target_cmd, and "load" support.
651 (infer_host_exec): New function broken out from gdb_load.
652 (gdb_load): New wrapper for gdbserver_gdb_load.
653 * lib/mi-support.exp (mi_gdb_target_cmd): New function, based on
654 gdb_target_cmd. Use -target-select.
655 (mi_gdb_file_cmd): New function, broken out from mi_gdb_load.
656 Download binaries to the host. Clear last_mi_remote_file when
657 we load a new binary.
658 (mi_gdb_load): Call mi_gdb_file_cmd. If gdbserver.exp is loaded,
659 call gdbserver_gdb_load and mi_gdb_target_cmd.
660
32c70722
MC
6612004-01-17 Michael Chastain <mec.gnu@mindspring.com>
662
663 * gdb.cp/templates.exp: Accept more spaces with "<foo, ?bar>"
664 type patterns.
665
b0cecf36
MC
6662004-01-17 Michael Chastain <mec.gnu@mindspring.com>
667
668 * gdb.cp/templates.exp: Fix typo in test name of
669 "print Foo<volatile char*>::foo".
670
4120d7e6
MC
6712004-01-15 Michael Chastain <mec.gnu@mindspring.com>
672
673 * gdb.base/setvar.exp: Remove setup_xfail for hppa*-*-*11*.
674
f679e530
BE
6752004-01-16 Ben Elliston <bje@wasabisystems.com>
676
677 * gdb.arch/Makefile.in (MISCELLANEOUS): Remove.
678 (clean mostlyclean): Remove empty rm.
679
091c48f6
MC
6802004-01-15 Michael Chastain <mec.gnu@mindspring.com>
681
682 * gdb.base/setvar.exp: Add copyright years.
683
3e5fc8d2
DC
6842004-01-14 David Carlton <carlton@bactrian.org>
685
686 * gdb.cp/rtti.exp: Update copyright. KFAIL test with repect to
687 PR c++/1511 and update coment.
688 * gdb.cp/templates.exp: Update patterns to match current output.
689 If changes involve something other than whitespace, KFAIL
690 w.r.t. PR c++/1512 or PR c++/931 as appropriate.
691
63d06c5c
DC
6922004-01-14 David Carlton <carlton@kealia.com>
693
694 * gdb.cp/namespace.exp: Add tests involving classes defined within
695 namespaces.
696 * gdb.cp/namespace.cc (C::CClass): New.
697 * gdb.cp/namespace1.cc (C::OtherFileClass): New.
698
a51dab88
EZ
6992004-01-14 Elena Zannoni <ezannoni@redhat.com>
700
701 * gdb.base/sepdebug.exp: Bail out of the test if we don't know
702 what debug info we have. Print a better message if something goes
703 wrong while producing the separate debug info file.
704
a476ccc9
MC
7052004-01-14 Michael Chastain <mec.gnu@mindspring.com>
706
707 * gdb.base/callfuncs.c: Remove explicit declaration of malloc.
708
f453692c
MC
7092004-01-14 Michael Chastain <mec.gnu@mindspring.com>
710
711 * gdb.base/callfuncs.c: Add copyright notice.
712
f40063a5
MC
7132004-01-13 Michael Chastain <mec.gnu@mindspring.com>
714
715 * gdb.cp/derivation.exp: Add XFAIL for bug with protected
716 inheritance. PR gdb/1498, PR gcc/13539.
717
19ac3974
EZ
7182004-01-13 Elena Zannoni <ezannoni@redhat.com>
719
720 * gdb.threads/gcore-thread.exp: Prefix name of binary with
721 test specific name.
722 * gdb.mi/gdb669.exp: Ditto.
723 * gdb.mi/mi-pthreads.exp: Ditto.
724 * gdb.mi/mi1-pthreads.exp: Ditto.
725 * gdb.mi/mi2-pthreads.exp: Ditto.
726
56c97c6e
MC
7272004-01-12 Michael Chastain <mec.gnu@mindspring.com>
728
729 * gdb.cp/member-ptr.cc: Add copyright notice.
730
a0644324
MC
7312004-01-12 Michael Chastain <mec.gnu@mindspring.com>
732
733 * gdb.cp/member-ptr.exp: Use gdb_test, gdb_test_multiple. Add
734 some patterns for recent versions of gcc and hpacc. Delete
735 calls to setup_xfail for hppa*-*-*. Delete redundant tests.
736 Delete tests that access a NULL pointer-to-member-data. This
737 script is still disabled for gcc.
738
32fabe09
EZ
7392004-01-12 Elena Zannoni <ezannoni@redhat.com>
740
741 * gdb.mi/mi2-basics.exp: Make sure that full pathnames are
742 escaped correctly.
743
1f8a6abb
EZ
7442004-01-12 Elena Zannoni <ezannoni@redhat.com>
745
746 * gdb.base/sepdebug.exp: New file.
747 * gdb.base/sepdebug.c: New file.
748 * lib/gdb.exp (separate_debug_filename): New procedure.
749 (gdb_gnu_strip_debug): New procedure.
750
48efe704
AC
7512004-01-12 Andrew Cagney <cagney@redhat.com>
752
753 * gdb.mi/ChangeLog: Delete file. Renamed to ...
754 * gdb.mi/ChangeLog-1999-2003: New file.
755
a9415475
AC
7562004-01-12 Andrew Cagney <cagney@redhat.com>
757
758 * gdb.base/fileio.exp: Update copyright year. On GNU/Linux, for
759 "Renaming a directory to a non-empty directory returns ENOTEMPTY
760 or EEXIST", treat EBUSY as an XFAIL.
761
83b8cf9d
MC
7622004-01-11 Michael Chastain <mec.gnu@mindspring.com>
763
764 * gdb.base/scope.exp: Remove obsolete setup_xfail for
765 hp_cc_compiler.
766
9939d2a8
MC
7672004-01-10 Michael Chastain <mec.gnu@mindspring.com>
768
769 * gdb.cp/classes.exp: Remove old "(obsolescent gcc or gdb)"
770 decorations.
771
1ff8cadf
MC
7722004-01-10 Michael Chastain <mec.gnu@mindspring.com>
773
774 * gdb.cp/virtfunc.exp: Remove old "(obsolescent gcc or gdb)"
775 and "(aCC)" decorations. Remove obsolete doco about old
776 test results.
777
6fa9022e
MC
7782004-01-09 Michael Chastain <mec.gnu@mindspring.com>
779
780 * gdb.cp/exception.exp: Fix typo in doco.
781
209721fe
MK
7822004-01-09 Mark Kettenis <kettenis@gnu.org>
783
784 * gdb.base/gdb1476.exp: Fix typo.
785
ef11303e
MC
7862004-01-09 Michael Chastain <mec.gnu@mindspring.com>
787
788 * gdb.hp/gdb.aCC/exception.exp: Re-create as a nearly empty
789 file.
790
041ab88c
MC
7912004-01-09 Michael Chastain <mec.gnu@mindspring.com>
792
793 * gdb.cp/exception.cc: Change <iostream.h> to <iostream>.
794 * gdb.cp/exception.exp: Use gdb test, gdb_test_multiple.
795 Use gdb_compile. Remove restriction on gcc. Add some patterns
796 for recent version of gdb. Delete second half, which was a copy
797 of the first half with different build flags. This test is
798 still disabled because it is still not ready for production.
799
e36d075a
MC
8002004-01-08 Michael Chastain <mec.gnu@mindspring.com>
801
802 * gdb.cp/exception.cc: Add copyright notice.
803 * gdb.cp/exception.exp: Add a notice that this file is broken
804 because of line number changes caused by addition of copyright
805 notice.
806
42b190ad
MC
8072004-01-08 Michael Chastain <mec.gnu@mindspring.com>
808
809 * gdb.cp/exception.cc: Renamed from gdb.hp/gdb.aCC/exception.cc.
810 * gdb.cp/exception.exp: Renamed from gdb.hp/gdb.aCC/exception.exp.
811
8f25f06b
MC
8122004-01-08 Michael Chastain <mec.gnu@mindspring.com>
813
814 * gdb.cp/classes.exp: Accept gnu abi 2.
815 * gdb.cp/derivation.exp: Likewise.
816 * gdb.cp/overload.exp: Likewise.
817 * gdb.cp/virtfunc.exp: Likewise.
818
06ded8b8
MC
8192004-01-08 Michael Chastain <mec.gnu@mindspring.com>
820
821 * gdb.mi/pthreads.c (done_making_threads): Remove extraneous
822 semicolon after end of function.
823
77c26ae3
MC
8242004-01-07 Michael Chastain <mec.gnu@mindspring.com>
825
826 * gdb.cp/bs15503.cc: Include <iostream>, not <iostream.h>.
827 * gdb.cp/bs15503.exp: Remove hp-only restriction. Use modern
828 boilerplate code for compiling and running the program under
829 test. Add some string method tests.
830
20757486
MC
8312004-01-07 Michael Chastain <mec.gnu@mindspring.com>
832
833 * gdb.cp/bs15503.cc: Add copyright notice.
834 * gdb.cp/bs15503.exp: Adjust line number.
835
0fd3b503
MC
8362004-01-07 Michael Chastain <mec.gnu@mindspring.com>
837
838 * gdb.hp/gdb.defects/bs15503.exp: Renamed to gdb.cp/bs15503.exp.
839 * gdb.hp/gdb.defects/bs15503.cc: Renamed to gdb.cp/bs15503.cc.
840
10d1bea8
MC
8412004-01-07 Michael Chastain <mec.gnu@mindspring.com>
842
843 * gdb.base/funcargs.exp: Remove obsolete setup_xfail for
844 hp_cc_compiler.
845
2789202a
MC
8462004-01-07 Michael Chastain <mec.gnu@mindspring.com>
847
848 * gdb.cp/cttiadd.c: Add a marker for gdb_get_line_number.
849 * gdb.cp/ctti.exp: Use the marker instead of "next".
850 With gcc, run further before bailing.
851
b862f14c
MC
8522004-01-07 Michael Chastain <mec.gnu@mindspring.com>
853
854 * gdb.cp/cttiadd.cc: Add copyright notice.
855 * gdb.cp/cttiadd1.cc: Likewise.
856 * gdb.cp/cttiadd2.cc: Likewise.
857 * gdb.cp/cttiadd3.cc: Likewise.
858
96da2469
MC
8592004-01-07 Michael Chastain <mec.gnu@mindspring.com>
860
861 * gdb.cp/ctti.exp: Partial rewrite. Call gdb_compile properly.
862 Use gdb_test, gdb_test_multiple. Use floating-point values that
863 have exact representations in IEEE-ish formats.
864
053248ff
MC
8652004-01-07 Michael Chastain <mec.gnu@mindspring.com>
866
867 * gdb.base/constvars.exp: Do not force lang=c++ if using HP
868 compilers. Delete duplicate call to get_compiler_info.
869 (local_compiler_xfail_check): setup_xfail if $hp_cc_compiler.
870 * gdb.base/volatile.exp: Likewise.
871
84acecdd
MK
8722004-01-07 Mark Kettenis <kettenis@gnu.org>
873
874 * gdb.base/gdb1476.exp: Only run the tests if we can't read the
875 memory at address 0.
876
fe11a27f
MC
8772004-01-07 Michael Chastain <mec.gnu@mindspring.com>
878
879 * gdb.stabs/weird.exp: Use hp_cc_compiler and hp_aCC_compiler
880 to test for hp-ux assembler. Fix copyright years.
881
60ad077b
AC
8822004-01-07 Andrew Cagney <cagney@redhat.com>
883
884 * gdb.base/fileio.c (strerrno): Add "EBUSY".
885
1c9b8f33
AC
8862004-01-07 Andrew Cagney <cagney@redhat.com>
887
888 * gdb.base/fileio.c (test_open): Do not pass S_IWUSR to "open"
889 when creating the read-only file. From analysis by Roland McGrath
890 and Elena Zannoni.
891
753ccc7a
MC
8922004-01-06 Michael Chastain <mec.gnu@mindspring.com>
893
894 * gdb.cp/namespace.exp: Call get_compiler_info with "c++".
895
eca3e36b
MC
8962004-01-06 Michael Chastain <mec.gnu@mindspring.com>
897
898 * gdb.base/cvexpr.c: Be type-safe with function pointers and
899 data pointers.
900
f8d4bac4
MC
9012004-01-06 Michael Chastain <mec.gnu@mindspring.com>
902
903 * gdb.cp/m-static.exp: Compile one source file at a time.
904 Delete unused call to get_compiler_info.
905
9b4e0f94
MC
9062004-01-06 Michael Chastain <mec.gnu@mindspring.com>
907
908 * gdb.base/call-ar-st.exp: Delete explicit reference to ${binfile}.ci.
909 * gdb.base/call-rt-st.exp: Likewise.
910 * gdb.base/nodebug.exp: Likewise.
911 * gdb.base/volatile.exp: Likewise.
912 * gdb.cp/ref-types.exp: Likewise.
913 * gdb.cp/templates.exp: Likewise.
914
023c1024
MK
9152004-01-05 Mark Kettenis <kettenis@gnu.org>
916
917 * gdb.base/gdb1476.exp, gdb.base/gdb1476.c: New files.
918
19703c4a
MC
9192004-01-05 Michael Chastain <mec.gnu@mindspring.com>
920
921 * gdb.cp/funcargs.exp: Delete special timeout of 240 seconds for
922 hppa*-hp-hpux*.
923
18b67037
MK
9242004-01-04 Mark Kettenis <kettenis@gnu.org>
925
ba6219c8
MK
926 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
927 x86_64-*-*.
928
18b67037
MK
929 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
930 sparc64-*-* and sparc*-solaris2*.
931
1bfbbb9d
MK
9322004-01-04 Mark Kettenis <kettenis@gnu.org>
933
934 * gdb.base/structs.exp: Remove ${testfile} from "zed L<n> for
935 return ${tests}" test. The ${tests} already mentions the
936 filename.
937
06846494
MC
9382004-01-02 Michael Chastain <mec.gnu@mindspring.com>
939
940 * gdb.cp/local.exp: Accept gcc abi 2.
941
3b0cb202
MC
9422004-01-02 Michael Chastain <mec.gnu@mindspring.com>
943
944 * gdb.cp/templates.exp: Accept gcc abi 2.
945
0643ec3f
MC
9462004-01-02 Michael Chastain <mec.gnu@mindspring.com>
947
948 * lib/compiler.cc: Remove supports_template_debugging.
949 * gdb.cp/templates.exp: Do not test supports_template_debugging.
950
d231d0b1
MC
9512004-01-01 Michael Chastain <mec.gnu@mindspring.com>
952
953 * gdb.cp/namespace.exp: Accept gcc abi 2.
954
44ffb27c
MC
9552004-01-01 Michael Chastain <mec.gnu@mindspring.com>
956
957 * gdb.cp/method.exp: Accept gcc abi 2.
958
184ad485
MC
9592004-01-01 Michael Chastain <mec.gnu@mindspring.com>
960
961 * gdb.cp/classes.exp: Generate identical results as old version.
962 * gdb.cp/derivation.exp: Likewise.
963 * gdb.cp/overload.exp: Likewise.
964 * gdb.cp/virtfunc.exp: Likewise.
965
116f09e7
MC
9662004-01-01 Michael Chastain <mec.gnu@mindspring.com>
967
968 * gdb.cp/virtfunc.exp: Modify some patterns to avoid a
969 mysterious bug with sourceware version of expect.
970
b1379776
MC
9712004-01-01 Michael Chastain <mec.gnu@mindspring.com>
972
973 * gdb.cp/overload.exp: Rewrite. Clean up patterns to match
974 current versions of gcc, including gcc abi 2. Remove gratuitous
975 restart of test program. Use gdb_test_multiple and gdb_test for
976 all tests. Add patterns to xfail missing "const" in "const char *"
977 and kfail PR gdb/1155.
978
6b7a4c0e
MC
9792004-01-01 Michael Chastain <mec.gnu@mindspring.com>
980
981 * gdb.cp/derivation.exp: Rewrite. Clean up patterns to match
982 current versions of gcc, including gcc abi 2. Remove gratuitous
983 restart of test program. Use gdb_test_multiple and gdb_test for
984 all tests. Add patterns to kfail PR gdb/1498.
985
51615d72
MC
9862003-12-31 Michael Chastain <mec.gnu@mindspring.com>
987
988 * gdb.cp/virtfunc.exp: Rewrite. Clean up patterns to match
989 current versions of gcc, including gcc abi 2. Use "breakpoint"
990 and "continue" instead of restarting the target program. Use
991 gdb_test_multiple and gdb_test for all tests.
992
7b79a9d7
MK
9932004-01-01 Mark Kettenis <kettenis@gnu.org>
994
995 * gdb.asm/asm-source.exp: Update copyright year. Link statically
996 for *-*-solaris2*.
997
1cd3489f
MC
9982003-12-31 Michael Chastain <mec.gnu@mindspring.com>
999
1000 * gdb.cp/classes.exp: Rewrite. Clean up patterns to match
1001 current versions of gcc, including gcc abi 2. Use "breakpoint"
1002 and "continue" instead of restarting the target program several
1003 times. Use gdb_test_multiple and gdb_test for all tests.
1004
850742db
MC
10052003-12-18 Michael Chastain <mec.gnu@mindspring.com>
1006
1007 * gdb.base/sect-cmd.exp: Handle compiling test case from multiple
1008 source files.
1009
eb4bbda8
MC
10102003-12-16 Michael Chastain <mec.gnu@mindspring.com>
1011
1012 * gdb.base/environ.exp: Handle compiling test case from multiple
1013 source files.
1014
e42c7771
MC
10152003-12-16 Michael Chastain <mec.gnu@mindspring.com>
1016
1017 * gdb.base/structs.exp: Call gdb_exit as well as gdb_start.
1018
80e4b428
JB
10192003-12-17 Jim Blandy <jimb@redhat.com>
1020
5f06973a
JB
1021 * gdb.base/freebpcmd.c: Add copyright notice.
1022
80e4b428
JB
1023 * gdb.base/freebpcmd.exp: Mark the interesting failure as known.
1024
0ab84fb7
MC
10252003-12-16 Michael Chastain <mec.gnu@mindspring.com>
1026
1027 * gdb.base/maint.exp: Add generic FAIL patterns to prevent timeouts.
1028
1b3bb3d0
JB
10292003-12-13 Jim Blandy <jimb@redhat.com>
1030
1031 * gdb.base/freebpcmd.exp, gdb.base/freebpcmd.c: New test.
1032
3a4c9371
KB
10332003-12-12 Kevin Buettner <kevinb@redhat.com>
1034
1035 * gdb.asm/frv.inc: New file.
1036 * gdb.asm/asm-source.exp: Add frv-*-* as a supported target.
1037
a1dea79a
FF
10382003-12-09 Fred Fish <fnf@redhat.com>
1039
1040 * gdb.base/break.c (marker1, marker2, marker3, marker4): Move
1041 functions to break1.c and leave prototypes behind. Add more
1042 "set breakpoint NN here" comments.
1043 * gdb.base/break1.c: New file.
1044
1045 * gdb.base/break.exp: Handle compiling test case from multiple
1046 source files and change source file references as needed.
1047 * gdb.base/completion.exp: Ditto.
1048 * gdb.base/condbreak.exp: Ditto.
1049 * gdb.base/define.exp: Ditto.
1050 * gdb.base/ena-dis-br.exp: Ditto.
1051 * gdb.base/info-proc.exp: Ditto.
1052 * gdb.base/maint.exp: Ditto.
1053 * gdb.base/until.exp: Ditto.
1054
1055 * gdb.base/condbreak.exp: Use bp_locationNN variables instead of
1056 hardcoded line numbers.
1057 * gdb.base/define.exp: Ditto.
1058 * gdb.base/ena-dis-br.exp: Ditto.
1059 * gdb.base/maint.exp: Ditto.
1060 * gdb.base/until.exp: Ditto.
1061
1062 * gdb.base/completion.exp: Use "break1" for completion tests since
1063 "break" is no longer a unique prefix.
1064
5266b69c
AC
10652003-12-06 Andrew Cagney <cagney@redhat.com>
1066
1067 * gdb.base/structs.exp (test_struct_returns): When applicable, set
1068 "return_value_unimplemented". When an unimplemented struct return
1069 architecture, report incorrect values as a KFAIL
1070
374451f0
MC
10712003-12-05 Michael Chastain <mec.gnu@mindspring.com>
1072
1073 * gdb.cp/rtti.exp: Accept new wording of warning from
1074 cp_lookup_rtti_type.
1075
ba9b20a7
MC
10762003-12-05 Michael Chastain <mec.gnu@mindspring.com>
1077
1078 Partial fix for PR testsuite/1456.
1079 * gdb.base/scope.exp (test_at_main): Replace references to
1080 gcc_compiled with calls to test_compiler_info.
1081 (test_at_foo): Likewise.
1082 (test_at_bar): Likewise.
1083
b74b6d0b
MC
10842003-12-04 Michael Chastain <mec.gnu@mindspring.com>
1085
1086 Partial fix for PR testsuite/1456.
1087 * gdb.base/so-impl-ld.exp: Replace reference to gcc_compiled with call
1088 to test_compiler_info.
1089
ccfa3402
MC
10902003-12-03 Michael Chastain <mec.gnu@mindspring.com>
1091
1092 * gdb.base/so-impl-ld.exp: Update copyright notice.
1093
f6246aba
MC
10942003-12-02 Michael Chastain <mec.gnu@mindspring.com>
1095
1096 Partial fix for PR testsuite/1456.
1097 * gdb.base/mips_pro.exp: Replace references to gcc_compiled with calls
1098 to test_compiler_info.
1099
13ae734a
MC
11002003-11-28 Michael Chastain <mec.gnu@mindspring.com>
1101
1102 * gdb.objc/objcdecode.exp: Match and KFAIL the output that comes
1103 from current versions of gdb. Clean up regular expressions.
1104 Delete redundant timeout case.
1105
d8e1cdee
MC
11062003-11-28 Michael Chastain <mec.gnu@mindspring.com>
1107
1108 * gdb.objc/nondebug.exp: Match and KFAIL the output that comes
1109 from current versions of gdb. Clean up regular expressions.
1110 Delete redundant timeout case.
1111
96457b64
MC
11122003-12-01 Michael Chastain <mec.gnu@mindspring.com>
1113
1114 Partial fix for PR testsuite/1456.
1115 * gdb.base/callfuncs.exp (do_function_calls): Replace reference to
1116 gcc_compiled with call to test_compiler_info.
1117
f35309fc
MC
11182003-11-30 Michael Chastain <mec.gnu@mindspring.com>
1119
1120 Partial fix for PR testsuite/1456.
1121 * gdb.base/list.exp (test_list_function): Delete unused declaration
1122 of gcc_compiled.
1123
d7afdf9b
MC
11242003-11-29 Michael Chastain <mec.gnu@mindspring.com>
1125
1126 Partial fix for PR testsuite/1456.
1127 * gdb.base/complex.exp: Replace reference to gcc_compiled with
1128 call to test_compiler_info.
1129
71507b56
MK
11302003-11-29 Mark Kettenis <kettenis@gnu.org>
1131
1132 * gdb.asm/asm-source.exp: Initialize asm-note to "empty". Set
1133 asm-note to "netbsd" for *-*-netbsdelf* and x86_64-*-netbsd*. Use
1134 it to create the appropriate note.inc.
1135 * gdb.asm/asmsrc1.s: Include "note.inc".
1136 * gdb.asm/netbsd.inc: New file.
1137 * gdb.asm/empty.inc: New file.
1138
f81f93f7
MC
11392003-11-28 Michael Chastain <mec.gnu@mindspring.com>
1140
1141 Partial fix for PR testsuite/1456.
1142 * gdb.base/constvars.exp: Replace references to gcc_compiled with
1143 calls to test_compiler_info.
1144
9a77938e
MC
11452003-11-27 Michael Chastain <mec.gnu@mindspring.com>
1146
1147 Partial fix for PR testsuite/1456.
1148 * gdb.base/volatile.exp: Replace references to gcc_compiled with
1149 calls to test_compiler_info.
1150
e8367dc7
MK
11512003-11-27 Mark Kettenis <kettenis@gnu.org>
1152
1153 * gdb.base/structs.exp: Use i*86-*-* instead of i686-*-* as a
1154 pattern for the KFAILs.
1155
526c61ee
AF
11562003-11-25 Adam Fedor <fedor@gnu.org>
1157
1158 * gdb.objc/objcdecode.exp: Test for PR objc/1238.
1159 * gdb.objc/objcdecode.m: New file.
1160
28f2d600
AF
11612003-11-25 Adam Fedor <fedor@gnu.org>
1162
1163 * gdb.objc/nondebug.exp: Test for PR objc/1236.
1164 * gdb.objc/nondebug.m: New file.
1165
a3895cee
BE
11662003-11-26 Ben Elliston <bje@wasabisystems.com>
1167
1168 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
1169 NetBSD as it does on FreeBSD. Modelled on a similar change by
1170 Mark Kettenis on 2003-05-30.
1171 (link-flags): Set to "--entry _start" regardless of target.
1172 Special linker flags are to be appended to $link-flags.
1173 * gdb.asm/mips.inc (gdbasm_startup): Remove __start label.
1174
c9f2c8a3
MC
11752003-11-25 Michael Chastain <mec.gnu@mindspring.com>
1176
1177 * gdb.cp/method.exp: Accept output of new demangler.
1178
15a0587a 11792003-11-25 Michael Chastain <mec.gnu@mindspring.com>
f4e8b6f3
MC
1180
1181 * gdb/class2.exp: New file.
1182 * gdb/class2.cc: New file.
1183
3c00b570
MC
11842003-11-25 Michael Chastain <mec.gnu@mindspring.com>
1185
1186 * gdb.cp/templates.exp (test_ptype_of_templates): Accept output
1187 of new demangler.
1188
7027acc7
MK
11892003-11-23 Mark Kettenis <kettenis@gnu.org>
1190
1191 * gdb.arch/i386-unwind.exp: Use gdb_run_cmd and gdb_expect instead
1192 of gdb_test "run".
1193
b0e1598a
MK
11942003-11-23 Mark Kettenis <kettenis@gnu.org>
1195
1196 * gdb.arch/i386-unwind.exp: Don't use runto_main. Change
1197 "continue" into "run".
1198
4d9eda44
MC
11992003-11-23 Michael Chastain <mec.gnu@mindspring.com>
1200
1201 Partial fix for PR testsuite/1456.
1202 * gdb.cp/ambiguous.exp: Replace reference to gcc_compiled with
1203 call to test_compiler_info.
1204 * gdb.cp/ctti.exp: Likewise.
1205 * gdb.cp/derivation.exp: Likewise.
1206 * gdb.cp/member-ptr.exp: Likewise.
1207 * gdb.cp/virtfunc.exp (test_virtual_calls): Remove unused
1208 reference to gcc_compiled.
1209
12102003-11-23 Michael Chastain <mec.gnu@mindspring.com>
b729099e
MC
1211
1212 Fix PR testsuite/1463.
1213 * gdb.base/structs.exp (start_structs_test): Call
1214 get_debug_format before using the debug format.
1215
d422fe19
AC
12162003-11-22 Andrew Cagney <cagney@redhat.com>
1217
1218 * lib/gdb.exp (gdb_test_multiple): Add simple example.
1219 * gdb.base/structs.exp: Use gdb_test_multiple.
1220
039cf96d
AC
12212003-11-20 Andrew Cagney <cagney@redhat.com>
1222
6882279b
AC
1223 * gdb.base/structs.exp: Handle and recover from internal errors.
1224 Replace "foo${n}" with "foo<n>" in test messages.
1225
e53890ae
AC
1226 * gdb.base/structs.exp: Update copyright. Rewrite.
1227 * gdb.base/structs.c: Update copyright. Rewrite.
1228
2b211c59
AC
1229 * lib/gdb.exp (gdb_internal_error_resync): Issue a perror when the
1230 resync count exceeded.
d63a86f8 1231
039cf96d
AC
1232 * gdb.base/maint.exp: Use gdb_internal_error_resync to recover
1233 from the internal error.
1234 * lib/gdb.exp (gdb_internal_error_resync): New procedure.
1235 Original from Jim Blandy.
1236 (gdb_test_multiple): Use gdb_internal_error_resync.
2b211c59 1237
eac98b22
AC
12382003-11-19 Andrew Cagney <cagney@redhat.com>
1239
1240 * gdb.base/callfuncs.exp: Change the XFAILed descriptor test to a
1241 KFAIL.
1242
67455b2a
MK
12432003-11-17 Mark Kettenis <kettenis@gnu.org>
1244
1245 New testcase for PR backtrace/1435.
1246 * gdb.arch/i386-unwind.exp: New file.
1247 * gdb.arch/i386-unwind.c: New file.
1248
853d6e5b
AC
12492003-11-17 Andrew Cagney <cagney@redhat.com>
1250
1251 * lib/gdb.exp (compiler_info): New global.
1252 (test_compiler_info): New function.
1253 (get_compiler_info): Set compiler_info.
1254 * lib/compiler.c, lib/compiler.cc: Add copyright. When GNUC, set
1255 "compiler_info" to gcc-<major>-<minor>.
1256
38cf6e11
MC
12572003-11-15 Michael Chastain <mec.gnu@mindspring.com>
1258
1259 * gdb.trace/configure: Remove.
1260
a50d3602
EZ
12612003-11-13 Elena Zannoni <ezannoni@redhat.com>
1262
1263 * gdb.base/break.c: Add comments to aid finding line numbers for
d63a86f8 1264 breakpoints.
a50d3602
EZ
1265 * gdb.base/break.exp: Remove all references to explicit line
1266 numbers.
1267
d9407aaa
NC
12682003-11-11 Nick Clifton <nickc@redhat.com>
1269
1270 * gdb.base/shreloc.exp: Do not run for targets which do not
1271 support shared objects.
1272
db488fc1
CV
12732003-11-10 Corinna Vinschen <vinschen@redhat.com>
1274
1275 * gdb.base/fileio.exp: Drop tests for nointerrupts and noinferiorio.
1276 Don't run tests if nofileio flag is given.
1277
6a90a18e
EZ
12782003-11-07 Elena Zannoni <ezannoni@redhat.com>
1279
1280 * gdb.cp/annota3.exp: Make sure we can match 'Hardware watchpoint'
1281 as well as 'Watchpoint'.
1282
0b915e9c
EZ
12832003-11-06 Elena Zannoni <ezannoni@redhat.com>
1284
1285 Reported by Jim Ingham <jingham@apple.com>:
1286 * gdb.base/annota1.exp: Match at least one occurrence of the
1287 signal handler annotation.
1288
d7e4b55f
EZ
12892003-11-06 Elena Zannoni <ezannoni@redhat.com>
1290
1291 * gdb.cp/annota2.exp: Make sure we can match 'Hardware watchpoint'
1292 as well as 'Watchpoint'.
1293
2fe4e8d0
MC
12942003-11-05 Michael Chastain <mec@shout.net>
1295
1296 * gdb.mi/pthreads.c (routine): Handle early return from sleep.
1297
6ef88553
KW
12982003-11-03 Kris Warkentin <kewarken@qnx.com>
1299
1300 * gdb.arch/gdb1291.c: New test file.
1301 * gdb.arch/gdb1291.exp: New test script.
1302 * gdb.arch/gdb1431.c: New test file.
1303 * gdb.arch/gdb1431.exp: New test script.
1304
ae7dc4d8
MC
13052003-10-22 Michael Chastain <mec@shout.net>
1306
1307 * gdb.mi/pthreads.c: Add copyright notice.
1308
c39d7427
MC
13092003-10-22 Michael Chastain <mec@shout.net>
1310
1311 * gdb.threads/pthreads.c: Add copyright notice.
1312
8b7d96c1
MC
13132003-10-20 Michael Chastain <mec@shout.net>
1314
1315 * gdb.base/gdb1056.exp: New test script.
1316
d1d69fdd
DJ
13172003-10-13 Daniel Jacobowitz <drow@mvista.com>
1318
1319 * gdb.threads/killed.exp: Use gdb_run_cmd.
1320
7d605576
DJ
13212003-10-13 Daniel Jacobowitz <drow@mvista.com>
1322
1323 * gdb.base/gcore.exp: Issue an UNSUPPORTED and exit if we can't
1324 create a core file.
1325 * gdb.threads/gcore-thread.exp: Likewise.
1326
618ec112
CV
13272003-10-13 Corinna Vinschen <vinschen@redhat.com>
1328
1329 * gdb.base/call-rt-st.c (struct bit_flags_char_t): New bitfield
1330 type, based on char type.
1331 (struct bit_flags_short_t): New bitfield type, based on short type.
1332 (init_bit_flags_char): New fuction.
1333 (init_bit_flags_short): Ditto.
1334 (print_bit_flags_char): Ditto.
1335 (print_bit_flags_short): Ditto.
1336 (main): Add handling for bit_flags_char_t and bit_flags_short_t.
1337
9367a73c
MC
13382003-10-11 Michael Chastain <mec@shout.net>
1339
1340 * gdb.base/call-rt-st.exp: Update copyright year.
1341
1decf120
KI
13422003-10-10 Kei Sakamoto <sakamoto.kei@renesas.com>
1343
1344 * config/hmsirom.exp: Replace "Hitachi" with "Renesas".
1345 * gdb.disasm/sh3.s: Ditto.
1346
5445b2ae
DJ
13472003-10-07 Daniel Jacobowitz <drow@mvista.com>
1348
1349 * gdb.threads/switch-threads.exp: New test.
1350 * gdb.threads/switch-threads.c: New source file.
1351
aec24853
CV
13522003-10-07 Corinna Vinschen <vinschen@redhat.com>
1353
1354 * gdb.base/ending-run.exp: Add sh specific case.
1355
adc7428d
AC
13562003-10-06 Andrew Cagney <cagney@redhat.com>
1357
1358 * gdb.base/watchpoint.exp: Delete obsolete clear_xfail.
1359 * gdb.disasm/mn10200.exp: Delete obsolete file.
1360
c9d37158
DJ
13612003-09-29 Daniel Jacobowitz <drow@mvista.com>
1362
1363 * ChangeLog: Correct an entry command.exp -> commands.exp.
1364 * gdb.base/commands.exp (bp_deleted_in_command_test)
1365 (temporary_breakpoint_commands): Check noargs.
1366
79c2c32d
DC
13672003-09-25 David Carlton <carlton@kealia.com>
1368
1369 * gdb.cp/namespace.exp: Tweak comments. Add non-quoted versions
1370 of some print tests, where appropriate. Add tests for C::D::cd,
1371 E::ce, F::cXfX, G::XgX.
1372 * gdb.cp/namespace.cc: Add XgX, cXfX, ce.
1373
594e6d67
RE
13742003-09-25 Richard Earnshaw <rearnsha@arm.com>
1375
1376 * lib/java.exp (java_init): Import target_alias before using it.
1377
10f0d451
DC
13782003-09-25 David Carlton <carlton@kealia.com>
1379
1380 * gdb.base/corefile.exp: Delete obsolete setup_xfail.
1381
274bcba0
EZ
13822003-09-23 Elena Zannoni <ezannoni@redhat.com>
1383
d63a86f8 1384 * gdb.base/selftest.exp: Accomodate more instruction reordering
274bcba0
EZ
1385 weirdness.
1386
cdbf20f7
MC
13872003-09-17 Michael Chastain <mec@shout.net>
1388
1389 * gdb.cp/gdb1355.exp: New file.
1390 * gdb.cp/gdb1355.c: New file.
1391
71e06f80
CV
13922003-09-15 Corinna Vinschen <vinschen@redhat.com>
1393
1394 * gdb.asm/asm-source.exp: Add sh*-*-* as supported target.
1395 * gdb.asm/sh.inc: New file.
1396
5c4e30ca
DC
13972003-09-11 David Carlton <carlton@kealia.com>
1398
bd45b7af
DC
1399 * gdb.cp/namespace.exp: Add tests for namespace types.
1400 * gdb.cp/maint.exp (test_help): Test 'help maint cp namespace'.
5c4e30ca
DC
1401 (test_namespace): New.
1402
1c199746
EZ
14032003-09-11 Elena Zannoni <ezannoni@redhat.com>
1404
1405 * gdb.base/relocate.exp: Handle new gdb output at startup.
3fcf0ced 1406 * gdb.stabs/weird.exp: Ditto.
1c199746 1407
04ed252f
MC
14082003-09-08 Michael Chastain <mec@shout.net>
1409
1410 * gdb.base/gdb1250.c: Rename 'gamma' to 'my_gamma'.
1411
d8a2d9e7
MC
14122003-09-07 Michael Chastain <mec@shout.net>
1413
1414 * gdb.cp/classes.exp: Accommodate both 'syntax error' and
1415 'parse error'.
1416
161afb24
MK
14172003-09-07 Mark Kettenis <m.kettenis@osp.nl>
1418
1419 * gdb.arch/i386-prologue.exp: Add checks for saved registers.
1420
49f2741a
MC
14212003-08-30 Michael Chastain <mec@shout.net>
1422
1423 * gdb.base/selftest.exp: Remove support for m68k*-*-hpux.
1424 * gdb.gdb/observer.exp: Ditto.
1425 * gdb.gdb/xfullpath.exp: Ditto.
1426
8afa723e
MK
14272003-08-29 Mark Kettenis <kettenis@gnu.org>
1428
1429 * gdb.base/interrupt.exp: XFAIL "call function when asleep" for
1430 *-*-*bsd*.
1431
f31dfe3b
JJ
14322003-08-28 Jeff Johnston <jjohnstn@redhat.com>
1433
1434 * gdb.base/dump.exp: Skip for ia64.
1435
4630e498
JJ
14362003-08-25 Jeff Johnston <jjohnstn@redhat.com>
1437
1438 * gdb.asm/asm-source.exp: Add ia64 support.
1439 * gdb.asm/ia64.inc: New file.
1440
1105b7ef
MC
14412003-08-22 Michael Chastain <mec@shout.net>
1442
1443 * gdb.cp: New directory.
1444 * gdb.cp/*: Copy from gdb.c++/*.
1445 * gdb.c++/*: Remove.
1446 * Makefile.in: Change gdb.c++ to gdb.cp.
1447 * configure.in: Ditto.
1448 * configure: Regnerate.
1449
c945b932
MK
14502003-08-18 Mark Kettenis <kettenis@gnu.org>
1451
1452 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1338.
1453 * gdb.arch/i386-prologue.c (gdb1338): Add function.
1454
2b66634b
DJ
14552003-08-17 Daniel Jacobowitz <drow@mvista.com>
1456
1457 * mi-var-display.exp (-var-list-children weird): Accept function
1458 pointers with argument types.
1459 * mi1-var-display.exp (-var-list-children weird): Likewise.
1460 * mi2-var-display.exp (-var-list-children weird): Likewise.
1461
a356f73b
DJ
14622003-08-17 Daniel Jacobowitz <drow@mvista.com>
1463
1464 * gdb.base/annota3.exp: Add missing newline.
1465
483417b8
MC
14662003-08-06 Michael Chastain <mec@shout.net>
1467
1468 * gdb.java/jmisc1.exp: Add test for pr gdb/1322.
1469
c99c59c3
MS
14702003-08-12 Michael Snyder <msnyder@redhat.com>
1471
1472 * gdb.base/float.exp: Add test for SH.
1473
55ed7501
MK
14742003-08-10 Mark Kettenis <kettenis@gnu.org>
1475
1476 * gdb.arch/i386-prologue.c, gdb.arch/i386-prologue.exp: New files.
1477
1a371f2e
EZ
14782003-08-07 Elena Zannoni <ezannoni@redhat.com>
1479
1480 * gdb.base/completion.exp: Remove reduntant completion test
1481 on filename.
1482
e0f353ce
EZ
14832003-08-07 Elena Zannoni <ezannoni@redhat.com>
1484
1485 * gdb.base/attach.exp, gdb.base/detach.exp, gdb.base/gcore.exp,
1486 gdb.mi/mi-basics.exp, gdb.threads/gcore-thread.exp,
1487 gdb.trace/save-trace.exp: Make sure that full pathnames are
1488 escaped correctly.
1489
5710a1af 14902003-08-07 Elena Zannoni <ezannoni@redhat.com>
d63a86f8 1491
5710a1af
EZ
1492 * configure.in: Don't generate config.h from config.hin.
1493 * configure: Regenerate.
1494 * config.hin: Remove file.
1495 * gdb.mi/pthreads.c: Remove include of config.h, and other ifdefs.
1496 * gdb.threads/pthreads.c: Ditto.
1497
dcd81ce9
DJ
14982003-08-07 Daniel Jacobowitz <drow@mvista.com>
1499
1500 From Kei Sakamoto <sakamoto.kei@renesas.com>:
1501 * gdb.asm/asm-source.exp : Add -lgloss to link-flags.
1502 * gdb.asm/m32r.inc : Remove an illegal nop after bl instruction.
1503 Replace ld24 with seth/add3.
1504
6009d884
AC
15052003-08-02 Andrew Cagney <cagney@redhat.com>
1506
1507 * gdb.base/annota3.exp: New file.
1508 * gdb.base/annota3.c: New file.
1509 * gdb.c++/annota3.exp: New file.
1510 * gdb.c++/annota3.cc: New file.
1511
51514e06
MC
15122003-07-29 Michael Chastain <mec@shout.net>
1513
1514 * gdb.threads/tls.c (spin): Check errno only if sem_wait
1515 actually failed.
1516 (do_pass): Likewise.
1517 * gdb.threads/tls.exp: Always initialize no_of_threads.
1518
4ee6625b
DJ
15192003-07-27 Daniel Jacobowitz <drow@mvista.com>
1520
1521 * gdb.threads/print-threads.exp (test_all_threads): Loosen KFAIL
1522 pattern.
1523 * gdb.threads/tls-shared.exp: Don't use gdb_suppress_entire_file.
1524 * gdb.threads/tls.exp: Recognize one case of the host library not
1525 supporting TLS.
1526
225f2bf6
AC
15272003-07-27 Andrew Cagney <cagney@redhat.com>
1528
1529 * gdb.base/fileio.exp: Use SH when running commands using
1530 remote_exec.
1531
bcb27c9f
DJ
15322003-07-24 Daniel Jacobowitz <drow@mvista.com>
1533
1534 From Kei Sakamoto <sakamoto.kei@renesas.com>:
1535 * gdb.base/relocate.c (dummy): New padding array.
1536
3d67be83
MS
15372003-07-22 Michael Snyder <msnyder@redhat.com>
1538
d63a86f8 1539 * gdb.disasm/8300s.s: Fix syntax of bsr insn.
3d67be83
MS
1540
1541 * gdb.disasm/h8300s.exp : Minor changes in disassembler output require
1542 patterns to be more general, accepting old and new output.
1543 Some output chars (such as '+') also must be quoted.
d63a86f8 1544 Some addresses are displayed numerically instead of
3d67be83
MS
1545 symbolically.
1546
57ba3b85
MS
15472003-07-23 Michael Snyder <msnyder@redhat.com>
1548
686d097c
MS
1549 * gdb.base/return2.exp: Don't test long-long return.
1550
57ba3b85
MS
1551 * gdb.disasm/t01_mov.s: New file, h8300sx disassembly tests.
1552 * gdb.disasm/t01_mov.exp: Ditto.
1553 * gdb.disasm/t02_mova.s: Ditto.
1554 * gdb.disasm/t02_mova.exp: Ditto.
1555 * gdb.disasm/t03_add.s: Ditto.
1556 * gdb.disasm/t03_add.exp: Ditto.
1557 * gdb.disasm/t04_sub.s: Ditto.
1558 * gdb.disasm/t04_sub.exp: Ditto.
1559 * gdb.disasm/t05_cmp.s: Ditto.
1560 * gdb.disasm/t05_cmp.exp: Ditto.
1561 * gdb.disasm/t06_ari2.s: Ditto.
1562 * gdb.disasm/t06_ari2.exp: Ditto.
1563 * gdb.disasm/t07_ari3.s: Ditto.
1564 * gdb.disasm/t07_ari3.exp: Ditto.
1565 * gdb.disasm/t08_or.s: Ditto.
1566 * gdb.disasm/t08_or.exp: Ditto.
1567 * gdb.disasm/t09_xor.s: Ditto.
1568 * gdb.disasm/t09_xor.exp: Ditto.
1569 * gdb.disasm/t10_and.s: Ditto.
1570 * gdb.disasm/t10_and.exp: Ditto.
1571 * gdb.disasm/t11_logs.s: Ditto.
1572 * gdb.disasm/t11_logs.exp: Ditto.
1573 * gdb.disasm/t12_bit.s: Ditto.
1574 * gdb.disasm/t12_bit.exp: Ditto.
1575 * gdb.disasm/t13_otr.s: Ditto.
1576 * gdb.disasm/t13_otr.exp: Ditto.
1577
e00759ef
EZ
15782003-07-22 Elena Zannoni <ezannoni@redhat.com>
1579
1580 * gdb.threads/tls.exp :Add kfail for 'info address' case.
1581
8bc2021f
EZ
15822003-07-22 Elena Zannoni <ezannoni@redhat.com>
1583
1584 * gdb.threads/tls.c : New file.
1585 * gdb.threads/tls.exp : New file.
1586 * gdb.threads/tls-main.c : New file.
1587 * gdb.threads/tls-shared.c : New file.
1588 * gdb.threads/tls-shared.exp : New file.
1589
89320c4c
AS
15902003-07-22 Andreas Schwab <schwab@suse.de>
1591
1592 * gdb.asm/powerpc.inc (gdbasm_startup): Force alignment.
1593
180dea7c
AS
15942003-07-20 Andreas Schwab <schwab@suse.de>
1595
1596 * gdb.base/selftest.exp (do_steps_and_nexts): Add more patterns
1597 due to insn reordering.
1598
0714963c
AC
15992003-07-15 Andrew Cagney <cagney@redhat.com>
1600
1601 * gdb.asm/asm-source.exp: Do not allow "start" in the backtrace.
1602
98a23b3f
MC
16032003-07-15 Michael Chastain <mec@shout.net>
1604
1605 * gdb.base/gdb1250.exp: New file.
1606 * gdb.base/gdb1250.c: New file.
1607
27e417a2
ML
16082003-07-09 Michal Ludvig <mludvig@suse.cz>
1609
1610 * gdb.c++/templates.exp (test_ptype_of_templates): Recognize
1611 expansion of size_t to 'unsigned long', not only to 'unsigned'.
1612
8bc2021f
EZ
16132003-07-09 Elena Zannoni <ezannoni@redhat.com>
1614
1615 * gdb.threads/tls.c: New file.
1616 * gdb.threads/tls.exp: New file.
1617 * gdb.threads/tls-main.c: New file.
1618 * gdb.threads/tls-shared.c: New file.
1619 * gdb.threads/tls-shared.exp: New file.
1620
d99968dc
EZ
16212003-07-09 Elena Zannoni <ezannoni@redhat.com>
1622
1623 * gdb.base/annota1.exp: Make sure that we properly escape the
1624 full path of the source file. Xfail more permissive patterns,
d63a86f8 1625 due to a compiler debug info problem.
d99968dc 1626
83876b3b
AS
16272003-07-07 Andreas Schwab <schwab@suse.de>
1628
2705e972
AS
1629 * gdb.asm/m68k.inc: New file.
1630 * gdb.asm/asm-source.exp: Use it for m68k-*-*.
1631
83876b3b
AS
1632 * gdb.objc/basicclass.exp ("Call an Objective-C method with no
1633 arguments"): Also match negative number.
1634
1635 * gdb.base/float.exp ("info float"): Add test for m68k-*-*.
1636
3a871b37
DJ
16372003-07-03 Daniel Jacobowitz <drow@mvista.com>
1638
1639 * gdb.base/store.c (charest): New typedef.
1640 (add_char): Rename to add_charest, update.
1641 (wack_char): Rename to wack_charest, update types. Return l + r
1642 to keep r live across the call.
1643 (wack_short, wack_int, wack_long, wack_longest, wack_float)
1644 (wack_double, wack_doublest): Return l + r to keep r live across
1645 the call.
1646 * gdb.base/store.exp: Accomodate store.c changes.
1647
b2a7f303
DC
16482003-06-30 David Carlton <carlton@kealia.com>
1649
1650 * gdb.c++/maint.exp (test_invalid_name): New.
1651 (test_first_component): Add tests for invalid names.
1652
3c6cb4a1
MC
16532003-06-29 Michael Chastain <mec@shout.net>
1654
1655 * gdb.c++/inherit.exp (test_print_svi_classes): Accept gdb
1656 output of '<VTT for class>' for virtual base classes.
1657
f1c2644b
DJ
16582003-06-29 Daniel Jacobowitz <drow@mvista.com>
1659
1660 * gdb.base/completion.exp: Tab-complete "complet" instead of
1661 "compl".
1662 * gdb.base/complex.exp, gdb.base/complex.c: New files.
1663
18080350
DJ
16642003-06-29 Daniel Jacobowitz <drow@mvista.com>
1665
1666 * gdb.base/constvars.exp: Remove most xfails for GCC 3.x.
1667 * gdb.base/volatile.exp: Likewise.
1668
f56973f8
DJ
16692003-06-29 Daniel Jacobowitz <drow@mvista.com>
1670
1671 * gdb.threads/print-threads.exp (test_all_threads): Add kfail for
1672 gdb/1265.
1673
16742003-06-28 Michael Chastain <mec@shout.net>
48fe539f
DJ
1675 Daniel Jacobowitz <drow@mvista.com>
1676
1677 * gdb.base/selftest.exp (do_steps_and_nexts): Increase maximum
1678 initial line count of 'captured_main' from 26 to 32.
1679 (test_with_self): Allow xmalloc call to be interleaved with the
1680 preceding two lines.
1681
e766d4d6
JB
16822003-06-24 Joel Brobecker <brobecker@gnat.com>
1683
1684 * gdb.base/bang.exp: New testcase.
1685
f125c9a4
JB
16862003-06-23 Joel Brobecker <brobecker@gnat.com>
1687
1688 * gdb.base/langs.exp: Add some tests for the "minimal" language
1689 support.
1690
6e25beaf
EZ
16912003-06-23 Elena Zannoni <ezannoni@redhat.com>
1692
1693 * gdb.objc/basicclass.exp: Return -1 if we cannot compile
1694 the testcase.
1695
2f816dda
DJ
16962003-06-22 Daniel Jacobowitz <drow@mvista.com>
1697
1698 * gdb.base/relocate.exp: Test add-symbol-file with a variable
1699 offset.
1700
db5a5748
DJ
17012003-06-22 Daniel Jacobowitz <drow@mvista.com>
1702
1703 * gdb.c++/pr-1210.cc: New file.
1704 * gdb.c++/pr-1210.exp: New file.
1705
1df0c130
DJ
17062003-06-21 Daniel Jacobowitz <drow@mvista.com>
1707
1708 * lib/mi-support.exp (mi_run_cmd): Expect an MI response to
1709 000-exec-continue.
1710
a92feac0
MK
17112003-06-15 Mark Kettenis <kettenis@gnu.org>
1712
1713 * gdb.base/attach.exp: Use -1 for the ID of a nonexistent process
1714 on *-*-*bsd* instead of *-*-freebsd*.
1715
81a58f5b
AC
17162003-06-14 Andrew Cagney <cagney@redhat.com>
1717
1718 * gdb.base/store.exp: Test longest and doublest. Test all
1719 parameters. Weaken return statement match.
1720 * gdb.base/store.c: Add longest and doublest - aka long long and
1721 long double functions. Put all parameters into local register
1722 variables. Use negative values.
1723
b257a0d3
AC
17242003-06-14 Andrew Cagney <cagney@redhat.com>
1725
1726 * gdb.base/fileio.c: Include <errno.h>, and <sys/wait.h>. Gag
1727 -Wformat errors. Add lost line. Use WEXITSTATUS to get system
1728 exit status.
1729 * gdb.base/fileio.exp: Disable target when nointerrupts and
1730 noinferiorio, instead of limiting it to remote. Use remote_exec
1731 instead of system.
d63a86f8 1732
21c38304
JJ
17332003-06-12 Jeff Johnston <jjohnstn@redhat.com>
1734
1735 * gdb.base/float.exp: Add ia64 support.
1736
1bcdb424
CV
17372003-06-12 Corinna Vinschen <vinschen@redhat.com>
1738
1739 * gdb.base/fileio.exp: Run only on remote targets.
1740
6aeb981f
CV
17412003-06-10 Corinna Vinschen <vinschen@redhat.com>
1742
1743 * gdb.base/fileio.c: New file, testing File-I/O.
1744 * gdb.base/fileio.exp: Ditto.
1745
53df362e
RG
17462003-06-09 Raoul Gough <RaoulGough@yahoo.co.uk>
1747
1748 * gdb.base/shreloc.exp: New file, check symbol values obtained from
1749 shared objects after relocation at load time (gdb PR/1132).
1750 * gdb.base/shreloc.c, gdb.base/shreloc1.c, gdb.base/shreloc2.c:
1751 as above, part of the shared object relocation test.
1752
ffee1b46
MK
17532003-06-08 Mark Kettenis <kettenis@gnu.org>
1754
b5ca3722
MK
1755 * gdb.base/readline.exp: Add tests for operate-and-get-next with a
1756 fully filled history list.
1757 * gdb.base/gdb_history: New file.
1758
03ed860d
MK
1759 * gdb.base/signals.exp: XFAIL "continue to func1" on
1760 i*86-*-freebsd*.
1761
ffee1b46
MK
1762 * gdb.base/attach.exp: When trying to attach to a nonexistent
1763 process, make it possible to specify the PID based on the target,
1764 and do so for *-*-freebsd*.
1765
d80dbb52
RH
17662003-06-02 Richard Henderson <rth@redhat.com>
1767
1768 * gdb.base/float.exp: Add expected regexp for alpha-*-*.
1769
6dd77b81
RH
17702003-06-02 Richard Henderson <rth@redhat.com>
1771
1772 * gdb.base/selftest.exp: Next over lim_at_start initialization.
1773
f6347e16
RH
17742003-06-02 Richard Henderson <rth@redhat.com>
1775
1776 * gdb.base/dump.exp [alpha*-*-*]: Add -taso linker switch.
1777
2c161407
DJ
17782003-06-01 Daniel Jacobowitz <drow@mvista.com>
1779
1780 * gdb.asm/asm-source.exp: Dissassemble from &globalvar instead
1781 of globalvar.
1782
572eb746
MK
17832003-06-01 Mark Kettenis <kettenis@gnu.org>
1784
1785 * gdb.asm/asm-source.exp: Check for memory read errors in
1786 disassembler test on *BSD too.
1787
9e9617a5
RH
17882003-06-01 Richard Henderson <rth@redhat.com>
1789
1790 * gdb.asm/alpha.inc (gdbasm_enter): Use numeric register names
1791 for .frame.
1792 (gdbasm_call): Lose ldgp.
1793 (gdbasm_startup): Add frame information.
1794 * gdb.asm/asm-source.exp (alpha*-*): Add -no-mdebug to asm-flags.
1795
7b34ad4e
MK
17962003-05-31 Mark Kettenis <kettenis@gnu.org>
1797
1798 * gdb.base/float.exp: Expect similar output for x86_64-*-* as for
1799 i?86-*-*.
1800
10059fdf
MK
18012003-05-30 Mark Kettenis <kettenis@gnu.org>
1802
1803 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
1804 FreeBSD.
1805
acf4b816
RH
18062003-05-29 Richard Henderson <rth@redhat.com>
1807
1808 * gdb.asm/alpha.inc: New file.
1809 * gdb.asm/asm-source.exp: Use it.
1810
e9ecd949
JB
18112003-05-29 Jim Blandy <jimb@redhat.com>
1812
1813 * gdb.base/corefile.exp: Find corefiles on Linux, which names them
1814 'core.PID'.
1815
e3e5a4f3
JB
18162003-05-22 Jim Blandy <jimb@redhat.com>
1817
1818 * gdb.base/corefile.exp: Tolerate stuff after argument parens in
1819 backtrace.
d63a86f8 1820
72fe3d25
DC
18212003-05-20 David Carlton <carlton@math.stanford.edu>
1822
1823 * gdb.c++/namespace1.cc: Actually do 'cvs add' before committing
1824 this time.
1825
58da2eb2
DC
18262003-05-19 David Carlton <carlton@bactrian.org>
1827
1828 * gdb.c++/rtti.exp: New file, containing tests for PR c++/488.
1829 * gdb.c++/rtti.h, gdb.c++/rtti1.cc, gdb.c++/rtti2.cc: Ditto.
1830
1fcb5155
DC
18312003-05-19 David Carlton <carlton@bactrian.org>
1832
1833 * gdb.c++/namespace.exp: Add namespace scope and anonymous
1834 namespace tests.
1835 Bump copyright date.
1836 * gdb.c++/namespace.cc: Add anonymous namespace and namespace C.
1837 (main): Call C::D::marker2.
1838 * gdb.c++/namespace1.cc: New file.
1839
85e85163
JJ
18402003-05-14 Jeff Johnston <jjohnstn@redhat.com>
1841
1842 Roland McGrath <roland@redhat.com>
d63a86f8 1843 * gdb.threads/linux-dp.exp: Account for fact that in nptl model
85e85163
JJ
1844 there is no manager thread.
1845
a25fbfec
JJ
18462003-05-08 Jeff Johnston <jjohnstn@redhat.com>
1847
d63a86f8
RM
1848 * gdb.threads/schedlock.exp: Remove assumption that all threads
1849 will run in a particular small time slice. Also ensure we break
a25fbfec
JJ
1850 in one of the child threads rather than the main thread.
1851
be375bae
JB
18522003-05-07 Jim Blandy <jimb@redhat.com>
1853
09bf6082
JB
1854 Add support for assembly source testing on the s390x.
1855 * gdb.asm/asm-source.exp: Add a case for the s390x-*-*
1856 architecture.
1857 * gdb.asm/s390x.inc: New file.
1858
be375bae
JB
1859 * gdb.asm/asm-source.exp: Use a 'switch -glob' statement, not a
1860 succession of 'if' statements.
1861
00905d52
AC
18622003-05-05 Andrew Cagney <cagney@redhat.com>
1863
1864 * gdb.base/maint.exp: Add tests for "maint print dummy-frames".
1865
b1e29e33
AC
18662003-05-05 Andrew Cagney <cagney@redhat.com>
1867
1868 * gdb.base/watchpoint.exp: Rename CALL_DUMMY_BREAKPOINT_OFFSET to
1869 DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET in comments.
1870
e33d66ec
EZ
18712003-05-02 Elena Zannoni <ezannoni@redhat.com>
1872
1873 * gdb.base/charset.exp: Update based on new behavior of set/show
1874 charset commands.
1875
2b6fd0d8
AC
18762003-05-01 Andrew Cagney <cagney@redhat.com>
1877
1878 * gdb.asm/asm-source.exp: Check that "disassm" and "x/i" of a
1879 variable do not give memory errors.
1880
130cacce
AF
18812003-04-30 Adam Fedor <fedor@gnu.org>
1882
1883 * Makefile.in (ALL_SUBDIRS): Add gdb.objc
1884 * configure.in (AC_OUTPUT): Add gdb.objc/Makefile
1885 * gdb.objc/Makefile.in, gdb.objc/basicclass.exp,
1886 gdb.objc/basicclass.m: : New files
1887
1888 * lib/gdb.exp (gdb_compile_objc): New procedure.
1889
bea71854
DJ
18902003-04-27 Daniel Jacobowitz <drow@mvista.com>
1891
1892 * gdb.base/signals.exp: Make backtrace tests more specific.
1893
0f20eeea
DC
18942003-04-23 David Carlton <carlton@bactrian.org>
1895
1896 * gdb.c++/maint.exp (test_first_component): Add tests for
1897 'operator' in more locations.
1898
c8c4d8dc
KB
18992003-04-16 Kevin Buettner <kevinb@redhat.com>
1900
1901 * gdb.base/args.exp: Invoke gdb_load for simulator targets.
1902
3fe60e3c
EZ
19032003-04-16 Elena Zannoni <ezannoni@redhat.com>
1904
1905 * gdb.base/completion.exp: Make 'info func mark' complete on 'info
1906 func marke' instead. Update test name.
1907
9219021c
DC
19082003-04-15 David Carlton <carlton@math.stanford.edu>
1909
1910 * gdb.c++/maint.exp: New file.
1911
5dd55bdd
EZ
19122003-04-14 Elena Zannoni <ezannoni@redhat.com>
1913
1914 * gdb.threads/schedlock.c: Change type of thread function argument
1915 to long, to avoid warnings on 64-bit platforms.
1916
00890572
EZ
19172003-04-14 Elena Zannoni <ezannoni@redhat.com>
1918
1919 * gdb.base/attach.exp: Add new message from ptrace in case of
1920 attaching to nonexistent process.
d63a86f8 1921
93201743
JB
19222003-04-11 Jim Blandy <jimb@redhat.com>
1923
1924 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
1925 gdb.c++/userdef.cc: Place comments on the lines to which the
1926 marker function might return.
1927 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
1928 gdb.c++/userdef.exp: Look for those comments to check that we've
1929 returned to the right place, instead of checking line numbers.
1930
2a11c64d
EZ
19312003-04-11 Elena Zannoni <ezannoni@redhat.com>
1932
1933 * gdb.threads/pthreads.exp (test_startup): When setting a breakpoint
1934 match on sourcefile name, instead of directory name.
1935
68ab8fc5
EZ
19362003-04-10 Elena Zannoni <ezannoni@redhat.com>
1937
d63a86f8 1938 * gdb.base/completion.exp: Use string_to_regexp to match the
68ab8fc5
EZ
1939 working directory name.
1940
5624293a
JB
19412003-04-09 Jim Blandy <jimb@redhat.com>
1942
1943 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
1944 gdb.c++/userdef.exp: If GDB fails to restore the selected frame
1945 after an inferior function call, report the failure, but allow the
1946 test to continue.
1947
f1f02ee4
SC
19482003-04-05 Stephane Carrez <stcarrez@nerim.fr>
1949
1950 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
1951 with -DPROTOTYPES.
1952
6eb79af0
SC
19532003-04-05 Stephane Carrez <stcarrez@nerim.fr>
1954
1955 * gdb.base/break.exp: Revert last patch.
1956
8dfb4cf0
SC
19572003-04-04 Stephane Carrez <stcarrez@nerim.fr>
1958
1959 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
1960 with -DPROTOTYPES.
1961
ed4c619a
AC
19622003-04-02 Andrew Cagney <cagney@redhat.com>
1963
1964 * gdb.base/callfuncs.exp: Make "print add" messages unique.
1965 * gdb.base/ending-run.exp: Put spaces around "breakpoint" to stop
1966 matching directories by the name breakpoint.
1967 * gdb.base/pointers.exp: Make "ptype pppC" message consistent.
1968 Make "continue to marker1" consistent.
1969 * gdb.base/call-rt-st.exp: Make "finish out from loop_count"
1970 message consistent.
1971 * lib/gdb.exp: Put "the program is no longer running", and "the
1972 program exited" in parenthesis.
1973 * lib/mi-support.exp: Ditto.
d63a86f8 1974
4e35d5f0 19752003-04-02 Bob Rossi <bob_rossi@cox.net>
d63a86f8 1976
4e35d5f0
BR
1977 * gdb.mi/mi-file.exp: New file for -file-list-exec-source-file.
1978
71900fe8
AC
19792003-03-29 Andrew Cagney <cagney@redhat.com>
1980
1981 * gdb.base/sizeof.c (main): Print the value of '\377'.
1982 * gdb.base/sizeof.exp: Check the sign of '\377'.
1983
c0655a16
MC
19842003-03-27 Michael Chastain <mec@shout.net>
1985
1986 * gdb.base/gdb1090.exp: New file.
1987 * gdb.base/gdb1090.cc: New file.
1988
5b2a3989
JB
19892003-03-27 J. Brobecker <brobecker@gnat.com>
1990
1991 * gdb.gdb/observer.exp: New regression test.
1992
79876890
MC
19932003-03-27 Michael Chastain <mec@shout.net>
1994
1995 * gdb.base/list.exp: Remove setup_xfail_format for DWARF 1.
1996 * gdb.base/ptype.exp: Likewise.
1997
6eac95e3
CV
19982003-03-27 Corinna Vinschen <vinschen@redhat.com>
1999
2000 * gdb.c++/casts.exp: Fix startup to run also on embedded targets.
2001
e8c71839
MC
20022003-03-26 Michael Chastain <mec@shout.net>
2003
2004 * gdb.base/ptype.exp: Actually use some typedef'd types.
2005
71b10041
SC
20062003-03-21 Stephane Carrez <stcarrez@nerim.fr>
2007
2008 * gdb.asm/asm-source.exp: Set asm-arch for m6811 and m6812.
2009 * gdb.asm/m68hc11.inc: New file for HC11/HC12 macros.
2010
2512cf80
CV
20112003-03-20 Corinna Vinschen <vinschen@redhat.com>
2012
2013 * gdb.base/default.exp: Fix regular expression.
2014
0d195a4f
CV
20152003-03-20 Corinna Vinschen <vinschen@redhat.com>
2016
2017 * gdb.base/args.exp: Fix regular expression.
2018
8a2dbca8
CV
20192003-03-20 Corinna Vinschen <vinschen@redhat.com>
2020
2021 * gdb.base/help.exp: Allow Win32 child process.
2022
bf028682
CV
20232003-03-20 Corinna Vinschen <vinschen@redhat.com>
2024
2025 * gdb.base/ending-run.exp: Check for Cygwin specific wrapper function
2026 when stepping out of main().
2027
182dbe85
CV
20282003-03-20 Corinna Vinschen <vinschen@redhat.com>
2029
2030 * gdb.base/default.exp: Check for win32 specific message when calling
2031 "run" without executable.
2032
d67a6ba5
CV
20332003-03-20 Corinna Vinschen <vinschen@redhat.com>
2034
2035 * gdb.base/args.exp: Expect .exe in output.
2036
a955b5bb
CV
20372003-03-20 Corinna Vinschen <vinschen@redhat.com>
2038
2039 * gdb.asm/asm-source.exp: Add appropriate --entry linker flag for
2040 Cygwin native.
2041
bf6bad4b
AC
20422003-03-17 Andrew Cagney <cagney@redhat.com>
2043
2044 From Elena Zannoni <ezannoni@redhat.com>. Test e500 abi and
2045 vector registes.
2046 * gdb.arch/e500-regs.c, gdb.arch/e500-regs.exp: New files.
2047 * gdb.arch/e500-abi.c, gdb.arch/e500-abi.exp: New files.
2048
293e9a31
DC
20492003-03-17 David Carlton <carlton@math.stanford.edu>
2050
2051 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): New
2052 test, for PR breakpoints/38.
2053 Call test_watchpoint_and_breakpoint.
2054 * gdb.base/watchpoint.c (func3): New function.
2055 (main): Call func3.
2056
5330f2db
DC
20572003-03-04 David Carlton <carlton@math.stanford.edu>
2058
2059 * gdb.c++/templates.exp (do_tests): Accept valid const in "print
2060 Garply<Garply<char> >:: garply".
2061 (test_ptype_of_templates): KFAIL "ptype T5<int>" and "ptype t5i"
2062 with respect to PR c++/1111; note also PR c++/1113.
2063 (test_template_breakpoints): KFAIL "constructor breakpoint" with
2064 respect to PR c++/1062.
2065 KFAIL "destructor breakpoint" with respect to PR c++/1112.
2066
6ece72da
DC
20672003-03-03 David Carlton <carlton@math.stanford.edu>
2068
2069 * gdb.c++/classes.exp (test_enums): KFAIL "ptype obj_with_enum"
2070 with respect to PR c++/57.
2071 KFAIL "print (ClassWithEnum::PrivEnum) 42" with respect to PR
2072 c++/826.
2073 Create "print ('ClassWithEnum::PrivEnum') 42"; KFAIL it with
2074 respect to PR c++/57.
2075
85ca1584
DC
20762003-03-03 David Carlton <carlton@math.stanford.edu>
2077
2078 * gdb.c++/templates.exp (do_tests): Convert the KFAILs with
2079 respect to PR c++/33 into FAILs.
2080
98e9c5b8
MC
20812003-03-03 Michael Chastain <mec@shout.net>
2082
7bedbf27
MC
2083 * configure.in: Update copyright years.
2084
20852003-03-03 Michael Chastain <mec@shout.net>
2086
2087 * Makefile.in: Update copyright years.
98e9c5b8 2088
f683e100
DC
20892003-02-28 David Carlton <carlton@math.stanford.edu>
2090
2091 * gdb.c++/classes.exp (test_ptype_class_objects): Accept it if we
2092 print class instead of struct and/or superfluous protection
2093 specifiers, as long as the resulting output is equivalent to the
2094 source code.
2095 Delete FIXME from end of messages on tests that don't need
2096 fixing.
2097
a9e0cf2c
DC
20982003-02-28 David Carlton <carlton@math.stanford.edu>
2099
2100 * gdb.c++/templates.exp (do_tests): Allow const in the two
2101 Foo<volatile char *>::foo tests.
2102
e8d359df
MS
21032003-02-27 Michael Snyder <msnyder@redhat.com>
2104
d63a86f8 2105 * gdb.base/restore.c (main): Return zero, so exit code
e8d359df
MS
2106 will be consistant.
2107
0b71dc91
DC
21082003-02-26 David Carlton <carlton@math.stanford.edu>
2109
2110 * gdb.c++/templates.exp (do_tests): KFAIL the "print Foo<volatile
2111 char *>::foo" test with respect to PR c++/33. Create a new test
2112 which is identical to that one except that it doesn't put the
2113 space between the "char" and the "*"; KFAIL it, too.
2114
dd14ab43
DC
21152003-02-26 David Carlton <carlton@math.stanford.edu>
2116
2117 * gdb.c++/templates.exp (do_tests): Convert XFAILs about printing
2118 template types into either PASSes or KFAILs (corresponding to PR
2119 c++/57). Tweak indentation. Update copyright.
2120
1146c7f1
SC
21212003-02-23 Stephane Carrez <stcarrez@nerim.fr>
2122
2123 * lib/gdb.exp: Don't execute C++ tests on m6811/m6812 targets.
2124
74641dfb
MC
21252003-02-13 Michael Chastain <mec@shout.net>
2126
2127 * gdb.base/exprs.exp: Remove i960 remnants.
2128 * gdb.base/funcargs.exp: Likewise.
2129 * gdb.base/list.exp: Likewise.
2130 * gdb.base/ptype.exp: Likewise.
2131
559cd2d0
DC
21322003-02-14 David Carlton <carlton@math.stanford.edu>
2133
2134 * gdb.c++/virtfunc.exp (test_virtual_calls): Change 'print
2135 pEe->D::vg()" from XFAIL to KFAIL.
2136
c4f90d87
JM
21372003-02-13 Jason Molenda (jmolenda@apple.com)
2138
2139 * gdb.base/maint.exp: Update maint print statistics regexp to include
2140 new entries.
2141
cbc4d97c
MC
21422003-02-13 Michael Chastain <mec@shout.net>
2143
2144 * gdb.c++/inherit.exp: Remove call to get_debug_format.
2145
40f235b7
MC
21462003-02-12 Michael Chastain <mec@shout.net>
2147
2148 * gdb.c++/classes.exp: Remove setup_xfail_format for DWARF 1.
2149 * gdb.c++/inherit.exp: Likewise.
2150 * gdb.c++/cplusfuncs.exp: Remove suppression logic for DWARF 1.
2151 * gdb.c++/templates.exp: Likewise.
2152 * gdb.c++/virtfunc.exp: Likewise.
2153
c56716b0
JM
21542003-02-06 Jason Molenda (jason-cl@molenda.com)
2155
2156 * gdb.mi/mi-syn-frame.c (subroutine): Add a comment explaining
2157 why the code is written that way.
2158
070afcf8
MC
21592003-02-05 Michael Chastain <mec@shout.net>
2160
2161 * gdb.base/dump.exp: Add missing copyright line.
2162
5d0331e5
JM
21632003-02-05 Jason Molenda (jason-cl@molenda.com)
2164
f7ae6d3e 2165 * gdb.mi/mi-syn-frame.c (subroutine): Add an extra statement
5d0331e5
JM
2166 at the beginning so the breakpoint doesn't get set on the loop.
2167
92851186
MC
21682003-02-05 Michael Chastain <mec@shout.net>
2169
2170 * gdb.c++/local.exp: Relax the test for PR gdb/825 to accept
2171 output for configurations with gcc 2.95.3.
2172
cbf1e085
AC
21732003-02-05 Keith Seitz <keiths@redhat.com>
2174 Andrew Cagney <ac131313@redhat.com>
2175
2176 * gdb.mi/mi-cli.exp: New file.
d63a86f8 2177
29518e1e
MC
21782003-02-04 Michael Chastain <mec@shout.net>
2179
2180 * gdb.c++/anon-union.exp: Do not call gdb_suppress_entire_file.
2181 Call perror and then continue.
2182
5af1d5f3
MC
21832003-02-03 Michael Chastain <mec@shout.net>
2184
2185 * gdb.c++/pr-1023.cc: New file.
2186 * gdb.c++/pr-1023.exp: New file.
2187
6b549786
JB
21882003-02-05 Jim Blandy <jimb@redhat.com>
2189
2190 * gdb.c++/local.exp: Don't expect Local to be in scope in main;
2191 it's local to foobar. Check for it there, and check that it's not
2192 present in main.
2193 * gdb.c++/local.cc (marker2): New function.
2194 (foobar): Call marker1.
2195 (main): Call marker2 instead of marker1.
2196
67f16606
AC
21972003-02-04 Andrew Cagney <ac131313@redhat.com>
2198
2199 * gdb.disasm/mn10200.exp: Obsolete file.
2200 * gdb.trace/Makefile.in (clean mostlyclean): Remove mn10200.
2201 * gdb.disasm/Makefile.in (clean mostlyclean): Remove mn10200.
2202 * gdb.base/watchpoint.exp: Mark the mn10200 xfails as obsolete.
2203
1c5cb38e
DC
22042003-02-04 David Carlton <carlton@math.stanford.edu>
2205
2206 * gdb.c++/overload.exp: Test intToChar(1).
2207 * gdb.c++/overload.cc (intToChar): New.
2208 (main): Call intToChar.
2209
d1fe6965
DC
22102003-02-03 David Carlton <carlton@math.stanford.edu>
2211
2212 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): Add
2213 'might_kfail' arg.
2214 KFAIL some of the continue_to_bp_overloaded calls, according to
2215 PR c++/1025.
2216
9ba61c5d
MC
22172003-02-01 Michael Chastain <mec@shout.net>
2218
2219 * gdb.base/advance.c (marker1): New marker function.
2220 * gdb.base/advance.exp: When the 'advance' command lands on the
2221 return breakpoint, it can legitimately stop on either the
2222 current line or the next line. Accommodate both outcomes.
2223 * gdb.base/until.exp: Likewise.
2224
e7494ffb
AC
22252003-02-02 Andrew Cagney <ac131313@redhat.com>
2226
2227 2002-11-10 Jason Molenda (jason-cl@molenda.com):
2228 * gdb.mi/mi-var-child.exp: -var-list-children's CHILDREN field is
2229 now a list, not a tuple.
2230 * gdb.mi/mi-var-display.exp: Ditto.
2231 * gdb.mi/gdb792.exp: Ditto.
2232
075559bc
AC
22332003-02-01 Andrew Cagney <ac131313@redhat.com>
2234
2235 From 2002-11-09 Jason Molenda (jason-cl@molenda.com):
2236 * gdb.mi/mi-syn-frame.exp: New tests for synthetic frames in
2237 stack backtraces.
2238 * gdb.mi/mi-syn-frame.c: Part of same.
2239
2bd4c7b1
MK
22402003-02-01 Mark Kettenis <kettenis@gnu.org>
2241
2242 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
2243 gdb.mi/mi1-pthreads.exp: Return instead of calling
2244 gdb_suppress_entire_file.
2245
eabd8992
MS
22462003-02-01 Mark Salter <msalter@redhat.com>
2247
2248 * gdb.asm/arm.inc (gdbasm_startup): Clear frame pointer, not sp.
2249
71469e2f
MS
22502003-01-31 Mark Salter <msalter@redhat.com>
2251
2252 * lib/mi-support.exp (mi_gdb_load): Support remote targets.
2253 Support empty arg.
2254
38a94d44
MC
22552003-01-30 Michael Chastain <mec@shout.net>
2256
2257 * lib/gdb.exp: Revert patch of 2003-01-06, which set LC_ALL.
2258 This was a workaround for a UTF-8 bug in readline 4.3. The bug
2259 has been fixed in gdb/readline on 2003-01-09.
2260
19ea9e73
MS
22612003-01-29 Michael Snyder <msnyder@redhat.com>
2262
e8d359df
MS
2263 * gdb.base/maint.exp: Allow for leading underscore in symbol.
2264 * gdb.base/display.exp: Allow for leading underscore in symbol.
19ea9e73
MS
2265 * gdb.base/args.exp: Skip if target does not support args passing.
2266
2307bd6a
DJ
22672003-01-22 Daniel Jacobowitz <drow@mvista.com>
2268
19ea9e73 2269 * lib/gdb.exp (gdb_test_multiple): New function, cloned from
2307bd6a
DJ
2270 gdb_test. Accept a list of expect arguments as the third
2271 parameter.
2272 (gdb_test): Use it.
2273
f2dd3617
EZ
22742003-01-20 Elena Zannoni <ezannoni@redhat.com>
2275
2276 * gdb.arch/altivec-abi.exp: Set variable 'srcfile' differently, to
2277 allow for different test tree configurations. Update some
2278 tescases accordingly.
2279 * gdb.arch/altivec-regs.exp: Ditto.
2280 * gdb.asm/asm-source.exp: Ditto.
2281 * gdb.base/advance.exp: Ditto.
2282 * gdb.base/display.exp: Ditto.
d63a86f8 2283 * gdb.base/long_long.exp: Ditto.
f2dd3617
EZ
2284 * gdb.base/mips_pro.exp: Ditto.
2285 * gdb.base/overlays.exp: Ditto.
2286 * gdb.base/relocate.exp: Ditto.
2287 * gdb.base/setshow.exp: Ditto.
2288 * gdb.base/step-line.exp: Ditto.
2289 * gdb.base/step-test.exp: Ditto.
2290 * gdb.base/until.exp: Ditto.
2291 * gdb.c++/virtfunc.exp: Get rid of variable 'src'.
2292
c71cdefd
DC
22932003-01-17 David Carlton <carlton@math.stanford.edu>
2294
2295 * gdb.c++/demangle.exp (test_lucid_style_demangling): KFAIL test
2296 corresponding to PR c++/945.
2297 Update copyright.
2298
fdba05d7
DC
22992003-01-17 David Carlton <carlton@math.stanford.edu>
2300
2301 * gdb.c++/inherit.exp (test_print_mi_members): KFAIL tests
2302 corresponding to PR c++/68.
2303
23042003-01-17 David Carlton <carlton@math.stanford.edu>
d2b29e01
DC
2305
2306 * gdb.c++/cplusfuncs.exp (print_addr_2_kfail): New procedure.
2307 (test_paddr_hairy_functions): Call print_addr_2_kfail for
2308 hairyfunc5 through hairyfunc7. KFAIL for PR c++/19.
2309
c362c33a
EZ
23102003-01-15 Elena Zannoni <ezannoni@redhat.com>
2311
0fbc361c
EZ
2312 * gdb.base/break.exp: Fix change of default location, because of
2313 removal of until tests.
2314 * gdb.base/help.exp: Update test for new 'until' help message.
2315 Add test for help on 'advance'.
c362c33a
EZ
2316 * gdb.base/args.exp: Fix foobar with GDBFLAGS global.
2317
dabf8a35
MK
23182003-01-15 Mark Kettenis <kettenis@gnu.org>
2319
2320 * gdb.base/default.exp: Adapt "info float" test for recent changes
2321 to that command. Add test for "info vector".
2322 * gdb.base/float.exp: New file. Add test for "info float" that
2323 resembles the old test in gdb.base/default.exp.
2324
a1769aca
DC
23252003-01-15 David Carlton <carlton@math.stanford.edu>
2326
2327 * gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot.
2328
82025e13
EZ
23292003-01-15 Elena Zannoni <ezannoni@redhat.com>
2330
2331 * gdb.base/break.exp: Move the tests of until command from here...
2332 * gdb.base/until.exp: ... to here. New file. Add other tests.
2333 * gdb.base/advance.c: New file.
2334 * gdb.base/advance.exp: New file.
2335
8f9ab801
EZ
23362003-01-14 Elena Zannoni <ezannoni@redhat.com>
2337
2338 * gdb.base/args.c: New file.
2339 * gdb.base/args.exp: New file.
2340
9ae66589
DJ
23412003-01-14 Daniel Jacobowitz <drow@mvista.com>
2342
2343 * gdb.c++/virtfunc.exp: Remove fixed XFAIL.
2344
8d77e5c3
DJ
23452003-01-14 Daniel Jacobowitz <drow@mvista.com>
2346
2347 * gdb.threads/killed.exp: Use KFAIL for gdb/568.
2348
12d2f0a1
DJ
23492003-01-14 Daniel Jacobowitz <drow@mvista.com>
2350
2351 * gdb.base/constvars.exp: Remove two extra XFAILs. Update copyright
2352 dates.
2353
6ca37014
DJ
23542003-01-13 Daniel Jacobowitz <drow@mvista.com>
2355
2356 * gdb.c++/printmethod.exp (print virtual method): Accept "(void)".
2357
b0023472
DJ
23582003-01-13 Daniel Jacobowitz <drow@mvista.com>
2359
2360 * gdb.base/printcmds.exp: Enable setup_kfail for gdb/538
2361 (ptype &*"foo").
2362 * gdb.c++/local.exp: Enable setup_kfail for gdb/482.
2363
d6abaea5
DJ
23642002-01-13 Daniel Jacobowitz <drow@mvista.com>
2365
2366 * gdb.mi/mi-console.exp: Remove extra "(known bug)".
2367 * gdb.mi/mi1-console.exp: Likewise.
2368
dfd536a7
DJ
23692002-01-13 Daniel Jacobowitz <drow@mvista.com>
2370
2371 * gdb.mi/mi-console.exp: Add KFAIL for "Hello message (known bug)".
2372 * gdb.mi/mi1-console.exp: Likewise.
2373
a1fb14a2
DJ
23742003-01-13 Daniel Jacobowitz <drow@mvista.com>
2375
2376 * gdb.c++/overload.exp: Remove some fixed XFAILs.
2377
c4cf40b7
DJ
23782003-01-09 Daniel Jacobowitz <drow@mvista.com>
2379
2380 * gdb.base/detach.exp: New test.
2381
696d5a5b
DJ
23822003-01-09 Daniel Jacobowitz <drow@mvista.com>
2383
2384 * Makefile.in (ALL_SUBDIRS): New variable.
2385 (subdirs, clean, distclean): Use it.
2386 * gdb.arch/Makefile.in: Clean up Makefile. Remove rules for
2387 regenerating Makefile, since it is generated from the top level.
2388 * gdb.asm/Makefile.in: Likewise.
2389 * gdb.base/Makefile.in: Likewise.
2390 * gdb.c++/Makefile.in: Likewise.
2391 * gdb.disasm/Makefile.in: Likewise.
2392 * gdb.java/Makefile.in: Likewise.
2393 * gdb.mi/Makefile.in: Likewise.
2394 * gdb.threads/Makefile.in: Likewise.
2395 * gdb.trace/Makefile.in: Likewise.
2396
754533e4
DC
23972003-01-09 David Carlton <carlton@math.stanford.edu>
2398
2399 * gdb.c++/annota2.exp: KFAIL "watch triggered on a.x".
2400 Add copyright year 2003.
2401
d8b3e9ee
MC
24022003-01-06 Michael Chastain <mec@shout.net>
2403
2404 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set):
2405 When selecting a thread, 'line' and 'file' are optional.
2406 * gdb.mi/mi1-pthreads.exp: Likewise.
2407
8e9e0fe6
AS
24082003-01-06 Andreas Schwab <schwab@suse.de>
2409
2410 * lib/gdb.exp: Set LC_ALL to "C" to avoid spurious testsuite
2411 failures.
2412
b5ab8ff3
DJ
24132003-01-04 Daniel Jacobowitz <drow@mvista.com>
2414
2415 Fix PR gdb/844
2416 * lib/gdb.exp (gdb_compile): Handle "quiet" option.
2417 (gdb_compile_pthreads): Pass "quiet" to gdb_compile.
2418
2419 * gdb.threads/gcore-thread.exp: Use gdb_compile_pthreads. Return
2420 instead of calling gdb_suppress_entire_file.
2421 * gdb.threads/print-threads.exp: Likewise.
2422 * gdb.threads/schedlock.exp: Likewise.
2423
2424 * gdb.threads/killed.exp: Return instead of calling
2425 gdb_suppress_entire_file.
2426 * gdb.threads/linux-dp.exp: Likewise.
2427 * gdb.threads/pthreads.exp: Likewise.
2428
1e698235
DJ
24292003-01-04 Daniel Jacobowitz <drow@mvista.com>
2430
2431 * gdb.base/callfuncs.exp: Don't XFAIL unprototyped functions for
2432 stabs.
2433 * gdb.base/completion.exp: Allow marker1(void) as well as marker1().
2434 * gdb.base/whatis.exp: Always allow (void) after function names.
2435
147ff08c
DJ
24362003-01-04 Daniel Jacobowitz <drow@mvista.com>
2437
2438 * gdb.c++/casts.exp: Correct regexp.
2439
dc62bfc2
MK
24402003-01-04 Mark Kettenis <kettenis@gnu.org>
2441
2442 * configure.in: Call AC_CONFIG_HEADER. Don't call
2443 AC_CONFIG_SUBDIRS on gdb.arch, gdb.asm, gdb.base gdb.c++ gdb.java,
2444 gdb.disasm, gdb.mi, gdb.threads and gdb.trace. Call
2445 AC_CHECK_HEADERS on pthread.h. Put Makefiles in the
2446 aforementioned directories in the AC_OUPUT call.
2447 * config.hin: New file.
2448 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
2449 gdb.mi/mi1-pthreads.exp, gdb.threads/gcore-thread.exp,
2450 gdb.threads/killed.exp, gdb.threads/print-threads.exp,
2451 gdb.threads/pthreads.exp, gdb.threads/schedlock.exp: Make sure we
2452 pass -I$objdir instead of -I$objdir/$subdir in compilation.
2453 * gdb.arch/configure.in, gdb.arch/configure, gdb.asm/configure.in,
2454 gdb.asm/configure, gdb.base/configure.in, gdb.base/configure,
2455 gdb.c++/configure.in, gdb.c++/configure, gdb.disasm/configure.in,
2456 gdb.disasm/configure, gdb.java/configure.in, gdb.java/configure,
2457 gdb.mi/configure.in, gdb.mi/configure, gdb.mi/config.in,
2458 gdb.threads/configure.in, gdb.threads/configure,
2459 gdb.threads/config.in, gdb.trace/configure.in,
2460 gdb.trace/configure: Removed.
2461
77afa639
MC
24622003-01-03 Michael Chastain <mec@shout.net>
2463
2464 * gdb.base/miscexprs.c: Fix PR gdb/697, "buglet in
2465 testsuite/gdb.base/miscexprs.c, off-by-1 array reference".
2466
7634bb6e
DJ
24672003-01-03 Daniel Jacobowitz <drow@mvista.com>
2468
2469 * gdb.base/store.exp: Fix regular expressions.
2470
b39c905e
MK
24712002-12-28 Mark Kettenis <kettenis@gnu.org>
2472
2473 * configure.in: Rewrite.
2474 * configure: Regenerated.
2475
0a8551dd
DC
24762003-01-03 David Carlton <carlton@math.stanford.edu>
2477
2478 * gdb.base/psymtab.exp: New file.
2479 * gdb.base/psymtab1.c: Ditto.
2480 * gdb.base/psymtab2.c: Ditto.
2481
c60b7188
AF
24822002-12-23 Adam Fedor <fedor@gnu.org>
2483
2484 * gdb.base/maint.exp: Update expect output to include 'ObjC'.
2485
ee73db83
DC
24862002-12-23 David Carlton <carlton@math.stanford.edu>
2487
2488 * gdb.base/selftest.exp (do_steps_and_nexts): Allow initial brace
2489 and current_directory initialization.
2490
d6c1774e
JB
24912002-12-22 Jim Blandy <jimb@redhat.com>
2492
f0a847b8
JB
2493 * gdb.trace/tfind.exp: Pass '-O1' flag via the 'optimize' option,
2494 rather than as part of the output file name.
2495
d6c1774e
JB
2496 * gdb.base/attach.exp: There's no need to copy the test program to
2497 /tmp; that was only ever necessary on HP/UX, and this test is
2498 entirely disabled there anyway.
2499
f0708dbb
JB
25002002-12-21 Jim Blandy <jimb@redhat.com>
2501
4c2acfea
JB
2502 * gdb.c++/psmang.exp: Doc fix.
2503
f0708dbb
JB
2504 * gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: New
2505 test.
2506
9579e000
DC
25072002-12-20 David Carlton <carlton@math.stanford.edu>
2508
2509 * gdb.c++/annota2.exp: KFAIL annotate-quit.
2510
d1810171
MC
25112002-12-18 Michael Chastain <mec@shout.net>
2512
2513 * gdb.c++/annota2.exp: Add copyright year 2002.
2514
76565097
DC
25152002-12-17 David Carlton <carlton@math.stanford.edu>
2516
2517 * gdb.c++/try_catch.cc: Add marker comments.
2518 * gdb.c++/try_catch.exp: Get line numbers from marker comments.
2519 * gdb.c++/m-data.cc: Delete namespace __gnu_test.
2520 * gdb.c++/m-static.cc: Ditto.
2521 * gdb.c++/m-static1.cc: Ditto.
2522 * gdb.c++/try_catch.cc: Ditto.
2523
da81390b
JJ
25242002-12-16 Jeff Johnston <jjohnstn@redhat.com>
2525
2526 * lib/mi-support.exp (mi_reinitialize_dir): Check mi level
2527 to see whether we are using the new -environment-directory
2528 command which resets via -r or the old version of the command
2529 which may prompt the user. Part of fix for gdb/741.
2530
b304d130
AC
25312002-12-13 Andrew Cagney <ac131313@redhat.com>
2532
2533 * gdb.fortran/types.exp: Update obsolete comment.
2534 * gdb.fortran/exprs.exp: Ditto.
2535 * lib/gdb.exp: Delete obsolete code.
2536 * gdb.chill/ChangeLog, gdb.chill/Makefile.in: Delete.
2537 * gdb.chill/builtins.ch, gdb.chill/builtins.exp: Delete.
2538 * gdb.chill/callch.ch, gdb.chill/callch.exp: Delete.
2539 * gdb.chill/chexp.exp, gdb.chill/chillvars.ch: Delete.
2540 * gdb.chill/chillvars.exp, gdb.chill/configure: Delete.
2541 * gdb.chill/configure.in, gdb.chill/enum.ch: Delete.
2542 * gdb.chill/enum.exp, gdb.chill/func1.ch: Delete.
2543 * gdb.chill/gch1041.ch, gdb.chill/gch1041.exp: Delete.
2544 * gdb.chill/gch1272.ch, gdb.chill/gch1272.exp: Delete.
2545 * gdb.chill/gch1280.ch, gdb.chill/gch1280.exp: Delete.
2546 * gdb.chill/gch922.ch, gdb.chill/gch922.exp: Delete.
2547 * gdb.chill/gch981.ch, gdb.chill/gch981.exp: Delete.
2548 * gdb.chill/misc.ch, gdb.chill/misc.exp: Delete.
2549 * gdb.chill/powerset.ch, gdb.chill/powerset.exp: Delete.
2550 * gdb.chill/pr-4975-grt.ch, gdb.chill/pr-4975.ch: Delete.
2551 * gdb.chill/pr-4975.exp, gdb.chill/pr-5016.ch: Delete.
2552 * gdb.chill/pr-5016.exp, gdb.chill/pr-5020.ch: Delete.
2553 * gdb.chill/pr-5020.exp, gdb.chill/pr-5022.ch: Delete.
2554 * gdb.chill/pr-5022.exp, gdb.chill/pr-5646-grt.ch: Delete.
2555 * gdb.chill/pr-5646.ch, gdb.chill/pr-5646.exp: Delete.
2556 * gdb.chill/pr-5984.ch, gdb.chill/pr-5984.exp: Delete.
2557 * gdb.chill/pr-6292.ch, gdb.chill/pr-6292.exp: Delete.
2558 * gdb.chill/pr-6632-grt.ch, gdb.chill/pr-6632.ch: Delete.
2559 * gdb.chill/pr-6632.exp, gdb.chill/pr-8134.exp: Delete.
2560 * gdb.chill/pr-8136.ch, gdb.chill/pr-8136.exp: Delete.
2561 * gdb.chill/pr-8405.ch, gdb.chill/pr-8405.exp: Delete.
2562 * gdb.chill/pr-8742.ch, gdb.chill/pr-8742.exp: Delete.
2563 * gdb.chill/pr-8894-grt.ch, gdb.chill/pr-8894.ch: Delete.
2564 * gdb.chill/pr-8894.exp, gdb.chill/pr-9095.ch: Delete.
2565 * gdb.chill/pr-9095.exp, gdb.chill/pr-9946.ch: Delete.
2566 * gdb.chill/pr-9946.exp, gdb.chill/result.ch: Delete.
2567 * gdb.chill/result.exp, gdb.chill/string.ch: Delete.
2568 * gdb.chill/string.exp, gdb.chill/tests1.ch: Delete.
2569 * gdb.chill/tests1.exp, gdb.chill/tests2.ch: Delete.
2570 * gdb.chill/tests2.exp, gdb.chill/tuples.ch: Delete.
2571 * gdb.chill/tuples.exp, gdb.chill/xstruct-grt.ch: Delete.
2572 * gdb.chill/xstruct.ch, gdb.chill/xstruct.exp: Delete.
2573
a23b6e6a
DC
25742002-12-11 David Carlton <carlton@math.stanford.edu>
2575
2576 * gdb.c++/m-data.exp: Add test for members that shadow global
2577 variables: see PR gdb/804.
2578 * gdb.c++/m-data.cc: Ditto.
2579
6604731b
DJ
25802002-12-10 Daniel Jacobowitz <drow@mvista.com>
2581
2582 * gdb.base/foll-vfork.exp: Re-enable test on HP/UX.
2583
de46ecd7
DC
25842002-12-06 David Carlton <carlton@math.stanford.edu>
2585
2586 * gdb.base/store.c: Don't declare functions static.
2587
27e829d0
AC
25882002-12-04 Andrew Cagney <ac131313@redhat.com>
2589
2590 * gdb.base/store.exp, gdb.base/store.c: New files.
2591
92806416
DJ
25922002-12-03 Daniel Jacobowitz <drow@mvista.com>
2593
2594 * gdb.base/selftest.exp: Update for current gdb.
2595
3bcbaac5
DJ
25962002-12-03 Daniel Jacobowitz <drow@mvista.com>
2597
2598 * gdb.base/maint.exp: Only dump symbols from one source file
2599 or objfile.
2600
f4f00b1f
DJ
26012002-12-03 Daniel Jacobowitz <drow@mvista.com>
2602
2603 * gdb.base/step-test.exp: Allow MIPS to return to the line of a
2604 function call.
2605
f1c8a949
JB
26062002-11-25 Jim Blandy <jimb@redhat.com>
2607
2608 * lib/mi-support.exp (mi_delete_breakpoints): Change name of
2609 function appearing in error message.
2610
9e297a97
DJ
26112002-11-21 Daniel Jacobowitz <drow@mvista.com>
2612
2613 * gdb.base/maint.exp (help maint dump-me): Update with typo fix.
2614
1f312e79
JJ
26152002-11-08 Jeff Johnston <jjohnstn@redhat.com>
2616
d63a86f8
RM
2617 * lib/mi-support.exp (mi_gdb_start): Verify the startup message
2618 for mi1 and current mi is in correct format. New mi startup message
1f312e79
JJ
2619 should be in mi console format. This is part of fix for PR gdb/604.
2620
83c31e7d
FN
26212002-09-18 Fernando Nasser <fnasser@redhat.com>
2622
2623 * gdb.asm/asm-source.exp: Adjust patter to new disassembler routine
2624 which explicitly prints the zero offset as "+0".
2625
322b3f65
DJ
26262002-10-22 Daniel Jacobowitz <drow@mvista.com>
2627
2628 * gdb.threads/schedlock.c (args): Make unsigned.
2629
26302002-10-21 Daniel Jacobowitz <drow@mvista.com>
2631
2632 * gdb.asm/asm-source.exp: Add "mips*-*" pattern. Update line
2633 numbers. Allow "foo2|selected stack frame".
2634 * gdb.asm/asmsrc1.s: Use gdbasm_declare and gdbasm_end.
2635 * gdb.asm/asmsrc2.s: Likewise.
2636 * gdb.asm/common.inc: Define gdbasm_declare and gdbasm_end. Update
2637 comments.
2638 * gdb.asm/mips.inc: New file.
2639
5e2fe5b8
AF
26402002-10-18 Adam Fedor <fedor@gnu.org>
2641
2642 * gdb.base/default.exp: Update expected output to include 'ObjC'.
2643 * gdb.base/help.exp: Likewise.
2644
abe1a5d0
KB
26452002-10-17 Kevin Buettner <kevinb@redhat.com>
2646
2647 * gdb.base/constvars.c (struct crass, struct crisp): New structs.
2648 * gdb.base/constvars.exp (ptype crass, ptype crisp): New tests.
2649
10abb1d4
JB
26502002-10-02 Jim Blandy <jimb@redhat.com>
2651
2652 * gdb.c++/casts.cc, gdb.c++/casts.exp: New test.
2653
1f609b42
AC
26542002-10-01 Andrew Cagney <ac131313@redhat.com>
2655
2656 * mi1-basics.exp: Copy of mi1-basics.exp MIFLAGS set "-i=mi1".
2657 * mi1-break.exp, mi1-console.exp, mi1-disassemble.exp: Ditto.
2658 * mi1-eval.exp, mi1-hack-cli.exp, mi1-pthreads.exp: Ditto.
2659 * mi1-read-memory.exp, mi1-regs.exp, mi1-return.exp: Ditto.
2660 * mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp: Ditto.
2661 * mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp: Ditto.
2662 * mi1-var-cmd.exp, mi1-var-display.exp, mi1-watch.exp: Ditto.
2663
0aee02e4
AC
26642002-09-29 Andrew Cagney <ac131313@redhat.com>
2665
2666 * mi0-basics.exp, mi0-break.exp, mi0-console.exp: Delete.
2667 * mi0-disassemble.exp, mi0-eval.exp: Delete.
2668 * mi0-hack-cli.exp, mi0-read-memory.exp: Delete.
2669 * mi0-regs.exp, mi0-return.exp, mi0-simplerun.exp: Delete.
2670 * mi0-stack.exp, mi0-stepi.exp, mi0-until.exp: Delete.
2671 * mi0-var-block.exp, mi0-var-child.exp: Delete.
2672 * mi0-var-cmd.exp, mi0-var-display.exp, mi0-watch.exp: Delete.
d63a86f8 2673
6fde09ad
KB
26742002-09-27 Kevin Buettner <kevinb@redhat.com>
2675
2676 * gdb.base/annota1.exp (info break): Make directory components of
2677 path optional since not all compilers emit this debug information.
2678
2679 * gdb.base/shlib-call.exp (step inside shr2): Don't fail if first
2680 step ends up stepping out of the function instead of stopping on
2681 the epilogue.
2682
9e8aab75
KS
26832002-09-26 Keith Seitz <keiths@redhat.com>
2684
2685 * lib/insight-support.exp (gdbtk_start): Figure out where
2686 the insight executable is based on where gdb is. Use this
2687 executable to start insight instead of gdb.
2688
e36180d7
AC
26892002-09-25 Andrew Cagney <cagney@redhat.com>
2690
2691 * gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
2692
9dd34b2b
AC
26932002-09-24 Andrew Cagney <ac131313@redhat.com>
2694
2695 * gdb.gdb/complaints.exp (test_initial_complaints): Rename
2696 test_isolated_complaints.
2697 (test_empty_complaint): New function.
2698 (test_empty_complaints): New function. Check no output when no
2699 complaints.
d63a86f8 2700
dea97812
KB
27012002-09-19 Jim Blandy <jimb@redhat.com>
2702
2703 * gdb.base/charset.exp, gdb.base/charset.c: New files.
2704
54951bd7
AC
27052002-09-19 Andrew Cagney <ac131313@redhat.com>
2706
2707 * gdb.gdb/complaints.exp: New file.
2708
dec43320
AC
27092002-09-18 Andrew Cagney <ac131313@redhat.com>
2710
2711 * gdb.base/maint.exp: Check `help maint internal-warning'.
2712
e70d6e3f
DC
27132002-09-18 David Carlton <carlton@math.stanford.edu>
2714
2715 * gdb.c++/m-static.exp: Remove breakpoints depending on line
2716 numbers, and replace them by a single breakpoint after the
2717 constructors are all finished.
2718 Add test 4.
2719 * gdb.c++/m-static.cc: Add test 4.
2720 * gdb.c++/m-static.h: New file.
2721 * gdb.c++/m-static1.cc: New file.
2722
2723 * gdb.c++/printmethod.exp: New file.
2724 * gdb.c++/printmethod.cc: New file.
2725
2726 * gdb.c++/pr-574.exp: New file.
2727 * gdb.c++/pr-574.cc: New file.
2728
afb5c968
CV
27292002-09-18 Corinna Vinschen <vinschen@redhat.com>
2730
2731 * gdb.base/ending-run.exp: Add handling of "step to end of run" for
2732 embedded targets which never actually exit.
2733
31e45dee
FN
27342002-09-18 Fernando Nasser <fnasser@redhat.com>
2735
2736 * gdb.base/ending-run.exp: Properly mark "continue after exit" and
2737 "don't step after run" as unresolved or unsupported, instead of xfail.
2738
a283c5a1
CV
27392002-09-18 Corinna Vinschen <vinschen@redhat.com>
2740
2741 * gdb.base/ending-run.exp: Fix expected string for _wrap_main to
2742 allow correct handling of #ifdef UNDERSCORES from dejagnu/testglue.c.
2743 Add newline to expected string in "step out of main (status wrapper)"
2744 case.
2745
11350d2a
CV
27462002-09-18 Corinna Vinschen <vinschen@redhat.com>
2747
2748 * lib/gdb.exp (rerun_to_main): Allow restarting application.
2749 * gdb.base/ena-dis-br.exp (rerun_to_main): Eliminate.
2750
0deec7d6
TT
27512002-09-17 Tom Tromey <tromey@redhat.com>
2752
2753 * gdb.base/printcmds.exp (test_print_string_constants): Expect
2754 \000, not \0, in double-quoted string.
2755
b2b4a1b5
CV
27562002-09-14 Corinna Vinschen <vinschen@redhat.com>
2757
c9d37158 2758 * gdb.base/commands.exp: Don't expect a "Program exited normally"
b2b4a1b5
CV
2759 string after running the commands execution on breakpoint tests.
2760
1c56143a
CV
27612002-09-13 Corinna Vinschen <vinschen@redhat.com>
2762
2763 * lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.
2764
37f8da45
JB
27652002-09-12 Joel Brobecker <brobecker@gnat.com>
2766
2767 * gdb.base/call-strs.exp: Fix a small typo in one of the comments.
2768
08b468e0
KS
27692002-09-10 Keith Seitz <keiths@redhat.com>
2770
2771 * lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
2772 runto proc.
2773 (mi_run_to_main): Use mi_runto.
2774 (mi_execute_to): Renamed from mi_run_to. Changed all callers.
2775
dc360f58
KS
27762002-09-10 Keith Seitz <keiths@redhat.com>
2777
2778 * lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
2779 regexp for stopping at main. Could have multiple event notifications.
2780 Don't assume that main was declared with no parameters.
2781 (mi_next): Use mi_step_to.
2782 (mi_step): Use mi_next_to.
2783
ce3abcfb
CV
27842002-09-09 Corinna Vinschen <vinschen@redhat.com>
2785
2786 * gdb.base/default.exp: Fix expected string in `info float' test.
2787
d1f5b980
BE
27882002-09-09 Ben Elliston <bje@redhat.com>
2789
2790 * config/mips.exp: Update comments.
2791 * config/mips-idt.exp: Likewise.
2792 * config/nind.exp: Likewise.
2793 * config/slite.exp: Likewise.
2794 * config/sparclet.exp: Likewise.
2795 * config/udi.exp: Likewise.
2796 * config/vx.exp: Likewise.
2797 * config/vxworks29k.exp: Likewise.
2798
2f71430b
JB
27992002-09-05 Jim Blandy <jimb@redhat.com>
2800
2801 * gdb.threads/killed.exp: Fix test failure message.
2802
7ddebc7e
KS
28032002-09-04 Keith Seitz <keiths@redhat.com>
2804
2805 * lib/mi-support.exp: Update copyright.
2806 (mi_gdb_test): Increase the priority of the expected pattern
2807 so that it matches gdb_test.
2808
0ae67eb3
KS
28092002-09-03 Keith Seitz <keiths@redhat.com>
2810
2811 * lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
2812 Use integer comparison instead of string comparison for testing
2813 whether binary was built.
2814
38fc42c8
JB
28152002-09-03 Jim Blandy <jimb@redhat.com>
2816
2817 * gdb.threads/killed.exp, gdb.threads/killed.c: New test.
2818
b6ff0e81
JB
28192002-08-29 Jim Blandy <jimb@redhat.com>
2820
2821 * gdb.threads/pthreads.exp: Move the portable thread compilation
2822 code into a function in lib/gdb.exp, and call that from here.
2823 * lib/gdb.exp (gdb_compile_pthreads): New function.
2824
07c98896
KS
28252002-08-29 Keith Seitz <keiths@redhat.com>
2826
2827 * lib/mi-support.exp (mi_gdb_test): Add global declaration for
2828 expect_out so that callers can get at it.
2829
0312286c
DJ
28302002-08-23 Daniel Jacobowitz <drow@mvista.com>
2831
2832 * gdb.threads/print-threads.c: New file.
2833 * gdb.threads/print-threads.exp: New file.
2834 * gdb.threads/schedlock.c: New file.
2835 * gdb.threads/schedlock.exp: New file.
2836
dd039bc4
EZ
28372002-08-22 Elena Zannoni <ezannoni@redhat.com>
2838
2839 * gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
2840 not altivec.c.
2841
1f36144c
MK
28422002-08-17 Mark Kettenis <kettenis@gnu.org>
2843
2844 * gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
2845 targets. The problem should be fixed now.
2846
16057ec7 28472002-08-15 Mark Kettenis <kettenis@gnu.org>
5415e7c5
MK
2848
2849 * gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
2850 2002-07-24 change that removes final dots from error messages.
2851
3c1499ad
TT
28522002-08-13 Tom Tromey <tromey@redhat.com>
2853
2854 * gdb.base/readline.exp: New file.
2855
a20ce2c3
AC
28562002-08-01 Andrew Cagney <ac131313@redhat.com>
2857
2858 * lib/gdb.exp (gdb_expect_list): Only print one pass, fail, or
2859 supress message.
2860
db034ac5
AC
28612002-08-01 Andrew Cagney <cagney@redhat.com>
2862
2863 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL,
2864 CHILL_FOR_TARGET and CHILL_LIB.
2865 * configure.in (configdirs): Remove gdb.chill.
2866 * configure: Regenerate.
2867 * lib/gdb.exp: Obsolete references to chill.
2868 * gdb.fortran/types.exp: Ditto.
2869 * gdb.fortran/exprs.exp: Ditto.
2870
3e000b18
KB
28712002-07-30 Kevin Buettner <kevinb@redhat.com>
2872
2873 * gdb.base/shlib-call.exp (additional_flags): Conditionally
2874 set Irix-specific compile and link flags.
2875
28f4966b
KB
28762002-07-29 Kevin Buettner <kevinb@redhat.com>
2877
2878 * lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
2879 source files. The ``-o'' option doesn't work with the ``-E'' option
2880 when using the Irix compiler.
2881
46c0d5a6
DJ
28822002-07-19 Daniel Jacobowitz <drow@mvista.com>
2883
2884 * config/gdbserver.exp (gdb_load): Don't use TCL varargs.
2885 Improve support for reusing an exec file. Copy exec file
2886 to target, and run gdbserver on the target instead of on the host.
2887
eecf4bed
JB
28882002-07-18 Jim Blandy <jimb@redhat.com>
2889
0f815cdf
JB
2890 * gdb.base/ending-run.exp: Don't expect to see the program end in
2891 some orderly fashion when we're running on a real stand-alone
2892 board.
2893
eecf4bed
JB
2894 * gdb.base/interrupt.exp: Correct logic for skipping tests on
2895 targets that don't support interrupts.
2896
52d309e4
JB
28972002-07-10 Paul N. Hilfinger <hilfingr@otisco.mckusick.com>
2898
2899 * gdb.base/attach.exp: Add patterns to match output from /proc-based
2900 systems.
2901 Move comments in expect statements to inside the actions, so that they
2902 don't get matched against.
2903
ff683d9e
MK
29042002-07-10 Mark Kettenis <kettenis@gnu.org>
2905
2906 * gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
2907 function when asleep" test.
2908
b5356753
AC
29092002-07-10 Andrew Cagney <ac131313@redhat.com>
2910
2911 * gdb.base/page.exp: Rewrite to handle problems with very long
2912 `info set' output. Update copyright.
2913
6aa4d13a
AC
29142002-06-26 Andrew Cagney <ac131313@redhat.com>
2915
2916 * gdb.hp/configure.in (AC_CONFIG_SUBDIRS): Do not try to configure
2917 gdb.threads-hp.
2918 * gdb.hp/configure: Regenerate.
2919 * gdb.hp/gdb.threads-hp/configure.in: Delete file.
2920 * gdb.hp/gdb.threads-hp/configure: Delete file.
2921 * gdb.hp/gdb.threads-hp/Makefile.in: Delete file.
2922
8cf8c2b8
AC
29232002-06-22 Andrew Cagney <ac131313@redhat.com>
2924
2925 * gdb.base/selftest.exp (do_stes_and_next): Skip calls to
2926 setlocale, bindtextdomain and textdomain.
2927
6827a8f8
JB
29282002-06-11 Jim Blandy <jimb@redhat.com>
2929
919d772c
JB
2930 * lib/gdb.exp (get_debug_format): Tolerate message saying whether
2931 preprocessor macro information is present.
2932
6827a8f8
JB
2933 * macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: New
2934 tests.
2935
c15b0d21
MS
29362002-06-06 Michael Snyder <msnyder@redhat.com>
2937
c5984d70
MS
2938 * gdb.base/overlays.exp: Record addresses of overlay
2939 functions in TCL variables rather than in GDB variables,
2940 to avoid having GDB convert them to pointers (with loss
2941 of information).
2942
d63a86f8 2943 * gdb.base/d10v.ld: Merge in several years worth of
99a8512b 2944 default linker script changes.
c15b0d21
MS
2945 * gdb.base/long_long.exp: Add check for sizeof (long double).
2946
be26fe0d
ML
29472002-06-06 Michal Ludvig <mludvig@suse.cz>
2948
2949 * gdb.asm/asm-source.exp: Add x86-64 target.
2950 * gdb.asm/x86_64.inc: New.
d63a86f8 2951
258093ca 29522002-05-30 Michael Chastain <mec@shout.net>
258093ca 2953
4b3153f1 2954 From Benjamin Kosnik <bkoz@redhat.com>:
258093ca
MC
2955 * gdb.c++/m-static.cc: New file.
2956 * gdb.c++/m-static.exp: New file.
2957
241264c6
MS
29582002-05-28 Michael Snyder <msnyder@redhat.com>
2959
2960 * gdb.base/call-ar-st.exp: Allow for reduced floating point
2961 precision.
2962
9bba8c8f 29632002-05-27 Michael Chastain <mec@shout.net>
71ea1be0 2964
4b3153f1 2965 From Benjamin Kosnik <bkoz@redhat.com>:
71ea1be0
MC
2966 * gdb.c++/m-data.cc: New file.
2967 * gdb.c++/m-data.exp: New file.
2968
29692002-05-27 Michael Chastain <mec@shout.net>
9bba8c8f 2970
4b3153f1 2971 From Benjamin Kosnik <bkoz@redhat.com>:
9bba8c8f 2972 * gdb.c++/try_catch.cc: New file.
d63a86f8 2973 * gdb.c++/try_catch.exp: New file.
9bba8c8f 2974
def1b996
MC
29752002-05-27 Michael Chastain <mec@shout.net>
2976
2977 * gdb.c++/local.exp: Accept more nested types in output.
2978
522ba268
MC
29792002-05-26 Michael Chastain <mec@shout.net>
2980
2981 * gdb.base/call-rt-st.exp: Fix typo in brace quoting.
2982
277254ba
MS
29832002-05-15 Nick Clifton <nickc@cambridge.redhat.com>
2984
2985 * lib/gdb.exp (gdb_wrapper_init): Just because
2986 gdb_wrapper_file exists, this does not mean that the file
2987 should not be rebuilt. That is what gdb_wrapper_initialized
2988 is for.
2989 (default_gdb_init): Reset gdb_wrapper_initialized.
2990
b61a8733
MS
29912002-05-23 Michael Snyder <msnyder@redhat.com>
2992
d63a86f8 2993 * gdb.base/all-bin.exp: Revise previous patch by just reducing
5bdb6d01
MS
2994 the precision of the floating point test results.
2995 * gdb.base/call-rt-st.exp: Ditto.
2996
b61a8733
MS
2997 * gdb.base/all-bin.exp: Allow for reduced floating point precision.
2998 * gdb.base/call-rt-st.exp: Ditto.
2999
56f6e910
MC
30002002-05-19 Michael Chastain <mec@shout.net>
3001
3002 * gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
3003
ad0b0016
EZ
30042002-05-19 Elena Zannoni <ezannoni@redhat.com>
3005
3006 * configure.in (configdirs): Add gdb.arch.
3007 * configure: Regenerate.
3008
f617d2b6
JB
30092002-05-17 Jim Blandy <jimb@redhat.com>
3010
3011 * gdb.base/completion.exp: Recognize the more detailed error
3012 messages produced by the macro expander's lexical analyzer.
3013
eac2a696
EZ
30142002-05-14 Elena Zannoni <ezannoni@redhat.com>
3015
3016 * gdb.arch/altivec-abi.c: New file.
3017 * gdb.arch/altivec-abi.exp: New file.
3018 * gdb.arch/altivec-regs.c: New file.
3019 * gdb.arch/altivec-regs.exp: New file.
3020
2fdde8f8
DJ
30212002-05-14 Daniel Jacobowitz <drow@mvista.com>
3022
3023 * gdb.base/maint.exp (maint print type): Update for new type
3024 structure.
d63a86f8 3025
e31f1a7c
EZ
30262002-05-14 Elena Zannoni <ezannoni@redhat.com>
3027
3028 * gdb.arch: New directory.
3029 * gdb.arch/configure.in: New file.
3030 * gdb.arch/configure: New file.
3031 * gdb.arch/Makefile.in: New file.
3032
db589741
CV
30332002-05-13 Corinna Vinschen <vinschen@redhat.com>
3034
3035 * gdb.asm/asm-source.exp: Add v850 as supported target.
3036 * gdb.asm/v850.inc: New file.
3037
8ce2a7dc
DJ
30382002-05-13 Daniel Jacobowitz <drow@mvista.com>
3039
3040 * gdb.c++/annota2.exp (annotate-quit): Add comment.
3041
df763c7f
DJ
30422002-05-12 Daniel Jacobowitz <drow@mvista.com>
3043
3044 * gdb.base/break.exp: Check 'break "marker2"'.
3045
377daeed
MS
30462002-05-10 Michael Snyder <msnyder@redhat.com>
3047
3048 * gdb.base/long_long.exp: Fix typo.
3049
c4b7bc2b
JB
30502002-05-10 Jim Blandy <jimb@redhat.com>
3051
ecac9a4e
JB
3052 * gdb.base/printcmds.exp: Don't xfail the ptype command. This is
3053 a bug.
3054
c4b7bc2b
JB
3055 * gdb.base/printcmds.exp (test_integer_literals_rejected):
3056 Recognize more detailed error message produced by the macro
3057 expander's lexical analyzer.
3058 * lib/gdb.exp (test_print_reject): Same.
3059
e71019a1
MK
30602002-05-09 Mark Kettenis <kettenis@gnu.org>
3061
3062 * gdb.c++/method.exp: Fix typo.
3063
fedfc8e6
MS
30642002-05-08 Michael Snyder <msnyder@redhat.com>
3065
166a1957
MS
3066 * gdb.mi/mi-var-child.exp: Accept (void) as well as ().
3067 * gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
fedfc8e6 3068 * gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
35928259
MS
3069 * gdb.base/long_long.exp: Merge clauses for arm and xscale.
3070 Add iftarget clause for strongarm.
d63a86f8 3071
f1c47eb2
MS
30722002-05-06 Michael Snyder <msnyder@redhat.com>
3073
cb9a9d3e
MS
3074 * lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
3075 (gdb_continue_to_end): Accept output from status wrapper.
3076 * gdb.base/ending-run.exp: Add case for output from status wrapper.
3077 Clean up fail messages to match pass messages.
3078
f1c47eb2
MS
3079 Enable the "needs_status_wrapper" testsuite feature.
3080 * lib/gdb.exp (gdb_wrapper_init): New procedure.
3081 (gdb_compile): Conditionally call gdb_wrapper_init.
3082 * gdb.base/a2-run.exp: Recognize output from status wrapper.
3083 * gdb.c++/method.exp: Recognize output from status wrapper.
3084
6079c749
BE
30852002-05-06 Ben Elliston <bje@redhat.com>
3086From Graydon Hoare <graydon@redhat.com>
3087
3088 * config/sid.exp: Include support for "rawsid" protocol.
3089
188baff3
JB
30902002-05-03 Jim Blandy <jimb@redhat.com>
3091
3092 * gdb.c++/hang.exp: Check for corruption of the cv_type chain.
3093 * gdb.c++/hang3.C: New file.
3094
b9c07f0f
AC
30952002-05-04 Andrew Cagney <ac131313@redhat.com>
3096
3097 * gdb.base/default.exp: Remove obsolete code.
3098 * gdb.c++/misc.exp: Ditto. Update copyright.
3099 * gdb.c++/cplusfuncs.exp: Ditto. Update copyright.
3100 * gdb.base/whatis.exp: Ditto. Update copyright.
3101 * gdb.base/scope.exp: Ditto. Update copyright.
3102 * gdb.base/ptype.exp: Ditto. Update copyright.
3103 * gdb.base/printcmds.exp: Ditto. Update copyright.
3104 * gdb.base/opaque.exp: Ditto. Update copyright.
3105 * gdb.base/list.exp: Ditto.
3106 * gdb.base/funcargs.exp: Ditto. Update copyright.
3107 * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
3108 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
3109 * gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
3110 * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
3111 * gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
3112 * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
3113
5c7a0397
MS
31142002-05-02 Michael Snyder <msnyder@redhat.com>
3115
d6dcc264 3116 * gdb.base/watchpoint.exp: Add xscale target.
5c7a0397
MS
3117 * gdb.base/long_long.exp: Add xscale target.
3118 * gdb.base/default.exp: Add xscale target.
3119
eb7f1c48
JB
31202002-05-01 Jim Blandy <jimb@redhat.com>
3121
3122 * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
3123 gdb.c++/hang.exp: New test.
3124
a6befae8
FF
31252002-05-01 Fred Fish <fnf@redhat.com>
3126
3127 * gdb.base/completion.exp: Handle completions of "./Make" for
3128 more than one completion possibility, as is the case when we
3129 build and test in the source tree.
3130
0a310277
AG
31312002-04-29 Anthony Green <green@redhat.com>
3132
3133 * gdb.java/jmisc1.exp: New file.
3134 * gdb.java/jmisc2.exp: New file.
3135
6ff9af88
DJ
31362002-04-24 Daniel Jacobowitz <drow@mvista.com>
3137
3138 * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
3139
96b3d632
EZ
31402002-04-23 Elena Zannoni <ezannoni@redhat.com>
3141
3142 * gdb.base/help.exp: Change 'help status' to allow for target
3143 dependent output differences.
3144
5019bb54
MC
31452002-04-22 Michael Chastain <mec@shout.net>
3146
3147 * gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
3148
a805a116
MC
31492002-04-22 Michael Chastain <mec@shout.net>
3150
3151 * gdb.c++/method.exp: Fix syntax of reference to gdb/277.
3152
a1706bfd
DM
31532002-04-17 David S. Miller <davem@redhat.com>
3154
3155 * gdb.asm/sparc64.inc: New file.
3156 * gdb.asm/asm-source.exp: Handle sparc64-*-*.
3157
a73a20a2
EZ
31582002-04-19 Elena Zannoni <ezannoni@redhat.com>
3159
3160 * gdb.asm/asm-source.exp: Don't use a symlink, just copy the
3161 instruction file directly into the build tree. Clean up at end of
3162 test.
3163
ba678339
DM
31642002-04-18 David S. Miller <davem@redhat.com>
3165
3166 * gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
3167 handle 64-bit platforms correctly.
3168 * gdb.base/maint.exp: Likewise.
3169
b03399da
KB
31702002-04-18 Kevin Buettner <kevinb@redhat.com>
3171
3172 * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
3173 ``-fpic'' when compiling files comprising a shared library, but
3174 it does need additional linker flags in order to find shared
3175 libraries at run time.
3176
e2004992
KB
31772002-04-18 Kevin Buettner <kevinb@redhat.com>
3178
3179 * gdb.base/cvexpr.c (use): New function.
3180 (main): Invoke use() on all global variables to prevent
3181 some linkers from deleting these otherwise unused symbols.
3182
d8937120
MC
31832002-04-17 Michael Chastain <mec@shout.net>
3184From David S. Miller <davem@redhat.com>
3185
3186 * gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
3187 handle 64-bit platforms correctly.
3188
ffd61a58
MS
31892002-04-12 Michael Snyder <msnyder@redhat.com>
3190From Jim Blandy <jimb@redhat.com>
3191 * gdb.base/foo.c (foox): Remove section attribute; the linker
3192 script can handle this instead.
3193 * gdb.base/bar.c (barx): Same.
3194 * gdb.base/baz.c (bazx): Same.
3195 * gdb.base/grbx.c (grbxx): Same.
3196
3197 * gdb.base/overlays.exp: New test: check that GDB's manual overlay
3198 manager doesn't automatically unmap overlays unnecessarily.
3199
6b8426a6
MH
32002002-04-10 Martin M. Hunt <hunt@redhat.com>
3201
3202 * gdb.base/ending-run.exp: Fix pattern for Mips targets
3203 stepping out of main.
3204
34af4875
MC
32052002-04-09 Michael Chastain <mec@shout.net>
3206
3207 * gdb.c++/local.cc (main): Move call to marker1() inside nested
3208 scope so that the nested scope tests will make sense.
3209 * gdb.c++/local.exp: Write patterns that actually work with gcc
3210 (the HP patterns "were never known to work with gcc").
3211 Keep the old aCC patterns too.
3212
2d1676a0
DJ
32132002-04-09 Daniel Jacobowitz <drow@mvista.com>
3214
3215 * gdb.base/attach.exp: Correct target board test.
3216
3a63e3f9
MC
32172002-04-08 Michael Chastain <mec@shout.net>
3218
3219 * gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
3220 in a const method. Add some xfail and fail cases for configurations
3221 that do not emit the "const ...".
3222
f18dabd2
MC
32232002-04-07 Michael Chastain <mec@shout.net>
3224
3225 * gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
3226 Accept "A * const" and "const A * const" as type of "this".
3227 Fix spelling of getFunky throughout. Make messages uniform.
3228
0fcddd82
EZ
32292002-04-07 Elena Zannoni <ezannoni@redhat.com>
3230
3231 Work around for PR gdb/285:
3232 * gdb.asm/asm-source.exp: Bail out if multilibs are detected.
3233
16a8534a
EZ
32342002-04-07 Elena Zannoni <ezannoni@redhat.com>
3235
3236 * gdb.asm/asm-source.exp: Build symbolic link to arch specific
3237 instructions file at run time instead of configure time.
3238 Sometimes we run the test in a directory that is not the one we
3239 configured in.
3240 * gdb.asm/configure.in: Delete creation of symlink.
3241 * gdb.asm/configure: Regenerate.
3242
24181d81
JB
32432002-04-05 J. Brobecker <brobecker@gnat.com>
3244
3245 * gdb.gdb/xfullpath.exp: New test, to exercise the new
3246 xfullpath () function.
3247
7cdb7107
DJ
32482002-04-04 Daniel Jacobowitz <drow@mvista.com>
3249
3250 * gdb.asm/Makefile.in: Correct dependencies.
3251
3252 * gdb.asm/powerpc.inc: New file.
3253 * gdb.asm/asm-source.exp: Add PowerPC.
3254 * gdb.asm/configure.in: Likewise.
3255 * gdb.asm/configure: Regenerated.
3256
a7d17088
DJ
32572002-04-04 Daniel Jacobowitz <drow@mvista.com>
3258
3259 * gdb.base/relocate.exp: New file.
3260 * gdb.base/relocate.c: New file.
3261
cd721503
FF
32622002-04-04 Fred Fish <fnf@redhat.com>
3263
3264 * gdb.base/step-test.exp: Update comment regarding stopping in
3265 memcpy/bcopy calls inserted as part of the compiler runtime.
3266
b22ad7a7
MS
32672002-04-04 Michael Snyder <msnyder@redhat.com>
3268
3269 * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
3270
5f279fa6
DJ
32712002-04-03 Daniel Jacobowitz <drow@mvista.com>
3272
3273 * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
3274 (gdb_expect): Remove $notransfer hack.
3275
dd0fd3ce
DJ
32762002-04-02 Daniel Jacobowitz <drow@mvista.com>
3277
3278 * gdb.c++/classes.exp ("calling method for small class"): Match
3279 updated register output.
3280
1e50cda1
DJ
32812002-03-30 Daniel Jacobowitz <drow@mvista.com>
3282
3283 Fix PR gdb/452
3284 * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
3285 when finished. Make gdb_file_cmd send "exec-file" when
3286 appropriate.
3287
24015922
DJ
32882002-03-30 Daniel Jacobowitz <drow@mvista.com>
3289
3290 * gdb.base/attach.exp: Remove extra setup_xfail.
3291
dd7dfd64
MS
32922002-03-26 Michael Snyder <msnyder@redhat.com>
3293
3294 * gdb.base/default.exp: Add tests for dump, append, and restore.
3295 * gdb.base/help.exp: Add tests for dump, append, and restore.
3296 * gdb.base/dump.exp: New file, test dump, append and restore.
3297 * gdb.base/dump.c: New file.
3298
48b2f8d7
MS
32992002-03-27 Michael Snyder <msnyder@redhat.com>
3300
d63a86f8 3301 * gdb.base/help.exp: Modify expect strings to reflect
48b2f8d7
MS
3302 clean-ups in help messages.
3303
05b4d525
FF
33042002-03-26 Fred Fish <fnf@redhat.com>
3305
3306 * gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
3307 have debugging info for those functions and the compiler uses them
3308 internally to copy structs around.
3309
d7679631
FF
33102002-03-26 Fred Fish <fnf@redhat.com>
3311
3312 * gdb.base/list.exp: Revert the change made yesterday and add note
3313 about why we don't list the default lines for remote targets.
3314
523ac3f9
MS
33152002-03-25 Michael Snyder <msnyder@redhat.com>
3316
3317 * gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
3318
754b2b8d
FF
33192002-03-25 Fred Fish <fnf@redhat.com>
3320
3321 * gdb.base/list.exp: This test works on remote targets so remove
3322 the short circuit for remote targets. Update copyright.
3323
33c3e192
FF
33242002-03-25 Fred Fish <fnf@redhat.com>
3325
3326 * gdb.base/attach.exp: Fix logic error that was suppressing this
3327 test for all non hppa*-*-hpux* targets, instead of the hp target.
3328 Move comments closer to the suppression point. Also now need to
3329 check that we are running natively.
3330
d43e73ee
MS
33312002-03-22 Michael Snyder <msnyder@redhat.com>
3332
882c8f02
MS
3333 * gdb.base/default.exp: Add test for gcore. Update copyright.
3334 * gdb.base/help.exp: Add test for gcore. Update copyright.
d43e73ee 3335
04c12f60
FF
33362002-03-06 Fred Fish <fnf@redhat.com>
3337
3338 * gdb.base/funcargs.c: Remove extraneous ';' character.
3339 * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
3340
b43df995
MC
33412002-03-04 Michael Chastain <mec@shout.net>
3342
3343 * gdb.mi/mi-var-cmd.exp: In test "create local variable func",
3344 accommodate gcc v3 function signature.
3345 * gdb.mi/mi0-var-cmd-exp: Ditto.
3346
92362027
AC
33472002-02-24 Andrew Cagney <ac131313@redhat.com>
3348
3349 * testsuite/gdb.base/huge.c: Replace ``Linux'' with either
3350 ``GNU/Linux'' or ``Linux kernel''
3351 * testsuite/gdb.threads/pthreads.c: Ditto.
3352
258ad32d
MC
33532002-02-24 Michael Chastain <mec@shout.net>
3354
3355 * gdb.threads/pthreads.c (thread1): Add a return statement.
3356 (thread2): Likewise.
3357 (foo): Likewise.
3358
04c3b3d4
MC
33592002-02-23 Michael Chastain <mec@shout.net>
3360
3361 * gdb.threads/linux-dp.c (philosopher): Add a return statement
3362 to placate gcc.
3363
5a2a0a20
MC
33642002-02-23 Michael Chastain <mec@shout.net>
3365
3366 * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
3367 test "ptype bint". The test passes on all my stabs configurations.
3368
a640f7fc
JB
33692002-02-21 Jim Blandy <jimb@redhat.com>
3370
27924826
JB
3371 * gdb.asm/asm-source.exp: Parse the output from `info sources' one
3372 filename at a time, and watch for the ones we want to see.
3373
a640f7fc
JB
3374 * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
3375 types of pointers to prototyped functions.
3376
edcc8c75
AC
33772002-02-20 Andrew Cagney <ac131313@redhat.com>
3378
3379 * gdb.base/sizeof.c (main): Call fill_structs. Print value of
3380 signed, unsigned and straight char.
3381 (padding_char, padding_short, padding_int, padding_long,
3382 padding_long_long, padding_float, padding_double,
3383 padding_long_double): New global variables.
3384 (fill, fill_structs): New functions.
3385
3386 * gdb.base/sizeof.exp: Check for signed and unsigned char. Check
3387 for correctly sized writes. Update copyright.
3388 (get_valueof): New procedure.
3389 (get_sizeof): Call get_valueof.
3390 (check_valueof): New procedure.
3391 (check_padding): New procedure.
3392
ac57ea44
MC
33932002-02-20 Michael Chastain <mec@shout.net>
3394
3395 * gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
3396 to setup_xfail. Document some of the remaining calls.
3397
7a10c941
MC
33982002-02-18 Michael Chastain <mec@shout.net>
3399
3400 * gdb.c++/userdef.exp: Update copyright year.
3401
fb8acdcc
DJ
34022002-02-18 Daniel Jacobowitz <drow@mvista.com>
3403
3404 * gdb.c++/userdef.exp: Test overloaded operators properly.
3405 Remove xfails.
3406
fda6ae12
MS
34072002-02-14 Michael Snyder <msnyder@redhat.com>
3408
3409 * gdb.base/gcore.exp: Relax recognition of function breakpoint.
3410
676a0442
DJ
34112002-02-14 Daniel Jacobowitz <drow@mvista.com>
3412
3413 * gdb.base/a2-run.exp: Check for a remote target properly.
3414 * gdb.base/annota1.exp: Likewise.
3415 * gdb.base/list.exp: Likewise.
3416 * gdb.base/reread.exp: Likewise.
3417 * gdb.base/scope.exp: Likewise.
3418 * gdb.base/shlib-call.exp: Likewise.
3419 * gdb.base/term.exp: Likewise.
3420 * gdb.c++/annota2.exp: Likewise.
3421
78b4f468
RE
34222002-02-13 Richard Earnshaw <rearnsha@arm.com>
3423
3424 * gdb.base/watchpoint.exp: Restore previous timeout at end of test.
3425
9a81ba51
MC
34262002-02-10 Michael Chastain <mec@shout.net>
3427
3428 * gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
3429 (call_after_alloca): Ditto.
3430
004af6c7
DJ
34312002-02-10 Daniel Jacobowitz <drow@mvista.com>
3432
3433 * gdb.base/ending-run.exp: Guard "cont" test with
3434 gdb_skip_stdio_test.
3435
37225f62
JB
34362002-02-06 Jim Blandy <jimb@redhat.com>
3437
3438 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
3439 from here...
3440 * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
3441 To here. Disable this test on non-HP platforms. Add big comment.
3442
fe6fdd96
MS
34432002-02-04 Michael Snyder <msnyder@redhat.com>
3444
3445 * gdb.base/ovlymgr.c (ovly_copy): Generalize for targets
3446 other than d10v and m32r.
3447
036fad3f
RE
34482002-02-02 Richard Earnshaw <rearnsha@arm.com>
3449
3450 * gdb.base/default.exp: Rewrite test patterns to reduce time
3451 taken to match them.
3452
7148ab62
DJ
34532002-01-30 Daniel Jacobowitz <drow@mvista.com>
3454
3455 * gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
3456 Allow a start function above main.
3457 * gdb.threads/linux-dp.exp: Fix copyright date.
3458
396cc255
DJ
34592002-01-30 Daniel Jacobowitz <drow@mvista.com>
3460
3461 * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
3462 (check_philosopher_stack): Check for manager thread before checking
3463 for a just-starting thread.
3464
f038d31b
DJ
34652002-01-30 Daniel Jacobowitz <drow@mvista.com>
3466
3467 From Neil Booth <neil@daikokuya.demon.co.uk>:
3468 * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
3469 warnings.
3470
b3ff9d9a
FF
34712002-01-21 Fred Fish <fnf@redhat.com>
3472
3473 * gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
3474 not caller.
3475
39ad761d
JB
34762002-01-21 Jim Blandy <jimb@redhat.com>
3477
3478 * gdb.base/reread.exp: Check that GDB properly re-reads the
3479 executable file when it changes while no inferior is running.
3480
aaf320fa
FF
34812002-01-21 Fred Fish <fnf@redhat.com>
3482
3483 * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
3484 optionally accept the "shlib events" variation.
3485
808a31f5
JB
34862002-01-21 Jim Blandy <jimb@redhat.com>
3487
3488 * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
3489 call `fflush' after every `printf', so that the output is produced
3490 at predictable points, regardless of whatever buffering does (or
3491 doesn't) take place.
3492 * gdb.base/ending-run.exp: Adjust tests to expect output to appear
3493 at different points.
3494
4420d5e2
DJ
34952002-01-20 Daniel Jacobowitz <drow@mvista.com>
3496
3497 * gdb.c++/inherit.exp: Update copyright years.
3498 * gdb.c++/method.exp: Likewise.
3499
3e36a0f4
DJ
35002002-01-20 Daniel Jacobowitz <drow@mvista.com>
3501
3502 * gdb.c++/classes.exp: Update for improved v3 support and skipping
3503 artificial methods/arguments.
3504 * gdb.c++/derivation.exp: Likewise.
3505 * gdb.c++/inherit.exp: Likewise.
3506 * gdb.c++/method.exp: Likewise.
3507 * gdb.c++/virtfunc.exp: Likewise.
3508
b4ceaee6
AC
35092002-01-18 Andrew Cagney <ac131313@redhat.com>
3510
3511 * gdb.hp/gdb.threads-hp/usrthfork.exp: Mark as obsolete.
3512 * gdb.hp/gdb.threads-hp/usrthcore.exp: Ditto.
3513 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Ditto.
3514 * gdb.hp/gdb.threads-hp/usrthfork.c: Ditto.
3515 * gdb.hp/gdb.threads-hp/usrthbasic.c: Ditto.
3516 * gdb.hp/gdb.threads-hp/usrthcore.c: Ditto.
3517
ecace851
JB
35182002-01-17 Jim Blandy <jimb@redhat.com>
3519
3520 * gdb.asm/asm-source.exp (info symbol): Take another shot at
3521 anchoring the pattern matching the entry point symbol's name.
3522
375fc983
AC
35232002-01-17 Andrew Cagney <ac131313@redhat.com>
3524
3525 * gdb.base/maint.exp: Update ``maint internal-error'' to match
3526 continue/quit query. Update copyright.
3527
fe6fdd96
MS
35282002-01-14 Michael Snyder <msnyder@redhat.com>
3529
3530 * gdb.base/gcore.exp: Remove extra debugging output.
3531
e017c81f
DJ
35322002-01-13 Daniel Jacobowitz <drow@mvista.com>
3533
3534 * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
3535 for slightly dubious v2 mangled string.
3536
37ab3bf8
DJ
35372002-01-13 Daniel Jacobowitz <drow@mvista.com>
3538
3539 * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
3540
1bc05c3a 35412002-01-10 Jason Merrill <jason@redhat.com>
7b2ac63b 3542
1bc05c3a 3543 * gdb.c++/namespace.exp: Accept trailing const for 'this'.
7b2ac63b 3544
1bc05c3a
JM
3545 * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
3546 constructors.
3547 * gdb.c++/derivation.exp: Likewise.
3548 * gdb.c++/templates.exp: Likewise.
3549 * gdb.c++/virtfunc.exp: Likewise.
ffcb195b 3550
1bc05c3a
JM
35512002-01-10 Michael Snyder <msnyder@redhat.com>
3552
3553 * gdb.c++/namespace.exp: Accept both '\0' and '\000'.
ffcb195b 3554
a911c360
MS
35552002-01-08 Michael Snyder <msnyder@redhat.com>
3556
3557 * gdb.base/gcore.exp: New test for generate-core-file command.
3558 * gdb.base/gcore.c: Testcase for above.
3559 * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
3560
ea2119ec
JM
35612002-01-08 Jason Merrill <jason@redhat.com>
3562
3563 * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
3564
68203136
FF
35652002-01-07 Fred Fish <fnf@redhat.com>
3566
3567 * gdb.c++/overload.exp: Remove unconditional xfails for:
3568 print foo_instance1.overloadargs(1)
3569 print foo_instance1.overloadargs(1, 2)
3570 print foo_instance1.overloadargs(1, 2, 3)
3571 print foo_instance1.overloadargs(1, 2, 3, 4)
3572 print foo_instance1.overloadargs(1, 2, 3, 4, 5)
3573 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
3574 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
3575 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
3576 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
3577 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
3578 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
3579 print foo_instance1.overload1arg()
3580 print foo_instance1.overload1arg((char)arg2)
3581 print foo_instance1.overload1arg((signed char)arg3)
3582 print foo_instance1.overload1arg((unsigned char)arg4)
3583 print foo_instance1.overload1arg((int)arg7)
3584 print foo_instance1.overload1arg((unsigned int)arg8)
3585 print foo_instance1.overload1arg((float)arg11)
3586 print foo_instance1.overload1arg((double)arg12)
d63a86f8 3587
21b9b5b1
MS
35882002-01-07 Michael Snyder <msnyder@redhat.com>
3589
3590 * gdb.base/huge.exp: New test. Print a very large target data object.
3591 (skip_huge_test): New test variable. Define if you want to skip this
3592 test. The test reads an 8 megabyte data object from the target, so it
3593 might be very time consuming on remote targets with a slow connection.
3594 * gdb.base/huge.c: New file. Test case for above.
3595
725f922e
FF
35962002-01-07 Fred Fish <fnf@redhat.com>
3597
3598 * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
3599 g_instance.bfoo, and g_instance.cfoo.
3600
634d57ec
JL
3601Mon Jan 7 12:22:18 2002 Jeffrey A Law (law@redhat.com)
3602
f286b2c3
JL
3603 * gdb.base/break.c (multi_line_if_conditional): New function.
3604 (multi_ilne_while_conditional): Likewise.
3605 * gdb.base/break.exp: Verify that a breakpoint on a multi-line
3606 IF or WHILE condition puts the breakpoint at the start of
3607 the condition.
3608
634d57ec
JL
3609 * gdb.base/selftest.exp (backtrace through signal handler): Remove
3610 hppa*-*-hpux* expected failure.
3611 * gdb.base/structs.exp (do_function_calls): Similarly.
3612
3613 * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
3614 watchpoints.
3615
9fbfe2dc
AC
36162002-01-06 Andrew Cagney <ac131313@redhat.com>
3617
3618 Fix PR gdb/66.
3619 * gdb.base/structs.exp: Replace skip for a29k with skip for
3620 gdb,cannot_call_functions.
3621 * gdb.base/call-ar-st.exp: Remove references to a29k in comments.
3622 * gdb.base/callfuncs.exp: Ditto.
3623 * gdb.base/call-rt-st.exp: Ditto.
3624 * gdb.base/call-strs.exp: Ditto.
3625 * gdb.base/callfwmall.exp: Ditto.
3626 * gdb.base/scope.exp: Obsolete xfail a29k.
3627 * gdb.c++/misc.exp: Ditto.
3628 * gdb.c++/cplusfuncs.exp: Ditto.
3629 * gdb.base/ptype.exp: Ditto.
3630 * gdb.base/printcmds.exp: Ditto.
3631 * gdb.base/opaque.exp: Ditto.
3632 * gdb.base/list.exp: Ditto.
3633 * gdb.base/funcargs.exp: Ditto.
3634 * gdb.base/default.exp: Ditto.
3635
8ddad156
MS
36362002-01-04 Michael Snyder <msnyder@redhat.com>
3637
ca4976a6 3638 * gdb.base/info-proc.exp: New file, test for "info proc" cmd.
8ddad156
MS
3639 * gdb.base/maint.exp: Add tests for maint info sections options.
3640
1b074332
JL
3641Fri Dec 21 09:42:11 2001 Jeffrey A Law (law@redhat.com)
3642
3643 * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
3644
7d159115
CV
36452001-12-20 Corinna Vinschen <vinschen@redhat.com>
3646
3647 * gdb.asm/arm.inc: New file.
3648 * gdb.asm/asm-source.exp: Add arm targets.
3649 * gdb.asm/configure.in: Ditto.
3650 * gdb.asm/configure: Recreated from configure.in.
3651
8fb87725
JL
3652Thu Dec 20 09:54:36 2001 Jeffrey A Law (law@redhat.com)
3653
afabe08c
JL
3654 * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
3655 with HP's compiler.
3656 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
3657 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
3658 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
3659 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
3660
3661 * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
3662 either HP's compilers or GCC.
3663
db521deb
JL
3664 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
3665 a SIGBUS or SIGSEGV.
3666
3667 * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
3668
3669 * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
3670 can be compiled with either HP's compiler or GCC.
3671
cfa88ab7
JL
3672 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
3673 * gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
3674 * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
3675
ca344dff
JL
3676 * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
3677 to match current gdb output. Update due to using auto-solib-limit
3678 for limiting instead of overloading auto-solib-add.
3679 * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
3680 test program.
3681
3f3c6e55 3682 * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
ca344dff
JL
3683 * gdb.hp/gdb.base-hp/dollar.exp: Likewise
3684 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
3685 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
3686 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
3687 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
3688 * gdb.hp/gdb.defects/bs15503.exp: Likewise.
3689 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
3690 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
3691 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
3692 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
3693 * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
3694 * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
3f3c6e55 3695
8fb87725
JL
3696 * gdb.base/annota1.exp: Expect failure for hpux11 when posting
3697 a SIGTRAP to the inferior.
3698
cf599fa7
CV
36992001-12-19 Corinna Vinschen <vinschen@redhat.com>
3700
3701 * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
3702 Substitute call to target_link by call to gdb_compile.
3703
2cd045cd
JL
3704Wed Dec 19 14:10:57 2001 Jeffrey A Law (law@redhat.com)
3705
3706 * gdb.base/break.exp: Fix HP specific search string when testing
3707 backtracing in a called function.
3708
d63a86f8 3709 * gdb.base/constvars.exp: Only set lang to C++ if we're
2cd045cd
JL
3710 compiling the test with HP's compilers.
3711 * gdb.base/volatile.exp: Similarly.
3712
99ebe9ac
JB
37132001-12-19 Jim Blandy <jimb@redhat.com>
3714
3715 * gdb.base/printcmds.exp: Expect the null character to be printed
3716 as '\0', and the '\013' to be printed as '\v'.
3717 * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
3718 * gdb.base/setvar.exp: Same.
3719
b9891b29
JB
37202001-12-17 Jim Blandy <jimb@redhat.com>
3721
0eba65ab
JB
3722 * gdb.base/completion.exp: Rather than completing very long
3723 filenames, which can make the readline library produce output we
3724 don't recognize, cd to the directory first, and then complete
3725 using nice, short relative paths.
3726
6970b5b1
JB
3727 * gdb.base/completion.exp: On some systems, there is, in fact, a
3728 variable named `b' in scope, since GDB treats all static
3729 variables as being in scope. So use `no_var_named_this'
3730 instead of `b'.
3731
b9891b29
JB
3732 * gdb.base/corefile.exp: Recognize the message saying that GDB
3733 can't find the core file's registers as a failure.
3734
e6ccd35f
JSC
37352001-12-13 Jackie Smith Cashion <jsmith@redhat.com>
3736
3737 * gdb.base/commands.exp (user_defined_command_test): Make "show user"
3738 test expect string more specific.
3739
105ba819
CV
37402001-12-13 Corinna Vinschen <vinschen@redhat.com>
3741
3742 * gdb.asm/asm-source.exp: Add support for xstormy16.
3743 * gdb.asm/configure.in: Ditto.
3744 * gdb.asm/configure: Rebuild.
3745 * gdb.asm/xstormy16.inc: New file.
3746
e9e79dd9
FF
37472001-12-10 Fred Fish <fnf@redhat.com>
3748
3749 * gdb.base/maint.exp: Update to match changes in type dumping code.
3750
347dc97d
JB
37512001-12-10 Jim Blandy <jimb@redhat.com>
3752
3753 * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
3754 matching the entry point symbol's name at the beginning of the
3755 line.
3756
5178b9d6
DJ
37572001-12-07 Daniel Jacobowitz <drow@mvista.com>
3758
3759 * gdb.c++/classes.exp, gdb.c++/derivation.exp,
3760 gdb.c++/inherit.exp, gdb.c++/method.exp,
3761 gdb.c++/namespace.exp, gdb.c++/templates.exp,
3762 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
3763 and class layout support.
3764
af890c52
DJ
37652001-12-07 Daniel Jacobowitz <drow@mvista.com>
3766
3767 * gdb.c++/classes.exp: Add test for static member function.
3768 * gdb.c++/misc.cc: Add class with static member function.
3769
7a345fb3
JB
37702001-12-07 Jim Blandy <jimb@redhat.com>
3771
f2e54a80 3772 If GDB says it can't find the struct the function returned, report
8032bf31
JB
3773 those tests as `unsupported'.
3774 * gdb.base/call-rt-st.exp (print_struct_call): New function.
3775 Rewrite subsequent tests to use it.
3776
3777 If GDB says it can't find the struct the function returned, report
f2e54a80
JB
3778 those tests as `unsupported'.
3779 * gdb.base/structs.exp (call_struct_func): New function.
3780 (do_function_calls): Use call_struct_func to call the functions
3781 returning structs.
3782
0bc69509
JB
3783 * gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
3784 whether functions are prototyped or not, so we can't possibly pass
3785 arguments to t_float_values2 properly.
3786
7a345fb3
JB
3787 * gdb.base/break.exp: (test_next_with_recursion): Don't change the
3788 value of `timeout' for targets other than the mips*tx39-*.
3789
edb6ede1
MS
37902001-12-06 Michael Snyder <msnyder@redhat.com>
3791
d63a86f8 3792 * gdb.asm/asm-source.exp: Add tests for info target, info symbol,
edb6ede1
MS
3793 and detect whether the start symbol has a leading underscore.
3794
2d842f13
JB
37952001-12-04 Jim Blandy <jimb@redhat.com>
3796
3797 * gdb.base/completion.exp: Clarify indentation.
3798
68550daf
JB
37992001-12-03 Jim Blandy <jimb@redhat.com>
3800
3801 * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
3802 variables on the S/390, not `.word'.
3803
cd5195a8
JB
38042001-11-30 Jim Blandy <jimb@redhat.com>
3805
3806 Add assembly-source tests for s390-ibm-linux.
3807 * gdb.asm/s390.inc: New file.
3808 * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
3809 the S/390 architecture.
3810 * gdb.asm/configure: Regenerated.
3811
ca9efc90
MS
38122001-11-30 Michael Snyder <msnyder@redhat.com>
3813
3814 * gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
3815 next, info source, info sources, info line, global and static
3816 variables, and static functions.
3817 * gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
3818 * gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
3819 * gdb.asm/asmsrc1.s: Add a static function and some variables.
3820 * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
3821 * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
3822 (gdbasm_leave): Restore frame pointer.
3823 (gdbasm_startup): Copy stack set-up from crt0.S.
3824
d0e66976
FN
38252001-11-26 Fernando Nasser <fnasser@redhat.com>
3826
3827 From 2001-11-12 Jackie Smith Cashion <jsmith@redhat.com>:
3828 * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
3829 to a local (non-static) variable. Copy tstruct.a to a static buffer
3830 and return a pointer to that buffer.
3831 * gdb.base/callfwmall.c (t_structs_a): Ditto.
3832
e2334072
MK
38332001-11-24 Mark Kettenis <kettenis@gnu.org>
3834
3835 * gdb.asm/configure.in: Fix recognition of ix86 target.
3836 * gdb.asm/configure: Regenerate.
3837
756caa3d
MS
38382001-11-21 Michael Snyder <msnyder@redhat.com>
3839
3840 * gdb.asm/sparc.inc: New file.
3841 * gdb.asm/asm-source.exp: Recognize sparc target.
3842 * gdb.asm/configure.in: Recognize sparc target.
3843 * gdb.asm/configure: Regenerate.
d63a86f8 3844
9a4d72d5
MS
38452001-11-21 Michael Snyder <msnyder@redhat.com>
3846
3847 * gdb.asm/m32r.inc: New file.
3848 * gdb.asm/asm-source.exp: Recognize m32r target.
3849 * gdb.asm/configure.in: Recognize m32r target.
3850 * gdb.asm/configure: Regenerate.
3851
a773d1cd
MS
38522001-11-20 Michael Snyder <msnyder@redhat.com>
3853
017ac23d
MS
3854 * gdb.asm/i386.inc: New file.
3855 * gdb.asm/asm-source.exp: Recognize ix86 target.
3856 * gdb.asm/configure.in: Recognize ix86 target.
3857 * gdb.asm/configure: Regenerate.
3858
a773d1cd
MS
3859 * gdb.c++/namespace.exp: Fix quotes in output messages.
3860
bb632afb
MS
38612001-11-14 Michael Snyder <msnyder@redhat.com>
3862
25d559ca 3863 * gdb.base/code-expr.exp: New file. Tests use of the "@code"
bb632afb
MS
3864 qualifier in a type cast expression, to designate an address
3865 in the instruction space (Harvard architecture).
3866
4749e309
MS
38672001-11-13 Michael Snyder <msnyder@redhat.com>
3868
3869 * gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
3870 Tests for expressions using 'const' and 'volatile'.
3871
25050984
CV
38722001-11-13 Corinna Vinschen <vinschen@redhat.com>
3873
3874 * gdb.asm/asm-sources.exp: Allow defining linker flags.
3875
1902c51f
DJ
38762001-11-12 Daniel Jacobowitz <drow@mvista.com>
3877
3878 * lib/mi-support.exp (mi_run_to_helper): Move comments
3879 outside of gdb_expect.
3880
dcf95b47
DJ
38812001-11-11 Daniel Jacobowitz <drow@mvista.com>
3882
3883 * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
3884 mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
3885 mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
3886 mi0_run_to): New functions.
3887 * gdb.mi/mi-simplerun.exp: Use them.
3888 * gdb.mi/mi0-simplerun.exp: Likewise.
3889 * gdb.mi/mi-var-cmd.exp: Likewise.
3890 * gdb.mi/mi0-var-cmd.exp: Likewise.
d63a86f8 3891
45b074e1
AC
38922001-11-10 Andrew Cagney <ac131313@redhat.com>
3893
3894 * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
3895 * gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
3896
bf50d346
AC
38972001-11-09 Andrew Cagney <ac131313@redhat.com>
3898
3899 * gdb.base/restore.exp: Include $expected value in restored test
3900 message.
3901
9383332c
AC
39022001-11-09 Andrew Cagney <ac131313@redhat.com>
3903
3904 * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
3905 implemented.
3906
db62520a
MS
39072001-11-08 Michael Snyder <msnyder@redhat.com>
3908
3909 * gdb.base/callfuncs.exp: Add tests for nested call dummies.
3910 Add pass/fail message for stop at breakpoint in call dummy function.
3911
b5703437
MS
39122001-11-07 Michael Snyder <msnyder@redhat.com>
3913
d63a86f8
RM
3914 * gdb.c++/templates.exp (test_template_breakpoints):
3915 If we get an overload menu, but it does not match what
760f6330 3916 we expect, we still need to issue the "cancel" command.
3b2a7ae5
MS
3917 * gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
3918 making the whitespace optional. Argument for "new" may be
3919 "unsigned" as well as "unsigned int/long".
d63a86f8 3920 * gdb.c++/templates.exp: Replace "const &" with "const ?&",
eef747c0
MS
3921 making the whitespace optional. Also replace "(void) with
3922 "((void|)), making the keyword "void" optional.
d63a86f8 3923 * gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
63f50499
MS
3924 making the whitespace optional. Also replace "(void) with
3925 "((void|)), making the keyword "void" optional.
3bf40917
MS
3926 * gdb.base/callfuncs.c (t_float_values): This function must
3927 _not_ be prototyped, and the following function (t_float_values2)
d63a86f8 3928 must be prototyped (if the compiler supports it), so that GDB
3bf40917
MS
3929 can be tested against both cases. Usually one case involves
3930 promotion of float to double, while the other does not.
3931 * gdb.base/callfwmall.c: Ditto.
b5703437
MS
3932 * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
3933 includes a stack frame for "start".
3934
c8ab4e6d
JB
39352001-11-05 Jim Blandy <jimb@redhat.com>
3936
3937 * gdb.stabs/weird.exp: Delete "p v_comb" test. It assumes that
3938 pointers are 32 bits long, and that offsets of relocs are always
3939 stored in the data (REL-style), and not in the reloc entry itself
3940 (RELA-style).
3941 * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
3942 stabs.
3943
3f08ced9
MS
39442001-11-01 Michael Snyder <msnyder@redhat.com>
3945
3946 * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
3947 and regular expression operators by using quoting.
3948
cbfa24cd
MS
39492001-10-31 Michael Snyder <msnyder@redhat.com>
3950
3951 * gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
3952 depending on what the symbol table contains.
3953 * gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
3954 the output of the ptype command. Similarly, accept both "const &"
3955 and "const&".
3956
aaa68313
CV
39572001-10-31 Corinna Vinschen <vinschen@redhat.com>
3958
3959 * gdb.base/miscexprs.c (main): Add usage of preprocessor
3960 symbol `STORAGE' to allow to choose the storage class of
3961 the local datastructures.
3962 * gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
3963 compiler directive.
3964
91740388
MS
39652001-10-30 Michael Snyder <msnyder@redhat.com>
3966
3967 * gdb.base/jump.exp: Allow it to run for all targets.
3968
1b7c05e7
CV
39692001-10-29 Corinna Vinschen <vinschen@redhat.com>
3970
3971 * gdb.base/call-ar-st.c (print_double_array): Match for loop
3972 with new double_array size.
3973 (main): Change storage class of all local variables to static.
3974 Reduce size of double_array to 9.
3975 * gdb.base/call-ar-st.exp: Increase timeout value.
3976 Change expected output for double array to match new size in
3977 call-ar-st.c.
3978
36a22261
CV
39792001-10-29 Corinna Vinschen <vinschen@redhat.com>
3980
3981 * gdb.base/ending-run.exp: Create identical output when passing
3982 `step to end of run' case. Add regular expression branch satisfying
d63a86f8 3983 Stormy16 target.
36a22261 3984
92b8ae91
MK
39852001-10-28 Mark Kettenis <kettenis@gnu.org>
3986
3987 * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
3988 that we catch the expected failure under Linux/x86.
3989
cb135b83
OF
39902001-10-29 Orjan Friberg <orjanf@axis.com>
3991
3992 * gdb.base/setvar.exp: Escape curly braces.
3993 * gdb.stabs/weird.exp: Ditto.
3994
6884aa54
DJ
39952001-10-27 Daniel Jacobowitz <drow@mvista.com>
3996
3997 * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
3998 * gdm.mi/mi0-hack-cli.exp: Likewise.
3999
0398c9aa
AC
40002001-10-25 Andrew Cagney <ac131313@redhat.com>
4001
4002 * gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
4003 messages.
4004
d20bf2e8
AC
40052001-10-21 Andrew Cagney <ac131313@redhat.com>
4006
4007 * lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
4008 checking MI enabled.
4009
03dd63aa
CV
40102001-10-09 Corinna Vinschen <vinschen@redhat.com>
4011
4012 * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
4013
1d9d99f3
FCE
40142001-10-04 Frank Ch. Eigler <fche@redhat.com>
4015
4016 * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
4017 if gdb child process crashes, just signal an error.
4018
838ae6c4
JB
40192001-10-02 Jim Blandy <jimb@redhat.com>
4020
4021 * lib/gdb.exp (test_xfail_format): Simplify.
4022
4023 * lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
4024 front of the variable name `format'. Simplify `if'.
4025
8f0cbc1c
DJ
40262001-10-01 Daniel Jacobowitz <drow@mvista.com>
4027
4028 * gdb.threads/pthreads.exp: Wait for output and delay
4029 before sending ^C.
4030
1f08dafd
DJ
40312001-10-01 Daniel Jacobowitz <drow@mvista.com>
4032
4033 * gdb.mi/mi-var-display.exp (continue to incr_a): Recognize
4034 some incorrect output instead of timing out.
4035 * gdb.mi/mi-var-display.exp (continue to incr_a): Likewise.
4036
674f90ff
CV
40372001-09-28 Corinna Vinschen <vinschen@redhat.com>
4038
4039 * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
4040 check to allow additional `int'.
4041
9b284272
DJ
40422001-09-27 Daniel Jacobowitz <drow@mvista.com>
4043
4044 * gdb.base/completion.exp: Remove incorrect 'p "a' test.
4045 Add tests for 'p "break' (pass) and 'p "break.' (xfail).
4046
b55a4771
MS
40472001-09-27 Michael Snyder <msnyder@redhat.com>
4048
4049 * lib/gdb.exp (test_debug_format): New proc.
4050 (setup_xfail_format): Use new proc test_debug_format.
4051 * gdb.base/constvars.exp (local_compiler_xfail_check): New
4052 proc; use new service proc test_debug_format.
4053 Replace all other "gcc_compiled" tests with this test.
4054 * gdb.base/volatile.exp (local_compiler_xfail_check): New
4055 proc; use new service proc test_debug_format.
4056 Replace all other "gcc_compiled" tests with this test.
4057
40582001-09-27 Michael Snyder <msnyder@redhat.com>
4059
4060 * gdb.base/cvexpr.exp: New file.
4061 * gdb.base/cvexpr.c: New file
4062 Test for expressions using const and volatile keywords.
4063
4e6667ac
CV
40642001-09-26 Corinna Vinschen <vinschen@redhat.com>
4065
4066 * gdb.base/constvars.exp: Check for different orders of keywords
4067 and additional "int" strings in output.
4068
4f337972
AC
40692001-09-22 Andrew Cagney <ac131313@redhat.com>
4070
4071 * gdb.base/maint.exp: Add "maintenance set/show" to list of valid
4072 responses from "help maint".
4073
2015650d
FCE
40742001-09-19 Frank Ch. Eigler <fche@redhat.com>
4075
4076 * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
4077 to localhost:NNN instead of :NNN, in case Xvfb is listening
4078 only on TCP.
4079
f3bcedc1
CV
40802001-09-19 Corinna Vinschen <vinschen@redhat.com>
4081
4082 * gdb.base/recurse.exp: When checking leaving the watchpoint
4083 scope, recognize when gdb is in function's epilogue and pass.
4084
6b819c92
KS
40852001-09-18 Keith Seitz <keiths@redhat.com>
4086
4087 * lib/insight-support.exp (_gdbtk_export_target_info): Add
4088 support for running tests against sid targets.
4089 (gdbtk_done): Ditto.
4090
a10c9419
CV
40912001-09-18 Corinna Vinschen <vinschen@redhat.com>
4092
4093 * gdb.base/ending-run.c (main): Set stdout buffersize
4094 to the same reasonable value for any target.
4095 * gdb.base/ending-run.exp: Add a regular expression
4096 to make testsuite happy on Sanyo Stormy16 target.
4097
739d0d99
CV
40982001-09-17 Corinna Vinschen <vinschen@redhat.com>
4099
4100 * gdb.base/display.c (do_loops): Add float variable `f'.
4101 Increment f in loop.
4102 * gdb.base/display.exp: Increment timeout by 60 seconds.
4103 Change float display test to use variable `f'.
4104
1b8947f0
JB
41052001-09-17 Jim Blandy <jimb@redhat.com>
4106
4107 * gdb.base/restore.exp: Use temporary breakpoints, to avoid
4108 overflowing the limited breakpoint tables on some ROM monitors
4109 (like the ROM68K).
4110
9890ac81
FCE
41112001-09-15 Frank Ch. Eigler <fche@redhat.com>
4112
4113 * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
4114 the "-ac" (disable access control) flag.
4115
6db765ea
JH
41162001-08-30 Jeff Holcomb <jeffh@redhat.com>
4117
4118 * gdb.base/remote.c: Use a small buffer for targets with 16-bit
4119 ints.
4120
4c32cc04
KS
41212001-08-30 Keith Seitz <keiths@redhat.com>
4122
4123 * lib/gdb.exp: Move all insight-related functionality into
4124 separate file.
4125 * lib/insight-support.exp: New file.
4126
8d6e6f81
FCE
41272001-08-29 Frank Ch. Eigler <fche@redhat.com>
4128
4129 * config/sid.exp (sid_start): Never set sid verbosity; disable
4130 expect_background {} that consumed its stdout; tolerate </dev/null.
4131 Attempt to set endianness override in "sid" protocol mode. Cleanup.
4132
6a90e1d0
AC
41332001-08-18 Andrew Cagney <ac131313@redhat.com>
4134
4135 * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
4136 CLI jump command to start it.
4137 (mi_run_to_main): Fail immediatly when unexpected output.
4138
1759b3c3
AC
41392001-08-18 Andrew Cagney <ac131313@redhat.com>
4140
4141 * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
4142 beginning of function. Fix PR gdb/191.
4143
61d11d80
FCE
41442001-08-16 Frank Ch. Eigler <fche@redhat.com>
4145
4146 * config/sid.exp (sid_start): Don't warn if we cannot figure out
4147 what to force sid endianness to.
4148
942a4df2
KS
41492001-08-15 Keith Seitz <keiths@redhat.com>
4150
4151 * lib/gdb.exp (gdbtk_start): Don't set environment
4152 variables for TCL_LIBRARY and friends. Insight will
4153 now figure these out for itself.
4154
0521c418
MS
41552001-08-02 Michael Snyder <msnyder@redhat.com>
4156
4157 * gdb.base/completion.exp: Remove the symbol "a64l" from
4158 the expect string; this is target-specific, and not related
4159 to what is being tested.
4160
74a9a58a
DB
41612001-08-02 Dave Brolley <brolley@redhat.com>
4162
4163 * config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
4164
c70819fa
MS
41652001-07-25 Michael Snyder <msnyder@redhat.com>
4166
c2b8fa57
MS
4167 * gdb.base/consecutive.exp: New file. Test stepping over
4168 breakpoints on consecutive instructions.
4169 * gdb.base/consecutive.c: New file.
4170
c70819fa
MS
4171 * gdb.base/call-rt-st.exp: Use double-backslash to quote
4172 curly braces in regular expressions.
4173
2b1a1355
MS
41742001-07-25 Michael Snyder <msnyder@redhat.com>
4175
4176 * gdb.base/ending-run.exp: Accept "Program exited normally" as
4177 legitimate output from stepping out of main.
4178
413eca6f
KS
41792001-07-22 Keith Seitz <keiths@redhat.com>
4180
4181 * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
4182 the empty string, do not run the tests.
4183
7e5a9322
SC
41842001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
4185
4186 * gdb.base/long_long.exp: Detect size of pointer. Take into
4187 account 2-byte pointers when testing for p/a results.
4188
de58f10f
SC
41892001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
4190
d63a86f8 4191 * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
de58f10f
SC
4192 and defined to 1K for m68hc11.
4193 (random_data): Reduce table to 1K for embedded platforms (68hc11).
4194 * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
4195 (sizeof_random_data): New variable to tell the size of the data table;
4196 don't test past this size; always run to main.
4197
d6f5fea1
SC
41982001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
4199
4200 * gdb.base/return2.exp: return of long long and double fails for
4201 68HC11; don't execute these tests on that platform.
4202 * gdb.base/return.exp: Return of a double fails for 68hc11.
4203
c477543d
SC
42042001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
4205
4206 * call-ar-st.exp: Use gdb_skip_float_test to avoid executing
4207 tests that print a float.
4208 * call-rt-st.exp: Likewise.
4209
63cf1c79
MK
42102001-07-12 Mark Kettenis <kettenis@gnu.org>
4211
4212 * gdb.base/so-impl-ld.exp: Remove stray space that prevented
4213 running this test on Linux.
4214
112f9ab5
MC
42152001-06-24 Michael Chastain <chastain@redhat.com>
4216
4217 * gdb.base/arithmet.exp: Remove some tests to make all test names
4218 unique.
4219
4970cb0f
MS
42202001-07-03 Michael Snyder <msnyder@redhat.com>
4221
4222 * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
4223 the output of the ptype command.
4224
d85da69f
MS
42252001-07-02 Michael Snyder <msnyder@redhat.com>
4226
4c8a82de
MS
4227 * gdb.base/completion.exp: Don't assume that break.c is the only
4228 source file that may contain functions named "marker".
d85da69f
MS
4229 * gdb.base/corefile.exp: Quote the curly braces in regexp.
4230
8afc772b
AC
42312001-06-28 Andrew Cagney <ac131313@redhat.com>
4232
4233 * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
4234 of files to delete.
4235
4236 From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
4237 * gdb.disasm/h8300s.exp: New file.
4238 gdb.disasm/h8300s.s: Likewise.
4239
cff22675
AC
42402001-06-27 Andrew Cagney <ac131313@redhat.com>
4241
4242 * lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format
4243 empty breakpoint tables.
4244
68c81b54
AC
42452001-06-25 Andrew Cagney <ac131313@redhat.com>
4246
4247 * lib/mi-support.exp: Update args=... part of stop-reason
4248 patterns. Accept either a list or a tuple.
4249
2dd62704
AC
42502001-06-23 Andrew Cagney <ac131313@redhat.com>
4251
4252 * lib/mi-support.exp: Remove local emacs variable defining
4253 change-log-default-name.
4254
b4127474
MC
42552001-06-22 Michael Chastain <chastain@redhat.com>
4256
4257 * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
4258 This is operationally compatible with the previous version.
4259
8dbfb380
JB
42602001-06-13 Jim Blandy <jimb@redhat.com>
4261
4262 * lib/gdb.exp (gdb_test): Doc fix.
4263
f2d8c86d
MC
42642001-06-10 Michael Chastain <chastain@redhat.com>
4265
4266 * gdb.base/exprs.exp: Remove a duplicate test.
4267
81564d34
JB
42682001-06-06 Jim Blandy <jimb@redhat.com>
4269
4270 * gdb.base/return2.exp (main): Use values to test float and double
4271 returns that are not NaN's, to avoid being confused by IEEE
4272 comparison rules.
4273
da55addb
MS
42742001-06-04 Michael Snyder <msnyder@redhat.com>
4275
4276 * gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
d63a86f8 4277 non-zero if control_c fails. Terminate the test on failure,
da55addb
MS
4278 rather than wait for 12 more tests to time out.
4279
42c65987
JB
42802001-06-06 Jim Blandy <jimb@redhat.com>
4281
b18bced9 4282 * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
d63a86f8 4283 Don't forget to match the GDB prompt.
b18bced9 4284
42c65987
JB
4285 * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
4286
5b41e5f0
JB
42872001-06-04 Jim Blandy <jimb@redhat.com>
4288
4289 * gdb.base/help.exp: Update pattern to exclude `print-load-map'
4290 command.
4291
015e046f
KB
42922001-05-31 Kevin Buettner <kevinb@redhat.com>
4293
4294 * gdb.base/annota1.exp (info break): Match four or more spaces
4295 after "Address".
4296
fb1ffbbe
MC
42972001-05-31 Michael Chastain <chastain@redhat.com>
4298
4299 * gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
4300 (dm_type_int_star): Likewise.
4301 (dm_type_long_star): Likewise.
4302 (dm_type_void_star): Likewise.
4303
5ea2a32c
KB
43042001-05-29 Kevin Buettner <kevinb@redhat.com>
4305
4306 * gdb.base/completion.exp (INPUTRC): Set this environment variable
4307 to a known value in order to get consistent results regardless
4308 of the setting of INPUTRC or the presence or contents of .inputrc.
4309
ae23c492
MS
43102001-05-24 Michael Snyder <msnyder@redhat.com>
4311
ac55707e
MS
4312 * gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
4313 Don't require that the main thread and the manager thread are the
4314 first in the list.
4315
ae23c492
MS
4316 * gdb.threads/pthreads.exp (test_startup): Relax test for thread
4317 debugging. If test fails, issue an "unsupported" not a "fail".
4318
400071f1
JB
43192001-05-24 Jim Blandy <jimb@redhat.com>
4320
4321 Don't assume that short is shorter than int.
4322 * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
4323 assume that shorts are smaller than ints. On a 16-bit machine,
d63a86f8 4324 this isn't true.
400071f1
JB
4325 ("print unsigned char == (~0)"): Add test that verifies that ~0,
4326 an int, is not equal to ~0 stored in an unsigned char. This tests
4327 the same thing that the previous test meant to, but works on
4328 16-bit machines, too.
4329 ("print unsigned char != (~0)"): Same test, complemented.
4330
0816a3e5
MS
43312001-05-24 Michael Snyder <msnyder@redhat.com>
4332
4333 * gdb.threads/pthreads.exp (all_threads_running): Add an explicit
d63a86f8 4334 test for (full_coverage == 0). This makes the test run faster,
0816a3e5
MS
4335 and prevents dejagnu getting out of step.
4336
f6dc23a9
KB
43372001-05-23 Kevin Buettner <kevinb@redhat.com>
4338
4339 * gdb.base/finish.exp (finish_void): Revise pattern for
4340 stopping on the call statement to not permit stopping at
4341 the start of the instructions comprising the call sequence.
4342
7dbd117d
MC
43432001-05-19 Michael Chastain <chastain@redhat.com>
4344
4345 * gdb.base/callfuncs.exp: Make all test names unique.
4346 * gdb.base/commands.exp: Make all test names unique.
4347 * gdb.base/condbreak.exp: Make all test names unique.
4348 * gdb.base/dbx.exp: Make all test names unique.
4349 * gdb.base/default.exp: Make all test names unique.
4350 * gdb.base/define.exp: Make all test names unique. Conform some FAIL
4351 and TIMEOUT messages to their corresponding PASS message.
4352 * gdb.base/ending-run.exp: Make all test names unique.
4353 * gdb.base/long_long.exp: Remove duplicate test.
4354
6b0b0a9e
KB
43552001-05-21 Kevin Buettner <kevinb@redhat.com>
4356
4357 * gdb.base/finish.exp (finish_void): Allow "finish" command to
4358 stop on the call statement as well as the statement after the
4359 call.
4360
2caa35cb
MS
43612001-05-21 Michael Snyder <msnyder@redhat.com>
4362
4363 * gdb.base/long_long.exp: Allow for targets with 4-byte short.
4364
40713331
EZ
43652001-05-10 Elena Zannoni <ezannoni@redhat.com>
4366
4367 * gdb.base/completion.exp: Revamp test. Make it execute on all
4368 platforms.
4369
c2c1be8d
EZ
43702001-05-10 Elena Zannoni <ezannoni@redhat.com>
4371
2c9cd303
EZ
4372 * config/gdbserver.exp (gdb_load): Handle the case
4373 in which the arguments to gdbserver are given in the
4374 baseboard configuration file.
4375 Also handle the case in which the server needs to do a
4376 load.
4377
9671de48
KS
43782001-05-07 Keith Seitz <keiths@cygnus.com>
4379
4380 * lib/gdb.exp (gdbtk_initialize_display): New proc which will
4381 set up the display for testing.
4382 (gdbtk_start): Convert all paths to paths that tcl will like.
4383 Export target information to environment.
4384 (_gdbtk_xvfb_init): New proc to start Xvfb if available and
4385 necessary.
4386 (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
4387 (to_tcl_path): New proc to convert a given pathname into
4388 a path acceptible as an argument to a tcl command.
4389 (_gdbtk_export_target_info): New proc to export target info
4390 into the environment for gdbtk testing.
4391 (gdbtk_done): New proc to signal end-of-test.
4392
5a360f47
JB
43932001-05-06 Jim Blandy <jimb@redhat.com>
4394
4395 * restore.c: Make the code of caller0 correspond to its comment.
4396
66c756c6
MS
43972001-05-03 Michael Snyder <msnyder@redhat.com>
4398
4399 * config/sid.exp (gdb_target_sid): Check for error messages.
4400 On error or timeout, don't make expect exit (which will terminate
4401 all subsequent tests); instead just make gdb exit.
d63a86f8 4402 (gdb_load): Check for error messages. On error or timeout,
66c756c6
MS
4403 return a negative value.
4404
a966fde5
JB
44052001-04-24 Jim Blandy <jimb@redhat.com>
4406
851c18e0
JB
4407 * gdb.c++/templates.exp: If we see the prompt for the overload
4408 list, but we haven't recognized any of the longer patterns,
4409 arrange for this test to fail, not hang.
4410
a966fde5
JB
4411 * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
4412 variations.
4413
db144853
MC
44142001-04-22 Michael Chastain <chastain@redhat.com>
4415
4416 * gdb.c++/local.exp: Use the 'runto' library function.
4417 * gdb.c++/namespace.exp: Likewise.
4418 * gdb.c++/overload.exp: Likewise.
4419
3207ec21
KB
44202001-03-26 Kevin Buettner <kevinb@redhat.com>
4421
4422 * gdb.base/Makefile.in (EXECUTABLES): Add step-line.
4423 * gdb.base/step-line.exp: New file. Test step/next in presence of
4424 #line directives.
4425 * gdb.base/step-line.c: New file. Test program for the above.
4426 * gdb.base/step-line.inp: New file. We pretend that this file has
4427 been transformed by some other tool into step-line.c.
4428
13b57657
JB
44292001-03-21 Jim Blandy <jimb@redhat.com>
4430
4431 * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
4432 unmangled operator names.
4433
754cbe1c
JB
44342001-03-20 Jim Blandy <jimb@redhat.com>
4435
4436 * gdb.threads/linux-dp.exp: Recognize an additional message
4437 generated by GDB when it doesn't understand how to debug threads
4438 on the target system.
4439
177495c9
AC
44402001-03-19 Andrew Cagney <ac131313@redhat.com>
4441
4442 * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
4443
f266096b
MC
44442001-03-12 Michael Chastain <chastain@redhat.com>
4445
4446 * gdb.c++/derivation.exp: Use the 'runto' library function.
4447
cac3c2ff
MC
44482001-03-12 Michael Chastain <chastain@redhat.com>
4449
4450 * gdb.c++/annota2.exp: Fix regular expression for "post-query".
4451
b6c11a24
MC
44522001-02-24 Michael Chastain <chastain@redhat.com>
4453
4454 * gdb.c++/ref-types.exp: Change handwritten code to library
4455 function 'runto'.
4456
6bae5bce
OF
44572001-03-16 Orjan Friberg <orjanf@axis.com>
4458
4459 * gdb.base/signals.exp: Set count to 0 explicitly.
4460
0015fd9a
MS
44612001-03-15 Mark Salter <msalter@redhat.com>
4462
4463 * config/monitor.exp (gdb_target_cmd): Add explicit error return.
4464 (gdb_target_monitor): Add check of gdb_target_cmd return value.
880a15ee
MS
4465 (gdb_load): Add support for additional target_info: gdb_download_size
4466 and gdb_load_timeout.
0015fd9a 4467
fc33412a
DT
4468Thu Mar 8 16:06:00 2001 David Taylor <taylor@redhat.com>
4469
4470 * gdb.base/annota1.exp: Move test of isnative to earlier in the
4471 file -- to prevent failing when the compile fails but we have no
4472 intention of running the tests anyway.
4473
4474 * gdb.base/long_long.exp: Test target_info for no_long_long, skip
4475 tests if set.
4476
4477 * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
4478 integers.
4479
4480 * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
4481 * gdb.c++/namespace.exp: Ditto.
4482
115f06de
OF
44832001-03-07 Orjan Friberg <orjanf@axis.com>
4484
4485 * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
4486 * gdb.base/pointers.exp: Relax pattern match of decimals.
4487
b6ba6518
KB
44882001-03-06 Kevin Buettner <kevinb@redhat.com>
4489
4490 * Makefile.in, config/abug.exp, config/cfdbug.exp,
4491 config/cpu32bug.exp, config/dve.exp, config/est.exp,
4492 config/gdbserver.exp, config/hmsirom.exp, config/hppro.exp,
4493 config/i960.exp, config/m32r.exp, config/mn10300-eval.exp,
4494 config/monitor.exp, config/proelf.exp, config/rom68k.exp,
4495 config/sh.exp, config/sid.exp, config/slite.exp,
4496 config/sparclet.exp, config/udi.exp, config/unknown.exp,
4497 config/vr4300.exp, config/vr5000.exp, config/vx.exp,
4498 config/vxworks.exp, config/vxworks29k.exp,
4499 gdb.asm/asm-source.exp, gdb.base/a2-run.exp,
4500 gdb.base/all-bin.exp, gdb.base/annota1.exp,
4501 gdb.base/arithmet.exp, gdb.base/assign.exp,
4502 gdb.base/async.exp, gdb.base/attach.exp,
4503 gdb.base/bitfields.exp, gdb.base/bitops.exp,
4504 gdb.base/break.exp, gdb.base/call-ar-st.exp,
4505 gdb.base/call-rt-st.exp, gdb.base/call-strs.exp,
4506 gdb.base/callfuncs.exp, gdb.base/callfwmall.exp,
4507 gdb.base/commands.exp, gdb.base/completion.exp,
4508 gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
4509 gdb.base/constvars.exp, gdb.base/corefile.exp,
4510 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
4511 gdb.base/display.exp, gdb.base/ena-dis-br.exp,
4512 gdb.base/ending-run.exp, gdb.base/environ.exp,
4513 gdb.base/eval-skip.exp, gdb.base/exprs.exp,
4514 gdb.base/finish.exp, gdb.base/foll-exec.exp,
4515 gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp,
4516 gdb.base/funcargs.exp, gdb.base/help.exp,
4517 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp,
4518 gdb.base/logical.exp, gdb.base/long_long.exp,
4519 gdb.base/maint.exp, gdb.base/mips_pro.exp,
4520 gdb.base/miscexprs.exp, gdb.base/nodebug.exp,
4521 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp,
4522 gdb.base/pointers.exp, gdb.base/printcmds.exp,
4523 gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp,
4524 gdb.base/regs.exp, gdb.base/relational.exp,
4525 gdb.base/remote.exp, gdb.base/reread.exp,
4526 gdb.base/restore.exp, gdb.base/return2.exp,
4527 gdb.base/scope.exp, gdb.base/sect-cmd.exp,
4528 gdb.base/selftest.exp, gdb.base/setshow.exp,
4529 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
4530 gdb.base/sigall.exp, gdb.base/signals.exp,
4531 gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp,
4532 gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
4533 gdb.base/step-test.exp, gdb.base/structs.c,
4534 gdb.base/structs.exp, gdb.base/structs2.exp,
4535 gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp,
4536 gdb.base/volatile.exp, gdb.base/watchpoint.exp,
4537 gdb.base/whatis-exp.exp, gdb.base/whatis.exp,
4538 gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
4539 gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.exp,
4540 gdb.c++/derivation.exp, gdb.c++/inherit.exp,
4541 gdb.c++/local.exp, gdb.c++/member-ptr.exp, gdb.c++/method.exp,
4542 gdb.c++/misc.exp, gdb.c++/namespace.exp, gdb.c++/overload.exp,
4543 gdb.c++/ref-types.exp, gdb.c++/templates.exp,
4544 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp,
4545 gdb.disasm/am33.exp, gdb.disasm/hppa.exp,
4546 gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp,
4547 gdb.fortran/types.exp, gdb.java/jmisc.exp,
4548 gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
4549 gdb.stabs/weird.exp, gdb.threads/linux-dp.exp,
4550 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
4551 gdb.trace/circ.exp, gdb.trace/collection.exp,
4552 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
4553 gdb.trace/limits.exp, gdb.trace/packetlen.exp,
4554 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp,
4555 gdb.trace/report.exp, gdb.trace/save-trace.exp,
4556 gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
4557 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
4558 lib/gdb.exp, lib/mi-support.exp: Update/correct copyright
4559 notices.
4560
dc96c6c7 45612001-02-27 Michael Snyder <msnyder@cygnus.com>
d8f92b1f
MS
4562
4563 * gdb.base/varargs.c (find_max_double): Fix printf format string:
4564 first arg is int not float.
4565
dc96c6c7 45662001-02-22 Michael Snyder <msnyder@cygnus.com>
40f33b9b
MS
4567
4568 * gdb.base/reread.exp: Unsupported for non-native targets;
4569 doesn't work for remote debugging.
4570
9b0c4aeb
FN
45712001-02-19 Fernando Nasser <fnasser@redhat.com>
4572
4573 From Drew Moseley <dmoseley@redhat.com>
4574 * gdb.base/ending-run.exp: Properly handle the BSP state when
4575 stepping past the end of main.
4576
02aa71d5
MC
45772001-02-19 John Moore <jmoore@redhat.com>
4578
4579 * gdb.base/commands.exp (infrun_breakpoint_command_test):
4580 Converted HPUX fix for non-expected items following multiple
4581 step commands into general solution for all platforms.
4582
1fa449a4
MC
45832001-02-18 Michael Chastain <chastain@redhat.com>
4584
4585 * gdb.c++/classes.exp (do_tests): Change runto statements
4586 from "runto 'foo(void)'" to "runto 'foo'". This makes the
4587 statements demangler agnostic.
4588 * gdb.c++/virtfunc.exp (do_tests): Likewise.
4589 (gdb_virtfunc_restart): Likewise.
4590
b2f9ec70
MC
45912001-02-14 Michael Chastain <chastain@redhat.com>
4592
4593 * gdb.c++/inherit.exp (do_tests): Change runto statements
4594 from "runto 'foo(void)'" to "runto 'foo'". This makes the
4595 statements demangler agnostic.
4596
cf74b8ca
AC
4597Sun Feb 4 17:32:21 2001 Andrew Cagney <cagney@redhat.com>
4598
4599 * gdb.threads/pthreads.exp: Unify pass/fail messages for
4600 ``continue to bkpt at common_routine in thread 2'' and ``stopped
4601 before calling common_routine 15 times'' tests.
4602
99f78f56
MC
46032001-02-11 Michael Chastain <chastain@redhat.com>
4604
4605 * gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
4606 Helps the test script figure out which demangler is in use.
4607 (dm_type_foo_ref): Ditto.
4608 (dm_type_int_star): Ditto.
4609 (dm_type_long_star): Ditto.
4610 (dm_type_unsigned_int): Ditto.
4611 (dm_type_void): Ditto.
4612 (dm_type_void_star): Ditto.
99707966 4613 * gdb.base/cplusfuncs.exp (probe_demangler): New function.
99f78f56
MC
4614 Probe the gdb demangler and set variables to accommodate
4615 formatting differences.
4616 (info_func_regexp): New function. Same as info_func, but
4617 matches against a regexp.
4618 (info_func): Match against a literal string.
4619 (print_addr_2): New function. Match against a literal string,
4620 which can be different from the input to gdb.
4621 (print_addr): Simply call print_addr_2 with the same argument twice.
4622 (test_lookup_operator_functions): Use demangler formatting variables.
4623 Blow away the xfails and workarounds for gnats gdb bug gdb/18. Sort
4624 the tests in the same order as the C++ class declaration.
4625 (test_paddr_operator_functions): Ditto.
4626 (test_paddr_overloaded_functions): Ditto.
4627 (test_paddr_hairy_functions): Use demangler formatting variables.
4628 Add reference to gdb/19 for related tests.
4629 (do_tests): Call probe_demangler.
4630
1de8f023
KB
46312001-01-30 Kevin Buettner <kevinb@redhat.com>
4632
4633 * gdb.c++/templates.cc (printf): Remove unused function definition.
4634
ca3f91ed
MS
46352001-01-26 Felix Lee <flee@redhat.com>
4636
4637 * sid.exp (sid_exit): Pass host, not target, to remote_close.
4638
46392001-01-25 matthew green <mrg@redhat.com>
4640
4641 * config/sid.exp (sid_start): Call `remote_push_conn' after firing
4642 up sid.
4643 (sid_exit): Call `remote_pop_conn' after GDB is gone.
4644
46452001-01-25 matthew green <mrg@redhat.com>
4646
4647 * config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.'
d63a86f8 4648 Deprecate $sid_spawn_id.
ca3f91ed
MS
4649 (sid_exit): Remove code necessary only for `spawn.'
4650
46512001-01-25 matthew green <mrg@redhat.com>
4652
4653 * config/sid.exp (sid_start): Handle sim,protocol of `sid.'
4654
fb18ec4a
MC
46552001-01-28 Michael Chastain <chastain@redhat.com>
4656
4657 * gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
4658 to call when tests fail. It takes gdb out of the overloaded
4659 function choice menu back to the main prompt, so that the test
4660 program stays synchronized.
4661 (set_bp_overloaded): New proc to collect all the common
4662 code for setting a breakpoint on an overloaded name. Calls
4663 take_gdb_out_of_choice_menu when needed.
4664 (menu_overload1arg): New variable to collect the repeated
4665 instances of the expected menu for an overloaded name. Change
4666 the regular expression to handle changes in g++ type encoding:
4667 "void" can be either "void" or "", and "unsigned int" can be
4668 either "unsigned int" or "unsigned".
4669 (continue_to_bp_overloaded): Change regular expressions to handle
4670 changes in g++ type encoding.
4671 (no proc): Call take_gdb_out_of_choice_menu when needed.
4672 Remove redundant calls to "info break". Accept either "canceled"
4673 or "cancelled". Change regular expressions in "info break"
4674 calls to handle changes in g++ type encoding. Give all tests
4675 unique strings.
4676
9c646a6e
BE
46772001-01-17 Ben Elliston <bje@redhat.com>
4678
4679 * config/sid.exp: New file.
4680
9549d9c1
AC
4681Fri Jan 12 18:29:01 2001 Andrew Cagney <cagney@b1.cygnus.com>
4682
4683 * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
4684
dc96c6c7 46852000-12-21 Michael Snyder <msnyder@cygnus.com>
315f8b0e
MS
4686
4687 * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
4688 Add a RE to accept a non-ascii char if one is ever presented.
4689
b4df4f68
FN
46902000-12-20 Fernando Nasser <fnasser@redhat.com>
4691
297dd0fd 4692 * lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
b4df4f68 4693
dc96c6c7 46942000-12-18 Michael Snyder <msnyder@cygnus.com>
49c890fc 4695
d63a86f8 4696 * gdb.base/setvar.exp: Use double '\\' to quote curly braces
49c890fc
MS
4697 in regexp. One '\' does not suffice on Linux.
4698
4a7bddb6
MC
46992000-12-09 Michael Chastain <chastain@redhat.com>
4700
4701 * gdb.base/break.exp (test_clear_command): Use a marker function
4702 rather than 'main' for the test function. Also move this
4703 test to an execution point where the marker function names are
4704 guaranteed to be bound to functions. (Executing tests after a
4705 'finish' from main runs into name conflicts with local names
4706 in __libc_start_main).
4707
dc96c6c7 47082000-12-07 Michael Snyder <msnyder@cygnus.com>
efb66345
MS
4709
4710 * gdb.base/finish.exp: New test for gdb's "finish" command.
4711 * gdb.base/return2.exp: New test for gdb's "return" command.
4712 * gdb.base/return2.c: New source file for above.
4713
dc96c6c7 47142000-12-05 Michael Snyder <msnyder@cygnus.com>
3c077de9
MS
4715
4716 * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
4717 * gdb.base/miscexprs.exp: Ditto.
4718 * gdb.base/pointers.exp: Ditto.
4719 * gdb.c++/derivation.exp: Ditto.
4720 * gdb.c++/local.exp: Ditto.
4721 * gdb.c++/namespace.exp: Ditto.
4722 * gdb.c++/overload.exp: Ditto.
4723 * gdb.c++/ref-types.exp: Ditto.
4724
dc96c6c7 47252000-12-05 Michael Snyder <msnyder@cygnus.com>
660fd469
MS
4726
4727 * gdb.base/constvars.exp: Test result of "up" command.
4728 * gdb.base/miscexprs.exp: Ditto.
4729 * gdb.base/pointers.exp: Ditto.
4730 * gdb.base/scope.exp: Ditto.
4731 * gdb.c++/derivation.exp: Ditto.
4732 * gdb.c++/local.exp: Ditto.
4733 * gdb.c++/namespace.exp: Ditto.
4734 * gdb.c++/overload.exp: Ditto.
4735 * gdb.c++/ref-types.exp: Ditto.
4736
44097287
FN
47372000-11-22 Michael Chastain <chastain@redhat.com>
4738
4739 * mips_pro.exp: Accept either "middle -> top -> main" or
4740 "middle -> main" in the backtrace, because gcc can optimize
4741 tail calls to jumps. Remove setup_xfail for the hppa case.
4742 Add a comment with the original warning messages from PR 3016,
4743 which was filed in 1993, to preserve them for posterity.
4744
9d2e1bab
ND
47452000-11-17 Nick Duffek <nsd@redhat.com>
4746
4747 * lib/gdb.exp (gdb_test): Override timeout with board info.
4748
1aca8eb7
ND
47492000-11-17 Nick Duffek <nsd@redhat.com>
4750
4751 * gdb.base/display.exp: Don't kill running stub. Add "again" to
4752 the second kill and detach messages.
4753
93076499
ND
47542000-11-17 Nick Duffek <nsd@redhat.com>
4755
4756 * configure.in: Add AC_EXEEXT.
4757 * configure: Regenerate.
4758 * Makefile.in (just-check): Export EXEEXT.
4759 * lib/gdb.exp ($EXEEXT): Import from environment.
4760 * gdb.base/maint.exp: Expect $EXEEXT in executable name. Don't
4761 expect "maint dump-me" on Cygwin.
4762 * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
4763 $EXEEXT.
4764
30e87cd3
ND
47652000-11-17 Nick Duffek <nsd@redhat.com>
4766
4767 * gdb.base/break.exp: Test backtrace and finish from called
4768 function on all platforms, not just HP-UX.
4769
dc96c6c7 47702000-11-03 Michael Snyder <msnyder@cygnus.com>
08e706b1
MS
4771
4772 * config/monitor.exp (gdb_target_cmd): Abstracts some of the
4773 code from gdb_target_monitor, so it can be used independantly
4774 for gdbserver. Also comment out an unnecessary PUTS.
d63a86f8 4775
dc96c6c7 47762000-11-03 Michael Snyder <msnyder@cygnus.com>
958a4e4c
MS
4777
4778 * gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
4779 * gdb.base/corefile.exp: Expect the message "Program is being
4780 debugged already" when we send the "corefile" command, since
4781 the preceeding gdb_load may have connected gdb to a remote target.
4782 * gdb.base/display.exp: Disable hardware watchpoints if new
4783 board info variable "no_hardware_watchpoints" is true.
4784 Replace single-letter commands with more readable ones.
4785 * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
4786 if new board info variable "no_hardware_watchpoints" is true.
4787 * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
4788 to see if stdio (printf) testing is possible.
4789 * gdb.base/watchpoint.exp: Disable hardware watchpoints if new
4790 board info variable "no_hardware_watchpoints" is true. Use new
4791 proc "gdb_skip_stdio_tests" to see if printf tests are possible.
4792
39124dea
FN
47932000-11-13 Fernando Nasser <fnasser@redhat.com>
4794
4795 From Orjan Friberg <orjanf@axis.com>:
4796 * gdb.base/printcmds.exp: Escape curly braces followed by a number
4797 in array print pattern match.
4798
a9e2e984
FN
47992000-11-09 Fernando Nasser <fnasser@redhat.com>
4800
4801 * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
4802 spelling "cancelled" to U.S. spelling "canceled" to match changes
4803 made to gdb.
4804 * gdb.c++/ovldbreak.exp: Ditto.
4805
c7db355b
PS
48062000-11-06 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
4807
4808 * gdb.base/callfuncs.c (main): Moved to end of file, call
4809 t_double_values to initialize the FPU before inferior calls are made.
4810 * gdb.base/callfuncs.exp: Test for register preservation after calling
4811 inferior functions. Add tests for continuining, finishing and
4812 returning from a stop in a call dummy.
4813
dc96c6c7 48142000-10-24 Michael Snyder <msnyder@cygnus.com>
42f5c13f
MS
4815
4816 * gdb.base/commands.exp: Break up long lines, and re-indent.
4817
dc96c6c7 48182000-10-19 Michael Snyder <msnyder@cygnus.com>
ae0323a8
MS
4819
4820 * config/gdbserver.exp: Rewritten from the ground up, to make it
4821 compatible with the current dejagnu tree, and to make it work with
4822 the new "gdbserver" in libremote.
4823
dc96c6c7 48242000-10-16 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
4825
4826 * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
4827 * gdb.base/varargs.exp: Skip entire test if no printf support.
4828 * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
4829 * gdb.base/shlib-call.exp: Skip several tests if no printf support.
4830
dc96c6c7 48312000-10-13 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
4832
4833 * lib/gdb.exp (gdb_skip_float_test): New proc. Skip test if
4834 no floating point support.
4835 (gdb_skip_stdio_test): New proc. Skip test if no stdio support.
4836 * gdb.base/call-ar-st.exp: Use above procs to skip tests.
4837 * gdb.base/call-rt-st.exp: Ditto.
4838 * gdb.base/call-strs.exp: Ditto.
4839
bac5fc66
JG
48402000-08-02 Jimmy Guo <guo@hpcleara.cup.hp.com>
4841
4842 * gdb.base/sizeof.c: include <stdio.h>.
4843
4844 * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
4845 'finish', otherwise uncaptured gdb_prompt would potentially
4846 throw remaining test points out of sync.
4847
b22a6027
SB
48482000-07-26 Scott Bambrough <scottb@netwinder.org>
4849
4850 * gdb.base/recurse.exp: Run tests for all targets.
4851 * gdb.base/so-impl-ld.exp: Added wildcard to handle the
4852 gnu-oldld case on ARM.
4853 * gdb.base/watchpoint.exp (test_stepping): Clear xfail
4854 for ARM targets.
d63a86f8 4855
d8231941
AG
4856Mon Jul 24 07:46:02 CDT 2000 Clinton Popetz <cpopetz@cygnus.com>
4857
4858 * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
4859 * gdb.java/configure: Rebuild.
4860
8caabe69
AG
4861Sun Jul 23 21:42:34 2000 Anthony Green <green@redhat.com>
4862
4863 * gdb.java/jv-exp.exp: New file.
4864
9d273ca3
AG
4865Sun Jul 23 21:02:42 2000 Anthony Green <green@redhat.com>
4866
4867 * configure: Rebuilt.
4868 * configure.in (configdirs): Add gdb.java.
4869 * gdb.java/jmisc.java: New file.
4870 * gdb.java/jmisc.exp: New file.
4871 * gdb.java/Makefile.in: New file.
4872 * gdb.java/configure: Rebuilt.
4873 * gdb.java/configure.in: New file.
4874 * lib/java.exp: New file.
4875
4f823a66
AC
4876Wed Jul 12 18:14:29 2000 Andrew Cagney <cagney@b1.cygnus.com>
4877
4878 * gdb.base/exprs.exp: Test casts to a pointer including over and
4879 underflow.
4880
2391e11d
AC
4881Thu Jul 13 11:52:53 2000 Andrew Cagney <cagney@b1.cygnus.com>
4882
4883 * gdb.base/sizeof.exp, gdb.base/sizeof.c: New files. Compare GDB
4884 and the compilers sizes.
4885
54602222
ND
48862000-07-09 Nick Duffek <nsd@redhat.com>
4887
4888 * gdb.c++/misc.cc (class ClassParam, class_param): Define.
4889 (use_methods): New function.
4890 (main): Call use_methods().
4891 * gdb.c++/classes.exp (test_method_param_class): New procedure.
4892 (do_tests): Call test_method_param_class.
4893
2bec0572
ND
48942000-07-09 Nick Duffek <nsd@redhat.com>
4895
4896 * gdb.c++/classes.exp (test_nonexistant_members): Fix name
4897 spelling.
4898 (test_enums): New procedure. Move enum tests from end of script
4899 to here. Set breakpoint on function name instead of line number.
4900 * gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
4901 (enums2): New marker function.
4902 (enums1): New function.
4903 (main): Call enums1(). Move enum tests to enums1().
4904
78492fde
AC
4905Tue Jul 4 03:43:49 2000 Andrew Cagney <cagney@b1.cygnus.com>
4906
4907 * gdb.asm/asm-source.exp: Use raw AS/LD instead of CC to
4908 compile/link program. Update line numbers.
4909 * gdb.asm/d10v.inc: Define ``startup''.
4910 * gdb.asm/asmsrc1.s: Add definition of _start.
d63a86f8 4911
49a2cef8
AC
4912Fri Jun 23 17:45:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
4913
4914 * gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
4915
3e6c8688
EZ
49162000-06-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4917
4918 * gdb.base/maint.exp: Add 'maint print architecture' item to output
4919 of 'help maint print' command.
4920
9ff5cbe9
AC
4921Fri Jun 16 18:22:05 2000 Andrew Cagney <cagney@b1.cygnus.com>
4922
4923 * gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
4924 they use gdb_expect_list.
4925
17c579bd
AC
4926Wed Jun 7 13:02:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
4927
4928 * gdb.base/commands.exp: Use ``set remote
4929 memory-read-packet-size'' instead of ``set endian big'' to test
4930 long commands.
4931
e6d71bf3
DB
49322000-06-03 Daniel Berlin <dan@cgsoftware.com>
4933
4934 * gdb.c++/templates.exp (do_tests): Make all of these work under
d63a86f8 4935 g++, and stop skipping them.
e6d71bf3
DB
4936
4937 * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
4938 work under g++.
4939
d63a86f8 4940 * gdb.c++/misc.cc: Fix ambiguous initialization with correct
e5f9ba7b
MS
4941 initialization.
4942
dc96c6c7 49432000-06-02 Michael Snyder <msnyder@cygnus.com>
7346e70f
MS
4944
4945 * gdb.base/annota1.exp (run until main breakpoint): Loosen up
4946 the regular expression: accept an (almost) arbitrary sequence of
4947 "frames-invalid" and "breakpoints-invalid" messages both before
4948 and after the "starting" message.
4949
dc96c6c7 49502000-06-02 Michael Snyder <msnyder@cygnus.com>
e5f9ba7b
MS
4951
4952 * gdb.c++/local.exp: This test has never been known to work with g++.
e6d71bf3 4953
dc96c6c7 49542000-05-18 Michael Snyder <msnyder@cygnus.com>
0a791409
MS
4955
4956 * gdb.base/annota1.exp (annotate-signal-handler-caller):
4957 Relax the regular expression a little, make it pass on Solaris 8.
4958
8216cda9
KB
49592000-05-12 Kevin Buettner <kevinb@redhat.com>
4960
4961 * gdb.base/step-test.exp: On IA-64 targets, when stepping out of
d63a86f8 4962 a call, do not require that gdb stop on the line after the call.
8216cda9
KB
4963 Instead, it is permissible for gdb to stop on the line of the
4964 call itself.
4965
1a570b2f
MS
49662000-05-12 Michael Snyder <msnyder@.cygnus.com>
4967
4968 * gdb.base/break.exp (bp on small function, optimized file):
4969 Add a second pass pattern. The behavior differs here between stabs
4970 and dwarf for one-line functions. Stabs preserves two line symbols
4971 (one before the prologue and one after) with the same line number,
4972 but dwarf regards these as duplicates and discards one of them.
4973 Therefore the address after the prologue (where the breakpoint is)
4974 has no exactly matching line symbol, and GDB reports the breakpoint
4975 as if it were in the middle of a line rather than at the beginning.
4976
dc96c6c7 49772000-05-08 Michael Snyder <msnyder@cygnus.com>
89cb06a2 4978
d63a86f8 4979 * gdb.base/interrupt.exp: Make "pass" message say "send"
89cb06a2
MS
4980 rather than "send_gdb" (for consistancy).
4981
7d418785
AC
4982Mon May 1 15:37:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
4983
4984 From 2000-04-28 Andreas Jaeger <aj@suse.de>:
4985 * gdb.c++/templates.cc: Properly check for GCC version number.
4986 * lib/compiler.cc: Likewise
4987
dc96c6c7 49882000-04-28 Michael Snyder <msnyder@cygnus.com>
e919ea79 4989
d63a86f8 4990 * gdb.base/break.exp: When compiled with -O2 optimization,
e919ea79
MS
4991 gdb may not stop at the first line of main, due to code motion.
4992
dc96c6c7 49932000-04-26 Michael Snyder <msnyder@cygnus.com>
1960c400
MS
4994
4995 * gdb.base/call-ar-st.exp: Bail out if target is sparclet.
4996 This test depends on parsing the printf output from the target.
4997 Since the sparclet stub doesn't do stdio, this will never work.
4998 * gdb.base/call-rt-st.exp: ditto.
4999 * gdb.base/call-strs: ditto.
5000
dc96c6c7 50012000-04-24 Michael Snyder <msnyder@cygnus.com>
b84b7669
MS
5002
5003 * gdb.base/miscexprs.exp: make sizeof long array test portable.
5004
5005 * gdb.base/ending-run.exp: After connecting to a remote target,
5006 but before running, the target will appear to be in a random
5007 location. Specify both a file and a line for breakpoints.
5008 Also, the function that calls main may be called 'init'
5009 rather than 'start'.
5010
a5a51225
EZ
50112000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5012
5013 * gdb.base/help.exp: Update output for add-symbol-file command.
5014
7930cc7c
FN
50152000-04-10 Fernando Nasser <fnasser@cygnus.com>
5016
5017 From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
5018 * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
5019
23e37ab1
C
50202000-04-07 J.T. Conklin <jtc@redback.com>
5021
e93c542c
C
5022 * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
5023
23e37ab1
C
5024 * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
5025
591b8fa3
PDM
5026Thu Mar 30 13:26:19 2000 Philippe De Muyter <phdm@macqel.be>
5027
5028 * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
5029 values that can be represented exactly.
5030 * gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
5031 above change, and to not check against the directory part of the source
5032 file name.
5033 (step into print_long_arg_list): Likewise.
5034 (print print_small_structs from print_long_arg_list): Likewise.
5035 (print print_long_arg_list): Likewise.
5036
7a495180
EZ
50372000-03-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5038
30b53638 5039 * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
7a495180 5040
beb998c6
AC
5041Mon Mar 27 14:46:37 2000 Andrew Cagney <cagney@b1.cygnus.com>
5042
5043 * ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
5044
1c689132
DB
50452000-03-25 Daniel Berlin <dan@cgsoftware.com>
5046
5047 * gdb.base/commands.exp (deprecated_command_test): Add test for
5048 deprecate with no arguments.
5049
c1790a9d
JL
50502000-03-24 Jonathan Larmour <jlarmour@redhat.co.uk>
5051
5052 * gdb.base/break.exp: Add new test for setting breakpoints on
5053 optimized code so we can test breakpoints work even when function
5054 prologues may be optimized away
5055
003ba290
FN
50562000-03-23 Fernando Nasser <fnasser@totem.to.cygnus.com>
5057
5058 From David Whedon <dwhedon@gordian.com>
5059 * gdb.base/commands.exp : Added command deprecator tests.
5060
6837a0a2
DB
50612000-03-22 Daniel Berlin <dan@cgsoftware.com>
5062
5063 * gdb.base/help.exp: Added test for new apropos command.
5064
b9593231
KB
50652000-03-21 Kevin Buettner <kevinb@redhat.com>
5066
5067 * gdb.base/pointers.c (usevar): New function.
5068 (main): Make sure that global variables v_int_pointer2, rptr,
5069 and y are all referenced someplace in the program by calling
5070 usevar() on them. [Some linkers delete symbols which are
5071 never referenced. The space remains, but there's no way to
5072 get a (symbolic) handle on the variable from the debugger.]
5073
751a959b
EZ
50742000-03-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5075
5076 * gdb.base/printcmds.c: Add typedeffed arrays.
5077
5078 * gdb.base/printcmds.exp (test_print_typedef_arrays): New
5079 procedure to test arrays that are typedef'd.
5080
73a93a32
JI
50812000-03-13 James Ingham <jingham@leda.cygnus.com>
5082
5083 * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
d63a86f8 5084 the library directories.
73a93a32 5085
fb40c209
AC
5086Mon Feb 21 13:05:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
5087
5088 * configure.in (configdirs): Add sub directory gdb.mi.
5089 * configure: Re-generate.
5090
5091 * gdb.mi: New directory.
d63a86f8 5092
ee4dd2c9
AC
50932000-02-25 Scott Bambrough <scottb@netwinder.org>
5094
5095 * gdb.base/long_long.exp: Correct test suite failure when printing
5096 a long long value as a double on ARM platforms.
5097
70f0cc22
JB
50982000-02-16 Jim Blandy <jimb@redhat.com>
5099
5100 * gdb.base/break.exp ("breakpoint line number"): Make sure the
5101 default source file is set properly before running this test.
5102
853819b8
EZ
51032000-02-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5104
5105 * lib/gdb.exp: Tell the testsuite that now gdbtk is in the
5106 gdbtk/library directory, not in gdbtcl2.
5107
dfcd3bfb
JM
51082000-02-04 Jim Blandy <jimb@redhat.com>
5109
5110 * gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
5111 backslash from regexp pattern.
5112
5113 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): New
5114 procedure. Use it to run all the "continue to bp overloaded"
5115 tests. Note that this changes the names of the tests slightly.
5116 If the breakpoint hit message includes a hex PC value, because
5117 GCC's Dwarf 2 line info doesn't help us distinguish the prologue
5118 from the real source code, still consider that a pass.
5119
5120 * gdb.base/condbreak.exp ("run until breakpoint at marker2"):
5121 XFAIL here if the breakpoint message contains a hex address. Note
5122 similar change on 1999-11-02.
5123
5124 * gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
5125
5126 * gdb.base/ptype.exp: Establish a default source file before
5127 calling get_debug_format.
5128
51292000-02-03 Fernando Nasser <fnasser@totem.to.cygnus.com>
5130
5131 * gdb.base/watchpoint.exp: Remove duplication of test messages.
5132
8b93c638
JM
51332000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
5134
5135 * gdb.base/step-test.exp: Fix the steps to enter a callee by means
5136 of successive stepi commands -- while in the prologue we should see
5137 the function entry bracket.
5138
51392000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
5140
5141 * gdb.base/ending-run.exp: Add ARM in thumb mode case, where we
5142 reach __change_mode() when stepping through the end of main().
5143
c5394b80
JM
51442000-01-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
5145
5146 * gdb.base/default.exp: Fix expected pattern.
5147 * gdb.base/help.exp: Same.
5148
0d06e24b
JM
51492000-01-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5150
5151 * gdb.base/so-indr-cl.exp: Don't execute the test if not on HPUX.
5152 Don't use xfail's because that affects only the following test.
d63a86f8 5153
0d06e24b
JM
5154 * gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
5155 solaris or linux.
5156
5157 * gdb.base/selftest.exp: Update to reflect changes to main.c.
5158
dc96c6c7 51592000-01-07 Michael Snyder <msnyder@cygnus.com>
0d06e24b 5160
d63a86f8 5161 * gdb.base/display.exp: Some yacc parsers like to say
0d06e24b
JM
5162 "A syntax error" rather than "A parse error". Accept both.
5163
51642000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
5165
5166 * gdb.base/default.exp: Remove OS dependent string from "target
5167 remote" test.
5168 * gdb.base/help.exp: Same for "help target remote" test.
5169
c3f6f71d
JM
51702000-01-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5171
5172 From Jim Kingdon <kingdon@redhat.com>:
5173
5174 * gdb.c++/annota2.exp: Fix "delete bps" test to wait for the
5175 prompt (cleanup rather than necessity, but still might keep output
5176 from spilling to next test).
5177
51782000-01-02 Fred Fish <fnf@cygnus.com>
5179
5180 * gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
5181 AIX, which defines them in <sys/types.h>.
5182
ed9a39eb 51831999-12-16 Stan Shebs <shebs@andros.cygnus.com>
c4093a6a 5184
ed9a39eb
JM
5185 * gdb.base/default.exp: Match arm* etc instead of arm in "info
5186 float" test.
5187
51881999-12-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
c4093a6a 5189
ed9a39eb 5190 * gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
c4093a6a
JM
5191
5192 * gdb.base/break.exp: Add missing anchor to reg exp on "finish from
5193 outermost frame disallowed".
5194
51951999-12-09 Fernando Nasser <fnasser@totem.to.cygnus.com>
5196
5197 * gdb.base/setvar.exp: New tests for setting the value of a struct
5198 with a constant list.
5199
52001999-12-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
5201
5202 * gdb.base/setvar.exp: Remove pair os tests that expected gdb to
5203 require the user to type a cast before setting the value of a struct.
5204
de57eccd
JM
52051999-12-06 Jim Blandy <jimb@cygnus.com>
5206
5207 * gdb.base/default.exp: Expect the new 'info float' command on
5208 all i386 platforms.
5209
5210 * gdb.threads/linux-dp.exp: Expand our ability to recognize
5211 LinuxThreads libraries that don't support debugging.
5212
c2d11a7d
JM
5213Sat Dec 4 15:21:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
5214
5215 * gdb.base/remote.c: Fill the buffer with truely random data.
5216 Change the buffer type to ``unsigned char'' to simplify size
5217 arithmetic.
5218
5219 * gdb.base/remote.exp: Reduce download numbers by one. Typical
5220 stub only handles 400-1 byte packets. Verify that the download
5221 worked.
5222
52231999-11-30 Fernando Nasser <fnasser@totem.to.cygnus.com>
5224
5225 * lib/gdb.exp (gdb_expect_list): FAIL only once on multiple pattern
5226 tests, using UNRESOLVED for the untested cases. Also, does not wait
5227 for a timeout if the prompt was received before a recognizable pattern.
5228
52291999-11-29 Fernando Nasser <fnasser@totem.to.cygnus.com>
5230
5231 * lib/gdb.exp (gdb_expect_list): Fix spelling.
5232
52331999-11-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5234
5235 * gdb.base/watchpoint.exp: Add tests cases for the hit count of
5236 watchpoints.
5237
52381999-11-24 Jason Merrill <jason@casey.cygnus.com>
5239
5240 * gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
5241
5242 * gdb.c++/local.exp: Be more flexible in recognizing local class
5243 name mangling. Don't allow horribly truncated method names.
5244 * gdb.c++/derivation.exp: Expect protected inheritance.
5245 * gdb.c++/inherit.exp: Be more flexible in recognizing vbase pointers.
5246 * gdb.c++/virtfunc.exp: Likewise.
5247 * gdb.c++/classes.exp: Likewise. Don't require the enclosing scope
5248 when printing a nested enum.
5249
52501999-11-22 Jim Blandy <jimb@cygnus.com>
5251
5252 * gdb.base/step-test.exp: Properly await GDB's response to setting
5253 a breakpoint on the call to large_struct_by_value.
5254
5255 * gdb.base/ending-run.exp ("step to end of run 1"): Don't fail
5256 just because we have debug info for the `start' function.
5257
52581999-11-19 Jim Blandy <jimb@zenia.red-bean.com>
5259
5260 * gdb.threads/linux-dp.exp ("create philosopher"): Recognize the
5261 "Unknown signal" messages, which indicate (on LinuxThreads) that
5262 GDB doesn't know how to debug threads on this system. This is
5263 better than hanging while philosopher 0 dumps chatter into gdb.log.
5264
52651999-11-18 Tom Tromey <tromey@cygnus.com>
5266
5267 * gdb.trace/deltrace.exp: Updated test to reflect new error text.
5268
52691999-11-18 Fred Fish <fnf@cygnus.com>
5270
5271 * gdb.base/coremaker2.c: Add sample program for generating
5272 cores that is more self contained than coremaker.c. Eventually
5273 I'll add more code to this and tie it into the testsuite.
5274
4ce44c66
JM
52751999-11-12 Stan Shebs <shebs@andros.cygnus.com>
5276
5277 * gdb.base/dollar.exp: Remove, now in gdb.hp.
5278
52791999-11-10 Jimmy Guo <guo@cup.hp.com>
5280
5281 * gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
5282 from $srcdir/lib/.
5283 * lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
5284 and gdb.c++/.
5285
5286 * gdb.c++/derivation.exp: remove redundant get compiler info code.
5287
d63a86f8 5288 * gdb.base/commands.exp: add '$gdb_prompt $' anchor to
4ce44c66
JM
5289 'continue with watch' test point.
5290
52911999-11-08 Jim Blandy <jimb@zenia.red-bean.com>
5292
5293 Merged from p2linux-990323-branch:
d63a86f8 5294
4ce44c66
JM
5295 * lib/gdb.exp (gdb_continue_to_breakpoint): New function.
5296
11cf8741
JM
5297Mon Nov 8 23:07:09 1999 Andrew Cagney <cagney@amy.cygnus.com>
5298
5299 * gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
5300 {limit,fixed}''. Test ``set download-write-size''.
5301
5302Sun Nov 7 17:37:01 1999 Andrew Cagney <cagney@b1.cygnus.com>
5303
5304 * gdb.base/funcargs.exp: Rewrite stack traceback checks using
5305 gdb_expect_list.
5306
5307Fri Nov 5 18:40:52 1999 Andrew Cagney <cagney@b1.cygnus.com>
5308
5309 * lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
5310
53111999-11-03 Mark Salter <msalter@cygnus.com>
5312
5313 * gdb.base/break.exp: Fix "stub continue" pattern.
5314
53151999-11-03 Jim Blandy <jimb@zwingli.cygnus.com>
5316
5317 * gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
5318
53191999-11-02 Jim Blandy <jimb@zwingli.cygnus.com>
5320
5321 * gdb.base/display.exp ("finish"): Add timeout clause.
5322
5323 * gdb.base/condbreak.exp ("run until breakpoint at marker1"): Add
5324 plain prompt clause, so this doesn't have to time out in order to
5325 fail.
5326
5327 * gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
5328 breakpoint hit messages include an address.
5329
5330 * gdb.base/display.exp: Don't forget to escape parens in regular
5331 expressions. Unix regexp notatation sucks.
5332
53331999-11-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5334
5335 * gdb.base/annota1.exp: Test for annotate-signalled: change output
5336 order for 'signalled' message.
5337
5c44784c
JM
53381999-11-01 Stan Shebs <shebs@andros.cygnus.com>
5339
5340 From Jimmy Guo <guo@cup.hp.com>:
5341 * gdb.base/annota1.exp: Add tests for annotate ignore count change.
5342 * gdb.base/annota1.c: Add code for tests to work with.
5343
53441999-10-26 Frank Ch. Eigler <fche@cygnus.com>
5345
5346 * gdb.base/remote.exp: New test for remote downloading settings.
5347 * gdb.base/remote.c: New file with large .data.
5348
917317f4
JM
53491999-10-18 Jim Blandy <jimb@zwingli.cygnus.com>
5350
5351 * gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
5352 for LinuxThreads support, merged from the Code Fusion branch.
5353
5354Mon Oct 11 13:57:21 1999 Andrew Cagney <cagney@amy.cygnus.com>
5355
5356 * lib/gdb.exp (gdb_run_cmd): Break complicated gdb_expect
5357 containing exp_continue into a while within an expect. Don't
5358 attempt a start more than three times. Check return value from
5359 gdb_load.
d63a86f8 5360
2df3850c
JM
5361Wed Oct 6 12:05:58 1999 Andrew Cagney <cagney@b1.cygnus.com>
5362
5363 * gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
5364 a pass case.
5365
2acceee2
JM
53661999-10-01 Kevin Buettner <kevinb@cygnus.com>
5367
5368 * gdb.base/break.c (main): Added a statement that we can step
5369 off of.
5370 * gdb.base/break.exp: Added tests for setting a breakpoint
5371 at an offset and stepping onto a breakpoint.
5372
53731999-10-01 Fred Fish <fnf@cygnus.com>
5374
d63a86f8 5375 * gdb.base/help.exp (help add-symbol-file): Update to match current
2acceee2
JM
5376 gdb output.
5377
c2c6d25f
JM
53781999-09-18 Jim Blandy <jimb@cris.red-bean.com>
5379
5380 * gdb.base/break.exp: Code locations are in hex, don't forget!
5381 (For HP-UX.)
5382
53831999-09-17 Stan Shebs <shebs@andros.cygnus.com>
5384
5385 * condbreak.exp: Use break.c as test program.
5386 * condbreak.c: Remove, redundant with break.c.
5387
53881999-09-15 Stan Shebs <shebs@andros.cygnus.com>
5389
5390 * config/monitor.exp (gdb_target_monitor): Disable X- and
5391 Z-packets if the target needs it.
5392
53931999-09-13 James Ingham <jingham@leda.cygnus.com>
5394
5395 * gdb.c++/overload.exp: Added tests for listing overloaded
5396 functions with function pointers in the arg, explicitly calling
5397 out the version you want.
5398
cff3e48b
JM
53991999-09-09 Stan Shebs <shebs@andros.cygnus.com>
5400
5401 * long_long.exp: Add variations of test cases that work for
5402 targets with 16-bit ints and 32-bit doubles.
5403
d4f3574e
SS
54041999-09-08 Stan Shebs <shebs@andros.cygnus.com>
5405
5406 * break.c (main): Compare a possibly-uninitialized argc with an
5407 unlikely value that fits in 16 bits.
5408
54091999-09-07 Stan Shebs <shebs@andros.cygnus.com>
5410
5411 * gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
5412 0xfeeb, don't want negative numbers if ints are 16 bits.
5413
5414 * lib/gdb.exp (skip_cplus_tests): New proc.
5415 * gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
5416 gdb.c++/anon-union.exp, gdb.c++/classes.exp,
5417 gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
5418 gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
5419 gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
5420 gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
5421 gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
5422 gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
5423
5424 * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
5425
5426Fri Sep 3 15:37:12 1999 Kevin Buettner <kevinb@cygnus.com>
5427
5428 * gdb.base/corefile.exp (up): Allow a parameter to appear
5429 in the frame that we're going up to.
5430
5431 From Jim Blandy <jimb@cygnus.com>:
5432
5433 * gdb.base/default.exp (info float): Expect some output now.
5434
5435 * gdb.base/callfuncs.exp (do_function_calls): We no longer expect
5436 returning floating-point values to fail on the x86.
5437 * gdb.base/callfwmall.exp (do_function_calls): Same.
5438
5439 * gdb.base/list.exp (test_listsize): Correct expectations for
5440 listing line 1 with listsize 2. Also, listing a single line
5441 works now, as does listing three lines. [Kevin's note: There
5442 were a number of other cases fixed too where the expectations
5443 differed...]
5444
54451999-09-02 Stan Shebs <shebs@andros.cygnus.com>
5446
5447 * gdb.base/selftest.exp: Add case for when version prints as
5448 constant string instead of char pointer.
5449
104c1213
JM
54501999-08-25 Stan Shebs <shebs@andros.cygnus.com>
5451
5452 * gdb.base/ending-run.exp: Add Solaris case for what happens when
5453 stepping out of main.
5454
5455 * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
5456 G++ used.
5457
5458 * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
5459 always, expect ptype InnerLocal::NestedInnerLocal to fail always.
5460
5461 * gdb.c++/ovldbreak.exp: Update match string in test that
5462 includes a warning of multiple breakpoints.
5463
54641999-08-24 Stan Shebs <shebs@andros.cygnus.com>
5465
5466 * gdb.base/display.exp: Improve precision of step-after-finish
5467 added yesterday.
5468
5469 * gdb.base/signals.exp: Add extra wildcard to "handle all print"
5470 test.
5471
5472 * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
5473 configs when using G++, not just hppa*.
5474
54751999-08-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5476
5477 * gdb.base/async.c: New file.
5478 * gdb.base/async.exp: New file.
5479
5480Tue Aug 24 03:24:53 1999 Jeffrey A Law (law@cygnus.com)
5481
5482 * gdb.base/break.exp: Tweak PA specific tests to properly handle
5483 PA64.
5484
53a5351d
JM
5485Mon Aug 23 10:25:20 1999 Jeffrey A Law (law@cygnus.com)
5486
104c1213
JM
5487 * gdb.base/display.exp: "finish" can leave us mid-line on many
5488 targets, deal with it. Add a small constant to main, instead of
5489 1000 since main+1000 may not be a valid address in the target.
5490
53a5351d
JM
5491 * gdb.base/dollar.exp: Do not run for PA processors in wide mode
5492 on hpux11.
5493
5494 * gdb.base/attach.exp: Handle another hpux11 error message variant
5495 when attaching to a process that does not exist.
5496
54971999-08-19 J.T. Conklin <jtc@redback.com>
5498
5499 * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
5500 characters in 'continue to 1241' test.
5501
55021999-08-17 Stan Shebs <shebs@andros.cygnus.com>
5503
5504 * gdb.base/call-ar-st.exp: Add a shorter match case for the
5505 stop in print_long_arg_list, define and use a whitespace
5506 variable in print_small_structs test, add an XFAIL for Solaris.
5507 * gdb.base/dbx.exp: XFAIL func commands until somebody is
5508 interested enough to fix.
5509
7be570e7
JM
55101999-08-13 Keith Seitz <keiths@cygnus.com>
5511
5512 * gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
5513 (dbx_gdb_load): Remove. Use gdb_load instead, since that
5514 proc knows about targets other than the natives.
5515 (test_assign): Use "gdb_run_cmd" to "run" the target.
5516 Check that we've actually hit the breakpoint at main.
5517 When we attempt to assign a value to a local variable, check
5518 that the variable is in the current scope, i.e., don't use
5519 a test with an empty result.
5520
5521Tue Aug 10 15:25:16 1999 Andrew Cagney <cagney@b1.cygnus.com>
5522
5523 * gdb.base/maint.exp: Add test of ``maintenance internal-error''
5524 command.
5525
55261999-08-09 Stan Shebs <shebs@andros.cygnus.com>
5527
5528 From Jimmy Guo <guo@cup.hp.com> and others at HP:
5529 gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
5530 gdb.compat, gdb.threads-hp.
5531 gdb.hp/configure, gdb.hp/configure.in: New files.
5532 gdb.hp/Makefile.in: Recurse into new subdirs.
5533 gdb.hp/gdb.defects: New directory, tests for HP bug reports.
5534 gdb.hp/gdb.objdbg: New directory, tests for debugging info
5535 in object files.
5536 gdb.hp/tools: New directory, aux tools for HP-specific tests.
5537
96baa820
JM
55381999-08-05 Stan Shebs <shebs@andros.cygnus.com>
5539
5540 * gdb.base/display.exp: Help expect by putting a newline in the
5541 funky printf, remove a bogus p/a test.
5542
55431999-08-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5544
5545 * gdb.base/display.exp: Make sure that when we say 'run', we are
5546 connected to the target. This is necessary when running not
5547 natively.
5548
55491999-08-03 Stan Shebs <shebs@andros.cygnus.com>
5550
5551 * gdb.base/step-test.exp: Removed some extraneous messages.
5552
5553 * gdb.base/long_long.exp: Don't run memory examination tests
5554 on little-endian targets (they will need a different set of
5555 results to match).
5556
55571999-08-02 Stan Shebs <shebs@andros.cygnus.com>
5558
5559 * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
5560 until somebody decides to fix GDB.
5561
5562 * gdb.base/long_long.c: Stop compiler complaint by specifying long
5563 constant as "ULL".
5564 * gdb.base/long_long.exp: Loosen x/c test, add partial result
5565 matches for a couple x/2 commands.
5566
a0b3c4fd
JM
55671999-07-30 Stan Shebs <shebs@andros.cygnus.com>
5568
5569 * gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
5570 by merging in ref-types2 tests.
5571 * gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
5572
5573 From Jimmy Guo <guo@cup.hp.com> and others at HP:
5574 * gdb.c++/Makefile.in: Add standard actions.
5575 (EXECUTABLES): Rename from PROGS, update list.
5576 * gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
5577 from gdb.hp.
5578 * gdb.c++/anon-union.cc: Don't use anonymous struct, make
5579 foo and bar locals.
5580 * gdb.c++/anon-union.exp: Fix tests to match.
5581 * gdb.c++/classes.exp: Run if HP compiler used, add extra
5582 expect matches to handle output variations.
5583 * gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
5584 * gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
5585 output, add HP alternatives for new and delete prints.
5586 * gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
5587 gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
5588 * gdb.c++/demangle.exp: Use $style when reporting failure.
5589 * gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
5590 * gdb.c++/inherit.exp: Run if HP compiler used, add some
5591 match alternatives.
5592 * gdb.c++/local.exp: Add match alternatives or xfails for HP
5593 compilers.
5594 * gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
5595 * gdb.c++/method.exp: Add match alternatives.
5596 * gdb.c++/misc.cc: Add bool types.
5597 * gdb.c++/misc.exp: Add tests for bool types.
5598 * gdb.c++/overload.exp: Add xfails.
5599 * gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
5600 * gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
5601 add some more template parameter tests (only for HP currently).
5602 * gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
5603 * gdb.c++/virtfunc.cc: Add return type and value for main.
5604 * gdb.c++/virtfunc.exp: Run if HP compiler used, add some
5605 match alternatives.
d63a86f8 5606
a0b3c4fd
JM
56071999-07-30 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5608
5609 * gdb.base/display.exp: Fix output of 'p/a &&j' test.
5610
56111999-07-29 Jim Blandy <jimb@savonarola.red-bean.com>
5612
5613 * gdb.base/signals.exp: Don't expect getting a backtrace from
5614 within a signal handler to fail on Linux.
5615
56161999-07-29 Stan Shebs <shebs@andros.cygnus.com>
5617
5618 From Jimmy Guo <guo@cup.hp.com> and others at HP:
5619 * lib/gdb.exp: Remove some gratuitious semicolons.
5620 (delete_breakpoints): Increase timeout.
5621 (gdb_expect): Add -notransfer option.
5622 (gdb_test): Use -notransfer option.
5623 (get_compiler_info): Add f77 case.
5624 (get_compiler): New proc, split out from gdb_preprocess, add f77
5625 case.
5626 (gdb_preprocess): Call get_compiler.
5627
5628 * gdb.base/Makefile.in (EXECUTABLES): Update the list.
5629 * gdb.base/attach.exp, gdb.base/display.exp,
5630 gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
5631 gdb.base/long_long.exp, gdb.base/printcmds.exp,
5632 gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
5633 third arg to gdb_test.
5634 * gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
5635 * gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
5636 HP-UX xfails, add others.
5637 * gdb.base/completion.exp: Reflect name change of self-test.
5638 * gdb.base/condbreak.exp, gdb.base/corefile.exp,
5639 gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
5640 gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
5641 HP failure number.
5642 * gdb.base/foll-vfork.exp: Loosen matches slightly, remove
5643 useless HP-UX 10.30 references.
5644 * gdb.base/maint.exp: Loosen matches.
5645 * gdb.base/pointers.c (main): Declare more_code.
5646 * gdb.base/pointers.exp: Match on output of a `next'.
5647 * gdb.base/structs.c: Add prototypes.
5648 * gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
5649 * gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
5650
56511999-07-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5652
5653 * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
5654 command.
5655
56561999-07-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5657
5658 * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
5659 Fix run to main failures. Watchpoint can be hardware watchpoint.
d63a86f8
RM
5660
5661 * gdb.base/annota1.exp: Clean up some more, in case printf has
a0b3c4fd
JM
5662 debug info. Deal with lack of signal hanlder info in stack.
5663
5664 From Jim Kingdon <kingdon@redhat.com>:
5665 * gdb.base/annota1.exp: If printf has debug info, deal with it.
5666
5a2468f5
JM
56671999-07-19 Stan Shebs <shebs@andros.cygnus.com>
5668
5669 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
5670 gdb.base/foll-vfork.exp: Don't run for crosses.
5671
adf40b2e
JM
5672Tue Jul 13 23:37:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
5673
5674 * gdb.base/configure.in: Check for gdbvars.exp instead of
5675 a1-selftest.exp.
5676 * gdb.base/configure: Re-generate.
5677
56781999-07-12 Stan Shebs <shebs@andros.cygnus.com>
5679
5680 * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
5681 in trying to run first and name is too long.
5682
5683 * gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
5684 pointers2.c and pointers2.exp, respectively.
5685 * gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
5686 doschk happier.
5687
43e526b9
JM
56881999-07-08 Stan Shebs <shebs@andros.cygnus.com>
5689
5690 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
5691 callfuncs2.c and callfuncs2.exp.
5692
5693 * gdb.base/list.exp: Remove mistaken xfails.
5694 * gdb.base/list0.h: Add optional prototypes.
5695
9846de1b
JM
5696Wed Jul 7 00:27:35 1999 Andrew Cagney <cagney@amy.cygnus.com>
5697
5698 * gdb.base/setvar.exp: Increase the time-out on tests indirectly
5699 calling malloc.
5700 * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
5701 * ptype.exp: Move test for get_debug_format to before its first
5702 use.
5703
57041999-07-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5705
5706 * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
5707 * gdb.base/annota2.cc, annota2.exp: Move from here.
5708 * gdb.c++/annota2.cc, annota2.exp: To here.
5709 * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
5710
43ff13b4
JM
5711Tue Jun 29 11:56:06 1999 Andrew Cagney <cagney@b1.cygnus.com>
5712
5713 * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
5714 a consistent format.
5715
085dd6e6
JM
57161999-06-25 Stan Shebs <shebs@andros.cygnus.com>
5717
5718 From Jimmy Guo <guo@cup.hp.com> and others at HP:
5719 * lib/gdb.exp (get_compiler_info): Add detection for assorted
5720 HP compilers, also set the globals $true and $false.
5721
5722 * gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
5723 call-rt-st.c, call-strs.c, callfuncs.c, callfuncs2.c, condbreak.c,
5724 coremaker.c, ending-run.c, exprs.c, funcargs.c, interrupt.c,
5725 jump.c, langs0.c, langs1.c, langs2.c, list0.c, list1.c,
5726 long_long.c, mips_pro.c, nodebug.c, opaque0.c, opaque1.c,
5727 printcmds.c, ptype.c, recurse.c, restore.c, return.c, run.c,
5728 scope0.c, scope1.c, setshow.c, setvar.c, shmain.c, shr1.c, shr2.c,
5729 sigall.c, signals.c, so-impl-ld.c, so-indr-cl.c, solib.c,
5730 solib1.c, solib2.c, step-test.c, twice.c, varargs.c, watchpoint.c,
5731 whatis.c} Add C++ compatible function definitions and return
5732 types, add includes for library functions.
5733 * gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
5734 * gdb.base/step-test.c (myglob): Rename from glob.
5735 * gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
5736 foll-exec.c, foll-fork.c, foll-vfork.c, sum.c, vforked-prog.c: New
5737 files, move here from gdb.hp.
5738 * gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
5739 commands.exp, condbreak.exp, define.exp, ena-dis-br.exp,
5740 ending-run.exp, jump.exp. list.exp, long_long.exp, so-impl-ld.exp:
5741 Adjust line numbers in regexps.
5742
5743 * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
5744 miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
5745 instead of 0/1.
5746
5747 * gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
5748 foll-vfork.exp: New files, move here from gdb.hp.
5749 * gdb.base/page.exp: New file, test of pagination command.
5750
5751 * gdb.base/watchpoint.c (recurser): New function, for watchpoint
5752 recursion test.
5753 * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
5754
5755 * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
5756 gdb.base/solib.exp: Fix compiler invocation process.
5757
5758 * gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
5759 HP-UX 11, turn off overload resolution explicitly.
5760 * gdb.base/commands.exp: Set argument list explicitly, add
5761 watchpoint test.
5762 * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
5763 them work.
5764 * gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
5765 expressions properly.
5766 * gdb.base/corefile.exp: Loosen the match slightly.
5767 * gdb.base/default.exp: Allow "Error accessing memory" message
5768 also.
5769 * gdb.base/display.exp: Skip over x/0 j if PA64.
5770 * gdb.base/funcargs.exp: Add xfails for HP-UX.
5771 * gdb.base/interrupt.exp: Ditto.
5772 * gdb.base/langs.exp: Add symbolic matches governed by compiler
5773 in use.
5774 * gdb.base/list.exp: Add xfails for HP-UX.
5775 * gdb.base/long_long.exp: Refine some of the numeric matches.
5776 * gdb.base/mips_pro.exp: Xfail on HP-UX.
5777 * gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
5778 * gdb.base/nodebug.exp: Succeed on more varieties of output.
5779 * gdb.base/opaque.exp: Remove some HP-UX xfails.
5780 * gdb.base/ptype.exp: Succeed on more varieties of output.
5781 * gdb.base/scope.exp: Add xfails for HP-UX.
5782 * gdb.base/sect-cmd.exp: Add more cases.
5783 * gdb.base/setvar.exp: Add xfails for HP-UX.
5784 * gdb.base/shlib-call.exp: Loosen some matches slightly.
5785 * gdb.base/signals.exp: Match on void symbolically.
5786 * gdb.base/step-test.exp: Add case for PA64.
5787 * gdb.base/term.exp: Add exit and restart.
5788 * gdb.base/twice.exp: Clean up after self.
5789 * gdb.base/varargs.exp: Disable overload resolution explicitly.
5790 * gdb.base/whatis.exp: Allow more ways to pass tests.
5791
5792 * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
5793 no longer useful.
5794
5795Fri Jun 25 19:27:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
5796
5797 * lib/gdb.exp (proc gdb_expect_list): New procedure. Matches a
5798 list of patterns.
5799 * gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
5800 print_double_array(double_array)", "continuing to breakpoint
5801 1018", "print print_double_array(array_d)" and "continuing to
5802 1034" tests.
d63a86f8 5803
085dd6e6
JM
58041999-06-24 Jason Molenda (jsm@bugshack.cygnus.com)
5805
5806 * Makefile.in: Add empty html and install-html targets.
5807
58081999-06-24 Stan Shebs <shebs@andros.cygnus.com>
5809
5810 * config/mt-*: Remove, these haven't been used since 1996.
5811
58121999-06-22 Stan Shebs <shebs@andros.cygnus.com>
5813
5814 * gdb.base/call-strs.c, gdb.base/ending-run.c,
5815 gdb.base/step-test.c: Include stdlib.h and string.h as needed.
5816 * gdb.c++/member-ptr.exp: Skip over these tests if using G++.
5817
9e0b60a8
JM
58181999-06-18 Stan Shebs <shebs@andros.cygnus.com>
5819
5820 * gdb.c++/overload.exp: XFAIL everything if using G++, add a
5821 simpler match case for the ptype of the big class.
5822
58231999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
5824
5825 * gdb.exp: Fix test for gdb_prompt existence.
5826
58271999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
5828
5829 * gdb.exp (gdb_test): Add fail after calls to perror.
5830
58311999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
5832
5833 * gdb.exp (gdb_test): Accept variations of Undefined command messages.
5834
58351999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
5836
5837 * gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
5838
0f71a2f6
JM
5839Fri Jun 11 12:56:50 1999 Andrew Cagney <cagney@b1.cygnus.com>
5840
5841 * gdb.base/call-strs.c (link_malloc): New function. Ensure that
5842 malloc() is linked in.
5843
58441999-06-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
5845
5846 * gdb.base/ending-run.exp: Make sure we fail and do not timeout at
5847 step at end.
5848
5849 * gdb.base/annota1.exp: Increase match_max to prevent timeout.
5850
58511999-06-08 Jim Blandy <jimb@zwingli.cygnus.com>
5852
5853 * gdb.java/jv-print.exp: New file. (Our first Java test!)
5854
cce74817
JM
5855Fri Jun 4 10:47:46 1999 Jeffrey A Law (law@cygnus.com)
5856
5857 * gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
5858 * gdb.base/mips_pro.exp: Likewise.
5859
58601999-06-02 Keith Seitz <keiths@cygnus.com>
5861
5862 * gdb.c++/templates.cc: Change all "new" operators to throw
5863 an exception.
5864 * gdb.c++/cplusfuncs.cc: Likewise.
5865
5866 * gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
5867
5868Wed Jun 2 17:37:05 1999 Andrew Cagney <cagney@b1.cygnus.com>
5869
5870 * gdb.base/condbreak.exp: Use rerun_to_main to start the program.
5871 * gdb.base/ending-run.exp: When stepping out of main, accept a
5872 step into an arbitrary assembler file.
5873
392a587b
JM
58741999-05-20 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5875
d63a86f8 5876 * gdb.base/annota1.exp: Allow any number of "frames-invalid" and
392a587b 5877 "breakpoint-invalid" to be printed.
d63a86f8 5878 * gdb.base/annota2.exp: Revise line number for main breakpoint. Allow any
392a587b
JM
5879 number of "frames-invalid" and "breakpoint-invalid" to be printed.
5880 * gdb.base/annota2.cc: Initialize a.x to 0.
5881
9e086581
JM
58821999-05-17 Keith Seitz <keiths@cygnus.com>
5883
5884 * gdb.base/call-ar-st.exp: Skip "print print_double_array (double_array)"
5885 when "skip_float_tests" set.
5886 Ditto for "print print_double_array(array_d)", "print print_small_structs",
5887 "print print_ten_doubles", and "step into print_long_arg_list".
5888 Don't assume we can step into "print_long_arg_list": we could step into memcpy.
5889 * gdb.base/call-rt-st.exp: Don't run float-related tests when "skip_float_tests"
5890 is set: "print print_one_double(*d1)" and "print print_two_floats(*f3)".
5891 * gdb.base/funcargs.exp: Don't run "float_and_integral_args" when
5892 "skip_float_tests" is set.
5893 * gdb.base/varargs.exp: Skip "print find_max_double(5,1.0,17.0,2.0,3.0,4.0)"
5894 when "skip_float_tests" set.
d63a86f8 5895
cd0fc7c3
SS
58961999-05-06 Keith Seitz <keiths@cygnus.com>
5897
5898 * gdb.base/annota2.cc: Include stdio.h.
5899
5900Wed May 5 17:44:31 1999 Stan Shebs <shebs@andros.cygnus.com>
5901
5902 * gdb.base/crossload.exp: Remove, this has been disabled ever
5903 since BFD stopped including all targets, and cross-GDB gets
5904 plenty of testing anyway.
5905 * gdb.base/i486-elf.u, gdb.base/m68k-aout.u, gdb.base/m68k-elf.u,
5906 gdb.base/sparc-aout.u, gdb.base/i860-elf.u, gdb.base/m68k-aout2.u,
5907 gdb.base/mips-ecoff.u, gdb.base/sparc-elf.u: Remove.
5908 * gdb.base/README: Remove, was doc for this.
5909 * gdb.base/Makefile.in (CROSS_EXECUTABLES): Remove, no longer
5910 needed.
5911
b83266a0
SS
59121999-05-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5913
5914 * gdb.base/call-ar-st.exp: Fix one regular expression in test
5915 output.
5916
5917 * gdb.base/annota1.exp: New file. Annotation level 2 tests.
5918 * gdb.base/annota2.exp: New file. More annotation tests.
5919 * gdb.base/annota1.c: New file. Source file for annota1.exp.
5920 * gdb.base/annota2.cc: New file. Source file for annota2.exp.
5921
59221999-04-23 Angela Marie Thomas <angela@cygnus.com>
5923
5924 * config/cfdbug.exp: New file.
5925
7a292a7a
SS
59261999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
5927
5928 * gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
5929 Marcus Daniel's and Dale Hawkins's demangler crashes.
5930
5931 * gdb.c++/demangle.exp (test_gnu_style_demangling,
5932 test_lucid_style_demangling, test_arm_style_demangling,
5933 test_hp_style_demangling): Try Tom Tromey's core-dumping
5934 identifier under each demangling style.
5935
59361999-04-07 Jim Blandy <jimb@zwingli.cygnus.com>
5937
5938 * gdb.c++/demangle.exp: Include the current demangling style
5939 in all test names.
5940 (current_demangling_style): New global variable.
5941 (set_demangling_style, test_demangling_core, test_demangling,
5942 test_demangling_exact): New functions.
5943 (test_gnu_style_demangling, test_lucid_style_demangling,
5944 test_arm_style_demangling, test_hp_style_demangling): Use those,
5945 instead of calling gdb_test and gdb_test_exact directly.
5946 (catch_demangling_errors): New function, which reports errors
5947 signalled by the demangling test functions in an orderly way.
5948 (do_tests): Use catch_demangling_errors.
5949
59501999-04-06 Jim Blandy <jimb@zwingli.cygnus.com>
5951
5952 * gdb.base/signals.exp (test_handle_all_print): Use () for
5953 grouping in expressions, not {}.
5954
5955 * gdb.base/smoke.exp: Test value of x, not y. The latter isn't
5956 initialized yet.
5957
59581999-04-01 Stan Shebs <shebs@andros.cygnus.com>
5959
5960 * gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
5961 are listed.
5962
59631999-03-26 Stan Shebs <shebs@andros.cygnus.com>
5964
5965 * gdb.stabs/weird.exp: Test for CC being defined before
5966 looking at its value.
5967
59681999-03-25 Stan Shebs <shebs@andros.cygnus.com>
5969
5970 * gdb.base/call-ar-st.exp: Remove stray '#'.
5971 * gdb.base/miscexprs.exp: Allow "short" and "long" as well as
5972 "short int" and "long int".
5973 * gdb.c++/overload.cc: Cast the string added in the previous
5974 change, to mollify finicky HP compiler.
5975 * gdb.hp/reg-test.exp (testfile): Fix file name.
5976 * gdb.stabs/weird.exp: Don't try to run if HP compiler in use.
d63a86f8 5977
7a292a7a
SS
5978 * gdb.c++/misc.cc (main): Initialize obj_with_enum.
5979 * gdb.c++/classes.exp: Fix test of obj_with_enum values, allow
5980 alternate form of enum ptype.
5981
c906108c
SS
59821999-03-23 Stan Shebs <shebs@andros.cygnus.com>
5983
7a292a7a
SS
5984 * lib/gdb.exp (skip_hp_tests): Remove gcc_used argument.
5985 * gdb.hp/*.exp: Change all to run compiler probe only after
5986 passing skip_hp_tests, so as not to waste time on guaranteed
5987 failure.
5988
c906108c
SS
5989 * gdb.c++/overload.cc: Pass string instead of char addr, always
5990 init ccpfoo.
5991 * gdb.c++/templates.cc: Fix syntax error.
5992
7a292a7a
SS
5993Tue Mar 23 14:56:36 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5994
5995 * gdb.base/commands.exp: Add test for correct position of '>'
d63a86f8 5996 when issuing the 'commands' command after a 'while' or 'if'
7a292a7a
SS
5997 command.
5998
59991999-03-18 James Ingham <jingham@cygnus.com>
6000
6001 * gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
6002
6003 * gdb.c++/method.exp: It was testing an uninitialized int on the
6004 stack and assuming it was positive.
6005
6006 * gdb.base/watchpoint.exp: Use gdb_continue_to_end.
6007
6008 * gdb.base/step-test.exp: Catch a case where finish is broken and
d63a86f8 6009 keep it from killing the rest of the tests.
7a292a7a
SS
6010 Use gdb_continue_to_end.
6011
6012 * gdb.base/sigall.exp: use gdb_continue_to_end.
6013
6014 * gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
6015
6016 * gdb.base/display.exp: use runto_main, not run.
6017
d63a86f8
RM
6018 * gdb.base/default.exp: Check for the current error message in the
6019 r abbreviation test.
7a292a7a
SS
6020 Add strongarm to the targets that know info float.
6021
d63a86f8 6022 * gdb.base/condbreak.exp: Use the gdb_run command rather than just
7a292a7a
SS
6023 run which doesn't work with monitors.
6024
6025 * gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to 1034 test.
6026
6027 * gdb.base/break.exp: use the gdb_continue_to_end proc.
6028
6029 * lib/gdb.exp: I had added gdb_continue_to_end used to run to the end of a
d63a86f8
RM
6030 program. Traps the case (in Cygmon) when the program never really
6031 exits. Same as Mark's continue_to_exit, but I had put it in a lot
7a292a7a
SS
6032 more places, so I used my name. Sorry Mark...
6033
6034 * config/monitor.exp (gdb_target_monitor): added another
6035 target_info parameter: remotebinarydownload. This will set the
6036 remotebinarydownload flag if this is causing some boards trouble.
6037
60381999-03-18 Mark Salter <msalter@cygnus.com>
6039
6040 * lib/gdb.exp (continue_to_exit): New function.
6041
6042 * gdb.base/ena-dis-br.exp: Clean up for remote targets.
6043 * gdb.base/ending-run.exp: Ditto.
6044 * gdb.base/step-test.exp: Ditto.
6045
60461999-03-16 Stan Shebs <shebs@andros.cygnus.com>
6047
6048 * gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
6049 (suggested by Art Haas <ahaas@neosoft.com>).
6050
60511999-03-16 Jim Blandy <jimb@zwingli.cygnus.com>
6052
6053 * gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
6054
6055Fri Mar 12 18:06:21 1999 Stan Shebs <shebs@andros.cygnus.com>
6056
6057 * gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
6058 descriptions of types (short unsigned int vs unsigned short, etc).
6059
60601999-03-12 Jim Blandy <jimb@zwingli.cygnus.com>
6061
6062 * gdb.base/call-strs.exp: Don't assume that `step' will step over
6063 a call to strlen; sometimes we do have sources.
6064
60651999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
c906108c
SS
6066
6067 * gdb.base/call-ar-st.c (main): Terminate char_array with a null
6068 character, so GDB won't print garbage after its end.
d63a86f8 6069
c906108c
SS
6070 * gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
6071 breakpoint there instead. Sometimes GCC emits memcpy to handle
6072 the large structures being passed by value, so we step into that
6073 instead of sum_array_print, which obscures what we're really testing.
6074 * gdb.base/step-test.exp: However, we do want a test that notices
6075 the bizarre steps into memcpy, so do that here. Add check for
6076 stepping into function calls that pass large structures by value.
6077 ("Is that a noun clause, or are you just happy to see me?")
6078 Remove all references to specific line numbers.
6079 * gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
6080 New type and function.
6081 (main): Call large_struct_by_value, passing it a large struct by value.
6082 * lib/gdb.exp (gdb_get_line_number): New function.
6083
6084 * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
6085 more portable.
6086
7a292a7a
SS
60871999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
6088
c906108c
SS
6089 * lib/gdb.exp: Doc fixes.
6090
7a292a7a
SS
60911999-03-05 Nick Clifton <nickc@cygnus.com>
6092
d63a86f8 6093 * gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
7a292a7a
SS
6094
60951999-03-04 Jim Blandy <jimb@zwingli.cygnus.com>
6096
c906108c
SS
6097 * gdb.base/display.exp: Don't exercise the "detach" and "kill"
6098 commands. They're not germane to this test, and they don't work
6099 that way on remote targets.
6100
3fc11d3e
JM
61011999-03-01 James Ingham <jingham@cygnus.com>
6102
6103 * Changelog entries merged over from gdb development branch.
6104
3fc11d3e
JM
6105 Tue Jan 5 12:33:47 1999 Keith Seitz <keiths@cygnus.com>
6106
6107 * lib/gdb.exp (gdbtk_analyze_results): Generic function
6108 for outputting results of test run.
6109
2d4a1622 6110 1998-12-07 Martin M. Hunt <hunt@cygnus.com>
3fc11d3e
JM
6111
6112 * lib/gdb.exp (gdbtk_start): Fix path for itcl library.
3fc11d3e 6113
7a292a7a
SS
61141999-02-25 Felix Lee <flee@cygnus.com>
6115
6116 * lib/gdb.exp (debug_format): initialize
6117
c906108c
SS
61181999-02-25 Jason Molenda (jsm@bugshack.cygnus.com)
6119
6120 * gdb.base/call-ar-st.c: Include string.h, not strings.h.
6121 * gdb.base/call-rt-st.c: Ditto.
6122
c906108c
SS
61231999-02-13 Jim Blandy <jimb@zwingli.cygnus.com>
6124
6125 * gdb.threads/pthreads.exp (horiz): New variable.
6126 (test_startup): Fix regexps that capture thread numbers.
6127
61281999-02-10 Jason Molenda (jsm@bugshack.cygnus.com)
6129
6130 * gdb.base/smoke.exp: Disambiguate two test case names (both
6131 called ``print'').
6132
6133Fri Feb 5 12:42:56 1999 Stan Shebs <shebs@andros.cygnus.com>
6134
6135 * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
6136 compilation.
6137
61381999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
6139
6140 * gdb.base/miscexprs.exp: Change patterns to match GDB's
6141 actual output formatting.
6142 * gdb.base/smoke.exp: GDB removes leading 0's.
6143 * gdb.base/volatile.exp: Don't check type of remuneration;
6144 that variable is no longer defined in constvars.c.
6145 * gdb.base/step-test.c (main): Exit with explicit exit code.
6146 * gdb.base/step-test.exp: Remove two nexti checks--they are
6147 not portable.
6148
61491999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
6150
6151 * gdb.base/help.exp ("help delete display"): Fix test to match
6152 gdb's output.
6153
6154 * gdb.base/long_long.c (known_types): Initialize values to zero.
6155 * gdb.base/long_long.exp: Step one more line
6156 so 'dec' is initialized in "get to known place". GDB removes
d63a86f8 6157 leading zeros. Explicitly ask for hex formatting. Use
c906108c
SS
6158 unique test case names.
6159
6160Tue Feb 2 10:16:08 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
6161
d63a86f8 6162 * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
c906108c
SS
6163
6164 * gdb.c++/method.exp: Add missing close brace.
6165
61661999-01-30 Jim Blandy <jimb@zwingli.cygnus.com>
6167
6168 * gdb.base/maint.exp: Use 'set height 0' to disable page
6169 prompting, not 'set height 400'.
6170
6171 Fix a bunch of timeouts.
6172 * gdb.base/maint.exp ("maint print objfiles"): Break this up into
6173 four separate tests, so expect doesn't take forever to match a ton
6174 of text against a regexp with lots of .* forms.
6175 ("maint print psymbols", "maint print symbols"): Make some of
6176 these greps more selective, so that expect doesn't try to wade
6177 through huge piles of output and time out.
6178
6179 * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
6180
6181 * gdb.base/maint.exp ("maint info breakpoints"): Split into two
6182 tests: one which doesn't expect shlib events to be reported, and
6183 another which does, but is XFAIL for all platforms other than
6184 HP/UX.
6185
6186 * gdb.base/break.exp: Teach the test suite that the `catch
6187 fork', `catch vfork', and `catch exec' commands produce error
6188 messages on platforms that don't provide these features.
6189
6190Mon Jan 25 18:35:56 1999 Stan Shebs <shebs@andros.cygnus.com>
6191
6192 * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
6193 so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
6194 (shortening names from solib_threshold.exp etc), won't run on
6195 anything but HP-UX for the foreseeable future.
6196 * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
6197 reflect move.
6198
6199Thu Jan 21 15:46:49 1999 Stan Shebs <shebs@andros.cygnus.com>
6200
6201 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
6202 gdb.trace/Makefile.in (clean): Remove all test executables.
6203
6204Tue Jan 19 17:20:09 1999 David Taylor <taylor@texas.cygnus.com>
6205
6206 * gdb.base/shlib-call.exp: add test cases to verify that gdb
6207 successfully re-sets breakpoints in shared libraries.
6208 * gdb.base/shmain.c (main): return 0, don't fall off the end.
6209
6210Fri Jan 15 14:04:57 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
6211
d63a86f8
RM
6212 * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
6213 and compiled w/o GCC.
c906108c
SS
6214
6215 * gdb.hp/watch-cmd.exp: ditto.
6216
6217 * gdb.hp/watch-hp.exp: ditto.
6218
6219 * gdb.hp/xdb1.exp: ditto.
6220
6221 * gdb.hp/xdb2.exp: ditto.
6222
6223 * gdb.hp/dbx.exp: ditto.
6224
6225Thu Jan 14 18:36:48 1999 Stan Shebs <shebs@andros.cygnus.com>
6226
6227 * constvars.c: Remove C++-isms.
6228 * constvars.exp: Use gdb_test everywhere, add xfails if compiled
6229 with GCC.
6230
6231Mon Jan 11 10:08:03 1999 David Taylor <taylor@texas.cygnus.com>
6232
6233 The following changes are part of the HP merge.
6234
6235 * gdb.base/break.exp: new tests to verify that catchpoints for
6236 fork, vfork, and exec don't trigger inappropriately.
6237
6238 * gdb.base/opaque.exp: compile one file at a time, then link.
6239
6240 * gdb.base/signals.exp: be more restrictive about which hppa
6241 systems receive a setup_xfail. new tests.
6242
6243 * gdb.base/solib_threshold.build: new file.
6244 * gdb.base/solib_threshold.exp: new file.
6245 * gdb.base/solib_threshold.link_opts: new file.
6246 * gdb.base/solib_threshold.mk: new file.
6247 * gdb.base/gen_solib_threshold.c: new file.
6248
6249 * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
6250 tests. New tests for enums inside classes.
6251
6252 * gdb.c++/compiler.cc: indicate support of template debugging.
6253
6254 * gdb.c++/demangle.exp: run hp style demangling tests.
6255
6256 * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
6257 tests.
6258
6259 * gdb.c++/misc.cc: changes to support new tests.
6260
6261 * gdb.c++/templates.cc: changes to support HP's compiler; changes
6262 to support new tests.
6263
6264 * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
6265 gcc, then skip these tests.
6266
6267Sun Jan 10 23:44:11 1999 David Taylor <taylor@texas.cygnus.com>
6268
6269 The following files are part of the HP merge; some had longer
6270 names at HP, but have been renamed to be no more than 14
6271 characters in length.
6272
6273 * gdb.hp/ambiguous.cc: new file.
6274 * gdb.hp/ambiguous.exp: new file.
6275 * gdb.hp/attach.exp: new file.
6276 * gdb.hp/attach2.exp: new file.
6277 * gdb.hp/classes-hp.exp: new file.
6278 * gdb.hp/ctti.exp: new file.
6279 * gdb.hp/ctti-add.cc: new file.
6280 * gdb.hp/ctti-add1.cc: new file.
6281 * gdb.hp/ctti-add2.cc: new file.
6282 * gdb.hp/ctti-add3.cc: new file.
6283 * gdb.hp/dbx.exp: new file.
6284 * gdb.hp/exception.cc: new file.
6285 * gdb.hp/exception.exp: new file.
6286 * gdb.hp/foll-exec.c: new file.
6287 * gdb.hp/foll-exec.exp: new file.
6288 * gdb.hp/foll-fork.c: new file.
6289 * gdb.hp/foll-fork.exp: new file.
6290 * gdb.hp/foll-vfork.c: new file.
6291 * gdb.hp/foll-vfork.exp: new file.
6292 * gdb.hp/inherit-hp.exp: new file.
6293 * gdb.hp/more-steps.exp: new file.
6294 * gdb.hp/namespace.cc: new file.
6295 * gdb.hp/namespace.exp: new file.
6296 * gdb.hp/optimize.exp: new file.
6297 * gdb.hp/pxdb.c: new file.
6298 * gdb.hp/pxdb.exp: new file.
6299 * gdb.hp/quicksort.exp: new file.
6300 * gdb.hp/reg-test.exp: new file.
6301 * gdb.hp/reg-test.s: new file.
6302 * gdb.hp/sized-enum.c: new file.
6303 * gdb.hp/sized-enum.exp: new file.
6304 * gdb.hp/start-stop.exp: new file.
6305 * gdb.hp/templ-hp.cc: new file.
6306 * gdb.hp/templ-hp.exp: new file.
6307 * gdb.hp/thr-lib.c: new file.
6308 * gdb.hp/thr-lib.exp: new file.
6309 * gdb.hp/thr-lib.h: new file.
6310 * gdb.hp/thr-liblib.c: new file.
6311 * gdb.hp/virtfun-hp.c: new file.
6312 * gdb.hp/virtfun-hp.exp: new file.
6313 * gdb.hp/watch-cmd.exp: new file.
6314 * gdb.hp/watch-hp.exp: new file.
6315 * gdb.hp/xdb1.exp: new file.
6316 * gdb.hp/xdb2.exp: new file.
6317 * gdb.hp/xdb3.exp: new file.
6318
6319Wed Jan 6 18:41:15 1999 David Taylor <taylor@texas.cygnus.com>
6320
6321 The following files are part of the HP merge; some had longer
6322 names at HP, but have been renamed to be no more than 14
6323 characters in length.
6324
6325 * gdb.base/ss.h: new file.
6326 * gdb.base/call-ar-st.c: new file.
6327 * gdb.base/call-ar-st.exp: new file.
6328 * gdb.base/call-rt-st.c: new file.
6329 * gdb.base/call-rt-st-exp: new file.
6330 * gdb.base/call-strs.exp: new file.
6331 * gdb.base/ena-dis-br.exp: new file.
6332 * gdb.base/environ.exp: new file.
6333 * gdb.base/long_long.exp: new file.
6334 * gdb.base/sect-cmd.exp: new file.
6335 * gdb.base/shlib-cl2.exp: new file.
6336 * gdb.base/smoke.exp: new file.
6337 * gdb.base/so-impl-ld.c: new file.
6338 * gdb.base/so-impl-ld.exp: new file.
6339 * gdb.base/so-indr-cl.c: new file.
6340 * gdb.base/so-indr-cl.exp: new file.
6341 * gdb.base/varargs.exp: new file.
6342 * gdb.base/volatile.exp: new file.
6343 * gdb.base/whatis-exp.exp: new file.
7a292a7a 6344 * gdb.base/display.exp: new file.
c906108c
SS
6345 * gdb.c++/derivation.exp: new file.
6346 * gdb.c++/local.exp: new file.
6347 * gdb.c++/member-ptr.exp: new file.
6348 * gdb.c++/overload.exp: new file.
6349 * gdb.c++/ovldbreak.exp: new file.
6350 * gdb.c++/ref-types.exp: new file.
6351 * gdb.c++/ref-types2.exp: new file.
6352 * gdb.c++/userdef.exp: new file.
d63a86f8 6353
c906108c
SS
6354Wed Jan 6 13:50:57 1999 Stan Shebs <shebs@andros.cygnus.com>
6355
6356 * gdb.base/default.exp: Reflect wording change in remote.c.
6357
dc96c6c7 6358Tue Jan 5 19:14:51 1999 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6359
6360 * gdb.base/help.exp: Update to reflect current text.
6361
6362Tue Jan 5 13:05:32 1999 David Taylor <taylor@texas.cygnus.com>
6363
6364 * gdb.c++/anon-union.cc: make foo and bar global, otherwise
6365 they're stack variables and contain garbage.
6366 * gdb.c++/anon-union.exp: new file.
6367
6368 The following changes were made by David Taylor
6369 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
6370 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
6371 in changes by HP.
6372
6373 * gdb.base/bitops.exp: new file.
6374 * gdb.base/default.exp: change expected messages for catch and
6375 info catch tests to reflect HP merge changes.
6376 * gdb.base/enable-disable-break.exp
6377 * gdb.base/ending-run.c: new file.
6378 * gdb.base/long_long.c: new file.
6379 * gdb.base/maint.exp: new file.
6380 * gdb.base/pointers2.exp: new file.
6381 * gdb.base/shlib-call2.exp: new file.
6382 * gdb.base/solib.exp: new file.
6383 * gdb.base/step-test.c: new file.
6384 * gdb.c++/anon-union.cc: new file.
6385 * gdb.c++/local.cc: new file.
6386 * gdb.c++/member-pointer.cc: new file.
6387 * gdb.c++/method.cc: new file.
6388 * gdb.c++/ref-types.cc: new file.
6389 * gdb.c++/ref-types2.cc: new file.
6390 * gdb.c++/userdef.cc: new file.
d63a86f8 6391
c906108c
SS
6392 * gdb.base/scope.exp: compile one file at a time, then link.
6393 * gdb.base/langs.exp: ditto.
6394 * gdb.base/list.exp: ditto.
d63a86f8 6395
c906108c
SS
6396Mon Jan 4 10:06:43 1999 David Taylor <taylor@texas.cygnus.com>
6397
6398 The following changes were made by David Taylor
6399 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
6400 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
6401 in changes by HP.
d63a86f8 6402
c906108c
SS
6403 * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
6404 skip tests. When compiling pass c++ flag to gdb_compile.
6405 * gdb.c++/
d63a86f8 6406
c906108c
SS
6407 * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
6408 test for on hppa*-*-hpux*; use args to see if c++ was specified.
6409 (skip_hp_tests): new function.
6410 (gdb_preprocess): new function.
6411
6412 * configure.in (hpdir): decide whether to configure gdb.hp.
6413 * configure: regenerated.
6414
6415 * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
6416 to delete on clean.
6417 (EXECUTABLES): update to reflect new additions.
6418 * gdb.base/commands.exp: update message expected.
6419 * gdb.base/default.exp: add copyright notice.
6420 * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
6421 * gdb.base/help.exp: update messages to reflect current text.
6422 * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
6423 targets for recurse tests.
6424 * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
6425 skip this file.
6426
6427 * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
6428 * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
6429 compilation.
6430 * gdb.c++/misc.exp: ditto.
6431 * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
6432 run the tests. tell gdb_compile that it's a c++ compilation.
6433
6434 * gdb.threads/pthreads.exp: fix typo in message.
d63a86f8 6435
c906108c
SS
6436 * gdb.base/all-bin.exp: new file.
6437 * gdb.base/arithmet.exp: new file.
6438 * gdb.base/assign.exp: new file.
6439 * gdb.base/completion.exp: new file.
6440 * gdb.base/cond-expr.exp: new file.
6441 * gdb.base/condbreak.exp: new file.
6442 * gdb.base/define.exp: new file.
6443 * gdb.base/dollar.exp: new file.
6444 * gdb.base/environment.exp: new file.
6445 * gdb.base/eval-skip.exp: new file.
6446 * gdb.base/jump.exp: new file.
6447 * gdb.base/logical.exp: new file.
6448 * gdb.base/pointers.exp: new file.
6449 * gdb.base/relational.exp: new file.
6450 * gdb.base/section_command.exp: new file.
6451 * gdb.base/whatis-expr.exp: new file.
6452
6453 * gdb.base/all-types.c: new file.
6454 * gdb.base/call-array-struct.c: new file.
6455 * gdb.base/call-return-struct.c: new file.
6456 * gdb.base/call-strings.c: new file.
6457 * gdb.base/callfuncs2.c: new file.
6458 * gdb.base/condbreak.c: new file.
6459 * gdb.base/constvars.c: new file.
6460 * gdb.base/display.c: new file.
6461 * gdb.base/int-type.c: new file.
6462 * gdb.base/jump.c: new file.
6463 * gdb.base/miscexprs.c: new file.
6464 * gdb.base/pointers.c: new file.
6465 * gdb.base/pointers2.c: new file.
6466 * gdb.base/shmain.c: new file.
6467 * gdb.base/shr1.c: new file.
6468 * gdb.base/shr2.c: new file.
6469 * gdb.base/solib.c: new file.
6470 * gdb.base/solib1.c: new file.
6471 * gdb.base/solib2.c: new file.
6472 * gdb.base/varargs.c: new file.
6473 * gdb.c++/derivation.cc: new file.
6474 * gdb.c++/overload.cc: new file.
6475 * gdb.c++/ovldbreak.cc: new file.
6476 * gdb.hp/attach.c: new file.
6477 * gdb.hp/attach2.c: new file.
6478 * gdb.hp/average.c: new file.
6479 * gdb.hp/compiler.c: new file.
6480 * gdb.hp/compiler.cc: new file.
6481 * gdb.hp/execd-program.c: new file.
6482 * gdb.hp/follow-exec.c: new file.
6483 * gdb.hp/follow-fork.c: new file.
6484 * gdb.hp/follow-vfork-and-exec.c: new file.
6485 * gdb.hp/misc-hp.cc: new file.
6486 * gdb.hp/more-steps.c: new file.
6487 * gdb.hp/optimize.c: new file.
6488 * gdb.hp/quicksort.c: new file.
6489 * gdb.hp/run-hp.c: new file.
6490 * gdb.hp/start-stop.c: new file.
6491 * gdb.hp/sum.c: new file.
6492 * gdb.hp/templates-hp.cc: new file.
6493 * gdb.hp/thread-local-in-lib.c: new file.
6494 * gdb.hp/thread-local-in-lib.h: new file.
6495 * gdb.hp/thread-local-in-lib.lib.c: new file.
6496 * gdb.hp/vforked-program.c: new file.
6497 * gdb.hp/virtfunc-hp.cc: new file.
6498 * gdb.hp/watchpoint-hp.c: new file.
6499 * gdb.hp/xdb.c: new file.
6500 * gdb.hp/xdb0.c: new file.
6501 * gdb.hp/xdb0.h: new file.
6502 * gdb.hp/xdb1.c: new file.
6503
6504Mon Dec 21 14:08:38 1998 David Taylor <taylor@texas.cygnus.com>
6505
6506 The following change was made by Edith Epstein
6507 <eepstein@cygnus.com> as part of a project to merge in changes
6508 originally made by HP; HP did not create ChangeLog entries.
6509
6510 * gdb.c++/demangle.exp: changed the expected output for some
6511 ARM-style mangling -- removed second reference to datatype.
6512 For example, maint demangle __dt__11T1__pt__2_cFv
6513 T1<char>::~T1<char>(void)
6514 becomes,
6515 maint demangle __dt__11T1__pt__2_cFv
6516 T1<char>::~T1(void)
6517
6518 (test_hp_style_demangling): new hp specific demangling test cases.
d63a86f8 6519
c906108c
SS
6520Mon Dec 14 15:07:03 1998 Jeffrey A Law (law@cygnus.com)
6521
6522 * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
6523 * gdb.trace/backtrace.exp: Likewise.
6524 * gdb.trace/circ.exp: Likewise.
6525 * gdb.trace/collection.exp: Likewise.
6526 * gdb.trace/deltrace.exp: Likewise.
6527 * gdb.trace/infotrace.exp: Likewise.
6528 * gdb.trace/limits.exp: Likewise.
6529 * gdb.trace/packetlen.exp: Likewise.
6530 * gdb.trace/passc-dyn.exp: Likewise.
6531 * gdb.trace/passcount.exp: Likewise.
6532 * gdb.trace/report.exp: Likewise.
6533 * gdb.trace/save-trace.exp: Likewise.
6534 * gdb.trace/tfind.exp: Likewise.
6535 * gdb.trace/tracecmd.exp: Likewise.
6536 * gdb.trace/while-dyn.exp: Likewise.
6537 * gdb.trace/while-stepping.exp: Likewise.
6538
65391998-12-07 Jim Blandy <jimb@zwingli.cygnus.com>
6540
6541 * gdb.base/restore.exp, gdb.base/restore.c: New tests.
6542
6543Wed Dec 2 20:03:53 1998 Stan Shebs <shebs@andros.cygnus.com>
6544
6545 From Brendan Kehoe:
6546 * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
6547 int return types.
6548
6549Sat Oct 24 18:04:22 1998 Felix Lee <flee@cygnus.com>
6550
6551 * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
6552 remote dos host testing right.
6553
6554Mon Oct 19 01:31:59 1998 Felix Lee <flee@cygnus.com>
6555
6556 * gdb.base/corefile.exp: remove some xfails.
6557
6558Thu Oct 15 10:04:38 1998 Andrew Cagney <cagney@b1.cygnus.com>
6559
6560 * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
6561 have different timestamps.
6562
6563Thu Oct 1 20:56:14 1998 Andrew Cagney <cagney@b1.cygnus.com>
6564
6565 * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
6566 gdb.base/default.exp: Replace "exec" with "executable".
6567
6568Tue Sep 29 15:06:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
6569
6570 * gdb.base/default.exp: Change else if to elseif from previous
6571 delta.
6572
6573Mon Sep 28 13:21:43 1998 Nick Clifton <nickc@cygnus.com>
6574
6575 * gdb.base/default.exp: Add brace missing from previous delta.
6576
6577Mon Sep 21 14:39:27 1998 Nick Clifton <nickc@cygnus.com>
6578
6579 * gdb.base/default.exp: Support test for info float for all
6580 varieties of arm toolchain.
6581
dc96c6c7 6582Fri Sep 18 14:07:44 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6583
6584 * gdb.trace/*.exp: remove "remote_download" command.
6585
dc96c6c7 6586Wed Sep 16 11:38:21 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6587
6588 * gdb.trace/*.exp: remove -gdwarf from compile.
6589
6590Wed Sep 16 01:23:11 1998 Felix Lee <flee@cygnus.com>
6591
6592 * gdb.trace/configure.in(AC_INIT): typo
6593 * gdb.trace/configure: regenerated
6594
dc96c6c7 6595Mon Sep 14 20:00:04 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6596
6597 * config/m68k-emc.exp: New file.
6598 * lib/<emc-support.exp trace-support.exp}: New files.
6599 * configure.in: add new test directory gdb.trace.
6600 * gdb.trace/{configure configure.in Makefile.in}: New files.
6601 * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
6602 * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
6603 * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
6604 * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
6605 * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
6606 * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
6607 * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
d63a86f8 6608
dc96c6c7 6609Fri Sep 11 13:58:02 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6610
6611 * gdb.c++/classes.exp: Change all regular expressions to match
6612 arbitrary combinations of newline/carriage-return, so that they
6613 will work equally well on Unix and Windows.
6614 * gdb.c++/inherit.exp: ditto.
6615 * gdb.c++/virtfunc.exp: ditto.
6616
66171998-08-11 Dawn Perchik <dawn@cygnus.com>
6618
6619 * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
6620
c2d11a7d
JM
6621Fri Jul 24 15:51:34 1998 Jeffrey A Law (law@cygnus.com)
6622
6623 * gdb.disasm/am33.s: Add tests for autoincrement instructions.
6624 * gdb.disasm/am33.exp: Run time. Update tests which use r8-r15
6625 to use a0-a3/d0-d3 as needed.
6626
6627Thu Jul 16 18:20:46 1998 Jeffrey A Law (law@cygnus.com)
6628
6629 * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
6630 * gdb.disasm/am33.exp: Corresponding changes.
6631
c906108c
SS
66321998-07-11 Felix Lee <flee@cygnus.com>
6633
6634 * gdb.base/callfuncs.exp: add cmp10 test.
6635 * gdb.base/callfuncs.c (cmp10): new function.
6636
6637Thurs Jul 9 11:08:31 1998 Dawn Perchik <dawn@cygnus.com>
6638
d63a86f8 6639 * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
c906108c
SS
6640 into two parts to get around a synchronization problem in expect.
6641
3fc11d3e
JM
6642Fri Jun 26 14:27:13 1998 Keith Seitz <keiths@cygnus.com>
6643
6644 * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
6645
6646 * configure.in: Add options for gdbtk testsuite.
6647
6648 * configure: Regenerate.
6649
6650 * gdb.gdbtk: New directory to hold gdbtk tests.
6651
c906108c
SS
6652Fri Jun 26 14:52:47 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
6653
6654 * gdb.fortran/types.exp: Escape brackets in expect patterns
6655 for test_float_literal_types_accepted tests.
6656 * gdb.base/scope.exp: Remove extraneous newline in filelocal_bss
6657 before run test.
6658
c2d11a7d
JM
6659Fri Jun 26 11:12:17 1998 Jeffrey A Law (law@cygnus.com)
6660
6661 * am33.exp: Just compile, do not link the testcase.
6662 * am33.s: Add ".am33" pseudoop to force am33 mode.
6663
c906108c
SS
66641998-06-25 Felix Lee <flee@cygnus.com>
6665
6666 * gdb.base/setshow.exp: make sure $pc is sane.
6667
6668 * gdb.stabs/weird.exp: split expect patterns properly.
6669
c2d11a7d
JM
6670Wed Jun 24 13:03:15 1998 Jeffrey A Law (law@cygnus.com)
6671
6672 * gdb.disasm/am33.s: New disassembler testfile for the am33.
6673 * gdb.disasm/am33.exp: Run it.
6674
dc96c6c7 6675Tue Jun 23 11:45:01 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6676
6677 * gdb.base/funcargs.exp: simplify expect strings to ease pattern
6678 match processing (and eliminate spurious timeouts when running).
6679
dc96c6c7 6680Fri Jun 12 17:28:22 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6681
6682 * gdb.base/signals.exp (test_handle_all_print): put back Mach
6683 exception test, but conditionalize it on target [mach | gnu].
6684
dc96c6c7 6685Wed Jun 10 10:40:03 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6686
6687 * gdb.base/overlays.exp: fixup compile line for linker script.
6688
6689Thu Jun 4 21:54:15 1998 Felix Lee <flee@zog.cygnus.com>
6690
6691 * gdb.fortran/types.exp: don't guess at float size.
6692
6693Thu May 21 02:28:37 1998 Felix Lee <flee@zog.cygnus.com>
6694
6695 * gdb.base/exprs.exp: delete test that depends on int size.
6696
6697Sun May 17 17:10:22 1998 Bob Manson <manson@charmed.cygnus.com>
6698
6699 * config/sim.exp: Removed checks for target triplets.
6700 (gdb_target_sim): Use gdb,target_sim_options.
6701
6702Sat May 16 23:43:35 1998 Mark Alexander <marka@cygnus.com>
6703
6704 * gdb.base/reread.exp: New file.
6705 * gdb.base/reread1.c: New file.
6706 * gdb.base/reread2.c: New file.
6707
6708Sat May 16 23:22:09 1998 Mark Alexander <marka@cygnus.com>
6709
6710 * config/sim.exp: Use 'target sim -sparclite' when running
6711 SPARClite programs.
6712
6713Sat May 16 18:48:08 1998 Doug Evans <devans@canuck.cygnus.com>
6714
6715 * gdb.base/structs2.exp: New file.
6716 * gdb.base/structs2.c: New file.
6717
6718Wed May 13 13:36:14 1998 Doug Evans <devans@canuck.cygnus.com>
6719
6720 * gdb.asm/common.inc: New file.
6721 * gdb.asm/d10v.inc: New file.
6722 * asm-source.exp: Pass -I's to gas to find .inc files.
6723 Update line numbers in expected output.
6724 * asmsrc1.s: Rewrite.
6725 * asmsrc2.s: Rewrite.
6726 * configure.in: Create arch.inc symlink.
6727 * configure: Regenerate.
6728 * Makefile.in (distclean): Delete arch.inc.
6729
6730Wed May 6 10:30:54 1998 John Metzler <jmetzler@cygnus.com>
6731
6732 * callfuncs.c (t_enum_value1) : Cleanup return value warnings
6733 (t_enum_value2): ditto
6734 (t_enum_value3): ditto
6735 (main): ditto
6736Fri May 1 09:33:37 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
6737
6738 * gdb.base/break.exp: Remove xfail for `deleting all breakpoints
6739 when none' unexpected prompt case, fixed by breakpoint.c:delete_command
6740 change.
6741 Use gdb_test instead of send_gdb/gdb_expect sequences.
6742
6743Thu Apr 23 12:56:19 1998 Jason Molenda (crash@bugshack.cygnus.com)
6744
6745 * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
6746 not void.
6747
6748Thu Apr 16 10:52:34 1998 John Metzler <jmetzler@cygnus.com>
6749
6750 * gdb.base/branches.c: Code with lots of loops and
6751 subroutines. Used to test gdbs ability to single step through PC
6752 changes, especially to test mips-tdep.c:mips_next_pc
6753
6754Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
6755
6756 * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
6757 more rigorous EGCS C++ error checking.
6758
6759Fri Apr 10 22:38:12 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6760
6761 * gdb.base/help.exp: Clean up `help set args' and `help show args'
d63a86f8 6762 tests.
c906108c 6763 * gdb.base/interrupt.exp: Add "i*86-*-solaris2*" xfail for calling
d63a86f8 6764 function when asleep.
c906108c 6765 * gdb.base/signals.exp: Add "i*86-*-solaris2*" xfails. Add comment
d63a86f8
RM
6766 for i*86 Linux and SVR4 signal handling problems.
6767 Remove linux xfail for `next to handler in signals_tests_1', fixed
6768 by recent infrun.c change.
c906108c 6769 Limit backtrace to 10 frames to avoid timeout problems with infinite
d63a86f8 6770 stack backtraces.
c906108c
SS
6771 Adjust expect pattern in `handle all print' test to match Apr 28 1997
6772 target.[ch] change.
6773
6774Tue Mar 31 00:40:32 1998 Bob Manson <manson@charmed.cygnus.com>
6775
6776 * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
6777 for a newline from gdb before continuing.
6778 (default_gdb_exit): Just look for y or n.
6779 (gdb_test): Detect abnormal exit from GDB running on DOS; if
6780 it does, fail the rests of the tests in the file.
6781
6782Tue Mar 24 22:44:52 1998 Bob Manson <manson@charmed.cygnus.com>
6783
6784 * config/cygmon.exp: New file.
6785
6786Mon Mar 16 21:39:11 1998 Bob Manson <manson@charmed.cygnus.com>
6787
6788 * gdb.base/list.exp: Fix problem with "list default lines around
6789 main" test on remote targets.
6790
6791 * gdb.base/scope.exp: Fix problem with filelocal_bss before
6792 run test on remote targets.
6793
6794Thu Mar 12 16:23:00 1998 Doug Evans <devans@canuck.cygnus.com>
6795
6796 * gdb.asm: New directory.
6797 * configure.in: Configure it.
6798 * configure: Regenerate.
6799 * gdb.asm/{Makefile.in,configure.in,configure}: New files.
6800 * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
6801
6802Mon Feb 23 08:22:44 1998 Mark Alexander <marka@cygnus.com>
6803
6804 * config/mn10300-eval.exp: New file to support MN10300 eval board.
6805
dc96c6c7 6806Wed Feb 18 16:43:46 1998 Michael Snyder (msnyder@cygnus.com)
d63a86f8 6807
c906108c
SS
6808 * gdb.base/overlays (several files): Merge the two overlay
6809 managers into one. Change variables (foox, barx, bazx, grbxx)
6810 back into ints but force them to load in their proper sections.
6811
6812Thu Feb 12 13:49:30 1998 Andrew Cagney <cagney@b1.cygnus.com>
6813
6814 * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
6815 on-chip insn memory and IMAP1 to upper 128k.
6816 (D10VCopy): Handle memory regions crossing 16k boundaries.
6817 (D10VCopy): Transfer data in 32 bit chunks.
6818
6819Tue Feb 10 17:23:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
6820
6821 * gdb.base/overlays.c (main): Exit normally when result is
6822 correct.
6823
6824 * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
6825 map. Include space for printf in .text segment.
6826
6827 * gdb.base/d10vovly.c (D10VTranslate): New function, handle
6828 updated d10v memory VMA/LMA map.
6829 (D10VCopy): Call D10VTranslate.
d63a86f8 6830
c906108c
SS
6831Fri Feb 6 14:13:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
6832
6833 * gdb.base/m32rovly.c: Force variable _novlys into .data section.
6834
6835 * gdb.base/bar.c (barx, bar): Change variable to small array so
6836 that it won't be put into the .sdata - small data -
6837 section. Update reference.
6838 * gdb.base/baz.c (bazx, baz): Ditto.
6839 * gdb.base/foo.c (foox, foo): Ditto.
6840 * gdb.base/grbx.c (grbxx, grbx): Ditto.
6841
6842 * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
6843 to be arrays.
d63a86f8 6844
dc96c6c7 6845Thu Jan 29 14:48:19 1998 Michael Snyder (msnyder@cygnus.com)
d63a86f8 6846
c906108c
SS
6847 * gdb.base/overlays.exp: fix up and get working again.
6848 Add tests for backtraces from an overlay function.
d63a86f8 6849
c906108c
SS
6850Fri Jan 23 07:52:45 1998 Fred Fish <fnf@cygnus.com>
6851
6852 * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
6853 "calling function with watchpoint enabled".
6854
6855Thu Jan 22 14:23:29 1998 Fred Fish <fnf@cygnus.com>
6856
6857 * gdb.base/break.exp (test_next_with_recursion): Remove
6858 gdb_suppress_tests for d10v-*-*.
6859 * lib/gdb.exp (gdb_suppress_tests): Disable this function
6860 pending review of whether it is useful or not.
6861
6862Tue Jan 20 13:02:09 1998 Mark Alexander <marka@cygnus.com>
6863
6864 * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
6865
6866Mon Jan 19 08:53:04 1998 Mark Alexander <marka@cygnus.com>
6867
6868 * gdb.base/break.exp: Increase timeout for slow TX39 boards.
6869 * config/dve.exp: New file to support Densan boards.
6870
6871Mon Dec 15 22:38:05 1997 Andrew Cagney <cagney@b1.cygnus.com>
6872
6873 * gdb.base/interrupt.exp: Document problem of simulators, signals,
6874 reads and BSD.
6875
6876Wed Nov 26 22:29:18 1997 Bob Manson <manson@charmed.cygnus.com>
6877
6878 * config/monitor.exp: Be a bit less picky about the "Remote debugging"
6879 response.
6880
6881 * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
6882
6883Tue Nov 25 12:46:36 1997 Andrew Cagney <cagney@b1.cygnus.com>
6884
6885 * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
6886 test.
6887
6888 * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
6889 target_sizeof_long and target_bigendian_p.
6890 (structs_by_value, structs_by_reference): Check values according
6891 to targets word size and endianess.
d63a86f8 6892
c906108c
SS
6893Mon Nov 24 16:37:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
6894
6895 * gdb.base/langs.exp: For "continue to exit" ignore any trailing
6896 output.
6897
6898Fri Oct 17 13:24:43 1997 Stan Shebs <shebs@andros.cygnus.com>
6899
6900 * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
6901 Update test of set args help to match source change.
6902
6903Fri Sep 26 17:36:20 1997 Jason Molenda (crash@pern.cygnus.com)
6904
6905 * gdb.base/default.exp: Expect help system output to be in
6906 alphabetical order.
6907 * gdb.base/help.exp: Ditto.
6908
6909Wed Sep 24 13:08:14 1997 Bob Manson <manson@charmed.cygnus.com>
6910
6911 * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
6912 "i*86-pc-linux-gnu*".
6913 * gdb.base/interrupt.exp: Ditto.
6914 * gdb.base/corefile.exp: Ditto.
6915
6916 * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
6917 define vxworks when building the testcase.
6918
6919 * gdb.base/ptype.exp: Fix testnames to be unique.
6920 * gdb.base/radix.exp: Ditto.
6921 * gdb.base/term.exp: Ditto.
6922 * gdb.base/whatis.exp: Ditto.
6923 * gdb.c++/classes.exp: Ditto.
6924
6925Tue Sep 16 22:21:48 1997 Bob Manson <manson@charmed.cygnus.com>
6926
6927 * gdb.base/callfuncs.exp: Fix indentation.
6928
6929 * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
6930 suppress_flag has been set.
6931 (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
6932 target feature.
6933
6934Mon Sep 15 15:43:17 1997 Bob Manson <manson@charmed.cygnus.com>
6935
6936 * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
6937 the testcase.
6938
6939 * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
6940 set_debug_traps() and breakpoint().
6941 * gdb.c++/misc.cc (main): Ditto.
6942 * gdb.c++/templates.cc (main): Ditto.
6943 * gdb.c++/virtfunc.cc (main): Ditto.
6944
6945Fri Sep 12 16:56:38 1997 Bob Manson <manson@charmed.cygnus.com>
6946
6947 * lib/gdb.exp(gdb_step_for_stub): New function.
6948 (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
6949 exists, reload the executable and do a "continue" instead of
6950 doing a jump.
6951 (runto_main): Use gdb_step_for_stub.
d63a86f8 6952
c906108c
SS
6953 * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
6954 tests to have unique names.
6955 * gdb.base/callfuncs.exp: Ditto.
6956 * gdb.base/commands.exp: Ditto.
6957 * gdb.base/default.exp: Ditto.
6958 * gdb.base/help.exp: Ditto.
6959 * gdb.base/list.exp: Ditto.
6960 * gdb.base/opaque.exp: Ditto.
6961 * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
6962 similar tests.
d63a86f8 6963
c906108c
SS
6964 * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
6965 * gdb.c++/cplusfuncs.cc: Ditto.
6966 * gdb.c++/virtfunc.cc: Ditto.
6967
6968 * config/monitor.exp: Keep track of the last file we saw, rather
6969 than trying to get the info from gdb.
6970
6971 * gdb.fortran/types.exp: Move comment to previous line.
6972
6973Tue Sep 2 19:55:34 1997 Bob Manson <manson@charmed.cygnus.com>
6974
6975 * config/sparclet.exp: Detect gratuitous change to sparclet gdb
6976 target mode.
6977
6978Mon Jul 28 12:14:47 1997 Stan Shebs <shebs@andros.cygnus.com>
6979
6980 From Bob Manson:
6981 * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
6982 string from GDB when it connects.
6983
6984 * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
6985
6986Thu Jul 3 15:35:12 1997 Bob Manson <manson@charmed.cygnus.com>
6987
6988 * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
6989 if we can't get a debug format from GDB (we may be testing an
6990 older GDB). Use a 10 second timeout when checking for the format.
6991
6992 * gdb.stabs/weird.exp: Fix quoting.
6993
6994 * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
6995
6996Mon Jun 30 18:31:43 1997 Bob Manson <manson@charmed.cygnus.com>
6997
6998 * config/arm-ice.exp: New file.
6999
7000Sun Jun 29 16:43:30 1997 Bob Manson <manson@charmed.cygnus.com>
7001
7002 * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
7003 until it has been modified to work with the new testsuite.
7004
99707966 7005 * gdb.*/*.exp: Instead of causing 1 unresolved test when the
c906108c
SS
7006 testcase won't compile, cause all of the testcases in the file to
7007 fail instead.
7008
7009 * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
7010 (gdb_clear_suppressed): New procedure.
7011 (gdb_stop_suppressing_tests): Only clear suppress_flag if
7012 it contains a positive value.
7013
7014Sat Jun 28 13:31:11 1997 Bob Manson <manson@charmed.cygnus.com>
7015
7016 * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
7017
7018 * gdb.c++/virtfunc.exp: Remove setting of libs variable.
7019
7020Fri Jun 27 07:44:25 1997 Fred Fish <fnf@cygnus.com>
7021
7022 * lib/gdb.exp (setup_xfail_format): New function.
7023 (get_debug_format): New function to get debug format.
7024 (debug_format): New global variable to hold last value set
7025 by get_debug_format.
7026 * gdb.base/list.exp: Call get_debug_format and expect some
7027 tests to fail for DWARF 1 and COFF formats.
7028 * gdb.c++/ptype.exp: Ditto.
7029 * gdb.c++/classes.exp: Ditto.
7030 * gdb.c++/cplusfuncs.exp: Ditto.
7031 * gdb.c++/inherit.exp: Ditto.
7032 * gdb.c++/templates.exp: Ditto.
7033 * gdb.c++/virtfunc.exp: Ditto.
d63a86f8 7034
c906108c
SS
7035Wed Jun 25 09:08:51 1997 Bob Manson <manson@charmed.cygnus.com>
7036
7037 * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
7038 host doesn't have a currently-open connection.
7039
7040 * config/sparclet.exp: Cleanups and fixes to make it generic for
7041 any gdb stub target. Handle cases where gdb doesn't respond when
7042 interrupted in a sane fashion.
7043
7044 * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
7045 same thing in a totally different way.
7046
7047 * config/monitor.exp: Pass in timeouts to gdb_expect instead of
7048 setting "timeout".
7049 (gdb_start): We set the global gdb_prompt variable in
7050 default_gdb_init now.
7051
7052Sun Jun 22 09:11:02 1997 Fred Fish <fnf@cygnus.com>
7053
7054 * gdb.base/printcmds.exp: Fix "check for floating addition"
7055 regexp to accept results within approx +/- .01 of exact value.
7056 * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
7057
7058Wed Jun 18 11:11:39 1997 Bob Manson <manson@charmed.cygnus.com>
7059
7060 * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
7061 properly.
7062 (gdb_expect): Add optional timeout parameter, and add timeout
7063 value to various calls.
7064 (gdb_suppress_tests): Only give one warning message per group.
7065
7066Tue Jun 17 13:10:10 1997 Bob Manson <manson@charmed.cygnus.com>
7067
7068 * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
7069 global variables. Handle getting a value for $timeout more
7070 gracefully.
7071
7072Sat Jun 14 09:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
7073
7074 * lib/gdb.exp: Close connection to remote host if gdb doesn't
7075 initialize.
7076 (default_gdb_init): New procedure; allow gdb_init to be overridden
7077 by a target configuration file.
7078 (gdb_expect): Pass the timeout to remote_expect.
7079
7080 * config/monitor.exp(gdb_load): Fix typo in regexp.
7081
7082Thu Jun 12 20:57:12 1997 Bob Manson <manson@charmed.cygnus.com>
7083
7084 * gdb.base/funcargs.exp: Remove spurious suppress tests call.
7085
7086Tue Jun 3 15:20:20 1997 Bob Manson <manson@charmed.cygnus.com>
7087
7088 * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
7089 here. Call gdb_target_exec before rebooting the target, to make
7090 sure the connection to the target is closed.
7091 (gdb_load): Pass the name of the executable to gdb_target_monitor.
7092 Don't call gdb_file_cmd here; let gdb_target_monitor do it.
7093 Also detect "Timeout reading from remote" error.
7094
7095 * config/gdbserver.exp: Pass the executable being loaded to
7096 gdb_target_monitor. Don't call gdb_file_cmd here; let
7097 gdb_target_monitor do it.
7098
7099 * gdb.disasm/hppa.exp: Don't use exec_output.
7100
7101Fri May 23 13:28:29 1997 Bob Manson <manson@charmed.cygnus.com>
7102
7103 * gdb.base/list.exp: If we're debugging a non-native target,
7104 try to set the pc register to point to the start of the
7105 program before doing the first list command.
7106
7107 * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
7108 test_calls after restarting.
7109
7110 * lib/gdb.exp(gdb_run_cmd): Send jump command again after
7111 reloading.
7112
7113 * gdb.base/watchpoint.exp: Fix typo.
7114
7115 * gdb.base/setshow.exp: Check for use_gdb_stub.
7116
7117 * gdb.base/break.exp: Fix continue until exit test for the gdb
7118 stub case.
7119 * gdb.base/langs.exp: Ditto.
7120
7121 * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
7122 gdb_load_offset. If we weren't given a file to load, figure out
7123 what the current file is and use it.
7124
7125 * config/i386-bozo.exp: New file.
7126
7127Thu May 22 18:51:32 1997 Bob Manson <manson@charmed.cygnus.com>
7128
7129 * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
7130 feature.
7131
7132 * config/proelf.exp: New entry.
7133
7134Wed May 21 21:23:16 1997 Bob Manson <manson@charmed.cygnus.com>
7135
7136 * lib/gdb.exp: Remove spurious .* patterns at the beginning
7137 of regexps.
7138
7139 * gdb.base/watchpoint.exp: Don't run the test_stepping
7140 tests if gdb can't call functions on the target.
7141
7142 * gdb.base/setshow.exp: Don't run the set prompt tests if
7143 the board has gdb_prompt set.
7144
7145Tue May 20 08:58:49 1997 Jeffrey A Law (law@cygnus.com)
7146
7147 * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
7148 * gdb.base/commands.exp: Likewise.
7149 * gdb.base/setshow.exp: Likewise.
7150
7151Mon May 19 15:37:50 1997 Bob Manson <manson@charmed.cygnus.com>
7152
7153 * config/monitor.exp(gdb_start): Look for gdb_prompt target
7154 feature.
7155
7156 * config/i960.exp: New file.
7157
7158Thu May 1 18:01:50 1997 Bob Manson <manson@charmed.cygnus.com>
7159
7160 * gdb.base/funcargs.exp: Check for gdb,short_int target
7161 feature instead of looking for explicit target triplets.
7162
dc96c6c7 7163Mon Apr 28 17:27:40 1997 Michael Snyder <msnyder@cygnus.com>
c906108c 7164
d63a86f8 7165 * gdb.base/printcmds.exp: add a couple more tests a la
c906108c
SS
7166 "p 123DEADBEEF", to check parse_number.
7167 * top.c: change "to enable to enable" to "to enable" in a couple
7168 of help strings.
7169
7170Thu Apr 24 14:38:18 1997 Jeffrey A Law (law@cygnus.com)
7171
7172 * gdb.base/callfuncs.exp: Mark some tests as expected to fail
7173 on the mn10300.
d63a86f8 7174
c906108c
SS
7175Mon Apr 21 15:05:42 1997 Fred Fish <fnf@cygnus.com>
7176
7177 * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
7178 where the test executable is run with explicit args.
7179 * gdb.base/default.exp: Handle arm-*-coff case for "info float".
7180
7181Mon Apr 21 13:38:58 1997 Fred Fish <fnf@cygnus.com>
7182
7183 * gdb.base/run.c: Use FAKEARGV to build test executable that
7184 does not require a command line arg, since most simulators
7185 don't currently support passing such an arg into the simulated
7186 program.
7187 * gdb.base/commands.exp: Change tests to insert the proper
7188 value as the arg to the first recursive factorial call. Change
7189 compilation line to define FAKEARGV at compile time.
7190
7191Wed Apr 9 11:12:36 1997 Jeffrey A Law (law@cygnus.com)
7192
7193 * gdb.base/recurse.exp: Enable these tests for the mn10300.
7194 * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
7195 function with watchpoint enabled" test.
7196
7197Tue Apr 8 19:33:20 1997 Bob Manson <manson@charmed.cygnus.com>
7198
7199 * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
7200 Don't call gdb_test when the command doesn't return to a gdb prompt.
7201
7202 * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
7203 "Tests restarted" messages.
7204
7205Tue Apr 8 16:38:46 1997 Jeffrey A Law (law@cygnus.com)
7206
7207 * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
7208
dc96c6c7 7209Thu Apr 3 15:21:26 1997 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
7210
7211 * gdb.base/help.exp: update help msg for INFO ADDR; add help test
7212 for INFO SYMBOL; add help tests for OVERLAY commands.
7213 * gdb.base/default.exp: add tests for INFO SYMBOL command;
7214 add tests for OVERLAY commands
7215 * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
7216 d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
7217 * gdb.base/sigall.c: add usestubs code frag
7218 * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
d63a86f8 7219
c906108c
SS
7220Thu Apr 3 09:38:53 1997 Bob Manson <manson@charmed.cygnus.com>
7221
7222 * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
7223 failures.
7224 (gdb_stop_suppressing_tests): Note that tests have restarted.
7225
7226Wed Apr 2 19:04:20 1997 Bob Manson <manson@charmed.cygnus.com>
7227
7228 * config/h8300.exp: New file.
7229
7230Sun Mar 30 13:38:25 1997 Bob Manson <manson@charmed.cygnus.com>
7231
7232 * gdb.base/setshow.exp: Check for the existence of a
7233 feature, not its value.
7234
7235Sat Mar 29 11:19:46 1997 Bob Manson <manson@charmed.cygnus.com>
7236
7237 * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
7238
7239 * gdb.base/scope.exp: It's now init0(), not init().
7240
7241 * gdb.base/scope0.c: For now, change init() to be init0().
7242
7243 * config/monitor.exp: Use gdb_serial in preference to serial
7244 or netport.
7245
7246 * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
7247 and it's not already set.
7248
7249Fri Mar 28 19:54:18 1997 Bob Manson <manson@charmed.cygnus.com>
7250
7251 * gdb.base/setshow.exp: Only test the run command if the target
7252 isn't using a stub and if it supports argument passing.
7253
7254Sat Mar 22 19:50:25 1997 Bob Manson <manson@charmed.cygnus.com>
7255
7256 * config/udi.exp(gdb_start): Make sure UDICONF is set
7257 properly before starting gdb.
7258
7259Mon Mar 24 14:40:33 1997 Jeffrey A Law (law@cygnus.com)
7260
7261 * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
7262 * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
7263 * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
7264
7265Tue Mar 11 11:42:58 1997 Bob Manson <manson@charmed.cygnus.com>
7266
7267 * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
7268 specialized code to reboot the board, use remote_reboot instead.
7269
7270 * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
7271
7272 * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
7273
7274 * config/monitor.exp: Make sure we disconnect from the target.
7275 Also, try a reboot/reload cycle instead of failing if the
7276 load fails.
7277
7278Fri Mar 7 13:48:30 1997 Bob Manson <manson@charmed.cygnus.com>
7279
7280 * gdb.base/default.exp: Don't set match_max.
7281 * gdb.base/help.exp: Ditto.
7282 * gdb.base/list.exp: Ditto.
7283 * gdb.base/signals.exp: Ditto.
7284
7285 * config/monitor.exp(gdb_load): If gdb,use_standard_load is
7286 set, use remote_ld to download the testcase instead of
7287 the GDB loader.
7288
7289Wed Mar 5 00:00:43 1997 Bob Manson <manson@charmed.cygnus.com>
7290
7291 * config/vr5000.exp: New file.
7292
7293 * config/monitor.exp(gdb_target_monitor): Add pattern for
7294 "Ending remote" to detect errors in connecting.
7295
7296 * gdb.base/setshow.exp: Add .* within auto language test.
7297
7298 * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
7299 target feature.
7300
7301 * config/monitor.exp(gdb_load): Check for a failure when loading,
7302 and reboot the board if necessary.
7303
7304 * gdb.base/setvar.exp(test_set): Handle multiple prints within
7305 a set of tests. Remove print.* from the patterns being checked.
7306
7307Mon Mar 3 11:57:43 1997 Bob Manson <manson@charmed.cygnus.com>
7308
7309 * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
7310 refer to gdb_spawn_id.
7311
7312 * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
7313 longer used.
7314 * config/sparclet.exp: Ditto.
7315 * config/sparclet-old.exp: Ditto.
7316 * config/slite.exp: Ditto.
7317 * config/sim.exp: Ditto.
7318 * gdb.base/funcargs.exp: Ditto.
7319
7320 * lib/gdb.exp:Remove references to gdb_spawn_id.
7321 (gdb_expect): Move to remote.exp.
7322
7323Fri Feb 28 20:47:39 1997 Bob Manson <manson@charmed.cygnus.com>
7324
7325 * config/monitor.exp: Detect the "Couldn't establish connection"
7326 message from GDB.
7327
7328Tue Feb 25 14:08:55 1997 Bob Manson <manson@charmed.cygnus.com>
7329
7330 * gdb.base/bitfields.exp: Use runto instead of explicit
7331 gdb_run_cmd/gdb_expect sequences.
7332
7333 * gdb.base/break.exp(text_next_with_recursion): Add match for
7334 gdb_expect call.
7335
7336 * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
7337 We also need to handle the "A program is being debugged already"
7338 prompt from gdb. Use gdb_test to set the baud rate.
7339
7340 * lib/gdb.exp(gdb_init): Increase the default expect buffer size
7341 to 20000. Really. I mean it.
7342
7343Mon Feb 24 13:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
7344
7345 * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
7346 fails. If suppress_flag is set, skip perror message about not
7347 being able to send to GDB.
7348 (send_gdb): If suppress_flag is set, don't try to send commands to
7349 GDB.
7350 (gdb_expect): If suppress_flag is set, always fail immediately.
7351 (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
7352 (gdb_init): Call gdb_stop_suppressing_tests.
7353 (default_gdb_exit): Ditto.
7354 (default_gdb_start): Ditto.
7355
7356 * gdb.base/bitfields.exp: Call gdb_suppress_tests and
7357 gdb_stop_suppressing_tests as appropriate.
7358 * gdb.base/break.exp: Ditto.
7359 * gdb.base/callfuncs.exp: Ditto.
7360 * gdb.base/commands.exp: Ditto.
7361 * gdb.base/exprs.exp: Ditto.
7362 * gdb.base/funcargs.exp: Ditto.
7363 * gdb.base/list.exp: Ditto.
7364 * gdb.base/recurse.exp: Ditto.
7365 * gdb.base/scope.exp: Ditto.
7366 * gdb.base/structs.exp: Ditto.
7367 * gdb.c++/inherit.exp: Ditto.
7368
7369Sun Feb 23 19:56:02 1997 Bob Manson <manson@charmed.cygnus.com>
7370
7371 * config/vr4300.exp: New file.
7372
99707966 7373 * gdb.*/*.exp: Call gdb_expect instead of expect.
d63a86f8 7374
99707966 7375 * lib/gdb.exp(gdb_expect): New function.
c906108c
SS
7376
7377Thu Feb 20 13:57:01 1997 Bob Manson <manson@charmed.cygnus.com>
7378
7379 * lib/gdb.exp(gdb_init): New function.
7380
7381 * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
7382 for each individual variable set.
7383
7384 * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
7385 name.
7386
7387 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
7388
7389 * gdb.base/scope.exp: Use gdb_test.
7390
7391 * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
7392 aborting; the testsuite driver will do that for us (see
7393 gdb_finish). Also, use gdb_test in a few more places.
7394
7395Thu Feb 20 13:32:24 1997 Stan Shebs <shebs@andros.cygnus.com>
7396
7397 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
7398
7399Thu Feb 20 10:34:21 1997 Jeffrey A Law (law@cygnus.com)
7400
7401 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
7402 and "add_tests" are not at the same address.
7403
7404Fri Feb 14 18:47:23 1997 Bob Manson <manson@charmed.cygnus.com>
7405
7406 * gdb.base/ptype.exp: Use gdb_test.
7407
7408Thu Feb 13 16:09:36 1997 Jeffrey A Law (law@cygnus.com)
7409
7410 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
7411 * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
7412 left in. No longer expect them to fail.
7413
7414 * gdb.stabs/*.mt; Deleted, no longer used.
7415 * gdb.stabs/configure.in: Remove references to target makefile
7416 frags.
7417 * gdb.stabs/configure: Rebuilt.
7418
7419 * gdb.disasm/*.mt: Deleted, no longer used.
7420 * gdb.disasm/configure.in: Remove references to target makefile
7421 frags. Use "sh3.s" as the unique filename for this directory.
7422 * gdb.disasm/configure: Rebuilt.
7423
7424 * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
7425 * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
7426 * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
7427
7428Tue Feb 11 16:57:58 1997 Bob Manson <manson@charmed.cygnus.com>
7429
7430 * config/udi.exp: Use mondfe,name instead of remote_host.
7431
7432Tue Feb 11 11:22:36 1997 Jeffrey A Law (law@cygnus.com)
7433
7434 * gdb.base/watchpoint.exp: Don't expect a failure when calling
7435 a function with a watchpoint enabled on the mn10200.
7436
7437 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
7438 before trying to create it!
7439
7440Mon Feb 10 16:40:47 1997 Bob Manson <manson@charmed.cygnus.com>
7441
7442 * config/vx.exp: Use hostname instead of netport.
7443
7444 * config/vxworks.exp: New file.
7445
7446 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
7447
7448 * config/monitor.exp(gdb_target_monitor): Look for a prompt from
7449 gdb before assuming everything worked. Send a ^C if a timeout
7450 occurs.
7451
7452 * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
7453 $gdb_spawn_id directly.
7454 (gdb_run_cmd): Try _start as well as start. Use the target feature
7455 gdb,start_symbol as the symbol to start from when jumping.
7456
7457Mon Feb 10 11:26:59 1997 Jeffrey A Law (law@cygnus.com)
7458
7459 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
7460 redundant) test.
7461
7462 * gdb.base/recurse.exp: Relax final value test for 'b' so that
7463 it doesn't lose for 16bit integer systems.
7464
7465Fri Feb 7 09:31:21 1997 Jeffrey A Law (law@cygnus.com)
7466
7467 * gdb.fortran/types.exp: If the target doesn't support "double"
7468 data types, then expect "real" types to only be 4 bytes.
7469
7470 * gdb.c++/virtfunc.exp: Expect failure for virtual function
7471 call tests if the target doesn't support inferior function calls.
7472
7473 * gdb.base/printcmds.exp: Allow minor deviation in FP values
7474 in printf tests.
7475
7476Thu Feb 6 12:46:14 1997 Jeffrey A Law (law@cygnus.com)
7477
7478 * gdb.base/help.exp: Disable "help set", "help show", and
7479 "help support". Simplify regexp for "help stack".
7480
7481 * gdb.base/default.exp: Set match_max to 5000 and the timeout
7482 to 60 seconds. Temporarily set match_max to 15000 around the
7483 "info copying" test.
7484
7485 * gdb.base/nodebug.exp: Don't try to do an inferior function
7486 call if the target doesn't support them.
7487 * gdb.base/printcmds.exp: Likewise.
7488 * gdb.base/setvar.exp: Likewise.
7489 * gdb.base/structs.exp: Likewise.
7490 * gdb.c++/templates.exp: Likewise.
7491 * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
7492
7493 * gdb.base/recurse.exp: Enable for the mn10200.
7494
7495 * configure.in: Do configure gdb.stabs directory for *-*-elf
7496 targets.
7497 * configure: Rebuilt.
7498
7499 * gdb.base/break.exp: Check for gdb,noresults before testing
7500 exit status and/or results from the target.
7501 * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
7502 * lib/gdb.exp: Remove old (now bogus) initialization of
7503 noinferior, noargs, noresults and nosignals.
7504
7505Tue Feb 4 21:52:17 1997 Bob Manson <manson@charmed.cygnus.com>
7506
7507 * config/sh.exp: New file.
7508
7509 * config/slite.exp: Try to connect multiple times to the board
7510 before rebooting. Only send a "monitor run" if need_monitor_run
7511 is set.
7512
7513 * gdb.base/break.exp: Don't do the "stub continue" test if
7514 the target has gdb_stub set.
7515
7516 * gdb.base/callfuncs.exp: Increase the timeout.
7517
7518 * gdb.base/interrupt.exp: Don't even try to compile the testcase
7519 if the target has gdb,noinferiorio set.
7520
7521 * gdb.base/list.exp: Increase match_max to 10000 characters.
7522
7523 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
7524
7525 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
7526 target.
7527
7528 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
7529
7530Mon Feb 3 12:09:37 1997 Bob Manson <manson@charmed.cygnus.com>
7531
7532 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
7533 trying to delete the copy of gdb. Catch the file delete so we
7534 don't die if the delete fails; also, the file should be copied to
7535 the host, not to the build.
7536
7537Sun Feb 2 00:55:14 1997 Bob Manson <manson@charmed.cygnus.com>
7538
7539 * lib/gdb.exp(gdb_test): Surround the result pattern with
7540 parenthesis in case it contains multiple regexps separated
7541 with |.
7542
7543 * gdb.base/watchpoint.exp: Use gdb_test.
7544 * gdb.base/default.exp: Ditto.
7545
7546Sat Feb 1 23:51:01 1997 Bob Manson <manson@charmed.cygnus.com>
7547
99707966 7548 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
d63a86f8 7549
c906108c
SS
7550 * gdb.base/scope.exp: Use gdb_test.
7551 * gdb.c++/classes.exp: Ditto.
7552 * gdb.c++/inherit.exp: Ditto.
7553
7554Fri Jan 31 13:09:12 1997 Bob Manson <manson@charmed.cygnus.com>
7555
7556 * gdb.base/crossload.exp: Don't use execute_anywhere, use
7557 remote_exec instead.
7558 * gdb.base/corefile.exp: Don't be ridiculous.
7559 * gdb.base/*.c: Add missing stub invocations.
7560
7561Thu Jan 30 16:49:25 1997 Bob Manson <manson@charmed.cygnus.com>
7562
7563 * config/slite.exp: Miscellaneous fixes.
7564
7565 * lib/gdb.exp: Fix runto.
7566
7567 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
7568 the target.
7569
7570 * gdb.base/watchpoint.exp: Fix regexp.
7571
7572 * lib/gdb.exp(default_gdb_exit): Add a catch to the
7573 close and wait commands, as the descriptor may now be
7574 invalid. Always call "remote_close host".
7575
7576Tue Jan 28 14:42:31 1997 Bob Manson <manson@charmed.cygnus.com>
7577
7578 Major rewrite for testsuite revision.
d63a86f8 7579
c906108c
SS
7580 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
7581 TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
7582 instead of relying on spawn_id to always contain a valid
7583 spawn id.
7584 (get_compiler_info): New procedure to build the ${binfile}.ci
7585 file, instead of replicating this in N different places.
7586 (gdb_compile): New procedure.
d63a86f8 7587
c906108c
SS
7588 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
7589 appropriate arguments) instead of compile. Use gdb_test in a lot
7590 more places. Use send_gdb instead of send. Always run gdb_start
7591 at the start of a testcase, as this is no longer done magically.
7592
7593 config/*-gdb.exp: Rename without the -gdb suffix.
7594
7595 config/mips.exp: Use remote_close instead of exit_remote_shell.
7596 config/monitor.exp: Use target_info instead of looking at
7597 baud, timeout, etc.
7598 config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
7599
7600Sat Dec 14 00:43:57 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7601
7602 * gdb.c++/templates.exp (test_ptype_of_templates),
7603 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
7604 Update expect patterns for destructors and assignment operators
7605 to match corresponding c-typeprint.c changes.
7606 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
7607 to destructor breakpoint test, GDB should be able to set the
7608 destructor breakpoint without specifying arguments.
7609
7610Tue Dec 3 20:17:52 1996 Fred Fish <fnf@cygnus.com>
7611
7612 * gdb.threads/pthreads.exp: Change result for failure to compile due
7613 to lack of pthreads runtime support from an error to simply an
7614 unsupported test, per dejagnu standards.
7615
7616Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7617
7618 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
7619 where GDB exits to reduce pattern match time.
7620 (skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
7621
7622 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
7623
dc96c6c7 7624Tue Nov 26 18:29:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
7625
7626 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
7627 * gdb.base/default.exp: ditto.
7628 * gdb.base/nodebug.exp: ditto.
7629 * gdb.base/printcmds.exp: ditto.
7630 * gdb.base/ptype.exp: ditto.
7631 * gdb.base/setvar.exp: ditto.
7632 * gdb.base/structs.exp: ditto.
7633 * gdb.base/setshow.c: Guard against uninitialized values of argc.
7634
7635Tue Nov 26 17:23:28 1996 Ian Lance Taylor <ian@cygnus.com>
7636
7637 * configure, */configure: Rebuild with autoconf 2.12.
7638
7639Sat Nov 23 13:32:15 1996 Fred Fish <fnf@cygnus.com>
7640
7641 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
7642 use new i*86-pc-linux*-gnu quads.
7643 * gdb.base/corefile.exp: Ditto.
7644 * gdb.base/signals.exp: Ditto.
7645 * gdb.base/sigall.exp: Ditto.
7646 * gdb.base/interrupt.exp: Ditto.
7647
7648 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
7649 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
7650 RedHat 4.0.
d63a86f8 7651
c906108c
SS
7652 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
7653 linux. This allows the test case to at least compile on latest
7654 linux, but still not run due to missing the threads runtime library.
7655
7656Fri Nov 22 10:13:29 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7657
7658 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
7659 directory to search gdb directory. Accept and step over conditional
7660 stack alignment code. Consume $prompt in failure cases.
7661 Reset timeout to $oldtimeout instead of some arbitrary value.
7662 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
7663 timeout problems with infinite stack backtraces.
7664 * gdb.base/ptype.exp (ptype struct link, union tu_link):
7665 Accept function parameters for linkfunc member.
7666
7667Thu Nov 21 09:17:19 1996 Fred Fish <fnf@cygnus.com>
7668
7669 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
7670 (CXXFLAGS): Remove, unreferenced.
7671 (B_OPTIONS): Add for -B options and add code to initialize with
7672 previous -B options and also add -B option to pick up cross compiled
7673 runtime.
7674 (TARGET_INCLUDES): Add for -I options and add code to initialize when
7675 doing cross compiles.
7676 (target_alias): Declare global.
7677 (xgcc): Set variable to full path of gcc in build tree. Use findfile
7678 to verify that gcc exists in build tree, and if so set CC to that
7679 gcc and to use B_OPTIONS and TARGET_INCLUDES.
d63a86f8 7680
c906108c
SS
7681Tue Nov 12 16:20:13 1996 Fred Fish <fnf@cygnus.com>
7682
7683 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
7684 ptype test for anonymous union. Fixup testcase to match
7685 current gcc debug output.
7686
7687Mon Nov 11 14:12:06 1996 Jeffrey A Law (law@cygnus.com)
7688
7689 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
7690 force argument to an unsigned long type.
7691
7692Mon Nov 11 10:27:55 1996 Fred Fish <fnf@cygnus.com>
7693
7694 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
7695 tests and anonymous union print/ptype tests.
7696 * gdb.base/list.exp (test_forward-search): Increase timeout by
7697 5 minutes for the "search extremely long line" case.
7698 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
7699 completely optional and that the pass/fail messages use the command as
7700 the message if that third arg is a null string.
7701 (gdb_test_exact): Arrange that a null string pattern means match a
7702 null string output rather than any output, which might include random
7703 errors.
7704 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
7705 backtrace test.
7706 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
7707 always failing and failure is now exposed by gdb.exp changes.
7708
7709Sat Nov 9 11:13:24 1996 Fred Fish <fnf@cygnus.com>
7710
7711 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
7712 weren't being noted.
7713
7714Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7715
7716 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
7717 * gdb.stabs/weird.exp: Remove v_comb xfails.
7718
dc96c6c7 7719Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
7720
7721 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
7722 list.exp scope.exp watchpoint.exp]
7723 Make all timeout error msgs explicitly say "(timeout)".
d63a86f8 7724
dc96c6c7 7725Mon Nov 4 12:03:06 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
7726
7727 * config/monitor.exp: Increase download timeout to 1000 seconds.
7728
dc96c6c7 7729Mon Nov 4 12:02:26 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
7730
7731 * config/m32r.exp: Increase timeout to 120 seconds.
7732
7733Sun Nov 3 14:37:05 1996 Fred Fish <fnf@cygnus.com>
7734
7735 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
7736 and accept older ordering as obsolescent gcc or gdb.
7737 * gdb.c++/templates.exp: Ditto.
7738 * gdb.c++/virtfunc.exp: Ditto.
7739
7740Fri Nov 1 11:56:09 1996 Fred Fish <fnf@cygnus.com>
7741
7742 * gdb.base/coremaker.c: Add code to mmap some data so we
7743 can check that it ends up in the core file.
7744 * gdb.base/corefile.exp: Add test to read mmapped data
7745 from core file.
7746
dc96c6c7 7747Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
7748
7749 * config/m32r.exp: New file.
7750
7751Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
7752
7753 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
7754 that cflags can contains -gstabs, and work correctly for other tests.
7755
dc96c6c7 7756Mon Oct 21 14:00:37 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
7757
7758 * gdb.base/setshow.exp: New file, tests show and set.
7759 * gdb.base/setshow.c: New file, tests show and set.
7760 * gdb.base/help.exp: Add test for help set|show annotate.
7761 * gdb.base/default.exp: Add test for set|show annotate.
7762
7763Wed Oct 16 19:03:54 1996 Stu Grossman (grossman@critters.cygnus.com)
7764
7765 * testsuite/gdb.base/break.exp: Make backtrace from factorial
7766 errors unique.
7767 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
7768 explicitly.
7769
7770Tue Oct 15 16:45:02 1996 Stu Grossman (grossman@critters.cygnus.com)
7771
7772 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
7773 and width commands. This is done elsewhere.
7774 * (gdb_start): Don't call gdb_start_sim here. That's already
7775 done in gdb_load. This fixes lots of failures in default.exp.
7776
7777Sun Oct 13 10:40:23 1996 Fred Fish <fnf@cygnus.com>
7778
7779 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
7780 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
7781 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
7782 in the same we we treat other failures (since it may be an expected
7783 condition), rather than as an error.
7784 * gdb.base/signals.exp (test_handle_all_print): Revert back to
7785 old test format.
7786
7787Fri Oct 11 17:05:22 1996 Fred Fish <fnf@cygnus.com>
7788
7789 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
7790 (distclean maintainer-clean realclean): No need to remove files
7791 twice. Nuke the duplicates.
7792 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
d63a86f8 7793 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
c906108c
SS
7794 Remove config.h along with other config files.
7795
7796Mon Sep 30 20:16:22 1996 Fred Fish <fnf@cygnus.com>
7797
7798 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
7799 "p func1 ()" and note that rests of tests are skipped.
7800 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
7801 setup_xfails for "print func2::coremaker_local".
7802 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
7803 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
7804 affected by the previous run test.
7805 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
7806 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
7807 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
7808 "pass int powerset tuple" and "pass modeless int powerset tuple".
7809 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
7810 "real write 4" and "real write 8".
7811 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
7812 setup_xfails for "print vs1 after tuple assign 2",
7813 "print \$i after tuple assign 2", and
7814 "print vs2 after tuple assign 2".
7815 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
7816 meaningful error message and return -1 so the caller can
7817 suppress further tests and avoid a cascade of errors.
d63a86f8 7818
c906108c
SS
7819Fri Sep 27 10:34:51 1996 Fred Fish <fnf@cygnus.com>
7820
7821 * gdb.base/a1-selftest.exp: Tweak tests to account for new
7822 format for printing version.
7823 * gdb.base/default.exp: Ditto.
7824 * gdb.base/interrupt.exp: Fix problem with cascade of
7825 errors if child process dies while calling a function.
d63a86f8 7826
c906108c
SS
7827Fri Sep 13 21:43:48 1996 Fred Fish <fnf@cygnus.com>
7828
7829 * Makefile.in (VPATH): Add
7830 * Makefile.in (Makefile, config.status): Fix rules so things get
7831 remade when necessary.
7832
7833Fri Sep 13 18:16:10 1996 Fred Fish <fnf@cygnus.com>
7834
7835 * Makefile.in (just-check): Add path to sibling expect dir
7836 to environment variable specified by RPATH_ENVVAR.
7837
7838Fri Sep 13 12:05:34 1996 Fred Fish <fnf@cygnus.com>
7839
7840 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
7841 (just-check): Add shared library paths for libstdc++, tk,
7842 tcl, bfd, and opcodes to the environment variable specified
7843 in RPATH_ENVVAR.
7844 * configure.in: Add support to recognize --enable-shared flag
7845 and generate correct value for RPATH_ENVVAR.
7846 * configure: Regenerated with autoconf.
7847
7848Mon Sep 2 06:36:02 1996 Fred Fish <fnf@cygnus.com>
7849
7850 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
7851 include all osf versions.
7852 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
7853 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
7854 when target is linux. When failing to build pthreads test
7855 executable, give more meaningful message.
7856 * gdb.threads/pthreads.c: Hpux also uses old definition of second
7857 arg for pthread_create.
d63a86f8 7858
c906108c
SS
7859Mon Aug 19 09:58:59 1996 Fred Fish <fnf@cygnus.com>
7860
7861 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
7862 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
7863 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
7864 and -lpthreads (everybody else).
7865 (test_startup): Fail gracefully if threads are not supported.
7866 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
7867 "p/c array_index("abcdef",2)" when not gcc compiled.
7868 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
7869 "print func2::coremaker_local" when not gcc compiled.
7870 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
7871 "ptype on opaque struct tagname (statically)",
7872 "ptype on opaque struct tagname (dynamically) 1", and
7873 "ptype on opaque struct tagname (dynamically) 2"
7874 for not compiled with gcc.
7875 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
7876 backtrace when compiled with gcc.
d63a86f8 7877 * lib/gdb.exp (runto_main): Return result of "runto main" rather
c906108c
SS
7878 than always return success.
7879
7880Sat Aug 17 13:28:00 1996 Fred Fish <fnf@cygnus.com>
7881
7882 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
7883
7884Tue Aug 13 10:26:10 1996 Jeffrey A Law (law@cygnus.com)
7885
7886 * gdb.base/structs.exp: Undo last change.
7887
7888Mon Aug 12 15:29:08 1996 Fred Fish <fnf@cygnus.com>
7889
7890 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
7891 encapsulate all the steps/nexts done during self test, starting
7892 at main, and makes them less sensitive to optimization issues.
7893 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
7894 signal handler" test.
7895 * gdb.threads/pthreads.exp: Only run this for native configs.
7896 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
7897 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
7898 tests.
7899 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
7900 for "runto test_calls(void)" test.
d63a86f8 7901
c906108c
SS
7902Sun Aug 11 13:11:24 1996 Fred Fish <fnf@cygnus.com>
7903
7904 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
7905 and don't expect address info in breakpoint confirmations.
7906
7907Wed Aug 7 20:47:43 1996 Fred Fish <fnf@cygnus.com>
7908
7909 * gdb.base/list.exp (test_forward_search): Increase timeout
7910 temporarily by 60 seconds for searching extremely long line,
7911 and then reset to old value when done. Increase expect input
7912 buffer to 10000.
7913
7914Wed Aug 7 15:34:22 1996 Fred Fish <fnf@cygnus.com>
7915
7916 * gdb.base/list.exp (test_forward_search): Fix to handle very
7917 long source line without overflowing expect's input buffer.
7918
7919Wed Aug 7 12:03:25 1996 Tom Tromey <tromey@creche.cygnus.com>
7920
7921 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
7922 "buffer_full".
7923
7924 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
7925 "buffer_full".
7926
7927 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
7928 "buffer_full".
7929
7930 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
7931 "buffer_full".
7932
7933Wed Aug 7 11:05:47 1996 Fred Fish <fnf@cygnus.com>
7934
7935 * configure.in (configdirs): Add gdb.threads.
7936 * configure: Regenerated with autoconf.
7937 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
7938 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
7939 * gdb.threads/configure: New, generated with autoconf.
d63a86f8 7940
c906108c
SS
7941Tue Aug 6 10:23:04 1996 Tom Tromey <tromey@rtl.cygnus.com>
7942
7943 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
7944
7945Mon Aug 5 18:11:53 1996 Fred Fish <fnf@cygnus.com>
7946
7947 * gdb.base/signals.exp (test_handle_all_print): Test separately for
7948 each signal's status in the output of "handle all print".
7949 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
7950 the \r\n sequence that immediately precedes the gdb prompt.
7951 * gdb.base/a1-selftest.exp: Save original timeout and restore
7952 after test.
7953
7954Sun Aug 4 10:20:50 1996 Jeffrey A Law (law@cygnus.com)
7955
7956 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
7957 symbol.
7958
7959Fri Aug 2 17:37:26 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
7960
7961 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
7962
7963Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
7964
7965 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
7966 timeout by 60 seconds.
7967
7968Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
7969
7970 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
7971 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
7972 error return.
7973
7974Thu Jun 27 10:54:58 1996 Fred Fish <fnf@cygnus.com>
7975
7976 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
7977 gdb initialization, also report how long dejagnu waited. Restore
7978 old timeout before doing error return. Temporarily increase timeout
7979 by 3 minutes to allow for slow startups over heavy NFS use.
7980
7981Tue Jun 25 19:59:17 1996 Fred Fish <fnf@cygnus.com>
7982
7983 * lib/gdb.exp: Report timeout value for verbosity level 2.
7984 * config/gdbserver.exp: Ditto.
7985 * config/hppro.exp: Ditto.
7986 * config/mips-gdb.exp: Ditto.
7987 * config/monitor.exp: Ditto.
7988 * config/netware.exp: Ditto.
7989 * config/sim-gdb.exp: Ditto.
7990 * config/slite-gdb.exp: Ditto.
7991 * config/udi-gdb.exp: Ditto.
7992 * config/unix-gdb.exp: Ditto.
7993 * config/vx-gdb.exp: Ditto.
7994 * gdb.base/a1-selftest.exp: Ditto.
7995 * gdb.base/a2-run.exp: Ditto.
7996 * gdb.base/break.exp: Ditto.
7997 * gdb.base/corefile.exp: Ditto.
7998 * gdb.base/list.exp: Ditto.
7999 * gdb.base/recurse.exp: Ditto.
8000 * gdb.base/scope.exp: Ditto.
8001 * gdb.base/signals.exp: Ditto.
8002
8003Tue Jun 25 23:16:58 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
8004
8005 * gdb.threads/Makefile.in (docdir): Removed.
8006
8007Tue Jun 25 17:02:39 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
8008
8009 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
d63a86f8 8010 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
c906108c 8011 @srcdir@.
d63a86f8 8012 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
c906108c
SS
8013 autoconf 2.5 or higher.
8014 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
8015
8016Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
8017
8018 * configure: Regenerated.
8019 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
8020 avoid name clashes with SunOS headers.
8021
8022Wed Jun 5 16:43:27 1996 Jeffrey A Law (law@cygnus.com)
8023
8024 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
8025
8026Thu May 30 11:35:11 1996 Jeffrey A Law (law@cygnus.com)
8027
8028 * gdb.base/callfuncs.exp: Finish last change -- make sure the
8029 prototype information ends up in the compiler info file.
8030
8031Thu May 23 12:48:41 1996 Fred Fish <fnf@cygnus.com>
8032
8033 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
8034 attempting to regenerate it. Eliminate use of a temporary file
8035 and just generate the info file directly. Source it immediately,
8036 for consistency of use.
8037 * gdb.base/corefile.exp: Ditto
8038 * gdb.base/exprs.exp: Ditto.
8039 * gdb.base/funcargs.exp: Ditto.
8040 * gdb.base/langs.exp: Ditto.
8041 * gdb.base/list.exp: Ditto.
8042 * gdb.base/mips_pro.exp: Ditto.
8043 * gdb.base/nodebug.exp: Ditto.
8044 * gdb.base/opaque.exp: Ditto.
8045 * gdb.base/ptype.exp: Ditto.
8046 * gdb.base/scope.exp: Ditto.
8047 * gdb.base/setvar.exp: Ditto.
8048 * gdb.base/signals.exp: Ditto.
8049 * gdb.base/whatis.exp: Ditto.
8050 * gdb.c++/templates.exp: Ditto.
8051 * gdb.c++/virtfunc.exp: Ditto.
8052 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
8053 whether or not to add -lstdc++ to the compile command line args.
8054
8055Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8056
8057 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
8058 it got fixed by the recent lookup_minimal_symbol_by_pc change.
8059 Increase timeout, a lot of single stepping might be needed if the
8060 target has no hardware watchpoints.
8061
8062Wed May 15 08:47:42 1996 Jeffrey A Law (law@cygnus.com)
8063
8064 * gdb.base/break.exp: Ignore compiler warnings when compiling
8065 break.c.
8066 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
8067 * gdb.base/default.exp: Add h8300 xfails. Handle messages
8068 from remote-sim.
8069 * gdb.base/exprs.exp: Add h8300 xfails.
8070 * gdb.base/funcargs.exp: Likewise.
8071 * gdb.base/nodebug.exp: Likewise.
8072 * gdb.base/printcmds.exp: Likewise.
8073 * gdb.base/ptype.exp: Likewise.
8074 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
8075 h8300 xfails.
d63a86f8 8076 * gdb.base/return.exp: Handle float/double precision problems
c906108c
SS
8077 on the h8300.
8078 * gdb.base/funcargs.c: Explicitly make last constant argument to
8079 call_after_alloca_subr an unsigned long type.
8080 * gdb.base/return.c: Include stdio.h.
8081
8082Tue May 7 22:01:12 1996 Rob Savoye <rob@chinadoll.cygnus.com>
8083
8084 * config/abug.exp: New file for the older Motorola Bug monitor
8085 that runs on the mvme13x series VME boards.
8086 * config/monitor.exp: Use the new config array for target settings
8087 if they exist.
8088
8089Fri May 3 16:02:55 1996 Stan Shebs <shebs@andros.cygnus.com>
8090
8091 * sim-gdb.exp: Make the SH simulator allocate less space when
8092 it is targeted.
8093
8094Thu May 2 12:31:56 1996 Jeffrey A Law (law@cygnus.com)
8095
8096 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
8097 test.
8098
8099Wed Mar 20 08:48:03 1996 Fred Fish <fnf@cygnus.com>
8100
8101 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
8102 "rs6000-*-*" for "list function in include file" when gcc compiled.
8103 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
8104 for "p ctable1[120]".
8105 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
8106 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
8107 Remove setup_xfail for "rs6000-*-*" for
8108 "print 'scope0.c'::filelocal before run".
8109 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
8110 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
8111 since some compilers don't allow both options to be given
8112 on the same command line. Create object file and move it.
d63a86f8 8113
c906108c
SS
8114Tue Mar 19 23:49:31 1996 Fred Fish <fnf@cygnus.com>
8115
8116 * gdb.base/corefile.exp: Always regenerate the core file, since
8117 we always regenerate the coremaker program. Detect special case
8118 where registers cannot be read from core file.
d63a86f8 8119
c906108c
SS
8120Tue Mar 19 16:52:49 1996 Fred Fish <fnf@cygnus.com>
8121
8122 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
8123 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
8124 * gdb.c++/templates.exp: Only match on basename of file since
8125 some formats like xcoff don't encode directory information.
8126 * gdb.stabs/weird.exp: Use the right sed script for powerpc
8127 and rs6000 AIX xcoff targets.
8128 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
8129 * configure: Regenerate.
8130 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
8131 here, rather than in distclean.
d63a86f8 8132
c906108c
SS
8133Sun Mar 17 13:35:31 1996 Fred Fish <fnf@cygnus.com>
8134
8135 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
8136 defined, and use it to compile the test case with -O2. The
8137 native compilation still uses no optimization.
8138 * gdb.base/mips_pro.c: Remove inline assembly code since
8139 it is compiled PIC by default, which results in assembler
8140 warnings that make the testsuite think the compilation
8141 was unsuccessful.
8142
8143Sat Mar 16 15:02:24 1996 Fred Fish <fnf@cygnus.com>
8144
8145 * gdb.c++/misc.exp: Add note to message for
8146 "print s.a for foo struct" that this is a known gcc 2.7.2
8147 and earlier bug.
8148
8149Fri Mar 15 17:49:57 1996 Fred Fish (fnf@cygnus.com)
8150
8151 * gdb.base/break.exp: Fix pattern for matching "Delete all
8152 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
8153 setup_xfail for deleting all breakpoints test. Fix various
8154 timeout messages to include "(timeout)".
8155 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
8156 for "p t_float_values2(3.14159,float_val2)".
8157 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
8158 for "continue to call2g" when gcc compiled.
8159 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
8160 "up to foo in langs.exp", "show language at foo in langs.exp",
8161 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
8162 and "show language at fsub in langs.exp".
8163 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
8164 "list line 1 in include file", "list message for lines past EOF",
8165 "list function in include file", "list list0.h:foo", and
8166 "list filename:function; nonexistant function".
8167 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
8168 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
8169 and "ptype t_char_array" to be for native cc only.
d63a86f8 8170
c906108c
SS
8171Fri Mar 15 16:17:22 1996 Fred Fish <fnf@cygnus.com>
8172
d63a86f8 8173 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
c906108c
SS
8174 setup_xfail for "print coremaker_bss", "print coremaker_ro",
8175 "print func2::coremaker_local", and "backtrace in corefile.exp".
8176
8177Wed Mar 13 14:54:11 1996 Fred Fish <fnf@cygnus.com>
8178
8179 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
8180 "bt in signals.exp". This problem only appears when running
8181 the testsuite, and then only intermittently.
8182
8183Tue Mar 12 15:00:16 1996 Stan Shebs <shebs@andros.cygnus.com>
8184
8185 * gdb.base/return.exp (return_tests): Differentiate between
8186 two tests of continuing.
8187
8188Tue Mar 5 14:33:33 1996 Stan Shebs <shebs@andros.cygnus.com>
8189
8190 * */Makefile.in (maintainer-clean): Remove config.log.
8191 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
8192 * gdb.c++/Makefile.in (PROGS): Add inherit.
8193 (clean): Remove *.ci.
8194
8195Tue Feb 20 16:36:10 1996 Fred Fish <fnf@cygnus.com>
8196
8197 * gdb.c++/misc.cc: Add test code from Mike Stump.
8198 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
8199
8200Sun Feb 18 11:39:12 1996 Fred Fish <fnf@cygnus.com>
8201
8202 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
8203 to "alpha-*-osf2*" and add comment.
8204 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
8205 setup_xfail for "step over execarg initialization" and
8206 "step over corearg initialization".
8207 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
8208 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
8209 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
8210 gcc compiled for "print coremaker_bss", "print coremaker_ro",
8211 "print func2::coremaker_local", and "backtrace in corefile.exp".
8212 * gdb.base/signals.exp: Build and source signals.ci.
8213 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
8214 to be for gcc only.
8215 * lib/gdb.exp: Move verbose statements outside conditionals.
d63a86f8 8216
c906108c
SS
8217Sat Feb 17 02:22:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8218
8219 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
8220 Feb 3 procfs.c change.
8221
8222Fri Feb 16 13:25:31 1996 Fred Fish <fnf@cygnus.com>
8223
8224 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
8225
8226Thu Feb 15 08:12:55 1996 Fred Fish <fnf@cygnus.com>
8227
8228 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
8229 from dejagnu's apparent default of 10 seconds, which gives random
8230 results when running the tests over NFS on moderately loaded systems.
8231 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
8232
8233Mon Feb 12 16:50:28 1996 Fred Fish <fnf@cygnus.com>
8234
8235 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
8236 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
8237 result reports.
8238
8239Fri Feb 9 15:56:51 1996 Fred Fish <fnf@cygnus.com>
8240
8241 * configure.in (CY_AC_PATH_TCLH): Remove.
8242 * configure: Regenerate.
8243
8244Fri Feb 9 08:21:31 1996 Fred Fish <fnf@cygnus.com>
8245
8246 * gdb.c++/Makefile.in (clean): Add missing '{'.
8247
8248Fri Feb 2 10:19:40 1996 Jeffrey A Law (law@cygnus.com)
8249
8250 * lib/gdb.exp: Provide a default value for noinferior.
8251
8252 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
8253 Load libgloss.exp.
8254
8255Thu Feb 1 20:20:14 1996 Jeffrey A Law (law@cygnus.com)
8256
8257 * gdb.disasm/hppa.exp: Compile directly into an executable, use
8258 the executable, not the .o to run the tests from.
8259
8260Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com)
8261
8262 * gdb.base/break.exp: Don't test for program exit or exit status
8263 if $noresults if nonzero.
8264 * gdb.base/langs.exp: Likewise.
8265 * gdb.base/watchpoint.exp: Likewise.
8266
8267 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
8268 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
8269 trying to compile the testcase.
8270
8271Wed Jan 24 23:42:39 1996 Doug Evans <dje@charmed.cygnus.com>
8272
8273 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
8274 * gdb.base/signals.exp (continue to handler): Likewise.
8275
8276Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
8277
8278 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
8279
8280 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
8281
8282Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
8283
8284 * gdb.base/corefile.exp: Recognize "not found" as failure
8285 when trying to determine if a core file was generated.
8286 If no core file was generate the first time, try again without
8287 the ulimit -c to work around braindamaged shells.
8288
8289Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
8290
8291 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
8292 [] tests with "test" and enclose string in quotes.
8293 * gdb.stabs/configure: Rebuild
d63a86f8 8294
c906108c
SS
8295Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
8296
8297 Changes in sync with expect:
8298 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
8299 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
8300 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
8301 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
8302 argument to AC_REQUIRE.
8303 * configure: Regenerated.
8304
8305Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
8306
8307 * gdb.base/corefile.exp: When generating a core, discard any
8308 error messages about ulimit not found and the "core dumped"
8309 message from the shell that runs the coredumper.
8310
8311Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
8312
8313 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
8314
8315 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
8316 which sed script to run. Expect failure for v_comb test
8317 on PA targets too.
d63a86f8 8318
c906108c
SS
8319Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
8320
8321 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
8322 "print func2::coremaker_local" and for "backtrace in corefile.exp"
8323
8324Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
8325
8326 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
8327 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
8328 "sparc-sun-solaris*" xfails for "p v_comb".
8329 * lib/gdb.exp (default_gdb_start): Fix typo.
8330 * gdb.base/corefile.exp: Allow "Core was generated by ..."
8331 messages to not include the full program name that caused
8332 the core dump since some systems (such as solaris) apparently
8333 truncate this path to about 80 characters.
8334 When generating a core file first try increasing the core file
8335 size limit to unlimited since some systems may default it to
8336 zero, and it is harmless to try it. Move the test for failing
8337 to generate a core file to where it will actually get executed.
8338 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
8339 new gdb result from g++ debug info improvements and make old
8340 pattern obsolescent. Also account for size_t differences
8341 (may be int or long).
8342 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
8343 initialization before function call is placed in the delay slot
8344 and thus appears to be skipped over by commands such as "next".
8345
8346Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
8347
8348 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
8349
8350Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
8351
8352 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
8353 input source file; fix code to compile test to deal with this
8354 convention.
8355 * gdb.c++/*.exp: Likewise.
8356
8357Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
8358
8359 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
8360 "bt in signals.exp".
8361
8362Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
8363
8364 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
8365 "step over execarg initialization" and
8366 "step over corearg initialization".
8367
8368Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
8369
8370 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
8371 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
8372
8373Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
8374
8375 From Rob Savoye (rob@poseidon.cygnus.com)
8376 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
8377 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
8378 configure.in}, gdb.disasm/{Makefile.in, configure.in},
8379 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
8380 configure.in}: Major reworking for autoconfig.
8381 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
8382 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
8383 New files.
8384 * config/unix-gdb.exp: Make GDB global.
8385 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
8386 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
8387 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
8388 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
8389 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
8390 term.exp, twice.exp, watchpoint.exp, whatis.exp},
8391 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
8392 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
8393 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
8394 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
8395 pr-8136.exp, result.exp, string.exp, tuples.exp},
8396 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
8397 to returns as necessary, arrange for test to compile own testcase
8398 executable.
8399 * lib/gdb.exp: Changes for testsuite to compile own test cases.
d63a86f8 8400
c906108c
SS
8401Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
8402
8403 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
8404 clear_xfail at end of test which might not call either pass or fail.
8405 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
8406 "backtrace through signal handler".
8407
8408Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8409
8410 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
8411 continuing from a job control stop signal.
8412 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
8413
8414Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
8415
8416 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
8417 * gdb.base/corefile.exp: Likewise.
8418 * gdb.base/funcargs.exp: Likewise.
8419
8420Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
8421
8422 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
8423 * config/monitor.exp: Add support for setting baud rate.
8424
8425Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
8426
8427 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
8428 i*86-*-linux* xfails for "backtrace through signal handler".
8429 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
8430 "print func2::coremaker_local".
8431 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
8432 alpha-dec-osf2* xfail for
8433 "delete all breakpoints when none".
8434
8435Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
8436
8437 * gdb.base/break.exp: Change test that deletes all breakpoints
8438 when no user breakpoints are installed. A post 4.15 change
8439 causes gdb to no longer prompt in this case.
8440
8441Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
8442
8443 * gdb.base/return.exp (return_tests): Change xfail for test
8444 "correct value returned double test" to stop xfailing at
8445 Solaris 2.5. Apparently the bug has been fixed.
8446
8447Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
8448
8449 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
8450 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
8451
8452Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
8453
8454 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
8455 * gdb.disasm/hppa.s: Corresponding changes.
8456
8457Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
8458
8459 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
8460 makefile fragment.
8461 * config/mt-hpux: Deleted.
8462
8463Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
8464
d63a86f8 8465 * Many files: When warning about suppressed tests due to a
c906108c
SS
8466 nonexistant test binary, avoid incrementing the warning count.
8467
8468Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
8469
8470 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
d63a86f8 8471
c906108c
SS
8472Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8473
8474 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
8475 "sparc-*-solaris2*".
8476
8477Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8478
8479 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
8480 Add global and local variables and initialize them.
8481 * gdb.base/corefile.exp: Test correct mapping of corefile sections
8482 by printing variables. Remove rs6000 and powerpc xfails, BFD now
8483 extracts the file name and terminating signal from the core file.
8484 * TODO: Remove note about tests for correct mapping of corefile.
8485 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
8486 from optimizing it away.
8487 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
8488 handles common blocks.
8489
8490Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
8491
8492 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
8493 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
8494
8495Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
8496
8497 * Makefile.in (maintainer-clean): New target, synonym for
8498 realclean.
8499 * gdb.base/Makefile.in (maintainer-clean): Likewise.
8500 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
8501 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
8502 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
8503 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
8504 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
8505
8506Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
8507
8508 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
8509 xfails when not gcc compiled for "print foo::funclocal".
8510 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
8511 "print foo::funclocal at foo",
8512 "print 'scope1.c'::foo::funclocal at foo",
8513 "print foo::funclocal_bss at foo",
8514 "print 'scope1.c'::foo::funclocal_bss at foo",
8515 "print foo::funclocal_ro at foo",
8516 "print 'scope1.c'::foo::funclocal_ro at foo",
8517 "print bar::funclocal at foo" and
8518 "print 'scope1.c'::bar::funclocal at foo".
8519 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
8520 gcc compiled for "print foo::funclocal at bar".
8521 Expand all messages to ensure that they identify that
8522 the test is at bar().
8523 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
8524 gcc compiled for:
8525 "ptype on opaque struct pointer (statically)",
8526 "ptype on opaque struct tagname (statically)",
8527 "ptype on opaque struct pointer (dynamically) 1",
8528 "ptype on opaque struct tagname (dynamically) 1",
8529 "ptype on opaque struct pointer (dynamically) 2" and
8530 "ptype on opaque struct tagname (dynamically) 2
8531 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
8532 gcc compiled for:
8533 "p datalocal"
8534 "whatis datalocal",
8535 "ptype datalocal",
8536 "p bsslocal",
8537 "whatis bsslocal", and
8538 "ptype bsslocal".
8539 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
8540 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
8541 when not gcc compiled.
8542 * gdb.base/funcargs.exp (float_and_integral_args): Add
8543 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
8544 compiled.
8545 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
8546 "backtrace from call6a" when not gcc compiled.
8547 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
8548 "backtrace from call7a" when not gcc compiled.
8549 * gdb.base/callfuncs.exp (do_function_calls):
8550 Add "hppa*-*-hpux*" xfail when not gcc compiled for
8551 "p t_char_array_values(char_array_val2,char_array_val1)",
8552 "p t_char_array_values(char_array_val1,char_array_val2)",
8553 "p t_char_array_values("carray 1","carray 2")",
8554 "p t_char_array_values("carray 1",char_array_val2)",
8555 "p t_char_array_values(char_array_val1,"carray 2")",
8556 "p sum_args(1,{2})",
8557 "p sum_args(2,{2,3})",
8558 "p sum_args(3,{2,3,4})",
8559 "p sum_args(4,{2,3,4,5})"
8560 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
8561 "backtrace in corefile.exp" when not gcc compiled.
8562
8563Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8564
8565 * gdb.base/signals.exp: Rewrite `handle all print' test as
8566 a procedure. Accept blanks or TABs as whitespace, increase
8567 timeout and expect input buffer size for the large output
8568 from the command. Remove "i*86-*-bsdi2.0" xfail.
8569
8570Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8571
8572 * gdb.base/setvar.exp: Add new testcases for truncation when
8573 assigning invalid values to bitfields.
8574
8575Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
8576
d63a86f8 8577 * gdb.base/callfuncs.exp (do_function_calls): Remove
c906108c
SS
8578 mips-sgi-irix* xfail for
8579 "call inferior func with struct - returns char *"
8580 and fix test so that an optional (unsigned char *) cast is
8581 accepted in the result.
8582
8583Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
8584
8585 * gdb.base/funcargs.exp (float_and_integral_args): Remove
8586 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
8587 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
8588 * gdb.base/signals.exp: Remove duplicate "handle all print" test
8589 that accidentally got checked in.
8590
8591Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
8592
d63a86f8 8593 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
c906108c
SS
8594 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
8595 compiled test.
8596 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
8597 Add mips-sgi-irix5* xfail for not gcc compiled.
8598 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
8599 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc compiled for
8600 "p top", "whatis top", "p middle", and "whatis middle".
8601 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
8602 "whatis signed char" for not gcc compiled.
8603 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
8604 "set variable signed char=-1 (-1)" and
8605 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
8606 * gdb.base/funcargs.exp (float_and_integral_args):
8607 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
8608 Add mips-sgi-irix* xfail when not gcc compiled for
8609 "continue to call2b".
8610 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
8611 "continue to call2g".
8612 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc compiled for
8613 "backtrace from call6a"
8614 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc compiled for
8615 "backtrace from call7k".
8616 Add mips-sgi-irix5* xfail when not gcc compiled for
8617 "backtrace from call7a".
8618 (localvars_after_alloca): Fix gdb_test cmds for
8619 "print * after runto ...".
8620 Remove rs6000-*-* xfails for
8621 "print i after runto localvars_after_alloca" and
8622 "print l after runto localvars_after_alloca"
8623 for all compilers.
8624 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
8625 when not compiled with gcc, for:
8626 "print signed char == (minus)",
8627 "print signed char != (minus)",
8628 "print signed char < (minus)",
8629 "print signed char > (minus)".
8630 * gdb.base/callfuncs.exp (do_function_calls):
8631 Add mips-sgi-irix* xfail, when compiled with native compiler, for
8632 "call inferior func with struct - returns char *".
d63a86f8 8633 * gdb.base/return.exp (return_tests): Change xfail for
c906108c
SS
8634 "correct value returned double test" to include Solaris 2.4.
8635 * gdb.base/funcargs.exp (float_and_integral_args):
8636 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
d63a86f8 8637
c906108c
SS
8638Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8639
8640 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
8641 enumeration bitfields if compiling with GNU C.
8642 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
8643 to empty' prompt.
8644
8645Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
8646
8647 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
8648 test for PRO targets.
8649
8650 * gdb.base/funcargs.exp: Avoid ever setting more than 8
8651 breakpoints in the inferior at any given time by making
8652 two groups of breakpoints for call2*, call6* and call7*
8653 tests.
8654
8655Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8656
8657 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
8658 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
8659 from optimizing it away.
8660 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
8661 "call inferior func with struct".
8662
8663Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
8664
8665 * configure.in: Only configure gdb.chill for particular targets.
8666
8667Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
8668
8669 * gdb.base/Makefile.in: Add action to .c.o transformation
8670 rule that generates a .ci file for each .o file and remove
8671 explicit .c.o rules except for callfuncs.o.
8672 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
8673 generates a .ci file for each .o file and remove explicit
8674 .cc.o rules.
8675 (clean): Remove *.tmp *.ci files.
8676 (EXECUTABLES): Remove templ-info.exp.
8677 * gdb.base/compiler.c: New file.
8678 * gdb.c++/compiler.cc: New file
8679 * gdb.base/scope.exp: Source gdb.base/scope.ci.
8680 Change rs6000-*-* xfail for
8681 "print 'scope0.c'::filelocal_ro" and
8682 "print 'scope1.c'::filelocal" and
8683 "print 'scope1.c'::filelocal_bss" and
8684 "print 'scope1.c'::filelocal_ro" and
8685 "print 'scope1.c'::foo::funclocal" and
8686 "print 'scope1.c'::foo::funclocal_ro" and
8687 "print 'scope1.c'::bar::funclocal" and
8688 "print 'scope0.c'::filelocal_ro" and
8689 "print 'scope1.c'::filelocal at foo" and
8690 "print 'scope1.c'::filelocal_bss at foo" and
8691 "print 'scope1.c'::filelocal_ro at foo" and
8692 "print 'scope1.c'::foo::funclocal at foo" and
8693 "print 'scope1.c'::foo::funclocal_bss at foo" and
8694 "print 'scope1.c'::foo::funclocal_ro at foo" and
8695 "print 'scope1.c'::bar::funclocal at foo" and
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_bss" and
8702 "print 'scope1.c'::foo::funclocal_ro" and
8703 "print 'scope1.c'::bar::funclocal" and
8704 "print 'scope1.c'::bar::funclocal_bss"
8705 to only be xfail'd when not compiled with gcc.
d63a86f8 8706 Add rs6000-*-* xfail for
c906108c
SS
8707 "print 'scope0.c'::filelocal_bss before run"
8708 when compiled with gcc.
8709 (test_at_main): Add rs6000-*-* xfail for
8710 "print filelocal_ro in test_at_main"
8711 when compiled with gcc.
8712 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
d63a86f8 8713 Add rs6000-*-aix* xfail for
c906108c
SS
8714 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
8715 "ptype t_char_array", not compiled with gcc.
8716 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
8717 xfail for "list foo (in include file)" when gcc compiled.
8718 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
8719 (integral_args): Add rs6000-*-* xfail for
8720 "run to call0a" if not compiled with gcc.
8721 (unsigned_integral_args): Add rs6000-*-* xfail for
8722 "run to call1a" if not compiled with gcc.
8723 (float_and_integral_args): Add rs6000-*-* xfail for
8724 "run to call2a" if not compiled with gcc and for
8725 "continue to call2b" for any compiler.
8726 Add rs6000-*-* xfail to
8727 "print f1 after run to call2a" for gcc compiled.
8728 (discard_and_shuffle): Add rs6000-*-* xfail for
8729 "run to call6a".
8730 (shuffle_round_robin): Add rs6000-*-* xfail for
8731 "backtrace from call7a" if not compiled with gcc.
8732 Add rs6000-*-* xfail for
8733 "backtrace from call7b" if compiled with gcc.
8734 (call_after_alloca): Add rs6000-*-* xfail for
8735 "print c in call_after_alloca" and
8736 "print s in call_after_alloca" and
8737 "backtrace from call_after_alloca_subr"
8738 if not compiled with gcc.
8739 (localvars_in_indirect_call): Add rs6000-*-* xfail for
8740 "print c in localvars_in_indirect_call" and
8741 "print c in localvars_in_indirect_call" and
8742 "backtrace in indirectly called function" and
8743 "stepping into indirectly called function"
8744 if not compiled with gcc.
8745 (localvars_after_alloca): Add rs6000-*-* xfail for
8746 "print c after runto localvars_after_alloca" and
8747 "print s after runto localvars_after_alloca" and
8748 "print i after runto localvars_after_alloca" and
8749 "print l after runto localvars_after_alloca"
8750 for all compilers.
8751 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
8752 than whatis-info.exp.
8753 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
8754 than opaque-info.exp.
8755 Setup rs6000-*-* xfail for
d63a86f8 8756 "ptype on opaque struct pointer (statically)" and
c906108c
SS
8757 "ptype on opaque struct pointer (dynamically)" when
8758 not compiled with gcc.
8759 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
8760 rather than callf-info.exp.
8761 (do_function_calls): Add clear_xfail for rs6000-*-* for
8762 "p t_float_values2(3.14159,float_val2)". Seems to work
8763 fine there, both with xlc and gcc. Need to find out what
8764 it is doing right and fix other platforms.
8765 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
8766 "call inferior func with struct - returns int",
8767 "call inferior func with struct - returns long",
8768 "call inferior func with struct - returns float",
8769 "call inferior func with struct - returns double",
8770 "call inferior func with struct - returns char *",
8771 but only if not gcc compiled (presumes xlc compiled).
8772 Change rs6000-*-* xfails for
8773 "call inferior func with struct - returns char" and
8774 " call inferior func with struct - returns short" to only
8775 xfail if not using gcc.
8776 (clean mostlyclean): Remove *.ci and *.tmp files.
8777 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
8778 than templ-info.exp.
8779 * gdb.base/langs.exp: Source gdb.base/langs.ci.
8780 Add rs6000-*-* xfail for "up to foo in langs.exp"
8781 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
8782 when not gcc compiled.
d63a86f8 8783
c906108c
SS
8784Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
8785
8786 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
8787 * gdb.base/corefile.exp: Likewise.
8788 * gdb.base/list.exp: Likewise.
8789 * gdb.base/scope.exp: Likewise.
8790 * gdb.base/siganls.exp: Likewise.
8791
8792 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
8793 compiler output.
8794 * gdb.base/whatis.exp: Likewise.
8795
8796Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
8797
8798 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
8799 failure (opcode table has been fixed to match reality).
8800
8801Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
8802
8803 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
8804 "call inferior func with struct - returns char",
8805 "call inferior func with struct - returns short"
8806
8807 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
8808 "print 'scope0.c'::filelocal at main",
8809 "print 'scope0.c'::filelocal_bss in test_at_main",
8810 "print 'scope0.c'::filelocal at foo",
8811 "print 'scope0.c'::filelocal_bss in test_at_foo",
8812 "print 'scope0.c'::filelocal at bar",
8813 "print 'scope0.c'::filelocal_bss in test_at_bar"
d63a86f8 8814
c906108c
SS
8815 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
8816 in source file 1". This bug seems to have been fixed with both
8817 gcc and native cc (was native assembler bug?).
8818
8819Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
8820
8821 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
8822 "backtrace through signal handler" to "i*86-*-sysv4*".
8823 * gdb.base/signals.exp: Add xfail for "'next' behaved as
8824 continue" case. Add "known SVR4 bug" to fail message.
8825 Add "i*86-*-bsdi2.0" xfail for "handle all print".
8826 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
8827 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
8828 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
8829 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
8830 "up to foo in langs.exp", "show language at foo in
8831 langs.exp", "up to cppsub_ in langs.exp", "show
8832 language at cppsub_ in langs.exp", "up to fsub in
8833 langs.exp", and "show language at fsub in langs.exp".
8834 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
8835 "bactrace in corefile.exp".
8836 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
8837 "call inferior function with struct - returns float" and
8838 "call inferior function with struct - returns double".
d63a86f8 8839
c906108c
SS
8840Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
8841
8842 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
8843 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
8844 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
8845 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
8846
8847Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
8848
8849 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
8850 (or overriden) "CHILL" macro rather then bare "gcc".
8851 Also look for ../../gcc/xgcc since that is what we will
8852 actually need, not "Makefile". Remove following assignment
8853 of CHILL to CHILL_FOR_TARGET because that results in
8854 recursive definition.
8855
8856Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
8857
8858 * gdb.base/corefile.exp: Change xfail for backtrace in
8859 corefile.exp from linuxaout to all linux.
8860 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
8861 cases where we miss the breakpoint at the signal handler
8862 for some reason. Setup xfail for linuxoldld/linuxaout and
8863 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
8864 hitting SIGURG breakpoint.
8865 * gdb.base/signals.exp: Setup xfail for "next" acting like
8866 continue to add linuxoldld. Setup xfail for all linux for
8867 "next to handler in signals_tests_1", "backtrace in
8868 signals_tests_1", "continue to func1", "pass SIGUSR1",
8869 and continue to handler".
8870
8871Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
8872
8873 * Update all FSF addresses except those in COPYING* files.
8874
8875Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
8876
8877 * gdb.base/a2-run.exp: Change messages to be more explicit about
8878 the status of args, and quote binfile in results.
8879
8880Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
8881
8882 * gdb.base/callfuncs.exp: Add tests for passing structs to
8883 inferior functions and return various types.
8884 * gdb.base/callfuncs.c: Add functions to receive a struct
8885 and return a member of the struct, in various types.
8886
8887Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8888
8889 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
8890
8891Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
8892
8893 * config/vxworks29k.exp: New file, sources vxworks.exp.
8894
8895Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
8896
8897 * config/gdbremote.exp: New file. Testing framework using
8898 gdbserver.
8899
8900Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
8901
8902 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
8903 "call function when asleep" and "send end of file".
8904 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
8905 for "backtrace in corefile.exp".
8906 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
8907 for "backtrace through signal handler".
8908 * gdb.base/corefile.exp: Make sure we actually generate a core file
8909 before trying the core tests. Some systems allow the user to suppress
8910 generation of core files and default to that (linux for example).
8911 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
8912 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
8913
8914Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
8915
8916 * gdb.threads: New directory with some crude multi-threaded
8917 gdb tests (step.exp and step2.exp).
8918 * config/mt-lynx (STEP_EXECUTABLE): Define.
8919 (THREADFLAGS): Define.
8920
8921Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
8922
8923 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
8924
8925 * gdb.base/signals.exp: Disable whole file for lynx until
8926 further notice.
8927
8928 * gdb.base/signals.exp: xfail test where "next" acts like
8929 "continue" for lynx.
8930
8931 * gdb.base/interrupt.exp: xfail test for calling function while
8932 inferior is asleep for lynx.
8933
8934 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
8935 than one cr-lf after each command.
8936
8937Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8938
8939 * configure.in: Reinstate setting of stabsdirs variable, fix
8940 typo in setting up configdirs for native builds.
8941
8942 * gdb.base/return.exp: Fix typo in return double test.
8943 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
8944 compiler from optimizing them away.
8945
8946Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
8947
8948 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
8949 sequences to be echo'd by gdb when using gdb_test.
8950 * gdb.chill/chexp.exp: Likewise.
8951 * gdb.fortran/exprs.exp: Likewise
8952
8953Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
8954
8955 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
8956 after the inferior gdb has started.
8957
8958 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
8959 after each command.
8960 * gdb.base/funcargs.exp: Likewise.
8961 * gdb.base/gdbvars.exp: Likewise.
8962 * gdb.base/interrupt.exp: Likewise.
8963 * gdb.base/list.exp: Likewise.
8964 * gdb.base/watchpoint.exp: Likewise.
8965 * gdb.c++/demangle.exp: Likewise.
8966 * gdb.c++/inherit.exp: Likewise.
8967 * gdb.chill/chexp.exp: Likewise.
8968 * gdb.fortran/exprs.exp: Likewise.
8969
8970 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
8971 test if we can't handle IO to/from the inferior.
8972
8973 * gdb.c++/misc.exp: Always check for a program already being
8974 started after sending a "run" command to gdb.
8975
8976 * gdb.base/twice.exp: Start with a fresh gdb.
8977
8978 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
8979 only depend on gdb's expression code, not the chill runtime.
8980
8981 * gdb.base/return.c: Put return values into variables so we
8982 can have gdb print them rather than depending on the program
8983 to print them.
8984 * gdb.base/return.exp: Corresponding changes.
8985
8986 * lib/gdb.exp: Provide default value for noinferiorio.
8987 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
8988 the inferior.
8989
8990 * gdb.base/break.exp: Always check for a program already being
8991 started after sending a "run" command to gdb.
8992 (text_next_with_recursion): Don't check the output from the
8993 program's printf statement. Instead just make sure the program
8994 exited.
8995
8996 * gdb.base/commands.exp: Protect tests which need arguments with
8997 $noargs conditionals.
8998
8999Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9000
9001 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
9002 of structure member arrays to match gdb/valops.c:value_addr change.
9003
9004Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
9005
9006 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
9007 cases.
9008
9009Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
9010
9011 * configure.in (configdirs): Remove gdb.chill from default list
9012 of subdirs and then add it back in only if doing a native build.
9013 The current chill compiler does not yet work in any cross build.
9014 * Revert all signal changes from Jul 6.
9015 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
9016 for sh-hms targets, allowing these tests to link, with no other
9017 changes. Testing is suppressed by setting "nosignals" in site.exp.
9018
9019Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
9020
9021 * configure.in (signaldirs): Define and add to configdirs for all
9022 targets except some specific ones that are known to not support signals.
9023 Also clean up formatting.
9024 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
9025 (signals, sigall): Remove rules to build.
9026 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
9027 Moved to new gdb.signals directory.
9028 * gdb.signals: New test directory.
9029 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
9030 signals.c signals.exp}: New or moved files.
9031
9032Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
9033
9034 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
9035
9036Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
9037
9038 * gdb.base/return.exp: Xfail `return double' test failure
9039 on at least Solaris 2.3 and handle future/past versions on
9040 a case by case basis as appropriate. Also update message
9041 to include i*86 failures.
9042
9043Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9044
9045 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
9046
9047 * lib/gdb.exp: Fix comment which erroneously identified
9048 gdb_file_cmd as gdb_load (the 19 May change was in fact to
9049 gdb_file_cmd not gdb_load).
9050 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
9051
9052 * gdb.base/setvar.exp: Make test names consistent between pass and
9053 fail cases. Use gdb_test more.
9054
9055Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9056
9057 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
9058
9059Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9060
9061 * gdb.base/help.exp: Fix expected help string for `show commands'.
9062
9063Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
9064
9065 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
9066
9067 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
9068 of a text section.
9069
9070Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
9071
9072 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
9073 that loop eventually terminates. Fix Connection refused logic so
9074 that testsuite will expire nicely.
9075
9076Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
9077
9078 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
9079 config/rom68k.exp: New tcl glue for the appropriate monitors.
9080 These all just end up calling monitor.exp.
9081 * config/monitor.exp (gdb_target_monitor): Handle `Connection
9082 refused' by retrying. Cleanup some timeout issues.
9083 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
9084 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
9085 callers don't have to set/restore global timeout variable.
9086
9087 * The following set of changes centralizes management of the global
9088 timeout variable. This way, it can be set in one target dependent
9089 place instead of dozens of places scattered throughout the test suite.
9090 If you need to lengthen a timeout, then you should either set timeout
9091 in one of the config/{target}.exp files, or multiply it by a factor.
9092 Setting it to an absolute value is always going to lose for some
9093 targets.
9094 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
9095 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
9096 * gdb.base/funcargs.exp: Don't set timeout.
9097 * gdb.base/list.exp (test_forward_search): Only use local timeout.
9098 * gdb.base/printcmds.exp (test_print_string_constants
9099 test_print_array_constants): Don't set timeout.
9100 * gdb.base/ptype.exp: Don't set timeout.
9101 * gdb.base/recurse.exp: Don't set timeout.
9102 * gdb.base/return.exp: Don't set timeout.
9103 * gdb.base/watchpoint.exp: Don't set timeout.
9104 * gdb.c++/classes.exp (do_tests): Don't set timeout.
9105 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
9106
9107Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
9108
9109 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
9110
9111Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9112
9113 * lib/gdb.exp: Disable chill tests for irix5.
9114
9115Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9116
9117 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
9118 each test pass or fail.
9119
9120Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9121
9122 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
9123 xlc not gcc.
9124
9125Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
9126
9127 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
9128
9129Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
9130
9131 * config/est.exp: Fix copyright and comments. Remove dead code.
9132 Use targetname, serialport and baud variables instead of fixed
9133 constants.
9134 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
9135 * config/cpu32bug.exp: New file to support cpu32bug monitors.
9136
9137Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9138
9139 * gdb.base/watchpoint.exp: Don't run
9140 test_watchpoint_triggered_in_syscall for sunos.
9141
9142Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9143
9144 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
9145 they don't seem to exist. Do include stdio.h.
9146
9147Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9148
9149 * gdb.base/a1-selftest.exp: Add alpha xfail.
9150
9151Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9152
9153 * gdb.base/watchpoint.c (main): Prompt before calling read().
9154 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
9155 Revise accordingly. Remove cruft about sending "123" several
9156 times, until it gets noticed. Clean up the "print buf[0]" stuff
9157 so that it passes or fails, and waits for prompts in the usual way.
9158
9159Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9160
9161 * gdb.base/recurse.exp: Fix comment.
9162
9163 * TODO: Remove item about printing variables in nodebug.exp. Add
9164 item about enabling tests which are only run on some targets.
9165
9166 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
9167 fail, make test names unique, use new gdb_test convention
9168 regarding pattern, use gdb_test more, etc.).
9169
9170 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
9171 fail, make test names unique, etc.).
9172
9173Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9174
9175 * gdb.base/nodebug.c: Change return type of top and middle to
9176 short.
9177 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
9178 are fixed by the recent mdebugread.c changes. Allow `short ()'
9179 as type for top and middle.
9180
9181Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9182
9183 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
9184 nearly as I can tell, the whole thing was an accident in Stu's
9185 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
9186 to replace a send/expect pair with gdb_test, but ended up only
9187 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
9188 of 30 Mar 1995 took care of it, but left this vestigial comment
9189 which I am now nuking.
9190
9191Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9192
9193 * gdb.base/break.exp: Look for different line number for
9194 breakpoint at main depending on usestubs.
9195
9196Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9197
9198 * gdb.base/list.exp: Adjust some alternate expect patterns to
9199 match recent list0.c change. Add alternate expect pattern for
9200 output from `list default lines around main' for optimizing
9201 compilers.
9202
9203Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9204
9205 * lib/gdb.exp: If nosignals is not set, set it to 0.
9206
9207Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
9208
9209 * config/slite-gdb.exp: Responds to load symbol table prompt.
9210 * gdb.base/break.exp: Adjust line number, fix rerun.
9211 * gdb.base/langs0.c: Add #ifdef usestubs.
9212
9213Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
9214
9215 * gdb.base/list.exp: Adjust line contents after adding new lines in
9216 list0.c. Also fix a syntax error.
9217
9218 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
9219 * gdb.base/break.exp: ditto.
9220 * gdb.base/list.exp: ditto.
9221 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
9222 * gdb.base/run.c: ditto.
9223 * gdb.base/list0.c: ditto.
9224 * gdb.base/funcargs.c: ditto.
9225
9226Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
9227
9228 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
9229 $targetname, $serialport and $baud instead of hardwired variables.
9230 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
9231 target doesn't support signals.
9232
9233Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
9234
9235 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
9236
9237Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9238
9239 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
9240 Don't rely on the value of an auto variable before it has been
9241 initialized. Use gdb_test more.
9242
9243Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9244
9245 * lib/gdb.exp (default_gdb_version): A version number must start
9246 with a digit, but other than that contains all characters up to
9247 the first whitespace character.
9248
9249Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9250
9251 * gdb.base/commands.exp (breakpoint_command_test): New tests.
9252
9253Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9254
9255 * gdb.c++/*.exp: Warn if executable does not exist. The original
9256 reason for skipping the warning was that configure.in sometimes
9257 intentionally skipped building the executables but the tcl code
9258 had no way of knowing. That (a) was always bogus with respect to
9259 error handling, (b) is no longer true (right now there is no way
9260 to skip C++ tests).
9261
9262 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
9263
9264Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9265
9266 * gdb.base/list.exp: Add expect patterns for output from
9267 SunPRO compiled executables.
9268 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
9269 types.
9270
9271Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9272
9273 * gdb.base/break.exp (test_next_with_recursion): Accept any line
9274 number (we are already testing that the correct source line text
9275 gets printed).
9276
9277 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
9278 that is what is intended, but something needed to be done to get
9279 sunos4 native working again.
9280
9281 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
9282
9283 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
9284 apparently went with a (very) old xfail.
9285
9286Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
9287
9288 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
9289 runto_main is a proc in gdb.exp that will do 'step' for target use
9290 stubs.
9291 * gdb.base/exprs.exp: ditto.
9292 * gdb.base/interrupt.exp: ditto.
9293 * gdb.base/opaque.exp: ditto.
9294 * gdb.base/printcmds.exp: ditto.
9295 * gdb.base/ptype.exp: ditto.
9296 * gdb.base/scope.exp: ditto.
9297 * gdb.base/setvar.exp: ditto.
9298 * gdb.base/signals.exp: ditto.
9299 * gdb.base/twice.exp: ditto.
9300 * gdb.c++/classes.exp: ditto.
9301 * gdb.c++/inherit.exp: ditto.
9302 * gdb.c++/templates.exp: ditto.
9303 * gdb.base/break.exp: no run and hit main for stubs. Change line
9304 numbers for breakpoints and info breakpoint.
9305 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
9306 breakpoint().
9307 * gdb.base/callfuncs.c: ditto.
9308 * gdb.base/exprs: ditto.
9309 * gdb.base/interrupt.c: ditto.
9310 * gdb.base/opaque0.c: ditto.
9311 * gdb.base/printcmds.c: ditto.
9312 * gdb.base/ptype.c: ditto.
9313 * gdb.base/scope0.c: ditto.
9314 * gdb.base/setvar.c: ditto.
9315 * gdb.base/signals.c: ditto.
9316 * gdb.base/twice.c: ditto.
9317 * gdb.c++/misc.cc: ditto.
9318 * gdb.c++/templates.cc: ditto.
9319
9320Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9321
9322 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
9323
9324 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
9325 somewhere between `read' and `main.c'. I'm pretty sure the
9326 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
9327 and it isn't particularly useful.
9328
9329 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
9330
9331Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9332
9333 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
9334
9335Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
9336
9337 * config/mt-slite: add LIBS and -nostdlib.
9338 * config/slite-gdb.exp: add this new file to support sparclite target.
9339
9340Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
9341
9342 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
9343
9344 * gdb.base/a2-run.exp: Change argument to istarget from
9345 "*-*-vxworks" to "*-*-vxworks*".
9346 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
9347
9348Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
9349
9350 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
9351 will not runto main but do a 'step' to step out of breakpoint().
9352 * config/mt-slite: add -Dusestubs.
9353
9354Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9355
9356 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
9357 instead of just @.
9358
9359 * gdb.base/signals.exp: Add test for "handle all print".
9360 * TODO: Remove "handle all print". Also remove item about
9361 checking copyright date (I don't like the idea of a spurious FAIL
9362 based on when we run the tests).
9363
9364 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
9365 for SunOS4 (reason for failure not investigated). Remove
9366 redundant test for $binfile.
9367
9368 * gdb.base/nodebug.c (array_index): Call malloc.
9369
9370 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
9371
9372Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
9373
9374 * gdb.base/recurse.exp: Update gdb_test invocation to use new
9375 conventions and slightly simplify the matching regexp.
9376
9377Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9378
9379 * gdb.base/break.exp: Update gdb_test invocation to use new
9380 convention.
9381
9382 * lib/gdb.exp: If noargs is not set, set it to 0.
9383
9384 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
9385 tests unique.
9386
9387 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
9388
9389Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9390
9391 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
9392 one argument of type "<non-float parameter>".
9393
9394Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
9395
9396 * config/rom68k.exp: New file to support Motorola IDP board.
9397 * gdb.base/a2-run.exp: Skip this file if noargs is set.
9398 * gdb.base/break.c: Change things around so that this program
9399 doesn't depend upon args. This is necessary to make remote
9400 targets work (in general, they can't take args).
9401 * gdb.base/break.exp: Don't try to send args to program. Don't
9402 expect output. Also, replace lots of code with gdb_test.
9403
9404Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9405
9406 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
9407 printing of '\'' (which is what the comment says we are testing,
9408 even though we were not), not '''.
9409 (test_integer_literals_rejected): Test that printing ''' is an error.
9410
9411 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
9412 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
9413 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
9414 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
9415 Use gdb_test not test_print_accept.
9416 * lib/gdb.exp: Remove test_print_accept.
9417
9418 * gdb.base/signals.exp (signal_tests_1): Make pass message
9419 consistent with fail message.
9420
9421 * gdb.base/whatis.exp: Remove xfails for printing char vs.
9422 unsigned char; the bug (PR 1821) is fixed.
9423
9424 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
9425
9426 * gdb.base/scope.exp (test_at_localscopes): Call pass for
9427 successful tests--makes xfailing them work right.
9428
9429Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9430
9431 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
9432 only \r\n, not .*. The test can pass .* as the last thing in
9433 $pattern if that is what it wants. In addition to providing this
9434 flexibility, this change should speed up pattern matching in cases
9435 where the pattern already ended with .* (there were a number of
9436 them). This change also helps catch bad patterns--in the old
9437 scheme the typo "char \*" instead of "char \\*" would pass. Now
9438 it is caught.
9439 * Many .exp files: Update callers.
9440
9441 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
9442 clearer and does not spuriously match multiple ('s. Likewise for
9443 ) and *.
9444
9445 * gdb.base/nodebug.exp: Test ability to call a function and pass
9446 it a string (even with no debugging info).
9447
9448 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
9449 "p '\'", which is the same as "p ''" once tcl gets done with
9450 quoting, to "p '\\'", which I suspect is what is intended (one
9451 backslash gets sent to GDB).
9452
9453 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
9454
9455Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9456
9457 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
9458 1817) was fixed literally years ago.
9459
9460Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9461
9462 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
9463 test, it causes stepping out of call_after_alloca_subr with
9464 optimizing compilers.
9465 (localvars_in_indirect_call): Consume GDB prompt if `finish'
9466 fails.
9467
9468 * gdb.c++/templates.exp: Source templ-info.exp only if
9469 the templates executable exists.
9470
9471 * gdb.c++/misc.cc (class Contains_static_instance,
9472 class Contains_nested_static_instance),
9473 gdb.c++/classes.exp (test_static_members): Test printing of
9474 a class that contains a static instance of the class.
9475
9476Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9477
9478 * gdb.base/langs2.c (cppsub_): Don't prototype.
9479 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
9480 only, I believe).
9481
9482Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9483
9484 * lib/gdb.exp (skip_chill_tests): New procedure.
9485
9486 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
9487
9488Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
9489
9490 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
9491 each expect pattern. Cuts runtime from 12 to about 4 seconds.
9492
9493Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9494
9495 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
9496
9497 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
9498 disassemble 8, not 16, instructions for part 4.
9499
9500 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
9501 support the latter anymore.
9502
9503 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
9504 -DNO_PROTOTYPES.
9505 * gdb.base/callfuncs.c: Control use of prototypes based on
9506 NO_PROTOTYPES, not __STDC__.
9507 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
9508 t_float_values2 tests if prototypes in use.
9509
9510 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
9511 t_double_values): When checking differences against DELTA, check
9512 that difference is within the range (-DELTA,DELTA), not just
9513 (-infinity,DELTA).
9514
9515Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
9516
9517 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
9518 'file' command firts, then 'target', then 'load', this is due to gdb
9519 target set up.
9520 * config/mips-gdb.exp: Fix a couple regular exp bugs.
9521
9522Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
9523
9524 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
9525 FP load/store variants.
9526 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
9527
9528Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
9529
9530 * gdb.base/term.exp: Do not give a warning if not native, it is
9531 not an abnormal condition.
9532
9533Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
9534
9535 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
9536 t_char_array".
9537
9538Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
9539
9540 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
9541 are getting the version number.
9542
9543 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
9544 if not native, it is not an abnormal condition.
9545
9546Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9547
9548 * lib/gdb.exp: Just use "file exists", rather than undocumented
9549 dejagnu procedure "findfile".
9550
9551Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
9552
9553 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
9554 (LDFLAGS): Set to -Xlinker -Ur.
9555
9556 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
9557 Removed, these values are set by lib/gdb.exp.
9558
9559 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
9560
9561Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
9562
9563 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
9564 of replicating gdb startup code.
9565
9566 * config/mt-vxworks (LDFLAGS): Set to -r.
9567 (CFLAGS_FOR_TARGET): Removed.
9568
9569 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
9570 (gdb) and gdb for vxworks uses (vxgdb).
9571
9572 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
9573 executable is not in the tree and host != target, use sed and
9574 program_transform_name to determine the gdb name used by the
9575 target.
9576
9577 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
9578 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
9579
9580Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9581
9582 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
9583 floats, chars, and shorts where there are ANSI-style function
9584 definitions.
9585
9586 * gdb.base/langs.exp, gdb.base/langs*: New test.
9587 * gdb.base/Makefile.in: Build it.
9588 * TODO: Remove item about checking that C names don't get C++
9589 demangling applied; this test tests it.
9590
9591Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9592
9593 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
9594 went with the const70 xfail. The xfail went away a year ago.
9595
9596 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
9597
9598 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
9599 for hp300.
9600
9601 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
9602
9603 * gdb.base/a1-selftest.exp: Don't run on hp300.
9604
9605Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9606
9607 * Makefile.in (site.exp): Set host_alias and target_alias as well
9608 as host_triplet and target_triplet.
9609
9610Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9611
9612 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
9613
9614 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
9615 places as other ecoff systems).
9616
9617 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
9618 ultrix.
9619
9620Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9621
9622 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
9623 remove them.
9624 * gdb.base/nodebug.exp: Accept "function" in addition to "text
9625 variable and "variable" in addition to "data variable".
9626 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
9627
9628 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
9629 2.
9630 * gdb.base/list1.c (long_line): Add additional statement at start
9631 of function.
9632 * gdb.base/list.exp (test_forward_search): Update line number to
9633 reflect new statement.
9634
9635Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9636
9637 * gdb.base/signals.exp: Reinitialize searched source directories
9638 after gdb_start call.
9639
9640Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
9641
9642 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
9643 * gdb.stabs/Makefile.in: Likewise.
9644
9645 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
9646 change. Instead split the tests into smaller pieces.
9647 * gdb.disasm/hppa.s: Corresponding changes.
9648
9649Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9650
9651 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
9652 Quote ^C when passing it to stty. For some shells ^ is a pipe.
9653
9654 * gdb.base/funcargs.exp: Modify many tests so that every test
9655 either passes or fails. Make some test names unique.
9656
9657Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9658
9659 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
9660 Call stty to set interrupt character.
9661
9662 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
9663 for HP assembler versus GNU assembler based on actual behavior of
9664 $(CC), rather than assuming that $(AS) is always the GNU assembler.
9665
9666 * TODO: Suggest a few more stepping tests.
9667
9668Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
9669
9670 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
9671 restart GDB for h8300 after a continue.
9672 (return): Add pattern to match a29k-udi behavior.
9673 * gdb.base/nodebug.exp: Remove obsolete comment.
9674 * gdb.base/regs.exp: New file, testing of register displays.
9675 * gdb.base/return.exp: Fix typo in reference to $objdir.
9676 * gdb.base/whatis.exp: Always start with a fresh GDB.
9677
9678Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9679
9680 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
9681 higher, these tests generate a lot of output.
9682
9683Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9684
9685 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
9686 code following the catch silently ignored some errors; without the
9687 catch they should be thrown like any other tcl error. Also, the
9688 catch used "" instead of {} which meant all the callers who wanted
9689 to include one of the characters "[]$ had to quote it an extra time.
9690 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
9691 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
9692 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
9693 Remove extra quoting.
9694
9695Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
9696
9697 * gdb.base/commands.exp: Make test names unique; every test either
9698 passes or fails. Update some comments.
9699
9700 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
9701
9702Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9703
9704 The following fixes a FAIL caused by the fact that the alpha stabs
9705 configuration didn't use the ".if alpha" code in weird.def.
9706 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
9707 bit pointer, so the 32 bit version works even on the alpha.
9708 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
9709 Remove the stuff which allowed us to have separate versions for
9710 alpha and everything else.
9711
9712 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
9713 regexp which "info func operator\[\](" is supposed to match. Fix
9714 string to send to GDB. Note that GDB still doesn't work right. Add a
9715 new test for "info func .perator\[\](" which GDB does handle correctly.
9716
9717 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
9718
9719Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9720
9721 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
9722 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
9723 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
9724 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
9725 it makes the tests harder to understand and confuses test-o-matic.
9726 The preferred style is that each test provides a PASS or a FAIL,
9727 and has a unique message (e.g. "continue #54" not just "continue")
9728 which is the same for the pass and the fail.
9729 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
9730 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
9731 to lib/gdb.exp.
9732 * gdb.base/printcmds.exp: Use test_print_accept. Remove
9733 prt_accept which was basically the same thing. Likewise for
9734 test_print_reject and prt_reject.
9735 * lib/gdb.exp (test_print_reject): Add some more error message
9736 patterns to match from the former printcmds.exp (prt_reject).
9737 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
9738 One defect of the passcount stuff is that some of it failed to
9739 report XPASS where appropriate.
9740 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
9741 stuff before and after arg in expected pattern.
9742 (test_paddr_operator_functions): Re-do test without print_addr_of;
9743 this is the only test which seems to want extra stuff there.
9744
9745Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9746
9747 * gdb.base/nodebug.exp: Update new tests to reflect improved
9748 wording of gdb output.
9749
9750 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
9751 and "ptype" work on variables in files compiled without -g.
9752 Replaces commented out "maint print msymbol" tests.
9753
9754Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9755
9756 * gdb.base/setvar.c (dummy): Call malloc.
9757
9758 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
9759 losing with the irix4 sed.
9760
9761 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
9762 ALRM" on irix4.
9763
9764Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9765
9766 * TODO: Remove items about corefile.exp testing new exec-file and
9767 backtrace; both are now done. Add items about printing enums.
9768
9769Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9770
9771 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
9772 "get signal $thissig" test fails.
9773
9774 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
9775
9776Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9777
9778 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
9779 compiler warning with dec alpha compiler.
9780
9781 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
9782 extra \n from gdb_test call (this explains why the prompt test
9783 that I removed yesterday was there).
9784 (user_defined_command_test): Remove extra \n and prompt test.
9785
9786 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
9787 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
9788 doesn't exist.
9789 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
9790 Also remove alpha workaround, which turns out to be because
9791 SIGABRT == SIGLOST.
9792
9793 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
9794
9795 * gdb.base/help.exp: Don't test "help show".
9796
9797Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9798
9799 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
9800 "set print address" is on.
9801 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
9802 pass prompt to gdb_test; gdb_test already looks for the prompt.
9803
9804 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
9805
9806 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
9807 was a vestige of the manual TESTSTRATEGY, and the purpose of it
9808 was to make sure that gdb can read a core file. But (a) the "read
9809 the corefile" part didn't make it to a1-selftest.exp, we just
9810 delete the corefile after creating it, and (b) we test reading
9811 corefiles in corefile.exp anyway. Also, this test left around a
9812 xgdb process on Solaris.
9813
9814 * gdb.base/corefile.exp: Also test backtrace.
9815
9816Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
9817
9818 * gdb.base/commands.exp: Test a simple user defined command with
9819 arguments and if/while statements; verify the full user command is
9820 printed by "show user".
9821
9822 * gdb.base/commands.exp: Test if/while commands as part of a
9823 breakpoint command list; verify they appear in breakpoint
9824 information.
9825
9826Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9827
9828 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
9829 than by dividing by zero.
9830
9831Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
9832
9833 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
9834 performing an inferior call with watchpoints enabled.
9835 * gdb.base/watchpoint.c (main): Delete second unnecessary read
9836 call.
9837
9838Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9839
9840 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
9841 of "file" command.
9842
9843 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
9844 Add additional pattern for when "int operator int(void);" appears
9845 in a different order.
9846
9847Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9848
9849 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
9850
9851 * gdb.base/help.exp: Replace most of docstrings for "info signals"
9852 and "signal" with ".*".
9853
9854Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9855
9856 * TODO: Add note about "handle all nostop".
9857
9858 * gdb.base/{sigall.c, sigall.exp}: New test.
9859 * gdb.base/Makefile.in: Add it.
9860
9861Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
9862
9863 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
9864 when invoking GDB, suppresses any windowing interface.
9865
9866Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
9867
9868 * config/sim-gdb: New file, simulator testing support.
9869
9870Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
9871
9872 * gdb.base/interrupt.exp: Test calling func1 twice.
9873
9874Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
9875
9876 * gdb.base/list.exp (test_forward_search): Set timeout higher
9877 when we'll be getting lots of output from gdb.
9878
9879 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
9880 "init_malloc" to after the expect statement. Run it if that
9881 regexp is taken, but also for two others which happen if source
9882 cannot be found.
9883
9884Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9885
9886 * gdb.base/printcmds.exp: New test, for printing register before
9887 program is running.
9888
9889Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9890
9891 * gdb.base/list.exp: Correct some alternate expect patterns
9892 to reflect changes in list1.c.
9893
9894Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9895
9896 * TODO: Add item regarding large frames.
9897
9898 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
9899
9900 * TODO: Remove item about enabling return.exp; it
9901 is enabled. Suggest a few more "return" tests.
9902
9903Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9904
9905 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
9906 anonymous unions.
9907
9908Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9909
9910 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
9911 and pr-5646.o, so "make" is the same as "make all", not "make
9912 pr-4975.o".
9913
9914Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
9915
9916 * gdb.base/list.exp: Adjust expectations to reflect changes in
9917 list1.c.
9918 (test_forward_search): New test proc.
9919 * gdb.base/list1.c (long_line): New function, has long source line.
9920
9921Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
9922
9923 * gdb.base/a1-selftest.exp: Change initial stepping to know about
9924 additional line of code that was added.
9925
9926Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
9927
9928 * gdb.disasm/hppa.s: Break the large branching tests into smaller
9929 tests so as not to overflow expect's input buffers.
9930 * gdb.disasm/hppa.exp: Corresponding changes.
9931
9932Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9933
9934 Beginnings of template debugging tests.
9935 * gdb.c++/templ-info.cc: New file to test for template
9936 debugging capability of the compiler.
9937 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
9938 templ-info.cc.
9939 * gdb.c++/templates.cc: Add explicit template instantiations
9940 to enable compiling with -fno-implicit-templates. Add destructor
9941 and 'value' method to T5 class for template tests.
9942 * gdb.c++/templates.exp: Add testcases for printing of template
9943 types, setting breakpoints on template methods and calling a
d63a86f8 9944 template method.
c906108c
SS
9945
9946Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
9947
9948 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
9949 branch target since some assemblers (gas-2.5) may emit a
9950 relocation for the branch instead of resolving it in the
9951 assembler.
9952
9953Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9954
9955 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
9956 through signal handler.
9957
9958Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9959
9960 * configure.in (*-*-netware): Use config/mt-netware.
9961
9962 * config/mt-netware: New file.
9963 * config/mt-i386-netware: Removed, separate configs for different
9964 netware architectures are no longer needed now that we have
9965 --with-headers.
9966
9967Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9968
9969 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
9970 by the recent changes to use ANSI C arithmetic conversions.
9971
9972Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9973
9974 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
9975 bug involving using inferior_pid to figure out whether to select a
9976 frame.
9977
9978Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
9979
9980 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
9981 match the current disassembler output.
9982
9983Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
9984
9985 * gdb.fortran/exprs.exp: Expect VOID instead of void.
9986 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
9987 types, expect "int" as type of integer values (for now).
9988
9989Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
9990
9991 * gdb.base/commands.exp: New tests for if/while commands.
9992
9993Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
9994
9995 * lib/gdb.exp (runto): Replace sub-pattern for hex value
9996 by .*, since hex values have different syntax in Chill mode.
9997
9998Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9999
10000 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
10001 linefeed from expect pattern for repeated types with indices > 9.
10002
10003Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
10004
10005 First part of Fortran test suite.
10006 * gdb.fortran: New directory.
10007 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
10008
10009Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10010
10011 * gdb.base/default.exp: Update expect pattern for load command
10012 without arguments.
10013
10014Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
10015
10016 * configure.in: Change i386 to i[345]86.
10017 * gdb.base/configure.in: Likewise.
10018 * gdb.c++/configure.in: Likewise.
10019 * gdb.chill/configure.in: Likewise.
10020
10021Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
10022
10023 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
10024 patterns, since that is not a valid context for comments.
10025
10026Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
10027
10028 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
10029 repeated types and repeated types with indices > 9.
10030
10031Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
10032
10033 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
10034 2417; old bug has been fixed.
10035
10036Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
10037
10038 * gdb.base/interrupt.exp: When trying to wake up the inferior,
10039 send the newline ourselves instead of assuming gdb_test will do
10040 so when passed an empty input string.
10041
10042 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
10043 stabs testcode.
10044
10045Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
10046
10047 * lib/gdb.exp (gdb_test): Don't send anything if the first
10048 argument is an empty string. This makes cases where we want to
10049 match output that is already in expect's buffers (for example,
10050 matching a breakpoint after gdb_run_cmd has been called) work
10051 reliably.
10052
10053Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
10054
10055 * config/netware.exp: New file.
10056
10057Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
10058
10059 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
10060 the -B and -L prefixes so we can find the debugging stub.
10061
10062 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
10063 there and we are using the gcc from the tree.
10064
10065 * gdb.base/types.c: Removed.
10066
10067 * gdb.base/configure.in: Look for makefile fragments in ../config.
10068 Recognize i386-*-netware.
10069 * gdb.c++/configure.in: Likewise.
10070
10071Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10072
10073 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
10074 the correct TCL syntax.
10075
10076Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
10077
10078 * gdb.base/opaque.exp: use runto instead of messing around with
10079 breakpoints. Simplify by using gdb_test.
10080
10081 * gdb.base/bitfields.exp: restart between tests on netware targets
10082 because breakpoints aren't relocated after target death. Run
10083 processes to completion.
10084
10085 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
10086
10087Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
10088
10089 * Makefile.in: Remove extra tabs that confuse some versions
10090 of "make". Use the newly built gdb to test with by default,
10091 rather than the first one in the tester's search path.
10092
10093Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
10094
10095 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
10096
10097 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
10098 condition help.
10099
10100Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
10101
10102 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
10103
10104 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
10105 running.
10106 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
10107 * gdb.base/funcargs.exp: Likewise.
10108
10109 * gdb.base/bitfields.exp: Simplify by using gdb_test.
10110 * gdb.base/funcargs.exp: Likewise.
10111
10112 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
10113 message is "".
10114
10115Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
10116
10117 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
10118 return,signals,twice}.exp: Handle non-existant binaries
10119 consistantly.
10120
10121 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
10122 * gdb.base/Makefile.in: Don't try to generate a core dump, we
10123 might testing a cross development system.
10124
10125Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
10126
10127 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
10128 runtest script is relative to ${srcdir}, not ${rootdir}.
10129
10130Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
10131
10132 * gdb.base/signals.exp: Allow for optionality of breakpoint
10133 address.
10134
10135Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10136
10137 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
10138
10139Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
10140
10141 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
10142 for size_t definition.
10143 * gdb.c++/templates.cc: Likewise
10144
10145 * config/mt-i386-netware: New file.
10146
10147 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
10148 defined.
10149
10150 * gdb.base/Makefile.in: Added support for systems that name core
10151 files by appending "core" to the program name.
10152 * gdb.base/a1-selftest.exp: Likewise.
10153
10154Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10155
10156 * gdb.base/return.exp: Add comment and message for `return double'
10157 test failure on Sparc Solaris.
10158
10159Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
10160
10161 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
10162
10163Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10164
10165 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
10166 from optimizing them away.
10167 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
10168 patterns to include default constructors and assignment operators,
10169 to match gcc versions beyond 2.5.8. Accept any cplus demangling
10170 character in the output of the virtual base pointer.
10171
10172Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10173
10174 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
10175 expression match in print_addr_of to avoid unintented matches.
10176 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
10177 versions up to 2.5.8.
10178
10179Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10180
10181 * gdb.base/list.exp: Tweak alternate pattern for listing of an
10182 included file to run under newer versions of expect.
10183 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
10184 consecutive >'s in templates to accomodate recent cplus-dem.c change.
10185 Remove xfail for the virtual table of BDDHookV.
10186
10187Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
10188
10189 * lib/gdb.exp (string_to_regexp): Set a default result.
10190 (default_gdb_start): Fix misleading message.
10191
10192Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
10193
10194 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
10195 Remove all CC, etc definitions.
10196 * config/mt-hpux: New file.
10197 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
10198 (CFLAGS, LDFLAGS): Define.
10199 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
10200
10201 * Makefile.in (site.exp): Don't insert host_os, etc.
10202 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
10203 (distclean): Check existence of subdir.
10204 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
10205 * gdb.base/Makefile.in: General cleanup and simplification.
10206 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
10207 to build executables. Use default rule to build .o files.
10208 (EXPECT, RUNTEST, CC): Fix relative pathname.
10209 (site.exp): Don't insert host_os, etc.
10210 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
10211 and/or SIGUSR1 defined.
10212 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
10213 * gdb.c++/Makefile.in: General cleanup and simplification.
10214 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
10215 (CFLAGS): Remove.
10216 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
10217
10218Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
10219
10220 * gdb.base/recurse.exp: Misc changes to get tests running again
10221 after Kung's changes to the watchpoint code.
10222 * gdb.base/watchpoint.exp: Likewise.
10223
10224Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
10225
10226 * lib/gdb.exp (string_to_regexp): Convert {\} also.
10227
10228Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
10229
10230 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
10231 * lib/gdb.exp (default_gdb_start): Define.
10232 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
10233 gdb.base/funcargs.exp, gdb.base/opaque.exp,
10234 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
10235 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
10236 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
10237 Don't call gdb_target_udi in between tests.
10238
10239Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10240
10241 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
10242 (which was basically just a local version of the same thing). In
10243 addition to avoiding duplication, gdb_test_exact is faster.
10244 * lib/gdb.exp (gdb_test_exact): Fix typo.
10245
10246 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
10247 don't give an error.
10248
10249 * gdb.base/term.exp: Call delete_breakpoints before starting.
10250
10251 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
10252 (t10): Add comment.
10253
10254Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
10255
10256 Reorganization of the GDB Test Suite.
10257
10258 * gdb.base: New directory, contains all the basic tests.
10259 * gdb.c++: New directory, tests specific to C++.
10260 * gdb.chill: New directory, tests specific to Chill.
10261 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
10262 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
10263 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
10264 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
10265 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
10266 t30-31 to chill).
10267 * */gdbme.*: Rename to match appropriate expect scripts.
10268 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
10269 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
10270 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
10271 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
10272 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
10273 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
10274 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
10275 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
10276 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
10277 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
10278 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
10279 gdb.c++/virtfunc.cc: New names of C++ files.
10280 * gdb.chill/chillvars.ch: New name of Chill file.
10281 * gdb.base/configure.in, gdb.c++/configure.in,
10282 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
10283 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
10284 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
10285 * configure.in (configdirs): Update to reflect directory changes.
10286 (target_abbrev): No longer define for any configuration.
10287 * Makefile.in: Cosmetic improvements to header comments.
10288
10289Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
10290
10291 Various changes to gdb.t31:
10292
10293 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
10294 * gdbme.ch: Make all key-words and predefineds be upper-case.
10295 * chillvars.exp: Expect key-words and predefinds in upper-case.
10296
10297 * chillvars.exp: Use gdb_test_exact many places.
10298 Change expected output for arrays (which now includes index labels).
10299
10300 * pr-5020.exp, gdme.ch (module PR_5020):
10301 New test, for PR-5020.
10302
10303Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
10304
10305 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
10306 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
10307
10308Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
10309
10310 * Makefile.in: Fix bit-rot in definitions of CHILL,
10311 CHILL_FOR_TARGET and Chill_LIB.
10312 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
10313 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
10314 CHILL, and CHILL_LIB.
10315
10316Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
10317
10318 * Revert the previous changes. Please see Rob's directory
10319 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
10320
10321Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
10322
10323 * Makefile.in, configure.in, config/mips-gdb.exp,
10324 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
10325 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
10326 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
10327 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
10328 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
10329 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
10330 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
10331 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
10332 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
10333 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
10334 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
10335 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
10336 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
10337 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
10338 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
10339 changes from 94Q1.
10340
10341Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
10342
10343 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
10344 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
10345 Rob's new testing fragments.
10346
10347Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
10348
10349 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
10350 lib/gdb.exp: Replace error proc calls with perror.
10351
10352Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
10353
10354 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
10355 version also, match on casted version strings, and match on
10356 gdb startup case where the line numbers might be messed up.
10357
10358Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
10359
10360 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
10361 (CFLAGS): Delete it from here.
10362
10363Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
10364
10365 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
10366
10367Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
10368
10369 * Makefile.in (RUNTEST): Default to just "runtest".
10370
10371Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10372
10373 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
10374 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
10375 the code has been restructured.
10376
10377Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10378
10379 * gdb.t00/default.exp (set write): Allow any number of \r and/or
10380 \n, not just one of each.
10381
10382 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
10383 /bin/cc gives a warning if you do.
10384
10385Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
10386
d63a86f8 10387 * gdb.t24/demangle.exp: change expect pattern of
c906108c
SS
10388 __t10ListS_link1ZUiRCUiPT0
10389
10390Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10391
10392 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
10393 on local variables in recursive functions.
10394
10395 * gdb.t07/Makefile.in: Build the new test.
10396
10397Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10398
10399 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
10400 directly. Instead compare the return values from actual calls.
10401
10402Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
10403
10404 * Makefile.in (check): Set TCL_LIBRARY for runtest.
10405
10406Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10407
10408 * From Peter Schauer with minor modifications.
10409 * gdb.t15/return.exp (return_tests): Handle targets where "return"
10410 stops in mid-line in the caller. Add xfail for returning a float
10411 value on X86 targets.
10412
10413Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10414
10415 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
10416 to avoid expect lossage.
10417 (fmem_LRbug_tests): Likewise.
10418 * gdb.disasm/hppa.s: Corresponding changes.
10419
10420 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
10421 conditions to work with latest dejagnu/expect.
10422
10423 * gdb.t15/funcargs.exp (finish from indirect call): No longer
10424 expected to fail on the PA.
10425 (backtrace in call with trampolines): Explicitly require main
10426 to be frame #1 (no trampolines should show up in backtrace).
10427
10428 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
10429 "continue -expect".
10430 * gdb.t06/break.exp: Likewise.
10431 * gdb.t07/watchpoint.exp: Likewise.
10432 * gdb.t13/bitfields.exp: Likewise.
10433 * gdb.t15/{funcargs,return}.exp: Likewise.
10434 * gdb.stabs/weird.exp: Likewise.
10435 * config/{mips,udi}-gdb.exp: Likewise.
10436
10437 * hppa.sed: Enclose comments within a sed command to avoid
10438 losing with the old OSF1 sed.
10439
10440Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10441
10442 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
10443 sequent dynix.
10444 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
10445 * gdb.t15/funcargs.exp: Conditionally step again to really
10446 finish from marker_call_with_trampolines. Handle the case where
10447 the first step from within call_with_trampolines already steps
10448 us back to main.
10449 * gdb.t15/gdbme.c: Add comment to closing brace of
10450 call_with_trampolines for funcargs.exp.
10451
10452Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10453
d63a86f8 10454 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
c906108c
SS
10455 Fix typo(s).
10456
10457Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10458
10459 * gdb.t07/gdbme.c: More code for watchpoint testing.
10460
10461 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
10462 "Hardware watchpoint" throughout file.
10463 (test_watchpoint_triggered_in_syscall): New test.
10464 (test_complex_watchpoint): New test.
10465
10466Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10467
10468 * gdbme.c (call_with_trampolines): New function to try and step
10469 into. Tests trampoline problems on the PA.
10470
10471 * funcargs.exp (localvars_in_indirect_call): No longer expect
10472 stepping into indirect call to fail on PAs.
10473 (test_stepping_over_trampolines): New test.
10474
10475Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10476
10477 * TODO: Add suggestions for static member function tests, and
10478 completion tests.
10479
10480Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10481
10482 * TODO: Add suggestions for "p/a" tests.
10483
10484 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
10485 (default_gdb_exit): Replace all the hair with sending "quit" to
10486 the process with a simple close.
10487
10488Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10489
10490 * TODO: Add suggestions for shared library tests.
10491
10492Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10493
10494 * TODO: Add suggestions for x/s tests.
10495
10496Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10497
10498 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
10499 "enable once", and "enable breakpoints once" with ".*".
10500
10501Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10502
10503 * TODO: Add suggestions about structure passing tests.
10504
10505Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10506
10507 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
10508 the primary1 test, use work around if __GNUC__ < 2.
10509 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
10510 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
10511 Test for bad output rather than waiting for timeout. Issue
10512 second continue only if first continue failed.
10513
10514Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
10515
10516 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
10517 operator[] test with gdb_test because the old code didn't seem to
10518 be getting the quoting right with the new dejagnu.
10519
10520Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
10521
10522 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
10523 one from the path.
10524 * Makefile.in: Use a fresh expect if there is one, use runtest
10525 from the src tree if there is one.
d63a86f8 10526
c906108c
SS
10527Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
10528
10529 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
10530 next over recursive call. Revise the tests from that point on
10531 (which had been skipped) to match GDB's actual (correct) output.
10532
10533 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
10534 with next over a breakpoint whose condition is false.
10535
10536 * gdb.t00/help.exp: Comment out "help set print" tests just like
10537 (and for same reason as) "help set" test.
10538
10539Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10540
10541 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
10542 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
10543
10544Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10545
10546 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
10547 necessary gdb_target_udi.
10548
10549 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
10550
10551 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
10552 1838 and 2417; they are fixed.
10553
10554 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
10555 gdb.t03/ptype.exp (ptype structure, ptype union):
10556 Remove xfails; the test is looser than when the xfails were added.
10557
10558 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
10559 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
10560
10561 * gdb.t01/run.exp: Only run shell test if isnative.
10562
10563 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
10564 since "run" automatically loads if necessary. Call gdb_target_udi
10565 after the "file" since "file" kills any execution target.
10566
10567 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
10568 GDB. GDB doesn't work that way (not anymore at least) on UDI.
10569 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
10570 argument for UDI.
10571
10572Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
10573
10574 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
10575
10576 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
10577
10578Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10579
10580 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
10581 properly quoting regexps. This makes the second argument to
10582 demangle a fixed string, which matches the callers, instead of a
10583 shell-style pattern which is what the previous implementation
10584 used. Update some of the callers.
10585
10586Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10587
10588 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
10589 (comib_nullified_tests): Fix typo.
10590 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
10591 strings. No longer expected to fail.
10592
10593 * gdb.disasm/hppa.s (addib_tests): Fix typo.
10594 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
10595 strings. No longer expected to fail.
10596
10597 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
10598 string. No longer expected to fail.
10599
10600Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10601
10602 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
10603 No longer expected to fail.
10604
10605 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
10606 string. No longer expected to fail.
10607
10608Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10609
10610 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
10611 only in the names (I probably got most of them). I was even
10612 generous with some which differed in underscores in names, and
10613 probably missed a few, and I *still* was able to remove almost a
10614 third of the file with almost no impact on testsuite coverage.
10615
10616Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10617
10618 * gdb.t00/default.exp: Match udi_attach error message as well as
10619 the one from child_attach.
10620
10621 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
10622
10623 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
10624
10625 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
10626 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
10627
10628 * Move test with enums and partial symbols back to
10629 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
10630 Reverts the change of 26 May 93. Per today's change to
10631 stabs.texinfo, the behavior that weird.exp was expecting was
10632 unreasonable; what is important is that the compiler+gdb get
10633 things right, which happens with a recent gcc. Also fix the test
10634 to deal with native compilers which put out the stab gdb can't
10635 deal with.
10636
10637Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10638
10639 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
10640 in the names. The main thing these accomplish is to slow things down.
10641 Many more such duplicates surely remain.
10642
10643 * gdb.t00/help.exp: Comment out "help support" test just like
10644 (and for same reason as) "help set" test.
10645
10646Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
10647
10648 * gdb.t06/break.exp: Remove setup_xfails for
10649 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
10650 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
10651 about known bug in gcc to include up through 2.5.8.
10652 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
10653 well as "_vb$".
10654 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
10655 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
10656 with latest gcc and gdb.
10657 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
10658 well as "_vb$".
10659
10660Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10661
10662 * configure.in (hppa*-*-*): Also configure and build stabs-only
10663 tests.
10664
10665Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10666
10667 * gdb.t10/hppa.mt: A makefile fragment for the PA.
10668 * gdb.t10/configure.in (hppa*-*-*): Use it.
10669
10670Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10671
10672 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
10673
10674Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10675
10676 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
10677 versions prior to 1.13.5.
10678
10679Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10680
10681 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
10682 the prompt is at the start of a line.
10683
10684Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10685
10686 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
10687 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
10688 in the copr tests now.
10689 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
10690 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
10691 expected to fail.
10692
10693Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
10694
10695 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
10696 gdb.t31/chillvars.exp, lib/gdb.exp:
10697 Tweak to run under either version of expect.
10698 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
10699 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
10700 * gdb.t11/list.exp: Remove extraneous whitespace.
10701
10702Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10703
10704 * gdb.t16/printcmds.exp (test_print_strings): Accept
10705 "(unsigned char *) " before the string.
10706
10707 * TODO: Add notes about printing of fancy types and GDB expressions.
10708
10709Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
10710
10711 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
10712 * gdb.t06/configure.in: Don't try to compile signals test program
d63a86f8 10713 if doing mips-idt-ecoff.
c906108c
SS
10714
10715Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
10716
10717 * Most .exp files: Tweak to run under either version of expect.
10718
10719Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10720
10721 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
10722 xfails; I'm not sure why they are failing, but not because of PR 1806.
10723
10724Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
10725
10726 * config/unix-gdb.exp: Remove gdb_unload cause it's already
10727 defined in lib/gdb.exp.
10728
10729Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10730
10731 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
10732 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
10733 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
10734 have to be typeless.
10735
10736Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10737
10738 * TODO: Add suggestion for copyright year test.
10739
10740Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
10741
10742 * configure.in (*-*-lynxos*): Add stabs tests.
10743
10744Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
10745
10746 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
10747 so insert a tab before any assembler directive in column zero.
10748
10749 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
10750 stores.
10751 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
10752 stores.
10753 (fpu_short_memory_tests): Likewise.
10754
10755Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10756
10757 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
10758 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
10759 .stabs directives in comments.
10760
10761Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10762
10763 * TODO: New file, describing tests we could write.
10764 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
10765
10766Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10767
10768 * gdb.t06/signals.exp: Add kludge to force re-sync.
10769
10770 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
10771 to xgdb instead of gdb, get out of gdb.
10772
10773Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
10774
10775 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
10776 for info.
10777
10778Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
10779
10780 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
10781 * gdb.stabs/configure.in (hppa*-*-*): Use it.
10782 * gdb.stabs/hppa.sed: New sed script for the PA.
10783
10784Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10785
10786 * gdb.stabs: Re-write weird.def and configuration to use sed
10787 instead of cpp. sed is portable and POSIX; cpp is neither.
10788
10789Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10790
10791 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
10792
10793Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10794
10795 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
10796
10797Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10798
10799 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
10800 "_vb$".
10801 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
10802 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
10803
10804Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10805
10806 * lib/gdb.exp: Comment out code which depends on non-existent
10807 `transform' procedure.
10808
10809Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
10810
10811 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
10812 * lib/gdb.exp: Transform tool name.
10813 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
10814 1.1's new error handling system.
10815
10816Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10817
10818 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
10819
10820Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10821
10822 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
10823 They made pattern matching so slow that timeouts happened on
10824 heavily loaded systems. Now any output from "show print" which
10825 gets us back to the GDB prompt is a PASS.
10826
10827Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
10828
10829 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
10830
10831Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10832
10833 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
10834
10835 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
10836 It is not from PR 3220.
10837
10838Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10839
10840 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
10841 just started failing because they depended on the order the
10842 subcommands are presented, or exact docstring text. This kind of
10843 test is a pain and has minimal benefit.
10844
10845Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10846
10847 * gdb.t09/corefile.exp: At end of test, use "core" command with
10848 no arguments.
10849
10850Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
10851
10852 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
10853 17}/Makefile.in: Make it possible to run the testsuite with Sun
10854 make and CC = cross gcc by adding explicit build rules for .o
10855 files.
10856
10857Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10858
10859 * gdb.t15/funcargs.exp: Don't put comments on same line as
10860 setup_xfail (@#$*%& tcl braindamage!).
d63a86f8 10861
c906108c
SS
10862Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10863
10864 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
10865
10866Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
10867
10868 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
10869 * gdb.t20/inherit.exp: remove three dumplicate entries.
10870
10871Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10872
10873 * gdb.t06/break.exp: For "next over recursive call", fail on any
10874 incorrect output, not just on "factorial (value=2)".
10875
10876Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10877
10878 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
10879 working now. Add an xfail if accesing a bss variable causes
10880 a memory error if the target is not yet run.
10881
10882Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10883
10884 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
10885 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
10886 name of __st* demangling (2 strings). Did Kung really get the
10887 more than 95 others right without testing them?
10888
10889Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
10890
10891 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
10892
10893Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
10894
10895 * configure.in (configdirs): Add gdb.disasm
10896 * gdb.disasm: New directory for GDB disassembler tests.
10897 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
10898
10899Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10900
10901 * gdb.t00/help.exp: Don't test "help set".
10902
10903 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
10904 from within expect statements. None of these happen anymore and
10905 they cause regressions to be silently unnoticed.
10906
10907 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
10908 messages) about known failures with gcc cygnus-2.4.5-930417.
10909
10910 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
10911 comp-info.exp so it gets built if it doesn't exist.
10912
10913 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
10914 it is no longer used.
10915 * gdb.t13/comp-info.c: Removed.
10916
10917Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
10918
10919 * gdb.t06/signals.exp: Add xfail for sun3.
10920
10921Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10922
10923 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
10924 relevant because ^C doesn't get sent but failure can be reproduced
10925 interactively).
10926
10927Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10928
10929 * gdb.stabs/alpha.mt: New configuration file for alpha.
10930 * gdb.stabs/configure.in: Use it.
10931 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
10932 sharing with alpha.mt, redefine long to word via preprocessor.
10933 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
10934 for alpha.
10935 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
10936 native cc.
10937 * gdb.t00/teststrategy.exp: Change expect string so that we
10938 consume the `(xgdb)' from the command echo and from the gdb prompt.
10939 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
10940 gdb currently compares all values as long, so this failure probably
10941 applies to any configuration where LONGEST is bigger than a target int.
10942 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
10943 with gcc.
10944 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
10945 to handle opaque pointers, gcc is.
10946 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
10947 as first argument. Include <sys/types.h> and change all operator
10948 new definitions to use size_t.
10949 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
10950 now that we use size_t.
10951
10952Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10953
10954 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
10955 a long or float array cast all array members to the same type.
10956 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
10957 with 64 bit longs.
10958 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
10959 on alpha.
10960 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
10961
10962Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10963
10964 * gdb.t24 (demangle.exp): Constructors of templates have names like
10965 vector<int>::vector(int) not vector<int>::vector<int>(int). See
10966 section 14.6 of the ARM.
10967
10968 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
10969 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
10970 accomplish little and slow down the testsuite.
10971
10972 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
10973 Accept spaces various places.
10974
10975Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10976
10977 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
10978 with watchpoint enabled.
10979
10980 * Makefile.in: Remove definition of CC and remove the second
10981 definition of CXX (the "CXX = gcc" one remains). These definitions
10982 were causing backquotes to be expanded within backquotes, which
10983 doesn't work.
10984
10985Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
10986
10987 * gdb.t17/callfuncs.exp: Add "return 0" to end.
10988
10989Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10990
10991 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
10992 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
10993 by mips cc and contains no stabs entries.
10994
10995Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
10996
10997 * config/vx-gdb.exp: Use fake device to load files rather than
10998 NFS.
10999 * lib/gdb.exp: New proc to do "file" command.
11000 * config/unix-gdb.exp: Use new "file" proc.
11001
11002Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
11003
11004 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
11005 Rework board rebooting slightly.
11006 (gdb_exit): Don't exit from the remote shell; there isn't one.
11007 * gdb.stabs/weird.exp: If a program is being debugged already,
11008 kill it.
11009 * gdb.t04/setvar.exp: Stop and restart gdb.
11010 * gdb.t05/expr.exp: Likewise.
11011 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
11012 restart gdb and reload the program.
11013 * gdb.t08/opaque.exp: Likewise.
11014 * gdb.t12/scope.exp: Likewise.
11015 * gdb.t13/bitfields.exp: Likewise.
11016 * gdb.t15/funcargs.exp: Likewise.
11017 * gdb.t20/classes.exp: Likewise.
11018 * gdb.t03/ptype.exp: Increase timeout.
11019 * gdb.t16/printcmds.exp (test_print_string_constants,
11020 test_print_array_constants): Likewise.
11021 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
11022 * gdb.t20/classes.exp (do_tests): Likewise.
11023 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
11024
11025Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
11026
11027 * gdb.stabs: Renamed *wierd* to *weird*.
11028
11029Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
11030
11031 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
11032 for timeout. Add "known gcc 2.4.5 bug" to failure message.
11033
11034Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
11035
11036 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
11037 (do_tests): Remove xfail for whatis on one_var and two_var.
11038
11039Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
11040
11041 * Makefile.in: Made cross building work better by adding
11042 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
11043
11044Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11045
11046 * gdb.t15/{return.c,return.exp,Makefile.in}:
11047 New test, currently commented out.
11048
11049Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
11050
11051 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
11052 still running and removes the leftover named socket so GDb can do
11053 clean restarts.
11054
11055Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
11056
11057 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
11058 console, not GDB.
11059 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
11060 cross testing works better with "make check"
11061 * config/unix-gdb: Use default procedures for exit and version.
11062 * config/vx-gdb.exp: Cleaned up and massaged back to working order
11063 with the newest VxWorks.
11064
11065Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11066
11067 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
11068 old form.
11069
11070 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
11071 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
11072
11073 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
11074
11075 * config/unix-gdb.exp: Remove this version of gdb_exit
11076 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
11077 Rob says he'll look at it when he gets back to testing boards.
11078
11079Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
11080
11081 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
11082 an expected fail for certain ptype commands.
11083
11084 * gdb.t20/classes.exp: Update expected results of "ptype class
11085 Base1" to account for the constructor that now appears in the type.
11086
11087Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
11088
11089 * configure.in (configdirs): Restore gdb.t04, which mysteriously
11090 disappeared from list.
11091 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
11092 "alldone" proc with call to cleanup and exit.
11093 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
11094 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
11095 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
11096 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
11097 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
11098 "alldone" proc with simple returns that suppress remaining
11099 tests. The alldone proc went away many months ago.
11100
11101Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11102
11103 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
11104
11105 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
11106
11107Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11108
11109 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
11110 as vax gdb will display them.
11111
11112Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11113
11114 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
11115 optimizers.
11116
11117 * scope.exp: Change "bad value for localval" messages so each one
11118 is unique.
11119
11120 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
11121 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
11122
11123 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
11124
11125Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11126
11127 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
11128 doesn't exist (due to optimization).
11129
11130Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11131
11132 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
11133 contains \r because the filename is long.
11134
11135 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
11136 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
11137
11138Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11139
11140 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
11141 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
11142 Ultrix.
11143 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
11144 int tests.
11145 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
11146
11147Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
11148
11149 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
11150
11151 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
d63a86f8 11152 to match does not match the passing case but still matches the
c906108c
SS
11153 failing case.
11154
11155Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11156
11157 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
11158
11159Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
11160
11161 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
11162 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
11163 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
11164 Remove various versions of gdb_exit.
11165 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
11166 gdb_exit.
11167 * config/unix-gdb.exp: gdb_exit remains here, and should override
11168 the generic version, since it's doing a lot of wierd stuff that
11169 the other versions aren't. FIXME, fold it in, or abandon this
11170 version.
11171
11172Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11173
11174 * gdb.t24/demangle.exp: Add tests for PR 3220.
11175
11176Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11177
11178 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
11179
11180Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
11181
11182 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
11183 "i386-*-*". Works for i486 as well.
11184
11185 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
11186 bug, and expand domain of xfail to all SVR4 systems, since the
11187 actual problem is likely to be in generic SVR4 /proc support.
11188
11189Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11190
11191 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
11192
11193Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
11194
11195 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
11196 xfails for other systems. Match a missing 'Continuing.' as an
11197 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
11198
11199 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
11200 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
11201 Only issue warning for missing executables if -all option is used.
11202
11203 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
11204 file if -all option is used. It's like an unpredictable XFAIL.
11205
11206Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11207
11208 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
11209 for dynamically linked binaries.
11210
11211 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
11212
11213Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11214
11215 * gdb.t20/inherit.exp: Change message for "print tagless struct"
11216 to state that this is a known bug in old versions of g++.
11217
11218Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11219
11220 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
11221 while waiting for `Continuing'.
11222
11223Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
11224
11225 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
11226 in text, data, and bss.
11227 * gdb.t10/nodebug.c: Add local and global test variables for
11228 initialized and uninitialized data.
11229
11230Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11231
11232 * config/unix-gdb.exp (gdb_exit): Add "wait".
11233
11234Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11235
11236 * gdb.t06/signals.exp: xfail the continue from the handler for all
11237 targets.
11238
11239 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
11240 function with watchpoints enabled, the i386 call dummy starts with
11241 a call.
11242
11243 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
11244 386 bsd names its corefiles.
11245
11246Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
11247
11248 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
11249 compilers don't grok it.
11250 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
11251 with small octal ints rather than character constants, which
11252 are signed and might not fit if first promoted to int.
11253
11254Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
11255
11256 * gdb.t09/Makefile.in (clean): Remove corefile.
11257
11258Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11259
11260 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
11261
11262Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11263 and Jim Kingdon (kingdon@cygnus.com)
11264
11265 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
11266 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
11267 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
11268
11269Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11270
11271 * gdb.t17/interrupt.exp: Add xfail for hppa.
11272
11273Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11274
11275 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
11276 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
11277 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
11278 to determine signed-ness of bitfields and use the result to setup
11279 the xfail.
11280 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
11281 * gdb.t15/funcargs.exp: Use them to step until the second indirect
11282 call line is reached if necessary.
11283
11284Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11285
11286 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
11287
11288Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11289
11290 * gdb.t06/break.exp: Also test `clear' command.
11291
11292Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
11293
11294 * gdb.t00/teststrategy.exp: Remove extra quote.
11295
11296 * gdb.t07/watchpoint.exp: Change xfail for calling function with
11297 watchpoint enabled to be for all non-68k machines.
11298
11299 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
11300
11301Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11302
11303 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
11304 targets use aout.mt instead of ecoff.mt as gas understands
11305 standard aout format.
11306
11307Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
11308
11309 * lib/gdb.exp (runto): Don't insist that function we are running to
11310 was compiled with -g.
11311
11312 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
11313
11314 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
11315 to get back into the read system call.
11316 Accept leading newline in case where we woke it up.
11317
11318Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11319
11320 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
11321 to make the stabs test work on ecoff systems using gcc and -with-stabs.
11322 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
11323 enable ecoff configuration.
11324
11325Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11326
11327 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
11328
11329Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11330
11331 * gdb.t16/printcmds.exp: Add another printf test.
11332
11333Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
11334
11335 * configure.in: If configured -with-stabs on any target, add
11336 stabsdirs to configdirs.
11337
11338Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11339
11340 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
11341 fun" so pattern does not match the command itself.
11342
11343Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11344
11345 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
11346
11347Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11348
11349 * gdb.t17/interrupt.exp: Test for more things.
11350
11351Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11352
11353 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
11354 compiler arranges the code and line numbers.
11355
11356 * gdb.t17/interrupt.exp: Don't send \n after ^C.
11357
11358Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11359
11360 * gdb.t00/help.exp: Increase expect input buffer size.
11361
11362Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11363
11364 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
11365
11366 * gdb.t07/watchpoint.exp: Add xfail for hppa.
11367
11368 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
11369
11370 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
11371 [0-9]*, not just [0-9].
11372
11373Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11374
11375 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
11376
11377 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
11378
11379Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11380
11381 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
11382
11383Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11384
11385 * gdb.t06/signals.c: Add xfails for sun3.
11386
11387 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
11388
11389 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
11390 test_stepping tests.
11391
11392Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11393
11394 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
11395
11396 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
11397
11398 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
11399 rather than actually putting it through cpp twice.
11400
11401 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
11402
11403Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
11404
11405 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
11406 no longer needed.
11407
11408Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11409
11410 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
11411
11412 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
11413 C++ features prints as "struct", make it a pass, not an xfail.
11414
11415Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11416
11417 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
11418 Don't require VA to print as "class" rather than "struct".
11419
11420Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
11421
11422 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
11423
11424Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11425
11426 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
11427
11428Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11429
11430 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
11431 order.
11432
11433Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11434
11435 * gdb.t16/printcmds.exp: Add printf tests.
11436
11437 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
11438
11439 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
11440
11441Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
11442
11443 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
11444 pass counts, to counteract any existing or future setup_xfails.
11445
11446Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11447
11448 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
11449 {BEGIN,END}_COMMON for common block instead of STAB.
11450 * gdb.stabs/wierd.exp: Add xfail for rs6000.
11451
11452 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
11453 intp_var should be N_GSYM not N_LSYM.
11454 wierd-aout.S: Use a label for the value of the N_SO.
11455 wierd.def: Remove all backslashes.
11456 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
11457
11458Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11459
11460 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
11461 get the expected next to inheritance3.
11462
11463Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11464
11465 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
11466 now that gcc-2.4 gets it right.
11467
11468Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11469
11470 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
11471
11472 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
11473 generating comp-info.exp which works for cross-compilation.
11474
11475Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
11476
11477 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
11478 "*-*-sysv4.*".
11479
11480Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
11481
11482 * gdb.t01/run.exp: Start with a fresh gdb.
11483 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
11484 SVR4.x.
11485
11486Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
11487
11488 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
11489 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
11490 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
11491 Makefile.in (distclean, realclean): Remove gdbme.c from list of
11492 things to remove.
11493
11494Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
11495
11496 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
11497 test cases from bug reports.
11498
11499Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
11500
11501 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
11502 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
11503 avoid spurious xfails.
11504 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
11505 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
11506 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
11507
11508Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
11509
11510 * gdb.t00/teststrategy.exp: Rework to provide more useful
11511 description of each test, fix problem with systems that define
11512 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
11513 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
11514 results for "next over recursive call" so timeouts aren't taken
11515 by error.
11516
11517Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
11518
11519 * gdb.t12/scope.exp: Test printing of variables before run.
11520
11521 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
11522 printed in wrong order due to sorting.
11523
11524Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
11525
11526 * gdb.t00/teststrategy.exp: Fix expected results for printing
11527 user entered string constant. Is array of char, prints with no
11528 address.
11529
11530 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
11531 commands.
11532 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
11533 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
11534 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
11535 of struct of char arrays.
11536 * gdb.t00/radix.exp: New tests for radix commands.
11537
11538Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
11539
11540 * gdb.t16/printcmd.exp: Print a variable before running program
11541 (with xfail for AIX).
11542
11543Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
11544
11545 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
11546
11547 * gdb.t16/printcmd.exp: Don't print variables before running program.
11548
11549 * gdb.t06/break.exp: Don't require envp argument to main.
11550
11551 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
11552
11553 * gdb.t02/whatis.exp, gdb.t11/list.exp:
11554 Add xfails for rs6000.
11555
11556 * gdb.t02/whatis.exp: Change other tests not to re-test something
11557 we already tested.
11558
11559 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
11560 each type used has a variable of that type.
11561
11562Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
11563
11564 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
11565
11566Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
11567
11568 * configure.in: change srctrigger to be a file, not a directory
11569
11570Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
11571
11572 * configure.in (mips-idt-ecoff*): Added trailing '*'.
11573
11574 * gdb.t11/list.exp: Fixed a couple of typos.
11575
11576Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
11577
11578 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
11579 is fixed and PR is closed.
11580 * gdb.t16 (gdbme.c): Add simple test string variable.
11581 * gdb.t16 (printcmds.exp): Add tests with simple test string
11582 variable, primarily for boundaries on "set print elements".
11583
11584Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
11585
11586 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
11587 Make leading 0's optional and don't expect a tab in the middle
11588 of the number.
11589
11590 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
11591
11592 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
11593 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
11594 don't end command passed to gdb_test with newline.
11595
11596 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
11597 signed keyword away, don't expect signed bitfields to be signed.
11598
11599 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
11600 printing with only as many 1's as are in the field as well as printing
11601 with 32 1's (see comment).
11602
11603Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
11604
11605 * gdb.t00/default.exp: Start with a fresh gdb.
11606 * configure.in (configdirs): Remove gdb.t31 until the chill
11607 compiler works again. It no longer is able to find chillrt0
11608 since it isn't in libchill.a anymore.
11609 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
11610 wierd.o, make more modular.
11611 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
11612 spurious newlines that caused problems.
11613
11614Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11615
11616 * Move test with enums and partial symbols from gdb.t03/ptype.exp
11617 to gdb.stabs/wierd.exp since GCC has worked around the bug.
11618 gdb.stabs/wierd.{exp,def}: Many new tests.
11619
11620 * gdb.t00/default.exp: update info line for new message.
11621
11622 * gdb.t02/{whatis.exp,gdbme.c}:
11623 Test that "char *" doesn't print as "caddr_t".
11624
11625Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11626
11627 * gdb.t00/help.exp: Use .* in place of some help messages which
11628 just changed.
11629 gdb.t00/default.exp: Update "info frame" test for new message.
11630 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
11631 Remove some xfails
11632
11633Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11634
11635 * gdb.t03/{gdbme.c,ptype.exp}:
11636 Add tests for typedef'd struct and union without tags.
11637 Also check "whatis" on a variable of a typedef'd enum without a tag.
11638
11639 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
11640 PRMS 1823; the bug still exists but isn't reproduced by this test
11641 anymore), and remove rs6000 XFAIL (the bug is fixed).
11642
11643 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
11644 duplicated from whatis.exp. For those that are left, accept
11645 "long", "long int", or "int" for long variables (whatis.exp already
11646 has an XFAIL for "int", so no need to fail it here).
11647
11648 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
11649 Deal with GCC's names for types now that GDB uses the compiler's names.
11650
11651 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
11652 setup_xfail's for sunos4. If we #defined the signed keyword away,
11653 don't expect GDB to know that char it is signed.
11654
11655 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
11656
11657Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
11658
11659 * configure.in (configdirs): Add gdb.t24 for C++ tests that
11660 should work on any system, regardless of debugging format.
11661 * gdb.t21/demangle.exp: Move to gdb.t24.
11662 * gdb.t24/demangle.exp: Move from gdb.t21.
11663 * gdb.t24/{Makefile.in, configure.in}: New files.
11664
11665Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11666
11667 * configure.in: Do gdb.stabs and C++ tests only for stabs.
11668 * gdb.stabs: New directory.
11669
11670Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11671
11672 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
11673 not just "Quit anyway?".
11674
11675Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
11676
11677 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
11678 that all setup_xfails are immediately followed by clear_xfails.
11679
11680Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
11681
11682 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
11683 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
11684 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
11685 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
11686 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
11687 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
11688 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
11689 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
11690 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
11691 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
11692 gdb.t31/chillvars.exp, lib/gdb.exp:
11693 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
11694 bug-gdb@prep.ai.mit.edu.
11695
11696Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
11697
11698 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
11699 with 0.0, not integer 0.
11700
11701Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
11702
11703 * gdb.t06/break.exp: Update for "Kill the program" message change.
11704
11705Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
11706
11707 * Makefile.in (GDBFLAGS): Set to -nx.
11708 * Makefile.in (site.exp): Use GDBFLAGS.
11709
11710Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
11711
11712 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
11713 Makefiles.
11714 (check): depend on just-check.
11715 (just-check): added so that tests can be run without a noop
11716 build pass.
11717
11718Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
11719
11720 Switch to using configure's configdirs.
11721 * Makefile.in (Makefile): add configure.in dependency.
11722 (SUBDIRS): removed redundant assignment.
11723 * configure.in: switch subdirs assignment to configdirs.
11724 * gdb.t*/configure.in: new files.
11725
11726Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
11727
11728 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
11729 works.
11730
11731Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
11732
11733 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
11734 in explicit rules. Apparently this is not supported by some makes.
11735
11736Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
11737
11738 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
11739
11740Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11741
11742 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
11743 disappeared.
11744
11745Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
11746
11747 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
11748
11749Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
11750
11751 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
11752 watchpoint problem that is now fixed.
11753 * gdb.t30/chexp.exp: Remove setup_xfail for printing
11754 uninitialized convenience variables.
11755 * gdb.t31/chillvars.exp: Fix expected patterns for printing
11756 structures.
11757
11758Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11759
11760 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
11761 which causes expect to get out of sync with gdb on long output
11762 from help set.
11763 * gdb.t09/corefile.exp: Make expected pattern for core file
11764 failing signal and frame output format less sun specific.
11765
11766Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
11767
11768 * gdb.t31/chillvars.exp: Add and remove initial dummy
11769 breakpoint, so that symbol table is forced in.
11770 (Needed at least on Sunos4, though it seems not SVR4.)
11771 * gdb.t31/chillvars.exp: Update for changed output format.
11772
11773Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
11774
11775 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
11776
11777Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
11778
11779 * Makefile.in: Added --srcdir when invoking runtest, removed the
11780 need for a local config file. (optional now)
11781
11782Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
11783
11784 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
11785 failure count used to force early termination. Add some more
11786 expected failures for gnu style demangling.
11787
11788Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11789
11790 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
11791 pmi variable from gdb.t20/gdbme to get optimized away.
11792 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
11793 Check for written corefile upon timeout _and_ eof.
11794
11795Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11796
11797 * config/unix-gdb.exp: Add missing return 0.
11798
11799Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11800
11801 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
11802 test termination.
11803
11804Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
11805
11806 * configure.in (subdirs): Put back gdb.t17 which mysteriously
11807 disappeared.
11808
11809Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
11810
11811 * gdb.t10/crossload.exp: Disable the i860-elf test until such
11812 time as i860 support works.
11813
d63a86f8 11814 * gdb.t15/funcargs.exp: Fix expected outputs to include
c906108c
SS
11815 "backtrace 100\r" rather than just "backtrace\r", to match last
11816 change.
11817
11818Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
11819
11820 * config/udi-gdb.exp (gdb_exit): Remove close command.
11821 (gdb_target_udi): New procedure to set the UDI target.
11822 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
11823 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
11824 Added waits for prompts after several question responses. Added
11825 some more responses used by a29k-amd-udi-gdb.
11826 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
11827 pass different arguments, restart UDI connection after program
11828 completion.
11829 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
11830 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
11831 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
11832 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
11833 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
11834 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
11835 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
11836 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
11837 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
11838 after program completion.
11839 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
11840 compiled with a SELECT_VECS setting.
11841 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
11842 infinite recursion.
11843
11844 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
11845 Added checks for COFF results, and made them expected failures for
11846 all targets. It would be better to make them expected failures
11847 for COFF targets only.
11848
11849Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
11850
11851 * Makefile.in: add null dvi target, don't bother to recurse
11852 through test directories for info and install-info; rename
11853 $(datadir) to be dejagnu instead of deja-gnu
11854
11855Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
11856
11857 * gdb.t31/gdbme.ch: Re-enable code that previously caused
11858 compiler to coredump.
11859 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
11860 code.
11861
11862Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
11863
11864 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
11865 coredump.
11866 * gdb.t31/chillvars.exp: Comment out tests that depend on that
11867 code.
11868
11869Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
11870
11871 * gdb.t03/ptype.exp: tests for return code from gdb_test.
11872 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
11873 which in a shell. Deletes xgdb when done.
11874 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
11875 Tests the return from the "set height" or "set width" commands.
11876 Added a few return codes where needed.
11877
11878Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
11879
11880 * Makefile.in (SUBDIRS): Add gdb.t17.
11881 * configure.in (subdirs): Add gdb.t17.
11882 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
11883 files to test gdb's calling of functions in the inferior with
11884 the correct arguments and gdb's ability to retrieve any
11885 result returned.
11886
11887Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
11888
11889 * config/unix-gdb.exp (gdb_exit): Remove close commands that
11890 may be called after gdb goes away. Previous versions of expect
11891 needed these to avoid file descriptor leaks, but they cause
11892 errors with the current revision of expect.
11893 * gdb.t00/gdbvars.exp: Use -re on expected output after
11894 setting sevenbit-strings.
11895 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
11896 to set sevenbit-strings consistent across tests.
11897 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
11898 set sevenbit-strings consistent across tests.
11899
11900Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
11901
11902 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
11903 expected output to match current "expect" expectations.
11904
11905Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
11906
11907 * gdb.t00/default.exp: Change expected output for default "source"
11908 command, to match new gdb behavior which requires a filename to
11909 source.
11910
11911Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
11912
11913 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
11914 expected fail for i486-*-* that misses the marker2 function.
11915 * gdb.t10/crossload.exp (bfddefault): Allow successful
11916 recognition of a format to pass even if no symbols are found.
11917 Explicitly catch failures where the format is not recognized
11918 or is ambiguous, and add the reason to the fail message.
11919 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
11920 the cause is and invalid target and add reason to failure message.
11921 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
11922 elf32-i386, elf32-sparc, and elf32-i860.
11923 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
11924 Set up expected failure for 'filename'::variable scope resolution,
11925 which is now apparently broken on all targets.
11926 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
11927 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
11928 gdb.t23/templates.exp: Change failure for missing binfile into
11929 just a warning.
11930 gdb.t21/demangle.exp: Change all cfront references to 'arm'
11931 references.
11932
11933Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
11934
11935 * gdb.t00/default.exp: Add expected output for default "source"
11936 command, to match new gdb behavior.
11937 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
11938
11939Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
11940
11941 * config/*-gdb.exp: returns an error, rather than exiting on
11942 internal errors.
11943
11944Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
11945
11946 * gdb.t03/gdbme.c: Add pointer to struct variable.
11947 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
11948 referencing struct members.
11949
11950Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
11951
11952 * configure.in (mips-idt-ecoff): New target.
11953 * config/mips-gdb.exp: New file for remote board using MIPS remote
11954 debugging protocol.
11955
11956 * Redid configuration scheme. Removed gdb.t*/configure.in.
11957 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
11958 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
11959 distclean targets. Built executables via .o files. Adjusted
11960 tests to account for source files in $(srcdir) rather than
11961 $(objdir).
11962 * lib/gdb.exp (runto): Don't expect () after the function name,
11963 because it may have arguments.
11964
11965Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
11966
11967 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
11968 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
11969 expected failures for mips-idt-* and mips-sgi-*.
11970 * gdb.t00/default.exp (attach): Kill process if requested.
11971 * gdb.t00/help.exp (help target core, help target): Accept a gdb
11972 that does not read core files.
11973 * gdb.t01/run.exp: Removed checks for exit status code.
11974 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
11975 it is linked in.
11976 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
11977 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
11978 appropriate, rather than doing it by hand.
11979 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
11980 execution.
11981 * gdb.t10/crossload.exp: Kill existing program if needed.
11982 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
11983 appropriate, rather than doing it by hand. Always increase
11984 timeout for this test, not just for VxWorks.
11985
11986Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
11987
11988 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
11989 of Chill STRUCT types and STRUCT values.
11990 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
11991 than "char".
11992 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
d63a86f8 11993 struct2): New struct definitions and initializations to test
c906108c
SS
11994 simple Chill STRUCT types.
11995
11996Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
11997
11998 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
11999 the null byte at the end of strings.
12000 * gdb.t00/default.exp: Make show version insensitive to copyright
12001 date.
12002 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
12003 to avoid dependencies on target char signedness.
12004 * gdb.t16/printcmds.exp: Update expected results for explicitly
12005 unsigned char.
12006 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
12007 now work.
12008 * gdb.t21/demangle.exp: Add many more patterns for template
12009 demangling, most of them being expected failures.
12010 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
12011 string we are matching for, to match on the whole string.
12012 * gdb.t21/demangle.exp: Add many new test strings to demangle,
12013 and fix a whole bunch that had incorrect expected output but were
12014 passing anyway because of the bug in "proc demangle".
12015 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
12016 type.
12017 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
12018
12019Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
12020
12021 * gdb/testsuite: made modifications to testcases, etc., to allow
12022 them to work properly given the reorganization of deja-gnu and the
12023 relocation of the testcases from deja-gnu to a "tool" subdirectory.
12024
12025Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
12026
12027 * gdb/testsuite: Initial creation of gdb/testsuite.
12028 Migrated dejagnu testcases and support files for testing nm to
12029 gdb/testsuite from deja-gnu. These files were moved "as is"
12030 with no modifications. This migration is part of a major overhaul
12031 of dejagnu. The modifications to these testcases, etc., which
12032 will allow them to work with the new version of dejagnu will be
12033 made in a future update.
48efe704
AC
12034
12035For additional changes see gdb.mi/ChangeLog-1999-2003.
c906108c
SS
12036\f
12037Local Variables:
ef043731 12038mode: change-log
c906108c
SS
12039left-margin: 8
12040fill-column: 74
12041version-control: never
12042End: