]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/testsuite/ChangeLog
2004-06-17 Andrew Cagney <cagney@gnu.org>
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
1e3aeb41
MC
12004-06-16 Michael Chastain <mec.gnu@mindspring.com>
2
3 * gdb.cp/psmang1.cc, gdb.cp/psmang2.cc: Add copyright notice.
4
9d9030bc
AC
52004-06-16 Andrew Cagney <cagney@gnu.org>
6
7 * gdb.base/signull.c: Update copyright. Include <string.h>.
8 (bowler): Replace data_pointer with data_read
9 and data_write cases. Add code_descriptor case.
10 (zero, desc): New array and pointer.
11 (data, code): Change to simple pointers.
12 * gdb.base/signull.exp: Fix probe pattern matching a function
13 descriptor SIGSEGV. Replace data_pointer with data_read and
14 data_write tests.
15
acd4ad44
AC
162004-06-16 Andrew Cagney <cagney@gnu.org>
17
18 * gdb.base/long_long.exp, gdb.base/long_long.c: Rewrite.
19
08fd625c
MC
202004-06-15 Michael Chastain <mec.gnu@mindspring.com>
21
22 * gdb.base/long_long.c: Add copyright notice.
23
1903502c
MC
242004-06-15 Michael Chastain <mec.gnu@mindspring.com>
25
26 * gdb.base/long_long.exp: Remove reference to
27 bug-gdb@prep.ai.mit.edu. Change line-number-specific breakpoint
28 to gdb_breakpoint and gdb_continue_to_breakpoint.
29
83313cb1
JB
302004-06-14 Jim Blandy <jimb@redhat.com>
31
32 * gdb.arch/e500-regs.exp: Fix up 'print' pattern for the little-
33 endian case.
34
1bf404ef
AC
352004-06-14 Andrew Cagney <cagney@gnu.org>
36
37 * gdb.base/gcore.exp (capture_command_output): Delete the always
38 passing tests containing inferior values.
39 * gdb.base/ending-run.exp: Do not include the breakpoint address
40 in the test message. Update copyright.
41 * gdb.base/sizeof.exp (check_sizeof): Do not include the type's
42 size in the test name, use gdb_test_multiple. Update copyright.
43
ef220b33
MC
442004-06-14 Michael Chastain <mec.gnu@mindspring.com>
45
46 * gdb.cp/ref-types.cc: Add copyright notice.
47
4f70a4c9
MC
482004-06-14 Michael Chastain <mec.gnu@mindspring.com>
49
50 * lib/compiler.c: Remove gcc_compiled, hp_cc_compiler,
51 hp_aCC_compiler.
52 * lib/compiler.cc: Likewise.
53 * lib/gdb.exp (get_compiler_info): Eval lines only if they are
54 'set' commands. Log diagnostics for other lines. Set
55 gcc_compiled, hp_cc_compiler, and hp_aCC_compiler.
56
335928ac
MC
572004-06-13 Michael Chastain <mec.gnu@mindspring.com>
58
59 * gdb.cp/try_catch.cc: Add copyright notice.
60
2efb12e8
MC
612004-06-12 Michael Chastain <mec.gnu@mindspring.com>
62
63 * gdb.cp/userdef.cc: Add copyright notice.
64
0bbed51a
MC
652004-06-11 Michael Chastain <mec.gnu@mindspring.com>
66
67 * gdb.cp/virtfunc.cc: Add copyright notice.
68
e12a46c9
RC
692004-06-11 Randolph Chung <tausq@debian.org>
70
71 * gdb.base/structs2.exp: Mark two tests as xfail because of a compiler
72 problem.
73
338e05af
AC
742004-06-10 Andrew Cagney <cagney@gnu.org>
75
76 * lib/compiler.cc, lib/compiler.c: Append either
77 __GNUC_PATCHLEVEL__, or "unknown" to the compiler_info.
78 * gdb.base/structs.exp (test_struct_calls): Check for gcc-3-3-*
79 instead of gcc-3-3.
80
dc3f10cb
AC
812004-06-09 Andrew Cagney <cagney@gnu.org>
82
b4d946af
AC
83 * gdb.base/structs.exp (test_struct_calls): Fix KFAIL for
84 gdb/1455, bug is specific to "long long" and "double".
85
dc3f10cb
AC
86 * gdb.base/structs.exp (test_struct_returns, test_struct_returns)
87 (test_struct_calls): Remove KFAIL of "long double" on i*86-*-*,
88 x86_64-*-*, sparc64-*-*, and sparc*-*-solaris2*. PR tdep/1447
89 fixed.
90
b5c0bfa2
AC
912004-06-09 Andrew Cagney <cagney@gnu.org>
92
93 * gdb.base/structs.exp (test_struct_returns): Replace
94 "return_value_unknown" and "finish_value_unknown" by
95 "return_value_known" and "finish_value_known". Instead of
96 "return_value_unknown" iff "finish_value_unknown", check
97 "return_value_known" implies "finish_value_known".
98
caeb605f
MH
992004-06-08 Martin Hunt <hunt@redhat.com>
100
101 * gdb.base/float.exp: Add pattern for mips targets.
102
c892bb64
RC
1032004-06-08 Randolph Chung <tausq@debian.org>
104
105 * gdb.base/float.exp: Add pattern for hppa*-* target; make the failure
106 message for unknown architectures more clear.
107
48306d3e
JB
1082004-06-08 Joel Brobecker <brobecker@gnat.com>
109
110 * gdb.ada/null_record.exp: Use "start" instead of "begin" to
111 start the execution of the program.
112
83ecb59f
JB
1132004-06-07 Jim Blandy <jimb@redhat.com>
114
115 * gdb.arch/i386-sse.exp, gdb.arch/i386-sse.c: New tests.
116 * gdb.arch/i386-cpuid.h: New helper file.
117
55264cb4
RC
1182004-06-07 Randolph Chung <tausq@debian.org>
119
120 * gdb.base/shlib-call.exp: Allow breakpoint to be added after inferior
121 has started.
122
23cadb28
RM
1232004-06-04 Roland McGrath <roland@redhat.com>
124
125 Fix PR gdb/1647.
126 * gdb.base/auxv.exp (fetch_auxv): Revert last change and fix it
127 differently to be robust to output buffering differences.
128
51d01eda
MC
1292004-06-04 Michael Chastain <mec.gnu@mindspring.com>
130
131 * gdb.threads/pthreads.exp: Update copyright years.
132 (check_control_c): Change asynchronous 'after' to synchronous.
133
f4fc3b93
RM
1342004-06-04 Roland McGrath <roland@redhat.com>
135
136 * gdb.base/auxv.exp (fetch_auxv): Consume output fully through
137 next gdb prompt.
138
4013522b
MC
1392004-06-02 Michael Chastain <mec.gnu@mindspring.com>
140
141 Fix PR gdb/1636.
142 * gdb.threads/manythreads.exp: Change asynchronous 'after'
143 calls to synchronous.
144
7a8f1e6b
JB
1452004-05-26 Jim Blandy <jimb@redhat.com>
146
147 * gdb.arch/e500-prologue.exp, gdb.arch/e500-prologue.c: New tests.
148
81bb3443
RC
1492004-05-24 Randolph Chung <tausq@debian.org>
150
151 * gdb.asm/asm-source.exp: Enable test for hppa-linux target.
152 * gdb.asm/pa.inc: New file.
153
8f5a3103
MK
1542004-05-22 Mark Kettenis <kettenis@gnu.org>
155
156 * gdb.base/signull.c: Use sigjmp_buf instead of jmp_buf.
157
734b8fe8
JB
1582004-05-21 Joel Brobecker <brobecker@gnat.com>
159 Daniel Jacobowitz <drow@mvista.com>
160
161 * lib/gdb.exp (gdb_test_multiple): Improve regexp matching the
162 GDB prompt.
163
725603e1
UW
1642004-05-20 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
165
f4fc3b93 166 * gdb.base/signull.c: Use sigsetjmp/siglongjmp instead of
725603e1
UW
167 setjmp/longjmp. Use sigaction instead of signal.
168
8b923272
JB
1692004-05-19 J. Brobecker <brobecker@gnat.com>
170 Michael Snyder <msnyder@redhat.com>
171
172 * gdb.threads/pthread_cond_wait.c: New file.
173 * gdb.threads/pthread_cond_wait.exp: New testcase.
174
8bfabb04
AC
1752004-05-13 Andrew Cagney <cagney@redhat.com>
176
177 * gdb.base/signull.exp, gdb.base/signull.c: New files.
178 * gdb.base/gdb1476.c, gdb.base/gdb1476.exp: Delete files.
179
42edda50
AC
1802004-05-11 Andrew Cagney <cagney@redhat.com>
181
182 * gdb.base/sigstep.exp (advancei): Update KFAILs. gdb/1613 is
183 fixed but revealed gdb/1639.
184
d303a6c7
AC
1852004-05-10 Andrew Cagney <cagney@redhat.com>
186
187 * gdb.base/signals.exp (signal_tests_1): Simplify "continue to
188 func1" and "next to 2nd alarm", kernel bug avoided.
189
bf08c2a1
DJ
1902004-05-10 Daniel Jacobowitz <dan@debian.org>
191
192 PR external/1568
193 * gdb.base/bigcore.exp: Check the size of the dumped core file.
194 XFAIL if it is smaller than bytes_allocated.
195 * gdb.base/bigcore.c (bytes_allocated): Make static and unsigned.
196 (main): Make chunks_allocated unsigned. Correct comment.
197
c0586a34
JB
1982004-05-07 Joel Brobecker <brobecker@gnat.com>
199
200 * gdb.arch/powerpc-aix-prologue.c: New file.
201 * gdb.arch/powerpc-aix-prologue.exp: New file.
202
f2785d12
JB
2032004-05-07 Jim Blandy <jimb@redhat.com>
204
205 * gdb.base/lineinc.exp, gdb.base/lineinc1.h, gdb.base/lineinc2.h,
206 gdb.base/lineinc3.h, gdb.base/lineinc.c: New tests.
207
bd7f6e30
JB
2082004-05-06 Joel Brobecker <brobecker@gnat.com>
209
210 * gdb.base/sep.exp: No longer setup_kfail when the program was
211 built with dwarf2.
212
0a5e7efe
JI
2132004-05-05 Jim Ingham <jingham@apple.com>
214
215 * gdb.base/pending.exp: Make sure pending breakpoints
216 preserve the ignore count.
f4fc3b93 217
a8958849
MK
2182004-04-27 Jerome Guitton <guitton@gnat.com>
219
220 * i386-prologue.exp: Add testcase for jump instruction as first
221 instruction of the real code.
222 * i386-prologue.c (jump_at_beginning): New function.
223
7e103f5b
MK
2242004-04-28 Mark Kettenis <kettenis@gnu.org>
225
226 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1624 on
227 x86_64-*-*.
228
5d38b224
MK
2292004-04-28 Mark Kettenis <kettenis@gnu.org>
230
231 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1623 on
232 i*86-*-*.
233
0ef32fd9
MK
2342004-04-25 Mark Kettenis <kettenis@gnu.org>
235
236 * gdb.base/call-sc.exp (start_scalars_test): Fix regular
237 expression that checks the return type.
238
71d7dd7c
AC
2392004-04-23 Andrew Cagney <cagney@redhat.com>
240
241 * gdb.base/call-sc.exp: New test of scalar call/return values.
242 * gdb.base/call-sc.c: Ditto.
243
1e9f977e
JJ
2442004-04-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
245
246 * gdb.threads/manythreads.c: Reduce thread stack size.
247
899d9e3a
JJ
2482004-04-23 Jeff Johnston <jjohnstn@redhat.com>
249
250 * gdb.threads/manythreads.c: Add copyright notice.
251
61bcae62
AC
2522004-04-23 Andrew Cagney <cagney@redhat.com>
253
254 * gdb.base/siginfo.exp: Better handle step out of signal.
255 * gdb.base/sigstep.exp: Ditto.
256
7339a42e
JJ
2572004-04-22 Jeff Johnston <jjohnstn@redhat.com>
258 Daniel Jacobowitz <drow@mvista.com>
259
260 * gdb.threads/manythreads.c: New testcase.
261 * gdb.threads/manythreads.exp: Ditto.
262
5c98409b
JB
2632004-04-22 Jim Blandy <jimb@redhat.com>
264
265 * gdb.stabs/exclfwd.exp, gdb.stabs/exclfwd1.c,
266 gdb.stabs/exclfwd2.c, gdb.stabs/exclfwd.h: New test.
267
3b611f1a
MC
2682004-04-21 Michael Chastain <mec.gnu@mindspring.com>
269
270 * gdb.stabs/weird.exp: Accept full pathname for $binfile.
271
f0fd9238
AC
2722004-04-21 Andrew Cagney <cagney@redhat.com>
273
274 * gdb.base/sigstep.c: New file.
275 * gdb.base/sigstep.exp: New file.
276
90990674
JB
2772004-04-16 Joel Brobecker <brobecker@gnat.com>
278
279 * gdb.gdb/observer.exp (test_normal_stop_notifications): Update
280 call to observer_notify_normal_stop.
281
78cef34b
AC
2822004-04-15 Andrew Cagney <cagney@redhat.com>
283
284 * gdb.base/siginfo.c: New file.
285 * gdb.base/siginfo.exp: New file.
286
d2343407
JB
2872004-04-12 J. Brobecker <brobecker@gnat.com>
288
289 * gdb.base/sep.exp: Fix typo in comment.
290
a2dba3c8
JB
2912004-04-12 J. Brobecker <brobecker@gnat.com>
292
293 * gdb.base/sep.c: New file.
294 * gdb.base/sep-proc.c: New file.
295 * gdb.base/sep.exp: New testcase.
296
15f7b60e
MK
2972004-04-09 Mark Kettenis <kettenis@gnu.org>
298
299 * gdb.base/bigcore.exp: Disable on Solaris; no sparse core file
300 support.
301
44f4de1a
AC
3022004-04-05 Andrew Cagney <cagney@redhat.com>
303
304 * gdb.base/sigaltstack.c: New file.
305 * gdb.base/sigaltstack.exp: New file.
306
ef04f396
JB
3072004-04-04 Joel Brobecker <brobecker@gnat.com>
308
309 * gdb.base/foll-fork.exp: Update the expected output for
310 "help set follow-fork-mode", to match a change that was made
311 to the help of this variable on 2004-01-13.
312
d40d2c92
JB
3132004-04-01 Joel Brobecker <brobecker@gnat.com>
314
315 * lib/ada.exp: Add copyright notice.
316 * bar.ads: Likewise.
317 * bar.adb: Likewise.
318 * null_record.adb: Likewise.
319 * null_record.exp: Likewise.
320 * gnat_ada.gpr.in: Likewise. Fix typo in a comment, clarify another.
321
f86ef5a3
JB
3222004-04-01 Joel Brobecker <brobecker@gnat.com>
323
324 * configure.in: Generate gdb.ada/Makefile and gdb.ada/gnat_ada.gpr.
325 * configure: Regenerate.
326
414e70e3
JB
3272004-04-01 Joel Brobecker <brobecker@gnat.com>
328
329 * lib/ada.exp (gdb_compile_ada): Emit UNSUPPORTED if we failed
330 to build the application. Remove the message printed when in
331 verbose mode, redundant with the UNSUPPORTED message above.
332
f0aaee49
JB
3332004-03-31 Joel Brobecker <brobecker@gnat.com>
334
335 * gdb.ada (bar.ads, bar.adb, null_record.adb): New files.
336 * gdb.ada (null_record.exp): New testcase.
337
ac81cb54
JB
3382004-03-31 Joel Brobecker <brobecker@gnat.com>
339
340 * Makefile.in (ALL_SUBDIRS) Add gdb.ada.
341
854af2f7
JB
3422004-03-31 Joel Brobecker <brobecker@gnat.com>
343
344 * gdb.ada: New subdirectory.
345 * gdb.ada/Makefile.in: New file.
346 * gdb.ada/gnat_ada.gpr.in: New file.
347
034cb681
JB
3482004-03-31 Joel Brobecker <brobecker@gnat.com>
349
350 * lib/ada.exp: New file.
351
78a1a894
DJ
3522004-03-24 Daniel Jacobowitz <drow@mvista.com>
353
354 * gdb.base/gdb1250.exp: Use runto {allow-pending}.
355 * lib/gdb.exp (runto, gdb_breakpoint): Support {allow-pending}.
356
4b2b3b3e
AC
3572004-03-22 Andrew Cagney <cagney@redhat.com>
358
359 * gdb.base/watchpoint.exp (test_stepping): Delete bogus XFAILs
360 hiding problems with DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET.
361 Problem identified by Ulrich Weigand.
362
23c73aa3
DC
3632004-03-17 David Carlton <carlton@kealia.com>
364
365 * gdb.cp/classes.exp (test_enums): Refer to PR c++/1588 instead of
366 PR c++/826.
367
d63a86f8
RM
3682004-03-16 Roland McGrath <roland@redhat.com>
369
370 * gdb.base/auxv.exp: New file.
371 * gdb.base/auxv.c: New file, copied verbatim from coremaker2.c.
372
0e02aa50
DC
3732004-03-12 David Carlton <carlton@kealia.com>
374
375 * gdb.cp/pr-1553.exp: New. Tests for PR c++/1553.
376 * gdb.cp/pr-1553.cc: Ditto.
377 * gdb.cp/local.exp (ptype NestedInnerLocal): Add comment, third
378 pass branch.
379
c20b71be
MC
3802004-03-12 Michael Chastain <mec.gnu@mindspring.com>
381
382 * gdb.cp/templates.exp: Accept more template types.
383
c7414a01
MC
3842004-03-09 Michael Chastain <mec.gnu@mindspring.com>
385
386 From Corinna Vinschen with modifications.
387 * gdb.cp/classes.cc (enums1): Add a line to extend scope of
388 local variable obj_with_enum.
389 * gdb.cp/classes.exp (test_enums): Remove TODO note about FAIL
390 results with obj_with_enum.
391
ed69573c
MC
3922004-03-09 Michael Chastain <mec.gnu@mindspring.com>
393
394 * gdb.cp/classes.cc: New file, copied from misc.cc.
395 * gdb.cp/classes.exp: Use classes.cc rather than misc.cc.
396
28301461
MC
3972004-03-09 Michael Chastain <mec.gnu@mindspring.com>
398
399 * gdb.cp/misc.cc: Add copyright notice.
400
1198ecbe
DC
4012004-03-05 David Carlton <carlton@kealia.com>
402
403 * gdb.cp/rtti.exp: Add 'print *obj3' test.
404 * gdb.cp/rtti.h: Update copyright.
405 (namespace n2::n3): New.
406 * gdb.cp/rtti1.cc: (refer_to (n2::n3::C3 *)): New.
407 (n2::n3::func3): New.
408 (main): Call n2::n3::func3.
409 * gdb.cp/rtti2.cc: Update copyright.
410 (n2::create3): New.
411
9e08c470
MK
4122004-03-04 Mark Kettenis <kettenis@gnu.org>
413
414 * gdb.asm/openbsd.inc: Fix typo.
415
4bebc3aa
FF
4162004-03-03 Fred Fish <fnf@redhat.com>
417
418 * gdb.base/pc-fp.exp (get_valueofx): Fix apparent typo to now set
419 "val" instead of unused "size". Update copyright year.
420
6ea9fb37
DJ
4212004-02-29 Daniel Jacobowitz <drow@mvista.com>
422
423 * gdb.cp/ctti.exp: Handle unsigned char type. Expect templates
424 to use unsigned char.
425 * gdb.cp/cttiadd.c, gdb.cp/cttiadd1.c, gdb.cp/cttiadd2.c,
426 gdb.cp/cttiadd3.c: Change type of variable to unsigned char.
427
23b23974
DJ
4282004-02-29 Daniel Jacobowitz <drow@mvista.com>
429
430 * config/gdbserver.exp (gdbserver_gdb_load): Wait for a complete
431 line of output.
432
7574fd53
DJ
4332004-02-28 Daniel Jacobowitz <drow@mvista.com>
434
435 * gdb.base/relocate.c (dummy): Initialize.
436
a195357f
DJ
4372004-02-28 Daniel Jacobowitz <drow@mvista.com>
438
439 * gdb.base/chng-syms.exp: Anchor exit pattern. Allow
440 a breakpoint at exit.
441
72fd54a9
FF
4422004-02-27 Fred Fish <fnf@redhat.com>
443
444 * gdb.base/chng-syms.exp: Add expect condition to match failing
445 case that isn't a timeout.
446
b9d23137
AC
4472004-02-27 Andrew Cagney <cagney@redhat.com>
448
449 * gdb.base/bigcore.exp: Disable on HP/UX, no sparse corefile
450 support.
451
15d208f6 4522004-02-26 Fred Fish <fnf@redhat.com>
d63a86f8 453
15d208f6
FF
454 * gdb.arch/gdb1431.c: Remove.
455 * gdb.arch/gdb1431.s: New file, copy of gdb1291.s
456 * gdb.arch/gdb1431.exp: Use "advance" correctly instead
457 of "until" incorrectly.
458
98f9cd2d
JB
4592004-02-26 J. Brobecker <brobecker@gnat.com>
460
461 * gdb.cp/class2.cc (empty): New class.
462 (refer): New function.
463 (main): Declare an object of type empty and use it.
464 * gdb.cp/class2.exp: Print the value of an object of type empty.
465
9b50c11b
JJ
4662004-02-26 Jeff Johnston <jjohnstn@redhat.com>
467
468 * gdb.base/langs.exp: Update query string to match the
469 new nquery format used for pending breakpoints.
470
0dcd613f
AC
4712004-02-26 Andrew Cagney <cagney@redhat.com>
472
473 Fix PR i18n/1570.
474 * gdb.base/charset.c: Update copyright notice.
475 (main, init_string): Remove the escape character '\e' tests.
476 * gdb.base/printcmds.exp (test_print_all_chars): Ditto.
477 * gdb.base/charset.exp (valid_host_charset): Ditto.
478 * gdb.base/setvar.exp: Ditto.
479
b8a56647
AC
4802004-02-24 Andrew Cagney <cagney@redhat.com>
481
90d59e34
AC
482 * gdb.base/corefile.exp: Use gdb_test_multiple, make "accessing
483 mmapped data in core file" PASS and FAIL messages consistent.
484
b8a56647
AC
485 * gdb.java/jmisc.exp: Use the fully quallified name of "main" when
486 setting a breakpoint. Work around PR java/1565.
487
9f27c604
JJ
4882004-02-23 Jeff Johnston <jjohnstn@redhat.com>
489
490 * lib/gdb.exp (gdb_breakpoint): Update query string to match
491 new nquery format.
492 * gdb.base/pending.exp: Ditto.
493
3224a706
MK
4942004-02-22 Mark Kettenis <kettenis@gnu.org>
495
496 * configure.in: Run stabs tests on *BSD.
497 * configure: Regenerated.
498
41e0a9ca
MK
4992004-02-21 Mark Kettenis <kettenis@gnu.org>
500
501 * gdb.base/bigcore.exp: Bail out on *BSD instead of only NetBSD.
502
1e1b3428
FF
5032004-02-20 Fred Fish <fnf@redhat.com>
504
505 * gdb.base/callfuncs.exp (do_function_calls): Remove extraneous
506 blank in test for "returns short", for consistency with other
507 "returns xxx" tests. Update copyright year.
508
f9a7572a
FF
5092004-02-19 Fred Fish <fnf@redhat.com>
510
511 New testcase for PR breakpoint/1558.
512 * gdb.arch/gdb1558.exp: New file.
513 * gdb.arch/gdb1558.c: New file.
514
b2ce2854
EZ
5152004-02-19 Elena Zannoni <ezannoni@redhat.com>
516
517 * gdb.base/nodebug.exp: Fix typo.
518
e7c9ff01
JB
5192004-02-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
520
521 Committed by Jim Blandy <jimb@redhat.com>.
522
62f4b920
JB
523 * gdb.objc/basicclass.exp: Adapt to fixed return type of printHi.
524
2db536a1
JB
525 * gdb.base/dump.exp: Handle negative offsets in decimal, not hex.
526
e7c9ff01
JB
527 * gdb.base/float.exp: Support s390*-*-* targets.
528
f3205b34
AF
5292004-02-17 Adam Fedor <fedor@gnu.org>
530
531 * gdb.base/gdb1555.exp: New file.
532 * gdb.base/gdb1555-main.c, gdb.base/gdb1555.c: New files.
533
9d62932d
EZ
5342004-02-17 Elena Zannoni <ezannoni@redhat.com>
535
536 * gdb.base/selftest.exp (do_steps_and_nexts): Add comment.
537
344c9711
FF
5382004-02-16 Fred Fish <fnf@redhat.com>
539
540 * gdb.arch/gdb1291.c: Remove
541 * gdb.arch/gdb1291.s: New test input file.
542 * gdb.arch/gdb1291.exp: Expand test to check case that should not
543 fail. Test for correct result, known incorrect result, other
544 failures and timeouts.
545
2d822687
AC
5462004-02-16 Andrew Cagney <cagney@redhat.com>
547
548 * gdb.base/bigcore.exp: New file.
549 * gdb.base/bigcore.c: New file.
550
dac15b66
AC
5512004-02-13 Andrew Cagney <cagney@redhat.com>
552
553 * gdb.mi/mi1-basics.exp, gdb.mi/mi1-break.exp: Delete file.
554 * gdb.mi/mi1-console.exp, gdb.mi/mi1-disassemble.exp: Delete file.
555 * gdb.mi/mi1-eval.exp, gdb.mi/mi1-hack-cli.exp: Delete file.
556 * gdb.mi/mi1-pthreads.exp, gdb.mi/mi1-read-memory.exp: Delete file.
557 * gdb.mi/mi1-regs.exp, gdb.mi/mi1-return.exp: Delete file.
558 * gdb.mi/mi1-simplerun.exp, gdb.mi/mi1-stack.exp: Delete file.
559 * gdb.mi/mi1-stepi.exp, gdb.mi/mi1-symbol.exp: Delete file.
560 * gdb.mi/mi1-until.exp, gdb.mi/mi1-var-block.exp: Delete file.
561 * gdb.mi/mi1-var-child.exp, gdb.mi/mi1-var-cmd.exp: Delete file.
562 * gdb.mi/mi1-var-display.exp, gdb.mi/mi1-watch.exp: Delete file.
563
6bdfc2c4
JJ
5642004-02-11 Jeff Johnston <jjohnstn@redhat.com>
565
566 * gdb.asm/ia64.inc (gdbasm_startup): Make sure first instruction
567 executed is an alloc instruction.
568
87b3ede8
DC
5692004-02-11 David Carlton <carlton@kealia.com>
570
571 * gdb.cp/breakpoint.exp: New.
572 * gdb.cp/breakpoint.cc: New.
573
6e19e2bf
MC
5742004-02-11 Michael Chastain <mec.gnu@mindspring.com>
575
576 Partial fix for PR gdb/1543.
577 * gdb.cp/ambiguous.exp, gdb.cp/annota2.exp, gdb.cp/annota3.exp,
578 gdb.cp/anon-union.exp, gdb.cp/casts.exp, gdb.cp/classes.exp,
579 gdb.cp/cplusfuncs.exp, gdb.cp/ctti.exp, gdb.exp/demangle.exp,
580 gdb.cp/derivation.exp, gdb.cp/exception.exp, gdb.cp/hang.exp,
581 gdb.cp/inherit.exp, gdb.cp/local.exp, gdb.cp/maint.exp,
582 gdb.cp/member-ptr.exp, gdb.cp/method.exp, gdb.cp/misc.exp,
583 gdb.cp/namespace.exp, gdb.cp/overload.exp, gdb.cp/ovldbreak.exp,
584 gdb.cp/psmang.exp, gdb.cp/ref-types.exp, gdb.cp/templates.exp,
585 gdb.cp/userdef.exp, gdb.cp/virtfunc.exp: Remove reference
586 to bug-gdb@prep.ai.mit.edu .
587 * gdb.cp/bs15503.cc, gdb.cp/class2.cc, gdb.cp/cttiadd.cc,
588 gdb.cp/cttiadd1.cc, gdb.cp/cttiadd2.cc, gdb.cp/cttiadd3.cc,
589 gdb.cp/exception.cc, gdb.cp/member-ptr.cc, gdb.cp/namespace1.cc:
590 Likewise.
591
5c5455dc
AC
5922004-02-10 Andrew Cagney <cagney@redhat.com>
593
594 * lib/gdb.exp (gdb_expect_list): Recover from internal-errors
595 using gdb_internal_error_resync.
596
9cf689d7
DJ
5972004-02-09 Daniel Jacobowitz <drow@mvista.com>
598
599 * gdb.threads/thread-specific.exp: Stop early if no threads are
600 found.
601
d2dc51db
MC
6022004-02-09 Michael Chastain <mec.gnu@mindspring.com>
603
604 * gdb.base/pending.exp: Remove extra \n from gdb_test calls.
605
14b1a056
DJ
6062004-02-08 Daniel Jacobowitz <drow@mvista.com>
607
608 * lib/gdb.exp (gdb_breakpoint): Fail on unexpected pending
609 breakpoints.
610
83f66e8f
DJ
6112004-02-07 Daniel Jacobowitz <drow@mvista.com>
612
613 * config/sim.exp (gdb_load): Handle $arg == "".
614 * lib/gdb.exp (gdb_run_cmd): Honor gdb,do_reload_on_run.
615 * gdb.objc/basicclass.exp: Use gdb_run_cmd.
616
30fc0091
EZ
6172004-02-07 Elena Zannoni <ezannoni@redhat.com>
618
619 * gdb.base/maint.exp: Update test to reflect
620 obstack changes.
621
4d806929
JJ
6222004-02-04 Jeff Johnston <jjohnstn@redhat.com>
623
624 * gdb.base/pendshr.c (pendfunc): New function that calls
625 pendfunc1.
626 * gdb.base/pending.c: Call pendfunc instead of pendfunc1.
627
7bfdd688
FF
6282004-02-04 Fred Fish <fnf@redhat.com>
629
630 * gdb.arch/gdb1431.c: Add underbar prefixed version of global
631 function symbols and update copyright years.
632 * gdb.arch/gdb1291.c: Ditto.
633
aaa08ee4
MC
6342004-02-03 Michael Chastain <mec.gnu@mindspring.com>
635
636 * gdb.cp/virtfunc.exp: Accept both "ctor()" and "ctor(void)".
637
dbad7755
MC
6382004-02-03 Michael Chastain <mec.gnu@mindspring.com>
639
640 * gdb.cp/inherit.exp: Accept both "ctor()" and "ctor(void)".
641
ec4646ef
MC
6422004-02-03 Michael Chastain <mec.gnu@mindspring.com>
643
644 * gdb.cp/inherit.exp: Accept output with gcc 3.2-7-rh.
645
1b802196
FF
6462004-02-02 Fred Fish <fnf@redhat.com>
647
648 * gdb.base/bang.exp: Use gdb_run_cmd so this tests works with
649 remote targets. Update copyright years.
650
18fe2033
JJ
6512004-02-02 Jeff Johnston <jjohnstn@redhat.com>
652
653 * lib/gdb.exp (gdb_breakpoint): Add pending breakpoint
654 support.
655 * gdb.base/langs.exp: Fix test which attempts to create
656 breakpoint on non-existent function to handle new pending
657 support.
658 * gdb.base/shlib-call.exp: Use gdb_breakpoint to set
659 a breakpoint.
660 * gdb.base/pending.exp: New test.
661 * gdb.base/pending.c: New file.
662 * gdb.base/pendshr.c: Ditto.
663
8d577d32
DC
6642004-02-02 David Carlton <carlton@kealia.com>
665
666 * gdb.cp/overload.exp: Add overloadNamespace tests.
667 * gdb.cp/overload.cc (dummyClass, dummyInstance): New.
668 (overloadNamespace, XXX): New.
669 (main): Call XXX::marker2.
670
3ad13771
FF
6712004-02-01 Fred Fish <fnf@redhat.com>
672
673 * gdb.base/dump.exp: Use runto_main instead of "runto main".
674 * gdb.base/finish.exp: Ditto.
675 * gdb.base/gcore.exp: Ditto.
676 * gdb.base/huge.exp: Ditto.
677 * gdb.base/info-proc.exp: Ditto.
678 * gdb.base/return2.exp: Ditto.
679 * gdb.threads/gcore-thread.exp: Ditto.
680
44c75849
DJ
6812004-02-01 Daniel Jacobowitz <drow@mvista.com>
682
683 * gdb.threads/thread-specific.exp: Add missing anchor to regexp.
684
005bc093
MK
6852004-02-01 Mark Kettenis <kettenis@gnu.org>
686
687 * gdb.base/fileio.c (test_open): Replace O_RDONLY with O_RDWR such
688 that opening the file succeeds on OpenBSD.
689
c47cebdb
DJ
6902004-02-01 Daniel Jacobowitz <drow@mvista.com>
691
692 * gdb.threads/thread-specific.c: New file.
693 * gdb.threads/threads-specific.exp: New test script.
694 * lib/gdb.exp (gdb_test_multiple): Allow user patterns access
695 to expect_out.
696
5a01311c
MK
6972004-02-01 Mark Kettenis <kettenis@gnu.org>
698
699 * gdb.base/call-ar-st.exp: Call get_debug_format. Remove xfail on
700 sparc*-*-solaris* into a kfail PR gdb/1539 on sparc-*-* for stabs
701 only on the "print_small_structs from print_long_arg_list" test.
702
ce22a4f1
DJ
7032004-02-01 Daniel Jacobowitz <drow@mvista.com>
704
705 * gdb.base/completion.exp: Kill a stray backslash.
706
707 From Jim Ingham <jingham@apple.com>:
708 * gdb.base/completion.exp: Test that "complete file ./gdb.base/compl"
709 agrees with the result from sending a tab.
710
abbab9d3
DJ
7112004-01-31 Daniel Jacobowitz <drow@mvista.com>
712
713 * gdb.base/chng-syms.exp: Remove stray newline.
714
53904d1e
MK
7152004-01-31 Mark Kettenis <kettenis@gnu.org>
716
717 * gdb.asm/asm-source.exp: Set asm-note to "openbsd" for
718 *-*-openbsd*.
719 * gdb.asm/openbsd.inc: New file.
720
3a4b3aac
MK
7212004-01-30 Mark Kettenis <kettenis@gnu.org>
722
723 * gdb.asm/asm-source.exp: Strip -Wl, from link-flags. Don't
724 append -static to link-flags for *-*-freebsd*, *-*netbsd* and
725 *-*solaris2*. Remove commented out default settings for
726 asm-flags. Replace gdb_compile with target_link.
727
ebac27b4
MC
7282004-01-29 Michael Chastain <mec.gnu@mindspring.com>
729
730 * gdb.cp/inherit.exp: Rewrite. Use gdb_test_multiple and gdb
731 for all tests. Remove old hp-ux and cygnus xfail cases.
732
d8679d84
PH
7332004-01-29 Paul N. Hilfinger <Hilfinger@gnat.com>
734
735 * gdb.base/chng-syms.exp: New file.
736 * gdb.base/chng-syms.c: New file.
737
0a55bc22
MC
7382004-01-24 Michael Chastain <mec.gnu@mindspring.com>
739
740 * gdb.cp/local.exp: Rewrite "ptype Local". Add "ptype l".
741 Provide arms for current output in all my configurations.
742
94b8e876
MC
7432004-01-24 Michael Chastain <mec.gnu@mindspring.com>
744
745 * lib/compiler.c: Add hp_cc_compiler and hp_aCC_compiler.
746 * lib/compiler.cc: Likewise.
747 * lib/gdb.exp (get_compiler_info): Always call gdb_compile to
748 get the right preprocessor. Eval the output directly. Remove
749 special tests for hp_cc_compiler and hp_aCC_compiler. Remove
750 hp_f77_compiler and hp_f90_compiler completely.
751 (gdb_preprocess): Delete.
752 (get_compiler): Delete.
753
7cf03d44
MK
7542004-01-24 Mark Kettenis <kettenis@gnu.org>
755
756 * gdb.base/charset.c, gdb.base/dump.c, gdb.base/huge.c: Include
757 <string.h>.
758
68b6dce9
NR
7592004-01-24 Nick Roberts <nick@nick.uklinux.net>
760
761 * gdb.mi/mi-stack.exp: Update copyright.
762
b368761e
DC
7632004-01-23 David Carlton <carlton@kealia.com>
764
765 * gdb.cp/rtti.exp: Don't include full path in ${srcfile}. Add
766 test for cp_lookup_transparent_type.
767 * gdb.cp/rtti1.cc: Update copyright. Add n2::func and refer_to;
768 call them.
769
f2061b53
DJ
7702004-01-23 Daniel Jacobowitz <drow@mvista.com>
771
772 * gdb.mi/mi-var-child.exp: Update copyright year. Move new test
773 after -var-update.
774
37fc574a
DC
7752004-01-23 David Carlton <carlton@kealia.com>
776
777 * gdb.cp/namespace.cc (C::ensureRefs): New.
778 * gdb.cp/namespace1.cc (C::ensureOtherRefs): New.
779
8e94b928
NR
7802004-01-20 Nick Roberts <nick@nick.uklinux.net>
781
782 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Test for
783 case "-stack-list-locals 2".
784 * gdb.mi/mi-var-child.exp: Test for case
785 "-var-list-children --all-values NAME".
786
997b0952
MC
7872004-01-18 Michael Chastain <mec.gnu@mindspring.com>
788
789 * gdb.cp/local.exp: Accept correct output for gcc v3 -gstabs+.
790
52470da3
MK
7912004-01-18 Mark Kettenis <kettenis@gnu.org>
792
7049b4b8
MK
793 * gdb.base/fileio.exp: Add "$gdb_prompt $" anchors to patterns
794 used with gdb_test_multiple.
795
52470da3
MK
796 * gdb.base/gdb1476.exp: Accept alternat pattern for failed memory
797 read at address 0. This fixes PR testsuite/1504.
798
da6012e5
DJ
7992004-01-18 Daniel Jacobowitz <drow@mvista.com>
800
801 * config/gdbserver.exp (gdbserver_gdb_load): Rename from gdb_load.
802 Remove downloading, guessing the host executable, the calls to
803 gdb_file_cmd and gdb_target_cmd, and "load" support.
804 (infer_host_exec): New function broken out from gdb_load.
805 (gdb_load): New wrapper for gdbserver_gdb_load.
806 * lib/mi-support.exp (mi_gdb_target_cmd): New function, based on
807 gdb_target_cmd. Use -target-select.
808 (mi_gdb_file_cmd): New function, broken out from mi_gdb_load.
809 Download binaries to the host. Clear last_mi_remote_file when
810 we load a new binary.
811 (mi_gdb_load): Call mi_gdb_file_cmd. If gdbserver.exp is loaded,
812 call gdbserver_gdb_load and mi_gdb_target_cmd.
813
32c70722
MC
8142004-01-17 Michael Chastain <mec.gnu@mindspring.com>
815
816 * gdb.cp/templates.exp: Accept more spaces with "<foo, ?bar>"
817 type patterns.
818
b0cecf36
MC
8192004-01-17 Michael Chastain <mec.gnu@mindspring.com>
820
821 * gdb.cp/templates.exp: Fix typo in test name of
822 "print Foo<volatile char*>::foo".
823
4120d7e6
MC
8242004-01-15 Michael Chastain <mec.gnu@mindspring.com>
825
826 * gdb.base/setvar.exp: Remove setup_xfail for hppa*-*-*11*.
827
f679e530
BE
8282004-01-16 Ben Elliston <bje@wasabisystems.com>
829
830 * gdb.arch/Makefile.in (MISCELLANEOUS): Remove.
831 (clean mostlyclean): Remove empty rm.
832
091c48f6
MC
8332004-01-15 Michael Chastain <mec.gnu@mindspring.com>
834
835 * gdb.base/setvar.exp: Add copyright years.
836
3e5fc8d2
DC
8372004-01-14 David Carlton <carlton@bactrian.org>
838
839 * gdb.cp/rtti.exp: Update copyright. KFAIL test with repect to
840 PR c++/1511 and update coment.
841 * gdb.cp/templates.exp: Update patterns to match current output.
842 If changes involve something other than whitespace, KFAIL
843 w.r.t. PR c++/1512 or PR c++/931 as appropriate.
844
63d06c5c
DC
8452004-01-14 David Carlton <carlton@kealia.com>
846
847 * gdb.cp/namespace.exp: Add tests involving classes defined within
848 namespaces.
849 * gdb.cp/namespace.cc (C::CClass): New.
850 * gdb.cp/namespace1.cc (C::OtherFileClass): New.
851
a51dab88
EZ
8522004-01-14 Elena Zannoni <ezannoni@redhat.com>
853
854 * gdb.base/sepdebug.exp: Bail out of the test if we don't know
855 what debug info we have. Print a better message if something goes
856 wrong while producing the separate debug info file.
857
a476ccc9
MC
8582004-01-14 Michael Chastain <mec.gnu@mindspring.com>
859
860 * gdb.base/callfuncs.c: Remove explicit declaration of malloc.
861
f453692c
MC
8622004-01-14 Michael Chastain <mec.gnu@mindspring.com>
863
864 * gdb.base/callfuncs.c: Add copyright notice.
865
f40063a5
MC
8662004-01-13 Michael Chastain <mec.gnu@mindspring.com>
867
868 * gdb.cp/derivation.exp: Add XFAIL for bug with protected
869 inheritance. PR gdb/1498, PR gcc/13539.
870
19ac3974
EZ
8712004-01-13 Elena Zannoni <ezannoni@redhat.com>
872
873 * gdb.threads/gcore-thread.exp: Prefix name of binary with
874 test specific name.
875 * gdb.mi/gdb669.exp: Ditto.
876 * gdb.mi/mi-pthreads.exp: Ditto.
877 * gdb.mi/mi1-pthreads.exp: Ditto.
878 * gdb.mi/mi2-pthreads.exp: Ditto.
879
56c97c6e
MC
8802004-01-12 Michael Chastain <mec.gnu@mindspring.com>
881
882 * gdb.cp/member-ptr.cc: Add copyright notice.
883
a0644324
MC
8842004-01-12 Michael Chastain <mec.gnu@mindspring.com>
885
886 * gdb.cp/member-ptr.exp: Use gdb_test, gdb_test_multiple. Add
887 some patterns for recent versions of gcc and hpacc. Delete
888 calls to setup_xfail for hppa*-*-*. Delete redundant tests.
889 Delete tests that access a NULL pointer-to-member-data. This
890 script is still disabled for gcc.
891
32fabe09
EZ
8922004-01-12 Elena Zannoni <ezannoni@redhat.com>
893
894 * gdb.mi/mi2-basics.exp: Make sure that full pathnames are
895 escaped correctly.
896
1f8a6abb
EZ
8972004-01-12 Elena Zannoni <ezannoni@redhat.com>
898
899 * gdb.base/sepdebug.exp: New file.
900 * gdb.base/sepdebug.c: New file.
901 * lib/gdb.exp (separate_debug_filename): New procedure.
902 (gdb_gnu_strip_debug): New procedure.
903
48efe704
AC
9042004-01-12 Andrew Cagney <cagney@redhat.com>
905
906 * gdb.mi/ChangeLog: Delete file. Renamed to ...
907 * gdb.mi/ChangeLog-1999-2003: New file.
908
a9415475
AC
9092004-01-12 Andrew Cagney <cagney@redhat.com>
910
911 * gdb.base/fileio.exp: Update copyright year. On GNU/Linux, for
912 "Renaming a directory to a non-empty directory returns ENOTEMPTY
913 or EEXIST", treat EBUSY as an XFAIL.
914
83b8cf9d
MC
9152004-01-11 Michael Chastain <mec.gnu@mindspring.com>
916
917 * gdb.base/scope.exp: Remove obsolete setup_xfail for
918 hp_cc_compiler.
919
9939d2a8
MC
9202004-01-10 Michael Chastain <mec.gnu@mindspring.com>
921
922 * gdb.cp/classes.exp: Remove old "(obsolescent gcc or gdb)"
923 decorations.
924
1ff8cadf
MC
9252004-01-10 Michael Chastain <mec.gnu@mindspring.com>
926
927 * gdb.cp/virtfunc.exp: Remove old "(obsolescent gcc or gdb)"
928 and "(aCC)" decorations. Remove obsolete doco about old
929 test results.
930
6fa9022e
MC
9312004-01-09 Michael Chastain <mec.gnu@mindspring.com>
932
933 * gdb.cp/exception.exp: Fix typo in doco.
934
209721fe
MK
9352004-01-09 Mark Kettenis <kettenis@gnu.org>
936
937 * gdb.base/gdb1476.exp: Fix typo.
938
ef11303e
MC
9392004-01-09 Michael Chastain <mec.gnu@mindspring.com>
940
941 * gdb.hp/gdb.aCC/exception.exp: Re-create as a nearly empty
942 file.
943
041ab88c
MC
9442004-01-09 Michael Chastain <mec.gnu@mindspring.com>
945
946 * gdb.cp/exception.cc: Change <iostream.h> to <iostream>.
947 * gdb.cp/exception.exp: Use gdb test, gdb_test_multiple.
948 Use gdb_compile. Remove restriction on gcc. Add some patterns
949 for recent version of gdb. Delete second half, which was a copy
950 of the first half with different build flags. This test is
951 still disabled because it is still not ready for production.
952
e36d075a
MC
9532004-01-08 Michael Chastain <mec.gnu@mindspring.com>
954
955 * gdb.cp/exception.cc: Add copyright notice.
956 * gdb.cp/exception.exp: Add a notice that this file is broken
957 because of line number changes caused by addition of copyright
958 notice.
959
42b190ad
MC
9602004-01-08 Michael Chastain <mec.gnu@mindspring.com>
961
962 * gdb.cp/exception.cc: Renamed from gdb.hp/gdb.aCC/exception.cc.
963 * gdb.cp/exception.exp: Renamed from gdb.hp/gdb.aCC/exception.exp.
964
8f25f06b
MC
9652004-01-08 Michael Chastain <mec.gnu@mindspring.com>
966
967 * gdb.cp/classes.exp: Accept gnu abi 2.
968 * gdb.cp/derivation.exp: Likewise.
969 * gdb.cp/overload.exp: Likewise.
970 * gdb.cp/virtfunc.exp: Likewise.
971
06ded8b8
MC
9722004-01-08 Michael Chastain <mec.gnu@mindspring.com>
973
974 * gdb.mi/pthreads.c (done_making_threads): Remove extraneous
975 semicolon after end of function.
976
77c26ae3
MC
9772004-01-07 Michael Chastain <mec.gnu@mindspring.com>
978
979 * gdb.cp/bs15503.cc: Include <iostream>, not <iostream.h>.
980 * gdb.cp/bs15503.exp: Remove hp-only restriction. Use modern
981 boilerplate code for compiling and running the program under
982 test. Add some string method tests.
983
20757486
MC
9842004-01-07 Michael Chastain <mec.gnu@mindspring.com>
985
986 * gdb.cp/bs15503.cc: Add copyright notice.
987 * gdb.cp/bs15503.exp: Adjust line number.
988
0fd3b503
MC
9892004-01-07 Michael Chastain <mec.gnu@mindspring.com>
990
991 * gdb.hp/gdb.defects/bs15503.exp: Renamed to gdb.cp/bs15503.exp.
992 * gdb.hp/gdb.defects/bs15503.cc: Renamed to gdb.cp/bs15503.cc.
993
10d1bea8
MC
9942004-01-07 Michael Chastain <mec.gnu@mindspring.com>
995
996 * gdb.base/funcargs.exp: Remove obsolete setup_xfail for
997 hp_cc_compiler.
998
2789202a
MC
9992004-01-07 Michael Chastain <mec.gnu@mindspring.com>
1000
1001 * gdb.cp/cttiadd.c: Add a marker for gdb_get_line_number.
1002 * gdb.cp/ctti.exp: Use the marker instead of "next".
1003 With gcc, run further before bailing.
1004
b862f14c
MC
10052004-01-07 Michael Chastain <mec.gnu@mindspring.com>
1006
1007 * gdb.cp/cttiadd.cc: Add copyright notice.
1008 * gdb.cp/cttiadd1.cc: Likewise.
1009 * gdb.cp/cttiadd2.cc: Likewise.
1010 * gdb.cp/cttiadd3.cc: Likewise.
1011
96da2469
MC
10122004-01-07 Michael Chastain <mec.gnu@mindspring.com>
1013
1014 * gdb.cp/ctti.exp: Partial rewrite. Call gdb_compile properly.
1015 Use gdb_test, gdb_test_multiple. Use floating-point values that
1016 have exact representations in IEEE-ish formats.
1017
053248ff
MC
10182004-01-07 Michael Chastain <mec.gnu@mindspring.com>
1019
1020 * gdb.base/constvars.exp: Do not force lang=c++ if using HP
1021 compilers. Delete duplicate call to get_compiler_info.
1022 (local_compiler_xfail_check): setup_xfail if $hp_cc_compiler.
1023 * gdb.base/volatile.exp: Likewise.
1024
84acecdd
MK
10252004-01-07 Mark Kettenis <kettenis@gnu.org>
1026
1027 * gdb.base/gdb1476.exp: Only run the tests if we can't read the
1028 memory at address 0.
1029
fe11a27f
MC
10302004-01-07 Michael Chastain <mec.gnu@mindspring.com>
1031
1032 * gdb.stabs/weird.exp: Use hp_cc_compiler and hp_aCC_compiler
1033 to test for hp-ux assembler. Fix copyright years.
1034
60ad077b
AC
10352004-01-07 Andrew Cagney <cagney@redhat.com>
1036
1037 * gdb.base/fileio.c (strerrno): Add "EBUSY".
1038
1c9b8f33
AC
10392004-01-07 Andrew Cagney <cagney@redhat.com>
1040
1041 * gdb.base/fileio.c (test_open): Do not pass S_IWUSR to "open"
1042 when creating the read-only file. From analysis by Roland McGrath
1043 and Elena Zannoni.
1044
753ccc7a
MC
10452004-01-06 Michael Chastain <mec.gnu@mindspring.com>
1046
1047 * gdb.cp/namespace.exp: Call get_compiler_info with "c++".
1048
eca3e36b
MC
10492004-01-06 Michael Chastain <mec.gnu@mindspring.com>
1050
1051 * gdb.base/cvexpr.c: Be type-safe with function pointers and
1052 data pointers.
1053
f8d4bac4
MC
10542004-01-06 Michael Chastain <mec.gnu@mindspring.com>
1055
1056 * gdb.cp/m-static.exp: Compile one source file at a time.
1057 Delete unused call to get_compiler_info.
1058
9b4e0f94
MC
10592004-01-06 Michael Chastain <mec.gnu@mindspring.com>
1060
1061 * gdb.base/call-ar-st.exp: Delete explicit reference to ${binfile}.ci.
1062 * gdb.base/call-rt-st.exp: Likewise.
1063 * gdb.base/nodebug.exp: Likewise.
1064 * gdb.base/volatile.exp: Likewise.
1065 * gdb.cp/ref-types.exp: Likewise.
1066 * gdb.cp/templates.exp: Likewise.
1067
023c1024
MK
10682004-01-05 Mark Kettenis <kettenis@gnu.org>
1069
1070 * gdb.base/gdb1476.exp, gdb.base/gdb1476.c: New files.
1071
19703c4a
MC
10722004-01-05 Michael Chastain <mec.gnu@mindspring.com>
1073
1074 * gdb.cp/funcargs.exp: Delete special timeout of 240 seconds for
1075 hppa*-hp-hpux*.
1076
18b67037
MK
10772004-01-04 Mark Kettenis <kettenis@gnu.org>
1078
ba6219c8
MK
1079 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
1080 x86_64-*-*.
1081
18b67037
MK
1082 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
1083 sparc64-*-* and sparc*-solaris2*.
1084
1bfbbb9d
MK
10852004-01-04 Mark Kettenis <kettenis@gnu.org>
1086
1087 * gdb.base/structs.exp: Remove ${testfile} from "zed L<n> for
1088 return ${tests}" test. The ${tests} already mentions the
1089 filename.
1090
06846494
MC
10912004-01-02 Michael Chastain <mec.gnu@mindspring.com>
1092
1093 * gdb.cp/local.exp: Accept gcc abi 2.
1094
3b0cb202
MC
10952004-01-02 Michael Chastain <mec.gnu@mindspring.com>
1096
1097 * gdb.cp/templates.exp: Accept gcc abi 2.
1098
0643ec3f
MC
10992004-01-02 Michael Chastain <mec.gnu@mindspring.com>
1100
1101 * lib/compiler.cc: Remove supports_template_debugging.
1102 * gdb.cp/templates.exp: Do not test supports_template_debugging.
1103
d231d0b1
MC
11042004-01-01 Michael Chastain <mec.gnu@mindspring.com>
1105
1106 * gdb.cp/namespace.exp: Accept gcc abi 2.
1107
44ffb27c
MC
11082004-01-01 Michael Chastain <mec.gnu@mindspring.com>
1109
1110 * gdb.cp/method.exp: Accept gcc abi 2.
1111
184ad485
MC
11122004-01-01 Michael Chastain <mec.gnu@mindspring.com>
1113
1114 * gdb.cp/classes.exp: Generate identical results as old version.
1115 * gdb.cp/derivation.exp: Likewise.
1116 * gdb.cp/overload.exp: Likewise.
1117 * gdb.cp/virtfunc.exp: Likewise.
1118
116f09e7
MC
11192004-01-01 Michael Chastain <mec.gnu@mindspring.com>
1120
1121 * gdb.cp/virtfunc.exp: Modify some patterns to avoid a
1122 mysterious bug with sourceware version of expect.
1123
b1379776
MC
11242004-01-01 Michael Chastain <mec.gnu@mindspring.com>
1125
1126 * gdb.cp/overload.exp: Rewrite. Clean up patterns to match
1127 current versions of gcc, including gcc abi 2. Remove gratuitous
1128 restart of test program. Use gdb_test_multiple and gdb_test for
1129 all tests. Add patterns to xfail missing "const" in "const char *"
1130 and kfail PR gdb/1155.
1131
6b7a4c0e
MC
11322004-01-01 Michael Chastain <mec.gnu@mindspring.com>
1133
1134 * gdb.cp/derivation.exp: Rewrite. Clean up patterns to match
1135 current versions of gcc, including gcc abi 2. Remove gratuitous
1136 restart of test program. Use gdb_test_multiple and gdb_test for
1137 all tests. Add patterns to kfail PR gdb/1498.
1138
51615d72
MC
11392003-12-31 Michael Chastain <mec.gnu@mindspring.com>
1140
1141 * gdb.cp/virtfunc.exp: Rewrite. Clean up patterns to match
1142 current versions of gcc, including gcc abi 2. Use "breakpoint"
1143 and "continue" instead of restarting the target program. Use
1144 gdb_test_multiple and gdb_test for all tests.
1145
7b79a9d7
MK
11462004-01-01 Mark Kettenis <kettenis@gnu.org>
1147
1148 * gdb.asm/asm-source.exp: Update copyright year. Link statically
1149 for *-*-solaris2*.
1150
1cd3489f
MC
11512003-12-31 Michael Chastain <mec.gnu@mindspring.com>
1152
1153 * gdb.cp/classes.exp: Rewrite. Clean up patterns to match
1154 current versions of gcc, including gcc abi 2. Use "breakpoint"
1155 and "continue" instead of restarting the target program several
1156 times. Use gdb_test_multiple and gdb_test for all tests.
1157
850742db
MC
11582003-12-18 Michael Chastain <mec.gnu@mindspring.com>
1159
1160 * gdb.base/sect-cmd.exp: Handle compiling test case from multiple
1161 source files.
1162
eb4bbda8
MC
11632003-12-16 Michael Chastain <mec.gnu@mindspring.com>
1164
1165 * gdb.base/environ.exp: Handle compiling test case from multiple
1166 source files.
1167
e42c7771
MC
11682003-12-16 Michael Chastain <mec.gnu@mindspring.com>
1169
1170 * gdb.base/structs.exp: Call gdb_exit as well as gdb_start.
1171
80e4b428
JB
11722003-12-17 Jim Blandy <jimb@redhat.com>
1173
5f06973a
JB
1174 * gdb.base/freebpcmd.c: Add copyright notice.
1175
80e4b428
JB
1176 * gdb.base/freebpcmd.exp: Mark the interesting failure as known.
1177
0ab84fb7
MC
11782003-12-16 Michael Chastain <mec.gnu@mindspring.com>
1179
1180 * gdb.base/maint.exp: Add generic FAIL patterns to prevent timeouts.
1181
1b3bb3d0
JB
11822003-12-13 Jim Blandy <jimb@redhat.com>
1183
1184 * gdb.base/freebpcmd.exp, gdb.base/freebpcmd.c: New test.
1185
3a4c9371
KB
11862003-12-12 Kevin Buettner <kevinb@redhat.com>
1187
1188 * gdb.asm/frv.inc: New file.
1189 * gdb.asm/asm-source.exp: Add frv-*-* as a supported target.
1190
a1dea79a
FF
11912003-12-09 Fred Fish <fnf@redhat.com>
1192
1193 * gdb.base/break.c (marker1, marker2, marker3, marker4): Move
1194 functions to break1.c and leave prototypes behind. Add more
1195 "set breakpoint NN here" comments.
1196 * gdb.base/break1.c: New file.
1197
1198 * gdb.base/break.exp: Handle compiling test case from multiple
1199 source files and change source file references as needed.
1200 * gdb.base/completion.exp: Ditto.
1201 * gdb.base/condbreak.exp: Ditto.
1202 * gdb.base/define.exp: Ditto.
1203 * gdb.base/ena-dis-br.exp: Ditto.
1204 * gdb.base/info-proc.exp: Ditto.
1205 * gdb.base/maint.exp: Ditto.
1206 * gdb.base/until.exp: Ditto.
1207
1208 * gdb.base/condbreak.exp: Use bp_locationNN variables instead of
1209 hardcoded line numbers.
1210 * gdb.base/define.exp: Ditto.
1211 * gdb.base/ena-dis-br.exp: Ditto.
1212 * gdb.base/maint.exp: Ditto.
1213 * gdb.base/until.exp: Ditto.
1214
1215 * gdb.base/completion.exp: Use "break1" for completion tests since
1216 "break" is no longer a unique prefix.
1217
5266b69c
AC
12182003-12-06 Andrew Cagney <cagney@redhat.com>
1219
1220 * gdb.base/structs.exp (test_struct_returns): When applicable, set
1221 "return_value_unimplemented". When an unimplemented struct return
1222 architecture, report incorrect values as a KFAIL
1223
374451f0
MC
12242003-12-05 Michael Chastain <mec.gnu@mindspring.com>
1225
1226 * gdb.cp/rtti.exp: Accept new wording of warning from
1227 cp_lookup_rtti_type.
1228
ba9b20a7
MC
12292003-12-05 Michael Chastain <mec.gnu@mindspring.com>
1230
1231 Partial fix for PR testsuite/1456.
1232 * gdb.base/scope.exp (test_at_main): Replace references to
1233 gcc_compiled with calls to test_compiler_info.
1234 (test_at_foo): Likewise.
1235 (test_at_bar): Likewise.
1236
b74b6d0b
MC
12372003-12-04 Michael Chastain <mec.gnu@mindspring.com>
1238
1239 Partial fix for PR testsuite/1456.
1240 * gdb.base/so-impl-ld.exp: Replace reference to gcc_compiled with call
1241 to test_compiler_info.
1242
ccfa3402
MC
12432003-12-03 Michael Chastain <mec.gnu@mindspring.com>
1244
1245 * gdb.base/so-impl-ld.exp: Update copyright notice.
1246
f6246aba
MC
12472003-12-02 Michael Chastain <mec.gnu@mindspring.com>
1248
1249 Partial fix for PR testsuite/1456.
1250 * gdb.base/mips_pro.exp: Replace references to gcc_compiled with calls
1251 to test_compiler_info.
1252
13ae734a
MC
12532003-11-28 Michael Chastain <mec.gnu@mindspring.com>
1254
1255 * gdb.objc/objcdecode.exp: Match and KFAIL the output that comes
1256 from current versions of gdb. Clean up regular expressions.
1257 Delete redundant timeout case.
1258
d8e1cdee
MC
12592003-11-28 Michael Chastain <mec.gnu@mindspring.com>
1260
1261 * gdb.objc/nondebug.exp: Match and KFAIL the output that comes
1262 from current versions of gdb. Clean up regular expressions.
1263 Delete redundant timeout case.
1264
96457b64
MC
12652003-12-01 Michael Chastain <mec.gnu@mindspring.com>
1266
1267 Partial fix for PR testsuite/1456.
1268 * gdb.base/callfuncs.exp (do_function_calls): Replace reference to
1269 gcc_compiled with call to test_compiler_info.
1270
f35309fc
MC
12712003-11-30 Michael Chastain <mec.gnu@mindspring.com>
1272
1273 Partial fix for PR testsuite/1456.
1274 * gdb.base/list.exp (test_list_function): Delete unused declaration
1275 of gcc_compiled.
1276
d7afdf9b
MC
12772003-11-29 Michael Chastain <mec.gnu@mindspring.com>
1278
1279 Partial fix for PR testsuite/1456.
1280 * gdb.base/complex.exp: Replace reference to gcc_compiled with
1281 call to test_compiler_info.
1282
71507b56
MK
12832003-11-29 Mark Kettenis <kettenis@gnu.org>
1284
1285 * gdb.asm/asm-source.exp: Initialize asm-note to "empty". Set
1286 asm-note to "netbsd" for *-*-netbsdelf* and x86_64-*-netbsd*. Use
1287 it to create the appropriate note.inc.
1288 * gdb.asm/asmsrc1.s: Include "note.inc".
1289 * gdb.asm/netbsd.inc: New file.
1290 * gdb.asm/empty.inc: New file.
1291
f81f93f7
MC
12922003-11-28 Michael Chastain <mec.gnu@mindspring.com>
1293
1294 Partial fix for PR testsuite/1456.
1295 * gdb.base/constvars.exp: Replace references to gcc_compiled with
1296 calls to test_compiler_info.
1297
9a77938e
MC
12982003-11-27 Michael Chastain <mec.gnu@mindspring.com>
1299
1300 Partial fix for PR testsuite/1456.
1301 * gdb.base/volatile.exp: Replace references to gcc_compiled with
1302 calls to test_compiler_info.
1303
e8367dc7
MK
13042003-11-27 Mark Kettenis <kettenis@gnu.org>
1305
1306 * gdb.base/structs.exp: Use i*86-*-* instead of i686-*-* as a
1307 pattern for the KFAILs.
1308
526c61ee
AF
13092003-11-25 Adam Fedor <fedor@gnu.org>
1310
1311 * gdb.objc/objcdecode.exp: Test for PR objc/1238.
1312 * gdb.objc/objcdecode.m: New file.
1313
28f2d600
AF
13142003-11-25 Adam Fedor <fedor@gnu.org>
1315
1316 * gdb.objc/nondebug.exp: Test for PR objc/1236.
1317 * gdb.objc/nondebug.m: New file.
1318
a3895cee
BE
13192003-11-26 Ben Elliston <bje@wasabisystems.com>
1320
1321 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
1322 NetBSD as it does on FreeBSD. Modelled on a similar change by
1323 Mark Kettenis on 2003-05-30.
1324 (link-flags): Set to "--entry _start" regardless of target.
1325 Special linker flags are to be appended to $link-flags.
1326 * gdb.asm/mips.inc (gdbasm_startup): Remove __start label.
1327
c9f2c8a3
MC
13282003-11-25 Michael Chastain <mec.gnu@mindspring.com>
1329
1330 * gdb.cp/method.exp: Accept output of new demangler.
1331
15a0587a 13322003-11-25 Michael Chastain <mec.gnu@mindspring.com>
f4e8b6f3
MC
1333
1334 * gdb/class2.exp: New file.
1335 * gdb/class2.cc: New file.
1336
3c00b570
MC
13372003-11-25 Michael Chastain <mec.gnu@mindspring.com>
1338
1339 * gdb.cp/templates.exp (test_ptype_of_templates): Accept output
1340 of new demangler.
1341
7027acc7
MK
13422003-11-23 Mark Kettenis <kettenis@gnu.org>
1343
1344 * gdb.arch/i386-unwind.exp: Use gdb_run_cmd and gdb_expect instead
1345 of gdb_test "run".
1346
b0e1598a
MK
13472003-11-23 Mark Kettenis <kettenis@gnu.org>
1348
1349 * gdb.arch/i386-unwind.exp: Don't use runto_main. Change
1350 "continue" into "run".
1351
4d9eda44
MC
13522003-11-23 Michael Chastain <mec.gnu@mindspring.com>
1353
1354 Partial fix for PR testsuite/1456.
1355 * gdb.cp/ambiguous.exp: Replace reference to gcc_compiled with
1356 call to test_compiler_info.
1357 * gdb.cp/ctti.exp: Likewise.
1358 * gdb.cp/derivation.exp: Likewise.
1359 * gdb.cp/member-ptr.exp: Likewise.
1360 * gdb.cp/virtfunc.exp (test_virtual_calls): Remove unused
1361 reference to gcc_compiled.
1362
13632003-11-23 Michael Chastain <mec.gnu@mindspring.com>
b729099e
MC
1364
1365 Fix PR testsuite/1463.
1366 * gdb.base/structs.exp (start_structs_test): Call
1367 get_debug_format before using the debug format.
1368
d422fe19
AC
13692003-11-22 Andrew Cagney <cagney@redhat.com>
1370
1371 * lib/gdb.exp (gdb_test_multiple): Add simple example.
1372 * gdb.base/structs.exp: Use gdb_test_multiple.
1373
039cf96d
AC
13742003-11-20 Andrew Cagney <cagney@redhat.com>
1375
6882279b
AC
1376 * gdb.base/structs.exp: Handle and recover from internal errors.
1377 Replace "foo${n}" with "foo<n>" in test messages.
1378
e53890ae
AC
1379 * gdb.base/structs.exp: Update copyright. Rewrite.
1380 * gdb.base/structs.c: Update copyright. Rewrite.
1381
2b211c59
AC
1382 * lib/gdb.exp (gdb_internal_error_resync): Issue a perror when the
1383 resync count exceeded.
d63a86f8 1384
039cf96d
AC
1385 * gdb.base/maint.exp: Use gdb_internal_error_resync to recover
1386 from the internal error.
1387 * lib/gdb.exp (gdb_internal_error_resync): New procedure.
1388 Original from Jim Blandy.
1389 (gdb_test_multiple): Use gdb_internal_error_resync.
2b211c59 1390
eac98b22
AC
13912003-11-19 Andrew Cagney <cagney@redhat.com>
1392
1393 * gdb.base/callfuncs.exp: Change the XFAILed descriptor test to a
1394 KFAIL.
1395
67455b2a
MK
13962003-11-17 Mark Kettenis <kettenis@gnu.org>
1397
1398 New testcase for PR backtrace/1435.
1399 * gdb.arch/i386-unwind.exp: New file.
1400 * gdb.arch/i386-unwind.c: New file.
1401
853d6e5b
AC
14022003-11-17 Andrew Cagney <cagney@redhat.com>
1403
1404 * lib/gdb.exp (compiler_info): New global.
1405 (test_compiler_info): New function.
1406 (get_compiler_info): Set compiler_info.
1407 * lib/compiler.c, lib/compiler.cc: Add copyright. When GNUC, set
1408 "compiler_info" to gcc-<major>-<minor>.
1409
38cf6e11
MC
14102003-11-15 Michael Chastain <mec.gnu@mindspring.com>
1411
1412 * gdb.trace/configure: Remove.
1413
a50d3602
EZ
14142003-11-13 Elena Zannoni <ezannoni@redhat.com>
1415
1416 * gdb.base/break.c: Add comments to aid finding line numbers for
d63a86f8 1417 breakpoints.
a50d3602
EZ
1418 * gdb.base/break.exp: Remove all references to explicit line
1419 numbers.
1420
d9407aaa
NC
14212003-11-11 Nick Clifton <nickc@redhat.com>
1422
1423 * gdb.base/shreloc.exp: Do not run for targets which do not
1424 support shared objects.
1425
db488fc1
CV
14262003-11-10 Corinna Vinschen <vinschen@redhat.com>
1427
1428 * gdb.base/fileio.exp: Drop tests for nointerrupts and noinferiorio.
1429 Don't run tests if nofileio flag is given.
1430
6a90a18e
EZ
14312003-11-07 Elena Zannoni <ezannoni@redhat.com>
1432
1433 * gdb.cp/annota3.exp: Make sure we can match 'Hardware watchpoint'
1434 as well as 'Watchpoint'.
1435
0b915e9c
EZ
14362003-11-06 Elena Zannoni <ezannoni@redhat.com>
1437
1438 Reported by Jim Ingham <jingham@apple.com>:
1439 * gdb.base/annota1.exp: Match at least one occurrence of the
1440 signal handler annotation.
1441
d7e4b55f
EZ
14422003-11-06 Elena Zannoni <ezannoni@redhat.com>
1443
1444 * gdb.cp/annota2.exp: Make sure we can match 'Hardware watchpoint'
1445 as well as 'Watchpoint'.
1446
2fe4e8d0
MC
14472003-11-05 Michael Chastain <mec@shout.net>
1448
1449 * gdb.mi/pthreads.c (routine): Handle early return from sleep.
1450
6ef88553
KW
14512003-11-03 Kris Warkentin <kewarken@qnx.com>
1452
1453 * gdb.arch/gdb1291.c: New test file.
1454 * gdb.arch/gdb1291.exp: New test script.
1455 * gdb.arch/gdb1431.c: New test file.
1456 * gdb.arch/gdb1431.exp: New test script.
1457
ae7dc4d8
MC
14582003-10-22 Michael Chastain <mec@shout.net>
1459
1460 * gdb.mi/pthreads.c: Add copyright notice.
1461
c39d7427
MC
14622003-10-22 Michael Chastain <mec@shout.net>
1463
1464 * gdb.threads/pthreads.c: Add copyright notice.
1465
8b7d96c1
MC
14662003-10-20 Michael Chastain <mec@shout.net>
1467
1468 * gdb.base/gdb1056.exp: New test script.
1469
d1d69fdd
DJ
14702003-10-13 Daniel Jacobowitz <drow@mvista.com>
1471
1472 * gdb.threads/killed.exp: Use gdb_run_cmd.
1473
7d605576
DJ
14742003-10-13 Daniel Jacobowitz <drow@mvista.com>
1475
1476 * gdb.base/gcore.exp: Issue an UNSUPPORTED and exit if we can't
1477 create a core file.
1478 * gdb.threads/gcore-thread.exp: Likewise.
1479
618ec112
CV
14802003-10-13 Corinna Vinschen <vinschen@redhat.com>
1481
1482 * gdb.base/call-rt-st.c (struct bit_flags_char_t): New bitfield
1483 type, based on char type.
1484 (struct bit_flags_short_t): New bitfield type, based on short type.
1485 (init_bit_flags_char): New fuction.
1486 (init_bit_flags_short): Ditto.
1487 (print_bit_flags_char): Ditto.
1488 (print_bit_flags_short): Ditto.
1489 (main): Add handling for bit_flags_char_t and bit_flags_short_t.
1490
9367a73c
MC
14912003-10-11 Michael Chastain <mec@shout.net>
1492
1493 * gdb.base/call-rt-st.exp: Update copyright year.
1494
1decf120
KI
14952003-10-10 Kei Sakamoto <sakamoto.kei@renesas.com>
1496
1497 * config/hmsirom.exp: Replace "Hitachi" with "Renesas".
1498 * gdb.disasm/sh3.s: Ditto.
1499
5445b2ae
DJ
15002003-10-07 Daniel Jacobowitz <drow@mvista.com>
1501
1502 * gdb.threads/switch-threads.exp: New test.
1503 * gdb.threads/switch-threads.c: New source file.
1504
aec24853
CV
15052003-10-07 Corinna Vinschen <vinschen@redhat.com>
1506
1507 * gdb.base/ending-run.exp: Add sh specific case.
1508
adc7428d
AC
15092003-10-06 Andrew Cagney <cagney@redhat.com>
1510
1511 * gdb.base/watchpoint.exp: Delete obsolete clear_xfail.
1512 * gdb.disasm/mn10200.exp: Delete obsolete file.
1513
c9d37158
DJ
15142003-09-29 Daniel Jacobowitz <drow@mvista.com>
1515
1516 * ChangeLog: Correct an entry command.exp -> commands.exp.
1517 * gdb.base/commands.exp (bp_deleted_in_command_test)
1518 (temporary_breakpoint_commands): Check noargs.
1519
79c2c32d
DC
15202003-09-25 David Carlton <carlton@kealia.com>
1521
1522 * gdb.cp/namespace.exp: Tweak comments. Add non-quoted versions
1523 of some print tests, where appropriate. Add tests for C::D::cd,
1524 E::ce, F::cXfX, G::XgX.
1525 * gdb.cp/namespace.cc: Add XgX, cXfX, ce.
1526
594e6d67
RE
15272003-09-25 Richard Earnshaw <rearnsha@arm.com>
1528
1529 * lib/java.exp (java_init): Import target_alias before using it.
1530
10f0d451
DC
15312003-09-25 David Carlton <carlton@kealia.com>
1532
1533 * gdb.base/corefile.exp: Delete obsolete setup_xfail.
1534
274bcba0
EZ
15352003-09-23 Elena Zannoni <ezannoni@redhat.com>
1536
d63a86f8 1537 * gdb.base/selftest.exp: Accomodate more instruction reordering
274bcba0
EZ
1538 weirdness.
1539
cdbf20f7
MC
15402003-09-17 Michael Chastain <mec@shout.net>
1541
1542 * gdb.cp/gdb1355.exp: New file.
1543 * gdb.cp/gdb1355.c: New file.
1544
71e06f80
CV
15452003-09-15 Corinna Vinschen <vinschen@redhat.com>
1546
1547 * gdb.asm/asm-source.exp: Add sh*-*-* as supported target.
1548 * gdb.asm/sh.inc: New file.
1549
5c4e30ca
DC
15502003-09-11 David Carlton <carlton@kealia.com>
1551
bd45b7af
DC
1552 * gdb.cp/namespace.exp: Add tests for namespace types.
1553 * gdb.cp/maint.exp (test_help): Test 'help maint cp namespace'.
5c4e30ca
DC
1554 (test_namespace): New.
1555
1c199746
EZ
15562003-09-11 Elena Zannoni <ezannoni@redhat.com>
1557
1558 * gdb.base/relocate.exp: Handle new gdb output at startup.
3fcf0ced 1559 * gdb.stabs/weird.exp: Ditto.
1c199746 1560
04ed252f
MC
15612003-09-08 Michael Chastain <mec@shout.net>
1562
1563 * gdb.base/gdb1250.c: Rename 'gamma' to 'my_gamma'.
1564
d8a2d9e7
MC
15652003-09-07 Michael Chastain <mec@shout.net>
1566
1567 * gdb.cp/classes.exp: Accommodate both 'syntax error' and
1568 'parse error'.
1569
161afb24
MK
15702003-09-07 Mark Kettenis <m.kettenis@osp.nl>
1571
1572 * gdb.arch/i386-prologue.exp: Add checks for saved registers.
1573
49f2741a
MC
15742003-08-30 Michael Chastain <mec@shout.net>
1575
1576 * gdb.base/selftest.exp: Remove support for m68k*-*-hpux.
1577 * gdb.gdb/observer.exp: Ditto.
1578 * gdb.gdb/xfullpath.exp: Ditto.
1579
8afa723e
MK
15802003-08-29 Mark Kettenis <kettenis@gnu.org>
1581
1582 * gdb.base/interrupt.exp: XFAIL "call function when asleep" for
1583 *-*-*bsd*.
1584
f31dfe3b
JJ
15852003-08-28 Jeff Johnston <jjohnstn@redhat.com>
1586
1587 * gdb.base/dump.exp: Skip for ia64.
1588
4630e498
JJ
15892003-08-25 Jeff Johnston <jjohnstn@redhat.com>
1590
1591 * gdb.asm/asm-source.exp: Add ia64 support.
1592 * gdb.asm/ia64.inc: New file.
1593
1105b7ef
MC
15942003-08-22 Michael Chastain <mec@shout.net>
1595
1596 * gdb.cp: New directory.
1597 * gdb.cp/*: Copy from gdb.c++/*.
1598 * gdb.c++/*: Remove.
1599 * Makefile.in: Change gdb.c++ to gdb.cp.
1600 * configure.in: Ditto.
1601 * configure: Regnerate.
1602
c945b932
MK
16032003-08-18 Mark Kettenis <kettenis@gnu.org>
1604
1605 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1338.
1606 * gdb.arch/i386-prologue.c (gdb1338): Add function.
1607
2b66634b
DJ
16082003-08-17 Daniel Jacobowitz <drow@mvista.com>
1609
1610 * mi-var-display.exp (-var-list-children weird): Accept function
1611 pointers with argument types.
1612 * mi1-var-display.exp (-var-list-children weird): Likewise.
1613 * mi2-var-display.exp (-var-list-children weird): Likewise.
1614
a356f73b
DJ
16152003-08-17 Daniel Jacobowitz <drow@mvista.com>
1616
1617 * gdb.base/annota3.exp: Add missing newline.
1618
483417b8
MC
16192003-08-06 Michael Chastain <mec@shout.net>
1620
1621 * gdb.java/jmisc1.exp: Add test for pr gdb/1322.
1622
c99c59c3
MS
16232003-08-12 Michael Snyder <msnyder@redhat.com>
1624
1625 * gdb.base/float.exp: Add test for SH.
1626
55ed7501
MK
16272003-08-10 Mark Kettenis <kettenis@gnu.org>
1628
1629 * gdb.arch/i386-prologue.c, gdb.arch/i386-prologue.exp: New files.
1630
1a371f2e
EZ
16312003-08-07 Elena Zannoni <ezannoni@redhat.com>
1632
1633 * gdb.base/completion.exp: Remove reduntant completion test
1634 on filename.
1635
e0f353ce
EZ
16362003-08-07 Elena Zannoni <ezannoni@redhat.com>
1637
1638 * gdb.base/attach.exp, gdb.base/detach.exp, gdb.base/gcore.exp,
1639 gdb.mi/mi-basics.exp, gdb.threads/gcore-thread.exp,
1640 gdb.trace/save-trace.exp: Make sure that full pathnames are
1641 escaped correctly.
1642
5710a1af 16432003-08-07 Elena Zannoni <ezannoni@redhat.com>
d63a86f8 1644
5710a1af
EZ
1645 * configure.in: Don't generate config.h from config.hin.
1646 * configure: Regenerate.
1647 * config.hin: Remove file.
1648 * gdb.mi/pthreads.c: Remove include of config.h, and other ifdefs.
1649 * gdb.threads/pthreads.c: Ditto.
1650
dcd81ce9
DJ
16512003-08-07 Daniel Jacobowitz <drow@mvista.com>
1652
1653 From Kei Sakamoto <sakamoto.kei@renesas.com>:
1654 * gdb.asm/asm-source.exp : Add -lgloss to link-flags.
1655 * gdb.asm/m32r.inc : Remove an illegal nop after bl instruction.
1656 Replace ld24 with seth/add3.
1657
6009d884
AC
16582003-08-02 Andrew Cagney <cagney@redhat.com>
1659
1660 * gdb.base/annota3.exp: New file.
1661 * gdb.base/annota3.c: New file.
1662 * gdb.c++/annota3.exp: New file.
1663 * gdb.c++/annota3.cc: New file.
1664
51514e06
MC
16652003-07-29 Michael Chastain <mec@shout.net>
1666
1667 * gdb.threads/tls.c (spin): Check errno only if sem_wait
1668 actually failed.
1669 (do_pass): Likewise.
1670 * gdb.threads/tls.exp: Always initialize no_of_threads.
1671
4ee6625b
DJ
16722003-07-27 Daniel Jacobowitz <drow@mvista.com>
1673
1674 * gdb.threads/print-threads.exp (test_all_threads): Loosen KFAIL
1675 pattern.
1676 * gdb.threads/tls-shared.exp: Don't use gdb_suppress_entire_file.
1677 * gdb.threads/tls.exp: Recognize one case of the host library not
1678 supporting TLS.
1679
225f2bf6
AC
16802003-07-27 Andrew Cagney <cagney@redhat.com>
1681
1682 * gdb.base/fileio.exp: Use SH when running commands using
1683 remote_exec.
1684
bcb27c9f
DJ
16852003-07-24 Daniel Jacobowitz <drow@mvista.com>
1686
1687 From Kei Sakamoto <sakamoto.kei@renesas.com>:
1688 * gdb.base/relocate.c (dummy): New padding array.
1689
3d67be83
MS
16902003-07-22 Michael Snyder <msnyder@redhat.com>
1691
d63a86f8 1692 * gdb.disasm/8300s.s: Fix syntax of bsr insn.
3d67be83
MS
1693
1694 * gdb.disasm/h8300s.exp : Minor changes in disassembler output require
1695 patterns to be more general, accepting old and new output.
1696 Some output chars (such as '+') also must be quoted.
d63a86f8 1697 Some addresses are displayed numerically instead of
3d67be83
MS
1698 symbolically.
1699
57ba3b85
MS
17002003-07-23 Michael Snyder <msnyder@redhat.com>
1701
686d097c
MS
1702 * gdb.base/return2.exp: Don't test long-long return.
1703
57ba3b85
MS
1704 * gdb.disasm/t01_mov.s: New file, h8300sx disassembly tests.
1705 * gdb.disasm/t01_mov.exp: Ditto.
1706 * gdb.disasm/t02_mova.s: Ditto.
1707 * gdb.disasm/t02_mova.exp: Ditto.
1708 * gdb.disasm/t03_add.s: Ditto.
1709 * gdb.disasm/t03_add.exp: Ditto.
1710 * gdb.disasm/t04_sub.s: Ditto.
1711 * gdb.disasm/t04_sub.exp: Ditto.
1712 * gdb.disasm/t05_cmp.s: Ditto.
1713 * gdb.disasm/t05_cmp.exp: Ditto.
1714 * gdb.disasm/t06_ari2.s: Ditto.
1715 * gdb.disasm/t06_ari2.exp: Ditto.
1716 * gdb.disasm/t07_ari3.s: Ditto.
1717 * gdb.disasm/t07_ari3.exp: Ditto.
1718 * gdb.disasm/t08_or.s: Ditto.
1719 * gdb.disasm/t08_or.exp: Ditto.
1720 * gdb.disasm/t09_xor.s: Ditto.
1721 * gdb.disasm/t09_xor.exp: Ditto.
1722 * gdb.disasm/t10_and.s: Ditto.
1723 * gdb.disasm/t10_and.exp: Ditto.
1724 * gdb.disasm/t11_logs.s: Ditto.
1725 * gdb.disasm/t11_logs.exp: Ditto.
1726 * gdb.disasm/t12_bit.s: Ditto.
1727 * gdb.disasm/t12_bit.exp: Ditto.
1728 * gdb.disasm/t13_otr.s: Ditto.
1729 * gdb.disasm/t13_otr.exp: Ditto.
1730
e00759ef
EZ
17312003-07-22 Elena Zannoni <ezannoni@redhat.com>
1732
1733 * gdb.threads/tls.exp :Add kfail for 'info address' case.
1734
8bc2021f
EZ
17352003-07-22 Elena Zannoni <ezannoni@redhat.com>
1736
1737 * gdb.threads/tls.c : New file.
1738 * gdb.threads/tls.exp : New file.
1739 * gdb.threads/tls-main.c : New file.
1740 * gdb.threads/tls-shared.c : New file.
1741 * gdb.threads/tls-shared.exp : New file.
1742
89320c4c
AS
17432003-07-22 Andreas Schwab <schwab@suse.de>
1744
1745 * gdb.asm/powerpc.inc (gdbasm_startup): Force alignment.
1746
180dea7c
AS
17472003-07-20 Andreas Schwab <schwab@suse.de>
1748
1749 * gdb.base/selftest.exp (do_steps_and_nexts): Add more patterns
1750 due to insn reordering.
1751
0714963c
AC
17522003-07-15 Andrew Cagney <cagney@redhat.com>
1753
1754 * gdb.asm/asm-source.exp: Do not allow "start" in the backtrace.
1755
98a23b3f
MC
17562003-07-15 Michael Chastain <mec@shout.net>
1757
1758 * gdb.base/gdb1250.exp: New file.
1759 * gdb.base/gdb1250.c: New file.
1760
27e417a2
ML
17612003-07-09 Michal Ludvig <mludvig@suse.cz>
1762
1763 * gdb.c++/templates.exp (test_ptype_of_templates): Recognize
1764 expansion of size_t to 'unsigned long', not only to 'unsigned'.
1765
8bc2021f
EZ
17662003-07-09 Elena Zannoni <ezannoni@redhat.com>
1767
1768 * gdb.threads/tls.c: New file.
1769 * gdb.threads/tls.exp: New file.
1770 * gdb.threads/tls-main.c: New file.
1771 * gdb.threads/tls-shared.c: New file.
1772 * gdb.threads/tls-shared.exp: New file.
1773
d99968dc
EZ
17742003-07-09 Elena Zannoni <ezannoni@redhat.com>
1775
1776 * gdb.base/annota1.exp: Make sure that we properly escape the
1777 full path of the source file. Xfail more permissive patterns,
d63a86f8 1778 due to a compiler debug info problem.
d99968dc 1779
83876b3b
AS
17802003-07-07 Andreas Schwab <schwab@suse.de>
1781
2705e972
AS
1782 * gdb.asm/m68k.inc: New file.
1783 * gdb.asm/asm-source.exp: Use it for m68k-*-*.
1784
83876b3b
AS
1785 * gdb.objc/basicclass.exp ("Call an Objective-C method with no
1786 arguments"): Also match negative number.
1787
1788 * gdb.base/float.exp ("info float"): Add test for m68k-*-*.
1789
3a871b37
DJ
17902003-07-03 Daniel Jacobowitz <drow@mvista.com>
1791
1792 * gdb.base/store.c (charest): New typedef.
1793 (add_char): Rename to add_charest, update.
1794 (wack_char): Rename to wack_charest, update types. Return l + r
1795 to keep r live across the call.
1796 (wack_short, wack_int, wack_long, wack_longest, wack_float)
1797 (wack_double, wack_doublest): Return l + r to keep r live across
1798 the call.
1799 * gdb.base/store.exp: Accomodate store.c changes.
1800
b2a7f303
DC
18012003-06-30 David Carlton <carlton@kealia.com>
1802
1803 * gdb.c++/maint.exp (test_invalid_name): New.
1804 (test_first_component): Add tests for invalid names.
1805
3c6cb4a1
MC
18062003-06-29 Michael Chastain <mec@shout.net>
1807
1808 * gdb.c++/inherit.exp (test_print_svi_classes): Accept gdb
1809 output of '<VTT for class>' for virtual base classes.
1810
f1c2644b
DJ
18112003-06-29 Daniel Jacobowitz <drow@mvista.com>
1812
1813 * gdb.base/completion.exp: Tab-complete "complet" instead of
1814 "compl".
1815 * gdb.base/complex.exp, gdb.base/complex.c: New files.
1816
18080350
DJ
18172003-06-29 Daniel Jacobowitz <drow@mvista.com>
1818
1819 * gdb.base/constvars.exp: Remove most xfails for GCC 3.x.
1820 * gdb.base/volatile.exp: Likewise.
1821
f56973f8
DJ
18222003-06-29 Daniel Jacobowitz <drow@mvista.com>
1823
1824 * gdb.threads/print-threads.exp (test_all_threads): Add kfail for
1825 gdb/1265.
1826
18272003-06-28 Michael Chastain <mec@shout.net>
48fe539f
DJ
1828 Daniel Jacobowitz <drow@mvista.com>
1829
1830 * gdb.base/selftest.exp (do_steps_and_nexts): Increase maximum
1831 initial line count of 'captured_main' from 26 to 32.
1832 (test_with_self): Allow xmalloc call to be interleaved with the
1833 preceding two lines.
1834
e766d4d6
JB
18352003-06-24 Joel Brobecker <brobecker@gnat.com>
1836
1837 * gdb.base/bang.exp: New testcase.
1838
f125c9a4
JB
18392003-06-23 Joel Brobecker <brobecker@gnat.com>
1840
1841 * gdb.base/langs.exp: Add some tests for the "minimal" language
1842 support.
1843
6e25beaf
EZ
18442003-06-23 Elena Zannoni <ezannoni@redhat.com>
1845
1846 * gdb.objc/basicclass.exp: Return -1 if we cannot compile
1847 the testcase.
1848
2f816dda
DJ
18492003-06-22 Daniel Jacobowitz <drow@mvista.com>
1850
1851 * gdb.base/relocate.exp: Test add-symbol-file with a variable
1852 offset.
1853
db5a5748
DJ
18542003-06-22 Daniel Jacobowitz <drow@mvista.com>
1855
1856 * gdb.c++/pr-1210.cc: New file.
1857 * gdb.c++/pr-1210.exp: New file.
1858
1df0c130
DJ
18592003-06-21 Daniel Jacobowitz <drow@mvista.com>
1860
1861 * lib/mi-support.exp (mi_run_cmd): Expect an MI response to
1862 000-exec-continue.
1863
a92feac0
MK
18642003-06-15 Mark Kettenis <kettenis@gnu.org>
1865
1866 * gdb.base/attach.exp: Use -1 for the ID of a nonexistent process
1867 on *-*-*bsd* instead of *-*-freebsd*.
1868
81a58f5b
AC
18692003-06-14 Andrew Cagney <cagney@redhat.com>
1870
1871 * gdb.base/store.exp: Test longest and doublest. Test all
1872 parameters. Weaken return statement match.
1873 * gdb.base/store.c: Add longest and doublest - aka long long and
1874 long double functions. Put all parameters into local register
1875 variables. Use negative values.
1876
b257a0d3
AC
18772003-06-14 Andrew Cagney <cagney@redhat.com>
1878
1879 * gdb.base/fileio.c: Include <errno.h>, and <sys/wait.h>. Gag
1880 -Wformat errors. Add lost line. Use WEXITSTATUS to get system
1881 exit status.
1882 * gdb.base/fileio.exp: Disable target when nointerrupts and
1883 noinferiorio, instead of limiting it to remote. Use remote_exec
1884 instead of system.
d63a86f8 1885
21c38304
JJ
18862003-06-12 Jeff Johnston <jjohnstn@redhat.com>
1887
1888 * gdb.base/float.exp: Add ia64 support.
1889
1bcdb424
CV
18902003-06-12 Corinna Vinschen <vinschen@redhat.com>
1891
1892 * gdb.base/fileio.exp: Run only on remote targets.
1893
6aeb981f
CV
18942003-06-10 Corinna Vinschen <vinschen@redhat.com>
1895
1896 * gdb.base/fileio.c: New file, testing File-I/O.
1897 * gdb.base/fileio.exp: Ditto.
1898
53df362e
RG
18992003-06-09 Raoul Gough <RaoulGough@yahoo.co.uk>
1900
1901 * gdb.base/shreloc.exp: New file, check symbol values obtained from
1902 shared objects after relocation at load time (gdb PR/1132).
1903 * gdb.base/shreloc.c, gdb.base/shreloc1.c, gdb.base/shreloc2.c:
1904 as above, part of the shared object relocation test.
1905
ffee1b46
MK
19062003-06-08 Mark Kettenis <kettenis@gnu.org>
1907
b5ca3722
MK
1908 * gdb.base/readline.exp: Add tests for operate-and-get-next with a
1909 fully filled history list.
1910 * gdb.base/gdb_history: New file.
1911
03ed860d
MK
1912 * gdb.base/signals.exp: XFAIL "continue to func1" on
1913 i*86-*-freebsd*.
1914
ffee1b46
MK
1915 * gdb.base/attach.exp: When trying to attach to a nonexistent
1916 process, make it possible to specify the PID based on the target,
1917 and do so for *-*-freebsd*.
1918
d80dbb52
RH
19192003-06-02 Richard Henderson <rth@redhat.com>
1920
1921 * gdb.base/float.exp: Add expected regexp for alpha-*-*.
1922
6dd77b81
RH
19232003-06-02 Richard Henderson <rth@redhat.com>
1924
1925 * gdb.base/selftest.exp: Next over lim_at_start initialization.
1926
f6347e16
RH
19272003-06-02 Richard Henderson <rth@redhat.com>
1928
1929 * gdb.base/dump.exp [alpha*-*-*]: Add -taso linker switch.
1930
2c161407
DJ
19312003-06-01 Daniel Jacobowitz <drow@mvista.com>
1932
1933 * gdb.asm/asm-source.exp: Dissassemble from &globalvar instead
1934 of globalvar.
1935
572eb746
MK
19362003-06-01 Mark Kettenis <kettenis@gnu.org>
1937
1938 * gdb.asm/asm-source.exp: Check for memory read errors in
1939 disassembler test on *BSD too.
1940
9e9617a5
RH
19412003-06-01 Richard Henderson <rth@redhat.com>
1942
1943 * gdb.asm/alpha.inc (gdbasm_enter): Use numeric register names
1944 for .frame.
1945 (gdbasm_call): Lose ldgp.
1946 (gdbasm_startup): Add frame information.
1947 * gdb.asm/asm-source.exp (alpha*-*): Add -no-mdebug to asm-flags.
1948
7b34ad4e
MK
19492003-05-31 Mark Kettenis <kettenis@gnu.org>
1950
1951 * gdb.base/float.exp: Expect similar output for x86_64-*-* as for
1952 i?86-*-*.
1953
10059fdf
MK
19542003-05-30 Mark Kettenis <kettenis@gnu.org>
1955
1956 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
1957 FreeBSD.
1958
acf4b816
RH
19592003-05-29 Richard Henderson <rth@redhat.com>
1960
1961 * gdb.asm/alpha.inc: New file.
1962 * gdb.asm/asm-source.exp: Use it.
1963
e9ecd949
JB
19642003-05-29 Jim Blandy <jimb@redhat.com>
1965
1966 * gdb.base/corefile.exp: Find corefiles on Linux, which names them
1967 'core.PID'.
1968
e3e5a4f3
JB
19692003-05-22 Jim Blandy <jimb@redhat.com>
1970
1971 * gdb.base/corefile.exp: Tolerate stuff after argument parens in
1972 backtrace.
d63a86f8 1973
72fe3d25
DC
19742003-05-20 David Carlton <carlton@math.stanford.edu>
1975
1976 * gdb.c++/namespace1.cc: Actually do 'cvs add' before committing
1977 this time.
1978
58da2eb2
DC
19792003-05-19 David Carlton <carlton@bactrian.org>
1980
1981 * gdb.c++/rtti.exp: New file, containing tests for PR c++/488.
1982 * gdb.c++/rtti.h, gdb.c++/rtti1.cc, gdb.c++/rtti2.cc: Ditto.
1983
1fcb5155
DC
19842003-05-19 David Carlton <carlton@bactrian.org>
1985
1986 * gdb.c++/namespace.exp: Add namespace scope and anonymous
1987 namespace tests.
1988 Bump copyright date.
1989 * gdb.c++/namespace.cc: Add anonymous namespace and namespace C.
1990 (main): Call C::D::marker2.
1991 * gdb.c++/namespace1.cc: New file.
1992
85e85163
JJ
19932003-05-14 Jeff Johnston <jjohnstn@redhat.com>
1994
1995 Roland McGrath <roland@redhat.com>
d63a86f8 1996 * gdb.threads/linux-dp.exp: Account for fact that in nptl model
85e85163
JJ
1997 there is no manager thread.
1998
a25fbfec
JJ
19992003-05-08 Jeff Johnston <jjohnstn@redhat.com>
2000
d63a86f8
RM
2001 * gdb.threads/schedlock.exp: Remove assumption that all threads
2002 will run in a particular small time slice. Also ensure we break
a25fbfec
JJ
2003 in one of the child threads rather than the main thread.
2004
be375bae
JB
20052003-05-07 Jim Blandy <jimb@redhat.com>
2006
09bf6082
JB
2007 Add support for assembly source testing on the s390x.
2008 * gdb.asm/asm-source.exp: Add a case for the s390x-*-*
2009 architecture.
2010 * gdb.asm/s390x.inc: New file.
2011
be375bae
JB
2012 * gdb.asm/asm-source.exp: Use a 'switch -glob' statement, not a
2013 succession of 'if' statements.
2014
00905d52
AC
20152003-05-05 Andrew Cagney <cagney@redhat.com>
2016
2017 * gdb.base/maint.exp: Add tests for "maint print dummy-frames".
2018
b1e29e33
AC
20192003-05-05 Andrew Cagney <cagney@redhat.com>
2020
2021 * gdb.base/watchpoint.exp: Rename CALL_DUMMY_BREAKPOINT_OFFSET to
2022 DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET in comments.
2023
e33d66ec
EZ
20242003-05-02 Elena Zannoni <ezannoni@redhat.com>
2025
2026 * gdb.base/charset.exp: Update based on new behavior of set/show
2027 charset commands.
2028
2b6fd0d8
AC
20292003-05-01 Andrew Cagney <cagney@redhat.com>
2030
2031 * gdb.asm/asm-source.exp: Check that "disassm" and "x/i" of a
2032 variable do not give memory errors.
2033
130cacce
AF
20342003-04-30 Adam Fedor <fedor@gnu.org>
2035
2036 * Makefile.in (ALL_SUBDIRS): Add gdb.objc
2037 * configure.in (AC_OUTPUT): Add gdb.objc/Makefile
2038 * gdb.objc/Makefile.in, gdb.objc/basicclass.exp,
2039 gdb.objc/basicclass.m: : New files
2040
2041 * lib/gdb.exp (gdb_compile_objc): New procedure.
2042
bea71854
DJ
20432003-04-27 Daniel Jacobowitz <drow@mvista.com>
2044
2045 * gdb.base/signals.exp: Make backtrace tests more specific.
2046
0f20eeea
DC
20472003-04-23 David Carlton <carlton@bactrian.org>
2048
2049 * gdb.c++/maint.exp (test_first_component): Add tests for
2050 'operator' in more locations.
2051
c8c4d8dc
KB
20522003-04-16 Kevin Buettner <kevinb@redhat.com>
2053
2054 * gdb.base/args.exp: Invoke gdb_load for simulator targets.
2055
3fe60e3c
EZ
20562003-04-16 Elena Zannoni <ezannoni@redhat.com>
2057
2058 * gdb.base/completion.exp: Make 'info func mark' complete on 'info
2059 func marke' instead. Update test name.
2060
9219021c
DC
20612003-04-15 David Carlton <carlton@math.stanford.edu>
2062
2063 * gdb.c++/maint.exp: New file.
2064
5dd55bdd
EZ
20652003-04-14 Elena Zannoni <ezannoni@redhat.com>
2066
2067 * gdb.threads/schedlock.c: Change type of thread function argument
2068 to long, to avoid warnings on 64-bit platforms.
2069
00890572
EZ
20702003-04-14 Elena Zannoni <ezannoni@redhat.com>
2071
2072 * gdb.base/attach.exp: Add new message from ptrace in case of
2073 attaching to nonexistent process.
d63a86f8 2074
93201743
JB
20752003-04-11 Jim Blandy <jimb@redhat.com>
2076
2077 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
2078 gdb.c++/userdef.cc: Place comments on the lines to which the
2079 marker function might return.
2080 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
2081 gdb.c++/userdef.exp: Look for those comments to check that we've
2082 returned to the right place, instead of checking line numbers.
2083
2a11c64d
EZ
20842003-04-11 Elena Zannoni <ezannoni@redhat.com>
2085
2086 * gdb.threads/pthreads.exp (test_startup): When setting a breakpoint
2087 match on sourcefile name, instead of directory name.
2088
68ab8fc5
EZ
20892003-04-10 Elena Zannoni <ezannoni@redhat.com>
2090
d63a86f8 2091 * gdb.base/completion.exp: Use string_to_regexp to match the
68ab8fc5
EZ
2092 working directory name.
2093
5624293a
JB
20942003-04-09 Jim Blandy <jimb@redhat.com>
2095
2096 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
2097 gdb.c++/userdef.exp: If GDB fails to restore the selected frame
2098 after an inferior function call, report the failure, but allow the
2099 test to continue.
2100
f1f02ee4
SC
21012003-04-05 Stephane Carrez <stcarrez@nerim.fr>
2102
2103 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
2104 with -DPROTOTYPES.
2105
6eb79af0
SC
21062003-04-05 Stephane Carrez <stcarrez@nerim.fr>
2107
2108 * gdb.base/break.exp: Revert last patch.
2109
8dfb4cf0
SC
21102003-04-04 Stephane Carrez <stcarrez@nerim.fr>
2111
2112 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
2113 with -DPROTOTYPES.
2114
ed4c619a
AC
21152003-04-02 Andrew Cagney <cagney@redhat.com>
2116
2117 * gdb.base/callfuncs.exp: Make "print add" messages unique.
2118 * gdb.base/ending-run.exp: Put spaces around "breakpoint" to stop
2119 matching directories by the name breakpoint.
2120 * gdb.base/pointers.exp: Make "ptype pppC" message consistent.
2121 Make "continue to marker1" consistent.
2122 * gdb.base/call-rt-st.exp: Make "finish out from loop_count"
2123 message consistent.
2124 * lib/gdb.exp: Put "the program is no longer running", and "the
2125 program exited" in parenthesis.
2126 * lib/mi-support.exp: Ditto.
d63a86f8 2127
4e35d5f0 21282003-04-02 Bob Rossi <bob_rossi@cox.net>
d63a86f8 2129
4e35d5f0
BR
2130 * gdb.mi/mi-file.exp: New file for -file-list-exec-source-file.
2131
71900fe8
AC
21322003-03-29 Andrew Cagney <cagney@redhat.com>
2133
2134 * gdb.base/sizeof.c (main): Print the value of '\377'.
2135 * gdb.base/sizeof.exp: Check the sign of '\377'.
2136
c0655a16
MC
21372003-03-27 Michael Chastain <mec@shout.net>
2138
2139 * gdb.base/gdb1090.exp: New file.
2140 * gdb.base/gdb1090.cc: New file.
2141
5b2a3989
JB
21422003-03-27 J. Brobecker <brobecker@gnat.com>
2143
2144 * gdb.gdb/observer.exp: New regression test.
2145
79876890
MC
21462003-03-27 Michael Chastain <mec@shout.net>
2147
2148 * gdb.base/list.exp: Remove setup_xfail_format for DWARF 1.
2149 * gdb.base/ptype.exp: Likewise.
2150
6eac95e3
CV
21512003-03-27 Corinna Vinschen <vinschen@redhat.com>
2152
2153 * gdb.c++/casts.exp: Fix startup to run also on embedded targets.
2154
e8c71839
MC
21552003-03-26 Michael Chastain <mec@shout.net>
2156
2157 * gdb.base/ptype.exp: Actually use some typedef'd types.
2158
71b10041
SC
21592003-03-21 Stephane Carrez <stcarrez@nerim.fr>
2160
2161 * gdb.asm/asm-source.exp: Set asm-arch for m6811 and m6812.
2162 * gdb.asm/m68hc11.inc: New file for HC11/HC12 macros.
2163
2512cf80
CV
21642003-03-20 Corinna Vinschen <vinschen@redhat.com>
2165
2166 * gdb.base/default.exp: Fix regular expression.
2167
0d195a4f
CV
21682003-03-20 Corinna Vinschen <vinschen@redhat.com>
2169
2170 * gdb.base/args.exp: Fix regular expression.
2171
8a2dbca8
CV
21722003-03-20 Corinna Vinschen <vinschen@redhat.com>
2173
2174 * gdb.base/help.exp: Allow Win32 child process.
2175
bf028682
CV
21762003-03-20 Corinna Vinschen <vinschen@redhat.com>
2177
2178 * gdb.base/ending-run.exp: Check for Cygwin specific wrapper function
2179 when stepping out of main().
2180
182dbe85
CV
21812003-03-20 Corinna Vinschen <vinschen@redhat.com>
2182
2183 * gdb.base/default.exp: Check for win32 specific message when calling
2184 "run" without executable.
2185
d67a6ba5
CV
21862003-03-20 Corinna Vinschen <vinschen@redhat.com>
2187
2188 * gdb.base/args.exp: Expect .exe in output.
2189
a955b5bb
CV
21902003-03-20 Corinna Vinschen <vinschen@redhat.com>
2191
2192 * gdb.asm/asm-source.exp: Add appropriate --entry linker flag for
2193 Cygwin native.
2194
bf6bad4b
AC
21952003-03-17 Andrew Cagney <cagney@redhat.com>
2196
2197 From Elena Zannoni <ezannoni@redhat.com>. Test e500 abi and
2198 vector registes.
2199 * gdb.arch/e500-regs.c, gdb.arch/e500-regs.exp: New files.
2200 * gdb.arch/e500-abi.c, gdb.arch/e500-abi.exp: New files.
2201
293e9a31
DC
22022003-03-17 David Carlton <carlton@math.stanford.edu>
2203
2204 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): New
2205 test, for PR breakpoints/38.
2206 Call test_watchpoint_and_breakpoint.
2207 * gdb.base/watchpoint.c (func3): New function.
2208 (main): Call func3.
2209
5330f2db
DC
22102003-03-04 David Carlton <carlton@math.stanford.edu>
2211
2212 * gdb.c++/templates.exp (do_tests): Accept valid const in "print
2213 Garply<Garply<char> >:: garply".
2214 (test_ptype_of_templates): KFAIL "ptype T5<int>" and "ptype t5i"
2215 with respect to PR c++/1111; note also PR c++/1113.
2216 (test_template_breakpoints): KFAIL "constructor breakpoint" with
2217 respect to PR c++/1062.
2218 KFAIL "destructor breakpoint" with respect to PR c++/1112.
2219
6ece72da
DC
22202003-03-03 David Carlton <carlton@math.stanford.edu>
2221
2222 * gdb.c++/classes.exp (test_enums): KFAIL "ptype obj_with_enum"
2223 with respect to PR c++/57.
2224 KFAIL "print (ClassWithEnum::PrivEnum) 42" with respect to PR
2225 c++/826.
2226 Create "print ('ClassWithEnum::PrivEnum') 42"; KFAIL it with
2227 respect to PR c++/57.
2228
85ca1584
DC
22292003-03-03 David Carlton <carlton@math.stanford.edu>
2230
2231 * gdb.c++/templates.exp (do_tests): Convert the KFAILs with
2232 respect to PR c++/33 into FAILs.
2233
98e9c5b8
MC
22342003-03-03 Michael Chastain <mec@shout.net>
2235
7bedbf27
MC
2236 * configure.in: Update copyright years.
2237
22382003-03-03 Michael Chastain <mec@shout.net>
2239
2240 * Makefile.in: Update copyright years.
98e9c5b8 2241
f683e100
DC
22422003-02-28 David Carlton <carlton@math.stanford.edu>
2243
2244 * gdb.c++/classes.exp (test_ptype_class_objects): Accept it if we
2245 print class instead of struct and/or superfluous protection
2246 specifiers, as long as the resulting output is equivalent to the
2247 source code.
2248 Delete FIXME from end of messages on tests that don't need
2249 fixing.
2250
a9e0cf2c
DC
22512003-02-28 David Carlton <carlton@math.stanford.edu>
2252
2253 * gdb.c++/templates.exp (do_tests): Allow const in the two
2254 Foo<volatile char *>::foo tests.
2255
e8d359df
MS
22562003-02-27 Michael Snyder <msnyder@redhat.com>
2257
d63a86f8 2258 * gdb.base/restore.c (main): Return zero, so exit code
e8d359df
MS
2259 will be consistant.
2260
0b71dc91
DC
22612003-02-26 David Carlton <carlton@math.stanford.edu>
2262
2263 * gdb.c++/templates.exp (do_tests): KFAIL the "print Foo<volatile
2264 char *>::foo" test with respect to PR c++/33. Create a new test
2265 which is identical to that one except that it doesn't put the
2266 space between the "char" and the "*"; KFAIL it, too.
2267
dd14ab43
DC
22682003-02-26 David Carlton <carlton@math.stanford.edu>
2269
2270 * gdb.c++/templates.exp (do_tests): Convert XFAILs about printing
2271 template types into either PASSes or KFAILs (corresponding to PR
2272 c++/57). Tweak indentation. Update copyright.
2273
1146c7f1
SC
22742003-02-23 Stephane Carrez <stcarrez@nerim.fr>
2275
2276 * lib/gdb.exp: Don't execute C++ tests on m6811/m6812 targets.
2277
74641dfb
MC
22782003-02-13 Michael Chastain <mec@shout.net>
2279
2280 * gdb.base/exprs.exp: Remove i960 remnants.
2281 * gdb.base/funcargs.exp: Likewise.
2282 * gdb.base/list.exp: Likewise.
2283 * gdb.base/ptype.exp: Likewise.
2284
559cd2d0
DC
22852003-02-14 David Carlton <carlton@math.stanford.edu>
2286
2287 * gdb.c++/virtfunc.exp (test_virtual_calls): Change 'print
2288 pEe->D::vg()" from XFAIL to KFAIL.
2289
c4f90d87
JM
22902003-02-13 Jason Molenda (jmolenda@apple.com)
2291
2292 * gdb.base/maint.exp: Update maint print statistics regexp to include
2293 new entries.
2294
cbc4d97c
MC
22952003-02-13 Michael Chastain <mec@shout.net>
2296
2297 * gdb.c++/inherit.exp: Remove call to get_debug_format.
2298
40f235b7
MC
22992003-02-12 Michael Chastain <mec@shout.net>
2300
2301 * gdb.c++/classes.exp: Remove setup_xfail_format for DWARF 1.
2302 * gdb.c++/inherit.exp: Likewise.
2303 * gdb.c++/cplusfuncs.exp: Remove suppression logic for DWARF 1.
2304 * gdb.c++/templates.exp: Likewise.
2305 * gdb.c++/virtfunc.exp: Likewise.
2306
c56716b0
JM
23072003-02-06 Jason Molenda (jason-cl@molenda.com)
2308
2309 * gdb.mi/mi-syn-frame.c (subroutine): Add a comment explaining
2310 why the code is written that way.
2311
070afcf8
MC
23122003-02-05 Michael Chastain <mec@shout.net>
2313
2314 * gdb.base/dump.exp: Add missing copyright line.
2315
5d0331e5
JM
23162003-02-05 Jason Molenda (jason-cl@molenda.com)
2317
f7ae6d3e 2318 * gdb.mi/mi-syn-frame.c (subroutine): Add an extra statement
5d0331e5
JM
2319 at the beginning so the breakpoint doesn't get set on the loop.
2320
92851186
MC
23212003-02-05 Michael Chastain <mec@shout.net>
2322
2323 * gdb.c++/local.exp: Relax the test for PR gdb/825 to accept
2324 output for configurations with gcc 2.95.3.
2325
cbf1e085
AC
23262003-02-05 Keith Seitz <keiths@redhat.com>
2327 Andrew Cagney <ac131313@redhat.com>
2328
2329 * gdb.mi/mi-cli.exp: New file.
d63a86f8 2330
29518e1e
MC
23312003-02-04 Michael Chastain <mec@shout.net>
2332
2333 * gdb.c++/anon-union.exp: Do not call gdb_suppress_entire_file.
2334 Call perror and then continue.
2335
5af1d5f3
MC
23362003-02-03 Michael Chastain <mec@shout.net>
2337
2338 * gdb.c++/pr-1023.cc: New file.
2339 * gdb.c++/pr-1023.exp: New file.
2340
6b549786
JB
23412003-02-05 Jim Blandy <jimb@redhat.com>
2342
2343 * gdb.c++/local.exp: Don't expect Local to be in scope in main;
2344 it's local to foobar. Check for it there, and check that it's not
2345 present in main.
2346 * gdb.c++/local.cc (marker2): New function.
2347 (foobar): Call marker1.
2348 (main): Call marker2 instead of marker1.
2349
67f16606
AC
23502003-02-04 Andrew Cagney <ac131313@redhat.com>
2351
2352 * gdb.disasm/mn10200.exp: Obsolete file.
2353 * gdb.trace/Makefile.in (clean mostlyclean): Remove mn10200.
2354 * gdb.disasm/Makefile.in (clean mostlyclean): Remove mn10200.
2355 * gdb.base/watchpoint.exp: Mark the mn10200 xfails as obsolete.
2356
1c5cb38e
DC
23572003-02-04 David Carlton <carlton@math.stanford.edu>
2358
2359 * gdb.c++/overload.exp: Test intToChar(1).
2360 * gdb.c++/overload.cc (intToChar): New.
2361 (main): Call intToChar.
2362
d1fe6965
DC
23632003-02-03 David Carlton <carlton@math.stanford.edu>
2364
2365 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): Add
2366 'might_kfail' arg.
2367 KFAIL some of the continue_to_bp_overloaded calls, according to
2368 PR c++/1025.
2369
9ba61c5d
MC
23702003-02-01 Michael Chastain <mec@shout.net>
2371
2372 * gdb.base/advance.c (marker1): New marker function.
2373 * gdb.base/advance.exp: When the 'advance' command lands on the
2374 return breakpoint, it can legitimately stop on either the
2375 current line or the next line. Accommodate both outcomes.
2376 * gdb.base/until.exp: Likewise.
2377
e7494ffb
AC
23782003-02-02 Andrew Cagney <ac131313@redhat.com>
2379
2380 2002-11-10 Jason Molenda (jason-cl@molenda.com):
2381 * gdb.mi/mi-var-child.exp: -var-list-children's CHILDREN field is
2382 now a list, not a tuple.
2383 * gdb.mi/mi-var-display.exp: Ditto.
2384 * gdb.mi/gdb792.exp: Ditto.
2385
075559bc
AC
23862003-02-01 Andrew Cagney <ac131313@redhat.com>
2387
2388 From 2002-11-09 Jason Molenda (jason-cl@molenda.com):
2389 * gdb.mi/mi-syn-frame.exp: New tests for synthetic frames in
2390 stack backtraces.
2391 * gdb.mi/mi-syn-frame.c: Part of same.
2392
2bd4c7b1
MK
23932003-02-01 Mark Kettenis <kettenis@gnu.org>
2394
2395 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
2396 gdb.mi/mi1-pthreads.exp: Return instead of calling
2397 gdb_suppress_entire_file.
2398
eabd8992
MS
23992003-02-01 Mark Salter <msalter@redhat.com>
2400
2401 * gdb.asm/arm.inc (gdbasm_startup): Clear frame pointer, not sp.
2402
71469e2f
MS
24032003-01-31 Mark Salter <msalter@redhat.com>
2404
2405 * lib/mi-support.exp (mi_gdb_load): Support remote targets.
2406 Support empty arg.
2407
38a94d44
MC
24082003-01-30 Michael Chastain <mec@shout.net>
2409
2410 * lib/gdb.exp: Revert patch of 2003-01-06, which set LC_ALL.
2411 This was a workaround for a UTF-8 bug in readline 4.3. The bug
2412 has been fixed in gdb/readline on 2003-01-09.
2413
19ea9e73
MS
24142003-01-29 Michael Snyder <msnyder@redhat.com>
2415
e8d359df
MS
2416 * gdb.base/maint.exp: Allow for leading underscore in symbol.
2417 * gdb.base/display.exp: Allow for leading underscore in symbol.
19ea9e73
MS
2418 * gdb.base/args.exp: Skip if target does not support args passing.
2419
2307bd6a
DJ
24202003-01-22 Daniel Jacobowitz <drow@mvista.com>
2421
19ea9e73 2422 * lib/gdb.exp (gdb_test_multiple): New function, cloned from
2307bd6a
DJ
2423 gdb_test. Accept a list of expect arguments as the third
2424 parameter.
2425 (gdb_test): Use it.
2426
f2dd3617
EZ
24272003-01-20 Elena Zannoni <ezannoni@redhat.com>
2428
2429 * gdb.arch/altivec-abi.exp: Set variable 'srcfile' differently, to
2430 allow for different test tree configurations. Update some
2431 tescases accordingly.
2432 * gdb.arch/altivec-regs.exp: Ditto.
2433 * gdb.asm/asm-source.exp: Ditto.
2434 * gdb.base/advance.exp: Ditto.
2435 * gdb.base/display.exp: Ditto.
d63a86f8 2436 * gdb.base/long_long.exp: Ditto.
f2dd3617
EZ
2437 * gdb.base/mips_pro.exp: Ditto.
2438 * gdb.base/overlays.exp: Ditto.
2439 * gdb.base/relocate.exp: Ditto.
2440 * gdb.base/setshow.exp: Ditto.
2441 * gdb.base/step-line.exp: Ditto.
2442 * gdb.base/step-test.exp: Ditto.
2443 * gdb.base/until.exp: Ditto.
2444 * gdb.c++/virtfunc.exp: Get rid of variable 'src'.
2445
c71cdefd
DC
24462003-01-17 David Carlton <carlton@math.stanford.edu>
2447
2448 * gdb.c++/demangle.exp (test_lucid_style_demangling): KFAIL test
2449 corresponding to PR c++/945.
2450 Update copyright.
2451
fdba05d7
DC
24522003-01-17 David Carlton <carlton@math.stanford.edu>
2453
2454 * gdb.c++/inherit.exp (test_print_mi_members): KFAIL tests
2455 corresponding to PR c++/68.
2456
24572003-01-17 David Carlton <carlton@math.stanford.edu>
d2b29e01
DC
2458
2459 * gdb.c++/cplusfuncs.exp (print_addr_2_kfail): New procedure.
2460 (test_paddr_hairy_functions): Call print_addr_2_kfail for
2461 hairyfunc5 through hairyfunc7. KFAIL for PR c++/19.
2462
c362c33a
EZ
24632003-01-15 Elena Zannoni <ezannoni@redhat.com>
2464
0fbc361c
EZ
2465 * gdb.base/break.exp: Fix change of default location, because of
2466 removal of until tests.
2467 * gdb.base/help.exp: Update test for new 'until' help message.
2468 Add test for help on 'advance'.
c362c33a
EZ
2469 * gdb.base/args.exp: Fix foobar with GDBFLAGS global.
2470
dabf8a35
MK
24712003-01-15 Mark Kettenis <kettenis@gnu.org>
2472
2473 * gdb.base/default.exp: Adapt "info float" test for recent changes
2474 to that command. Add test for "info vector".
2475 * gdb.base/float.exp: New file. Add test for "info float" that
2476 resembles the old test in gdb.base/default.exp.
2477
a1769aca
DC
24782003-01-15 David Carlton <carlton@math.stanford.edu>
2479
2480 * gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot.
2481
82025e13
EZ
24822003-01-15 Elena Zannoni <ezannoni@redhat.com>
2483
2484 * gdb.base/break.exp: Move the tests of until command from here...
2485 * gdb.base/until.exp: ... to here. New file. Add other tests.
2486 * gdb.base/advance.c: New file.
2487 * gdb.base/advance.exp: New file.
2488
8f9ab801
EZ
24892003-01-14 Elena Zannoni <ezannoni@redhat.com>
2490
2491 * gdb.base/args.c: New file.
2492 * gdb.base/args.exp: New file.
2493
9ae66589
DJ
24942003-01-14 Daniel Jacobowitz <drow@mvista.com>
2495
2496 * gdb.c++/virtfunc.exp: Remove fixed XFAIL.
2497
8d77e5c3
DJ
24982003-01-14 Daniel Jacobowitz <drow@mvista.com>
2499
2500 * gdb.threads/killed.exp: Use KFAIL for gdb/568.
2501
12d2f0a1
DJ
25022003-01-14 Daniel Jacobowitz <drow@mvista.com>
2503
2504 * gdb.base/constvars.exp: Remove two extra XFAILs. Update copyright
2505 dates.
2506
6ca37014
DJ
25072003-01-13 Daniel Jacobowitz <drow@mvista.com>
2508
2509 * gdb.c++/printmethod.exp (print virtual method): Accept "(void)".
2510
b0023472
DJ
25112003-01-13 Daniel Jacobowitz <drow@mvista.com>
2512
2513 * gdb.base/printcmds.exp: Enable setup_kfail for gdb/538
2514 (ptype &*"foo").
2515 * gdb.c++/local.exp: Enable setup_kfail for gdb/482.
2516
d6abaea5
DJ
25172002-01-13 Daniel Jacobowitz <drow@mvista.com>
2518
2519 * gdb.mi/mi-console.exp: Remove extra "(known bug)".
2520 * gdb.mi/mi1-console.exp: Likewise.
2521
dfd536a7
DJ
25222002-01-13 Daniel Jacobowitz <drow@mvista.com>
2523
2524 * gdb.mi/mi-console.exp: Add KFAIL for "Hello message (known bug)".
2525 * gdb.mi/mi1-console.exp: Likewise.
2526
a1fb14a2
DJ
25272003-01-13 Daniel Jacobowitz <drow@mvista.com>
2528
2529 * gdb.c++/overload.exp: Remove some fixed XFAILs.
2530
c4cf40b7
DJ
25312003-01-09 Daniel Jacobowitz <drow@mvista.com>
2532
2533 * gdb.base/detach.exp: New test.
2534
696d5a5b
DJ
25352003-01-09 Daniel Jacobowitz <drow@mvista.com>
2536
2537 * Makefile.in (ALL_SUBDIRS): New variable.
2538 (subdirs, clean, distclean): Use it.
2539 * gdb.arch/Makefile.in: Clean up Makefile. Remove rules for
2540 regenerating Makefile, since it is generated from the top level.
2541 * gdb.asm/Makefile.in: Likewise.
2542 * gdb.base/Makefile.in: Likewise.
2543 * gdb.c++/Makefile.in: Likewise.
2544 * gdb.disasm/Makefile.in: Likewise.
2545 * gdb.java/Makefile.in: Likewise.
2546 * gdb.mi/Makefile.in: Likewise.
2547 * gdb.threads/Makefile.in: Likewise.
2548 * gdb.trace/Makefile.in: Likewise.
2549
754533e4
DC
25502003-01-09 David Carlton <carlton@math.stanford.edu>
2551
2552 * gdb.c++/annota2.exp: KFAIL "watch triggered on a.x".
2553 Add copyright year 2003.
2554
d8b3e9ee
MC
25552003-01-06 Michael Chastain <mec@shout.net>
2556
2557 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set):
2558 When selecting a thread, 'line' and 'file' are optional.
2559 * gdb.mi/mi1-pthreads.exp: Likewise.
2560
8e9e0fe6
AS
25612003-01-06 Andreas Schwab <schwab@suse.de>
2562
2563 * lib/gdb.exp: Set LC_ALL to "C" to avoid spurious testsuite
2564 failures.
2565
b5ab8ff3
DJ
25662003-01-04 Daniel Jacobowitz <drow@mvista.com>
2567
2568 Fix PR gdb/844
2569 * lib/gdb.exp (gdb_compile): Handle "quiet" option.
2570 (gdb_compile_pthreads): Pass "quiet" to gdb_compile.
2571
2572 * gdb.threads/gcore-thread.exp: Use gdb_compile_pthreads. Return
2573 instead of calling gdb_suppress_entire_file.
2574 * gdb.threads/print-threads.exp: Likewise.
2575 * gdb.threads/schedlock.exp: Likewise.
2576
2577 * gdb.threads/killed.exp: Return instead of calling
2578 gdb_suppress_entire_file.
2579 * gdb.threads/linux-dp.exp: Likewise.
2580 * gdb.threads/pthreads.exp: Likewise.
2581
1e698235
DJ
25822003-01-04 Daniel Jacobowitz <drow@mvista.com>
2583
2584 * gdb.base/callfuncs.exp: Don't XFAIL unprototyped functions for
2585 stabs.
2586 * gdb.base/completion.exp: Allow marker1(void) as well as marker1().
2587 * gdb.base/whatis.exp: Always allow (void) after function names.
2588
147ff08c
DJ
25892003-01-04 Daniel Jacobowitz <drow@mvista.com>
2590
2591 * gdb.c++/casts.exp: Correct regexp.
2592
dc62bfc2
MK
25932003-01-04 Mark Kettenis <kettenis@gnu.org>
2594
2595 * configure.in: Call AC_CONFIG_HEADER. Don't call
2596 AC_CONFIG_SUBDIRS on gdb.arch, gdb.asm, gdb.base gdb.c++ gdb.java,
2597 gdb.disasm, gdb.mi, gdb.threads and gdb.trace. Call
2598 AC_CHECK_HEADERS on pthread.h. Put Makefiles in the
2599 aforementioned directories in the AC_OUPUT call.
2600 * config.hin: New file.
2601 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
2602 gdb.mi/mi1-pthreads.exp, gdb.threads/gcore-thread.exp,
2603 gdb.threads/killed.exp, gdb.threads/print-threads.exp,
2604 gdb.threads/pthreads.exp, gdb.threads/schedlock.exp: Make sure we
2605 pass -I$objdir instead of -I$objdir/$subdir in compilation.
2606 * gdb.arch/configure.in, gdb.arch/configure, gdb.asm/configure.in,
2607 gdb.asm/configure, gdb.base/configure.in, gdb.base/configure,
2608 gdb.c++/configure.in, gdb.c++/configure, gdb.disasm/configure.in,
2609 gdb.disasm/configure, gdb.java/configure.in, gdb.java/configure,
2610 gdb.mi/configure.in, gdb.mi/configure, gdb.mi/config.in,
2611 gdb.threads/configure.in, gdb.threads/configure,
2612 gdb.threads/config.in, gdb.trace/configure.in,
2613 gdb.trace/configure: Removed.
2614
77afa639
MC
26152003-01-03 Michael Chastain <mec@shout.net>
2616
2617 * gdb.base/miscexprs.c: Fix PR gdb/697, "buglet in
2618 testsuite/gdb.base/miscexprs.c, off-by-1 array reference".
2619
7634bb6e
DJ
26202003-01-03 Daniel Jacobowitz <drow@mvista.com>
2621
2622 * gdb.base/store.exp: Fix regular expressions.
2623
b39c905e
MK
26242002-12-28 Mark Kettenis <kettenis@gnu.org>
2625
2626 * configure.in: Rewrite.
2627 * configure: Regenerated.
2628
0a8551dd
DC
26292003-01-03 David Carlton <carlton@math.stanford.edu>
2630
2631 * gdb.base/psymtab.exp: New file.
2632 * gdb.base/psymtab1.c: Ditto.
2633 * gdb.base/psymtab2.c: Ditto.
2634
c60b7188
AF
26352002-12-23 Adam Fedor <fedor@gnu.org>
2636
2637 * gdb.base/maint.exp: Update expect output to include 'ObjC'.
2638
ee73db83
DC
26392002-12-23 David Carlton <carlton@math.stanford.edu>
2640
2641 * gdb.base/selftest.exp (do_steps_and_nexts): Allow initial brace
2642 and current_directory initialization.
2643
d6c1774e
JB
26442002-12-22 Jim Blandy <jimb@redhat.com>
2645
f0a847b8
JB
2646 * gdb.trace/tfind.exp: Pass '-O1' flag via the 'optimize' option,
2647 rather than as part of the output file name.
2648
d6c1774e
JB
2649 * gdb.base/attach.exp: There's no need to copy the test program to
2650 /tmp; that was only ever necessary on HP/UX, and this test is
2651 entirely disabled there anyway.
2652
f0708dbb
JB
26532002-12-21 Jim Blandy <jimb@redhat.com>
2654
4c2acfea
JB
2655 * gdb.c++/psmang.exp: Doc fix.
2656
f0708dbb
JB
2657 * gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: New
2658 test.
2659
9579e000
DC
26602002-12-20 David Carlton <carlton@math.stanford.edu>
2661
2662 * gdb.c++/annota2.exp: KFAIL annotate-quit.
2663
d1810171
MC
26642002-12-18 Michael Chastain <mec@shout.net>
2665
2666 * gdb.c++/annota2.exp: Add copyright year 2002.
2667
76565097
DC
26682002-12-17 David Carlton <carlton@math.stanford.edu>
2669
2670 * gdb.c++/try_catch.cc: Add marker comments.
2671 * gdb.c++/try_catch.exp: Get line numbers from marker comments.
2672 * gdb.c++/m-data.cc: Delete namespace __gnu_test.
2673 * gdb.c++/m-static.cc: Ditto.
2674 * gdb.c++/m-static1.cc: Ditto.
2675 * gdb.c++/try_catch.cc: Ditto.
2676
da81390b
JJ
26772002-12-16 Jeff Johnston <jjohnstn@redhat.com>
2678
2679 * lib/mi-support.exp (mi_reinitialize_dir): Check mi level
2680 to see whether we are using the new -environment-directory
2681 command which resets via -r or the old version of the command
2682 which may prompt the user. Part of fix for gdb/741.
2683
b304d130
AC
26842002-12-13 Andrew Cagney <ac131313@redhat.com>
2685
2686 * gdb.fortran/types.exp: Update obsolete comment.
2687 * gdb.fortran/exprs.exp: Ditto.
2688 * lib/gdb.exp: Delete obsolete code.
2689 * gdb.chill/ChangeLog, gdb.chill/Makefile.in: Delete.
2690 * gdb.chill/builtins.ch, gdb.chill/builtins.exp: Delete.
2691 * gdb.chill/callch.ch, gdb.chill/callch.exp: Delete.
2692 * gdb.chill/chexp.exp, gdb.chill/chillvars.ch: Delete.
2693 * gdb.chill/chillvars.exp, gdb.chill/configure: Delete.
2694 * gdb.chill/configure.in, gdb.chill/enum.ch: Delete.
2695 * gdb.chill/enum.exp, gdb.chill/func1.ch: Delete.
2696 * gdb.chill/gch1041.ch, gdb.chill/gch1041.exp: Delete.
2697 * gdb.chill/gch1272.ch, gdb.chill/gch1272.exp: Delete.
2698 * gdb.chill/gch1280.ch, gdb.chill/gch1280.exp: Delete.
2699 * gdb.chill/gch922.ch, gdb.chill/gch922.exp: Delete.
2700 * gdb.chill/gch981.ch, gdb.chill/gch981.exp: Delete.
2701 * gdb.chill/misc.ch, gdb.chill/misc.exp: Delete.
2702 * gdb.chill/powerset.ch, gdb.chill/powerset.exp: Delete.
2703 * gdb.chill/pr-4975-grt.ch, gdb.chill/pr-4975.ch: Delete.
2704 * gdb.chill/pr-4975.exp, gdb.chill/pr-5016.ch: Delete.
2705 * gdb.chill/pr-5016.exp, gdb.chill/pr-5020.ch: Delete.
2706 * gdb.chill/pr-5020.exp, gdb.chill/pr-5022.ch: Delete.
2707 * gdb.chill/pr-5022.exp, gdb.chill/pr-5646-grt.ch: Delete.
2708 * gdb.chill/pr-5646.ch, gdb.chill/pr-5646.exp: Delete.
2709 * gdb.chill/pr-5984.ch, gdb.chill/pr-5984.exp: Delete.
2710 * gdb.chill/pr-6292.ch, gdb.chill/pr-6292.exp: Delete.
2711 * gdb.chill/pr-6632-grt.ch, gdb.chill/pr-6632.ch: Delete.
2712 * gdb.chill/pr-6632.exp, gdb.chill/pr-8134.exp: Delete.
2713 * gdb.chill/pr-8136.ch, gdb.chill/pr-8136.exp: Delete.
2714 * gdb.chill/pr-8405.ch, gdb.chill/pr-8405.exp: Delete.
2715 * gdb.chill/pr-8742.ch, gdb.chill/pr-8742.exp: Delete.
2716 * gdb.chill/pr-8894-grt.ch, gdb.chill/pr-8894.ch: Delete.
2717 * gdb.chill/pr-8894.exp, gdb.chill/pr-9095.ch: Delete.
2718 * gdb.chill/pr-9095.exp, gdb.chill/pr-9946.ch: Delete.
2719 * gdb.chill/pr-9946.exp, gdb.chill/result.ch: Delete.
2720 * gdb.chill/result.exp, gdb.chill/string.ch: Delete.
2721 * gdb.chill/string.exp, gdb.chill/tests1.ch: Delete.
2722 * gdb.chill/tests1.exp, gdb.chill/tests2.ch: Delete.
2723 * gdb.chill/tests2.exp, gdb.chill/tuples.ch: Delete.
2724 * gdb.chill/tuples.exp, gdb.chill/xstruct-grt.ch: Delete.
2725 * gdb.chill/xstruct.ch, gdb.chill/xstruct.exp: Delete.
2726
a23b6e6a
DC
27272002-12-11 David Carlton <carlton@math.stanford.edu>
2728
2729 * gdb.c++/m-data.exp: Add test for members that shadow global
2730 variables: see PR gdb/804.
2731 * gdb.c++/m-data.cc: Ditto.
2732
6604731b
DJ
27332002-12-10 Daniel Jacobowitz <drow@mvista.com>
2734
2735 * gdb.base/foll-vfork.exp: Re-enable test on HP/UX.
2736
de46ecd7
DC
27372002-12-06 David Carlton <carlton@math.stanford.edu>
2738
2739 * gdb.base/store.c: Don't declare functions static.
2740
27e829d0
AC
27412002-12-04 Andrew Cagney <ac131313@redhat.com>
2742
2743 * gdb.base/store.exp, gdb.base/store.c: New files.
2744
92806416
DJ
27452002-12-03 Daniel Jacobowitz <drow@mvista.com>
2746
2747 * gdb.base/selftest.exp: Update for current gdb.
2748
3bcbaac5
DJ
27492002-12-03 Daniel Jacobowitz <drow@mvista.com>
2750
2751 * gdb.base/maint.exp: Only dump symbols from one source file
2752 or objfile.
2753
f4f00b1f
DJ
27542002-12-03 Daniel Jacobowitz <drow@mvista.com>
2755
2756 * gdb.base/step-test.exp: Allow MIPS to return to the line of a
2757 function call.
2758
f1c8a949
JB
27592002-11-25 Jim Blandy <jimb@redhat.com>
2760
2761 * lib/mi-support.exp (mi_delete_breakpoints): Change name of
2762 function appearing in error message.
2763
9e297a97
DJ
27642002-11-21 Daniel Jacobowitz <drow@mvista.com>
2765
2766 * gdb.base/maint.exp (help maint dump-me): Update with typo fix.
2767
1f312e79
JJ
27682002-11-08 Jeff Johnston <jjohnstn@redhat.com>
2769
d63a86f8
RM
2770 * lib/mi-support.exp (mi_gdb_start): Verify the startup message
2771 for mi1 and current mi is in correct format. New mi startup message
1f312e79
JJ
2772 should be in mi console format. This is part of fix for PR gdb/604.
2773
83c31e7d
FN
27742002-09-18 Fernando Nasser <fnasser@redhat.com>
2775
2776 * gdb.asm/asm-source.exp: Adjust patter to new disassembler routine
2777 which explicitly prints the zero offset as "+0".
2778
322b3f65
DJ
27792002-10-22 Daniel Jacobowitz <drow@mvista.com>
2780
2781 * gdb.threads/schedlock.c (args): Make unsigned.
2782
27832002-10-21 Daniel Jacobowitz <drow@mvista.com>
2784
2785 * gdb.asm/asm-source.exp: Add "mips*-*" pattern. Update line
2786 numbers. Allow "foo2|selected stack frame".
2787 * gdb.asm/asmsrc1.s: Use gdbasm_declare and gdbasm_end.
2788 * gdb.asm/asmsrc2.s: Likewise.
2789 * gdb.asm/common.inc: Define gdbasm_declare and gdbasm_end. Update
2790 comments.
2791 * gdb.asm/mips.inc: New file.
2792
5e2fe5b8
AF
27932002-10-18 Adam Fedor <fedor@gnu.org>
2794
2795 * gdb.base/default.exp: Update expected output to include 'ObjC'.
2796 * gdb.base/help.exp: Likewise.
2797
abe1a5d0
KB
27982002-10-17 Kevin Buettner <kevinb@redhat.com>
2799
2800 * gdb.base/constvars.c (struct crass, struct crisp): New structs.
2801 * gdb.base/constvars.exp (ptype crass, ptype crisp): New tests.
2802
10abb1d4
JB
28032002-10-02 Jim Blandy <jimb@redhat.com>
2804
2805 * gdb.c++/casts.cc, gdb.c++/casts.exp: New test.
2806
1f609b42
AC
28072002-10-01 Andrew Cagney <ac131313@redhat.com>
2808
2809 * mi1-basics.exp: Copy of mi1-basics.exp MIFLAGS set "-i=mi1".
2810 * mi1-break.exp, mi1-console.exp, mi1-disassemble.exp: Ditto.
2811 * mi1-eval.exp, mi1-hack-cli.exp, mi1-pthreads.exp: Ditto.
2812 * mi1-read-memory.exp, mi1-regs.exp, mi1-return.exp: Ditto.
2813 * mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp: Ditto.
2814 * mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp: Ditto.
2815 * mi1-var-cmd.exp, mi1-var-display.exp, mi1-watch.exp: Ditto.
2816
0aee02e4
AC
28172002-09-29 Andrew Cagney <ac131313@redhat.com>
2818
2819 * mi0-basics.exp, mi0-break.exp, mi0-console.exp: Delete.
2820 * mi0-disassemble.exp, mi0-eval.exp: Delete.
2821 * mi0-hack-cli.exp, mi0-read-memory.exp: Delete.
2822 * mi0-regs.exp, mi0-return.exp, mi0-simplerun.exp: Delete.
2823 * mi0-stack.exp, mi0-stepi.exp, mi0-until.exp: Delete.
2824 * mi0-var-block.exp, mi0-var-child.exp: Delete.
2825 * mi0-var-cmd.exp, mi0-var-display.exp, mi0-watch.exp: Delete.
d63a86f8 2826
6fde09ad
KB
28272002-09-27 Kevin Buettner <kevinb@redhat.com>
2828
2829 * gdb.base/annota1.exp (info break): Make directory components of
2830 path optional since not all compilers emit this debug information.
2831
2832 * gdb.base/shlib-call.exp (step inside shr2): Don't fail if first
2833 step ends up stepping out of the function instead of stopping on
2834 the epilogue.
2835
9e8aab75
KS
28362002-09-26 Keith Seitz <keiths@redhat.com>
2837
2838 * lib/insight-support.exp (gdbtk_start): Figure out where
2839 the insight executable is based on where gdb is. Use this
2840 executable to start insight instead of gdb.
2841
e36180d7
AC
28422002-09-25 Andrew Cagney <cagney@redhat.com>
2843
2844 * gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
2845
9dd34b2b
AC
28462002-09-24 Andrew Cagney <ac131313@redhat.com>
2847
2848 * gdb.gdb/complaints.exp (test_initial_complaints): Rename
2849 test_isolated_complaints.
2850 (test_empty_complaint): New function.
2851 (test_empty_complaints): New function. Check no output when no
2852 complaints.
d63a86f8 2853
dea97812
KB
28542002-09-19 Jim Blandy <jimb@redhat.com>
2855
2856 * gdb.base/charset.exp, gdb.base/charset.c: New files.
2857
54951bd7
AC
28582002-09-19 Andrew Cagney <ac131313@redhat.com>
2859
2860 * gdb.gdb/complaints.exp: New file.
2861
dec43320
AC
28622002-09-18 Andrew Cagney <ac131313@redhat.com>
2863
2864 * gdb.base/maint.exp: Check `help maint internal-warning'.
2865
e70d6e3f
DC
28662002-09-18 David Carlton <carlton@math.stanford.edu>
2867
2868 * gdb.c++/m-static.exp: Remove breakpoints depending on line
2869 numbers, and replace them by a single breakpoint after the
2870 constructors are all finished.
2871 Add test 4.
2872 * gdb.c++/m-static.cc: Add test 4.
2873 * gdb.c++/m-static.h: New file.
2874 * gdb.c++/m-static1.cc: New file.
2875
2876 * gdb.c++/printmethod.exp: New file.
2877 * gdb.c++/printmethod.cc: New file.
2878
2879 * gdb.c++/pr-574.exp: New file.
2880 * gdb.c++/pr-574.cc: New file.
2881
afb5c968
CV
28822002-09-18 Corinna Vinschen <vinschen@redhat.com>
2883
2884 * gdb.base/ending-run.exp: Add handling of "step to end of run" for
2885 embedded targets which never actually exit.
2886
31e45dee
FN
28872002-09-18 Fernando Nasser <fnasser@redhat.com>
2888
2889 * gdb.base/ending-run.exp: Properly mark "continue after exit" and
2890 "don't step after run" as unresolved or unsupported, instead of xfail.
2891
a283c5a1
CV
28922002-09-18 Corinna Vinschen <vinschen@redhat.com>
2893
2894 * gdb.base/ending-run.exp: Fix expected string for _wrap_main to
2895 allow correct handling of #ifdef UNDERSCORES from dejagnu/testglue.c.
2896 Add newline to expected string in "step out of main (status wrapper)"
2897 case.
2898
11350d2a
CV
28992002-09-18 Corinna Vinschen <vinschen@redhat.com>
2900
2901 * lib/gdb.exp (rerun_to_main): Allow restarting application.
2902 * gdb.base/ena-dis-br.exp (rerun_to_main): Eliminate.
2903
0deec7d6
TT
29042002-09-17 Tom Tromey <tromey@redhat.com>
2905
2906 * gdb.base/printcmds.exp (test_print_string_constants): Expect
2907 \000, not \0, in double-quoted string.
2908
b2b4a1b5
CV
29092002-09-14 Corinna Vinschen <vinschen@redhat.com>
2910
c9d37158 2911 * gdb.base/commands.exp: Don't expect a "Program exited normally"
b2b4a1b5
CV
2912 string after running the commands execution on breakpoint tests.
2913
1c56143a
CV
29142002-09-13 Corinna Vinschen <vinschen@redhat.com>
2915
2916 * lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.
2917
37f8da45
JB
29182002-09-12 Joel Brobecker <brobecker@gnat.com>
2919
2920 * gdb.base/call-strs.exp: Fix a small typo in one of the comments.
2921
08b468e0
KS
29222002-09-10 Keith Seitz <keiths@redhat.com>
2923
2924 * lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
2925 runto proc.
2926 (mi_run_to_main): Use mi_runto.
2927 (mi_execute_to): Renamed from mi_run_to. Changed all callers.
2928
dc360f58
KS
29292002-09-10 Keith Seitz <keiths@redhat.com>
2930
2931 * lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
2932 regexp for stopping at main. Could have multiple event notifications.
2933 Don't assume that main was declared with no parameters.
2934 (mi_next): Use mi_step_to.
2935 (mi_step): Use mi_next_to.
2936
ce3abcfb
CV
29372002-09-09 Corinna Vinschen <vinschen@redhat.com>
2938
2939 * gdb.base/default.exp: Fix expected string in `info float' test.
2940
d1f5b980
BE
29412002-09-09 Ben Elliston <bje@redhat.com>
2942
2943 * config/mips.exp: Update comments.
2944 * config/mips-idt.exp: Likewise.
2945 * config/nind.exp: Likewise.
2946 * config/slite.exp: Likewise.
2947 * config/sparclet.exp: Likewise.
2948 * config/udi.exp: Likewise.
2949 * config/vx.exp: Likewise.
2950 * config/vxworks29k.exp: Likewise.
2951
2f71430b
JB
29522002-09-05 Jim Blandy <jimb@redhat.com>
2953
2954 * gdb.threads/killed.exp: Fix test failure message.
2955
7ddebc7e
KS
29562002-09-04 Keith Seitz <keiths@redhat.com>
2957
2958 * lib/mi-support.exp: Update copyright.
2959 (mi_gdb_test): Increase the priority of the expected pattern
2960 so that it matches gdb_test.
2961
0ae67eb3
KS
29622002-09-03 Keith Seitz <keiths@redhat.com>
2963
2964 * lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
2965 Use integer comparison instead of string comparison for testing
2966 whether binary was built.
2967
38fc42c8
JB
29682002-09-03 Jim Blandy <jimb@redhat.com>
2969
2970 * gdb.threads/killed.exp, gdb.threads/killed.c: New test.
2971
b6ff0e81
JB
29722002-08-29 Jim Blandy <jimb@redhat.com>
2973
2974 * gdb.threads/pthreads.exp: Move the portable thread compilation
2975 code into a function in lib/gdb.exp, and call that from here.
2976 * lib/gdb.exp (gdb_compile_pthreads): New function.
2977
07c98896
KS
29782002-08-29 Keith Seitz <keiths@redhat.com>
2979
2980 * lib/mi-support.exp (mi_gdb_test): Add global declaration for
2981 expect_out so that callers can get at it.
2982
0312286c
DJ
29832002-08-23 Daniel Jacobowitz <drow@mvista.com>
2984
2985 * gdb.threads/print-threads.c: New file.
2986 * gdb.threads/print-threads.exp: New file.
2987 * gdb.threads/schedlock.c: New file.
2988 * gdb.threads/schedlock.exp: New file.
2989
dd039bc4
EZ
29902002-08-22 Elena Zannoni <ezannoni@redhat.com>
2991
2992 * gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
2993 not altivec.c.
2994
1f36144c
MK
29952002-08-17 Mark Kettenis <kettenis@gnu.org>
2996
2997 * gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
2998 targets. The problem should be fixed now.
2999
16057ec7 30002002-08-15 Mark Kettenis <kettenis@gnu.org>
5415e7c5
MK
3001
3002 * gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
3003 2002-07-24 change that removes final dots from error messages.
3004
3c1499ad
TT
30052002-08-13 Tom Tromey <tromey@redhat.com>
3006
3007 * gdb.base/readline.exp: New file.
3008
a20ce2c3
AC
30092002-08-01 Andrew Cagney <ac131313@redhat.com>
3010
3011 * lib/gdb.exp (gdb_expect_list): Only print one pass, fail, or
3012 supress message.
3013
db034ac5
AC
30142002-08-01 Andrew Cagney <cagney@redhat.com>
3015
3016 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL,
3017 CHILL_FOR_TARGET and CHILL_LIB.
3018 * configure.in (configdirs): Remove gdb.chill.
3019 * configure: Regenerate.
3020 * lib/gdb.exp: Obsolete references to chill.
3021 * gdb.fortran/types.exp: Ditto.
3022 * gdb.fortran/exprs.exp: Ditto.
3023
3e000b18
KB
30242002-07-30 Kevin Buettner <kevinb@redhat.com>
3025
3026 * gdb.base/shlib-call.exp (additional_flags): Conditionally
3027 set Irix-specific compile and link flags.
3028
28f4966b
KB
30292002-07-29 Kevin Buettner <kevinb@redhat.com>
3030
3031 * lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
3032 source files. The ``-o'' option doesn't work with the ``-E'' option
3033 when using the Irix compiler.
3034
46c0d5a6
DJ
30352002-07-19 Daniel Jacobowitz <drow@mvista.com>
3036
3037 * config/gdbserver.exp (gdb_load): Don't use TCL varargs.
3038 Improve support for reusing an exec file. Copy exec file
3039 to target, and run gdbserver on the target instead of on the host.
3040
eecf4bed
JB
30412002-07-18 Jim Blandy <jimb@redhat.com>
3042
0f815cdf
JB
3043 * gdb.base/ending-run.exp: Don't expect to see the program end in
3044 some orderly fashion when we're running on a real stand-alone
3045 board.
3046
eecf4bed
JB
3047 * gdb.base/interrupt.exp: Correct logic for skipping tests on
3048 targets that don't support interrupts.
3049
52d309e4
JB
30502002-07-10 Paul N. Hilfinger <hilfingr@otisco.mckusick.com>
3051
3052 * gdb.base/attach.exp: Add patterns to match output from /proc-based
3053 systems.
3054 Move comments in expect statements to inside the actions, so that they
3055 don't get matched against.
3056
ff683d9e
MK
30572002-07-10 Mark Kettenis <kettenis@gnu.org>
3058
3059 * gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
3060 function when asleep" test.
3061
b5356753
AC
30622002-07-10 Andrew Cagney <ac131313@redhat.com>
3063
3064 * gdb.base/page.exp: Rewrite to handle problems with very long
3065 `info set' output. Update copyright.
3066
6aa4d13a
AC
30672002-06-26 Andrew Cagney <ac131313@redhat.com>
3068
3069 * gdb.hp/configure.in (AC_CONFIG_SUBDIRS): Do not try to configure
3070 gdb.threads-hp.
3071 * gdb.hp/configure: Regenerate.
3072 * gdb.hp/gdb.threads-hp/configure.in: Delete file.
3073 * gdb.hp/gdb.threads-hp/configure: Delete file.
3074 * gdb.hp/gdb.threads-hp/Makefile.in: Delete file.
3075
8cf8c2b8
AC
30762002-06-22 Andrew Cagney <ac131313@redhat.com>
3077
3078 * gdb.base/selftest.exp (do_stes_and_next): Skip calls to
3079 setlocale, bindtextdomain and textdomain.
3080
6827a8f8
JB
30812002-06-11 Jim Blandy <jimb@redhat.com>
3082
919d772c
JB
3083 * lib/gdb.exp (get_debug_format): Tolerate message saying whether
3084 preprocessor macro information is present.
3085
6827a8f8
JB
3086 * macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: New
3087 tests.
3088
c15b0d21
MS
30892002-06-06 Michael Snyder <msnyder@redhat.com>
3090
c5984d70
MS
3091 * gdb.base/overlays.exp: Record addresses of overlay
3092 functions in TCL variables rather than in GDB variables,
3093 to avoid having GDB convert them to pointers (with loss
3094 of information).
3095
d63a86f8 3096 * gdb.base/d10v.ld: Merge in several years worth of
99a8512b 3097 default linker script changes.
c15b0d21
MS
3098 * gdb.base/long_long.exp: Add check for sizeof (long double).
3099
be26fe0d
ML
31002002-06-06 Michal Ludvig <mludvig@suse.cz>
3101
3102 * gdb.asm/asm-source.exp: Add x86-64 target.
3103 * gdb.asm/x86_64.inc: New.
d63a86f8 3104
258093ca 31052002-05-30 Michael Chastain <mec@shout.net>
258093ca 3106
4b3153f1 3107 From Benjamin Kosnik <bkoz@redhat.com>:
258093ca
MC
3108 * gdb.c++/m-static.cc: New file.
3109 * gdb.c++/m-static.exp: New file.
3110
241264c6
MS
31112002-05-28 Michael Snyder <msnyder@redhat.com>
3112
3113 * gdb.base/call-ar-st.exp: Allow for reduced floating point
3114 precision.
3115
9bba8c8f 31162002-05-27 Michael Chastain <mec@shout.net>
71ea1be0 3117
4b3153f1 3118 From Benjamin Kosnik <bkoz@redhat.com>:
71ea1be0
MC
3119 * gdb.c++/m-data.cc: New file.
3120 * gdb.c++/m-data.exp: New file.
3121
31222002-05-27 Michael Chastain <mec@shout.net>
9bba8c8f 3123
4b3153f1 3124 From Benjamin Kosnik <bkoz@redhat.com>:
9bba8c8f 3125 * gdb.c++/try_catch.cc: New file.
d63a86f8 3126 * gdb.c++/try_catch.exp: New file.
9bba8c8f 3127
def1b996
MC
31282002-05-27 Michael Chastain <mec@shout.net>
3129
3130 * gdb.c++/local.exp: Accept more nested types in output.
3131
522ba268
MC
31322002-05-26 Michael Chastain <mec@shout.net>
3133
3134 * gdb.base/call-rt-st.exp: Fix typo in brace quoting.
3135
277254ba
MS
31362002-05-15 Nick Clifton <nickc@cambridge.redhat.com>
3137
3138 * lib/gdb.exp (gdb_wrapper_init): Just because
3139 gdb_wrapper_file exists, this does not mean that the file
3140 should not be rebuilt. That is what gdb_wrapper_initialized
3141 is for.
3142 (default_gdb_init): Reset gdb_wrapper_initialized.
3143
b61a8733
MS
31442002-05-23 Michael Snyder <msnyder@redhat.com>
3145
d63a86f8 3146 * gdb.base/all-bin.exp: Revise previous patch by just reducing
5bdb6d01
MS
3147 the precision of the floating point test results.
3148 * gdb.base/call-rt-st.exp: Ditto.
3149
b61a8733
MS
3150 * gdb.base/all-bin.exp: Allow for reduced floating point precision.
3151 * gdb.base/call-rt-st.exp: Ditto.
3152
56f6e910
MC
31532002-05-19 Michael Chastain <mec@shout.net>
3154
3155 * gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
3156
ad0b0016
EZ
31572002-05-19 Elena Zannoni <ezannoni@redhat.com>
3158
3159 * configure.in (configdirs): Add gdb.arch.
3160 * configure: Regenerate.
3161
f617d2b6
JB
31622002-05-17 Jim Blandy <jimb@redhat.com>
3163
3164 * gdb.base/completion.exp: Recognize the more detailed error
3165 messages produced by the macro expander's lexical analyzer.
3166
eac2a696
EZ
31672002-05-14 Elena Zannoni <ezannoni@redhat.com>
3168
3169 * gdb.arch/altivec-abi.c: New file.
3170 * gdb.arch/altivec-abi.exp: New file.
3171 * gdb.arch/altivec-regs.c: New file.
3172 * gdb.arch/altivec-regs.exp: New file.
3173
2fdde8f8
DJ
31742002-05-14 Daniel Jacobowitz <drow@mvista.com>
3175
3176 * gdb.base/maint.exp (maint print type): Update for new type
3177 structure.
d63a86f8 3178
e31f1a7c
EZ
31792002-05-14 Elena Zannoni <ezannoni@redhat.com>
3180
3181 * gdb.arch: New directory.
3182 * gdb.arch/configure.in: New file.
3183 * gdb.arch/configure: New file.
3184 * gdb.arch/Makefile.in: New file.
3185
db589741
CV
31862002-05-13 Corinna Vinschen <vinschen@redhat.com>
3187
3188 * gdb.asm/asm-source.exp: Add v850 as supported target.
3189 * gdb.asm/v850.inc: New file.
3190
8ce2a7dc
DJ
31912002-05-13 Daniel Jacobowitz <drow@mvista.com>
3192
3193 * gdb.c++/annota2.exp (annotate-quit): Add comment.
3194
df763c7f
DJ
31952002-05-12 Daniel Jacobowitz <drow@mvista.com>
3196
3197 * gdb.base/break.exp: Check 'break "marker2"'.
3198
377daeed
MS
31992002-05-10 Michael Snyder <msnyder@redhat.com>
3200
3201 * gdb.base/long_long.exp: Fix typo.
3202
c4b7bc2b
JB
32032002-05-10 Jim Blandy <jimb@redhat.com>
3204
ecac9a4e
JB
3205 * gdb.base/printcmds.exp: Don't xfail the ptype command. This is
3206 a bug.
3207
c4b7bc2b
JB
3208 * gdb.base/printcmds.exp (test_integer_literals_rejected):
3209 Recognize more detailed error message produced by the macro
3210 expander's lexical analyzer.
3211 * lib/gdb.exp (test_print_reject): Same.
3212
e71019a1
MK
32132002-05-09 Mark Kettenis <kettenis@gnu.org>
3214
3215 * gdb.c++/method.exp: Fix typo.
3216
fedfc8e6
MS
32172002-05-08 Michael Snyder <msnyder@redhat.com>
3218
166a1957
MS
3219 * gdb.mi/mi-var-child.exp: Accept (void) as well as ().
3220 * gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
fedfc8e6 3221 * gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
35928259
MS
3222 * gdb.base/long_long.exp: Merge clauses for arm and xscale.
3223 Add iftarget clause for strongarm.
d63a86f8 3224
f1c47eb2
MS
32252002-05-06 Michael Snyder <msnyder@redhat.com>
3226
cb9a9d3e
MS
3227 * lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
3228 (gdb_continue_to_end): Accept output from status wrapper.
3229 * gdb.base/ending-run.exp: Add case for output from status wrapper.
3230 Clean up fail messages to match pass messages.
3231
f1c47eb2
MS
3232 Enable the "needs_status_wrapper" testsuite feature.
3233 * lib/gdb.exp (gdb_wrapper_init): New procedure.
3234 (gdb_compile): Conditionally call gdb_wrapper_init.
3235 * gdb.base/a2-run.exp: Recognize output from status wrapper.
3236 * gdb.c++/method.exp: Recognize output from status wrapper.
3237
6079c749
BE
32382002-05-06 Ben Elliston <bje@redhat.com>
3239From Graydon Hoare <graydon@redhat.com>
3240
3241 * config/sid.exp: Include support for "rawsid" protocol.
3242
188baff3
JB
32432002-05-03 Jim Blandy <jimb@redhat.com>
3244
3245 * gdb.c++/hang.exp: Check for corruption of the cv_type chain.
3246 * gdb.c++/hang3.C: New file.
3247
b9c07f0f
AC
32482002-05-04 Andrew Cagney <ac131313@redhat.com>
3249
3250 * gdb.base/default.exp: Remove obsolete code.
3251 * gdb.c++/misc.exp: Ditto. Update copyright.
3252 * gdb.c++/cplusfuncs.exp: Ditto. Update copyright.
3253 * gdb.base/whatis.exp: Ditto. Update copyright.
3254 * gdb.base/scope.exp: Ditto. Update copyright.
3255 * gdb.base/ptype.exp: Ditto. Update copyright.
3256 * gdb.base/printcmds.exp: Ditto. Update copyright.
3257 * gdb.base/opaque.exp: Ditto. Update copyright.
3258 * gdb.base/list.exp: Ditto.
3259 * gdb.base/funcargs.exp: Ditto. Update copyright.
3260 * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
3261 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
3262 * gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
3263 * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
3264 * gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
3265 * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
3266
5c7a0397
MS
32672002-05-02 Michael Snyder <msnyder@redhat.com>
3268
d6dcc264 3269 * gdb.base/watchpoint.exp: Add xscale target.
5c7a0397
MS
3270 * gdb.base/long_long.exp: Add xscale target.
3271 * gdb.base/default.exp: Add xscale target.
3272
eb7f1c48
JB
32732002-05-01 Jim Blandy <jimb@redhat.com>
3274
3275 * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
3276 gdb.c++/hang.exp: New test.
3277
a6befae8
FF
32782002-05-01 Fred Fish <fnf@redhat.com>
3279
3280 * gdb.base/completion.exp: Handle completions of "./Make" for
3281 more than one completion possibility, as is the case when we
3282 build and test in the source tree.
3283
0a310277
AG
32842002-04-29 Anthony Green <green@redhat.com>
3285
3286 * gdb.java/jmisc1.exp: New file.
3287 * gdb.java/jmisc2.exp: New file.
3288
6ff9af88
DJ
32892002-04-24 Daniel Jacobowitz <drow@mvista.com>
3290
3291 * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
3292
96b3d632
EZ
32932002-04-23 Elena Zannoni <ezannoni@redhat.com>
3294
3295 * gdb.base/help.exp: Change 'help status' to allow for target
3296 dependent output differences.
3297
5019bb54
MC
32982002-04-22 Michael Chastain <mec@shout.net>
3299
3300 * gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
3301
a805a116
MC
33022002-04-22 Michael Chastain <mec@shout.net>
3303
3304 * gdb.c++/method.exp: Fix syntax of reference to gdb/277.
3305
a1706bfd
DM
33062002-04-17 David S. Miller <davem@redhat.com>
3307
3308 * gdb.asm/sparc64.inc: New file.
3309 * gdb.asm/asm-source.exp: Handle sparc64-*-*.
3310
a73a20a2
EZ
33112002-04-19 Elena Zannoni <ezannoni@redhat.com>
3312
3313 * gdb.asm/asm-source.exp: Don't use a symlink, just copy the
3314 instruction file directly into the build tree. Clean up at end of
3315 test.
3316
ba678339
DM
33172002-04-18 David S. Miller <davem@redhat.com>
3318
3319 * gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
3320 handle 64-bit platforms correctly.
3321 * gdb.base/maint.exp: Likewise.
3322
b03399da
KB
33232002-04-18 Kevin Buettner <kevinb@redhat.com>
3324
3325 * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
3326 ``-fpic'' when compiling files comprising a shared library, but
3327 it does need additional linker flags in order to find shared
3328 libraries at run time.
3329
e2004992
KB
33302002-04-18 Kevin Buettner <kevinb@redhat.com>
3331
3332 * gdb.base/cvexpr.c (use): New function.
3333 (main): Invoke use() on all global variables to prevent
3334 some linkers from deleting these otherwise unused symbols.
3335
d8937120
MC
33362002-04-17 Michael Chastain <mec@shout.net>
3337From David S. Miller <davem@redhat.com>
3338
3339 * gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
3340 handle 64-bit platforms correctly.
3341
ffd61a58
MS
33422002-04-12 Michael Snyder <msnyder@redhat.com>
3343From Jim Blandy <jimb@redhat.com>
3344 * gdb.base/foo.c (foox): Remove section attribute; the linker
3345 script can handle this instead.
3346 * gdb.base/bar.c (barx): Same.
3347 * gdb.base/baz.c (bazx): Same.
3348 * gdb.base/grbx.c (grbxx): Same.
3349
3350 * gdb.base/overlays.exp: New test: check that GDB's manual overlay
3351 manager doesn't automatically unmap overlays unnecessarily.
3352
6b8426a6
MH
33532002-04-10 Martin M. Hunt <hunt@redhat.com>
3354
3355 * gdb.base/ending-run.exp: Fix pattern for Mips targets
3356 stepping out of main.
3357
34af4875
MC
33582002-04-09 Michael Chastain <mec@shout.net>
3359
3360 * gdb.c++/local.cc (main): Move call to marker1() inside nested
3361 scope so that the nested scope tests will make sense.
3362 * gdb.c++/local.exp: Write patterns that actually work with gcc
3363 (the HP patterns "were never known to work with gcc").
3364 Keep the old aCC patterns too.
3365
2d1676a0
DJ
33662002-04-09 Daniel Jacobowitz <drow@mvista.com>
3367
3368 * gdb.base/attach.exp: Correct target board test.
3369
3a63e3f9
MC
33702002-04-08 Michael Chastain <mec@shout.net>
3371
3372 * gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
3373 in a const method. Add some xfail and fail cases for configurations
3374 that do not emit the "const ...".
3375
f18dabd2
MC
33762002-04-07 Michael Chastain <mec@shout.net>
3377
3378 * gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
3379 Accept "A * const" and "const A * const" as type of "this".
3380 Fix spelling of getFunky throughout. Make messages uniform.
3381
0fcddd82
EZ
33822002-04-07 Elena Zannoni <ezannoni@redhat.com>
3383
3384 Work around for PR gdb/285:
3385 * gdb.asm/asm-source.exp: Bail out if multilibs are detected.
3386
16a8534a
EZ
33872002-04-07 Elena Zannoni <ezannoni@redhat.com>
3388
3389 * gdb.asm/asm-source.exp: Build symbolic link to arch specific
3390 instructions file at run time instead of configure time.
3391 Sometimes we run the test in a directory that is not the one we
3392 configured in.
3393 * gdb.asm/configure.in: Delete creation of symlink.
3394 * gdb.asm/configure: Regenerate.
3395
24181d81
JB
33962002-04-05 J. Brobecker <brobecker@gnat.com>
3397
3398 * gdb.gdb/xfullpath.exp: New test, to exercise the new
3399 xfullpath () function.
3400
7cdb7107
DJ
34012002-04-04 Daniel Jacobowitz <drow@mvista.com>
3402
3403 * gdb.asm/Makefile.in: Correct dependencies.
3404
3405 * gdb.asm/powerpc.inc: New file.
3406 * gdb.asm/asm-source.exp: Add PowerPC.
3407 * gdb.asm/configure.in: Likewise.
3408 * gdb.asm/configure: Regenerated.
3409
a7d17088
DJ
34102002-04-04 Daniel Jacobowitz <drow@mvista.com>
3411
3412 * gdb.base/relocate.exp: New file.
3413 * gdb.base/relocate.c: New file.
3414
cd721503
FF
34152002-04-04 Fred Fish <fnf@redhat.com>
3416
3417 * gdb.base/step-test.exp: Update comment regarding stopping in
3418 memcpy/bcopy calls inserted as part of the compiler runtime.
3419
b22ad7a7
MS
34202002-04-04 Michael Snyder <msnyder@redhat.com>
3421
3422 * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
3423
5f279fa6
DJ
34242002-04-03 Daniel Jacobowitz <drow@mvista.com>
3425
3426 * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
3427 (gdb_expect): Remove $notransfer hack.
3428
dd0fd3ce
DJ
34292002-04-02 Daniel Jacobowitz <drow@mvista.com>
3430
3431 * gdb.c++/classes.exp ("calling method for small class"): Match
3432 updated register output.
3433
1e50cda1
DJ
34342002-03-30 Daniel Jacobowitz <drow@mvista.com>
3435
3436 Fix PR gdb/452
3437 * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
3438 when finished. Make gdb_file_cmd send "exec-file" when
3439 appropriate.
3440
24015922
DJ
34412002-03-30 Daniel Jacobowitz <drow@mvista.com>
3442
3443 * gdb.base/attach.exp: Remove extra setup_xfail.
3444
dd7dfd64
MS
34452002-03-26 Michael Snyder <msnyder@redhat.com>
3446
3447 * gdb.base/default.exp: Add tests for dump, append, and restore.
3448 * gdb.base/help.exp: Add tests for dump, append, and restore.
3449 * gdb.base/dump.exp: New file, test dump, append and restore.
3450 * gdb.base/dump.c: New file.
3451
48b2f8d7
MS
34522002-03-27 Michael Snyder <msnyder@redhat.com>
3453
d63a86f8 3454 * gdb.base/help.exp: Modify expect strings to reflect
48b2f8d7
MS
3455 clean-ups in help messages.
3456
05b4d525
FF
34572002-03-26 Fred Fish <fnf@redhat.com>
3458
3459 * gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
3460 have debugging info for those functions and the compiler uses them
3461 internally to copy structs around.
3462
d7679631
FF
34632002-03-26 Fred Fish <fnf@redhat.com>
3464
3465 * gdb.base/list.exp: Revert the change made yesterday and add note
3466 about why we don't list the default lines for remote targets.
3467
523ac3f9
MS
34682002-03-25 Michael Snyder <msnyder@redhat.com>
3469
3470 * gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
3471
754b2b8d
FF
34722002-03-25 Fred Fish <fnf@redhat.com>
3473
3474 * gdb.base/list.exp: This test works on remote targets so remove
3475 the short circuit for remote targets. Update copyright.
3476
33c3e192
FF
34772002-03-25 Fred Fish <fnf@redhat.com>
3478
3479 * gdb.base/attach.exp: Fix logic error that was suppressing this
3480 test for all non hppa*-*-hpux* targets, instead of the hp target.
3481 Move comments closer to the suppression point. Also now need to
3482 check that we are running natively.
3483
d43e73ee
MS
34842002-03-22 Michael Snyder <msnyder@redhat.com>
3485
882c8f02
MS
3486 * gdb.base/default.exp: Add test for gcore. Update copyright.
3487 * gdb.base/help.exp: Add test for gcore. Update copyright.
d43e73ee 3488
04c12f60
FF
34892002-03-06 Fred Fish <fnf@redhat.com>
3490
3491 * gdb.base/funcargs.c: Remove extraneous ';' character.
3492 * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
3493
b43df995
MC
34942002-03-04 Michael Chastain <mec@shout.net>
3495
3496 * gdb.mi/mi-var-cmd.exp: In test "create local variable func",
3497 accommodate gcc v3 function signature.
3498 * gdb.mi/mi0-var-cmd-exp: Ditto.
3499
92362027
AC
35002002-02-24 Andrew Cagney <ac131313@redhat.com>
3501
3502 * testsuite/gdb.base/huge.c: Replace ``Linux'' with either
3503 ``GNU/Linux'' or ``Linux kernel''
3504 * testsuite/gdb.threads/pthreads.c: Ditto.
3505
258ad32d
MC
35062002-02-24 Michael Chastain <mec@shout.net>
3507
3508 * gdb.threads/pthreads.c (thread1): Add a return statement.
3509 (thread2): Likewise.
3510 (foo): Likewise.
3511
04c3b3d4
MC
35122002-02-23 Michael Chastain <mec@shout.net>
3513
3514 * gdb.threads/linux-dp.c (philosopher): Add a return statement
3515 to placate gcc.
3516
5a2a0a20
MC
35172002-02-23 Michael Chastain <mec@shout.net>
3518
3519 * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
3520 test "ptype bint". The test passes on all my stabs configurations.
3521
a640f7fc
JB
35222002-02-21 Jim Blandy <jimb@redhat.com>
3523
27924826
JB
3524 * gdb.asm/asm-source.exp: Parse the output from `info sources' one
3525 filename at a time, and watch for the ones we want to see.
3526
a640f7fc
JB
3527 * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
3528 types of pointers to prototyped functions.
3529
edcc8c75
AC
35302002-02-20 Andrew Cagney <ac131313@redhat.com>
3531
3532 * gdb.base/sizeof.c (main): Call fill_structs. Print value of
3533 signed, unsigned and straight char.
3534 (padding_char, padding_short, padding_int, padding_long,
3535 padding_long_long, padding_float, padding_double,
3536 padding_long_double): New global variables.
3537 (fill, fill_structs): New functions.
3538
3539 * gdb.base/sizeof.exp: Check for signed and unsigned char. Check
3540 for correctly sized writes. Update copyright.
3541 (get_valueof): New procedure.
3542 (get_sizeof): Call get_valueof.
3543 (check_valueof): New procedure.
3544 (check_padding): New procedure.
3545
ac57ea44
MC
35462002-02-20 Michael Chastain <mec@shout.net>
3547
3548 * gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
3549 to setup_xfail. Document some of the remaining calls.
3550
7a10c941
MC
35512002-02-18 Michael Chastain <mec@shout.net>
3552
3553 * gdb.c++/userdef.exp: Update copyright year.
3554
fb8acdcc
DJ
35552002-02-18 Daniel Jacobowitz <drow@mvista.com>
3556
3557 * gdb.c++/userdef.exp: Test overloaded operators properly.
3558 Remove xfails.
3559
fda6ae12
MS
35602002-02-14 Michael Snyder <msnyder@redhat.com>
3561
3562 * gdb.base/gcore.exp: Relax recognition of function breakpoint.
3563
676a0442
DJ
35642002-02-14 Daniel Jacobowitz <drow@mvista.com>
3565
3566 * gdb.base/a2-run.exp: Check for a remote target properly.
3567 * gdb.base/annota1.exp: Likewise.
3568 * gdb.base/list.exp: Likewise.
3569 * gdb.base/reread.exp: Likewise.
3570 * gdb.base/scope.exp: Likewise.
3571 * gdb.base/shlib-call.exp: Likewise.
3572 * gdb.base/term.exp: Likewise.
3573 * gdb.c++/annota2.exp: Likewise.
3574
78b4f468
RE
35752002-02-13 Richard Earnshaw <rearnsha@arm.com>
3576
3577 * gdb.base/watchpoint.exp: Restore previous timeout at end of test.
3578
9a81ba51
MC
35792002-02-10 Michael Chastain <mec@shout.net>
3580
3581 * gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
3582 (call_after_alloca): Ditto.
3583
004af6c7
DJ
35842002-02-10 Daniel Jacobowitz <drow@mvista.com>
3585
3586 * gdb.base/ending-run.exp: Guard "cont" test with
3587 gdb_skip_stdio_test.
3588
37225f62
JB
35892002-02-06 Jim Blandy <jimb@redhat.com>
3590
3591 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
3592 from here...
3593 * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
3594 To here. Disable this test on non-HP platforms. Add big comment.
3595
fe6fdd96
MS
35962002-02-04 Michael Snyder <msnyder@redhat.com>
3597
3598 * gdb.base/ovlymgr.c (ovly_copy): Generalize for targets
3599 other than d10v and m32r.
3600
036fad3f
RE
36012002-02-02 Richard Earnshaw <rearnsha@arm.com>
3602
3603 * gdb.base/default.exp: Rewrite test patterns to reduce time
3604 taken to match them.
3605
7148ab62
DJ
36062002-01-30 Daniel Jacobowitz <drow@mvista.com>
3607
3608 * gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
3609 Allow a start function above main.
3610 * gdb.threads/linux-dp.exp: Fix copyright date.
3611
396cc255
DJ
36122002-01-30 Daniel Jacobowitz <drow@mvista.com>
3613
3614 * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
3615 (check_philosopher_stack): Check for manager thread before checking
3616 for a just-starting thread.
3617
f038d31b
DJ
36182002-01-30 Daniel Jacobowitz <drow@mvista.com>
3619
3620 From Neil Booth <neil@daikokuya.demon.co.uk>:
3621 * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
3622 warnings.
3623
b3ff9d9a
FF
36242002-01-21 Fred Fish <fnf@redhat.com>
3625
3626 * gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
3627 not caller.
3628
39ad761d
JB
36292002-01-21 Jim Blandy <jimb@redhat.com>
3630
3631 * gdb.base/reread.exp: Check that GDB properly re-reads the
3632 executable file when it changes while no inferior is running.
3633
aaf320fa
FF
36342002-01-21 Fred Fish <fnf@redhat.com>
3635
3636 * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
3637 optionally accept the "shlib events" variation.
3638
808a31f5
JB
36392002-01-21 Jim Blandy <jimb@redhat.com>
3640
3641 * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
3642 call `fflush' after every `printf', so that the output is produced
3643 at predictable points, regardless of whatever buffering does (or
3644 doesn't) take place.
3645 * gdb.base/ending-run.exp: Adjust tests to expect output to appear
3646 at different points.
3647
4420d5e2
DJ
36482002-01-20 Daniel Jacobowitz <drow@mvista.com>
3649
3650 * gdb.c++/inherit.exp: Update copyright years.
3651 * gdb.c++/method.exp: Likewise.
3652
3e36a0f4
DJ
36532002-01-20 Daniel Jacobowitz <drow@mvista.com>
3654
3655 * gdb.c++/classes.exp: Update for improved v3 support and skipping
3656 artificial methods/arguments.
3657 * gdb.c++/derivation.exp: Likewise.
3658 * gdb.c++/inherit.exp: Likewise.
3659 * gdb.c++/method.exp: Likewise.
3660 * gdb.c++/virtfunc.exp: Likewise.
3661
b4ceaee6
AC
36622002-01-18 Andrew Cagney <ac131313@redhat.com>
3663
3664 * gdb.hp/gdb.threads-hp/usrthfork.exp: Mark as obsolete.
3665 * gdb.hp/gdb.threads-hp/usrthcore.exp: Ditto.
3666 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Ditto.
3667 * gdb.hp/gdb.threads-hp/usrthfork.c: Ditto.
3668 * gdb.hp/gdb.threads-hp/usrthbasic.c: Ditto.
3669 * gdb.hp/gdb.threads-hp/usrthcore.c: Ditto.
3670
ecace851
JB
36712002-01-17 Jim Blandy <jimb@redhat.com>
3672
3673 * gdb.asm/asm-source.exp (info symbol): Take another shot at
3674 anchoring the pattern matching the entry point symbol's name.
3675
375fc983
AC
36762002-01-17 Andrew Cagney <ac131313@redhat.com>
3677
3678 * gdb.base/maint.exp: Update ``maint internal-error'' to match
3679 continue/quit query. Update copyright.
3680
fe6fdd96
MS
36812002-01-14 Michael Snyder <msnyder@redhat.com>
3682
3683 * gdb.base/gcore.exp: Remove extra debugging output.
3684
e017c81f
DJ
36852002-01-13 Daniel Jacobowitz <drow@mvista.com>
3686
3687 * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
3688 for slightly dubious v2 mangled string.
3689
37ab3bf8
DJ
36902002-01-13 Daniel Jacobowitz <drow@mvista.com>
3691
3692 * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
3693
1bc05c3a 36942002-01-10 Jason Merrill <jason@redhat.com>
7b2ac63b 3695
1bc05c3a 3696 * gdb.c++/namespace.exp: Accept trailing const for 'this'.
7b2ac63b 3697
1bc05c3a
JM
3698 * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
3699 constructors.
3700 * gdb.c++/derivation.exp: Likewise.
3701 * gdb.c++/templates.exp: Likewise.
3702 * gdb.c++/virtfunc.exp: Likewise.
ffcb195b 3703
1bc05c3a
JM
37042002-01-10 Michael Snyder <msnyder@redhat.com>
3705
3706 * gdb.c++/namespace.exp: Accept both '\0' and '\000'.
ffcb195b 3707
a911c360
MS
37082002-01-08 Michael Snyder <msnyder@redhat.com>
3709
3710 * gdb.base/gcore.exp: New test for generate-core-file command.
3711 * gdb.base/gcore.c: Testcase for above.
3712 * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
3713
ea2119ec
JM
37142002-01-08 Jason Merrill <jason@redhat.com>
3715
3716 * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
3717
68203136
FF
37182002-01-07 Fred Fish <fnf@redhat.com>
3719
3720 * gdb.c++/overload.exp: Remove unconditional xfails for:
3721 print foo_instance1.overloadargs(1)
3722 print foo_instance1.overloadargs(1, 2)
3723 print foo_instance1.overloadargs(1, 2, 3)
3724 print foo_instance1.overloadargs(1, 2, 3, 4)
3725 print foo_instance1.overloadargs(1, 2, 3, 4, 5)
3726 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
3727 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
3728 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
3729 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
3730 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
3731 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
3732 print foo_instance1.overload1arg()
3733 print foo_instance1.overload1arg((char)arg2)
3734 print foo_instance1.overload1arg((signed char)arg3)
3735 print foo_instance1.overload1arg((unsigned char)arg4)
3736 print foo_instance1.overload1arg((int)arg7)
3737 print foo_instance1.overload1arg((unsigned int)arg8)
3738 print foo_instance1.overload1arg((float)arg11)
3739 print foo_instance1.overload1arg((double)arg12)
d63a86f8 3740
21b9b5b1
MS
37412002-01-07 Michael Snyder <msnyder@redhat.com>
3742
3743 * gdb.base/huge.exp: New test. Print a very large target data object.
3744 (skip_huge_test): New test variable. Define if you want to skip this
3745 test. The test reads an 8 megabyte data object from the target, so it
3746 might be very time consuming on remote targets with a slow connection.
3747 * gdb.base/huge.c: New file. Test case for above.
3748
725f922e
FF
37492002-01-07 Fred Fish <fnf@redhat.com>
3750
3751 * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
3752 g_instance.bfoo, and g_instance.cfoo.
3753
634d57ec
JL
3754Mon Jan 7 12:22:18 2002 Jeffrey A Law (law@redhat.com)
3755
f286b2c3
JL
3756 * gdb.base/break.c (multi_line_if_conditional): New function.
3757 (multi_ilne_while_conditional): Likewise.
3758 * gdb.base/break.exp: Verify that a breakpoint on a multi-line
3759 IF or WHILE condition puts the breakpoint at the start of
3760 the condition.
3761
634d57ec
JL
3762 * gdb.base/selftest.exp (backtrace through signal handler): Remove
3763 hppa*-*-hpux* expected failure.
3764 * gdb.base/structs.exp (do_function_calls): Similarly.
3765
3766 * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
3767 watchpoints.
3768
9fbfe2dc
AC
37692002-01-06 Andrew Cagney <ac131313@redhat.com>
3770
3771 Fix PR gdb/66.
3772 * gdb.base/structs.exp: Replace skip for a29k with skip for
3773 gdb,cannot_call_functions.
3774 * gdb.base/call-ar-st.exp: Remove references to a29k in comments.
3775 * gdb.base/callfuncs.exp: Ditto.
3776 * gdb.base/call-rt-st.exp: Ditto.
3777 * gdb.base/call-strs.exp: Ditto.
3778 * gdb.base/callfwmall.exp: Ditto.
3779 * gdb.base/scope.exp: Obsolete xfail a29k.
3780 * gdb.c++/misc.exp: Ditto.
3781 * gdb.c++/cplusfuncs.exp: Ditto.
3782 * gdb.base/ptype.exp: Ditto.
3783 * gdb.base/printcmds.exp: Ditto.
3784 * gdb.base/opaque.exp: Ditto.
3785 * gdb.base/list.exp: Ditto.
3786 * gdb.base/funcargs.exp: Ditto.
3787 * gdb.base/default.exp: Ditto.
3788
8ddad156
MS
37892002-01-04 Michael Snyder <msnyder@redhat.com>
3790
ca4976a6 3791 * gdb.base/info-proc.exp: New file, test for "info proc" cmd.
8ddad156
MS
3792 * gdb.base/maint.exp: Add tests for maint info sections options.
3793
1b074332
JL
3794Fri Dec 21 09:42:11 2001 Jeffrey A Law (law@redhat.com)
3795
3796 * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
3797
7d159115
CV
37982001-12-20 Corinna Vinschen <vinschen@redhat.com>
3799
3800 * gdb.asm/arm.inc: New file.
3801 * gdb.asm/asm-source.exp: Add arm targets.
3802 * gdb.asm/configure.in: Ditto.
3803 * gdb.asm/configure: Recreated from configure.in.
3804
8fb87725
JL
3805Thu Dec 20 09:54:36 2001 Jeffrey A Law (law@redhat.com)
3806
afabe08c
JL
3807 * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
3808 with HP's compiler.
3809 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
3810 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
3811 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
3812 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
3813
3814 * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
3815 either HP's compilers or GCC.
3816
db521deb
JL
3817 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
3818 a SIGBUS or SIGSEGV.
3819
3820 * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
3821
3822 * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
3823 can be compiled with either HP's compiler or GCC.
3824
cfa88ab7
JL
3825 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
3826 * gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
3827 * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
3828
ca344dff
JL
3829 * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
3830 to match current gdb output. Update due to using auto-solib-limit
3831 for limiting instead of overloading auto-solib-add.
3832 * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
3833 test program.
3834
3f3c6e55 3835 * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
ca344dff
JL
3836 * gdb.hp/gdb.base-hp/dollar.exp: Likewise
3837 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
3838 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
3839 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
3840 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
3841 * gdb.hp/gdb.defects/bs15503.exp: Likewise.
3842 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
3843 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
3844 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
3845 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
3846 * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
3847 * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
3f3c6e55 3848
8fb87725
JL
3849 * gdb.base/annota1.exp: Expect failure for hpux11 when posting
3850 a SIGTRAP to the inferior.
3851
cf599fa7
CV
38522001-12-19 Corinna Vinschen <vinschen@redhat.com>
3853
3854 * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
3855 Substitute call to target_link by call to gdb_compile.
3856
2cd045cd
JL
3857Wed Dec 19 14:10:57 2001 Jeffrey A Law (law@redhat.com)
3858
3859 * gdb.base/break.exp: Fix HP specific search string when testing
3860 backtracing in a called function.
3861
d63a86f8 3862 * gdb.base/constvars.exp: Only set lang to C++ if we're
2cd045cd
JL
3863 compiling the test with HP's compilers.
3864 * gdb.base/volatile.exp: Similarly.
3865
99ebe9ac
JB
38662001-12-19 Jim Blandy <jimb@redhat.com>
3867
3868 * gdb.base/printcmds.exp: Expect the null character to be printed
3869 as '\0', and the '\013' to be printed as '\v'.
3870 * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
3871 * gdb.base/setvar.exp: Same.
3872
b9891b29
JB
38732001-12-17 Jim Blandy <jimb@redhat.com>
3874
0eba65ab
JB
3875 * gdb.base/completion.exp: Rather than completing very long
3876 filenames, which can make the readline library produce output we
3877 don't recognize, cd to the directory first, and then complete
3878 using nice, short relative paths.
3879
6970b5b1
JB
3880 * gdb.base/completion.exp: On some systems, there is, in fact, a
3881 variable named `b' in scope, since GDB treats all static
3882 variables as being in scope. So use `no_var_named_this'
3883 instead of `b'.
3884
b9891b29
JB
3885 * gdb.base/corefile.exp: Recognize the message saying that GDB
3886 can't find the core file's registers as a failure.
3887
e6ccd35f
JSC
38882001-12-13 Jackie Smith Cashion <jsmith@redhat.com>
3889
3890 * gdb.base/commands.exp (user_defined_command_test): Make "show user"
3891 test expect string more specific.
3892
105ba819
CV
38932001-12-13 Corinna Vinschen <vinschen@redhat.com>
3894
3895 * gdb.asm/asm-source.exp: Add support for xstormy16.
3896 * gdb.asm/configure.in: Ditto.
3897 * gdb.asm/configure: Rebuild.
3898 * gdb.asm/xstormy16.inc: New file.
3899
e9e79dd9
FF
39002001-12-10 Fred Fish <fnf@redhat.com>
3901
3902 * gdb.base/maint.exp: Update to match changes in type dumping code.
3903
347dc97d
JB
39042001-12-10 Jim Blandy <jimb@redhat.com>
3905
3906 * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
3907 matching the entry point symbol's name at the beginning of the
3908 line.
3909
5178b9d6
DJ
39102001-12-07 Daniel Jacobowitz <drow@mvista.com>
3911
3912 * gdb.c++/classes.exp, gdb.c++/derivation.exp,
3913 gdb.c++/inherit.exp, gdb.c++/method.exp,
3914 gdb.c++/namespace.exp, gdb.c++/templates.exp,
3915 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
3916 and class layout support.
3917
af890c52
DJ
39182001-12-07 Daniel Jacobowitz <drow@mvista.com>
3919
3920 * gdb.c++/classes.exp: Add test for static member function.
3921 * gdb.c++/misc.cc: Add class with static member function.
3922
7a345fb3
JB
39232001-12-07 Jim Blandy <jimb@redhat.com>
3924
f2e54a80 3925 If GDB says it can't find the struct the function returned, report
8032bf31
JB
3926 those tests as `unsupported'.
3927 * gdb.base/call-rt-st.exp (print_struct_call): New function.
3928 Rewrite subsequent tests to use it.
3929
3930 If GDB says it can't find the struct the function returned, report
f2e54a80
JB
3931 those tests as `unsupported'.
3932 * gdb.base/structs.exp (call_struct_func): New function.
3933 (do_function_calls): Use call_struct_func to call the functions
3934 returning structs.
3935
0bc69509
JB
3936 * gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
3937 whether functions are prototyped or not, so we can't possibly pass
3938 arguments to t_float_values2 properly.
3939
7a345fb3
JB
3940 * gdb.base/break.exp: (test_next_with_recursion): Don't change the
3941 value of `timeout' for targets other than the mips*tx39-*.
3942
edb6ede1
MS
39432001-12-06 Michael Snyder <msnyder@redhat.com>
3944
d63a86f8 3945 * gdb.asm/asm-source.exp: Add tests for info target, info symbol,
edb6ede1
MS
3946 and detect whether the start symbol has a leading underscore.
3947
2d842f13
JB
39482001-12-04 Jim Blandy <jimb@redhat.com>
3949
3950 * gdb.base/completion.exp: Clarify indentation.
3951
68550daf
JB
39522001-12-03 Jim Blandy <jimb@redhat.com>
3953
3954 * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
3955 variables on the S/390, not `.word'.
3956
cd5195a8
JB
39572001-11-30 Jim Blandy <jimb@redhat.com>
3958
3959 Add assembly-source tests for s390-ibm-linux.
3960 * gdb.asm/s390.inc: New file.
3961 * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
3962 the S/390 architecture.
3963 * gdb.asm/configure: Regenerated.
3964
ca9efc90
MS
39652001-11-30 Michael Snyder <msnyder@redhat.com>
3966
3967 * gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
3968 next, info source, info sources, info line, global and static
3969 variables, and static functions.
3970 * gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
3971 * gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
3972 * gdb.asm/asmsrc1.s: Add a static function and some variables.
3973 * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
3974 * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
3975 (gdbasm_leave): Restore frame pointer.
3976 (gdbasm_startup): Copy stack set-up from crt0.S.
3977
d0e66976
FN
39782001-11-26 Fernando Nasser <fnasser@redhat.com>
3979
3980 From 2001-11-12 Jackie Smith Cashion <jsmith@redhat.com>:
3981 * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
3982 to a local (non-static) variable. Copy tstruct.a to a static buffer
3983 and return a pointer to that buffer.
3984 * gdb.base/callfwmall.c (t_structs_a): Ditto.
3985
e2334072
MK
39862001-11-24 Mark Kettenis <kettenis@gnu.org>
3987
3988 * gdb.asm/configure.in: Fix recognition of ix86 target.
3989 * gdb.asm/configure: Regenerate.
3990
756caa3d
MS
39912001-11-21 Michael Snyder <msnyder@redhat.com>
3992
3993 * gdb.asm/sparc.inc: New file.
3994 * gdb.asm/asm-source.exp: Recognize sparc target.
3995 * gdb.asm/configure.in: Recognize sparc target.
3996 * gdb.asm/configure: Regenerate.
d63a86f8 3997
9a4d72d5
MS
39982001-11-21 Michael Snyder <msnyder@redhat.com>
3999
4000 * gdb.asm/m32r.inc: New file.
4001 * gdb.asm/asm-source.exp: Recognize m32r target.
4002 * gdb.asm/configure.in: Recognize m32r target.
4003 * gdb.asm/configure: Regenerate.
4004
a773d1cd
MS
40052001-11-20 Michael Snyder <msnyder@redhat.com>
4006
017ac23d
MS
4007 * gdb.asm/i386.inc: New file.
4008 * gdb.asm/asm-source.exp: Recognize ix86 target.
4009 * gdb.asm/configure.in: Recognize ix86 target.
4010 * gdb.asm/configure: Regenerate.
4011
a773d1cd
MS
4012 * gdb.c++/namespace.exp: Fix quotes in output messages.
4013
bb632afb
MS
40142001-11-14 Michael Snyder <msnyder@redhat.com>
4015
25d559ca 4016 * gdb.base/code-expr.exp: New file. Tests use of the "@code"
bb632afb
MS
4017 qualifier in a type cast expression, to designate an address
4018 in the instruction space (Harvard architecture).
4019
4749e309
MS
40202001-11-13 Michael Snyder <msnyder@redhat.com>
4021
4022 * gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
4023 Tests for expressions using 'const' and 'volatile'.
4024
25050984
CV
40252001-11-13 Corinna Vinschen <vinschen@redhat.com>
4026
4027 * gdb.asm/asm-sources.exp: Allow defining linker flags.
4028
1902c51f
DJ
40292001-11-12 Daniel Jacobowitz <drow@mvista.com>
4030
4031 * lib/mi-support.exp (mi_run_to_helper): Move comments
4032 outside of gdb_expect.
4033
dcf95b47
DJ
40342001-11-11 Daniel Jacobowitz <drow@mvista.com>
4035
4036 * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
4037 mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
4038 mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
4039 mi0_run_to): New functions.
4040 * gdb.mi/mi-simplerun.exp: Use them.
4041 * gdb.mi/mi0-simplerun.exp: Likewise.
4042 * gdb.mi/mi-var-cmd.exp: Likewise.
4043 * gdb.mi/mi0-var-cmd.exp: Likewise.
d63a86f8 4044
45b074e1
AC
40452001-11-10 Andrew Cagney <ac131313@redhat.com>
4046
4047 * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
4048 * gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
4049
bf50d346
AC
40502001-11-09 Andrew Cagney <ac131313@redhat.com>
4051
4052 * gdb.base/restore.exp: Include $expected value in restored test
4053 message.
4054
9383332c
AC
40552001-11-09 Andrew Cagney <ac131313@redhat.com>
4056
4057 * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
4058 implemented.
4059
db62520a
MS
40602001-11-08 Michael Snyder <msnyder@redhat.com>
4061
4062 * gdb.base/callfuncs.exp: Add tests for nested call dummies.
4063 Add pass/fail message for stop at breakpoint in call dummy function.
4064
b5703437
MS
40652001-11-07 Michael Snyder <msnyder@redhat.com>
4066
d63a86f8
RM
4067 * gdb.c++/templates.exp (test_template_breakpoints):
4068 If we get an overload menu, but it does not match what
760f6330 4069 we expect, we still need to issue the "cancel" command.
3b2a7ae5
MS
4070 * gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
4071 making the whitespace optional. Argument for "new" may be
4072 "unsigned" as well as "unsigned int/long".
d63a86f8 4073 * gdb.c++/templates.exp: Replace "const &" with "const ?&",
eef747c0
MS
4074 making the whitespace optional. Also replace "(void) with
4075 "((void|)), making the keyword "void" optional.
d63a86f8 4076 * gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
63f50499
MS
4077 making the whitespace optional. Also replace "(void) with
4078 "((void|)), making the keyword "void" optional.
3bf40917
MS
4079 * gdb.base/callfuncs.c (t_float_values): This function must
4080 _not_ be prototyped, and the following function (t_float_values2)
d63a86f8 4081 must be prototyped (if the compiler supports it), so that GDB
3bf40917
MS
4082 can be tested against both cases. Usually one case involves
4083 promotion of float to double, while the other does not.
4084 * gdb.base/callfwmall.c: Ditto.
b5703437
MS
4085 * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
4086 includes a stack frame for "start".
4087
c8ab4e6d
JB
40882001-11-05 Jim Blandy <jimb@redhat.com>
4089
4090 * gdb.stabs/weird.exp: Delete "p v_comb" test. It assumes that
4091 pointers are 32 bits long, and that offsets of relocs are always
4092 stored in the data (REL-style), and not in the reloc entry itself
4093 (RELA-style).
4094 * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
4095 stabs.
4096
3f08ced9
MS
40972001-11-01 Michael Snyder <msnyder@redhat.com>
4098
4099 * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
4100 and regular expression operators by using quoting.
4101
cbfa24cd
MS
41022001-10-31 Michael Snyder <msnyder@redhat.com>
4103
4104 * gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
4105 depending on what the symbol table contains.
4106 * gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
4107 the output of the ptype command. Similarly, accept both "const &"
4108 and "const&".
4109
aaa68313
CV
41102001-10-31 Corinna Vinschen <vinschen@redhat.com>
4111
4112 * gdb.base/miscexprs.c (main): Add usage of preprocessor
4113 symbol `STORAGE' to allow to choose the storage class of
4114 the local datastructures.
4115 * gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
4116 compiler directive.
4117
91740388
MS
41182001-10-30 Michael Snyder <msnyder@redhat.com>
4119
4120 * gdb.base/jump.exp: Allow it to run for all targets.
4121
1b7c05e7
CV
41222001-10-29 Corinna Vinschen <vinschen@redhat.com>
4123
4124 * gdb.base/call-ar-st.c (print_double_array): Match for loop
4125 with new double_array size.
4126 (main): Change storage class of all local variables to static.
4127 Reduce size of double_array to 9.
4128 * gdb.base/call-ar-st.exp: Increase timeout value.
4129 Change expected output for double array to match new size in
4130 call-ar-st.c.
4131
36a22261
CV
41322001-10-29 Corinna Vinschen <vinschen@redhat.com>
4133
4134 * gdb.base/ending-run.exp: Create identical output when passing
4135 `step to end of run' case. Add regular expression branch satisfying
d63a86f8 4136 Stormy16 target.
36a22261 4137
92b8ae91
MK
41382001-10-28 Mark Kettenis <kettenis@gnu.org>
4139
4140 * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
4141 that we catch the expected failure under Linux/x86.
4142
cb135b83
OF
41432001-10-29 Orjan Friberg <orjanf@axis.com>
4144
4145 * gdb.base/setvar.exp: Escape curly braces.
4146 * gdb.stabs/weird.exp: Ditto.
4147
6884aa54
DJ
41482001-10-27 Daniel Jacobowitz <drow@mvista.com>
4149
4150 * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
4151 * gdm.mi/mi0-hack-cli.exp: Likewise.
4152
0398c9aa
AC
41532001-10-25 Andrew Cagney <ac131313@redhat.com>
4154
4155 * gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
4156 messages.
4157
d20bf2e8
AC
41582001-10-21 Andrew Cagney <ac131313@redhat.com>
4159
4160 * lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
4161 checking MI enabled.
4162
03dd63aa
CV
41632001-10-09 Corinna Vinschen <vinschen@redhat.com>
4164
4165 * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
4166
1d9d99f3
FCE
41672001-10-04 Frank Ch. Eigler <fche@redhat.com>
4168
4169 * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
4170 if gdb child process crashes, just signal an error.
4171
838ae6c4
JB
41722001-10-02 Jim Blandy <jimb@redhat.com>
4173
4174 * lib/gdb.exp (test_xfail_format): Simplify.
4175
4176 * lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
4177 front of the variable name `format'. Simplify `if'.
4178
8f0cbc1c
DJ
41792001-10-01 Daniel Jacobowitz <drow@mvista.com>
4180
4181 * gdb.threads/pthreads.exp: Wait for output and delay
4182 before sending ^C.
4183
1f08dafd
DJ
41842001-10-01 Daniel Jacobowitz <drow@mvista.com>
4185
4186 * gdb.mi/mi-var-display.exp (continue to incr_a): Recognize
4187 some incorrect output instead of timing out.
4188 * gdb.mi/mi-var-display.exp (continue to incr_a): Likewise.
4189
674f90ff
CV
41902001-09-28 Corinna Vinschen <vinschen@redhat.com>
4191
4192 * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
4193 check to allow additional `int'.
4194
9b284272
DJ
41952001-09-27 Daniel Jacobowitz <drow@mvista.com>
4196
4197 * gdb.base/completion.exp: Remove incorrect 'p "a' test.
4198 Add tests for 'p "break' (pass) and 'p "break.' (xfail).
4199
b55a4771
MS
42002001-09-27 Michael Snyder <msnyder@redhat.com>
4201
4202 * lib/gdb.exp (test_debug_format): New proc.
4203 (setup_xfail_format): Use new proc test_debug_format.
4204 * gdb.base/constvars.exp (local_compiler_xfail_check): New
4205 proc; use new service proc test_debug_format.
4206 Replace all other "gcc_compiled" tests with this test.
4207 * gdb.base/volatile.exp (local_compiler_xfail_check): New
4208 proc; use new service proc test_debug_format.
4209 Replace all other "gcc_compiled" tests with this test.
4210
42112001-09-27 Michael Snyder <msnyder@redhat.com>
4212
4213 * gdb.base/cvexpr.exp: New file.
4214 * gdb.base/cvexpr.c: New file
4215 Test for expressions using const and volatile keywords.
4216
4e6667ac
CV
42172001-09-26 Corinna Vinschen <vinschen@redhat.com>
4218
4219 * gdb.base/constvars.exp: Check for different orders of keywords
4220 and additional "int" strings in output.
4221
4f337972
AC
42222001-09-22 Andrew Cagney <ac131313@redhat.com>
4223
4224 * gdb.base/maint.exp: Add "maintenance set/show" to list of valid
4225 responses from "help maint".
4226
2015650d
FCE
42272001-09-19 Frank Ch. Eigler <fche@redhat.com>
4228
4229 * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
4230 to localhost:NNN instead of :NNN, in case Xvfb is listening
4231 only on TCP.
4232
f3bcedc1
CV
42332001-09-19 Corinna Vinschen <vinschen@redhat.com>
4234
4235 * gdb.base/recurse.exp: When checking leaving the watchpoint
4236 scope, recognize when gdb is in function's epilogue and pass.
4237
6b819c92
KS
42382001-09-18 Keith Seitz <keiths@redhat.com>
4239
4240 * lib/insight-support.exp (_gdbtk_export_target_info): Add
4241 support for running tests against sid targets.
4242 (gdbtk_done): Ditto.
4243
a10c9419
CV
42442001-09-18 Corinna Vinschen <vinschen@redhat.com>
4245
4246 * gdb.base/ending-run.c (main): Set stdout buffersize
4247 to the same reasonable value for any target.
4248 * gdb.base/ending-run.exp: Add a regular expression
4249 to make testsuite happy on Sanyo Stormy16 target.
4250
739d0d99
CV
42512001-09-17 Corinna Vinschen <vinschen@redhat.com>
4252
4253 * gdb.base/display.c (do_loops): Add float variable `f'.
4254 Increment f in loop.
4255 * gdb.base/display.exp: Increment timeout by 60 seconds.
4256 Change float display test to use variable `f'.
4257
1b8947f0
JB
42582001-09-17 Jim Blandy <jimb@redhat.com>
4259
4260 * gdb.base/restore.exp: Use temporary breakpoints, to avoid
4261 overflowing the limited breakpoint tables on some ROM monitors
4262 (like the ROM68K).
4263
9890ac81
FCE
42642001-09-15 Frank Ch. Eigler <fche@redhat.com>
4265
4266 * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
4267 the "-ac" (disable access control) flag.
4268
6db765ea
JH
42692001-08-30 Jeff Holcomb <jeffh@redhat.com>
4270
4271 * gdb.base/remote.c: Use a small buffer for targets with 16-bit
4272 ints.
4273
4c32cc04
KS
42742001-08-30 Keith Seitz <keiths@redhat.com>
4275
4276 * lib/gdb.exp: Move all insight-related functionality into
4277 separate file.
4278 * lib/insight-support.exp: New file.
4279
8d6e6f81
FCE
42802001-08-29 Frank Ch. Eigler <fche@redhat.com>
4281
4282 * config/sid.exp (sid_start): Never set sid verbosity; disable
4283 expect_background {} that consumed its stdout; tolerate </dev/null.
4284 Attempt to set endianness override in "sid" protocol mode. Cleanup.
4285
6a90e1d0
AC
42862001-08-18 Andrew Cagney <ac131313@redhat.com>
4287
4288 * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
4289 CLI jump command to start it.
4290 (mi_run_to_main): Fail immediatly when unexpected output.
4291
1759b3c3
AC
42922001-08-18 Andrew Cagney <ac131313@redhat.com>
4293
4294 * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
4295 beginning of function. Fix PR gdb/191.
4296
61d11d80
FCE
42972001-08-16 Frank Ch. Eigler <fche@redhat.com>
4298
4299 * config/sid.exp (sid_start): Don't warn if we cannot figure out
4300 what to force sid endianness to.
4301
942a4df2
KS
43022001-08-15 Keith Seitz <keiths@redhat.com>
4303
4304 * lib/gdb.exp (gdbtk_start): Don't set environment
4305 variables for TCL_LIBRARY and friends. Insight will
4306 now figure these out for itself.
4307
0521c418
MS
43082001-08-02 Michael Snyder <msnyder@redhat.com>
4309
4310 * gdb.base/completion.exp: Remove the symbol "a64l" from
4311 the expect string; this is target-specific, and not related
4312 to what is being tested.
4313
74a9a58a
DB
43142001-08-02 Dave Brolley <brolley@redhat.com>
4315
4316 * config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
4317
c70819fa
MS
43182001-07-25 Michael Snyder <msnyder@redhat.com>
4319
c2b8fa57
MS
4320 * gdb.base/consecutive.exp: New file. Test stepping over
4321 breakpoints on consecutive instructions.
4322 * gdb.base/consecutive.c: New file.
4323
c70819fa
MS
4324 * gdb.base/call-rt-st.exp: Use double-backslash to quote
4325 curly braces in regular expressions.
4326
2b1a1355
MS
43272001-07-25 Michael Snyder <msnyder@redhat.com>
4328
4329 * gdb.base/ending-run.exp: Accept "Program exited normally" as
4330 legitimate output from stepping out of main.
4331
413eca6f
KS
43322001-07-22 Keith Seitz <keiths@redhat.com>
4333
4334 * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
4335 the empty string, do not run the tests.
4336
7e5a9322
SC
43372001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
4338
4339 * gdb.base/long_long.exp: Detect size of pointer. Take into
4340 account 2-byte pointers when testing for p/a results.
4341
de58f10f
SC
43422001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
4343
d63a86f8 4344 * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
de58f10f
SC
4345 and defined to 1K for m68hc11.
4346 (random_data): Reduce table to 1K for embedded platforms (68hc11).
4347 * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
4348 (sizeof_random_data): New variable to tell the size of the data table;
4349 don't test past this size; always run to main.
4350
d6f5fea1
SC
43512001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
4352
4353 * gdb.base/return2.exp: return of long long and double fails for
4354 68HC11; don't execute these tests on that platform.
4355 * gdb.base/return.exp: Return of a double fails for 68hc11.
4356
c477543d
SC
43572001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
4358
4359 * call-ar-st.exp: Use gdb_skip_float_test to avoid executing
4360 tests that print a float.
4361 * call-rt-st.exp: Likewise.
4362
63cf1c79
MK
43632001-07-12 Mark Kettenis <kettenis@gnu.org>
4364
4365 * gdb.base/so-impl-ld.exp: Remove stray space that prevented
4366 running this test on Linux.
4367
112f9ab5
MC
43682001-06-24 Michael Chastain <chastain@redhat.com>
4369
4370 * gdb.base/arithmet.exp: Remove some tests to make all test names
4371 unique.
4372
4970cb0f
MS
43732001-07-03 Michael Snyder <msnyder@redhat.com>
4374
4375 * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
4376 the output of the ptype command.
4377
d85da69f
MS
43782001-07-02 Michael Snyder <msnyder@redhat.com>
4379
4c8a82de
MS
4380 * gdb.base/completion.exp: Don't assume that break.c is the only
4381 source file that may contain functions named "marker".
d85da69f
MS
4382 * gdb.base/corefile.exp: Quote the curly braces in regexp.
4383
8afc772b
AC
43842001-06-28 Andrew Cagney <ac131313@redhat.com>
4385
4386 * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
4387 of files to delete.
4388
4389 From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
4390 * gdb.disasm/h8300s.exp: New file.
4391 gdb.disasm/h8300s.s: Likewise.
4392
cff22675
AC
43932001-06-27 Andrew Cagney <ac131313@redhat.com>
4394
4395 * lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format
4396 empty breakpoint tables.
4397
68c81b54
AC
43982001-06-25 Andrew Cagney <ac131313@redhat.com>
4399
4400 * lib/mi-support.exp: Update args=... part of stop-reason
4401 patterns. Accept either a list or a tuple.
4402
2dd62704
AC
44032001-06-23 Andrew Cagney <ac131313@redhat.com>
4404
4405 * lib/mi-support.exp: Remove local emacs variable defining
4406 change-log-default-name.
4407
b4127474
MC
44082001-06-22 Michael Chastain <chastain@redhat.com>
4409
4410 * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
4411 This is operationally compatible with the previous version.
4412
8dbfb380
JB
44132001-06-13 Jim Blandy <jimb@redhat.com>
4414
4415 * lib/gdb.exp (gdb_test): Doc fix.
4416
f2d8c86d
MC
44172001-06-10 Michael Chastain <chastain@redhat.com>
4418
4419 * gdb.base/exprs.exp: Remove a duplicate test.
4420
81564d34
JB
44212001-06-06 Jim Blandy <jimb@redhat.com>
4422
4423 * gdb.base/return2.exp (main): Use values to test float and double
4424 returns that are not NaN's, to avoid being confused by IEEE
4425 comparison rules.
4426
da55addb
MS
44272001-06-04 Michael Snyder <msnyder@redhat.com>
4428
4429 * gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
d63a86f8 4430 non-zero if control_c fails. Terminate the test on failure,
da55addb
MS
4431 rather than wait for 12 more tests to time out.
4432
42c65987
JB
44332001-06-06 Jim Blandy <jimb@redhat.com>
4434
b18bced9 4435 * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
d63a86f8 4436 Don't forget to match the GDB prompt.
b18bced9 4437
42c65987
JB
4438 * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
4439
5b41e5f0
JB
44402001-06-04 Jim Blandy <jimb@redhat.com>
4441
4442 * gdb.base/help.exp: Update pattern to exclude `print-load-map'
4443 command.
4444
015e046f
KB
44452001-05-31 Kevin Buettner <kevinb@redhat.com>
4446
4447 * gdb.base/annota1.exp (info break): Match four or more spaces
4448 after "Address".
4449
fb1ffbbe
MC
44502001-05-31 Michael Chastain <chastain@redhat.com>
4451
4452 * gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
4453 (dm_type_int_star): Likewise.
4454 (dm_type_long_star): Likewise.
4455 (dm_type_void_star): Likewise.
4456
5ea2a32c
KB
44572001-05-29 Kevin Buettner <kevinb@redhat.com>
4458
4459 * gdb.base/completion.exp (INPUTRC): Set this environment variable
4460 to a known value in order to get consistent results regardless
4461 of the setting of INPUTRC or the presence or contents of .inputrc.
4462
ae23c492
MS
44632001-05-24 Michael Snyder <msnyder@redhat.com>
4464
ac55707e
MS
4465 * gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
4466 Don't require that the main thread and the manager thread are the
4467 first in the list.
4468
ae23c492
MS
4469 * gdb.threads/pthreads.exp (test_startup): Relax test for thread
4470 debugging. If test fails, issue an "unsupported" not a "fail".
4471
400071f1
JB
44722001-05-24 Jim Blandy <jimb@redhat.com>
4473
4474 Don't assume that short is shorter than int.
4475 * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
4476 assume that shorts are smaller than ints. On a 16-bit machine,
d63a86f8 4477 this isn't true.
400071f1
JB
4478 ("print unsigned char == (~0)"): Add test that verifies that ~0,
4479 an int, is not equal to ~0 stored in an unsigned char. This tests
4480 the same thing that the previous test meant to, but works on
4481 16-bit machines, too.
4482 ("print unsigned char != (~0)"): Same test, complemented.
4483
0816a3e5
MS
44842001-05-24 Michael Snyder <msnyder@redhat.com>
4485
4486 * gdb.threads/pthreads.exp (all_threads_running): Add an explicit
d63a86f8 4487 test for (full_coverage == 0). This makes the test run faster,
0816a3e5
MS
4488 and prevents dejagnu getting out of step.
4489
f6dc23a9
KB
44902001-05-23 Kevin Buettner <kevinb@redhat.com>
4491
4492 * gdb.base/finish.exp (finish_void): Revise pattern for
4493 stopping on the call statement to not permit stopping at
4494 the start of the instructions comprising the call sequence.
4495
7dbd117d
MC
44962001-05-19 Michael Chastain <chastain@redhat.com>
4497
4498 * gdb.base/callfuncs.exp: Make all test names unique.
4499 * gdb.base/commands.exp: Make all test names unique.
4500 * gdb.base/condbreak.exp: Make all test names unique.
4501 * gdb.base/dbx.exp: Make all test names unique.
4502 * gdb.base/default.exp: Make all test names unique.
4503 * gdb.base/define.exp: Make all test names unique. Conform some FAIL
4504 and TIMEOUT messages to their corresponding PASS message.
4505 * gdb.base/ending-run.exp: Make all test names unique.
4506 * gdb.base/long_long.exp: Remove duplicate test.
4507
6b0b0a9e
KB
45082001-05-21 Kevin Buettner <kevinb@redhat.com>
4509
4510 * gdb.base/finish.exp (finish_void): Allow "finish" command to
4511 stop on the call statement as well as the statement after the
4512 call.
4513
2caa35cb
MS
45142001-05-21 Michael Snyder <msnyder@redhat.com>
4515
4516 * gdb.base/long_long.exp: Allow for targets with 4-byte short.
4517
40713331
EZ
45182001-05-10 Elena Zannoni <ezannoni@redhat.com>
4519
4520 * gdb.base/completion.exp: Revamp test. Make it execute on all
4521 platforms.
4522
c2c1be8d
EZ
45232001-05-10 Elena Zannoni <ezannoni@redhat.com>
4524
2c9cd303
EZ
4525 * config/gdbserver.exp (gdb_load): Handle the case
4526 in which the arguments to gdbserver are given in the
4527 baseboard configuration file.
4528 Also handle the case in which the server needs to do a
4529 load.
4530
9671de48
KS
45312001-05-07 Keith Seitz <keiths@cygnus.com>
4532
4533 * lib/gdb.exp (gdbtk_initialize_display): New proc which will
4534 set up the display for testing.
4535 (gdbtk_start): Convert all paths to paths that tcl will like.
4536 Export target information to environment.
4537 (_gdbtk_xvfb_init): New proc to start Xvfb if available and
4538 necessary.
4539 (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
4540 (to_tcl_path): New proc to convert a given pathname into
4541 a path acceptible as an argument to a tcl command.
4542 (_gdbtk_export_target_info): New proc to export target info
4543 into the environment for gdbtk testing.
4544 (gdbtk_done): New proc to signal end-of-test.
4545
5a360f47
JB
45462001-05-06 Jim Blandy <jimb@redhat.com>
4547
4548 * restore.c: Make the code of caller0 correspond to its comment.
4549
66c756c6
MS
45502001-05-03 Michael Snyder <msnyder@redhat.com>
4551
4552 * config/sid.exp (gdb_target_sid): Check for error messages.
4553 On error or timeout, don't make expect exit (which will terminate
4554 all subsequent tests); instead just make gdb exit.
d63a86f8 4555 (gdb_load): Check for error messages. On error or timeout,
66c756c6
MS
4556 return a negative value.
4557
a966fde5
JB
45582001-04-24 Jim Blandy <jimb@redhat.com>
4559
851c18e0
JB
4560 * gdb.c++/templates.exp: If we see the prompt for the overload
4561 list, but we haven't recognized any of the longer patterns,
4562 arrange for this test to fail, not hang.
4563
a966fde5
JB
4564 * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
4565 variations.
4566
db144853
MC
45672001-04-22 Michael Chastain <chastain@redhat.com>
4568
4569 * gdb.c++/local.exp: Use the 'runto' library function.
4570 * gdb.c++/namespace.exp: Likewise.
4571 * gdb.c++/overload.exp: Likewise.
4572
3207ec21
KB
45732001-03-26 Kevin Buettner <kevinb@redhat.com>
4574
4575 * gdb.base/Makefile.in (EXECUTABLES): Add step-line.
4576 * gdb.base/step-line.exp: New file. Test step/next in presence of
4577 #line directives.
4578 * gdb.base/step-line.c: New file. Test program for the above.
4579 * gdb.base/step-line.inp: New file. We pretend that this file has
4580 been transformed by some other tool into step-line.c.
4581
13b57657
JB
45822001-03-21 Jim Blandy <jimb@redhat.com>
4583
4584 * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
4585 unmangled operator names.
4586
754cbe1c
JB
45872001-03-20 Jim Blandy <jimb@redhat.com>
4588
4589 * gdb.threads/linux-dp.exp: Recognize an additional message
4590 generated by GDB when it doesn't understand how to debug threads
4591 on the target system.
4592
177495c9
AC
45932001-03-19 Andrew Cagney <ac131313@redhat.com>
4594
4595 * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
4596
f266096b
MC
45972001-03-12 Michael Chastain <chastain@redhat.com>
4598
4599 * gdb.c++/derivation.exp: Use the 'runto' library function.
4600
cac3c2ff
MC
46012001-03-12 Michael Chastain <chastain@redhat.com>
4602
4603 * gdb.c++/annota2.exp: Fix regular expression for "post-query".
4604
b6c11a24
MC
46052001-02-24 Michael Chastain <chastain@redhat.com>
4606
4607 * gdb.c++/ref-types.exp: Change handwritten code to library
4608 function 'runto'.
4609
6bae5bce
OF
46102001-03-16 Orjan Friberg <orjanf@axis.com>
4611
4612 * gdb.base/signals.exp: Set count to 0 explicitly.
4613
0015fd9a
MS
46142001-03-15 Mark Salter <msalter@redhat.com>
4615
4616 * config/monitor.exp (gdb_target_cmd): Add explicit error return.
4617 (gdb_target_monitor): Add check of gdb_target_cmd return value.
880a15ee
MS
4618 (gdb_load): Add support for additional target_info: gdb_download_size
4619 and gdb_load_timeout.
0015fd9a 4620
fc33412a
DT
4621Thu Mar 8 16:06:00 2001 David Taylor <taylor@redhat.com>
4622
4623 * gdb.base/annota1.exp: Move test of isnative to earlier in the
4624 file -- to prevent failing when the compile fails but we have no
4625 intention of running the tests anyway.
4626
4627 * gdb.base/long_long.exp: Test target_info for no_long_long, skip
4628 tests if set.
4629
4630 * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
4631 integers.
4632
4633 * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
4634 * gdb.c++/namespace.exp: Ditto.
4635
115f06de
OF
46362001-03-07 Orjan Friberg <orjanf@axis.com>
4637
4638 * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
4639 * gdb.base/pointers.exp: Relax pattern match of decimals.
4640
b6ba6518
KB
46412001-03-06 Kevin Buettner <kevinb@redhat.com>
4642
4643 * Makefile.in, config/abug.exp, config/cfdbug.exp,
4644 config/cpu32bug.exp, config/dve.exp, config/est.exp,
4645 config/gdbserver.exp, config/hmsirom.exp, config/hppro.exp,
4646 config/i960.exp, config/m32r.exp, config/mn10300-eval.exp,
4647 config/monitor.exp, config/proelf.exp, config/rom68k.exp,
4648 config/sh.exp, config/sid.exp, config/slite.exp,
4649 config/sparclet.exp, config/udi.exp, config/unknown.exp,
4650 config/vr4300.exp, config/vr5000.exp, config/vx.exp,
4651 config/vxworks.exp, config/vxworks29k.exp,
4652 gdb.asm/asm-source.exp, gdb.base/a2-run.exp,
4653 gdb.base/all-bin.exp, gdb.base/annota1.exp,
4654 gdb.base/arithmet.exp, gdb.base/assign.exp,
4655 gdb.base/async.exp, gdb.base/attach.exp,
4656 gdb.base/bitfields.exp, gdb.base/bitops.exp,
4657 gdb.base/break.exp, gdb.base/call-ar-st.exp,
4658 gdb.base/call-rt-st.exp, gdb.base/call-strs.exp,
4659 gdb.base/callfuncs.exp, gdb.base/callfwmall.exp,
4660 gdb.base/commands.exp, gdb.base/completion.exp,
4661 gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
4662 gdb.base/constvars.exp, gdb.base/corefile.exp,
4663 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
4664 gdb.base/display.exp, gdb.base/ena-dis-br.exp,
4665 gdb.base/ending-run.exp, gdb.base/environ.exp,
4666 gdb.base/eval-skip.exp, gdb.base/exprs.exp,
4667 gdb.base/finish.exp, gdb.base/foll-exec.exp,
4668 gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp,
4669 gdb.base/funcargs.exp, gdb.base/help.exp,
4670 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp,
4671 gdb.base/logical.exp, gdb.base/long_long.exp,
4672 gdb.base/maint.exp, gdb.base/mips_pro.exp,
4673 gdb.base/miscexprs.exp, gdb.base/nodebug.exp,
4674 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp,
4675 gdb.base/pointers.exp, gdb.base/printcmds.exp,
4676 gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp,
4677 gdb.base/regs.exp, gdb.base/relational.exp,
4678 gdb.base/remote.exp, gdb.base/reread.exp,
4679 gdb.base/restore.exp, gdb.base/return2.exp,
4680 gdb.base/scope.exp, gdb.base/sect-cmd.exp,
4681 gdb.base/selftest.exp, gdb.base/setshow.exp,
4682 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
4683 gdb.base/sigall.exp, gdb.base/signals.exp,
4684 gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp,
4685 gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
4686 gdb.base/step-test.exp, gdb.base/structs.c,
4687 gdb.base/structs.exp, gdb.base/structs2.exp,
4688 gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp,
4689 gdb.base/volatile.exp, gdb.base/watchpoint.exp,
4690 gdb.base/whatis-exp.exp, gdb.base/whatis.exp,
4691 gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
4692 gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.exp,
4693 gdb.c++/derivation.exp, gdb.c++/inherit.exp,
4694 gdb.c++/local.exp, gdb.c++/member-ptr.exp, gdb.c++/method.exp,
4695 gdb.c++/misc.exp, gdb.c++/namespace.exp, gdb.c++/overload.exp,
4696 gdb.c++/ref-types.exp, gdb.c++/templates.exp,
4697 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp,
4698 gdb.disasm/am33.exp, gdb.disasm/hppa.exp,
4699 gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp,
4700 gdb.fortran/types.exp, gdb.java/jmisc.exp,
4701 gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
4702 gdb.stabs/weird.exp, gdb.threads/linux-dp.exp,
4703 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
4704 gdb.trace/circ.exp, gdb.trace/collection.exp,
4705 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
4706 gdb.trace/limits.exp, gdb.trace/packetlen.exp,
4707 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp,
4708 gdb.trace/report.exp, gdb.trace/save-trace.exp,
4709 gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
4710 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
4711 lib/gdb.exp, lib/mi-support.exp: Update/correct copyright
4712 notices.
4713
dc96c6c7 47142001-02-27 Michael Snyder <msnyder@cygnus.com>
d8f92b1f
MS
4715
4716 * gdb.base/varargs.c (find_max_double): Fix printf format string:
4717 first arg is int not float.
4718
dc96c6c7 47192001-02-22 Michael Snyder <msnyder@cygnus.com>
40f33b9b
MS
4720
4721 * gdb.base/reread.exp: Unsupported for non-native targets;
4722 doesn't work for remote debugging.
4723
9b0c4aeb
FN
47242001-02-19 Fernando Nasser <fnasser@redhat.com>
4725
4726 From Drew Moseley <dmoseley@redhat.com>
4727 * gdb.base/ending-run.exp: Properly handle the BSP state when
4728 stepping past the end of main.
4729
02aa71d5
MC
47302001-02-19 John Moore <jmoore@redhat.com>
4731
4732 * gdb.base/commands.exp (infrun_breakpoint_command_test):
4733 Converted HPUX fix for non-expected items following multiple
4734 step commands into general solution for all platforms.
4735
1fa449a4
MC
47362001-02-18 Michael Chastain <chastain@redhat.com>
4737
4738 * gdb.c++/classes.exp (do_tests): Change runto statements
4739 from "runto 'foo(void)'" to "runto 'foo'". This makes the
4740 statements demangler agnostic.
4741 * gdb.c++/virtfunc.exp (do_tests): Likewise.
4742 (gdb_virtfunc_restart): Likewise.
4743
b2f9ec70
MC
47442001-02-14 Michael Chastain <chastain@redhat.com>
4745
4746 * gdb.c++/inherit.exp (do_tests): Change runto statements
4747 from "runto 'foo(void)'" to "runto 'foo'". This makes the
4748 statements demangler agnostic.
4749
cf74b8ca
AC
4750Sun Feb 4 17:32:21 2001 Andrew Cagney <cagney@redhat.com>
4751
4752 * gdb.threads/pthreads.exp: Unify pass/fail messages for
4753 ``continue to bkpt at common_routine in thread 2'' and ``stopped
4754 before calling common_routine 15 times'' tests.
4755
99f78f56
MC
47562001-02-11 Michael Chastain <chastain@redhat.com>
4757
4758 * gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
4759 Helps the test script figure out which demangler is in use.
4760 (dm_type_foo_ref): Ditto.
4761 (dm_type_int_star): Ditto.
4762 (dm_type_long_star): Ditto.
4763 (dm_type_unsigned_int): Ditto.
4764 (dm_type_void): Ditto.
4765 (dm_type_void_star): Ditto.
99707966 4766 * gdb.base/cplusfuncs.exp (probe_demangler): New function.
99f78f56
MC
4767 Probe the gdb demangler and set variables to accommodate
4768 formatting differences.
4769 (info_func_regexp): New function. Same as info_func, but
4770 matches against a regexp.
4771 (info_func): Match against a literal string.
4772 (print_addr_2): New function. Match against a literal string,
4773 which can be different from the input to gdb.
4774 (print_addr): Simply call print_addr_2 with the same argument twice.
4775 (test_lookup_operator_functions): Use demangler formatting variables.
4776 Blow away the xfails and workarounds for gnats gdb bug gdb/18. Sort
4777 the tests in the same order as the C++ class declaration.
4778 (test_paddr_operator_functions): Ditto.
4779 (test_paddr_overloaded_functions): Ditto.
4780 (test_paddr_hairy_functions): Use demangler formatting variables.
4781 Add reference to gdb/19 for related tests.
4782 (do_tests): Call probe_demangler.
4783
1de8f023
KB
47842001-01-30 Kevin Buettner <kevinb@redhat.com>
4785
4786 * gdb.c++/templates.cc (printf): Remove unused function definition.
4787
ca3f91ed
MS
47882001-01-26 Felix Lee <flee@redhat.com>
4789
4790 * sid.exp (sid_exit): Pass host, not target, to remote_close.
4791
47922001-01-25 matthew green <mrg@redhat.com>
4793
4794 * config/sid.exp (sid_start): Call `remote_push_conn' after firing
4795 up sid.
4796 (sid_exit): Call `remote_pop_conn' after GDB is gone.
4797
47982001-01-25 matthew green <mrg@redhat.com>
4799
4800 * config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.'
d63a86f8 4801 Deprecate $sid_spawn_id.
ca3f91ed
MS
4802 (sid_exit): Remove code necessary only for `spawn.'
4803
48042001-01-25 matthew green <mrg@redhat.com>
4805
4806 * config/sid.exp (sid_start): Handle sim,protocol of `sid.'
4807
fb18ec4a
MC
48082001-01-28 Michael Chastain <chastain@redhat.com>
4809
4810 * gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
4811 to call when tests fail. It takes gdb out of the overloaded
4812 function choice menu back to the main prompt, so that the test
4813 program stays synchronized.
4814 (set_bp_overloaded): New proc to collect all the common
4815 code for setting a breakpoint on an overloaded name. Calls
4816 take_gdb_out_of_choice_menu when needed.
4817 (menu_overload1arg): New variable to collect the repeated
4818 instances of the expected menu for an overloaded name. Change
4819 the regular expression to handle changes in g++ type encoding:
4820 "void" can be either "void" or "", and "unsigned int" can be
4821 either "unsigned int" or "unsigned".
4822 (continue_to_bp_overloaded): Change regular expressions to handle
4823 changes in g++ type encoding.
4824 (no proc): Call take_gdb_out_of_choice_menu when needed.
4825 Remove redundant calls to "info break". Accept either "canceled"
4826 or "cancelled". Change regular expressions in "info break"
4827 calls to handle changes in g++ type encoding. Give all tests
4828 unique strings.
4829
9c646a6e
BE
48302001-01-17 Ben Elliston <bje@redhat.com>
4831
4832 * config/sid.exp: New file.
4833
9549d9c1
AC
4834Fri Jan 12 18:29:01 2001 Andrew Cagney <cagney@b1.cygnus.com>
4835
4836 * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
4837
dc96c6c7 48382000-12-21 Michael Snyder <msnyder@cygnus.com>
315f8b0e
MS
4839
4840 * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
4841 Add a RE to accept a non-ascii char if one is ever presented.
4842
b4df4f68
FN
48432000-12-20 Fernando Nasser <fnasser@redhat.com>
4844
297dd0fd 4845 * lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
b4df4f68 4846
dc96c6c7 48472000-12-18 Michael Snyder <msnyder@cygnus.com>
49c890fc 4848
d63a86f8 4849 * gdb.base/setvar.exp: Use double '\\' to quote curly braces
49c890fc
MS
4850 in regexp. One '\' does not suffice on Linux.
4851
4a7bddb6
MC
48522000-12-09 Michael Chastain <chastain@redhat.com>
4853
4854 * gdb.base/break.exp (test_clear_command): Use a marker function
4855 rather than 'main' for the test function. Also move this
4856 test to an execution point where the marker function names are
4857 guaranteed to be bound to functions. (Executing tests after a
4858 'finish' from main runs into name conflicts with local names
4859 in __libc_start_main).
4860
dc96c6c7 48612000-12-07 Michael Snyder <msnyder@cygnus.com>
efb66345
MS
4862
4863 * gdb.base/finish.exp: New test for gdb's "finish" command.
4864 * gdb.base/return2.exp: New test for gdb's "return" command.
4865 * gdb.base/return2.c: New source file for above.
4866
dc96c6c7 48672000-12-05 Michael Snyder <msnyder@cygnus.com>
3c077de9
MS
4868
4869 * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
4870 * gdb.base/miscexprs.exp: Ditto.
4871 * gdb.base/pointers.exp: Ditto.
4872 * gdb.c++/derivation.exp: Ditto.
4873 * gdb.c++/local.exp: Ditto.
4874 * gdb.c++/namespace.exp: Ditto.
4875 * gdb.c++/overload.exp: Ditto.
4876 * gdb.c++/ref-types.exp: Ditto.
4877
dc96c6c7 48782000-12-05 Michael Snyder <msnyder@cygnus.com>
660fd469
MS
4879
4880 * gdb.base/constvars.exp: Test result of "up" command.
4881 * gdb.base/miscexprs.exp: Ditto.
4882 * gdb.base/pointers.exp: Ditto.
4883 * gdb.base/scope.exp: Ditto.
4884 * gdb.c++/derivation.exp: Ditto.
4885 * gdb.c++/local.exp: Ditto.
4886 * gdb.c++/namespace.exp: Ditto.
4887 * gdb.c++/overload.exp: Ditto.
4888 * gdb.c++/ref-types.exp: Ditto.
4889
44097287
FN
48902000-11-22 Michael Chastain <chastain@redhat.com>
4891
4892 * mips_pro.exp: Accept either "middle -> top -> main" or
4893 "middle -> main" in the backtrace, because gcc can optimize
4894 tail calls to jumps. Remove setup_xfail for the hppa case.
4895 Add a comment with the original warning messages from PR 3016,
4896 which was filed in 1993, to preserve them for posterity.
4897
9d2e1bab
ND
48982000-11-17 Nick Duffek <nsd@redhat.com>
4899
4900 * lib/gdb.exp (gdb_test): Override timeout with board info.
4901
1aca8eb7
ND
49022000-11-17 Nick Duffek <nsd@redhat.com>
4903
4904 * gdb.base/display.exp: Don't kill running stub. Add "again" to
4905 the second kill and detach messages.
4906
93076499
ND
49072000-11-17 Nick Duffek <nsd@redhat.com>
4908
4909 * configure.in: Add AC_EXEEXT.
4910 * configure: Regenerate.
4911 * Makefile.in (just-check): Export EXEEXT.
4912 * lib/gdb.exp ($EXEEXT): Import from environment.
4913 * gdb.base/maint.exp: Expect $EXEEXT in executable name. Don't
4914 expect "maint dump-me" on Cygwin.
4915 * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
4916 $EXEEXT.
4917
30e87cd3
ND
49182000-11-17 Nick Duffek <nsd@redhat.com>
4919
4920 * gdb.base/break.exp: Test backtrace and finish from called
4921 function on all platforms, not just HP-UX.
4922
dc96c6c7 49232000-11-03 Michael Snyder <msnyder@cygnus.com>
08e706b1
MS
4924
4925 * config/monitor.exp (gdb_target_cmd): Abstracts some of the
4926 code from gdb_target_monitor, so it can be used independantly
4927 for gdbserver. Also comment out an unnecessary PUTS.
d63a86f8 4928
dc96c6c7 49292000-11-03 Michael Snyder <msnyder@cygnus.com>
958a4e4c
MS
4930
4931 * gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
4932 * gdb.base/corefile.exp: Expect the message "Program is being
4933 debugged already" when we send the "corefile" command, since
4934 the preceeding gdb_load may have connected gdb to a remote target.
4935 * gdb.base/display.exp: Disable hardware watchpoints if new
4936 board info variable "no_hardware_watchpoints" is true.
4937 Replace single-letter commands with more readable ones.
4938 * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
4939 if new board info variable "no_hardware_watchpoints" is true.
4940 * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
4941 to see if stdio (printf) testing is possible.
4942 * gdb.base/watchpoint.exp: Disable hardware watchpoints if new
4943 board info variable "no_hardware_watchpoints" is true. Use new
4944 proc "gdb_skip_stdio_tests" to see if printf tests are possible.
4945
39124dea
FN
49462000-11-13 Fernando Nasser <fnasser@redhat.com>
4947
4948 From Orjan Friberg <orjanf@axis.com>:
4949 * gdb.base/printcmds.exp: Escape curly braces followed by a number
4950 in array print pattern match.
4951
a9e2e984
FN
49522000-11-09 Fernando Nasser <fnasser@redhat.com>
4953
4954 * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
4955 spelling "cancelled" to U.S. spelling "canceled" to match changes
4956 made to gdb.
4957 * gdb.c++/ovldbreak.exp: Ditto.
4958
c7db355b
PS
49592000-11-06 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
4960
4961 * gdb.base/callfuncs.c (main): Moved to end of file, call
4962 t_double_values to initialize the FPU before inferior calls are made.
4963 * gdb.base/callfuncs.exp: Test for register preservation after calling
4964 inferior functions. Add tests for continuining, finishing and
4965 returning from a stop in a call dummy.
4966
dc96c6c7 49672000-10-24 Michael Snyder <msnyder@cygnus.com>
42f5c13f
MS
4968
4969 * gdb.base/commands.exp: Break up long lines, and re-indent.
4970
dc96c6c7 49712000-10-19 Michael Snyder <msnyder@cygnus.com>
ae0323a8
MS
4972
4973 * config/gdbserver.exp: Rewritten from the ground up, to make it
4974 compatible with the current dejagnu tree, and to make it work with
4975 the new "gdbserver" in libremote.
4976
dc96c6c7 49772000-10-16 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
4978
4979 * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
4980 * gdb.base/varargs.exp: Skip entire test if no printf support.
4981 * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
4982 * gdb.base/shlib-call.exp: Skip several tests if no printf support.
4983
dc96c6c7 49842000-10-13 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
4985
4986 * lib/gdb.exp (gdb_skip_float_test): New proc. Skip test if
4987 no floating point support.
4988 (gdb_skip_stdio_test): New proc. Skip test if no stdio support.
4989 * gdb.base/call-ar-st.exp: Use above procs to skip tests.
4990 * gdb.base/call-rt-st.exp: Ditto.
4991 * gdb.base/call-strs.exp: Ditto.
4992
bac5fc66
JG
49932000-08-02 Jimmy Guo <guo@hpcleara.cup.hp.com>
4994
4995 * gdb.base/sizeof.c: include <stdio.h>.
4996
4997 * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
4998 'finish', otherwise uncaptured gdb_prompt would potentially
4999 throw remaining test points out of sync.
5000
b22a6027
SB
50012000-07-26 Scott Bambrough <scottb@netwinder.org>
5002
5003 * gdb.base/recurse.exp: Run tests for all targets.
5004 * gdb.base/so-impl-ld.exp: Added wildcard to handle the
5005 gnu-oldld case on ARM.
5006 * gdb.base/watchpoint.exp (test_stepping): Clear xfail
5007 for ARM targets.
d63a86f8 5008
d8231941
AG
5009Mon Jul 24 07:46:02 CDT 2000 Clinton Popetz <cpopetz@cygnus.com>
5010
5011 * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
5012 * gdb.java/configure: Rebuild.
5013
8caabe69
AG
5014Sun Jul 23 21:42:34 2000 Anthony Green <green@redhat.com>
5015
5016 * gdb.java/jv-exp.exp: New file.
5017
9d273ca3
AG
5018Sun Jul 23 21:02:42 2000 Anthony Green <green@redhat.com>
5019
5020 * configure: Rebuilt.
5021 * configure.in (configdirs): Add gdb.java.
5022 * gdb.java/jmisc.java: New file.
5023 * gdb.java/jmisc.exp: New file.
5024 * gdb.java/Makefile.in: New file.
5025 * gdb.java/configure: Rebuilt.
5026 * gdb.java/configure.in: New file.
5027 * lib/java.exp: New file.
5028
4f823a66
AC
5029Wed Jul 12 18:14:29 2000 Andrew Cagney <cagney@b1.cygnus.com>
5030
5031 * gdb.base/exprs.exp: Test casts to a pointer including over and
5032 underflow.
5033
2391e11d
AC
5034Thu Jul 13 11:52:53 2000 Andrew Cagney <cagney@b1.cygnus.com>
5035
5036 * gdb.base/sizeof.exp, gdb.base/sizeof.c: New files. Compare GDB
5037 and the compilers sizes.
5038
54602222
ND
50392000-07-09 Nick Duffek <nsd@redhat.com>
5040
5041 * gdb.c++/misc.cc (class ClassParam, class_param): Define.
5042 (use_methods): New function.
5043 (main): Call use_methods().
5044 * gdb.c++/classes.exp (test_method_param_class): New procedure.
5045 (do_tests): Call test_method_param_class.
5046
2bec0572
ND
50472000-07-09 Nick Duffek <nsd@redhat.com>
5048
5049 * gdb.c++/classes.exp (test_nonexistant_members): Fix name
5050 spelling.
5051 (test_enums): New procedure. Move enum tests from end of script
5052 to here. Set breakpoint on function name instead of line number.
5053 * gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
5054 (enums2): New marker function.
5055 (enums1): New function.
5056 (main): Call enums1(). Move enum tests to enums1().
5057
78492fde
AC
5058Tue Jul 4 03:43:49 2000 Andrew Cagney <cagney@b1.cygnus.com>
5059
5060 * gdb.asm/asm-source.exp: Use raw AS/LD instead of CC to
5061 compile/link program. Update line numbers.
5062 * gdb.asm/d10v.inc: Define ``startup''.
5063 * gdb.asm/asmsrc1.s: Add definition of _start.
d63a86f8 5064
49a2cef8
AC
5065Fri Jun 23 17:45:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
5066
5067 * gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
5068
3e6c8688
EZ
50692000-06-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5070
5071 * gdb.base/maint.exp: Add 'maint print architecture' item to output
5072 of 'help maint print' command.
5073
9ff5cbe9
AC
5074Fri Jun 16 18:22:05 2000 Andrew Cagney <cagney@b1.cygnus.com>
5075
5076 * gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
5077 they use gdb_expect_list.
5078
17c579bd
AC
5079Wed Jun 7 13:02:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
5080
5081 * gdb.base/commands.exp: Use ``set remote
5082 memory-read-packet-size'' instead of ``set endian big'' to test
5083 long commands.
5084
e6d71bf3
DB
50852000-06-03 Daniel Berlin <dan@cgsoftware.com>
5086
5087 * gdb.c++/templates.exp (do_tests): Make all of these work under
d63a86f8 5088 g++, and stop skipping them.
e6d71bf3
DB
5089
5090 * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
5091 work under g++.
5092
d63a86f8 5093 * gdb.c++/misc.cc: Fix ambiguous initialization with correct
e5f9ba7b
MS
5094 initialization.
5095
dc96c6c7 50962000-06-02 Michael Snyder <msnyder@cygnus.com>
7346e70f
MS
5097
5098 * gdb.base/annota1.exp (run until main breakpoint): Loosen up
5099 the regular expression: accept an (almost) arbitrary sequence of
5100 "frames-invalid" and "breakpoints-invalid" messages both before
5101 and after the "starting" message.
5102
dc96c6c7 51032000-06-02 Michael Snyder <msnyder@cygnus.com>
e5f9ba7b
MS
5104
5105 * gdb.c++/local.exp: This test has never been known to work with g++.
e6d71bf3 5106
dc96c6c7 51072000-05-18 Michael Snyder <msnyder@cygnus.com>
0a791409
MS
5108
5109 * gdb.base/annota1.exp (annotate-signal-handler-caller):
5110 Relax the regular expression a little, make it pass on Solaris 8.
5111
8216cda9
KB
51122000-05-12 Kevin Buettner <kevinb@redhat.com>
5113
5114 * gdb.base/step-test.exp: On IA-64 targets, when stepping out of
d63a86f8 5115 a call, do not require that gdb stop on the line after the call.
8216cda9
KB
5116 Instead, it is permissible for gdb to stop on the line of the
5117 call itself.
5118
1a570b2f
MS
51192000-05-12 Michael Snyder <msnyder@.cygnus.com>
5120
5121 * gdb.base/break.exp (bp on small function, optimized file):
5122 Add a second pass pattern. The behavior differs here between stabs
5123 and dwarf for one-line functions. Stabs preserves two line symbols
5124 (one before the prologue and one after) with the same line number,
5125 but dwarf regards these as duplicates and discards one of them.
5126 Therefore the address after the prologue (where the breakpoint is)
5127 has no exactly matching line symbol, and GDB reports the breakpoint
5128 as if it were in the middle of a line rather than at the beginning.
5129
dc96c6c7 51302000-05-08 Michael Snyder <msnyder@cygnus.com>
89cb06a2 5131
d63a86f8 5132 * gdb.base/interrupt.exp: Make "pass" message say "send"
89cb06a2
MS
5133 rather than "send_gdb" (for consistancy).
5134
7d418785
AC
5135Mon May 1 15:37:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
5136
5137 From 2000-04-28 Andreas Jaeger <aj@suse.de>:
5138 * gdb.c++/templates.cc: Properly check for GCC version number.
5139 * lib/compiler.cc: Likewise
5140
dc96c6c7 51412000-04-28 Michael Snyder <msnyder@cygnus.com>
e919ea79 5142
d63a86f8 5143 * gdb.base/break.exp: When compiled with -O2 optimization,
e919ea79
MS
5144 gdb may not stop at the first line of main, due to code motion.
5145
dc96c6c7 51462000-04-26 Michael Snyder <msnyder@cygnus.com>
1960c400
MS
5147
5148 * gdb.base/call-ar-st.exp: Bail out if target is sparclet.
5149 This test depends on parsing the printf output from the target.
5150 Since the sparclet stub doesn't do stdio, this will never work.
5151 * gdb.base/call-rt-st.exp: ditto.
5152 * gdb.base/call-strs: ditto.
5153
dc96c6c7 51542000-04-24 Michael Snyder <msnyder@cygnus.com>
b84b7669
MS
5155
5156 * gdb.base/miscexprs.exp: make sizeof long array test portable.
5157
5158 * gdb.base/ending-run.exp: After connecting to a remote target,
5159 but before running, the target will appear to be in a random
5160 location. Specify both a file and a line for breakpoints.
5161 Also, the function that calls main may be called 'init'
5162 rather than 'start'.
5163
a5a51225
EZ
51642000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5165
5166 * gdb.base/help.exp: Update output for add-symbol-file command.
5167
7930cc7c
FN
51682000-04-10 Fernando Nasser <fnasser@cygnus.com>
5169
5170 From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
5171 * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
5172
23e37ab1
C
51732000-04-07 J.T. Conklin <jtc@redback.com>
5174
e93c542c
C
5175 * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
5176
23e37ab1
C
5177 * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
5178
591b8fa3
PDM
5179Thu Mar 30 13:26:19 2000 Philippe De Muyter <phdm@macqel.be>
5180
5181 * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
5182 values that can be represented exactly.
5183 * gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
5184 above change, and to not check against the directory part of the source
5185 file name.
5186 (step into print_long_arg_list): Likewise.
5187 (print print_small_structs from print_long_arg_list): Likewise.
5188 (print print_long_arg_list): Likewise.
5189
7a495180
EZ
51902000-03-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5191
30b53638 5192 * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
7a495180 5193
beb998c6
AC
5194Mon Mar 27 14:46:37 2000 Andrew Cagney <cagney@b1.cygnus.com>
5195
5196 * ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
5197
1c689132
DB
51982000-03-25 Daniel Berlin <dan@cgsoftware.com>
5199
5200 * gdb.base/commands.exp (deprecated_command_test): Add test for
5201 deprecate with no arguments.
5202
c1790a9d
JL
52032000-03-24 Jonathan Larmour <jlarmour@redhat.co.uk>
5204
5205 * gdb.base/break.exp: Add new test for setting breakpoints on
5206 optimized code so we can test breakpoints work even when function
5207 prologues may be optimized away
5208
003ba290
FN
52092000-03-23 Fernando Nasser <fnasser@totem.to.cygnus.com>
5210
5211 From David Whedon <dwhedon@gordian.com>
5212 * gdb.base/commands.exp : Added command deprecator tests.
5213
6837a0a2
DB
52142000-03-22 Daniel Berlin <dan@cgsoftware.com>
5215
5216 * gdb.base/help.exp: Added test for new apropos command.
5217
b9593231
KB
52182000-03-21 Kevin Buettner <kevinb@redhat.com>
5219
5220 * gdb.base/pointers.c (usevar): New function.
5221 (main): Make sure that global variables v_int_pointer2, rptr,
5222 and y are all referenced someplace in the program by calling
5223 usevar() on them. [Some linkers delete symbols which are
5224 never referenced. The space remains, but there's no way to
5225 get a (symbolic) handle on the variable from the debugger.]
5226
751a959b
EZ
52272000-03-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5228
5229 * gdb.base/printcmds.c: Add typedeffed arrays.
5230
5231 * gdb.base/printcmds.exp (test_print_typedef_arrays): New
5232 procedure to test arrays that are typedef'd.
5233
73a93a32
JI
52342000-03-13 James Ingham <jingham@leda.cygnus.com>
5235
5236 * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
d63a86f8 5237 the library directories.
73a93a32 5238
fb40c209
AC
5239Mon Feb 21 13:05:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
5240
5241 * configure.in (configdirs): Add sub directory gdb.mi.
5242 * configure: Re-generate.
5243
5244 * gdb.mi: New directory.
d63a86f8 5245
ee4dd2c9
AC
52462000-02-25 Scott Bambrough <scottb@netwinder.org>
5247
5248 * gdb.base/long_long.exp: Correct test suite failure when printing
5249 a long long value as a double on ARM platforms.
5250
70f0cc22
JB
52512000-02-16 Jim Blandy <jimb@redhat.com>
5252
5253 * gdb.base/break.exp ("breakpoint line number"): Make sure the
5254 default source file is set properly before running this test.
5255
853819b8
EZ
52562000-02-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5257
5258 * lib/gdb.exp: Tell the testsuite that now gdbtk is in the
5259 gdbtk/library directory, not in gdbtcl2.
5260
dfcd3bfb
JM
52612000-02-04 Jim Blandy <jimb@redhat.com>
5262
5263 * gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
5264 backslash from regexp pattern.
5265
5266 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): New
5267 procedure. Use it to run all the "continue to bp overloaded"
5268 tests. Note that this changes the names of the tests slightly.
5269 If the breakpoint hit message includes a hex PC value, because
5270 GCC's Dwarf 2 line info doesn't help us distinguish the prologue
5271 from the real source code, still consider that a pass.
5272
5273 * gdb.base/condbreak.exp ("run until breakpoint at marker2"):
5274 XFAIL here if the breakpoint message contains a hex address. Note
5275 similar change on 1999-11-02.
5276
5277 * gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
5278
5279 * gdb.base/ptype.exp: Establish a default source file before
5280 calling get_debug_format.
5281
52822000-02-03 Fernando Nasser <fnasser@totem.to.cygnus.com>
5283
5284 * gdb.base/watchpoint.exp: Remove duplication of test messages.
5285
8b93c638
JM
52862000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
5287
5288 * gdb.base/step-test.exp: Fix the steps to enter a callee by means
5289 of successive stepi commands -- while in the prologue we should see
5290 the function entry bracket.
5291
52922000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
5293
5294 * gdb.base/ending-run.exp: Add ARM in thumb mode case, where we
5295 reach __change_mode() when stepping through the end of main().
5296
c5394b80
JM
52972000-01-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
5298
5299 * gdb.base/default.exp: Fix expected pattern.
5300 * gdb.base/help.exp: Same.
5301
0d06e24b
JM
53022000-01-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5303
5304 * gdb.base/so-indr-cl.exp: Don't execute the test if not on HPUX.
5305 Don't use xfail's because that affects only the following test.
d63a86f8 5306
0d06e24b
JM
5307 * gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
5308 solaris or linux.
5309
5310 * gdb.base/selftest.exp: Update to reflect changes to main.c.
5311
dc96c6c7 53122000-01-07 Michael Snyder <msnyder@cygnus.com>
0d06e24b 5313
d63a86f8 5314 * gdb.base/display.exp: Some yacc parsers like to say
0d06e24b
JM
5315 "A syntax error" rather than "A parse error". Accept both.
5316
53172000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
5318
5319 * gdb.base/default.exp: Remove OS dependent string from "target
5320 remote" test.
5321 * gdb.base/help.exp: Same for "help target remote" test.
5322
c3f6f71d
JM
53232000-01-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5324
5325 From Jim Kingdon <kingdon@redhat.com>:
5326
5327 * gdb.c++/annota2.exp: Fix "delete bps" test to wait for the
5328 prompt (cleanup rather than necessity, but still might keep output
5329 from spilling to next test).
5330
53312000-01-02 Fred Fish <fnf@cygnus.com>
5332
5333 * gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
5334 AIX, which defines them in <sys/types.h>.
5335
ed9a39eb 53361999-12-16 Stan Shebs <shebs@andros.cygnus.com>
c4093a6a 5337
ed9a39eb
JM
5338 * gdb.base/default.exp: Match arm* etc instead of arm in "info
5339 float" test.
5340
53411999-12-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
c4093a6a 5342
ed9a39eb 5343 * gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
c4093a6a
JM
5344
5345 * gdb.base/break.exp: Add missing anchor to reg exp on "finish from
5346 outermost frame disallowed".
5347
53481999-12-09 Fernando Nasser <fnasser@totem.to.cygnus.com>
5349
5350 * gdb.base/setvar.exp: New tests for setting the value of a struct
5351 with a constant list.
5352
53531999-12-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
5354
5355 * gdb.base/setvar.exp: Remove pair os tests that expected gdb to
5356 require the user to type a cast before setting the value of a struct.
5357
de57eccd
JM
53581999-12-06 Jim Blandy <jimb@cygnus.com>
5359
5360 * gdb.base/default.exp: Expect the new 'info float' command on
5361 all i386 platforms.
5362
5363 * gdb.threads/linux-dp.exp: Expand our ability to recognize
5364 LinuxThreads libraries that don't support debugging.
5365
c2d11a7d
JM
5366Sat Dec 4 15:21:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
5367
5368 * gdb.base/remote.c: Fill the buffer with truely random data.
5369 Change the buffer type to ``unsigned char'' to simplify size
5370 arithmetic.
5371
5372 * gdb.base/remote.exp: Reduce download numbers by one. Typical
5373 stub only handles 400-1 byte packets. Verify that the download
5374 worked.
5375
53761999-11-30 Fernando Nasser <fnasser@totem.to.cygnus.com>
5377
5378 * lib/gdb.exp (gdb_expect_list): FAIL only once on multiple pattern
5379 tests, using UNRESOLVED for the untested cases. Also, does not wait
5380 for a timeout if the prompt was received before a recognizable pattern.
5381
53821999-11-29 Fernando Nasser <fnasser@totem.to.cygnus.com>
5383
5384 * lib/gdb.exp (gdb_expect_list): Fix spelling.
5385
53861999-11-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5387
5388 * gdb.base/watchpoint.exp: Add tests cases for the hit count of
5389 watchpoints.
5390
53911999-11-24 Jason Merrill <jason@casey.cygnus.com>
5392
5393 * gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
5394
5395 * gdb.c++/local.exp: Be more flexible in recognizing local class
5396 name mangling. Don't allow horribly truncated method names.
5397 * gdb.c++/derivation.exp: Expect protected inheritance.
5398 * gdb.c++/inherit.exp: Be more flexible in recognizing vbase pointers.
5399 * gdb.c++/virtfunc.exp: Likewise.
5400 * gdb.c++/classes.exp: Likewise. Don't require the enclosing scope
5401 when printing a nested enum.
5402
54031999-11-22 Jim Blandy <jimb@cygnus.com>
5404
5405 * gdb.base/step-test.exp: Properly await GDB's response to setting
5406 a breakpoint on the call to large_struct_by_value.
5407
5408 * gdb.base/ending-run.exp ("step to end of run 1"): Don't fail
5409 just because we have debug info for the `start' function.
5410
54111999-11-19 Jim Blandy <jimb@zenia.red-bean.com>
5412
5413 * gdb.threads/linux-dp.exp ("create philosopher"): Recognize the
5414 "Unknown signal" messages, which indicate (on LinuxThreads) that
5415 GDB doesn't know how to debug threads on this system. This is
5416 better than hanging while philosopher 0 dumps chatter into gdb.log.
5417
54181999-11-18 Tom Tromey <tromey@cygnus.com>
5419
5420 * gdb.trace/deltrace.exp: Updated test to reflect new error text.
5421
54221999-11-18 Fred Fish <fnf@cygnus.com>
5423
5424 * gdb.base/coremaker2.c: Add sample program for generating
5425 cores that is more self contained than coremaker.c. Eventually
5426 I'll add more code to this and tie it into the testsuite.
5427
4ce44c66
JM
54281999-11-12 Stan Shebs <shebs@andros.cygnus.com>
5429
5430 * gdb.base/dollar.exp: Remove, now in gdb.hp.
5431
54321999-11-10 Jimmy Guo <guo@cup.hp.com>
5433
5434 * gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
5435 from $srcdir/lib/.
5436 * lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
5437 and gdb.c++/.
5438
5439 * gdb.c++/derivation.exp: remove redundant get compiler info code.
5440
d63a86f8 5441 * gdb.base/commands.exp: add '$gdb_prompt $' anchor to
4ce44c66
JM
5442 'continue with watch' test point.
5443
54441999-11-08 Jim Blandy <jimb@zenia.red-bean.com>
5445
5446 Merged from p2linux-990323-branch:
d63a86f8 5447
4ce44c66
JM
5448 * lib/gdb.exp (gdb_continue_to_breakpoint): New function.
5449
11cf8741
JM
5450Mon Nov 8 23:07:09 1999 Andrew Cagney <cagney@amy.cygnus.com>
5451
5452 * gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
5453 {limit,fixed}''. Test ``set download-write-size''.
5454
5455Sun Nov 7 17:37:01 1999 Andrew Cagney <cagney@b1.cygnus.com>
5456
5457 * gdb.base/funcargs.exp: Rewrite stack traceback checks using
5458 gdb_expect_list.
5459
5460Fri Nov 5 18:40:52 1999 Andrew Cagney <cagney@b1.cygnus.com>
5461
5462 * lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
5463
54641999-11-03 Mark Salter <msalter@cygnus.com>
5465
5466 * gdb.base/break.exp: Fix "stub continue" pattern.
5467
54681999-11-03 Jim Blandy <jimb@zwingli.cygnus.com>
5469
5470 * gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
5471
54721999-11-02 Jim Blandy <jimb@zwingli.cygnus.com>
5473
5474 * gdb.base/display.exp ("finish"): Add timeout clause.
5475
5476 * gdb.base/condbreak.exp ("run until breakpoint at marker1"): Add
5477 plain prompt clause, so this doesn't have to time out in order to
5478 fail.
5479
5480 * gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
5481 breakpoint hit messages include an address.
5482
5483 * gdb.base/display.exp: Don't forget to escape parens in regular
5484 expressions. Unix regexp notatation sucks.
5485
54861999-11-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5487
5488 * gdb.base/annota1.exp: Test for annotate-signalled: change output
5489 order for 'signalled' message.
5490
5c44784c
JM
54911999-11-01 Stan Shebs <shebs@andros.cygnus.com>
5492
5493 From Jimmy Guo <guo@cup.hp.com>:
5494 * gdb.base/annota1.exp: Add tests for annotate ignore count change.
5495 * gdb.base/annota1.c: Add code for tests to work with.
5496
54971999-10-26 Frank Ch. Eigler <fche@cygnus.com>
5498
5499 * gdb.base/remote.exp: New test for remote downloading settings.
5500 * gdb.base/remote.c: New file with large .data.
5501
917317f4
JM
55021999-10-18 Jim Blandy <jimb@zwingli.cygnus.com>
5503
5504 * gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
5505 for LinuxThreads support, merged from the Code Fusion branch.
5506
5507Mon Oct 11 13:57:21 1999 Andrew Cagney <cagney@amy.cygnus.com>
5508
5509 * lib/gdb.exp (gdb_run_cmd): Break complicated gdb_expect
5510 containing exp_continue into a while within an expect. Don't
5511 attempt a start more than three times. Check return value from
5512 gdb_load.
d63a86f8 5513
2df3850c
JM
5514Wed Oct 6 12:05:58 1999 Andrew Cagney <cagney@b1.cygnus.com>
5515
5516 * gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
5517 a pass case.
5518
2acceee2
JM
55191999-10-01 Kevin Buettner <kevinb@cygnus.com>
5520
5521 * gdb.base/break.c (main): Added a statement that we can step
5522 off of.
5523 * gdb.base/break.exp: Added tests for setting a breakpoint
5524 at an offset and stepping onto a breakpoint.
5525
55261999-10-01 Fred Fish <fnf@cygnus.com>
5527
d63a86f8 5528 * gdb.base/help.exp (help add-symbol-file): Update to match current
2acceee2
JM
5529 gdb output.
5530
c2c6d25f
JM
55311999-09-18 Jim Blandy <jimb@cris.red-bean.com>
5532
5533 * gdb.base/break.exp: Code locations are in hex, don't forget!
5534 (For HP-UX.)
5535
55361999-09-17 Stan Shebs <shebs@andros.cygnus.com>
5537
5538 * condbreak.exp: Use break.c as test program.
5539 * condbreak.c: Remove, redundant with break.c.
5540
55411999-09-15 Stan Shebs <shebs@andros.cygnus.com>
5542
5543 * config/monitor.exp (gdb_target_monitor): Disable X- and
5544 Z-packets if the target needs it.
5545
55461999-09-13 James Ingham <jingham@leda.cygnus.com>
5547
5548 * gdb.c++/overload.exp: Added tests for listing overloaded
5549 functions with function pointers in the arg, explicitly calling
5550 out the version you want.
5551
cff3e48b
JM
55521999-09-09 Stan Shebs <shebs@andros.cygnus.com>
5553
5554 * long_long.exp: Add variations of test cases that work for
5555 targets with 16-bit ints and 32-bit doubles.
5556
d4f3574e
SS
55571999-09-08 Stan Shebs <shebs@andros.cygnus.com>
5558
5559 * break.c (main): Compare a possibly-uninitialized argc with an
5560 unlikely value that fits in 16 bits.
5561
55621999-09-07 Stan Shebs <shebs@andros.cygnus.com>
5563
5564 * gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
5565 0xfeeb, don't want negative numbers if ints are 16 bits.
5566
5567 * lib/gdb.exp (skip_cplus_tests): New proc.
5568 * gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
5569 gdb.c++/anon-union.exp, gdb.c++/classes.exp,
5570 gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
5571 gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
5572 gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
5573 gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
5574 gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
5575 gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
5576
5577 * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
5578
5579Fri Sep 3 15:37:12 1999 Kevin Buettner <kevinb@cygnus.com>
5580
5581 * gdb.base/corefile.exp (up): Allow a parameter to appear
5582 in the frame that we're going up to.
5583
5584 From Jim Blandy <jimb@cygnus.com>:
5585
5586 * gdb.base/default.exp (info float): Expect some output now.
5587
5588 * gdb.base/callfuncs.exp (do_function_calls): We no longer expect
5589 returning floating-point values to fail on the x86.
5590 * gdb.base/callfwmall.exp (do_function_calls): Same.
5591
5592 * gdb.base/list.exp (test_listsize): Correct expectations for
5593 listing line 1 with listsize 2. Also, listing a single line
5594 works now, as does listing three lines. [Kevin's note: There
5595 were a number of other cases fixed too where the expectations
5596 differed...]
5597
55981999-09-02 Stan Shebs <shebs@andros.cygnus.com>
5599
5600 * gdb.base/selftest.exp: Add case for when version prints as
5601 constant string instead of char pointer.
5602
104c1213
JM
56031999-08-25 Stan Shebs <shebs@andros.cygnus.com>
5604
5605 * gdb.base/ending-run.exp: Add Solaris case for what happens when
5606 stepping out of main.
5607
5608 * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
5609 G++ used.
5610
5611 * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
5612 always, expect ptype InnerLocal::NestedInnerLocal to fail always.
5613
5614 * gdb.c++/ovldbreak.exp: Update match string in test that
5615 includes a warning of multiple breakpoints.
5616
56171999-08-24 Stan Shebs <shebs@andros.cygnus.com>
5618
5619 * gdb.base/display.exp: Improve precision of step-after-finish
5620 added yesterday.
5621
5622 * gdb.base/signals.exp: Add extra wildcard to "handle all print"
5623 test.
5624
5625 * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
5626 configs when using G++, not just hppa*.
5627
56281999-08-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5629
5630 * gdb.base/async.c: New file.
5631 * gdb.base/async.exp: New file.
5632
5633Tue Aug 24 03:24:53 1999 Jeffrey A Law (law@cygnus.com)
5634
5635 * gdb.base/break.exp: Tweak PA specific tests to properly handle
5636 PA64.
5637
53a5351d
JM
5638Mon Aug 23 10:25:20 1999 Jeffrey A Law (law@cygnus.com)
5639
104c1213
JM
5640 * gdb.base/display.exp: "finish" can leave us mid-line on many
5641 targets, deal with it. Add a small constant to main, instead of
5642 1000 since main+1000 may not be a valid address in the target.
5643
53a5351d
JM
5644 * gdb.base/dollar.exp: Do not run for PA processors in wide mode
5645 on hpux11.
5646
5647 * gdb.base/attach.exp: Handle another hpux11 error message variant
5648 when attaching to a process that does not exist.
5649
56501999-08-19 J.T. Conklin <jtc@redback.com>
5651
5652 * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
5653 characters in 'continue to 1241' test.
5654
56551999-08-17 Stan Shebs <shebs@andros.cygnus.com>
5656
5657 * gdb.base/call-ar-st.exp: Add a shorter match case for the
5658 stop in print_long_arg_list, define and use a whitespace
5659 variable in print_small_structs test, add an XFAIL for Solaris.
5660 * gdb.base/dbx.exp: XFAIL func commands until somebody is
5661 interested enough to fix.
5662
7be570e7
JM
56631999-08-13 Keith Seitz <keiths@cygnus.com>
5664
5665 * gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
5666 (dbx_gdb_load): Remove. Use gdb_load instead, since that
5667 proc knows about targets other than the natives.
5668 (test_assign): Use "gdb_run_cmd" to "run" the target.
5669 Check that we've actually hit the breakpoint at main.
5670 When we attempt to assign a value to a local variable, check
5671 that the variable is in the current scope, i.e., don't use
5672 a test with an empty result.
5673
5674Tue Aug 10 15:25:16 1999 Andrew Cagney <cagney@b1.cygnus.com>
5675
5676 * gdb.base/maint.exp: Add test of ``maintenance internal-error''
5677 command.
5678
56791999-08-09 Stan Shebs <shebs@andros.cygnus.com>
5680
5681 From Jimmy Guo <guo@cup.hp.com> and others at HP:
5682 gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
5683 gdb.compat, gdb.threads-hp.
5684 gdb.hp/configure, gdb.hp/configure.in: New files.
5685 gdb.hp/Makefile.in: Recurse into new subdirs.
5686 gdb.hp/gdb.defects: New directory, tests for HP bug reports.
5687 gdb.hp/gdb.objdbg: New directory, tests for debugging info
5688 in object files.
5689 gdb.hp/tools: New directory, aux tools for HP-specific tests.
5690
96baa820
JM
56911999-08-05 Stan Shebs <shebs@andros.cygnus.com>
5692
5693 * gdb.base/display.exp: Help expect by putting a newline in the
5694 funky printf, remove a bogus p/a test.
5695
56961999-08-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5697
5698 * gdb.base/display.exp: Make sure that when we say 'run', we are
5699 connected to the target. This is necessary when running not
5700 natively.
5701
57021999-08-03 Stan Shebs <shebs@andros.cygnus.com>
5703
5704 * gdb.base/step-test.exp: Removed some extraneous messages.
5705
5706 * gdb.base/long_long.exp: Don't run memory examination tests
5707 on little-endian targets (they will need a different set of
5708 results to match).
5709
57101999-08-02 Stan Shebs <shebs@andros.cygnus.com>
5711
5712 * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
5713 until somebody decides to fix GDB.
5714
5715 * gdb.base/long_long.c: Stop compiler complaint by specifying long
5716 constant as "ULL".
5717 * gdb.base/long_long.exp: Loosen x/c test, add partial result
5718 matches for a couple x/2 commands.
5719
a0b3c4fd
JM
57201999-07-30 Stan Shebs <shebs@andros.cygnus.com>
5721
5722 * gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
5723 by merging in ref-types2 tests.
5724 * gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
5725
5726 From Jimmy Guo <guo@cup.hp.com> and others at HP:
5727 * gdb.c++/Makefile.in: Add standard actions.
5728 (EXECUTABLES): Rename from PROGS, update list.
5729 * gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
5730 from gdb.hp.
5731 * gdb.c++/anon-union.cc: Don't use anonymous struct, make
5732 foo and bar locals.
5733 * gdb.c++/anon-union.exp: Fix tests to match.
5734 * gdb.c++/classes.exp: Run if HP compiler used, add extra
5735 expect matches to handle output variations.
5736 * gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
5737 * gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
5738 output, add HP alternatives for new and delete prints.
5739 * gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
5740 gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
5741 * gdb.c++/demangle.exp: Use $style when reporting failure.
5742 * gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
5743 * gdb.c++/inherit.exp: Run if HP compiler used, add some
5744 match alternatives.
5745 * gdb.c++/local.exp: Add match alternatives or xfails for HP
5746 compilers.
5747 * gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
5748 * gdb.c++/method.exp: Add match alternatives.
5749 * gdb.c++/misc.cc: Add bool types.
5750 * gdb.c++/misc.exp: Add tests for bool types.
5751 * gdb.c++/overload.exp: Add xfails.
5752 * gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
5753 * gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
5754 add some more template parameter tests (only for HP currently).
5755 * gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
5756 * gdb.c++/virtfunc.cc: Add return type and value for main.
5757 * gdb.c++/virtfunc.exp: Run if HP compiler used, add some
5758 match alternatives.
d63a86f8 5759
a0b3c4fd
JM
57601999-07-30 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5761
5762 * gdb.base/display.exp: Fix output of 'p/a &&j' test.
5763
57641999-07-29 Jim Blandy <jimb@savonarola.red-bean.com>
5765
5766 * gdb.base/signals.exp: Don't expect getting a backtrace from
5767 within a signal handler to fail on Linux.
5768
57691999-07-29 Stan Shebs <shebs@andros.cygnus.com>
5770
5771 From Jimmy Guo <guo@cup.hp.com> and others at HP:
5772 * lib/gdb.exp: Remove some gratuitious semicolons.
5773 (delete_breakpoints): Increase timeout.
5774 (gdb_expect): Add -notransfer option.
5775 (gdb_test): Use -notransfer option.
5776 (get_compiler_info): Add f77 case.
5777 (get_compiler): New proc, split out from gdb_preprocess, add f77
5778 case.
5779 (gdb_preprocess): Call get_compiler.
5780
5781 * gdb.base/Makefile.in (EXECUTABLES): Update the list.
5782 * gdb.base/attach.exp, gdb.base/display.exp,
5783 gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
5784 gdb.base/long_long.exp, gdb.base/printcmds.exp,
5785 gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
5786 third arg to gdb_test.
5787 * gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
5788 * gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
5789 HP-UX xfails, add others.
5790 * gdb.base/completion.exp: Reflect name change of self-test.
5791 * gdb.base/condbreak.exp, gdb.base/corefile.exp,
5792 gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
5793 gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
5794 HP failure number.
5795 * gdb.base/foll-vfork.exp: Loosen matches slightly, remove
5796 useless HP-UX 10.30 references.
5797 * gdb.base/maint.exp: Loosen matches.
5798 * gdb.base/pointers.c (main): Declare more_code.
5799 * gdb.base/pointers.exp: Match on output of a `next'.
5800 * gdb.base/structs.c: Add prototypes.
5801 * gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
5802 * gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
5803
58041999-07-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5805
5806 * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
5807 command.
5808
58091999-07-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5810
5811 * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
5812 Fix run to main failures. Watchpoint can be hardware watchpoint.
d63a86f8
RM
5813
5814 * gdb.base/annota1.exp: Clean up some more, in case printf has
a0b3c4fd
JM
5815 debug info. Deal with lack of signal hanlder info in stack.
5816
5817 From Jim Kingdon <kingdon@redhat.com>:
5818 * gdb.base/annota1.exp: If printf has debug info, deal with it.
5819
5a2468f5
JM
58201999-07-19 Stan Shebs <shebs@andros.cygnus.com>
5821
5822 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
5823 gdb.base/foll-vfork.exp: Don't run for crosses.
5824
adf40b2e
JM
5825Tue Jul 13 23:37:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
5826
5827 * gdb.base/configure.in: Check for gdbvars.exp instead of
5828 a1-selftest.exp.
5829 * gdb.base/configure: Re-generate.
5830
58311999-07-12 Stan Shebs <shebs@andros.cygnus.com>
5832
5833 * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
5834 in trying to run first and name is too long.
5835
5836 * gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
5837 pointers2.c and pointers2.exp, respectively.
5838 * gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
5839 doschk happier.
5840
43e526b9
JM
58411999-07-08 Stan Shebs <shebs@andros.cygnus.com>
5842
5843 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
5844 callfuncs2.c and callfuncs2.exp.
5845
5846 * gdb.base/list.exp: Remove mistaken xfails.
5847 * gdb.base/list0.h: Add optional prototypes.
5848
9846de1b
JM
5849Wed Jul 7 00:27:35 1999 Andrew Cagney <cagney@amy.cygnus.com>
5850
5851 * gdb.base/setvar.exp: Increase the time-out on tests indirectly
5852 calling malloc.
5853 * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
5854 * ptype.exp: Move test for get_debug_format to before its first
5855 use.
5856
58571999-07-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5858
5859 * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
5860 * gdb.base/annota2.cc, annota2.exp: Move from here.
5861 * gdb.c++/annota2.cc, annota2.exp: To here.
5862 * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
5863
43ff13b4
JM
5864Tue Jun 29 11:56:06 1999 Andrew Cagney <cagney@b1.cygnus.com>
5865
5866 * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
5867 a consistent format.
5868
085dd6e6
JM
58691999-06-25 Stan Shebs <shebs@andros.cygnus.com>
5870
5871 From Jimmy Guo <guo@cup.hp.com> and others at HP:
5872 * lib/gdb.exp (get_compiler_info): Add detection for assorted
5873 HP compilers, also set the globals $true and $false.
5874
5875 * gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
5876 call-rt-st.c, call-strs.c, callfuncs.c, callfuncs2.c, condbreak.c,
5877 coremaker.c, ending-run.c, exprs.c, funcargs.c, interrupt.c,
5878 jump.c, langs0.c, langs1.c, langs2.c, list0.c, list1.c,
5879 long_long.c, mips_pro.c, nodebug.c, opaque0.c, opaque1.c,
5880 printcmds.c, ptype.c, recurse.c, restore.c, return.c, run.c,
5881 scope0.c, scope1.c, setshow.c, setvar.c, shmain.c, shr1.c, shr2.c,
5882 sigall.c, signals.c, so-impl-ld.c, so-indr-cl.c, solib.c,
5883 solib1.c, solib2.c, step-test.c, twice.c, varargs.c, watchpoint.c,
5884 whatis.c} Add C++ compatible function definitions and return
5885 types, add includes for library functions.
5886 * gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
5887 * gdb.base/step-test.c (myglob): Rename from glob.
5888 * gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
5889 foll-exec.c, foll-fork.c, foll-vfork.c, sum.c, vforked-prog.c: New
5890 files, move here from gdb.hp.
5891 * gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
5892 commands.exp, condbreak.exp, define.exp, ena-dis-br.exp,
5893 ending-run.exp, jump.exp. list.exp, long_long.exp, so-impl-ld.exp:
5894 Adjust line numbers in regexps.
5895
5896 * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
5897 miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
5898 instead of 0/1.
5899
5900 * gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
5901 foll-vfork.exp: New files, move here from gdb.hp.
5902 * gdb.base/page.exp: New file, test of pagination command.
5903
5904 * gdb.base/watchpoint.c (recurser): New function, for watchpoint
5905 recursion test.
5906 * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
5907
5908 * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
5909 gdb.base/solib.exp: Fix compiler invocation process.
5910
5911 * gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
5912 HP-UX 11, turn off overload resolution explicitly.
5913 * gdb.base/commands.exp: Set argument list explicitly, add
5914 watchpoint test.
5915 * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
5916 them work.
5917 * gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
5918 expressions properly.
5919 * gdb.base/corefile.exp: Loosen the match slightly.
5920 * gdb.base/default.exp: Allow "Error accessing memory" message
5921 also.
5922 * gdb.base/display.exp: Skip over x/0 j if PA64.
5923 * gdb.base/funcargs.exp: Add xfails for HP-UX.
5924 * gdb.base/interrupt.exp: Ditto.
5925 * gdb.base/langs.exp: Add symbolic matches governed by compiler
5926 in use.
5927 * gdb.base/list.exp: Add xfails for HP-UX.
5928 * gdb.base/long_long.exp: Refine some of the numeric matches.
5929 * gdb.base/mips_pro.exp: Xfail on HP-UX.
5930 * gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
5931 * gdb.base/nodebug.exp: Succeed on more varieties of output.
5932 * gdb.base/opaque.exp: Remove some HP-UX xfails.
5933 * gdb.base/ptype.exp: Succeed on more varieties of output.
5934 * gdb.base/scope.exp: Add xfails for HP-UX.
5935 * gdb.base/sect-cmd.exp: Add more cases.
5936 * gdb.base/setvar.exp: Add xfails for HP-UX.
5937 * gdb.base/shlib-call.exp: Loosen some matches slightly.
5938 * gdb.base/signals.exp: Match on void symbolically.
5939 * gdb.base/step-test.exp: Add case for PA64.
5940 * gdb.base/term.exp: Add exit and restart.
5941 * gdb.base/twice.exp: Clean up after self.
5942 * gdb.base/varargs.exp: Disable overload resolution explicitly.
5943 * gdb.base/whatis.exp: Allow more ways to pass tests.
5944
5945 * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
5946 no longer useful.
5947
5948Fri Jun 25 19:27:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
5949
5950 * lib/gdb.exp (proc gdb_expect_list): New procedure. Matches a
5951 list of patterns.
5952 * gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
5953 print_double_array(double_array)", "continuing to breakpoint
5954 1018", "print print_double_array(array_d)" and "continuing to
5955 1034" tests.
d63a86f8 5956
085dd6e6
JM
59571999-06-24 Jason Molenda (jsm@bugshack.cygnus.com)
5958
5959 * Makefile.in: Add empty html and install-html targets.
5960
59611999-06-24 Stan Shebs <shebs@andros.cygnus.com>
5962
5963 * config/mt-*: Remove, these haven't been used since 1996.
5964
59651999-06-22 Stan Shebs <shebs@andros.cygnus.com>
5966
5967 * gdb.base/call-strs.c, gdb.base/ending-run.c,
5968 gdb.base/step-test.c: Include stdlib.h and string.h as needed.
5969 * gdb.c++/member-ptr.exp: Skip over these tests if using G++.
5970
9e0b60a8
JM
59711999-06-18 Stan Shebs <shebs@andros.cygnus.com>
5972
5973 * gdb.c++/overload.exp: XFAIL everything if using G++, add a
5974 simpler match case for the ptype of the big class.
5975
59761999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
5977
5978 * gdb.exp: Fix test for gdb_prompt existence.
5979
59801999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
5981
5982 * gdb.exp (gdb_test): Add fail after calls to perror.
5983
59841999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
5985
5986 * gdb.exp (gdb_test): Accept variations of Undefined command messages.
5987
59881999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
5989
5990 * gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
5991
0f71a2f6
JM
5992Fri Jun 11 12:56:50 1999 Andrew Cagney <cagney@b1.cygnus.com>
5993
5994 * gdb.base/call-strs.c (link_malloc): New function. Ensure that
5995 malloc() is linked in.
5996
59971999-06-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
5998
5999 * gdb.base/ending-run.exp: Make sure we fail and do not timeout at
6000 step at end.
6001
6002 * gdb.base/annota1.exp: Increase match_max to prevent timeout.
6003
60041999-06-08 Jim Blandy <jimb@zwingli.cygnus.com>
6005
6006 * gdb.java/jv-print.exp: New file. (Our first Java test!)
6007
cce74817
JM
6008Fri Jun 4 10:47:46 1999 Jeffrey A Law (law@cygnus.com)
6009
6010 * gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
6011 * gdb.base/mips_pro.exp: Likewise.
6012
60131999-06-02 Keith Seitz <keiths@cygnus.com>
6014
6015 * gdb.c++/templates.cc: Change all "new" operators to throw
6016 an exception.
6017 * gdb.c++/cplusfuncs.cc: Likewise.
6018
6019 * gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
6020
6021Wed Jun 2 17:37:05 1999 Andrew Cagney <cagney@b1.cygnus.com>
6022
6023 * gdb.base/condbreak.exp: Use rerun_to_main to start the program.
6024 * gdb.base/ending-run.exp: When stepping out of main, accept a
6025 step into an arbitrary assembler file.
6026
392a587b
JM
60271999-05-20 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
6028
d63a86f8 6029 * gdb.base/annota1.exp: Allow any number of "frames-invalid" and
392a587b 6030 "breakpoint-invalid" to be printed.
d63a86f8 6031 * gdb.base/annota2.exp: Revise line number for main breakpoint. Allow any
392a587b
JM
6032 number of "frames-invalid" and "breakpoint-invalid" to be printed.
6033 * gdb.base/annota2.cc: Initialize a.x to 0.
6034
9e086581
JM
60351999-05-17 Keith Seitz <keiths@cygnus.com>
6036
6037 * gdb.base/call-ar-st.exp: Skip "print print_double_array (double_array)"
6038 when "skip_float_tests" set.
6039 Ditto for "print print_double_array(array_d)", "print print_small_structs",
6040 "print print_ten_doubles", and "step into print_long_arg_list".
6041 Don't assume we can step into "print_long_arg_list": we could step into memcpy.
6042 * gdb.base/call-rt-st.exp: Don't run float-related tests when "skip_float_tests"
6043 is set: "print print_one_double(*d1)" and "print print_two_floats(*f3)".
6044 * gdb.base/funcargs.exp: Don't run "float_and_integral_args" when
6045 "skip_float_tests" is set.
6046 * gdb.base/varargs.exp: Skip "print find_max_double(5,1.0,17.0,2.0,3.0,4.0)"
6047 when "skip_float_tests" set.
d63a86f8 6048
cd0fc7c3
SS
60491999-05-06 Keith Seitz <keiths@cygnus.com>
6050
6051 * gdb.base/annota2.cc: Include stdio.h.
6052
6053Wed May 5 17:44:31 1999 Stan Shebs <shebs@andros.cygnus.com>
6054
6055 * gdb.base/crossload.exp: Remove, this has been disabled ever
6056 since BFD stopped including all targets, and cross-GDB gets
6057 plenty of testing anyway.
6058 * gdb.base/i486-elf.u, gdb.base/m68k-aout.u, gdb.base/m68k-elf.u,
6059 gdb.base/sparc-aout.u, gdb.base/i860-elf.u, gdb.base/m68k-aout2.u,
6060 gdb.base/mips-ecoff.u, gdb.base/sparc-elf.u: Remove.
6061 * gdb.base/README: Remove, was doc for this.
6062 * gdb.base/Makefile.in (CROSS_EXECUTABLES): Remove, no longer
6063 needed.
6064
b83266a0
SS
60651999-05-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
6066
6067 * gdb.base/call-ar-st.exp: Fix one regular expression in test
6068 output.
6069
6070 * gdb.base/annota1.exp: New file. Annotation level 2 tests.
6071 * gdb.base/annota2.exp: New file. More annotation tests.
6072 * gdb.base/annota1.c: New file. Source file for annota1.exp.
6073 * gdb.base/annota2.cc: New file. Source file for annota2.exp.
6074
60751999-04-23 Angela Marie Thomas <angela@cygnus.com>
6076
6077 * config/cfdbug.exp: New file.
6078
7a292a7a
SS
60791999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
6080
6081 * gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
6082 Marcus Daniel's and Dale Hawkins's demangler crashes.
6083
6084 * gdb.c++/demangle.exp (test_gnu_style_demangling,
6085 test_lucid_style_demangling, test_arm_style_demangling,
6086 test_hp_style_demangling): Try Tom Tromey's core-dumping
6087 identifier under each demangling style.
6088
60891999-04-07 Jim Blandy <jimb@zwingli.cygnus.com>
6090
6091 * gdb.c++/demangle.exp: Include the current demangling style
6092 in all test names.
6093 (current_demangling_style): New global variable.
6094 (set_demangling_style, test_demangling_core, test_demangling,
6095 test_demangling_exact): New functions.
6096 (test_gnu_style_demangling, test_lucid_style_demangling,
6097 test_arm_style_demangling, test_hp_style_demangling): Use those,
6098 instead of calling gdb_test and gdb_test_exact directly.
6099 (catch_demangling_errors): New function, which reports errors
6100 signalled by the demangling test functions in an orderly way.
6101 (do_tests): Use catch_demangling_errors.
6102
61031999-04-06 Jim Blandy <jimb@zwingli.cygnus.com>
6104
6105 * gdb.base/signals.exp (test_handle_all_print): Use () for
6106 grouping in expressions, not {}.
6107
6108 * gdb.base/smoke.exp: Test value of x, not y. The latter isn't
6109 initialized yet.
6110
61111999-04-01 Stan Shebs <shebs@andros.cygnus.com>
6112
6113 * gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
6114 are listed.
6115
61161999-03-26 Stan Shebs <shebs@andros.cygnus.com>
6117
6118 * gdb.stabs/weird.exp: Test for CC being defined before
6119 looking at its value.
6120
61211999-03-25 Stan Shebs <shebs@andros.cygnus.com>
6122
6123 * gdb.base/call-ar-st.exp: Remove stray '#'.
6124 * gdb.base/miscexprs.exp: Allow "short" and "long" as well as
6125 "short int" and "long int".
6126 * gdb.c++/overload.cc: Cast the string added in the previous
6127 change, to mollify finicky HP compiler.
6128 * gdb.hp/reg-test.exp (testfile): Fix file name.
6129 * gdb.stabs/weird.exp: Don't try to run if HP compiler in use.
d63a86f8 6130
7a292a7a
SS
6131 * gdb.c++/misc.cc (main): Initialize obj_with_enum.
6132 * gdb.c++/classes.exp: Fix test of obj_with_enum values, allow
6133 alternate form of enum ptype.
6134
c906108c
SS
61351999-03-23 Stan Shebs <shebs@andros.cygnus.com>
6136
7a292a7a
SS
6137 * lib/gdb.exp (skip_hp_tests): Remove gcc_used argument.
6138 * gdb.hp/*.exp: Change all to run compiler probe only after
6139 passing skip_hp_tests, so as not to waste time on guaranteed
6140 failure.
6141
c906108c
SS
6142 * gdb.c++/overload.cc: Pass string instead of char addr, always
6143 init ccpfoo.
6144 * gdb.c++/templates.cc: Fix syntax error.
6145
7a292a7a
SS
6146Tue Mar 23 14:56:36 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
6147
6148 * gdb.base/commands.exp: Add test for correct position of '>'
d63a86f8 6149 when issuing the 'commands' command after a 'while' or 'if'
7a292a7a
SS
6150 command.
6151
61521999-03-18 James Ingham <jingham@cygnus.com>
6153
6154 * gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
6155
6156 * gdb.c++/method.exp: It was testing an uninitialized int on the
6157 stack and assuming it was positive.
6158
6159 * gdb.base/watchpoint.exp: Use gdb_continue_to_end.
6160
6161 * gdb.base/step-test.exp: Catch a case where finish is broken and
d63a86f8 6162 keep it from killing the rest of the tests.
7a292a7a
SS
6163 Use gdb_continue_to_end.
6164
6165 * gdb.base/sigall.exp: use gdb_continue_to_end.
6166
6167 * gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
6168
6169 * gdb.base/display.exp: use runto_main, not run.
6170
d63a86f8
RM
6171 * gdb.base/default.exp: Check for the current error message in the
6172 r abbreviation test.
7a292a7a
SS
6173 Add strongarm to the targets that know info float.
6174
d63a86f8 6175 * gdb.base/condbreak.exp: Use the gdb_run command rather than just
7a292a7a
SS
6176 run which doesn't work with monitors.
6177
6178 * gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to 1034 test.
6179
6180 * gdb.base/break.exp: use the gdb_continue_to_end proc.
6181
6182 * lib/gdb.exp: I had added gdb_continue_to_end used to run to the end of a
d63a86f8
RM
6183 program. Traps the case (in Cygmon) when the program never really
6184 exits. Same as Mark's continue_to_exit, but I had put it in a lot
7a292a7a
SS
6185 more places, so I used my name. Sorry Mark...
6186
6187 * config/monitor.exp (gdb_target_monitor): added another
6188 target_info parameter: remotebinarydownload. This will set the
6189 remotebinarydownload flag if this is causing some boards trouble.
6190
61911999-03-18 Mark Salter <msalter@cygnus.com>
6192
6193 * lib/gdb.exp (continue_to_exit): New function.
6194
6195 * gdb.base/ena-dis-br.exp: Clean up for remote targets.
6196 * gdb.base/ending-run.exp: Ditto.
6197 * gdb.base/step-test.exp: Ditto.
6198
61991999-03-16 Stan Shebs <shebs@andros.cygnus.com>
6200
6201 * gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
6202 (suggested by Art Haas <ahaas@neosoft.com>).
6203
62041999-03-16 Jim Blandy <jimb@zwingli.cygnus.com>
6205
6206 * gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
6207
6208Fri Mar 12 18:06:21 1999 Stan Shebs <shebs@andros.cygnus.com>
6209
6210 * gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
6211 descriptions of types (short unsigned int vs unsigned short, etc).
6212
62131999-03-12 Jim Blandy <jimb@zwingli.cygnus.com>
6214
6215 * gdb.base/call-strs.exp: Don't assume that `step' will step over
6216 a call to strlen; sometimes we do have sources.
6217
62181999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
c906108c
SS
6219
6220 * gdb.base/call-ar-st.c (main): Terminate char_array with a null
6221 character, so GDB won't print garbage after its end.
d63a86f8 6222
c906108c
SS
6223 * gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
6224 breakpoint there instead. Sometimes GCC emits memcpy to handle
6225 the large structures being passed by value, so we step into that
6226 instead of sum_array_print, which obscures what we're really testing.
6227 * gdb.base/step-test.exp: However, we do want a test that notices
6228 the bizarre steps into memcpy, so do that here. Add check for
6229 stepping into function calls that pass large structures by value.
6230 ("Is that a noun clause, or are you just happy to see me?")
6231 Remove all references to specific line numbers.
6232 * gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
6233 New type and function.
6234 (main): Call large_struct_by_value, passing it a large struct by value.
6235 * lib/gdb.exp (gdb_get_line_number): New function.
6236
6237 * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
6238 more portable.
6239
7a292a7a
SS
62401999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
6241
c906108c
SS
6242 * lib/gdb.exp: Doc fixes.
6243
7a292a7a
SS
62441999-03-05 Nick Clifton <nickc@cygnus.com>
6245
d63a86f8 6246 * gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
7a292a7a
SS
6247
62481999-03-04 Jim Blandy <jimb@zwingli.cygnus.com>
6249
c906108c
SS
6250 * gdb.base/display.exp: Don't exercise the "detach" and "kill"
6251 commands. They're not germane to this test, and they don't work
6252 that way on remote targets.
6253
3fc11d3e
JM
62541999-03-01 James Ingham <jingham@cygnus.com>
6255
6256 * Changelog entries merged over from gdb development branch.
6257
3fc11d3e
JM
6258 Tue Jan 5 12:33:47 1999 Keith Seitz <keiths@cygnus.com>
6259
6260 * lib/gdb.exp (gdbtk_analyze_results): Generic function
6261 for outputting results of test run.
6262
2d4a1622 6263 1998-12-07 Martin M. Hunt <hunt@cygnus.com>
3fc11d3e
JM
6264
6265 * lib/gdb.exp (gdbtk_start): Fix path for itcl library.
3fc11d3e 6266
7a292a7a
SS
62671999-02-25 Felix Lee <flee@cygnus.com>
6268
6269 * lib/gdb.exp (debug_format): initialize
6270
c906108c
SS
62711999-02-25 Jason Molenda (jsm@bugshack.cygnus.com)
6272
6273 * gdb.base/call-ar-st.c: Include string.h, not strings.h.
6274 * gdb.base/call-rt-st.c: Ditto.
6275
c906108c
SS
62761999-02-13 Jim Blandy <jimb@zwingli.cygnus.com>
6277
6278 * gdb.threads/pthreads.exp (horiz): New variable.
6279 (test_startup): Fix regexps that capture thread numbers.
6280
62811999-02-10 Jason Molenda (jsm@bugshack.cygnus.com)
6282
6283 * gdb.base/smoke.exp: Disambiguate two test case names (both
6284 called ``print'').
6285
6286Fri Feb 5 12:42:56 1999 Stan Shebs <shebs@andros.cygnus.com>
6287
6288 * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
6289 compilation.
6290
62911999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
6292
6293 * gdb.base/miscexprs.exp: Change patterns to match GDB's
6294 actual output formatting.
6295 * gdb.base/smoke.exp: GDB removes leading 0's.
6296 * gdb.base/volatile.exp: Don't check type of remuneration;
6297 that variable is no longer defined in constvars.c.
6298 * gdb.base/step-test.c (main): Exit with explicit exit code.
6299 * gdb.base/step-test.exp: Remove two nexti checks--they are
6300 not portable.
6301
63021999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
6303
6304 * gdb.base/help.exp ("help delete display"): Fix test to match
6305 gdb's output.
6306
6307 * gdb.base/long_long.c (known_types): Initialize values to zero.
6308 * gdb.base/long_long.exp: Step one more line
6309 so 'dec' is initialized in "get to known place". GDB removes
d63a86f8 6310 leading zeros. Explicitly ask for hex formatting. Use
c906108c
SS
6311 unique test case names.
6312
6313Tue Feb 2 10:16:08 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
6314
d63a86f8 6315 * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
c906108c
SS
6316
6317 * gdb.c++/method.exp: Add missing close brace.
6318
63191999-01-30 Jim Blandy <jimb@zwingli.cygnus.com>
6320
6321 * gdb.base/maint.exp: Use 'set height 0' to disable page
6322 prompting, not 'set height 400'.
6323
6324 Fix a bunch of timeouts.
6325 * gdb.base/maint.exp ("maint print objfiles"): Break this up into
6326 four separate tests, so expect doesn't take forever to match a ton
6327 of text against a regexp with lots of .* forms.
6328 ("maint print psymbols", "maint print symbols"): Make some of
6329 these greps more selective, so that expect doesn't try to wade
6330 through huge piles of output and time out.
6331
6332 * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
6333
6334 * gdb.base/maint.exp ("maint info breakpoints"): Split into two
6335 tests: one which doesn't expect shlib events to be reported, and
6336 another which does, but is XFAIL for all platforms other than
6337 HP/UX.
6338
6339 * gdb.base/break.exp: Teach the test suite that the `catch
6340 fork', `catch vfork', and `catch exec' commands produce error
6341 messages on platforms that don't provide these features.
6342
6343Mon Jan 25 18:35:56 1999 Stan Shebs <shebs@andros.cygnus.com>
6344
6345 * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
6346 so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
6347 (shortening names from solib_threshold.exp etc), won't run on
6348 anything but HP-UX for the foreseeable future.
6349 * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
6350 reflect move.
6351
6352Thu Jan 21 15:46:49 1999 Stan Shebs <shebs@andros.cygnus.com>
6353
6354 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
6355 gdb.trace/Makefile.in (clean): Remove all test executables.
6356
6357Tue Jan 19 17:20:09 1999 David Taylor <taylor@texas.cygnus.com>
6358
6359 * gdb.base/shlib-call.exp: add test cases to verify that gdb
6360 successfully re-sets breakpoints in shared libraries.
6361 * gdb.base/shmain.c (main): return 0, don't fall off the end.
6362
6363Fri Jan 15 14:04:57 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
6364
d63a86f8
RM
6365 * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
6366 and compiled w/o GCC.
c906108c
SS
6367
6368 * gdb.hp/watch-cmd.exp: ditto.
6369
6370 * gdb.hp/watch-hp.exp: ditto.
6371
6372 * gdb.hp/xdb1.exp: ditto.
6373
6374 * gdb.hp/xdb2.exp: ditto.
6375
6376 * gdb.hp/dbx.exp: ditto.
6377
6378Thu Jan 14 18:36:48 1999 Stan Shebs <shebs@andros.cygnus.com>
6379
6380 * constvars.c: Remove C++-isms.
6381 * constvars.exp: Use gdb_test everywhere, add xfails if compiled
6382 with GCC.
6383
6384Mon Jan 11 10:08:03 1999 David Taylor <taylor@texas.cygnus.com>
6385
6386 The following changes are part of the HP merge.
6387
6388 * gdb.base/break.exp: new tests to verify that catchpoints for
6389 fork, vfork, and exec don't trigger inappropriately.
6390
6391 * gdb.base/opaque.exp: compile one file at a time, then link.
6392
6393 * gdb.base/signals.exp: be more restrictive about which hppa
6394 systems receive a setup_xfail. new tests.
6395
6396 * gdb.base/solib_threshold.build: new file.
6397 * gdb.base/solib_threshold.exp: new file.
6398 * gdb.base/solib_threshold.link_opts: new file.
6399 * gdb.base/solib_threshold.mk: new file.
6400 * gdb.base/gen_solib_threshold.c: new file.
6401
6402 * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
6403 tests. New tests for enums inside classes.
6404
6405 * gdb.c++/compiler.cc: indicate support of template debugging.
6406
6407 * gdb.c++/demangle.exp: run hp style demangling tests.
6408
6409 * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
6410 tests.
6411
6412 * gdb.c++/misc.cc: changes to support new tests.
6413
6414 * gdb.c++/templates.cc: changes to support HP's compiler; changes
6415 to support new tests.
6416
6417 * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
6418 gcc, then skip these tests.
6419
6420Sun Jan 10 23:44:11 1999 David Taylor <taylor@texas.cygnus.com>
6421
6422 The following files are part of the HP merge; some had longer
6423 names at HP, but have been renamed to be no more than 14
6424 characters in length.
6425
6426 * gdb.hp/ambiguous.cc: new file.
6427 * gdb.hp/ambiguous.exp: new file.
6428 * gdb.hp/attach.exp: new file.
6429 * gdb.hp/attach2.exp: new file.
6430 * gdb.hp/classes-hp.exp: new file.
6431 * gdb.hp/ctti.exp: new file.
6432 * gdb.hp/ctti-add.cc: new file.
6433 * gdb.hp/ctti-add1.cc: new file.
6434 * gdb.hp/ctti-add2.cc: new file.
6435 * gdb.hp/ctti-add3.cc: new file.
6436 * gdb.hp/dbx.exp: new file.
6437 * gdb.hp/exception.cc: new file.
6438 * gdb.hp/exception.exp: new file.
6439 * gdb.hp/foll-exec.c: new file.
6440 * gdb.hp/foll-exec.exp: new file.
6441 * gdb.hp/foll-fork.c: new file.
6442 * gdb.hp/foll-fork.exp: new file.
6443 * gdb.hp/foll-vfork.c: new file.
6444 * gdb.hp/foll-vfork.exp: new file.
6445 * gdb.hp/inherit-hp.exp: new file.
6446 * gdb.hp/more-steps.exp: new file.
6447 * gdb.hp/namespace.cc: new file.
6448 * gdb.hp/namespace.exp: new file.
6449 * gdb.hp/optimize.exp: new file.
6450 * gdb.hp/pxdb.c: new file.
6451 * gdb.hp/pxdb.exp: new file.
6452 * gdb.hp/quicksort.exp: new file.
6453 * gdb.hp/reg-test.exp: new file.
6454 * gdb.hp/reg-test.s: new file.
6455 * gdb.hp/sized-enum.c: new file.
6456 * gdb.hp/sized-enum.exp: new file.
6457 * gdb.hp/start-stop.exp: new file.
6458 * gdb.hp/templ-hp.cc: new file.
6459 * gdb.hp/templ-hp.exp: new file.
6460 * gdb.hp/thr-lib.c: new file.
6461 * gdb.hp/thr-lib.exp: new file.
6462 * gdb.hp/thr-lib.h: new file.
6463 * gdb.hp/thr-liblib.c: new file.
6464 * gdb.hp/virtfun-hp.c: new file.
6465 * gdb.hp/virtfun-hp.exp: new file.
6466 * gdb.hp/watch-cmd.exp: new file.
6467 * gdb.hp/watch-hp.exp: new file.
6468 * gdb.hp/xdb1.exp: new file.
6469 * gdb.hp/xdb2.exp: new file.
6470 * gdb.hp/xdb3.exp: new file.
6471
6472Wed Jan 6 18:41:15 1999 David Taylor <taylor@texas.cygnus.com>
6473
6474 The following files are part of the HP merge; some had longer
6475 names at HP, but have been renamed to be no more than 14
6476 characters in length.
6477
6478 * gdb.base/ss.h: new file.
6479 * gdb.base/call-ar-st.c: new file.
6480 * gdb.base/call-ar-st.exp: new file.
6481 * gdb.base/call-rt-st.c: new file.
6482 * gdb.base/call-rt-st-exp: new file.
6483 * gdb.base/call-strs.exp: new file.
6484 * gdb.base/ena-dis-br.exp: new file.
6485 * gdb.base/environ.exp: new file.
6486 * gdb.base/long_long.exp: new file.
6487 * gdb.base/sect-cmd.exp: new file.
6488 * gdb.base/shlib-cl2.exp: new file.
6489 * gdb.base/smoke.exp: new file.
6490 * gdb.base/so-impl-ld.c: new file.
6491 * gdb.base/so-impl-ld.exp: new file.
6492 * gdb.base/so-indr-cl.c: new file.
6493 * gdb.base/so-indr-cl.exp: new file.
6494 * gdb.base/varargs.exp: new file.
6495 * gdb.base/volatile.exp: new file.
6496 * gdb.base/whatis-exp.exp: new file.
7a292a7a 6497 * gdb.base/display.exp: new file.
c906108c
SS
6498 * gdb.c++/derivation.exp: new file.
6499 * gdb.c++/local.exp: new file.
6500 * gdb.c++/member-ptr.exp: new file.
6501 * gdb.c++/overload.exp: new file.
6502 * gdb.c++/ovldbreak.exp: new file.
6503 * gdb.c++/ref-types.exp: new file.
6504 * gdb.c++/ref-types2.exp: new file.
6505 * gdb.c++/userdef.exp: new file.
d63a86f8 6506
c906108c
SS
6507Wed Jan 6 13:50:57 1999 Stan Shebs <shebs@andros.cygnus.com>
6508
6509 * gdb.base/default.exp: Reflect wording change in remote.c.
6510
dc96c6c7 6511Tue Jan 5 19:14:51 1999 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6512
6513 * gdb.base/help.exp: Update to reflect current text.
6514
6515Tue Jan 5 13:05:32 1999 David Taylor <taylor@texas.cygnus.com>
6516
6517 * gdb.c++/anon-union.cc: make foo and bar global, otherwise
6518 they're stack variables and contain garbage.
6519 * gdb.c++/anon-union.exp: new file.
6520
6521 The following changes were made by David Taylor
6522 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
6523 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
6524 in changes by HP.
6525
6526 * gdb.base/bitops.exp: new file.
6527 * gdb.base/default.exp: change expected messages for catch and
6528 info catch tests to reflect HP merge changes.
6529 * gdb.base/enable-disable-break.exp
6530 * gdb.base/ending-run.c: new file.
6531 * gdb.base/long_long.c: new file.
6532 * gdb.base/maint.exp: new file.
6533 * gdb.base/pointers2.exp: new file.
6534 * gdb.base/shlib-call2.exp: new file.
6535 * gdb.base/solib.exp: new file.
6536 * gdb.base/step-test.c: new file.
6537 * gdb.c++/anon-union.cc: new file.
6538 * gdb.c++/local.cc: new file.
6539 * gdb.c++/member-pointer.cc: new file.
6540 * gdb.c++/method.cc: new file.
6541 * gdb.c++/ref-types.cc: new file.
6542 * gdb.c++/ref-types2.cc: new file.
6543 * gdb.c++/userdef.cc: new file.
d63a86f8 6544
c906108c
SS
6545 * gdb.base/scope.exp: compile one file at a time, then link.
6546 * gdb.base/langs.exp: ditto.
6547 * gdb.base/list.exp: ditto.
d63a86f8 6548
c906108c
SS
6549Mon Jan 4 10:06:43 1999 David Taylor <taylor@texas.cygnus.com>
6550
6551 The following changes were made by David Taylor
6552 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
6553 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
6554 in changes by HP.
d63a86f8 6555
c906108c
SS
6556 * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
6557 skip tests. When compiling pass c++ flag to gdb_compile.
6558 * gdb.c++/
d63a86f8 6559
c906108c
SS
6560 * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
6561 test for on hppa*-*-hpux*; use args to see if c++ was specified.
6562 (skip_hp_tests): new function.
6563 (gdb_preprocess): new function.
6564
6565 * configure.in (hpdir): decide whether to configure gdb.hp.
6566 * configure: regenerated.
6567
6568 * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
6569 to delete on clean.
6570 (EXECUTABLES): update to reflect new additions.
6571 * gdb.base/commands.exp: update message expected.
6572 * gdb.base/default.exp: add copyright notice.
6573 * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
6574 * gdb.base/help.exp: update messages to reflect current text.
6575 * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
6576 targets for recurse tests.
6577 * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
6578 skip this file.
6579
6580 * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
6581 * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
6582 compilation.
6583 * gdb.c++/misc.exp: ditto.
6584 * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
6585 run the tests. tell gdb_compile that it's a c++ compilation.
6586
6587 * gdb.threads/pthreads.exp: fix typo in message.
d63a86f8 6588
c906108c
SS
6589 * gdb.base/all-bin.exp: new file.
6590 * gdb.base/arithmet.exp: new file.
6591 * gdb.base/assign.exp: new file.
6592 * gdb.base/completion.exp: new file.
6593 * gdb.base/cond-expr.exp: new file.
6594 * gdb.base/condbreak.exp: new file.
6595 * gdb.base/define.exp: new file.
6596 * gdb.base/dollar.exp: new file.
6597 * gdb.base/environment.exp: new file.
6598 * gdb.base/eval-skip.exp: new file.
6599 * gdb.base/jump.exp: new file.
6600 * gdb.base/logical.exp: new file.
6601 * gdb.base/pointers.exp: new file.
6602 * gdb.base/relational.exp: new file.
6603 * gdb.base/section_command.exp: new file.
6604 * gdb.base/whatis-expr.exp: new file.
6605
6606 * gdb.base/all-types.c: new file.
6607 * gdb.base/call-array-struct.c: new file.
6608 * gdb.base/call-return-struct.c: new file.
6609 * gdb.base/call-strings.c: new file.
6610 * gdb.base/callfuncs2.c: new file.
6611 * gdb.base/condbreak.c: new file.
6612 * gdb.base/constvars.c: new file.
6613 * gdb.base/display.c: new file.
6614 * gdb.base/int-type.c: new file.
6615 * gdb.base/jump.c: new file.
6616 * gdb.base/miscexprs.c: new file.
6617 * gdb.base/pointers.c: new file.
6618 * gdb.base/pointers2.c: new file.
6619 * gdb.base/shmain.c: new file.
6620 * gdb.base/shr1.c: new file.
6621 * gdb.base/shr2.c: new file.
6622 * gdb.base/solib.c: new file.
6623 * gdb.base/solib1.c: new file.
6624 * gdb.base/solib2.c: new file.
6625 * gdb.base/varargs.c: new file.
6626 * gdb.c++/derivation.cc: new file.
6627 * gdb.c++/overload.cc: new file.
6628 * gdb.c++/ovldbreak.cc: new file.
6629 * gdb.hp/attach.c: new file.
6630 * gdb.hp/attach2.c: new file.
6631 * gdb.hp/average.c: new file.
6632 * gdb.hp/compiler.c: new file.
6633 * gdb.hp/compiler.cc: new file.
6634 * gdb.hp/execd-program.c: new file.
6635 * gdb.hp/follow-exec.c: new file.
6636 * gdb.hp/follow-fork.c: new file.
6637 * gdb.hp/follow-vfork-and-exec.c: new file.
6638 * gdb.hp/misc-hp.cc: new file.
6639 * gdb.hp/more-steps.c: new file.
6640 * gdb.hp/optimize.c: new file.
6641 * gdb.hp/quicksort.c: new file.
6642 * gdb.hp/run-hp.c: new file.
6643 * gdb.hp/start-stop.c: new file.
6644 * gdb.hp/sum.c: new file.
6645 * gdb.hp/templates-hp.cc: new file.
6646 * gdb.hp/thread-local-in-lib.c: new file.
6647 * gdb.hp/thread-local-in-lib.h: new file.
6648 * gdb.hp/thread-local-in-lib.lib.c: new file.
6649 * gdb.hp/vforked-program.c: new file.
6650 * gdb.hp/virtfunc-hp.cc: new file.
6651 * gdb.hp/watchpoint-hp.c: new file.
6652 * gdb.hp/xdb.c: new file.
6653 * gdb.hp/xdb0.c: new file.
6654 * gdb.hp/xdb0.h: new file.
6655 * gdb.hp/xdb1.c: new file.
6656
6657Mon Dec 21 14:08:38 1998 David Taylor <taylor@texas.cygnus.com>
6658
6659 The following change was made by Edith Epstein
6660 <eepstein@cygnus.com> as part of a project to merge in changes
6661 originally made by HP; HP did not create ChangeLog entries.
6662
6663 * gdb.c++/demangle.exp: changed the expected output for some
6664 ARM-style mangling -- removed second reference to datatype.
6665 For example, maint demangle __dt__11T1__pt__2_cFv
6666 T1<char>::~T1<char>(void)
6667 becomes,
6668 maint demangle __dt__11T1__pt__2_cFv
6669 T1<char>::~T1(void)
6670
6671 (test_hp_style_demangling): new hp specific demangling test cases.
d63a86f8 6672
c906108c
SS
6673Mon Dec 14 15:07:03 1998 Jeffrey A Law (law@cygnus.com)
6674
6675 * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
6676 * gdb.trace/backtrace.exp: Likewise.
6677 * gdb.trace/circ.exp: Likewise.
6678 * gdb.trace/collection.exp: Likewise.
6679 * gdb.trace/deltrace.exp: Likewise.
6680 * gdb.trace/infotrace.exp: Likewise.
6681 * gdb.trace/limits.exp: Likewise.
6682 * gdb.trace/packetlen.exp: Likewise.
6683 * gdb.trace/passc-dyn.exp: Likewise.
6684 * gdb.trace/passcount.exp: Likewise.
6685 * gdb.trace/report.exp: Likewise.
6686 * gdb.trace/save-trace.exp: Likewise.
6687 * gdb.trace/tfind.exp: Likewise.
6688 * gdb.trace/tracecmd.exp: Likewise.
6689 * gdb.trace/while-dyn.exp: Likewise.
6690 * gdb.trace/while-stepping.exp: Likewise.
6691
66921998-12-07 Jim Blandy <jimb@zwingli.cygnus.com>
6693
6694 * gdb.base/restore.exp, gdb.base/restore.c: New tests.
6695
6696Wed Dec 2 20:03:53 1998 Stan Shebs <shebs@andros.cygnus.com>
6697
6698 From Brendan Kehoe:
6699 * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
6700 int return types.
6701
6702Sat Oct 24 18:04:22 1998 Felix Lee <flee@cygnus.com>
6703
6704 * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
6705 remote dos host testing right.
6706
6707Mon Oct 19 01:31:59 1998 Felix Lee <flee@cygnus.com>
6708
6709 * gdb.base/corefile.exp: remove some xfails.
6710
6711Thu Oct 15 10:04:38 1998 Andrew Cagney <cagney@b1.cygnus.com>
6712
6713 * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
6714 have different timestamps.
6715
6716Thu Oct 1 20:56:14 1998 Andrew Cagney <cagney@b1.cygnus.com>
6717
6718 * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
6719 gdb.base/default.exp: Replace "exec" with "executable".
6720
6721Tue Sep 29 15:06:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
6722
6723 * gdb.base/default.exp: Change else if to elseif from previous
6724 delta.
6725
6726Mon Sep 28 13:21:43 1998 Nick Clifton <nickc@cygnus.com>
6727
6728 * gdb.base/default.exp: Add brace missing from previous delta.
6729
6730Mon Sep 21 14:39:27 1998 Nick Clifton <nickc@cygnus.com>
6731
6732 * gdb.base/default.exp: Support test for info float for all
6733 varieties of arm toolchain.
6734
dc96c6c7 6735Fri Sep 18 14:07:44 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6736
6737 * gdb.trace/*.exp: remove "remote_download" command.
6738
dc96c6c7 6739Wed Sep 16 11:38:21 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6740
6741 * gdb.trace/*.exp: remove -gdwarf from compile.
6742
6743Wed Sep 16 01:23:11 1998 Felix Lee <flee@cygnus.com>
6744
6745 * gdb.trace/configure.in(AC_INIT): typo
6746 * gdb.trace/configure: regenerated
6747
dc96c6c7 6748Mon Sep 14 20:00:04 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6749
6750 * config/m68k-emc.exp: New file.
6751 * lib/<emc-support.exp trace-support.exp}: New files.
6752 * configure.in: add new test directory gdb.trace.
6753 * gdb.trace/{configure configure.in Makefile.in}: New files.
6754 * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
6755 * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
6756 * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
6757 * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
6758 * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
6759 * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
6760 * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
d63a86f8 6761
dc96c6c7 6762Fri Sep 11 13:58:02 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6763
6764 * gdb.c++/classes.exp: Change all regular expressions to match
6765 arbitrary combinations of newline/carriage-return, so that they
6766 will work equally well on Unix and Windows.
6767 * gdb.c++/inherit.exp: ditto.
6768 * gdb.c++/virtfunc.exp: ditto.
6769
67701998-08-11 Dawn Perchik <dawn@cygnus.com>
6771
6772 * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
6773
c2d11a7d
JM
6774Fri Jul 24 15:51:34 1998 Jeffrey A Law (law@cygnus.com)
6775
6776 * gdb.disasm/am33.s: Add tests for autoincrement instructions.
6777 * gdb.disasm/am33.exp: Run time. Update tests which use r8-r15
6778 to use a0-a3/d0-d3 as needed.
6779
6780Thu Jul 16 18:20:46 1998 Jeffrey A Law (law@cygnus.com)
6781
6782 * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
6783 * gdb.disasm/am33.exp: Corresponding changes.
6784
c906108c
SS
67851998-07-11 Felix Lee <flee@cygnus.com>
6786
6787 * gdb.base/callfuncs.exp: add cmp10 test.
6788 * gdb.base/callfuncs.c (cmp10): new function.
6789
6790Thurs Jul 9 11:08:31 1998 Dawn Perchik <dawn@cygnus.com>
6791
d63a86f8 6792 * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
c906108c
SS
6793 into two parts to get around a synchronization problem in expect.
6794
3fc11d3e
JM
6795Fri Jun 26 14:27:13 1998 Keith Seitz <keiths@cygnus.com>
6796
6797 * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
6798
6799 * configure.in: Add options for gdbtk testsuite.
6800
6801 * configure: Regenerate.
6802
6803 * gdb.gdbtk: New directory to hold gdbtk tests.
6804
c906108c
SS
6805Fri Jun 26 14:52:47 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
6806
6807 * gdb.fortran/types.exp: Escape brackets in expect patterns
6808 for test_float_literal_types_accepted tests.
6809 * gdb.base/scope.exp: Remove extraneous newline in filelocal_bss
6810 before run test.
6811
c2d11a7d
JM
6812Fri Jun 26 11:12:17 1998 Jeffrey A Law (law@cygnus.com)
6813
6814 * am33.exp: Just compile, do not link the testcase.
6815 * am33.s: Add ".am33" pseudoop to force am33 mode.
6816
c906108c
SS
68171998-06-25 Felix Lee <flee@cygnus.com>
6818
6819 * gdb.base/setshow.exp: make sure $pc is sane.
6820
6821 * gdb.stabs/weird.exp: split expect patterns properly.
6822
c2d11a7d
JM
6823Wed Jun 24 13:03:15 1998 Jeffrey A Law (law@cygnus.com)
6824
6825 * gdb.disasm/am33.s: New disassembler testfile for the am33.
6826 * gdb.disasm/am33.exp: Run it.
6827
dc96c6c7 6828Tue Jun 23 11:45:01 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6829
6830 * gdb.base/funcargs.exp: simplify expect strings to ease pattern
6831 match processing (and eliminate spurious timeouts when running).
6832
dc96c6c7 6833Fri Jun 12 17:28:22 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6834
6835 * gdb.base/signals.exp (test_handle_all_print): put back Mach
6836 exception test, but conditionalize it on target [mach | gnu].
6837
dc96c6c7 6838Wed Jun 10 10:40:03 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6839
6840 * gdb.base/overlays.exp: fixup compile line for linker script.
6841
6842Thu Jun 4 21:54:15 1998 Felix Lee <flee@zog.cygnus.com>
6843
6844 * gdb.fortran/types.exp: don't guess at float size.
6845
6846Thu May 21 02:28:37 1998 Felix Lee <flee@zog.cygnus.com>
6847
6848 * gdb.base/exprs.exp: delete test that depends on int size.
6849
6850Sun May 17 17:10:22 1998 Bob Manson <manson@charmed.cygnus.com>
6851
6852 * config/sim.exp: Removed checks for target triplets.
6853 (gdb_target_sim): Use gdb,target_sim_options.
6854
6855Sat May 16 23:43:35 1998 Mark Alexander <marka@cygnus.com>
6856
6857 * gdb.base/reread.exp: New file.
6858 * gdb.base/reread1.c: New file.
6859 * gdb.base/reread2.c: New file.
6860
6861Sat May 16 23:22:09 1998 Mark Alexander <marka@cygnus.com>
6862
6863 * config/sim.exp: Use 'target sim -sparclite' when running
6864 SPARClite programs.
6865
6866Sat May 16 18:48:08 1998 Doug Evans <devans@canuck.cygnus.com>
6867
6868 * gdb.base/structs2.exp: New file.
6869 * gdb.base/structs2.c: New file.
6870
6871Wed May 13 13:36:14 1998 Doug Evans <devans@canuck.cygnus.com>
6872
6873 * gdb.asm/common.inc: New file.
6874 * gdb.asm/d10v.inc: New file.
6875 * asm-source.exp: Pass -I's to gas to find .inc files.
6876 Update line numbers in expected output.
6877 * asmsrc1.s: Rewrite.
6878 * asmsrc2.s: Rewrite.
6879 * configure.in: Create arch.inc symlink.
6880 * configure: Regenerate.
6881 * Makefile.in (distclean): Delete arch.inc.
6882
6883Wed May 6 10:30:54 1998 John Metzler <jmetzler@cygnus.com>
6884
6885 * callfuncs.c (t_enum_value1) : Cleanup return value warnings
6886 (t_enum_value2): ditto
6887 (t_enum_value3): ditto
6888 (main): ditto
6889Fri May 1 09:33:37 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
6890
6891 * gdb.base/break.exp: Remove xfail for `deleting all breakpoints
6892 when none' unexpected prompt case, fixed by breakpoint.c:delete_command
6893 change.
6894 Use gdb_test instead of send_gdb/gdb_expect sequences.
6895
6896Thu Apr 23 12:56:19 1998 Jason Molenda (crash@bugshack.cygnus.com)
6897
6898 * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
6899 not void.
6900
6901Thu Apr 16 10:52:34 1998 John Metzler <jmetzler@cygnus.com>
6902
6903 * gdb.base/branches.c: Code with lots of loops and
6904 subroutines. Used to test gdbs ability to single step through PC
6905 changes, especially to test mips-tdep.c:mips_next_pc
6906
6907Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
6908
6909 * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
6910 more rigorous EGCS C++ error checking.
6911
6912Fri Apr 10 22:38:12 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6913
6914 * gdb.base/help.exp: Clean up `help set args' and `help show args'
d63a86f8 6915 tests.
c906108c 6916 * gdb.base/interrupt.exp: Add "i*86-*-solaris2*" xfail for calling
d63a86f8 6917 function when asleep.
c906108c 6918 * gdb.base/signals.exp: Add "i*86-*-solaris2*" xfails. Add comment
d63a86f8
RM
6919 for i*86 Linux and SVR4 signal handling problems.
6920 Remove linux xfail for `next to handler in signals_tests_1', fixed
6921 by recent infrun.c change.
c906108c 6922 Limit backtrace to 10 frames to avoid timeout problems with infinite
d63a86f8 6923 stack backtraces.
c906108c
SS
6924 Adjust expect pattern in `handle all print' test to match Apr 28 1997
6925 target.[ch] change.
6926
6927Tue Mar 31 00:40:32 1998 Bob Manson <manson@charmed.cygnus.com>
6928
6929 * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
6930 for a newline from gdb before continuing.
6931 (default_gdb_exit): Just look for y or n.
6932 (gdb_test): Detect abnormal exit from GDB running on DOS; if
6933 it does, fail the rests of the tests in the file.
6934
6935Tue Mar 24 22:44:52 1998 Bob Manson <manson@charmed.cygnus.com>
6936
6937 * config/cygmon.exp: New file.
6938
6939Mon Mar 16 21:39:11 1998 Bob Manson <manson@charmed.cygnus.com>
6940
6941 * gdb.base/list.exp: Fix problem with "list default lines around
6942 main" test on remote targets.
6943
6944 * gdb.base/scope.exp: Fix problem with filelocal_bss before
6945 run test on remote targets.
6946
6947Thu Mar 12 16:23:00 1998 Doug Evans <devans@canuck.cygnus.com>
6948
6949 * gdb.asm: New directory.
6950 * configure.in: Configure it.
6951 * configure: Regenerate.
6952 * gdb.asm/{Makefile.in,configure.in,configure}: New files.
6953 * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
6954
6955Mon Feb 23 08:22:44 1998 Mark Alexander <marka@cygnus.com>
6956
6957 * config/mn10300-eval.exp: New file to support MN10300 eval board.
6958
dc96c6c7 6959Wed Feb 18 16:43:46 1998 Michael Snyder (msnyder@cygnus.com)
d63a86f8 6960
c906108c
SS
6961 * gdb.base/overlays (several files): Merge the two overlay
6962 managers into one. Change variables (foox, barx, bazx, grbxx)
6963 back into ints but force them to load in their proper sections.
6964
6965Thu Feb 12 13:49:30 1998 Andrew Cagney <cagney@b1.cygnus.com>
6966
6967 * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
6968 on-chip insn memory and IMAP1 to upper 128k.
6969 (D10VCopy): Handle memory regions crossing 16k boundaries.
6970 (D10VCopy): Transfer data in 32 bit chunks.
6971
6972Tue Feb 10 17:23:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
6973
6974 * gdb.base/overlays.c (main): Exit normally when result is
6975 correct.
6976
6977 * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
6978 map. Include space for printf in .text segment.
6979
6980 * gdb.base/d10vovly.c (D10VTranslate): New function, handle
6981 updated d10v memory VMA/LMA map.
6982 (D10VCopy): Call D10VTranslate.
d63a86f8 6983
c906108c
SS
6984Fri Feb 6 14:13:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
6985
6986 * gdb.base/m32rovly.c: Force variable _novlys into .data section.
6987
6988 * gdb.base/bar.c (barx, bar): Change variable to small array so
6989 that it won't be put into the .sdata - small data -
6990 section. Update reference.
6991 * gdb.base/baz.c (bazx, baz): Ditto.
6992 * gdb.base/foo.c (foox, foo): Ditto.
6993 * gdb.base/grbx.c (grbxx, grbx): Ditto.
6994
6995 * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
6996 to be arrays.
d63a86f8 6997
dc96c6c7 6998Thu Jan 29 14:48:19 1998 Michael Snyder (msnyder@cygnus.com)
d63a86f8 6999
c906108c
SS
7000 * gdb.base/overlays.exp: fix up and get working again.
7001 Add tests for backtraces from an overlay function.
d63a86f8 7002
c906108c
SS
7003Fri Jan 23 07:52:45 1998 Fred Fish <fnf@cygnus.com>
7004
7005 * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
7006 "calling function with watchpoint enabled".
7007
7008Thu Jan 22 14:23:29 1998 Fred Fish <fnf@cygnus.com>
7009
7010 * gdb.base/break.exp (test_next_with_recursion): Remove
7011 gdb_suppress_tests for d10v-*-*.
7012 * lib/gdb.exp (gdb_suppress_tests): Disable this function
7013 pending review of whether it is useful or not.
7014
7015Tue Jan 20 13:02:09 1998 Mark Alexander <marka@cygnus.com>
7016
7017 * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
7018
7019Mon Jan 19 08:53:04 1998 Mark Alexander <marka@cygnus.com>
7020
7021 * gdb.base/break.exp: Increase timeout for slow TX39 boards.
7022 * config/dve.exp: New file to support Densan boards.
7023
7024Mon Dec 15 22:38:05 1997 Andrew Cagney <cagney@b1.cygnus.com>
7025
7026 * gdb.base/interrupt.exp: Document problem of simulators, signals,
7027 reads and BSD.
7028
7029Wed Nov 26 22:29:18 1997 Bob Manson <manson@charmed.cygnus.com>
7030
7031 * config/monitor.exp: Be a bit less picky about the "Remote debugging"
7032 response.
7033
7034 * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
7035
7036Tue Nov 25 12:46:36 1997 Andrew Cagney <cagney@b1.cygnus.com>
7037
7038 * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
7039 test.
7040
7041 * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
7042 target_sizeof_long and target_bigendian_p.
7043 (structs_by_value, structs_by_reference): Check values according
7044 to targets word size and endianess.
d63a86f8 7045
c906108c
SS
7046Mon Nov 24 16:37:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
7047
7048 * gdb.base/langs.exp: For "continue to exit" ignore any trailing
7049 output.
7050
7051Fri Oct 17 13:24:43 1997 Stan Shebs <shebs@andros.cygnus.com>
7052
7053 * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
7054 Update test of set args help to match source change.
7055
7056Fri Sep 26 17:36:20 1997 Jason Molenda (crash@pern.cygnus.com)
7057
7058 * gdb.base/default.exp: Expect help system output to be in
7059 alphabetical order.
7060 * gdb.base/help.exp: Ditto.
7061
7062Wed Sep 24 13:08:14 1997 Bob Manson <manson@charmed.cygnus.com>
7063
7064 * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
7065 "i*86-pc-linux-gnu*".
7066 * gdb.base/interrupt.exp: Ditto.
7067 * gdb.base/corefile.exp: Ditto.
7068
7069 * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
7070 define vxworks when building the testcase.
7071
7072 * gdb.base/ptype.exp: Fix testnames to be unique.
7073 * gdb.base/radix.exp: Ditto.
7074 * gdb.base/term.exp: Ditto.
7075 * gdb.base/whatis.exp: Ditto.
7076 * gdb.c++/classes.exp: Ditto.
7077
7078Tue Sep 16 22:21:48 1997 Bob Manson <manson@charmed.cygnus.com>
7079
7080 * gdb.base/callfuncs.exp: Fix indentation.
7081
7082 * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
7083 suppress_flag has been set.
7084 (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
7085 target feature.
7086
7087Mon Sep 15 15:43:17 1997 Bob Manson <manson@charmed.cygnus.com>
7088
7089 * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
7090 the testcase.
7091
7092 * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
7093 set_debug_traps() and breakpoint().
7094 * gdb.c++/misc.cc (main): Ditto.
7095 * gdb.c++/templates.cc (main): Ditto.
7096 * gdb.c++/virtfunc.cc (main): Ditto.
7097
7098Fri Sep 12 16:56:38 1997 Bob Manson <manson@charmed.cygnus.com>
7099
7100 * lib/gdb.exp(gdb_step_for_stub): New function.
7101 (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
7102 exists, reload the executable and do a "continue" instead of
7103 doing a jump.
7104 (runto_main): Use gdb_step_for_stub.
d63a86f8 7105
c906108c
SS
7106 * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
7107 tests to have unique names.
7108 * gdb.base/callfuncs.exp: Ditto.
7109 * gdb.base/commands.exp: Ditto.
7110 * gdb.base/default.exp: Ditto.
7111 * gdb.base/help.exp: Ditto.
7112 * gdb.base/list.exp: Ditto.
7113 * gdb.base/opaque.exp: Ditto.
7114 * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
7115 similar tests.
d63a86f8 7116
c906108c
SS
7117 * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
7118 * gdb.c++/cplusfuncs.cc: Ditto.
7119 * gdb.c++/virtfunc.cc: Ditto.
7120
7121 * config/monitor.exp: Keep track of the last file we saw, rather
7122 than trying to get the info from gdb.
7123
7124 * gdb.fortran/types.exp: Move comment to previous line.
7125
7126Tue Sep 2 19:55:34 1997 Bob Manson <manson@charmed.cygnus.com>
7127
7128 * config/sparclet.exp: Detect gratuitous change to sparclet gdb
7129 target mode.
7130
7131Mon Jul 28 12:14:47 1997 Stan Shebs <shebs@andros.cygnus.com>
7132
7133 From Bob Manson:
7134 * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
7135 string from GDB when it connects.
7136
7137 * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
7138
7139Thu Jul 3 15:35:12 1997 Bob Manson <manson@charmed.cygnus.com>
7140
7141 * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
7142 if we can't get a debug format from GDB (we may be testing an
7143 older GDB). Use a 10 second timeout when checking for the format.
7144
7145 * gdb.stabs/weird.exp: Fix quoting.
7146
7147 * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
7148
7149Mon Jun 30 18:31:43 1997 Bob Manson <manson@charmed.cygnus.com>
7150
7151 * config/arm-ice.exp: New file.
7152
7153Sun Jun 29 16:43:30 1997 Bob Manson <manson@charmed.cygnus.com>
7154
7155 * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
7156 until it has been modified to work with the new testsuite.
7157
99707966 7158 * gdb.*/*.exp: Instead of causing 1 unresolved test when the
c906108c
SS
7159 testcase won't compile, cause all of the testcases in the file to
7160 fail instead.
7161
7162 * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
7163 (gdb_clear_suppressed): New procedure.
7164 (gdb_stop_suppressing_tests): Only clear suppress_flag if
7165 it contains a positive value.
7166
7167Sat Jun 28 13:31:11 1997 Bob Manson <manson@charmed.cygnus.com>
7168
7169 * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
7170
7171 * gdb.c++/virtfunc.exp: Remove setting of libs variable.
7172
7173Fri Jun 27 07:44:25 1997 Fred Fish <fnf@cygnus.com>
7174
7175 * lib/gdb.exp (setup_xfail_format): New function.
7176 (get_debug_format): New function to get debug format.
7177 (debug_format): New global variable to hold last value set
7178 by get_debug_format.
7179 * gdb.base/list.exp: Call get_debug_format and expect some
7180 tests to fail for DWARF 1 and COFF formats.
7181 * gdb.c++/ptype.exp: Ditto.
7182 * gdb.c++/classes.exp: Ditto.
7183 * gdb.c++/cplusfuncs.exp: Ditto.
7184 * gdb.c++/inherit.exp: Ditto.
7185 * gdb.c++/templates.exp: Ditto.
7186 * gdb.c++/virtfunc.exp: Ditto.
d63a86f8 7187
c906108c
SS
7188Wed Jun 25 09:08:51 1997 Bob Manson <manson@charmed.cygnus.com>
7189
7190 * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
7191 host doesn't have a currently-open connection.
7192
7193 * config/sparclet.exp: Cleanups and fixes to make it generic for
7194 any gdb stub target. Handle cases where gdb doesn't respond when
7195 interrupted in a sane fashion.
7196
7197 * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
7198 same thing in a totally different way.
7199
7200 * config/monitor.exp: Pass in timeouts to gdb_expect instead of
7201 setting "timeout".
7202 (gdb_start): We set the global gdb_prompt variable in
7203 default_gdb_init now.
7204
7205Sun Jun 22 09:11:02 1997 Fred Fish <fnf@cygnus.com>
7206
7207 * gdb.base/printcmds.exp: Fix "check for floating addition"
7208 regexp to accept results within approx +/- .01 of exact value.
7209 * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
7210
7211Wed Jun 18 11:11:39 1997 Bob Manson <manson@charmed.cygnus.com>
7212
7213 * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
7214 properly.
7215 (gdb_expect): Add optional timeout parameter, and add timeout
7216 value to various calls.
7217 (gdb_suppress_tests): Only give one warning message per group.
7218
7219Tue Jun 17 13:10:10 1997 Bob Manson <manson@charmed.cygnus.com>
7220
7221 * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
7222 global variables. Handle getting a value for $timeout more
7223 gracefully.
7224
7225Sat Jun 14 09:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
7226
7227 * lib/gdb.exp: Close connection to remote host if gdb doesn't
7228 initialize.
7229 (default_gdb_init): New procedure; allow gdb_init to be overridden
7230 by a target configuration file.
7231 (gdb_expect): Pass the timeout to remote_expect.
7232
7233 * config/monitor.exp(gdb_load): Fix typo in regexp.
7234
7235Thu Jun 12 20:57:12 1997 Bob Manson <manson@charmed.cygnus.com>
7236
7237 * gdb.base/funcargs.exp: Remove spurious suppress tests call.
7238
7239Tue Jun 3 15:20:20 1997 Bob Manson <manson@charmed.cygnus.com>
7240
7241 * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
7242 here. Call gdb_target_exec before rebooting the target, to make
7243 sure the connection to the target is closed.
7244 (gdb_load): Pass the name of the executable to gdb_target_monitor.
7245 Don't call gdb_file_cmd here; let gdb_target_monitor do it.
7246 Also detect "Timeout reading from remote" error.
7247
7248 * config/gdbserver.exp: Pass the executable being loaded to
7249 gdb_target_monitor. Don't call gdb_file_cmd here; let
7250 gdb_target_monitor do it.
7251
7252 * gdb.disasm/hppa.exp: Don't use exec_output.
7253
7254Fri May 23 13:28:29 1997 Bob Manson <manson@charmed.cygnus.com>
7255
7256 * gdb.base/list.exp: If we're debugging a non-native target,
7257 try to set the pc register to point to the start of the
7258 program before doing the first list command.
7259
7260 * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
7261 test_calls after restarting.
7262
7263 * lib/gdb.exp(gdb_run_cmd): Send jump command again after
7264 reloading.
7265
7266 * gdb.base/watchpoint.exp: Fix typo.
7267
7268 * gdb.base/setshow.exp: Check for use_gdb_stub.
7269
7270 * gdb.base/break.exp: Fix continue until exit test for the gdb
7271 stub case.
7272 * gdb.base/langs.exp: Ditto.
7273
7274 * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
7275 gdb_load_offset. If we weren't given a file to load, figure out
7276 what the current file is and use it.
7277
7278 * config/i386-bozo.exp: New file.
7279
7280Thu May 22 18:51:32 1997 Bob Manson <manson@charmed.cygnus.com>
7281
7282 * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
7283 feature.
7284
7285 * config/proelf.exp: New entry.
7286
7287Wed May 21 21:23:16 1997 Bob Manson <manson@charmed.cygnus.com>
7288
7289 * lib/gdb.exp: Remove spurious .* patterns at the beginning
7290 of regexps.
7291
7292 * gdb.base/watchpoint.exp: Don't run the test_stepping
7293 tests if gdb can't call functions on the target.
7294
7295 * gdb.base/setshow.exp: Don't run the set prompt tests if
7296 the board has gdb_prompt set.
7297
7298Tue May 20 08:58:49 1997 Jeffrey A Law (law@cygnus.com)
7299
7300 * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
7301 * gdb.base/commands.exp: Likewise.
7302 * gdb.base/setshow.exp: Likewise.
7303
7304Mon May 19 15:37:50 1997 Bob Manson <manson@charmed.cygnus.com>
7305
7306 * config/monitor.exp(gdb_start): Look for gdb_prompt target
7307 feature.
7308
7309 * config/i960.exp: New file.
7310
7311Thu May 1 18:01:50 1997 Bob Manson <manson@charmed.cygnus.com>
7312
7313 * gdb.base/funcargs.exp: Check for gdb,short_int target
7314 feature instead of looking for explicit target triplets.
7315
dc96c6c7 7316Mon Apr 28 17:27:40 1997 Michael Snyder <msnyder@cygnus.com>
c906108c 7317
d63a86f8 7318 * gdb.base/printcmds.exp: add a couple more tests a la
c906108c
SS
7319 "p 123DEADBEEF", to check parse_number.
7320 * top.c: change "to enable to enable" to "to enable" in a couple
7321 of help strings.
7322
7323Thu Apr 24 14:38:18 1997 Jeffrey A Law (law@cygnus.com)
7324
7325 * gdb.base/callfuncs.exp: Mark some tests as expected to fail
7326 on the mn10300.
d63a86f8 7327
c906108c
SS
7328Mon Apr 21 15:05:42 1997 Fred Fish <fnf@cygnus.com>
7329
7330 * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
7331 where the test executable is run with explicit args.
7332 * gdb.base/default.exp: Handle arm-*-coff case for "info float".
7333
7334Mon Apr 21 13:38:58 1997 Fred Fish <fnf@cygnus.com>
7335
7336 * gdb.base/run.c: Use FAKEARGV to build test executable that
7337 does not require a command line arg, since most simulators
7338 don't currently support passing such an arg into the simulated
7339 program.
7340 * gdb.base/commands.exp: Change tests to insert the proper
7341 value as the arg to the first recursive factorial call. Change
7342 compilation line to define FAKEARGV at compile time.
7343
7344Wed Apr 9 11:12:36 1997 Jeffrey A Law (law@cygnus.com)
7345
7346 * gdb.base/recurse.exp: Enable these tests for the mn10300.
7347 * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
7348 function with watchpoint enabled" test.
7349
7350Tue Apr 8 19:33:20 1997 Bob Manson <manson@charmed.cygnus.com>
7351
7352 * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
7353 Don't call gdb_test when the command doesn't return to a gdb prompt.
7354
7355 * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
7356 "Tests restarted" messages.
7357
7358Tue Apr 8 16:38:46 1997 Jeffrey A Law (law@cygnus.com)
7359
7360 * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
7361
dc96c6c7 7362Thu Apr 3 15:21:26 1997 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
7363
7364 * gdb.base/help.exp: update help msg for INFO ADDR; add help test
7365 for INFO SYMBOL; add help tests for OVERLAY commands.
7366 * gdb.base/default.exp: add tests for INFO SYMBOL command;
7367 add tests for OVERLAY commands
7368 * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
7369 d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
7370 * gdb.base/sigall.c: add usestubs code frag
7371 * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
d63a86f8 7372
c906108c
SS
7373Thu Apr 3 09:38:53 1997 Bob Manson <manson@charmed.cygnus.com>
7374
7375 * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
7376 failures.
7377 (gdb_stop_suppressing_tests): Note that tests have restarted.
7378
7379Wed Apr 2 19:04:20 1997 Bob Manson <manson@charmed.cygnus.com>
7380
7381 * config/h8300.exp: New file.
7382
7383Sun Mar 30 13:38:25 1997 Bob Manson <manson@charmed.cygnus.com>
7384
7385 * gdb.base/setshow.exp: Check for the existence of a
7386 feature, not its value.
7387
7388Sat Mar 29 11:19:46 1997 Bob Manson <manson@charmed.cygnus.com>
7389
7390 * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
7391
7392 * gdb.base/scope.exp: It's now init0(), not init().
7393
7394 * gdb.base/scope0.c: For now, change init() to be init0().
7395
7396 * config/monitor.exp: Use gdb_serial in preference to serial
7397 or netport.
7398
7399 * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
7400 and it's not already set.
7401
7402Fri Mar 28 19:54:18 1997 Bob Manson <manson@charmed.cygnus.com>
7403
7404 * gdb.base/setshow.exp: Only test the run command if the target
7405 isn't using a stub and if it supports argument passing.
7406
7407Sat Mar 22 19:50:25 1997 Bob Manson <manson@charmed.cygnus.com>
7408
7409 * config/udi.exp(gdb_start): Make sure UDICONF is set
7410 properly before starting gdb.
7411
7412Mon Mar 24 14:40:33 1997 Jeffrey A Law (law@cygnus.com)
7413
7414 * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
7415 * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
7416 * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
7417
7418Tue Mar 11 11:42:58 1997 Bob Manson <manson@charmed.cygnus.com>
7419
7420 * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
7421 specialized code to reboot the board, use remote_reboot instead.
7422
7423 * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
7424
7425 * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
7426
7427 * config/monitor.exp: Make sure we disconnect from the target.
7428 Also, try a reboot/reload cycle instead of failing if the
7429 load fails.
7430
7431Fri Mar 7 13:48:30 1997 Bob Manson <manson@charmed.cygnus.com>
7432
7433 * gdb.base/default.exp: Don't set match_max.
7434 * gdb.base/help.exp: Ditto.
7435 * gdb.base/list.exp: Ditto.
7436 * gdb.base/signals.exp: Ditto.
7437
7438 * config/monitor.exp(gdb_load): If gdb,use_standard_load is
7439 set, use remote_ld to download the testcase instead of
7440 the GDB loader.
7441
7442Wed Mar 5 00:00:43 1997 Bob Manson <manson@charmed.cygnus.com>
7443
7444 * config/vr5000.exp: New file.
7445
7446 * config/monitor.exp(gdb_target_monitor): Add pattern for
7447 "Ending remote" to detect errors in connecting.
7448
7449 * gdb.base/setshow.exp: Add .* within auto language test.
7450
7451 * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
7452 target feature.
7453
7454 * config/monitor.exp(gdb_load): Check for a failure when loading,
7455 and reboot the board if necessary.
7456
7457 * gdb.base/setvar.exp(test_set): Handle multiple prints within
7458 a set of tests. Remove print.* from the patterns being checked.
7459
7460Mon Mar 3 11:57:43 1997 Bob Manson <manson@charmed.cygnus.com>
7461
7462 * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
7463 refer to gdb_spawn_id.
7464
7465 * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
7466 longer used.
7467 * config/sparclet.exp: Ditto.
7468 * config/sparclet-old.exp: Ditto.
7469 * config/slite.exp: Ditto.
7470 * config/sim.exp: Ditto.
7471 * gdb.base/funcargs.exp: Ditto.
7472
7473 * lib/gdb.exp:Remove references to gdb_spawn_id.
7474 (gdb_expect): Move to remote.exp.
7475
7476Fri Feb 28 20:47:39 1997 Bob Manson <manson@charmed.cygnus.com>
7477
7478 * config/monitor.exp: Detect the "Couldn't establish connection"
7479 message from GDB.
7480
7481Tue Feb 25 14:08:55 1997 Bob Manson <manson@charmed.cygnus.com>
7482
7483 * gdb.base/bitfields.exp: Use runto instead of explicit
7484 gdb_run_cmd/gdb_expect sequences.
7485
7486 * gdb.base/break.exp(text_next_with_recursion): Add match for
7487 gdb_expect call.
7488
7489 * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
7490 We also need to handle the "A program is being debugged already"
7491 prompt from gdb. Use gdb_test to set the baud rate.
7492
7493 * lib/gdb.exp(gdb_init): Increase the default expect buffer size
7494 to 20000. Really. I mean it.
7495
7496Mon Feb 24 13:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
7497
7498 * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
7499 fails. If suppress_flag is set, skip perror message about not
7500 being able to send to GDB.
7501 (send_gdb): If suppress_flag is set, don't try to send commands to
7502 GDB.
7503 (gdb_expect): If suppress_flag is set, always fail immediately.
7504 (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
7505 (gdb_init): Call gdb_stop_suppressing_tests.
7506 (default_gdb_exit): Ditto.
7507 (default_gdb_start): Ditto.
7508
7509 * gdb.base/bitfields.exp: Call gdb_suppress_tests and
7510 gdb_stop_suppressing_tests as appropriate.
7511 * gdb.base/break.exp: Ditto.
7512 * gdb.base/callfuncs.exp: Ditto.
7513 * gdb.base/commands.exp: Ditto.
7514 * gdb.base/exprs.exp: Ditto.
7515 * gdb.base/funcargs.exp: Ditto.
7516 * gdb.base/list.exp: Ditto.
7517 * gdb.base/recurse.exp: Ditto.
7518 * gdb.base/scope.exp: Ditto.
7519 * gdb.base/structs.exp: Ditto.
7520 * gdb.c++/inherit.exp: Ditto.
7521
7522Sun Feb 23 19:56:02 1997 Bob Manson <manson@charmed.cygnus.com>
7523
7524 * config/vr4300.exp: New file.
7525
99707966 7526 * gdb.*/*.exp: Call gdb_expect instead of expect.
d63a86f8 7527
99707966 7528 * lib/gdb.exp(gdb_expect): New function.
c906108c
SS
7529
7530Thu Feb 20 13:57:01 1997 Bob Manson <manson@charmed.cygnus.com>
7531
7532 * lib/gdb.exp(gdb_init): New function.
7533
7534 * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
7535 for each individual variable set.
7536
7537 * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
7538 name.
7539
7540 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
7541
7542 * gdb.base/scope.exp: Use gdb_test.
7543
7544 * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
7545 aborting; the testsuite driver will do that for us (see
7546 gdb_finish). Also, use gdb_test in a few more places.
7547
7548Thu Feb 20 13:32:24 1997 Stan Shebs <shebs@andros.cygnus.com>
7549
7550 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
7551
7552Thu Feb 20 10:34:21 1997 Jeffrey A Law (law@cygnus.com)
7553
7554 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
7555 and "add_tests" are not at the same address.
7556
7557Fri Feb 14 18:47:23 1997 Bob Manson <manson@charmed.cygnus.com>
7558
7559 * gdb.base/ptype.exp: Use gdb_test.
7560
7561Thu Feb 13 16:09:36 1997 Jeffrey A Law (law@cygnus.com)
7562
7563 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
7564 * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
7565 left in. No longer expect them to fail.
7566
7567 * gdb.stabs/*.mt; Deleted, no longer used.
7568 * gdb.stabs/configure.in: Remove references to target makefile
7569 frags.
7570 * gdb.stabs/configure: Rebuilt.
7571
7572 * gdb.disasm/*.mt: Deleted, no longer used.
7573 * gdb.disasm/configure.in: Remove references to target makefile
7574 frags. Use "sh3.s" as the unique filename for this directory.
7575 * gdb.disasm/configure: Rebuilt.
7576
7577 * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
7578 * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
7579 * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
7580
7581Tue Feb 11 16:57:58 1997 Bob Manson <manson@charmed.cygnus.com>
7582
7583 * config/udi.exp: Use mondfe,name instead of remote_host.
7584
7585Tue Feb 11 11:22:36 1997 Jeffrey A Law (law@cygnus.com)
7586
7587 * gdb.base/watchpoint.exp: Don't expect a failure when calling
7588 a function with a watchpoint enabled on the mn10200.
7589
7590 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
7591 before trying to create it!
7592
7593Mon Feb 10 16:40:47 1997 Bob Manson <manson@charmed.cygnus.com>
7594
7595 * config/vx.exp: Use hostname instead of netport.
7596
7597 * config/vxworks.exp: New file.
7598
7599 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
7600
7601 * config/monitor.exp(gdb_target_monitor): Look for a prompt from
7602 gdb before assuming everything worked. Send a ^C if a timeout
7603 occurs.
7604
7605 * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
7606 $gdb_spawn_id directly.
7607 (gdb_run_cmd): Try _start as well as start. Use the target feature
7608 gdb,start_symbol as the symbol to start from when jumping.
7609
7610Mon Feb 10 11:26:59 1997 Jeffrey A Law (law@cygnus.com)
7611
7612 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
7613 redundant) test.
7614
7615 * gdb.base/recurse.exp: Relax final value test for 'b' so that
7616 it doesn't lose for 16bit integer systems.
7617
7618Fri Feb 7 09:31:21 1997 Jeffrey A Law (law@cygnus.com)
7619
7620 * gdb.fortran/types.exp: If the target doesn't support "double"
7621 data types, then expect "real" types to only be 4 bytes.
7622
7623 * gdb.c++/virtfunc.exp: Expect failure for virtual function
7624 call tests if the target doesn't support inferior function calls.
7625
7626 * gdb.base/printcmds.exp: Allow minor deviation in FP values
7627 in printf tests.
7628
7629Thu Feb 6 12:46:14 1997 Jeffrey A Law (law@cygnus.com)
7630
7631 * gdb.base/help.exp: Disable "help set", "help show", and
7632 "help support". Simplify regexp for "help stack".
7633
7634 * gdb.base/default.exp: Set match_max to 5000 and the timeout
7635 to 60 seconds. Temporarily set match_max to 15000 around the
7636 "info copying" test.
7637
7638 * gdb.base/nodebug.exp: Don't try to do an inferior function
7639 call if the target doesn't support them.
7640 * gdb.base/printcmds.exp: Likewise.
7641 * gdb.base/setvar.exp: Likewise.
7642 * gdb.base/structs.exp: Likewise.
7643 * gdb.c++/templates.exp: Likewise.
7644 * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
7645
7646 * gdb.base/recurse.exp: Enable for the mn10200.
7647
7648 * configure.in: Do configure gdb.stabs directory for *-*-elf
7649 targets.
7650 * configure: Rebuilt.
7651
7652 * gdb.base/break.exp: Check for gdb,noresults before testing
7653 exit status and/or results from the target.
7654 * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
7655 * lib/gdb.exp: Remove old (now bogus) initialization of
7656 noinferior, noargs, noresults and nosignals.
7657
7658Tue Feb 4 21:52:17 1997 Bob Manson <manson@charmed.cygnus.com>
7659
7660 * config/sh.exp: New file.
7661
7662 * config/slite.exp: Try to connect multiple times to the board
7663 before rebooting. Only send a "monitor run" if need_monitor_run
7664 is set.
7665
7666 * gdb.base/break.exp: Don't do the "stub continue" test if
7667 the target has gdb_stub set.
7668
7669 * gdb.base/callfuncs.exp: Increase the timeout.
7670
7671 * gdb.base/interrupt.exp: Don't even try to compile the testcase
7672 if the target has gdb,noinferiorio set.
7673
7674 * gdb.base/list.exp: Increase match_max to 10000 characters.
7675
7676 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
7677
7678 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
7679 target.
7680
7681 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
7682
7683Mon Feb 3 12:09:37 1997 Bob Manson <manson@charmed.cygnus.com>
7684
7685 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
7686 trying to delete the copy of gdb. Catch the file delete so we
7687 don't die if the delete fails; also, the file should be copied to
7688 the host, not to the build.
7689
7690Sun Feb 2 00:55:14 1997 Bob Manson <manson@charmed.cygnus.com>
7691
7692 * lib/gdb.exp(gdb_test): Surround the result pattern with
7693 parenthesis in case it contains multiple regexps separated
7694 with |.
7695
7696 * gdb.base/watchpoint.exp: Use gdb_test.
7697 * gdb.base/default.exp: Ditto.
7698
7699Sat Feb 1 23:51:01 1997 Bob Manson <manson@charmed.cygnus.com>
7700
99707966 7701 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
d63a86f8 7702
c906108c
SS
7703 * gdb.base/scope.exp: Use gdb_test.
7704 * gdb.c++/classes.exp: Ditto.
7705 * gdb.c++/inherit.exp: Ditto.
7706
7707Fri Jan 31 13:09:12 1997 Bob Manson <manson@charmed.cygnus.com>
7708
7709 * gdb.base/crossload.exp: Don't use execute_anywhere, use
7710 remote_exec instead.
7711 * gdb.base/corefile.exp: Don't be ridiculous.
7712 * gdb.base/*.c: Add missing stub invocations.
7713
7714Thu Jan 30 16:49:25 1997 Bob Manson <manson@charmed.cygnus.com>
7715
7716 * config/slite.exp: Miscellaneous fixes.
7717
7718 * lib/gdb.exp: Fix runto.
7719
7720 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
7721 the target.
7722
7723 * gdb.base/watchpoint.exp: Fix regexp.
7724
7725 * lib/gdb.exp(default_gdb_exit): Add a catch to the
7726 close and wait commands, as the descriptor may now be
7727 invalid. Always call "remote_close host".
7728
7729Tue Jan 28 14:42:31 1997 Bob Manson <manson@charmed.cygnus.com>
7730
7731 Major rewrite for testsuite revision.
d63a86f8 7732
c906108c
SS
7733 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
7734 TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
7735 instead of relying on spawn_id to always contain a valid
7736 spawn id.
7737 (get_compiler_info): New procedure to build the ${binfile}.ci
7738 file, instead of replicating this in N different places.
7739 (gdb_compile): New procedure.
d63a86f8 7740
c906108c
SS
7741 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
7742 appropriate arguments) instead of compile. Use gdb_test in a lot
7743 more places. Use send_gdb instead of send. Always run gdb_start
7744 at the start of a testcase, as this is no longer done magically.
7745
7746 config/*-gdb.exp: Rename without the -gdb suffix.
7747
7748 config/mips.exp: Use remote_close instead of exit_remote_shell.
7749 config/monitor.exp: Use target_info instead of looking at
7750 baud, timeout, etc.
7751 config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
7752
7753Sat Dec 14 00:43:57 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7754
7755 * gdb.c++/templates.exp (test_ptype_of_templates),
7756 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
7757 Update expect patterns for destructors and assignment operators
7758 to match corresponding c-typeprint.c changes.
7759 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
7760 to destructor breakpoint test, GDB should be able to set the
7761 destructor breakpoint without specifying arguments.
7762
7763Tue Dec 3 20:17:52 1996 Fred Fish <fnf@cygnus.com>
7764
7765 * gdb.threads/pthreads.exp: Change result for failure to compile due
7766 to lack of pthreads runtime support from an error to simply an
7767 unsupported test, per dejagnu standards.
7768
7769Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7770
7771 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
7772 where GDB exits to reduce pattern match time.
7773 (skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
7774
7775 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
7776
dc96c6c7 7777Tue Nov 26 18:29:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
7778
7779 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
7780 * gdb.base/default.exp: ditto.
7781 * gdb.base/nodebug.exp: ditto.
7782 * gdb.base/printcmds.exp: ditto.
7783 * gdb.base/ptype.exp: ditto.
7784 * gdb.base/setvar.exp: ditto.
7785 * gdb.base/structs.exp: ditto.
7786 * gdb.base/setshow.c: Guard against uninitialized values of argc.
7787
7788Tue Nov 26 17:23:28 1996 Ian Lance Taylor <ian@cygnus.com>
7789
7790 * configure, */configure: Rebuild with autoconf 2.12.
7791
7792Sat Nov 23 13:32:15 1996 Fred Fish <fnf@cygnus.com>
7793
7794 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
7795 use new i*86-pc-linux*-gnu quads.
7796 * gdb.base/corefile.exp: Ditto.
7797 * gdb.base/signals.exp: Ditto.
7798 * gdb.base/sigall.exp: Ditto.
7799 * gdb.base/interrupt.exp: Ditto.
7800
7801 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
7802 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
7803 RedHat 4.0.
d63a86f8 7804
c906108c
SS
7805 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
7806 linux. This allows the test case to at least compile on latest
7807 linux, but still not run due to missing the threads runtime library.
7808
7809Fri Nov 22 10:13:29 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7810
7811 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
7812 directory to search gdb directory. Accept and step over conditional
7813 stack alignment code. Consume $prompt in failure cases.
7814 Reset timeout to $oldtimeout instead of some arbitrary value.
7815 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
7816 timeout problems with infinite stack backtraces.
7817 * gdb.base/ptype.exp (ptype struct link, union tu_link):
7818 Accept function parameters for linkfunc member.
7819
7820Thu Nov 21 09:17:19 1996 Fred Fish <fnf@cygnus.com>
7821
7822 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
7823 (CXXFLAGS): Remove, unreferenced.
7824 (B_OPTIONS): Add for -B options and add code to initialize with
7825 previous -B options and also add -B option to pick up cross compiled
7826 runtime.
7827 (TARGET_INCLUDES): Add for -I options and add code to initialize when
7828 doing cross compiles.
7829 (target_alias): Declare global.
7830 (xgcc): Set variable to full path of gcc in build tree. Use findfile
7831 to verify that gcc exists in build tree, and if so set CC to that
7832 gcc and to use B_OPTIONS and TARGET_INCLUDES.
d63a86f8 7833
c906108c
SS
7834Tue Nov 12 16:20:13 1996 Fred Fish <fnf@cygnus.com>
7835
7836 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
7837 ptype test for anonymous union. Fixup testcase to match
7838 current gcc debug output.
7839
7840Mon Nov 11 14:12:06 1996 Jeffrey A Law (law@cygnus.com)
7841
7842 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
7843 force argument to an unsigned long type.
7844
7845Mon Nov 11 10:27:55 1996 Fred Fish <fnf@cygnus.com>
7846
7847 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
7848 tests and anonymous union print/ptype tests.
7849 * gdb.base/list.exp (test_forward-search): Increase timeout by
7850 5 minutes for the "search extremely long line" case.
7851 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
7852 completely optional and that the pass/fail messages use the command as
7853 the message if that third arg is a null string.
7854 (gdb_test_exact): Arrange that a null string pattern means match a
7855 null string output rather than any output, which might include random
7856 errors.
7857 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
7858 backtrace test.
7859 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
7860 always failing and failure is now exposed by gdb.exp changes.
7861
7862Sat Nov 9 11:13:24 1996 Fred Fish <fnf@cygnus.com>
7863
7864 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
7865 weren't being noted.
7866
7867Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7868
7869 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
7870 * gdb.stabs/weird.exp: Remove v_comb xfails.
7871
dc96c6c7 7872Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
7873
7874 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
7875 list.exp scope.exp watchpoint.exp]
7876 Make all timeout error msgs explicitly say "(timeout)".
d63a86f8 7877
dc96c6c7 7878Mon Nov 4 12:03:06 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
7879
7880 * config/monitor.exp: Increase download timeout to 1000 seconds.
7881
dc96c6c7 7882Mon Nov 4 12:02:26 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
7883
7884 * config/m32r.exp: Increase timeout to 120 seconds.
7885
7886Sun Nov 3 14:37:05 1996 Fred Fish <fnf@cygnus.com>
7887
7888 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
7889 and accept older ordering as obsolescent gcc or gdb.
7890 * gdb.c++/templates.exp: Ditto.
7891 * gdb.c++/virtfunc.exp: Ditto.
7892
7893Fri Nov 1 11:56:09 1996 Fred Fish <fnf@cygnus.com>
7894
7895 * gdb.base/coremaker.c: Add code to mmap some data so we
7896 can check that it ends up in the core file.
7897 * gdb.base/corefile.exp: Add test to read mmapped data
7898 from core file.
7899
dc96c6c7 7900Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
7901
7902 * config/m32r.exp: New file.
7903
7904Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
7905
7906 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
7907 that cflags can contains -gstabs, and work correctly for other tests.
7908
dc96c6c7 7909Mon Oct 21 14:00:37 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
7910
7911 * gdb.base/setshow.exp: New file, tests show and set.
7912 * gdb.base/setshow.c: New file, tests show and set.
7913 * gdb.base/help.exp: Add test for help set|show annotate.
7914 * gdb.base/default.exp: Add test for set|show annotate.
7915
7916Wed Oct 16 19:03:54 1996 Stu Grossman (grossman@critters.cygnus.com)
7917
7918 * testsuite/gdb.base/break.exp: Make backtrace from factorial
7919 errors unique.
7920 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
7921 explicitly.
7922
7923Tue Oct 15 16:45:02 1996 Stu Grossman (grossman@critters.cygnus.com)
7924
7925 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
7926 and width commands. This is done elsewhere.
7927 * (gdb_start): Don't call gdb_start_sim here. That's already
7928 done in gdb_load. This fixes lots of failures in default.exp.
7929
7930Sun Oct 13 10:40:23 1996 Fred Fish <fnf@cygnus.com>
7931
7932 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
7933 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
7934 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
7935 in the same we we treat other failures (since it may be an expected
7936 condition), rather than as an error.
7937 * gdb.base/signals.exp (test_handle_all_print): Revert back to
7938 old test format.
7939
7940Fri Oct 11 17:05:22 1996 Fred Fish <fnf@cygnus.com>
7941
7942 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
7943 (distclean maintainer-clean realclean): No need to remove files
7944 twice. Nuke the duplicates.
7945 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
d63a86f8 7946 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
c906108c
SS
7947 Remove config.h along with other config files.
7948
7949Mon Sep 30 20:16:22 1996 Fred Fish <fnf@cygnus.com>
7950
7951 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
7952 "p func1 ()" and note that rests of tests are skipped.
7953 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
7954 setup_xfails for "print func2::coremaker_local".
7955 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
7956 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
7957 affected by the previous run test.
7958 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
7959 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
7960 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
7961 "pass int powerset tuple" and "pass modeless int powerset tuple".
7962 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
7963 "real write 4" and "real write 8".
7964 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
7965 setup_xfails for "print vs1 after tuple assign 2",
7966 "print \$i after tuple assign 2", and
7967 "print vs2 after tuple assign 2".
7968 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
7969 meaningful error message and return -1 so the caller can
7970 suppress further tests and avoid a cascade of errors.
d63a86f8 7971
c906108c
SS
7972Fri Sep 27 10:34:51 1996 Fred Fish <fnf@cygnus.com>
7973
7974 * gdb.base/a1-selftest.exp: Tweak tests to account for new
7975 format for printing version.
7976 * gdb.base/default.exp: Ditto.
7977 * gdb.base/interrupt.exp: Fix problem with cascade of
7978 errors if child process dies while calling a function.
d63a86f8 7979
c906108c
SS
7980Fri Sep 13 21:43:48 1996 Fred Fish <fnf@cygnus.com>
7981
7982 * Makefile.in (VPATH): Add
7983 * Makefile.in (Makefile, config.status): Fix rules so things get
7984 remade when necessary.
7985
7986Fri Sep 13 18:16:10 1996 Fred Fish <fnf@cygnus.com>
7987
7988 * Makefile.in (just-check): Add path to sibling expect dir
7989 to environment variable specified by RPATH_ENVVAR.
7990
7991Fri Sep 13 12:05:34 1996 Fred Fish <fnf@cygnus.com>
7992
7993 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
7994 (just-check): Add shared library paths for libstdc++, tk,
7995 tcl, bfd, and opcodes to the environment variable specified
7996 in RPATH_ENVVAR.
7997 * configure.in: Add support to recognize --enable-shared flag
7998 and generate correct value for RPATH_ENVVAR.
7999 * configure: Regenerated with autoconf.
8000
8001Mon Sep 2 06:36:02 1996 Fred Fish <fnf@cygnus.com>
8002
8003 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
8004 include all osf versions.
8005 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
8006 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
8007 when target is linux. When failing to build pthreads test
8008 executable, give more meaningful message.
8009 * gdb.threads/pthreads.c: Hpux also uses old definition of second
8010 arg for pthread_create.
d63a86f8 8011
c906108c
SS
8012Mon Aug 19 09:58:59 1996 Fred Fish <fnf@cygnus.com>
8013
8014 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
8015 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
8016 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
8017 and -lpthreads (everybody else).
8018 (test_startup): Fail gracefully if threads are not supported.
8019 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
8020 "p/c array_index("abcdef",2)" when not gcc compiled.
8021 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
8022 "print func2::coremaker_local" when not gcc compiled.
8023 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
8024 "ptype on opaque struct tagname (statically)",
8025 "ptype on opaque struct tagname (dynamically) 1", and
8026 "ptype on opaque struct tagname (dynamically) 2"
8027 for not compiled with gcc.
8028 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
8029 backtrace when compiled with gcc.
d63a86f8 8030 * lib/gdb.exp (runto_main): Return result of "runto main" rather
c906108c
SS
8031 than always return success.
8032
8033Sat Aug 17 13:28:00 1996 Fred Fish <fnf@cygnus.com>
8034
8035 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
8036
8037Tue Aug 13 10:26:10 1996 Jeffrey A Law (law@cygnus.com)
8038
8039 * gdb.base/structs.exp: Undo last change.
8040
8041Mon Aug 12 15:29:08 1996 Fred Fish <fnf@cygnus.com>
8042
8043 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
8044 encapsulate all the steps/nexts done during self test, starting
8045 at main, and makes them less sensitive to optimization issues.
8046 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
8047 signal handler" test.
8048 * gdb.threads/pthreads.exp: Only run this for native configs.
8049 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
8050 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
8051 tests.
8052 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
8053 for "runto test_calls(void)" test.
d63a86f8 8054
c906108c
SS
8055Sun Aug 11 13:11:24 1996 Fred Fish <fnf@cygnus.com>
8056
8057 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
8058 and don't expect address info in breakpoint confirmations.
8059
8060Wed Aug 7 20:47:43 1996 Fred Fish <fnf@cygnus.com>
8061
8062 * gdb.base/list.exp (test_forward_search): Increase timeout
8063 temporarily by 60 seconds for searching extremely long line,
8064 and then reset to old value when done. Increase expect input
8065 buffer to 10000.
8066
8067Wed Aug 7 15:34:22 1996 Fred Fish <fnf@cygnus.com>
8068
8069 * gdb.base/list.exp (test_forward_search): Fix to handle very
8070 long source line without overflowing expect's input buffer.
8071
8072Wed Aug 7 12:03:25 1996 Tom Tromey <tromey@creche.cygnus.com>
8073
8074 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
8075 "buffer_full".
8076
8077 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
8078 "buffer_full".
8079
8080 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
8081 "buffer_full".
8082
8083 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
8084 "buffer_full".
8085
8086Wed Aug 7 11:05:47 1996 Fred Fish <fnf@cygnus.com>
8087
8088 * configure.in (configdirs): Add gdb.threads.
8089 * configure: Regenerated with autoconf.
8090 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
8091 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
8092 * gdb.threads/configure: New, generated with autoconf.
d63a86f8 8093
c906108c
SS
8094Tue Aug 6 10:23:04 1996 Tom Tromey <tromey@rtl.cygnus.com>
8095
8096 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
8097
8098Mon Aug 5 18:11:53 1996 Fred Fish <fnf@cygnus.com>
8099
8100 * gdb.base/signals.exp (test_handle_all_print): Test separately for
8101 each signal's status in the output of "handle all print".
8102 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
8103 the \r\n sequence that immediately precedes the gdb prompt.
8104 * gdb.base/a1-selftest.exp: Save original timeout and restore
8105 after test.
8106
8107Sun Aug 4 10:20:50 1996 Jeffrey A Law (law@cygnus.com)
8108
8109 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
8110 symbol.
8111
8112Fri Aug 2 17:37:26 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
8113
8114 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
8115
8116Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
8117
8118 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
8119 timeout by 60 seconds.
8120
8121Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
8122
8123 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
8124 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
8125 error return.
8126
8127Thu Jun 27 10:54:58 1996 Fred Fish <fnf@cygnus.com>
8128
8129 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
8130 gdb initialization, also report how long dejagnu waited. Restore
8131 old timeout before doing error return. Temporarily increase timeout
8132 by 3 minutes to allow for slow startups over heavy NFS use.
8133
8134Tue Jun 25 19:59:17 1996 Fred Fish <fnf@cygnus.com>
8135
8136 * lib/gdb.exp: Report timeout value for verbosity level 2.
8137 * config/gdbserver.exp: Ditto.
8138 * config/hppro.exp: Ditto.
8139 * config/mips-gdb.exp: Ditto.
8140 * config/monitor.exp: Ditto.
8141 * config/netware.exp: Ditto.
8142 * config/sim-gdb.exp: Ditto.
8143 * config/slite-gdb.exp: Ditto.
8144 * config/udi-gdb.exp: Ditto.
8145 * config/unix-gdb.exp: Ditto.
8146 * config/vx-gdb.exp: Ditto.
8147 * gdb.base/a1-selftest.exp: Ditto.
8148 * gdb.base/a2-run.exp: Ditto.
8149 * gdb.base/break.exp: Ditto.
8150 * gdb.base/corefile.exp: Ditto.
8151 * gdb.base/list.exp: Ditto.
8152 * gdb.base/recurse.exp: Ditto.
8153 * gdb.base/scope.exp: Ditto.
8154 * gdb.base/signals.exp: Ditto.
8155
8156Tue Jun 25 23:16:58 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
8157
8158 * gdb.threads/Makefile.in (docdir): Removed.
8159
8160Tue Jun 25 17:02:39 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
8161
8162 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
d63a86f8 8163 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
c906108c 8164 @srcdir@.
d63a86f8 8165 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
c906108c
SS
8166 autoconf 2.5 or higher.
8167 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
8168
8169Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
8170
8171 * configure: Regenerated.
8172 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
8173 avoid name clashes with SunOS headers.
8174
8175Wed Jun 5 16:43:27 1996 Jeffrey A Law (law@cygnus.com)
8176
8177 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
8178
8179Thu May 30 11:35:11 1996 Jeffrey A Law (law@cygnus.com)
8180
8181 * gdb.base/callfuncs.exp: Finish last change -- make sure the
8182 prototype information ends up in the compiler info file.
8183
8184Thu May 23 12:48:41 1996 Fred Fish <fnf@cygnus.com>
8185
8186 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
8187 attempting to regenerate it. Eliminate use of a temporary file
8188 and just generate the info file directly. Source it immediately,
8189 for consistency of use.
8190 * gdb.base/corefile.exp: Ditto
8191 * gdb.base/exprs.exp: Ditto.
8192 * gdb.base/funcargs.exp: Ditto.
8193 * gdb.base/langs.exp: Ditto.
8194 * gdb.base/list.exp: Ditto.
8195 * gdb.base/mips_pro.exp: Ditto.
8196 * gdb.base/nodebug.exp: Ditto.
8197 * gdb.base/opaque.exp: Ditto.
8198 * gdb.base/ptype.exp: Ditto.
8199 * gdb.base/scope.exp: Ditto.
8200 * gdb.base/setvar.exp: Ditto.
8201 * gdb.base/signals.exp: Ditto.
8202 * gdb.base/whatis.exp: Ditto.
8203 * gdb.c++/templates.exp: Ditto.
8204 * gdb.c++/virtfunc.exp: Ditto.
8205 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
8206 whether or not to add -lstdc++ to the compile command line args.
8207
8208Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8209
8210 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
8211 it got fixed by the recent lookup_minimal_symbol_by_pc change.
8212 Increase timeout, a lot of single stepping might be needed if the
8213 target has no hardware watchpoints.
8214
8215Wed May 15 08:47:42 1996 Jeffrey A Law (law@cygnus.com)
8216
8217 * gdb.base/break.exp: Ignore compiler warnings when compiling
8218 break.c.
8219 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
8220 * gdb.base/default.exp: Add h8300 xfails. Handle messages
8221 from remote-sim.
8222 * gdb.base/exprs.exp: Add h8300 xfails.
8223 * gdb.base/funcargs.exp: Likewise.
8224 * gdb.base/nodebug.exp: Likewise.
8225 * gdb.base/printcmds.exp: Likewise.
8226 * gdb.base/ptype.exp: Likewise.
8227 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
8228 h8300 xfails.
d63a86f8 8229 * gdb.base/return.exp: Handle float/double precision problems
c906108c
SS
8230 on the h8300.
8231 * gdb.base/funcargs.c: Explicitly make last constant argument to
8232 call_after_alloca_subr an unsigned long type.
8233 * gdb.base/return.c: Include stdio.h.
8234
8235Tue May 7 22:01:12 1996 Rob Savoye <rob@chinadoll.cygnus.com>
8236
8237 * config/abug.exp: New file for the older Motorola Bug monitor
8238 that runs on the mvme13x series VME boards.
8239 * config/monitor.exp: Use the new config array for target settings
8240 if they exist.
8241
8242Fri May 3 16:02:55 1996 Stan Shebs <shebs@andros.cygnus.com>
8243
8244 * sim-gdb.exp: Make the SH simulator allocate less space when
8245 it is targeted.
8246
8247Thu May 2 12:31:56 1996 Jeffrey A Law (law@cygnus.com)
8248
8249 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
8250 test.
8251
8252Wed Mar 20 08:48:03 1996 Fred Fish <fnf@cygnus.com>
8253
8254 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
8255 "rs6000-*-*" for "list function in include file" when gcc compiled.
8256 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
8257 for "p ctable1[120]".
8258 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
8259 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
8260 Remove setup_xfail for "rs6000-*-*" for
8261 "print 'scope0.c'::filelocal before run".
8262 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
8263 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
8264 since some compilers don't allow both options to be given
8265 on the same command line. Create object file and move it.
d63a86f8 8266
c906108c
SS
8267Tue Mar 19 23:49:31 1996 Fred Fish <fnf@cygnus.com>
8268
8269 * gdb.base/corefile.exp: Always regenerate the core file, since
8270 we always regenerate the coremaker program. Detect special case
8271 where registers cannot be read from core file.
d63a86f8 8272
c906108c
SS
8273Tue Mar 19 16:52:49 1996 Fred Fish <fnf@cygnus.com>
8274
8275 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
8276 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
8277 * gdb.c++/templates.exp: Only match on basename of file since
8278 some formats like xcoff don't encode directory information.
8279 * gdb.stabs/weird.exp: Use the right sed script for powerpc
8280 and rs6000 AIX xcoff targets.
8281 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
8282 * configure: Regenerate.
8283 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
8284 here, rather than in distclean.
d63a86f8 8285
c906108c
SS
8286Sun Mar 17 13:35:31 1996 Fred Fish <fnf@cygnus.com>
8287
8288 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
8289 defined, and use it to compile the test case with -O2. The
8290 native compilation still uses no optimization.
8291 * gdb.base/mips_pro.c: Remove inline assembly code since
8292 it is compiled PIC by default, which results in assembler
8293 warnings that make the testsuite think the compilation
8294 was unsuccessful.
8295
8296Sat Mar 16 15:02:24 1996 Fred Fish <fnf@cygnus.com>
8297
8298 * gdb.c++/misc.exp: Add note to message for
8299 "print s.a for foo struct" that this is a known gcc 2.7.2
8300 and earlier bug.
8301
8302Fri Mar 15 17:49:57 1996 Fred Fish (fnf@cygnus.com)
8303
8304 * gdb.base/break.exp: Fix pattern for matching "Delete all
8305 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
8306 setup_xfail for deleting all breakpoints test. Fix various
8307 timeout messages to include "(timeout)".
8308 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
8309 for "p t_float_values2(3.14159,float_val2)".
8310 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
8311 for "continue to call2g" when gcc compiled.
8312 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
8313 "up to foo in langs.exp", "show language at foo in langs.exp",
8314 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
8315 and "show language at fsub in langs.exp".
8316 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
8317 "list line 1 in include file", "list message for lines past EOF",
8318 "list function in include file", "list list0.h:foo", and
8319 "list filename:function; nonexistant function".
8320 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
8321 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
8322 and "ptype t_char_array" to be for native cc only.
d63a86f8 8323
c906108c
SS
8324Fri Mar 15 16:17:22 1996 Fred Fish <fnf@cygnus.com>
8325
d63a86f8 8326 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
c906108c
SS
8327 setup_xfail for "print coremaker_bss", "print coremaker_ro",
8328 "print func2::coremaker_local", and "backtrace in corefile.exp".
8329
8330Wed Mar 13 14:54:11 1996 Fred Fish <fnf@cygnus.com>
8331
8332 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
8333 "bt in signals.exp". This problem only appears when running
8334 the testsuite, and then only intermittently.
8335
8336Tue Mar 12 15:00:16 1996 Stan Shebs <shebs@andros.cygnus.com>
8337
8338 * gdb.base/return.exp (return_tests): Differentiate between
8339 two tests of continuing.
8340
8341Tue Mar 5 14:33:33 1996 Stan Shebs <shebs@andros.cygnus.com>
8342
8343 * */Makefile.in (maintainer-clean): Remove config.log.
8344 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
8345 * gdb.c++/Makefile.in (PROGS): Add inherit.
8346 (clean): Remove *.ci.
8347
8348Tue Feb 20 16:36:10 1996 Fred Fish <fnf@cygnus.com>
8349
8350 * gdb.c++/misc.cc: Add test code from Mike Stump.
8351 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
8352
8353Sun Feb 18 11:39:12 1996 Fred Fish <fnf@cygnus.com>
8354
8355 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
8356 to "alpha-*-osf2*" and add comment.
8357 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
8358 setup_xfail for "step over execarg initialization" and
8359 "step over corearg initialization".
8360 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
8361 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
8362 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
8363 gcc compiled for "print coremaker_bss", "print coremaker_ro",
8364 "print func2::coremaker_local", and "backtrace in corefile.exp".
8365 * gdb.base/signals.exp: Build and source signals.ci.
8366 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
8367 to be for gcc only.
8368 * lib/gdb.exp: Move verbose statements outside conditionals.
d63a86f8 8369
c906108c
SS
8370Sat Feb 17 02:22:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8371
8372 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
8373 Feb 3 procfs.c change.
8374
8375Fri Feb 16 13:25:31 1996 Fred Fish <fnf@cygnus.com>
8376
8377 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
8378
8379Thu Feb 15 08:12:55 1996 Fred Fish <fnf@cygnus.com>
8380
8381 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
8382 from dejagnu's apparent default of 10 seconds, which gives random
8383 results when running the tests over NFS on moderately loaded systems.
8384 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
8385
8386Mon Feb 12 16:50:28 1996 Fred Fish <fnf@cygnus.com>
8387
8388 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
8389 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
8390 result reports.
8391
8392Fri Feb 9 15:56:51 1996 Fred Fish <fnf@cygnus.com>
8393
8394 * configure.in (CY_AC_PATH_TCLH): Remove.
8395 * configure: Regenerate.
8396
8397Fri Feb 9 08:21:31 1996 Fred Fish <fnf@cygnus.com>
8398
8399 * gdb.c++/Makefile.in (clean): Add missing '{'.
8400
8401Fri Feb 2 10:19:40 1996 Jeffrey A Law (law@cygnus.com)
8402
8403 * lib/gdb.exp: Provide a default value for noinferior.
8404
8405 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
8406 Load libgloss.exp.
8407
8408Thu Feb 1 20:20:14 1996 Jeffrey A Law (law@cygnus.com)
8409
8410 * gdb.disasm/hppa.exp: Compile directly into an executable, use
8411 the executable, not the .o to run the tests from.
8412
8413Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com)
8414
8415 * gdb.base/break.exp: Don't test for program exit or exit status
8416 if $noresults if nonzero.
8417 * gdb.base/langs.exp: Likewise.
8418 * gdb.base/watchpoint.exp: Likewise.
8419
8420 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
8421 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
8422 trying to compile the testcase.
8423
8424Wed Jan 24 23:42:39 1996 Doug Evans <dje@charmed.cygnus.com>
8425
8426 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
8427 * gdb.base/signals.exp (continue to handler): Likewise.
8428
8429Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
8430
8431 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
8432
8433 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
8434
8435Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
8436
8437 * gdb.base/corefile.exp: Recognize "not found" as failure
8438 when trying to determine if a core file was generated.
8439 If no core file was generate the first time, try again without
8440 the ulimit -c to work around braindamaged shells.
8441
8442Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
8443
8444 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
8445 [] tests with "test" and enclose string in quotes.
8446 * gdb.stabs/configure: Rebuild
d63a86f8 8447
c906108c
SS
8448Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
8449
8450 Changes in sync with expect:
8451 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
8452 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
8453 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
8454 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
8455 argument to AC_REQUIRE.
8456 * configure: Regenerated.
8457
8458Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
8459
8460 * gdb.base/corefile.exp: When generating a core, discard any
8461 error messages about ulimit not found and the "core dumped"
8462 message from the shell that runs the coredumper.
8463
8464Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
8465
8466 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
8467
8468 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
8469 which sed script to run. Expect failure for v_comb test
8470 on PA targets too.
d63a86f8 8471
c906108c
SS
8472Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
8473
8474 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
8475 "print func2::coremaker_local" and for "backtrace in corefile.exp"
8476
8477Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
8478
8479 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
8480 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
8481 "sparc-sun-solaris*" xfails for "p v_comb".
8482 * lib/gdb.exp (default_gdb_start): Fix typo.
8483 * gdb.base/corefile.exp: Allow "Core was generated by ..."
8484 messages to not include the full program name that caused
8485 the core dump since some systems (such as solaris) apparently
8486 truncate this path to about 80 characters.
8487 When generating a core file first try increasing the core file
8488 size limit to unlimited since some systems may default it to
8489 zero, and it is harmless to try it. Move the test for failing
8490 to generate a core file to where it will actually get executed.
8491 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
8492 new gdb result from g++ debug info improvements and make old
8493 pattern obsolescent. Also account for size_t differences
8494 (may be int or long).
8495 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
8496 initialization before function call is placed in the delay slot
8497 and thus appears to be skipped over by commands such as "next".
8498
8499Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
8500
8501 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
8502
8503Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
8504
8505 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
8506 input source file; fix code to compile test to deal with this
8507 convention.
8508 * gdb.c++/*.exp: Likewise.
8509
8510Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
8511
8512 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
8513 "bt in signals.exp".
8514
8515Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
8516
8517 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
8518 "step over execarg initialization" and
8519 "step over corearg initialization".
8520
8521Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
8522
8523 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
8524 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
8525
8526Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
8527
8528 From Rob Savoye (rob@poseidon.cygnus.com)
8529 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
8530 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
8531 configure.in}, gdb.disasm/{Makefile.in, configure.in},
8532 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
8533 configure.in}: Major reworking for autoconfig.
8534 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
8535 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
8536 New files.
8537 * config/unix-gdb.exp: Make GDB global.
8538 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
8539 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
8540 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
8541 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
8542 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
8543 term.exp, twice.exp, watchpoint.exp, whatis.exp},
8544 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
8545 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
8546 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
8547 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
8548 pr-8136.exp, result.exp, string.exp, tuples.exp},
8549 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
8550 to returns as necessary, arrange for test to compile own testcase
8551 executable.
8552 * lib/gdb.exp: Changes for testsuite to compile own test cases.
d63a86f8 8553
c906108c
SS
8554Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
8555
8556 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
8557 clear_xfail at end of test which might not call either pass or fail.
8558 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
8559 "backtrace through signal handler".
8560
8561Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8562
8563 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
8564 continuing from a job control stop signal.
8565 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
8566
8567Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
8568
8569 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
8570 * gdb.base/corefile.exp: Likewise.
8571 * gdb.base/funcargs.exp: Likewise.
8572
8573Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
8574
8575 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
8576 * config/monitor.exp: Add support for setting baud rate.
8577
8578Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
8579
8580 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
8581 i*86-*-linux* xfails for "backtrace through signal handler".
8582 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
8583 "print func2::coremaker_local".
8584 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
8585 alpha-dec-osf2* xfail for
8586 "delete all breakpoints when none".
8587
8588Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
8589
8590 * gdb.base/break.exp: Change test that deletes all breakpoints
8591 when no user breakpoints are installed. A post 4.15 change
8592 causes gdb to no longer prompt in this case.
8593
8594Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
8595
8596 * gdb.base/return.exp (return_tests): Change xfail for test
8597 "correct value returned double test" to stop xfailing at
8598 Solaris 2.5. Apparently the bug has been fixed.
8599
8600Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
8601
8602 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
8603 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
8604
8605Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
8606
8607 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
8608 * gdb.disasm/hppa.s: Corresponding changes.
8609
8610Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
8611
8612 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
8613 makefile fragment.
8614 * config/mt-hpux: Deleted.
8615
8616Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
8617
d63a86f8 8618 * Many files: When warning about suppressed tests due to a
c906108c
SS
8619 nonexistant test binary, avoid incrementing the warning count.
8620
8621Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
8622
8623 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
d63a86f8 8624
c906108c
SS
8625Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8626
8627 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
8628 "sparc-*-solaris2*".
8629
8630Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8631
8632 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
8633 Add global and local variables and initialize them.
8634 * gdb.base/corefile.exp: Test correct mapping of corefile sections
8635 by printing variables. Remove rs6000 and powerpc xfails, BFD now
8636 extracts the file name and terminating signal from the core file.
8637 * TODO: Remove note about tests for correct mapping of corefile.
8638 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
8639 from optimizing it away.
8640 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
8641 handles common blocks.
8642
8643Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
8644
8645 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
8646 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
8647
8648Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
8649
8650 * Makefile.in (maintainer-clean): New target, synonym for
8651 realclean.
8652 * gdb.base/Makefile.in (maintainer-clean): Likewise.
8653 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
8654 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
8655 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
8656 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
8657 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
8658
8659Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
8660
8661 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
8662 xfails when not gcc compiled for "print foo::funclocal".
8663 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
8664 "print foo::funclocal at foo",
8665 "print 'scope1.c'::foo::funclocal at foo",
8666 "print foo::funclocal_bss at foo",
8667 "print 'scope1.c'::foo::funclocal_bss at foo",
8668 "print foo::funclocal_ro at foo",
8669 "print 'scope1.c'::foo::funclocal_ro at foo",
8670 "print bar::funclocal at foo" and
8671 "print 'scope1.c'::bar::funclocal at foo".
8672 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
8673 gcc compiled for "print foo::funclocal at bar".
8674 Expand all messages to ensure that they identify that
8675 the test is at bar().
8676 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
8677 gcc compiled for:
8678 "ptype on opaque struct pointer (statically)",
8679 "ptype on opaque struct tagname (statically)",
8680 "ptype on opaque struct pointer (dynamically) 1",
8681 "ptype on opaque struct tagname (dynamically) 1",
8682 "ptype on opaque struct pointer (dynamically) 2" and
8683 "ptype on opaque struct tagname (dynamically) 2
8684 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
8685 gcc compiled for:
8686 "p datalocal"
8687 "whatis datalocal",
8688 "ptype datalocal",
8689 "p bsslocal",
8690 "whatis bsslocal", and
8691 "ptype bsslocal".
8692 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
8693 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
8694 when not gcc compiled.
8695 * gdb.base/funcargs.exp (float_and_integral_args): Add
8696 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
8697 compiled.
8698 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
8699 "backtrace from call6a" when not gcc compiled.
8700 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
8701 "backtrace from call7a" when not gcc compiled.
8702 * gdb.base/callfuncs.exp (do_function_calls):
8703 Add "hppa*-*-hpux*" xfail when not gcc compiled for
8704 "p t_char_array_values(char_array_val2,char_array_val1)",
8705 "p t_char_array_values(char_array_val1,char_array_val2)",
8706 "p t_char_array_values("carray 1","carray 2")",
8707 "p t_char_array_values("carray 1",char_array_val2)",
8708 "p t_char_array_values(char_array_val1,"carray 2")",
8709 "p sum_args(1,{2})",
8710 "p sum_args(2,{2,3})",
8711 "p sum_args(3,{2,3,4})",
8712 "p sum_args(4,{2,3,4,5})"
8713 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
8714 "backtrace in corefile.exp" when not gcc compiled.
8715
8716Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8717
8718 * gdb.base/signals.exp: Rewrite `handle all print' test as
8719 a procedure. Accept blanks or TABs as whitespace, increase
8720 timeout and expect input buffer size for the large output
8721 from the command. Remove "i*86-*-bsdi2.0" xfail.
8722
8723Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8724
8725 * gdb.base/setvar.exp: Add new testcases for truncation when
8726 assigning invalid values to bitfields.
8727
8728Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
8729
d63a86f8 8730 * gdb.base/callfuncs.exp (do_function_calls): Remove
c906108c
SS
8731 mips-sgi-irix* xfail for
8732 "call inferior func with struct - returns char *"
8733 and fix test so that an optional (unsigned char *) cast is
8734 accepted in the result.
8735
8736Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
8737
8738 * gdb.base/funcargs.exp (float_and_integral_args): Remove
8739 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
8740 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
8741 * gdb.base/signals.exp: Remove duplicate "handle all print" test
8742 that accidentally got checked in.
8743
8744Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
8745
d63a86f8 8746 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
c906108c
SS
8747 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
8748 compiled test.
8749 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
8750 Add mips-sgi-irix5* xfail for not gcc compiled.
8751 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
8752 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc compiled for
8753 "p top", "whatis top", "p middle", and "whatis middle".
8754 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
8755 "whatis signed char" for not gcc compiled.
8756 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
8757 "set variable signed char=-1 (-1)" and
8758 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
8759 * gdb.base/funcargs.exp (float_and_integral_args):
8760 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
8761 Add mips-sgi-irix* xfail when not gcc compiled for
8762 "continue to call2b".
8763 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
8764 "continue to call2g".
8765 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc compiled for
8766 "backtrace from call6a"
8767 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc compiled for
8768 "backtrace from call7k".
8769 Add mips-sgi-irix5* xfail when not gcc compiled for
8770 "backtrace from call7a".
8771 (localvars_after_alloca): Fix gdb_test cmds for
8772 "print * after runto ...".
8773 Remove rs6000-*-* xfails for
8774 "print i after runto localvars_after_alloca" and
8775 "print l after runto localvars_after_alloca"
8776 for all compilers.
8777 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
8778 when not compiled with gcc, for:
8779 "print signed char == (minus)",
8780 "print signed char != (minus)",
8781 "print signed char < (minus)",
8782 "print signed char > (minus)".
8783 * gdb.base/callfuncs.exp (do_function_calls):
8784 Add mips-sgi-irix* xfail, when compiled with native compiler, for
8785 "call inferior func with struct - returns char *".
d63a86f8 8786 * gdb.base/return.exp (return_tests): Change xfail for
c906108c
SS
8787 "correct value returned double test" to include Solaris 2.4.
8788 * gdb.base/funcargs.exp (float_and_integral_args):
8789 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
d63a86f8 8790
c906108c
SS
8791Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8792
8793 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
8794 enumeration bitfields if compiling with GNU C.
8795 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
8796 to empty' prompt.
8797
8798Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
8799
8800 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
8801 test for PRO targets.
8802
8803 * gdb.base/funcargs.exp: Avoid ever setting more than 8
8804 breakpoints in the inferior at any given time by making
8805 two groups of breakpoints for call2*, call6* and call7*
8806 tests.
8807
8808Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8809
8810 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
8811 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
8812 from optimizing it away.
8813 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
8814 "call inferior func with struct".
8815
8816Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
8817
8818 * configure.in: Only configure gdb.chill for particular targets.
8819
8820Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
8821
8822 * gdb.base/Makefile.in: Add action to .c.o transformation
8823 rule that generates a .ci file for each .o file and remove
8824 explicit .c.o rules except for callfuncs.o.
8825 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
8826 generates a .ci file for each .o file and remove explicit
8827 .cc.o rules.
8828 (clean): Remove *.tmp *.ci files.
8829 (EXECUTABLES): Remove templ-info.exp.
8830 * gdb.base/compiler.c: New file.
8831 * gdb.c++/compiler.cc: New file
8832 * gdb.base/scope.exp: Source gdb.base/scope.ci.
8833 Change rs6000-*-* xfail for
8834 "print 'scope0.c'::filelocal_ro" and
8835 "print 'scope1.c'::filelocal" and
8836 "print 'scope1.c'::filelocal_bss" and
8837 "print 'scope1.c'::filelocal_ro" and
8838 "print 'scope1.c'::foo::funclocal" and
8839 "print 'scope1.c'::foo::funclocal_ro" and
8840 "print 'scope1.c'::bar::funclocal" and
8841 "print 'scope0.c'::filelocal_ro" and
8842 "print 'scope1.c'::filelocal at foo" and
8843 "print 'scope1.c'::filelocal_bss at foo" and
8844 "print 'scope1.c'::filelocal_ro at foo" and
8845 "print 'scope1.c'::foo::funclocal at foo" and
8846 "print 'scope1.c'::foo::funclocal_bss at foo" and
8847 "print 'scope1.c'::foo::funclocal_ro at foo" and
8848 "print 'scope1.c'::bar::funclocal at foo" and
8849 "print 'scope0.c'::filelocal_ro" and
8850 "print 'scope1.c'::filelocal" and
8851 "print 'scope1.c'::filelocal_bss" and
8852 "print 'scope1.c'::filelocal_ro" and
8853 "print 'scope1.c'::foo::funclocal" and
8854 "print 'scope1.c'::foo::funclocal_bss" and
8855 "print 'scope1.c'::foo::funclocal_ro" and
8856 "print 'scope1.c'::bar::funclocal" and
8857 "print 'scope1.c'::bar::funclocal_bss"
8858 to only be xfail'd when not compiled with gcc.
d63a86f8 8859 Add rs6000-*-* xfail for
c906108c
SS
8860 "print 'scope0.c'::filelocal_bss before run"
8861 when compiled with gcc.
8862 (test_at_main): Add rs6000-*-* xfail for
8863 "print filelocal_ro in test_at_main"
8864 when compiled with gcc.
8865 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
d63a86f8 8866 Add rs6000-*-aix* xfail for
c906108c
SS
8867 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
8868 "ptype t_char_array", not compiled with gcc.
8869 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
8870 xfail for "list foo (in include file)" when gcc compiled.
8871 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
8872 (integral_args): Add rs6000-*-* xfail for
8873 "run to call0a" if not compiled with gcc.
8874 (unsigned_integral_args): Add rs6000-*-* xfail for
8875 "run to call1a" if not compiled with gcc.
8876 (float_and_integral_args): Add rs6000-*-* xfail for
8877 "run to call2a" if not compiled with gcc and for
8878 "continue to call2b" for any compiler.
8879 Add rs6000-*-* xfail to
8880 "print f1 after run to call2a" for gcc compiled.
8881 (discard_and_shuffle): Add rs6000-*-* xfail for
8882 "run to call6a".
8883 (shuffle_round_robin): Add rs6000-*-* xfail for
8884 "backtrace from call7a" if not compiled with gcc.
8885 Add rs6000-*-* xfail for
8886 "backtrace from call7b" if compiled with gcc.
8887 (call_after_alloca): Add rs6000-*-* xfail for
8888 "print c in call_after_alloca" and
8889 "print s in call_after_alloca" and
8890 "backtrace from call_after_alloca_subr"
8891 if not compiled with gcc.
8892 (localvars_in_indirect_call): Add rs6000-*-* xfail for
8893 "print c in localvars_in_indirect_call" and
8894 "print c in localvars_in_indirect_call" and
8895 "backtrace in indirectly called function" and
8896 "stepping into indirectly called function"
8897 if not compiled with gcc.
8898 (localvars_after_alloca): Add rs6000-*-* xfail for
8899 "print c after runto localvars_after_alloca" and
8900 "print s after runto localvars_after_alloca" and
8901 "print i after runto localvars_after_alloca" and
8902 "print l after runto localvars_after_alloca"
8903 for all compilers.
8904 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
8905 than whatis-info.exp.
8906 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
8907 than opaque-info.exp.
8908 Setup rs6000-*-* xfail for
d63a86f8 8909 "ptype on opaque struct pointer (statically)" and
c906108c
SS
8910 "ptype on opaque struct pointer (dynamically)" when
8911 not compiled with gcc.
8912 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
8913 rather than callf-info.exp.
8914 (do_function_calls): Add clear_xfail for rs6000-*-* for
8915 "p t_float_values2(3.14159,float_val2)". Seems to work
8916 fine there, both with xlc and gcc. Need to find out what
8917 it is doing right and fix other platforms.
8918 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
8919 "call inferior func with struct - returns int",
8920 "call inferior func with struct - returns long",
8921 "call inferior func with struct - returns float",
8922 "call inferior func with struct - returns double",
8923 "call inferior func with struct - returns char *",
8924 but only if not gcc compiled (presumes xlc compiled).
8925 Change rs6000-*-* xfails for
8926 "call inferior func with struct - returns char" and
8927 " call inferior func with struct - returns short" to only
8928 xfail if not using gcc.
8929 (clean mostlyclean): Remove *.ci and *.tmp files.
8930 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
8931 than templ-info.exp.
8932 * gdb.base/langs.exp: Source gdb.base/langs.ci.
8933 Add rs6000-*-* xfail for "up to foo in langs.exp"
8934 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
8935 when not gcc compiled.
d63a86f8 8936
c906108c
SS
8937Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
8938
8939 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
8940 * gdb.base/corefile.exp: Likewise.
8941 * gdb.base/list.exp: Likewise.
8942 * gdb.base/scope.exp: Likewise.
8943 * gdb.base/siganls.exp: Likewise.
8944
8945 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
8946 compiler output.
8947 * gdb.base/whatis.exp: Likewise.
8948
8949Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
8950
8951 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
8952 failure (opcode table has been fixed to match reality).
8953
8954Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
8955
8956 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
8957 "call inferior func with struct - returns char",
8958 "call inferior func with struct - returns short"
8959
8960 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
8961 "print 'scope0.c'::filelocal at main",
8962 "print 'scope0.c'::filelocal_bss in test_at_main",
8963 "print 'scope0.c'::filelocal at foo",
8964 "print 'scope0.c'::filelocal_bss in test_at_foo",
8965 "print 'scope0.c'::filelocal at bar",
8966 "print 'scope0.c'::filelocal_bss in test_at_bar"
d63a86f8 8967
c906108c
SS
8968 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
8969 in source file 1". This bug seems to have been fixed with both
8970 gcc and native cc (was native assembler bug?).
8971
8972Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
8973
8974 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
8975 "backtrace through signal handler" to "i*86-*-sysv4*".
8976 * gdb.base/signals.exp: Add xfail for "'next' behaved as
8977 continue" case. Add "known SVR4 bug" to fail message.
8978 Add "i*86-*-bsdi2.0" xfail for "handle all print".
8979 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
8980 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
8981 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
8982 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
8983 "up to foo in langs.exp", "show language at foo in
8984 langs.exp", "up to cppsub_ in langs.exp", "show
8985 language at cppsub_ in langs.exp", "up to fsub in
8986 langs.exp", and "show language at fsub in langs.exp".
8987 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
8988 "bactrace in corefile.exp".
8989 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
8990 "call inferior function with struct - returns float" and
8991 "call inferior function with struct - returns double".
d63a86f8 8992
c906108c
SS
8993Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
8994
8995 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
8996 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
8997 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
8998 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
8999
9000Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
9001
9002 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
9003 (or overriden) "CHILL" macro rather then bare "gcc".
9004 Also look for ../../gcc/xgcc since that is what we will
9005 actually need, not "Makefile". Remove following assignment
9006 of CHILL to CHILL_FOR_TARGET because that results in
9007 recursive definition.
9008
9009Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
9010
9011 * gdb.base/corefile.exp: Change xfail for backtrace in
9012 corefile.exp from linuxaout to all linux.
9013 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
9014 cases where we miss the breakpoint at the signal handler
9015 for some reason. Setup xfail for linuxoldld/linuxaout and
9016 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
9017 hitting SIGURG breakpoint.
9018 * gdb.base/signals.exp: Setup xfail for "next" acting like
9019 continue to add linuxoldld. Setup xfail for all linux for
9020 "next to handler in signals_tests_1", "backtrace in
9021 signals_tests_1", "continue to func1", "pass SIGUSR1",
9022 and continue to handler".
9023
9024Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
9025
9026 * Update all FSF addresses except those in COPYING* files.
9027
9028Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
9029
9030 * gdb.base/a2-run.exp: Change messages to be more explicit about
9031 the status of args, and quote binfile in results.
9032
9033Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
9034
9035 * gdb.base/callfuncs.exp: Add tests for passing structs to
9036 inferior functions and return various types.
9037 * gdb.base/callfuncs.c: Add functions to receive a struct
9038 and return a member of the struct, in various types.
9039
9040Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9041
9042 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
9043
9044Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
9045
9046 * config/vxworks29k.exp: New file, sources vxworks.exp.
9047
9048Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
9049
9050 * config/gdbremote.exp: New file. Testing framework using
9051 gdbserver.
9052
9053Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
9054
9055 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
9056 "call function when asleep" and "send end of file".
9057 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
9058 for "backtrace in corefile.exp".
9059 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
9060 for "backtrace through signal handler".
9061 * gdb.base/corefile.exp: Make sure we actually generate a core file
9062 before trying the core tests. Some systems allow the user to suppress
9063 generation of core files and default to that (linux for example).
9064 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
9065 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
9066
9067Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
9068
9069 * gdb.threads: New directory with some crude multi-threaded
9070 gdb tests (step.exp and step2.exp).
9071 * config/mt-lynx (STEP_EXECUTABLE): Define.
9072 (THREADFLAGS): Define.
9073
9074Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
9075
9076 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
9077
9078 * gdb.base/signals.exp: Disable whole file for lynx until
9079 further notice.
9080
9081 * gdb.base/signals.exp: xfail test where "next" acts like
9082 "continue" for lynx.
9083
9084 * gdb.base/interrupt.exp: xfail test for calling function while
9085 inferior is asleep for lynx.
9086
9087 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
9088 than one cr-lf after each command.
9089
9090Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9091
9092 * configure.in: Reinstate setting of stabsdirs variable, fix
9093 typo in setting up configdirs for native builds.
9094
9095 * gdb.base/return.exp: Fix typo in return double test.
9096 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
9097 compiler from optimizing them away.
9098
9099Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
9100
9101 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
9102 sequences to be echo'd by gdb when using gdb_test.
9103 * gdb.chill/chexp.exp: Likewise.
9104 * gdb.fortran/exprs.exp: Likewise
9105
9106Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
9107
9108 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
9109 after the inferior gdb has started.
9110
9111 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
9112 after each command.
9113 * gdb.base/funcargs.exp: Likewise.
9114 * gdb.base/gdbvars.exp: Likewise.
9115 * gdb.base/interrupt.exp: Likewise.
9116 * gdb.base/list.exp: Likewise.
9117 * gdb.base/watchpoint.exp: Likewise.
9118 * gdb.c++/demangle.exp: Likewise.
9119 * gdb.c++/inherit.exp: Likewise.
9120 * gdb.chill/chexp.exp: Likewise.
9121 * gdb.fortran/exprs.exp: Likewise.
9122
9123 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
9124 test if we can't handle IO to/from the inferior.
9125
9126 * gdb.c++/misc.exp: Always check for a program already being
9127 started after sending a "run" command to gdb.
9128
9129 * gdb.base/twice.exp: Start with a fresh gdb.
9130
9131 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
9132 only depend on gdb's expression code, not the chill runtime.
9133
9134 * gdb.base/return.c: Put return values into variables so we
9135 can have gdb print them rather than depending on the program
9136 to print them.
9137 * gdb.base/return.exp: Corresponding changes.
9138
9139 * lib/gdb.exp: Provide default value for noinferiorio.
9140 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
9141 the inferior.
9142
9143 * gdb.base/break.exp: Always check for a program already being
9144 started after sending a "run" command to gdb.
9145 (text_next_with_recursion): Don't check the output from the
9146 program's printf statement. Instead just make sure the program
9147 exited.
9148
9149 * gdb.base/commands.exp: Protect tests which need arguments with
9150 $noargs conditionals.
9151
9152Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9153
9154 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
9155 of structure member arrays to match gdb/valops.c:value_addr change.
9156
9157Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
9158
9159 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
9160 cases.
9161
9162Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
9163
9164 * configure.in (configdirs): Remove gdb.chill from default list
9165 of subdirs and then add it back in only if doing a native build.
9166 The current chill compiler does not yet work in any cross build.
9167 * Revert all signal changes from Jul 6.
9168 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
9169 for sh-hms targets, allowing these tests to link, with no other
9170 changes. Testing is suppressed by setting "nosignals" in site.exp.
9171
9172Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
9173
9174 * configure.in (signaldirs): Define and add to configdirs for all
9175 targets except some specific ones that are known to not support signals.
9176 Also clean up formatting.
9177 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
9178 (signals, sigall): Remove rules to build.
9179 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
9180 Moved to new gdb.signals directory.
9181 * gdb.signals: New test directory.
9182 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
9183 signals.c signals.exp}: New or moved files.
9184
9185Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
9186
9187 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
9188
9189Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
9190
9191 * gdb.base/return.exp: Xfail `return double' test failure
9192 on at least Solaris 2.3 and handle future/past versions on
9193 a case by case basis as appropriate. Also update message
9194 to include i*86 failures.
9195
9196Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9197
9198 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
9199
9200 * lib/gdb.exp: Fix comment which erroneously identified
9201 gdb_file_cmd as gdb_load (the 19 May change was in fact to
9202 gdb_file_cmd not gdb_load).
9203 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
9204
9205 * gdb.base/setvar.exp: Make test names consistent between pass and
9206 fail cases. Use gdb_test more.
9207
9208Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9209
9210 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
9211
9212Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9213
9214 * gdb.base/help.exp: Fix expected help string for `show commands'.
9215
9216Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
9217
9218 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
9219
9220 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
9221 of a text section.
9222
9223Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
9224
9225 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
9226 that loop eventually terminates. Fix Connection refused logic so
9227 that testsuite will expire nicely.
9228
9229Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
9230
9231 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
9232 config/rom68k.exp: New tcl glue for the appropriate monitors.
9233 These all just end up calling monitor.exp.
9234 * config/monitor.exp (gdb_target_monitor): Handle `Connection
9235 refused' by retrying. Cleanup some timeout issues.
9236 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
9237 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
9238 callers don't have to set/restore global timeout variable.
9239
9240 * The following set of changes centralizes management of the global
9241 timeout variable. This way, it can be set in one target dependent
9242 place instead of dozens of places scattered throughout the test suite.
9243 If you need to lengthen a timeout, then you should either set timeout
9244 in one of the config/{target}.exp files, or multiply it by a factor.
9245 Setting it to an absolute value is always going to lose for some
9246 targets.
9247 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
9248 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
9249 * gdb.base/funcargs.exp: Don't set timeout.
9250 * gdb.base/list.exp (test_forward_search): Only use local timeout.
9251 * gdb.base/printcmds.exp (test_print_string_constants
9252 test_print_array_constants): Don't set timeout.
9253 * gdb.base/ptype.exp: Don't set timeout.
9254 * gdb.base/recurse.exp: Don't set timeout.
9255 * gdb.base/return.exp: Don't set timeout.
9256 * gdb.base/watchpoint.exp: Don't set timeout.
9257 * gdb.c++/classes.exp (do_tests): Don't set timeout.
9258 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
9259
9260Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
9261
9262 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
9263
9264Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9265
9266 * lib/gdb.exp: Disable chill tests for irix5.
9267
9268Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9269
9270 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
9271 each test pass or fail.
9272
9273Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9274
9275 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
9276 xlc not gcc.
9277
9278Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
9279
9280 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
9281
9282Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
9283
9284 * config/est.exp: Fix copyright and comments. Remove dead code.
9285 Use targetname, serialport and baud variables instead of fixed
9286 constants.
9287 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
9288 * config/cpu32bug.exp: New file to support cpu32bug monitors.
9289
9290Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9291
9292 * gdb.base/watchpoint.exp: Don't run
9293 test_watchpoint_triggered_in_syscall for sunos.
9294
9295Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9296
9297 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
9298 they don't seem to exist. Do include stdio.h.
9299
9300Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9301
9302 * gdb.base/a1-selftest.exp: Add alpha xfail.
9303
9304Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9305
9306 * gdb.base/watchpoint.c (main): Prompt before calling read().
9307 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
9308 Revise accordingly. Remove cruft about sending "123" several
9309 times, until it gets noticed. Clean up the "print buf[0]" stuff
9310 so that it passes or fails, and waits for prompts in the usual way.
9311
9312Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9313
9314 * gdb.base/recurse.exp: Fix comment.
9315
9316 * TODO: Remove item about printing variables in nodebug.exp. Add
9317 item about enabling tests which are only run on some targets.
9318
9319 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
9320 fail, make test names unique, use new gdb_test convention
9321 regarding pattern, use gdb_test more, etc.).
9322
9323 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
9324 fail, make test names unique, etc.).
9325
9326Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9327
9328 * gdb.base/nodebug.c: Change return type of top and middle to
9329 short.
9330 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
9331 are fixed by the recent mdebugread.c changes. Allow `short ()'
9332 as type for top and middle.
9333
9334Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9335
9336 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
9337 nearly as I can tell, the whole thing was an accident in Stu's
9338 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
9339 to replace a send/expect pair with gdb_test, but ended up only
9340 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
9341 of 30 Mar 1995 took care of it, but left this vestigial comment
9342 which I am now nuking.
9343
9344Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9345
9346 * gdb.base/break.exp: Look for different line number for
9347 breakpoint at main depending on usestubs.
9348
9349Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9350
9351 * gdb.base/list.exp: Adjust some alternate expect patterns to
9352 match recent list0.c change. Add alternate expect pattern for
9353 output from `list default lines around main' for optimizing
9354 compilers.
9355
9356Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9357
9358 * lib/gdb.exp: If nosignals is not set, set it to 0.
9359
9360Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
9361
9362 * config/slite-gdb.exp: Responds to load symbol table prompt.
9363 * gdb.base/break.exp: Adjust line number, fix rerun.
9364 * gdb.base/langs0.c: Add #ifdef usestubs.
9365
9366Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
9367
9368 * gdb.base/list.exp: Adjust line contents after adding new lines in
9369 list0.c. Also fix a syntax error.
9370
9371 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
9372 * gdb.base/break.exp: ditto.
9373 * gdb.base/list.exp: ditto.
9374 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
9375 * gdb.base/run.c: ditto.
9376 * gdb.base/list0.c: ditto.
9377 * gdb.base/funcargs.c: ditto.
9378
9379Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
9380
9381 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
9382 $targetname, $serialport and $baud instead of hardwired variables.
9383 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
9384 target doesn't support signals.
9385
9386Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
9387
9388 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
9389
9390Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9391
9392 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
9393 Don't rely on the value of an auto variable before it has been
9394 initialized. Use gdb_test more.
9395
9396Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9397
9398 * lib/gdb.exp (default_gdb_version): A version number must start
9399 with a digit, but other than that contains all characters up to
9400 the first whitespace character.
9401
9402Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9403
9404 * gdb.base/commands.exp (breakpoint_command_test): New tests.
9405
9406Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9407
9408 * gdb.c++/*.exp: Warn if executable does not exist. The original
9409 reason for skipping the warning was that configure.in sometimes
9410 intentionally skipped building the executables but the tcl code
9411 had no way of knowing. That (a) was always bogus with respect to
9412 error handling, (b) is no longer true (right now there is no way
9413 to skip C++ tests).
9414
9415 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
9416
9417Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9418
9419 * gdb.base/list.exp: Add expect patterns for output from
9420 SunPRO compiled executables.
9421 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
9422 types.
9423
9424Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9425
9426 * gdb.base/break.exp (test_next_with_recursion): Accept any line
9427 number (we are already testing that the correct source line text
9428 gets printed).
9429
9430 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
9431 that is what is intended, but something needed to be done to get
9432 sunos4 native working again.
9433
9434 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
9435
9436 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
9437 apparently went with a (very) old xfail.
9438
9439Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
9440
9441 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
9442 runto_main is a proc in gdb.exp that will do 'step' for target use
9443 stubs.
9444 * gdb.base/exprs.exp: ditto.
9445 * gdb.base/interrupt.exp: ditto.
9446 * gdb.base/opaque.exp: ditto.
9447 * gdb.base/printcmds.exp: ditto.
9448 * gdb.base/ptype.exp: ditto.
9449 * gdb.base/scope.exp: ditto.
9450 * gdb.base/setvar.exp: ditto.
9451 * gdb.base/signals.exp: ditto.
9452 * gdb.base/twice.exp: ditto.
9453 * gdb.c++/classes.exp: ditto.
9454 * gdb.c++/inherit.exp: ditto.
9455 * gdb.c++/templates.exp: ditto.
9456 * gdb.base/break.exp: no run and hit main for stubs. Change line
9457 numbers for breakpoints and info breakpoint.
9458 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
9459 breakpoint().
9460 * gdb.base/callfuncs.c: ditto.
9461 * gdb.base/exprs: ditto.
9462 * gdb.base/interrupt.c: ditto.
9463 * gdb.base/opaque0.c: ditto.
9464 * gdb.base/printcmds.c: ditto.
9465 * gdb.base/ptype.c: ditto.
9466 * gdb.base/scope0.c: ditto.
9467 * gdb.base/setvar.c: ditto.
9468 * gdb.base/signals.c: ditto.
9469 * gdb.base/twice.c: ditto.
9470 * gdb.c++/misc.cc: ditto.
9471 * gdb.c++/templates.cc: ditto.
9472
9473Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9474
9475 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
9476
9477 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
9478 somewhere between `read' and `main.c'. I'm pretty sure the
9479 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
9480 and it isn't particularly useful.
9481
9482 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
9483
9484Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9485
9486 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
9487
9488Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
9489
9490 * config/mt-slite: add LIBS and -nostdlib.
9491 * config/slite-gdb.exp: add this new file to support sparclite target.
9492
9493Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
9494
9495 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
9496
9497 * gdb.base/a2-run.exp: Change argument to istarget from
9498 "*-*-vxworks" to "*-*-vxworks*".
9499 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
9500
9501Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
9502
9503 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
9504 will not runto main but do a 'step' to step out of breakpoint().
9505 * config/mt-slite: add -Dusestubs.
9506
9507Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9508
9509 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
9510 instead of just @.
9511
9512 * gdb.base/signals.exp: Add test for "handle all print".
9513 * TODO: Remove "handle all print". Also remove item about
9514 checking copyright date (I don't like the idea of a spurious FAIL
9515 based on when we run the tests).
9516
9517 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
9518 for SunOS4 (reason for failure not investigated). Remove
9519 redundant test for $binfile.
9520
9521 * gdb.base/nodebug.c (array_index): Call malloc.
9522
9523 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
9524
9525Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
9526
9527 * gdb.base/recurse.exp: Update gdb_test invocation to use new
9528 conventions and slightly simplify the matching regexp.
9529
9530Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9531
9532 * gdb.base/break.exp: Update gdb_test invocation to use new
9533 convention.
9534
9535 * lib/gdb.exp: If noargs is not set, set it to 0.
9536
9537 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
9538 tests unique.
9539
9540 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
9541
9542Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9543
9544 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
9545 one argument of type "<non-float parameter>".
9546
9547Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
9548
9549 * config/rom68k.exp: New file to support Motorola IDP board.
9550 * gdb.base/a2-run.exp: Skip this file if noargs is set.
9551 * gdb.base/break.c: Change things around so that this program
9552 doesn't depend upon args. This is necessary to make remote
9553 targets work (in general, they can't take args).
9554 * gdb.base/break.exp: Don't try to send args to program. Don't
9555 expect output. Also, replace lots of code with gdb_test.
9556
9557Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9558
9559 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
9560 printing of '\'' (which is what the comment says we are testing,
9561 even though we were not), not '''.
9562 (test_integer_literals_rejected): Test that printing ''' is an error.
9563
9564 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
9565 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
9566 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
9567 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
9568 Use gdb_test not test_print_accept.
9569 * lib/gdb.exp: Remove test_print_accept.
9570
9571 * gdb.base/signals.exp (signal_tests_1): Make pass message
9572 consistent with fail message.
9573
9574 * gdb.base/whatis.exp: Remove xfails for printing char vs.
9575 unsigned char; the bug (PR 1821) is fixed.
9576
9577 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
9578
9579 * gdb.base/scope.exp (test_at_localscopes): Call pass for
9580 successful tests--makes xfailing them work right.
9581
9582Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9583
9584 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
9585 only \r\n, not .*. The test can pass .* as the last thing in
9586 $pattern if that is what it wants. In addition to providing this
9587 flexibility, this change should speed up pattern matching in cases
9588 where the pattern already ended with .* (there were a number of
9589 them). This change also helps catch bad patterns--in the old
9590 scheme the typo "char \*" instead of "char \\*" would pass. Now
9591 it is caught.
9592 * Many .exp files: Update callers.
9593
9594 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
9595 clearer and does not spuriously match multiple ('s. Likewise for
9596 ) and *.
9597
9598 * gdb.base/nodebug.exp: Test ability to call a function and pass
9599 it a string (even with no debugging info).
9600
9601 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
9602 "p '\'", which is the same as "p ''" once tcl gets done with
9603 quoting, to "p '\\'", which I suspect is what is intended (one
9604 backslash gets sent to GDB).
9605
9606 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
9607
9608Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9609
9610 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
9611 1817) was fixed literally years ago.
9612
9613Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9614
9615 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
9616 test, it causes stepping out of call_after_alloca_subr with
9617 optimizing compilers.
9618 (localvars_in_indirect_call): Consume GDB prompt if `finish'
9619 fails.
9620
9621 * gdb.c++/templates.exp: Source templ-info.exp only if
9622 the templates executable exists.
9623
9624 * gdb.c++/misc.cc (class Contains_static_instance,
9625 class Contains_nested_static_instance),
9626 gdb.c++/classes.exp (test_static_members): Test printing of
9627 a class that contains a static instance of the class.
9628
9629Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9630
9631 * gdb.base/langs2.c (cppsub_): Don't prototype.
9632 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
9633 only, I believe).
9634
9635Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9636
9637 * lib/gdb.exp (skip_chill_tests): New procedure.
9638
9639 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
9640
9641Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
9642
9643 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
9644 each expect pattern. Cuts runtime from 12 to about 4 seconds.
9645
9646Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9647
9648 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
9649
9650 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
9651 disassemble 8, not 16, instructions for part 4.
9652
9653 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
9654 support the latter anymore.
9655
9656 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
9657 -DNO_PROTOTYPES.
9658 * gdb.base/callfuncs.c: Control use of prototypes based on
9659 NO_PROTOTYPES, not __STDC__.
9660 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
9661 t_float_values2 tests if prototypes in use.
9662
9663 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
9664 t_double_values): When checking differences against DELTA, check
9665 that difference is within the range (-DELTA,DELTA), not just
9666 (-infinity,DELTA).
9667
9668Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
9669
9670 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
9671 'file' command firts, then 'target', then 'load', this is due to gdb
9672 target set up.
9673 * config/mips-gdb.exp: Fix a couple regular exp bugs.
9674
9675Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
9676
9677 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
9678 FP load/store variants.
9679 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
9680
9681Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
9682
9683 * gdb.base/term.exp: Do not give a warning if not native, it is
9684 not an abnormal condition.
9685
9686Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
9687
9688 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
9689 t_char_array".
9690
9691Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
9692
9693 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
9694 are getting the version number.
9695
9696 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
9697 if not native, it is not an abnormal condition.
9698
9699Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9700
9701 * lib/gdb.exp: Just use "file exists", rather than undocumented
9702 dejagnu procedure "findfile".
9703
9704Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
9705
9706 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
9707 (LDFLAGS): Set to -Xlinker -Ur.
9708
9709 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
9710 Removed, these values are set by lib/gdb.exp.
9711
9712 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
9713
9714Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
9715
9716 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
9717 of replicating gdb startup code.
9718
9719 * config/mt-vxworks (LDFLAGS): Set to -r.
9720 (CFLAGS_FOR_TARGET): Removed.
9721
9722 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
9723 (gdb) and gdb for vxworks uses (vxgdb).
9724
9725 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
9726 executable is not in the tree and host != target, use sed and
9727 program_transform_name to determine the gdb name used by the
9728 target.
9729
9730 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
9731 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
9732
9733Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9734
9735 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
9736 floats, chars, and shorts where there are ANSI-style function
9737 definitions.
9738
9739 * gdb.base/langs.exp, gdb.base/langs*: New test.
9740 * gdb.base/Makefile.in: Build it.
9741 * TODO: Remove item about checking that C names don't get C++
9742 demangling applied; this test tests it.
9743
9744Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9745
9746 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
9747 went with the const70 xfail. The xfail went away a year ago.
9748
9749 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
9750
9751 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
9752 for hp300.
9753
9754 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
9755
9756 * gdb.base/a1-selftest.exp: Don't run on hp300.
9757
9758Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9759
9760 * Makefile.in (site.exp): Set host_alias and target_alias as well
9761 as host_triplet and target_triplet.
9762
9763Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9764
9765 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
9766
9767 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
9768 places as other ecoff systems).
9769
9770 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
9771 ultrix.
9772
9773Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9774
9775 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
9776 remove them.
9777 * gdb.base/nodebug.exp: Accept "function" in addition to "text
9778 variable and "variable" in addition to "data variable".
9779 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
9780
9781 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
9782 2.
9783 * gdb.base/list1.c (long_line): Add additional statement at start
9784 of function.
9785 * gdb.base/list.exp (test_forward_search): Update line number to
9786 reflect new statement.
9787
9788Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9789
9790 * gdb.base/signals.exp: Reinitialize searched source directories
9791 after gdb_start call.
9792
9793Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
9794
9795 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
9796 * gdb.stabs/Makefile.in: Likewise.
9797
9798 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
9799 change. Instead split the tests into smaller pieces.
9800 * gdb.disasm/hppa.s: Corresponding changes.
9801
9802Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9803
9804 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
9805 Quote ^C when passing it to stty. For some shells ^ is a pipe.
9806
9807 * gdb.base/funcargs.exp: Modify many tests so that every test
9808 either passes or fails. Make some test names unique.
9809
9810Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9811
9812 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
9813 Call stty to set interrupt character.
9814
9815 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
9816 for HP assembler versus GNU assembler based on actual behavior of
9817 $(CC), rather than assuming that $(AS) is always the GNU assembler.
9818
9819 * TODO: Suggest a few more stepping tests.
9820
9821Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
9822
9823 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
9824 restart GDB for h8300 after a continue.
9825 (return): Add pattern to match a29k-udi behavior.
9826 * gdb.base/nodebug.exp: Remove obsolete comment.
9827 * gdb.base/regs.exp: New file, testing of register displays.
9828 * gdb.base/return.exp: Fix typo in reference to $objdir.
9829 * gdb.base/whatis.exp: Always start with a fresh GDB.
9830
9831Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9832
9833 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
9834 higher, these tests generate a lot of output.
9835
9836Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9837
9838 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
9839 code following the catch silently ignored some errors; without the
9840 catch they should be thrown like any other tcl error. Also, the
9841 catch used "" instead of {} which meant all the callers who wanted
9842 to include one of the characters "[]$ had to quote it an extra time.
9843 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
9844 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
9845 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
9846 Remove extra quoting.
9847
9848Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
9849
9850 * gdb.base/commands.exp: Make test names unique; every test either
9851 passes or fails. Update some comments.
9852
9853 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
9854
9855Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9856
9857 The following fixes a FAIL caused by the fact that the alpha stabs
9858 configuration didn't use the ".if alpha" code in weird.def.
9859 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
9860 bit pointer, so the 32 bit version works even on the alpha.
9861 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
9862 Remove the stuff which allowed us to have separate versions for
9863 alpha and everything else.
9864
9865 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
9866 regexp which "info func operator\[\](" is supposed to match. Fix
9867 string to send to GDB. Note that GDB still doesn't work right. Add a
9868 new test for "info func .perator\[\](" which GDB does handle correctly.
9869
9870 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
9871
9872Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9873
9874 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
9875 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
9876 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
9877 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
9878 it makes the tests harder to understand and confuses test-o-matic.
9879 The preferred style is that each test provides a PASS or a FAIL,
9880 and has a unique message (e.g. "continue #54" not just "continue")
9881 which is the same for the pass and the fail.
9882 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
9883 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
9884 to lib/gdb.exp.
9885 * gdb.base/printcmds.exp: Use test_print_accept. Remove
9886 prt_accept which was basically the same thing. Likewise for
9887 test_print_reject and prt_reject.
9888 * lib/gdb.exp (test_print_reject): Add some more error message
9889 patterns to match from the former printcmds.exp (prt_reject).
9890 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
9891 One defect of the passcount stuff is that some of it failed to
9892 report XPASS where appropriate.
9893 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
9894 stuff before and after arg in expected pattern.
9895 (test_paddr_operator_functions): Re-do test without print_addr_of;
9896 this is the only test which seems to want extra stuff there.
9897
9898Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9899
9900 * gdb.base/nodebug.exp: Update new tests to reflect improved
9901 wording of gdb output.
9902
9903 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
9904 and "ptype" work on variables in files compiled without -g.
9905 Replaces commented out "maint print msymbol" tests.
9906
9907Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9908
9909 * gdb.base/setvar.c (dummy): Call malloc.
9910
9911 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
9912 losing with the irix4 sed.
9913
9914 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
9915 ALRM" on irix4.
9916
9917Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9918
9919 * TODO: Remove items about corefile.exp testing new exec-file and
9920 backtrace; both are now done. Add items about printing enums.
9921
9922Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9923
9924 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
9925 "get signal $thissig" test fails.
9926
9927 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
9928
9929Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9930
9931 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
9932 compiler warning with dec alpha compiler.
9933
9934 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
9935 extra \n from gdb_test call (this explains why the prompt test
9936 that I removed yesterday was there).
9937 (user_defined_command_test): Remove extra \n and prompt test.
9938
9939 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
9940 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
9941 doesn't exist.
9942 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
9943 Also remove alpha workaround, which turns out to be because
9944 SIGABRT == SIGLOST.
9945
9946 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
9947
9948 * gdb.base/help.exp: Don't test "help show".
9949
9950Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9951
9952 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
9953 "set print address" is on.
9954 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
9955 pass prompt to gdb_test; gdb_test already looks for the prompt.
9956
9957 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
9958
9959 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
9960 was a vestige of the manual TESTSTRATEGY, and the purpose of it
9961 was to make sure that gdb can read a core file. But (a) the "read
9962 the corefile" part didn't make it to a1-selftest.exp, we just
9963 delete the corefile after creating it, and (b) we test reading
9964 corefiles in corefile.exp anyway. Also, this test left around a
9965 xgdb process on Solaris.
9966
9967 * gdb.base/corefile.exp: Also test backtrace.
9968
9969Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
9970
9971 * gdb.base/commands.exp: Test a simple user defined command with
9972 arguments and if/while statements; verify the full user command is
9973 printed by "show user".
9974
9975 * gdb.base/commands.exp: Test if/while commands as part of a
9976 breakpoint command list; verify they appear in breakpoint
9977 information.
9978
9979Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9980
9981 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
9982 than by dividing by zero.
9983
9984Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
9985
9986 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
9987 performing an inferior call with watchpoints enabled.
9988 * gdb.base/watchpoint.c (main): Delete second unnecessary read
9989 call.
9990
9991Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9992
9993 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
9994 of "file" command.
9995
9996 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
9997 Add additional pattern for when "int operator int(void);" appears
9998 in a different order.
9999
10000Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
10001
10002 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
10003
10004 * gdb.base/help.exp: Replace most of docstrings for "info signals"
10005 and "signal" with ".*".
10006
10007Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10008
10009 * TODO: Add note about "handle all nostop".
10010
10011 * gdb.base/{sigall.c, sigall.exp}: New test.
10012 * gdb.base/Makefile.in: Add it.
10013
10014Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
10015
10016 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
10017 when invoking GDB, suppresses any windowing interface.
10018
10019Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
10020
10021 * config/sim-gdb: New file, simulator testing support.
10022
10023Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
10024
10025 * gdb.base/interrupt.exp: Test calling func1 twice.
10026
10027Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
10028
10029 * gdb.base/list.exp (test_forward_search): Set timeout higher
10030 when we'll be getting lots of output from gdb.
10031
10032 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
10033 "init_malloc" to after the expect statement. Run it if that
10034 regexp is taken, but also for two others which happen if source
10035 cannot be found.
10036
10037Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10038
10039 * gdb.base/printcmds.exp: New test, for printing register before
10040 program is running.
10041
10042Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10043
10044 * gdb.base/list.exp: Correct some alternate expect patterns
10045 to reflect changes in list1.c.
10046
10047Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10048
10049 * TODO: Add item regarding large frames.
10050
10051 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
10052
10053 * TODO: Remove item about enabling return.exp; it
10054 is enabled. Suggest a few more "return" tests.
10055
10056Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10057
10058 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
10059 anonymous unions.
10060
10061Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10062
10063 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
10064 and pr-5646.o, so "make" is the same as "make all", not "make
10065 pr-4975.o".
10066
10067Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
10068
10069 * gdb.base/list.exp: Adjust expectations to reflect changes in
10070 list1.c.
10071 (test_forward_search): New test proc.
10072 * gdb.base/list1.c (long_line): New function, has long source line.
10073
10074Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
10075
10076 * gdb.base/a1-selftest.exp: Change initial stepping to know about
10077 additional line of code that was added.
10078
10079Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
10080
10081 * gdb.disasm/hppa.s: Break the large branching tests into smaller
10082 tests so as not to overflow expect's input buffers.
10083 * gdb.disasm/hppa.exp: Corresponding changes.
10084
10085Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10086
10087 Beginnings of template debugging tests.
10088 * gdb.c++/templ-info.cc: New file to test for template
10089 debugging capability of the compiler.
10090 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
10091 templ-info.cc.
10092 * gdb.c++/templates.cc: Add explicit template instantiations
10093 to enable compiling with -fno-implicit-templates. Add destructor
10094 and 'value' method to T5 class for template tests.
10095 * gdb.c++/templates.exp: Add testcases for printing of template
10096 types, setting breakpoints on template methods and calling a
d63a86f8 10097 template method.
c906108c
SS
10098
10099Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
10100
10101 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
10102 branch target since some assemblers (gas-2.5) may emit a
10103 relocation for the branch instead of resolving it in the
10104 assembler.
10105
10106Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10107
10108 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
10109 through signal handler.
10110
10111Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
10112
10113 * configure.in (*-*-netware): Use config/mt-netware.
10114
10115 * config/mt-netware: New file.
10116 * config/mt-i386-netware: Removed, separate configs for different
10117 netware architectures are no longer needed now that we have
10118 --with-headers.
10119
10120Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10121
10122 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
10123 by the recent changes to use ANSI C arithmetic conversions.
10124
10125Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10126
10127 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
10128 bug involving using inferior_pid to figure out whether to select a
10129 frame.
10130
10131Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
10132
10133 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
10134 match the current disassembler output.
10135
10136Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
10137
10138 * gdb.fortran/exprs.exp: Expect VOID instead of void.
10139 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
10140 types, expect "int" as type of integer values (for now).
10141
10142Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
10143
10144 * gdb.base/commands.exp: New tests for if/while commands.
10145
10146Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
10147
10148 * lib/gdb.exp (runto): Replace sub-pattern for hex value
10149 by .*, since hex values have different syntax in Chill mode.
10150
10151Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10152
10153 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
10154 linefeed from expect pattern for repeated types with indices > 9.
10155
10156Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
10157
10158 First part of Fortran test suite.
10159 * gdb.fortran: New directory.
10160 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
10161
10162Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10163
10164 * gdb.base/default.exp: Update expect pattern for load command
10165 without arguments.
10166
10167Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
10168
10169 * configure.in: Change i386 to i[345]86.
10170 * gdb.base/configure.in: Likewise.
10171 * gdb.c++/configure.in: Likewise.
10172 * gdb.chill/configure.in: Likewise.
10173
10174Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
10175
10176 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
10177 patterns, since that is not a valid context for comments.
10178
10179Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
10180
10181 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
10182 repeated types and repeated types with indices > 9.
10183
10184Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
10185
10186 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
10187 2417; old bug has been fixed.
10188
10189Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
10190
10191 * gdb.base/interrupt.exp: When trying to wake up the inferior,
10192 send the newline ourselves instead of assuming gdb_test will do
10193 so when passed an empty input string.
10194
10195 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
10196 stabs testcode.
10197
10198Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
10199
10200 * lib/gdb.exp (gdb_test): Don't send anything if the first
10201 argument is an empty string. This makes cases where we want to
10202 match output that is already in expect's buffers (for example,
10203 matching a breakpoint after gdb_run_cmd has been called) work
10204 reliably.
10205
10206Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
10207
10208 * config/netware.exp: New file.
10209
10210Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
10211
10212 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
10213 the -B and -L prefixes so we can find the debugging stub.
10214
10215 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
10216 there and we are using the gcc from the tree.
10217
10218 * gdb.base/types.c: Removed.
10219
10220 * gdb.base/configure.in: Look for makefile fragments in ../config.
10221 Recognize i386-*-netware.
10222 * gdb.c++/configure.in: Likewise.
10223
10224Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10225
10226 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
10227 the correct TCL syntax.
10228
10229Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
10230
10231 * gdb.base/opaque.exp: use runto instead of messing around with
10232 breakpoints. Simplify by using gdb_test.
10233
10234 * gdb.base/bitfields.exp: restart between tests on netware targets
10235 because breakpoints aren't relocated after target death. Run
10236 processes to completion.
10237
10238 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
10239
10240Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
10241
10242 * Makefile.in: Remove extra tabs that confuse some versions
10243 of "make". Use the newly built gdb to test with by default,
10244 rather than the first one in the tester's search path.
10245
10246Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
10247
10248 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
10249
10250 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
10251 condition help.
10252
10253Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
10254
10255 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
10256
10257 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
10258 running.
10259 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
10260 * gdb.base/funcargs.exp: Likewise.
10261
10262 * gdb.base/bitfields.exp: Simplify by using gdb_test.
10263 * gdb.base/funcargs.exp: Likewise.
10264
10265 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
10266 message is "".
10267
10268Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
10269
10270 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
10271 return,signals,twice}.exp: Handle non-existant binaries
10272 consistantly.
10273
10274 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
10275 * gdb.base/Makefile.in: Don't try to generate a core dump, we
10276 might testing a cross development system.
10277
10278Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
10279
10280 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
10281 runtest script is relative to ${srcdir}, not ${rootdir}.
10282
10283Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
10284
10285 * gdb.base/signals.exp: Allow for optionality of breakpoint
10286 address.
10287
10288Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10289
10290 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
10291
10292Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
10293
10294 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
10295 for size_t definition.
10296 * gdb.c++/templates.cc: Likewise
10297
10298 * config/mt-i386-netware: New file.
10299
10300 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
10301 defined.
10302
10303 * gdb.base/Makefile.in: Added support for systems that name core
10304 files by appending "core" to the program name.
10305 * gdb.base/a1-selftest.exp: Likewise.
10306
10307Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10308
10309 * gdb.base/return.exp: Add comment and message for `return double'
10310 test failure on Sparc Solaris.
10311
10312Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
10313
10314 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
10315
10316Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10317
10318 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
10319 from optimizing them away.
10320 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
10321 patterns to include default constructors and assignment operators,
10322 to match gcc versions beyond 2.5.8. Accept any cplus demangling
10323 character in the output of the virtual base pointer.
10324
10325Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10326
10327 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
10328 expression match in print_addr_of to avoid unintented matches.
10329 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
10330 versions up to 2.5.8.
10331
10332Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10333
10334 * gdb.base/list.exp: Tweak alternate pattern for listing of an
10335 included file to run under newer versions of expect.
10336 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
10337 consecutive >'s in templates to accomodate recent cplus-dem.c change.
10338 Remove xfail for the virtual table of BDDHookV.
10339
10340Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
10341
10342 * lib/gdb.exp (string_to_regexp): Set a default result.
10343 (default_gdb_start): Fix misleading message.
10344
10345Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
10346
10347 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
10348 Remove all CC, etc definitions.
10349 * config/mt-hpux: New file.
10350 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
10351 (CFLAGS, LDFLAGS): Define.
10352 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
10353
10354 * Makefile.in (site.exp): Don't insert host_os, etc.
10355 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
10356 (distclean): Check existence of subdir.
10357 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
10358 * gdb.base/Makefile.in: General cleanup and simplification.
10359 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
10360 to build executables. Use default rule to build .o files.
10361 (EXPECT, RUNTEST, CC): Fix relative pathname.
10362 (site.exp): Don't insert host_os, etc.
10363 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
10364 and/or SIGUSR1 defined.
10365 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
10366 * gdb.c++/Makefile.in: General cleanup and simplification.
10367 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
10368 (CFLAGS): Remove.
10369 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
10370
10371Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
10372
10373 * gdb.base/recurse.exp: Misc changes to get tests running again
10374 after Kung's changes to the watchpoint code.
10375 * gdb.base/watchpoint.exp: Likewise.
10376
10377Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
10378
10379 * lib/gdb.exp (string_to_regexp): Convert {\} also.
10380
10381Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
10382
10383 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
10384 * lib/gdb.exp (default_gdb_start): Define.
10385 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
10386 gdb.base/funcargs.exp, gdb.base/opaque.exp,
10387 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
10388 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
10389 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
10390 Don't call gdb_target_udi in between tests.
10391
10392Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10393
10394 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
10395 (which was basically just a local version of the same thing). In
10396 addition to avoiding duplication, gdb_test_exact is faster.
10397 * lib/gdb.exp (gdb_test_exact): Fix typo.
10398
10399 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
10400 don't give an error.
10401
10402 * gdb.base/term.exp: Call delete_breakpoints before starting.
10403
10404 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
10405 (t10): Add comment.
10406
10407Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
10408
10409 Reorganization of the GDB Test Suite.
10410
10411 * gdb.base: New directory, contains all the basic tests.
10412 * gdb.c++: New directory, tests specific to C++.
10413 * gdb.chill: New directory, tests specific to Chill.
10414 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
10415 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
10416 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
10417 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
10418 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
10419 t30-31 to chill).
10420 * */gdbme.*: Rename to match appropriate expect scripts.
10421 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
10422 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
10423 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
10424 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
10425 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
10426 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
10427 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
10428 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
10429 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
10430 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
10431 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
10432 gdb.c++/virtfunc.cc: New names of C++ files.
10433 * gdb.chill/chillvars.ch: New name of Chill file.
10434 * gdb.base/configure.in, gdb.c++/configure.in,
10435 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
10436 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
10437 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
10438 * configure.in (configdirs): Update to reflect directory changes.
10439 (target_abbrev): No longer define for any configuration.
10440 * Makefile.in: Cosmetic improvements to header comments.
10441
10442Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
10443
10444 Various changes to gdb.t31:
10445
10446 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
10447 * gdbme.ch: Make all key-words and predefineds be upper-case.
10448 * chillvars.exp: Expect key-words and predefinds in upper-case.
10449
10450 * chillvars.exp: Use gdb_test_exact many places.
10451 Change expected output for arrays (which now includes index labels).
10452
10453 * pr-5020.exp, gdme.ch (module PR_5020):
10454 New test, for PR-5020.
10455
10456Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
10457
10458 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
10459 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
10460
10461Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
10462
10463 * Makefile.in: Fix bit-rot in definitions of CHILL,
10464 CHILL_FOR_TARGET and Chill_LIB.
10465 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
10466 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
10467 CHILL, and CHILL_LIB.
10468
10469Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
10470
10471 * Revert the previous changes. Please see Rob's directory
10472 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
10473
10474Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
10475
10476 * Makefile.in, configure.in, config/mips-gdb.exp,
10477 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
10478 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
10479 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
10480 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
10481 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
10482 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
10483 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
10484 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
10485 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
10486 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
10487 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
10488 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
10489 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
10490 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
10491 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
10492 changes from 94Q1.
10493
10494Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
10495
10496 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
10497 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
10498 Rob's new testing fragments.
10499
10500Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
10501
10502 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
10503 lib/gdb.exp: Replace error proc calls with perror.
10504
10505Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
10506
10507 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
10508 version also, match on casted version strings, and match on
10509 gdb startup case where the line numbers might be messed up.
10510
10511Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
10512
10513 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
10514 (CFLAGS): Delete it from here.
10515
10516Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
10517
10518 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
10519
10520Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
10521
10522 * Makefile.in (RUNTEST): Default to just "runtest".
10523
10524Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10525
10526 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
10527 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
10528 the code has been restructured.
10529
10530Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10531
10532 * gdb.t00/default.exp (set write): Allow any number of \r and/or
10533 \n, not just one of each.
10534
10535 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
10536 /bin/cc gives a warning if you do.
10537
10538Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
10539
d63a86f8 10540 * gdb.t24/demangle.exp: change expect pattern of
c906108c
SS
10541 __t10ListS_link1ZUiRCUiPT0
10542
10543Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10544
10545 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
10546 on local variables in recursive functions.
10547
10548 * gdb.t07/Makefile.in: Build the new test.
10549
10550Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10551
10552 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
10553 directly. Instead compare the return values from actual calls.
10554
10555Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
10556
10557 * Makefile.in (check): Set TCL_LIBRARY for runtest.
10558
10559Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10560
10561 * From Peter Schauer with minor modifications.
10562 * gdb.t15/return.exp (return_tests): Handle targets where "return"
10563 stops in mid-line in the caller. Add xfail for returning a float
10564 value on X86 targets.
10565
10566Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10567
10568 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
10569 to avoid expect lossage.
10570 (fmem_LRbug_tests): Likewise.
10571 * gdb.disasm/hppa.s: Corresponding changes.
10572
10573 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
10574 conditions to work with latest dejagnu/expect.
10575
10576 * gdb.t15/funcargs.exp (finish from indirect call): No longer
10577 expected to fail on the PA.
10578 (backtrace in call with trampolines): Explicitly require main
10579 to be frame #1 (no trampolines should show up in backtrace).
10580
10581 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
10582 "continue -expect".
10583 * gdb.t06/break.exp: Likewise.
10584 * gdb.t07/watchpoint.exp: Likewise.
10585 * gdb.t13/bitfields.exp: Likewise.
10586 * gdb.t15/{funcargs,return}.exp: Likewise.
10587 * gdb.stabs/weird.exp: Likewise.
10588 * config/{mips,udi}-gdb.exp: Likewise.
10589
10590 * hppa.sed: Enclose comments within a sed command to avoid
10591 losing with the old OSF1 sed.
10592
10593Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10594
10595 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
10596 sequent dynix.
10597 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
10598 * gdb.t15/funcargs.exp: Conditionally step again to really
10599 finish from marker_call_with_trampolines. Handle the case where
10600 the first step from within call_with_trampolines already steps
10601 us back to main.
10602 * gdb.t15/gdbme.c: Add comment to closing brace of
10603 call_with_trampolines for funcargs.exp.
10604
10605Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10606
d63a86f8 10607 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
c906108c
SS
10608 Fix typo(s).
10609
10610Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10611
10612 * gdb.t07/gdbme.c: More code for watchpoint testing.
10613
10614 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
10615 "Hardware watchpoint" throughout file.
10616 (test_watchpoint_triggered_in_syscall): New test.
10617 (test_complex_watchpoint): New test.
10618
10619Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10620
10621 * gdbme.c (call_with_trampolines): New function to try and step
10622 into. Tests trampoline problems on the PA.
10623
10624 * funcargs.exp (localvars_in_indirect_call): No longer expect
10625 stepping into indirect call to fail on PAs.
10626 (test_stepping_over_trampolines): New test.
10627
10628Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10629
10630 * TODO: Add suggestions for static member function tests, and
10631 completion tests.
10632
10633Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10634
10635 * TODO: Add suggestions for "p/a" tests.
10636
10637 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
10638 (default_gdb_exit): Replace all the hair with sending "quit" to
10639 the process with a simple close.
10640
10641Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10642
10643 * TODO: Add suggestions for shared library tests.
10644
10645Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10646
10647 * TODO: Add suggestions for x/s tests.
10648
10649Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10650
10651 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
10652 "enable once", and "enable breakpoints once" with ".*".
10653
10654Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10655
10656 * TODO: Add suggestions about structure passing tests.
10657
10658Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10659
10660 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
10661 the primary1 test, use work around if __GNUC__ < 2.
10662 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
10663 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
10664 Test for bad output rather than waiting for timeout. Issue
10665 second continue only if first continue failed.
10666
10667Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
10668
10669 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
10670 operator[] test with gdb_test because the old code didn't seem to
10671 be getting the quoting right with the new dejagnu.
10672
10673Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
10674
10675 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
10676 one from the path.
10677 * Makefile.in: Use a fresh expect if there is one, use runtest
10678 from the src tree if there is one.
d63a86f8 10679
c906108c
SS
10680Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
10681
10682 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
10683 next over recursive call. Revise the tests from that point on
10684 (which had been skipped) to match GDB's actual (correct) output.
10685
10686 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
10687 with next over a breakpoint whose condition is false.
10688
10689 * gdb.t00/help.exp: Comment out "help set print" tests just like
10690 (and for same reason as) "help set" test.
10691
10692Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10693
10694 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
10695 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
10696
10697Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10698
10699 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
10700 necessary gdb_target_udi.
10701
10702 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
10703
10704 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
10705 1838 and 2417; they are fixed.
10706
10707 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
10708 gdb.t03/ptype.exp (ptype structure, ptype union):
10709 Remove xfails; the test is looser than when the xfails were added.
10710
10711 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
10712 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
10713
10714 * gdb.t01/run.exp: Only run shell test if isnative.
10715
10716 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
10717 since "run" automatically loads if necessary. Call gdb_target_udi
10718 after the "file" since "file" kills any execution target.
10719
10720 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
10721 GDB. GDB doesn't work that way (not anymore at least) on UDI.
10722 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
10723 argument for UDI.
10724
10725Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
10726
10727 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
10728
10729 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
10730
10731Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10732
10733 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
10734 properly quoting regexps. This makes the second argument to
10735 demangle a fixed string, which matches the callers, instead of a
10736 shell-style pattern which is what the previous implementation
10737 used. Update some of the callers.
10738
10739Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10740
10741 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
10742 (comib_nullified_tests): Fix typo.
10743 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
10744 strings. No longer expected to fail.
10745
10746 * gdb.disasm/hppa.s (addib_tests): Fix typo.
10747 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
10748 strings. No longer expected to fail.
10749
10750 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
10751 string. No longer expected to fail.
10752
10753Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10754
10755 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
10756 No longer expected to fail.
10757
10758 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
10759 string. No longer expected to fail.
10760
10761Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10762
10763 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
10764 only in the names (I probably got most of them). I was even
10765 generous with some which differed in underscores in names, and
10766 probably missed a few, and I *still* was able to remove almost a
10767 third of the file with almost no impact on testsuite coverage.
10768
10769Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10770
10771 * gdb.t00/default.exp: Match udi_attach error message as well as
10772 the one from child_attach.
10773
10774 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
10775
10776 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
10777
10778 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
10779 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
10780
10781 * Move test with enums and partial symbols back to
10782 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
10783 Reverts the change of 26 May 93. Per today's change to
10784 stabs.texinfo, the behavior that weird.exp was expecting was
10785 unreasonable; what is important is that the compiler+gdb get
10786 things right, which happens with a recent gcc. Also fix the test
10787 to deal with native compilers which put out the stab gdb can't
10788 deal with.
10789
10790Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10791
10792 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
10793 in the names. The main thing these accomplish is to slow things down.
10794 Many more such duplicates surely remain.
10795
10796 * gdb.t00/help.exp: Comment out "help support" test just like
10797 (and for same reason as) "help set" test.
10798
10799Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
10800
10801 * gdb.t06/break.exp: Remove setup_xfails for
10802 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
10803 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
10804 about known bug in gcc to include up through 2.5.8.
10805 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
10806 well as "_vb$".
10807 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
10808 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
10809 with latest gcc and gdb.
10810 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
10811 well as "_vb$".
10812
10813Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10814
10815 * configure.in (hppa*-*-*): Also configure and build stabs-only
10816 tests.
10817
10818Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10819
10820 * gdb.t10/hppa.mt: A makefile fragment for the PA.
10821 * gdb.t10/configure.in (hppa*-*-*): Use it.
10822
10823Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10824
10825 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
10826
10827Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10828
10829 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
10830 versions prior to 1.13.5.
10831
10832Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10833
10834 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
10835 the prompt is at the start of a line.
10836
10837Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10838
10839 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
10840 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
10841 in the copr tests now.
10842 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
10843 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
10844 expected to fail.
10845
10846Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
10847
10848 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
10849 gdb.t31/chillvars.exp, lib/gdb.exp:
10850 Tweak to run under either version of expect.
10851 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
10852 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
10853 * gdb.t11/list.exp: Remove extraneous whitespace.
10854
10855Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10856
10857 * gdb.t16/printcmds.exp (test_print_strings): Accept
10858 "(unsigned char *) " before the string.
10859
10860 * TODO: Add notes about printing of fancy types and GDB expressions.
10861
10862Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
10863
10864 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
10865 * gdb.t06/configure.in: Don't try to compile signals test program
d63a86f8 10866 if doing mips-idt-ecoff.
c906108c
SS
10867
10868Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
10869
10870 * Most .exp files: Tweak to run under either version of expect.
10871
10872Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10873
10874 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
10875 xfails; I'm not sure why they are failing, but not because of PR 1806.
10876
10877Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
10878
10879 * config/unix-gdb.exp: Remove gdb_unload cause it's already
10880 defined in lib/gdb.exp.
10881
10882Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10883
10884 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
10885 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
10886 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
10887 have to be typeless.
10888
10889Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10890
10891 * TODO: Add suggestion for copyright year test.
10892
10893Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
10894
10895 * configure.in (*-*-lynxos*): Add stabs tests.
10896
10897Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
10898
10899 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
10900 so insert a tab before any assembler directive in column zero.
10901
10902 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
10903 stores.
10904 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
10905 stores.
10906 (fpu_short_memory_tests): Likewise.
10907
10908Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10909
10910 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
10911 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
10912 .stabs directives in comments.
10913
10914Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10915
10916 * TODO: New file, describing tests we could write.
10917 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
10918
10919Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10920
10921 * gdb.t06/signals.exp: Add kludge to force re-sync.
10922
10923 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
10924 to xgdb instead of gdb, get out of gdb.
10925
10926Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
10927
10928 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
10929 for info.
10930
10931Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
10932
10933 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
10934 * gdb.stabs/configure.in (hppa*-*-*): Use it.
10935 * gdb.stabs/hppa.sed: New sed script for the PA.
10936
10937Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10938
10939 * gdb.stabs: Re-write weird.def and configuration to use sed
10940 instead of cpp. sed is portable and POSIX; cpp is neither.
10941
10942Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10943
10944 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
10945
10946Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10947
10948 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
10949
10950Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10951
10952 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
10953 "_vb$".
10954 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
10955 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
10956
10957Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10958
10959 * lib/gdb.exp: Comment out code which depends on non-existent
10960 `transform' procedure.
10961
10962Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
10963
10964 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
10965 * lib/gdb.exp: Transform tool name.
10966 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
10967 1.1's new error handling system.
10968
10969Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10970
10971 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
10972
10973Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10974
10975 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
10976 They made pattern matching so slow that timeouts happened on
10977 heavily loaded systems. Now any output from "show print" which
10978 gets us back to the GDB prompt is a PASS.
10979
10980Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
10981
10982 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
10983
10984Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10985
10986 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
10987
10988 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
10989 It is not from PR 3220.
10990
10991Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10992
10993 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
10994 just started failing because they depended on the order the
10995 subcommands are presented, or exact docstring text. This kind of
10996 test is a pain and has minimal benefit.
10997
10998Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10999
11000 * gdb.t09/corefile.exp: At end of test, use "core" command with
11001 no arguments.
11002
11003Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
11004
11005 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
11006 17}/Makefile.in: Make it possible to run the testsuite with Sun
11007 make and CC = cross gcc by adding explicit build rules for .o
11008 files.
11009
11010Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11011
11012 * gdb.t15/funcargs.exp: Don't put comments on same line as
11013 setup_xfail (@#$*%& tcl braindamage!).
d63a86f8 11014
c906108c
SS
11015Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11016
11017 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
11018
11019Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
11020
11021 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
11022 * gdb.t20/inherit.exp: remove three dumplicate entries.
11023
11024Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11025
11026 * gdb.t06/break.exp: For "next over recursive call", fail on any
11027 incorrect output, not just on "factorial (value=2)".
11028
11029Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11030
11031 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
11032 working now. Add an xfail if accesing a bss variable causes
11033 a memory error if the target is not yet run.
11034
11035Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11036
11037 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
11038 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
11039 name of __st* demangling (2 strings). Did Kung really get the
11040 more than 95 others right without testing them?
11041
11042Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
11043
11044 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
11045
11046Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
11047
11048 * configure.in (configdirs): Add gdb.disasm
11049 * gdb.disasm: New directory for GDB disassembler tests.
11050 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
11051
11052Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11053
11054 * gdb.t00/help.exp: Don't test "help set".
11055
11056 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
11057 from within expect statements. None of these happen anymore and
11058 they cause regressions to be silently unnoticed.
11059
11060 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
11061 messages) about known failures with gcc cygnus-2.4.5-930417.
11062
11063 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
11064 comp-info.exp so it gets built if it doesn't exist.
11065
11066 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
11067 it is no longer used.
11068 * gdb.t13/comp-info.c: Removed.
11069
11070Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
11071
11072 * gdb.t06/signals.exp: Add xfail for sun3.
11073
11074Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11075
11076 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
11077 relevant because ^C doesn't get sent but failure can be reproduced
11078 interactively).
11079
11080Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11081
11082 * gdb.stabs/alpha.mt: New configuration file for alpha.
11083 * gdb.stabs/configure.in: Use it.
11084 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
11085 sharing with alpha.mt, redefine long to word via preprocessor.
11086 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
11087 for alpha.
11088 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
11089 native cc.
11090 * gdb.t00/teststrategy.exp: Change expect string so that we
11091 consume the `(xgdb)' from the command echo and from the gdb prompt.
11092 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
11093 gdb currently compares all values as long, so this failure probably
11094 applies to any configuration where LONGEST is bigger than a target int.
11095 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
11096 with gcc.
11097 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
11098 to handle opaque pointers, gcc is.
11099 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
11100 as first argument. Include <sys/types.h> and change all operator
11101 new definitions to use size_t.
11102 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
11103 now that we use size_t.
11104
11105Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11106
11107 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
11108 a long or float array cast all array members to the same type.
11109 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
11110 with 64 bit longs.
11111 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
11112 on alpha.
11113 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
11114
11115Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11116
11117 * gdb.t24 (demangle.exp): Constructors of templates have names like
11118 vector<int>::vector(int) not vector<int>::vector<int>(int). See
11119 section 14.6 of the ARM.
11120
11121 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
11122 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
11123 accomplish little and slow down the testsuite.
11124
11125 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
11126 Accept spaces various places.
11127
11128Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11129
11130 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
11131 with watchpoint enabled.
11132
11133 * Makefile.in: Remove definition of CC and remove the second
11134 definition of CXX (the "CXX = gcc" one remains). These definitions
11135 were causing backquotes to be expanded within backquotes, which
11136 doesn't work.
11137
11138Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
11139
11140 * gdb.t17/callfuncs.exp: Add "return 0" to end.
11141
11142Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11143
11144 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
11145 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
11146 by mips cc and contains no stabs entries.
11147
11148Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
11149
11150 * config/vx-gdb.exp: Use fake device to load files rather than
11151 NFS.
11152 * lib/gdb.exp: New proc to do "file" command.
11153 * config/unix-gdb.exp: Use new "file" proc.
11154
11155Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
11156
11157 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
11158 Rework board rebooting slightly.
11159 (gdb_exit): Don't exit from the remote shell; there isn't one.
11160 * gdb.stabs/weird.exp: If a program is being debugged already,
11161 kill it.
11162 * gdb.t04/setvar.exp: Stop and restart gdb.
11163 * gdb.t05/expr.exp: Likewise.
11164 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
11165 restart gdb and reload the program.
11166 * gdb.t08/opaque.exp: Likewise.
11167 * gdb.t12/scope.exp: Likewise.
11168 * gdb.t13/bitfields.exp: Likewise.
11169 * gdb.t15/funcargs.exp: Likewise.
11170 * gdb.t20/classes.exp: Likewise.
11171 * gdb.t03/ptype.exp: Increase timeout.
11172 * gdb.t16/printcmds.exp (test_print_string_constants,
11173 test_print_array_constants): Likewise.
11174 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
11175 * gdb.t20/classes.exp (do_tests): Likewise.
11176 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
11177
11178Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
11179
11180 * gdb.stabs: Renamed *wierd* to *weird*.
11181
11182Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
11183
11184 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
11185 for timeout. Add "known gcc 2.4.5 bug" to failure message.
11186
11187Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
11188
11189 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
11190 (do_tests): Remove xfail for whatis on one_var and two_var.
11191
11192Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
11193
11194 * Makefile.in: Made cross building work better by adding
11195 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
11196
11197Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11198
11199 * gdb.t15/{return.c,return.exp,Makefile.in}:
11200 New test, currently commented out.
11201
11202Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
11203
11204 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
11205 still running and removes the leftover named socket so GDb can do
11206 clean restarts.
11207
11208Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
11209
11210 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
11211 console, not GDB.
11212 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
11213 cross testing works better with "make check"
11214 * config/unix-gdb: Use default procedures for exit and version.
11215 * config/vx-gdb.exp: Cleaned up and massaged back to working order
11216 with the newest VxWorks.
11217
11218Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11219
11220 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
11221 old form.
11222
11223 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
11224 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
11225
11226 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
11227
11228 * config/unix-gdb.exp: Remove this version of gdb_exit
11229 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
11230 Rob says he'll look at it when he gets back to testing boards.
11231
11232Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
11233
11234 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
11235 an expected fail for certain ptype commands.
11236
11237 * gdb.t20/classes.exp: Update expected results of "ptype class
11238 Base1" to account for the constructor that now appears in the type.
11239
11240Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
11241
11242 * configure.in (configdirs): Restore gdb.t04, which mysteriously
11243 disappeared from list.
11244 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
11245 "alldone" proc with call to cleanup and exit.
11246 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
11247 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
11248 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
11249 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
11250 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
11251 "alldone" proc with simple returns that suppress remaining
11252 tests. The alldone proc went away many months ago.
11253
11254Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11255
11256 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
11257
11258 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
11259
11260Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11261
11262 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
11263 as vax gdb will display them.
11264
11265Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11266
11267 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
11268 optimizers.
11269
11270 * scope.exp: Change "bad value for localval" messages so each one
11271 is unique.
11272
11273 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
11274 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
11275
11276 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
11277
11278Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11279
11280 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
11281 doesn't exist (due to optimization).
11282
11283Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11284
11285 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
11286 contains \r because the filename is long.
11287
11288 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
11289 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
11290
11291Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11292
11293 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
11294 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
11295 Ultrix.
11296 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
11297 int tests.
11298 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
11299
11300Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
11301
11302 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
11303
11304 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
d63a86f8 11305 to match does not match the passing case but still matches the
c906108c
SS
11306 failing case.
11307
11308Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11309
11310 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
11311
11312Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
11313
11314 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
11315 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
11316 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
11317 Remove various versions of gdb_exit.
11318 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
11319 gdb_exit.
11320 * config/unix-gdb.exp: gdb_exit remains here, and should override
11321 the generic version, since it's doing a lot of wierd stuff that
11322 the other versions aren't. FIXME, fold it in, or abandon this
11323 version.
11324
11325Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11326
11327 * gdb.t24/demangle.exp: Add tests for PR 3220.
11328
11329Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11330
11331 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
11332
11333Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
11334
11335 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
11336 "i386-*-*". Works for i486 as well.
11337
11338 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
11339 bug, and expand domain of xfail to all SVR4 systems, since the
11340 actual problem is likely to be in generic SVR4 /proc support.
11341
11342Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11343
11344 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
11345
11346Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
11347
11348 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
11349 xfails for other systems. Match a missing 'Continuing.' as an
11350 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
11351
11352 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
11353 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
11354 Only issue warning for missing executables if -all option is used.
11355
11356 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
11357 file if -all option is used. It's like an unpredictable XFAIL.
11358
11359Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11360
11361 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
11362 for dynamically linked binaries.
11363
11364 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
11365
11366Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11367
11368 * gdb.t20/inherit.exp: Change message for "print tagless struct"
11369 to state that this is a known bug in old versions of g++.
11370
11371Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11372
11373 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
11374 while waiting for `Continuing'.
11375
11376Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
11377
11378 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
11379 in text, data, and bss.
11380 * gdb.t10/nodebug.c: Add local and global test variables for
11381 initialized and uninitialized data.
11382
11383Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11384
11385 * config/unix-gdb.exp (gdb_exit): Add "wait".
11386
11387Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11388
11389 * gdb.t06/signals.exp: xfail the continue from the handler for all
11390 targets.
11391
11392 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
11393 function with watchpoints enabled, the i386 call dummy starts with
11394 a call.
11395
11396 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
11397 386 bsd names its corefiles.
11398
11399Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
11400
11401 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
11402 compilers don't grok it.
11403 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
11404 with small octal ints rather than character constants, which
11405 are signed and might not fit if first promoted to int.
11406
11407Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
11408
11409 * gdb.t09/Makefile.in (clean): Remove corefile.
11410
11411Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11412
11413 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
11414
11415Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11416 and Jim Kingdon (kingdon@cygnus.com)
11417
11418 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
11419 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
11420 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
11421
11422Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11423
11424 * gdb.t17/interrupt.exp: Add xfail for hppa.
11425
11426Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11427
11428 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
11429 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
11430 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
11431 to determine signed-ness of bitfields and use the result to setup
11432 the xfail.
11433 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
11434 * gdb.t15/funcargs.exp: Use them to step until the second indirect
11435 call line is reached if necessary.
11436
11437Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11438
11439 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
11440
11441Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11442
11443 * gdb.t06/break.exp: Also test `clear' command.
11444
11445Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
11446
11447 * gdb.t00/teststrategy.exp: Remove extra quote.
11448
11449 * gdb.t07/watchpoint.exp: Change xfail for calling function with
11450 watchpoint enabled to be for all non-68k machines.
11451
11452 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
11453
11454Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11455
11456 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
11457 targets use aout.mt instead of ecoff.mt as gas understands
11458 standard aout format.
11459
11460Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
11461
11462 * lib/gdb.exp (runto): Don't insist that function we are running to
11463 was compiled with -g.
11464
11465 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
11466
11467 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
11468 to get back into the read system call.
11469 Accept leading newline in case where we woke it up.
11470
11471Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11472
11473 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
11474 to make the stabs test work on ecoff systems using gcc and -with-stabs.
11475 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
11476 enable ecoff configuration.
11477
11478Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11479
11480 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
11481
11482Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11483
11484 * gdb.t16/printcmds.exp: Add another printf test.
11485
11486Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
11487
11488 * configure.in: If configured -with-stabs on any target, add
11489 stabsdirs to configdirs.
11490
11491Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11492
11493 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
11494 fun" so pattern does not match the command itself.
11495
11496Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11497
11498 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
11499
11500Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11501
11502 * gdb.t17/interrupt.exp: Test for more things.
11503
11504Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11505
11506 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
11507 compiler arranges the code and line numbers.
11508
11509 * gdb.t17/interrupt.exp: Don't send \n after ^C.
11510
11511Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11512
11513 * gdb.t00/help.exp: Increase expect input buffer size.
11514
11515Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11516
11517 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
11518
11519 * gdb.t07/watchpoint.exp: Add xfail for hppa.
11520
11521 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
11522
11523 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
11524 [0-9]*, not just [0-9].
11525
11526Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11527
11528 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
11529
11530 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
11531
11532Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11533
11534 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
11535
11536Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11537
11538 * gdb.t06/signals.c: Add xfails for sun3.
11539
11540 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
11541
11542 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
11543 test_stepping tests.
11544
11545Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11546
11547 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
11548
11549 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
11550
11551 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
11552 rather than actually putting it through cpp twice.
11553
11554 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
11555
11556Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
11557
11558 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
11559 no longer needed.
11560
11561Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11562
11563 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
11564
11565 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
11566 C++ features prints as "struct", make it a pass, not an xfail.
11567
11568Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11569
11570 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
11571 Don't require VA to print as "class" rather than "struct".
11572
11573Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
11574
11575 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
11576
11577Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11578
11579 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
11580
11581Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11582
11583 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
11584 order.
11585
11586Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11587
11588 * gdb.t16/printcmds.exp: Add printf tests.
11589
11590 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
11591
11592 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
11593
11594Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
11595
11596 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
11597 pass counts, to counteract any existing or future setup_xfails.
11598
11599Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11600
11601 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
11602 {BEGIN,END}_COMMON for common block instead of STAB.
11603 * gdb.stabs/wierd.exp: Add xfail for rs6000.
11604
11605 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
11606 intp_var should be N_GSYM not N_LSYM.
11607 wierd-aout.S: Use a label for the value of the N_SO.
11608 wierd.def: Remove all backslashes.
11609 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
11610
11611Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11612
11613 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
11614 get the expected next to inheritance3.
11615
11616Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11617
11618 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
11619 now that gcc-2.4 gets it right.
11620
11621Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11622
11623 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
11624
11625 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
11626 generating comp-info.exp which works for cross-compilation.
11627
11628Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
11629
11630 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
11631 "*-*-sysv4.*".
11632
11633Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
11634
11635 * gdb.t01/run.exp: Start with a fresh gdb.
11636 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
11637 SVR4.x.
11638
11639Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
11640
11641 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
11642 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
11643 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
11644 Makefile.in (distclean, realclean): Remove gdbme.c from list of
11645 things to remove.
11646
11647Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
11648
11649 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
11650 test cases from bug reports.
11651
11652Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
11653
11654 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
11655 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
11656 avoid spurious xfails.
11657 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
11658 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
11659 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
11660
11661Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
11662
11663 * gdb.t00/teststrategy.exp: Rework to provide more useful
11664 description of each test, fix problem with systems that define
11665 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
11666 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
11667 results for "next over recursive call" so timeouts aren't taken
11668 by error.
11669
11670Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
11671
11672 * gdb.t12/scope.exp: Test printing of variables before run.
11673
11674 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
11675 printed in wrong order due to sorting.
11676
11677Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
11678
11679 * gdb.t00/teststrategy.exp: Fix expected results for printing
11680 user entered string constant. Is array of char, prints with no
11681 address.
11682
11683 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
11684 commands.
11685 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
11686 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
11687 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
11688 of struct of char arrays.
11689 * gdb.t00/radix.exp: New tests for radix commands.
11690
11691Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
11692
11693 * gdb.t16/printcmd.exp: Print a variable before running program
11694 (with xfail for AIX).
11695
11696Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
11697
11698 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
11699
11700 * gdb.t16/printcmd.exp: Don't print variables before running program.
11701
11702 * gdb.t06/break.exp: Don't require envp argument to main.
11703
11704 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
11705
11706 * gdb.t02/whatis.exp, gdb.t11/list.exp:
11707 Add xfails for rs6000.
11708
11709 * gdb.t02/whatis.exp: Change other tests not to re-test something
11710 we already tested.
11711
11712 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
11713 each type used has a variable of that type.
11714
11715Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
11716
11717 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
11718
11719Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
11720
11721 * configure.in: change srctrigger to be a file, not a directory
11722
11723Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
11724
11725 * configure.in (mips-idt-ecoff*): Added trailing '*'.
11726
11727 * gdb.t11/list.exp: Fixed a couple of typos.
11728
11729Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
11730
11731 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
11732 is fixed and PR is closed.
11733 * gdb.t16 (gdbme.c): Add simple test string variable.
11734 * gdb.t16 (printcmds.exp): Add tests with simple test string
11735 variable, primarily for boundaries on "set print elements".
11736
11737Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
11738
11739 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
11740 Make leading 0's optional and don't expect a tab in the middle
11741 of the number.
11742
11743 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
11744
11745 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
11746 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
11747 don't end command passed to gdb_test with newline.
11748
11749 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
11750 signed keyword away, don't expect signed bitfields to be signed.
11751
11752 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
11753 printing with only as many 1's as are in the field as well as printing
11754 with 32 1's (see comment).
11755
11756Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
11757
11758 * gdb.t00/default.exp: Start with a fresh gdb.
11759 * configure.in (configdirs): Remove gdb.t31 until the chill
11760 compiler works again. It no longer is able to find chillrt0
11761 since it isn't in libchill.a anymore.
11762 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
11763 wierd.o, make more modular.
11764 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
11765 spurious newlines that caused problems.
11766
11767Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11768
11769 * Move test with enums and partial symbols from gdb.t03/ptype.exp
11770 to gdb.stabs/wierd.exp since GCC has worked around the bug.
11771 gdb.stabs/wierd.{exp,def}: Many new tests.
11772
11773 * gdb.t00/default.exp: update info line for new message.
11774
11775 * gdb.t02/{whatis.exp,gdbme.c}:
11776 Test that "char *" doesn't print as "caddr_t".
11777
11778Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11779
11780 * gdb.t00/help.exp: Use .* in place of some help messages which
11781 just changed.
11782 gdb.t00/default.exp: Update "info frame" test for new message.
11783 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
11784 Remove some xfails
11785
11786Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11787
11788 * gdb.t03/{gdbme.c,ptype.exp}:
11789 Add tests for typedef'd struct and union without tags.
11790 Also check "whatis" on a variable of a typedef'd enum without a tag.
11791
11792 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
11793 PRMS 1823; the bug still exists but isn't reproduced by this test
11794 anymore), and remove rs6000 XFAIL (the bug is fixed).
11795
11796 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
11797 duplicated from whatis.exp. For those that are left, accept
11798 "long", "long int", or "int" for long variables (whatis.exp already
11799 has an XFAIL for "int", so no need to fail it here).
11800
11801 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
11802 Deal with GCC's names for types now that GDB uses the compiler's names.
11803
11804 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
11805 setup_xfail's for sunos4. If we #defined the signed keyword away,
11806 don't expect GDB to know that char it is signed.
11807
11808 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
11809
11810Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
11811
11812 * configure.in (configdirs): Add gdb.t24 for C++ tests that
11813 should work on any system, regardless of debugging format.
11814 * gdb.t21/demangle.exp: Move to gdb.t24.
11815 * gdb.t24/demangle.exp: Move from gdb.t21.
11816 * gdb.t24/{Makefile.in, configure.in}: New files.
11817
11818Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11819
11820 * configure.in: Do gdb.stabs and C++ tests only for stabs.
11821 * gdb.stabs: New directory.
11822
11823Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11824
11825 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
11826 not just "Quit anyway?".
11827
11828Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
11829
11830 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
11831 that all setup_xfails are immediately followed by clear_xfails.
11832
11833Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
11834
11835 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
11836 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
11837 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
11838 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
11839 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
11840 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
11841 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
11842 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
11843 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
11844 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
11845 gdb.t31/chillvars.exp, lib/gdb.exp:
11846 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
11847 bug-gdb@prep.ai.mit.edu.
11848
11849Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
11850
11851 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
11852 with 0.0, not integer 0.
11853
11854Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
11855
11856 * gdb.t06/break.exp: Update for "Kill the program" message change.
11857
11858Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
11859
11860 * Makefile.in (GDBFLAGS): Set to -nx.
11861 * Makefile.in (site.exp): Use GDBFLAGS.
11862
11863Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
11864
11865 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
11866 Makefiles.
11867 (check): depend on just-check.
11868 (just-check): added so that tests can be run without a noop
11869 build pass.
11870
11871Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
11872
11873 Switch to using configure's configdirs.
11874 * Makefile.in (Makefile): add configure.in dependency.
11875 (SUBDIRS): removed redundant assignment.
11876 * configure.in: switch subdirs assignment to configdirs.
11877 * gdb.t*/configure.in: new files.
11878
11879Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
11880
11881 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
11882 works.
11883
11884Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
11885
11886 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
11887 in explicit rules. Apparently this is not supported by some makes.
11888
11889Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
11890
11891 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
11892
11893Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11894
11895 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
11896 disappeared.
11897
11898Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
11899
11900 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
11901
11902Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
11903
11904 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
11905 watchpoint problem that is now fixed.
11906 * gdb.t30/chexp.exp: Remove setup_xfail for printing
11907 uninitialized convenience variables.
11908 * gdb.t31/chillvars.exp: Fix expected patterns for printing
11909 structures.
11910
11911Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11912
11913 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
11914 which causes expect to get out of sync with gdb on long output
11915 from help set.
11916 * gdb.t09/corefile.exp: Make expected pattern for core file
11917 failing signal and frame output format less sun specific.
11918
11919Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
11920
11921 * gdb.t31/chillvars.exp: Add and remove initial dummy
11922 breakpoint, so that symbol table is forced in.
11923 (Needed at least on Sunos4, though it seems not SVR4.)
11924 * gdb.t31/chillvars.exp: Update for changed output format.
11925
11926Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
11927
11928 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
11929
11930Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
11931
11932 * Makefile.in: Added --srcdir when invoking runtest, removed the
11933 need for a local config file. (optional now)
11934
11935Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
11936
11937 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
11938 failure count used to force early termination. Add some more
11939 expected failures for gnu style demangling.
11940
11941Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11942
11943 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
11944 pmi variable from gdb.t20/gdbme to get optimized away.
11945 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
11946 Check for written corefile upon timeout _and_ eof.
11947
11948Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11949
11950 * config/unix-gdb.exp: Add missing return 0.
11951
11952Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11953
11954 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
11955 test termination.
11956
11957Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
11958
11959 * configure.in (subdirs): Put back gdb.t17 which mysteriously
11960 disappeared.
11961
11962Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
11963
11964 * gdb.t10/crossload.exp: Disable the i860-elf test until such
11965 time as i860 support works.
11966
d63a86f8 11967 * gdb.t15/funcargs.exp: Fix expected outputs to include
c906108c
SS
11968 "backtrace 100\r" rather than just "backtrace\r", to match last
11969 change.
11970
11971Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
11972
11973 * config/udi-gdb.exp (gdb_exit): Remove close command.
11974 (gdb_target_udi): New procedure to set the UDI target.
11975 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
11976 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
11977 Added waits for prompts after several question responses. Added
11978 some more responses used by a29k-amd-udi-gdb.
11979 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
11980 pass different arguments, restart UDI connection after program
11981 completion.
11982 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
11983 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
11984 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
11985 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
11986 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
11987 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
11988 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
11989 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
11990 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
11991 after program completion.
11992 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
11993 compiled with a SELECT_VECS setting.
11994 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
11995 infinite recursion.
11996
11997 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
11998 Added checks for COFF results, and made them expected failures for
11999 all targets. It would be better to make them expected failures
12000 for COFF targets only.
12001
12002Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
12003
12004 * Makefile.in: add null dvi target, don't bother to recurse
12005 through test directories for info and install-info; rename
12006 $(datadir) to be dejagnu instead of deja-gnu
12007
12008Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
12009
12010 * gdb.t31/gdbme.ch: Re-enable code that previously caused
12011 compiler to coredump.
12012 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
12013 code.
12014
12015Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
12016
12017 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
12018 coredump.
12019 * gdb.t31/chillvars.exp: Comment out tests that depend on that
12020 code.
12021
12022Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
12023
12024 * gdb.t03/ptype.exp: tests for return code from gdb_test.
12025 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
12026 which in a shell. Deletes xgdb when done.
12027 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
12028 Tests the return from the "set height" or "set width" commands.
12029 Added a few return codes where needed.
12030
12031Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
12032
12033 * Makefile.in (SUBDIRS): Add gdb.t17.
12034 * configure.in (subdirs): Add gdb.t17.
12035 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
12036 files to test gdb's calling of functions in the inferior with
12037 the correct arguments and gdb's ability to retrieve any
12038 result returned.
12039
12040Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
12041
12042 * config/unix-gdb.exp (gdb_exit): Remove close commands that
12043 may be called after gdb goes away. Previous versions of expect
12044 needed these to avoid file descriptor leaks, but they cause
12045 errors with the current revision of expect.
12046 * gdb.t00/gdbvars.exp: Use -re on expected output after
12047 setting sevenbit-strings.
12048 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
12049 to set sevenbit-strings consistent across tests.
12050 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
12051 set sevenbit-strings consistent across tests.
12052
12053Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
12054
12055 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
12056 expected output to match current "expect" expectations.
12057
12058Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
12059
12060 * gdb.t00/default.exp: Change expected output for default "source"
12061 command, to match new gdb behavior which requires a filename to
12062 source.
12063
12064Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
12065
12066 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
12067 expected fail for i486-*-* that misses the marker2 function.
12068 * gdb.t10/crossload.exp (bfddefault): Allow successful
12069 recognition of a format to pass even if no symbols are found.
12070 Explicitly catch failures where the format is not recognized
12071 or is ambiguous, and add the reason to the fail message.
12072 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
12073 the cause is and invalid target and add reason to failure message.
12074 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
12075 elf32-i386, elf32-sparc, and elf32-i860.
12076 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
12077 Set up expected failure for 'filename'::variable scope resolution,
12078 which is now apparently broken on all targets.
12079 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
12080 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
12081 gdb.t23/templates.exp: Change failure for missing binfile into
12082 just a warning.
12083 gdb.t21/demangle.exp: Change all cfront references to 'arm'
12084 references.
12085
12086Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
12087
12088 * gdb.t00/default.exp: Add expected output for default "source"
12089 command, to match new gdb behavior.
12090 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
12091
12092Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
12093
12094 * config/*-gdb.exp: returns an error, rather than exiting on
12095 internal errors.
12096
12097Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
12098
12099 * gdb.t03/gdbme.c: Add pointer to struct variable.
12100 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
12101 referencing struct members.
12102
12103Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
12104
12105 * configure.in (mips-idt-ecoff): New target.
12106 * config/mips-gdb.exp: New file for remote board using MIPS remote
12107 debugging protocol.
12108
12109 * Redid configuration scheme. Removed gdb.t*/configure.in.
12110 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
12111 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
12112 distclean targets. Built executables via .o files. Adjusted
12113 tests to account for source files in $(srcdir) rather than
12114 $(objdir).
12115 * lib/gdb.exp (runto): Don't expect () after the function name,
12116 because it may have arguments.
12117
12118Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
12119
12120 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
12121 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
12122 expected failures for mips-idt-* and mips-sgi-*.
12123 * gdb.t00/default.exp (attach): Kill process if requested.
12124 * gdb.t00/help.exp (help target core, help target): Accept a gdb
12125 that does not read core files.
12126 * gdb.t01/run.exp: Removed checks for exit status code.
12127 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
12128 it is linked in.
12129 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
12130 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
12131 appropriate, rather than doing it by hand.
12132 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
12133 execution.
12134 * gdb.t10/crossload.exp: Kill existing program if needed.
12135 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
12136 appropriate, rather than doing it by hand. Always increase
12137 timeout for this test, not just for VxWorks.
12138
12139Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
12140
12141 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
12142 of Chill STRUCT types and STRUCT values.
12143 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
12144 than "char".
12145 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
d63a86f8 12146 struct2): New struct definitions and initializations to test
c906108c
SS
12147 simple Chill STRUCT types.
12148
12149Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
12150
12151 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
12152 the null byte at the end of strings.
12153 * gdb.t00/default.exp: Make show version insensitive to copyright
12154 date.
12155 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
12156 to avoid dependencies on target char signedness.
12157 * gdb.t16/printcmds.exp: Update expected results for explicitly
12158 unsigned char.
12159 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
12160 now work.
12161 * gdb.t21/demangle.exp: Add many more patterns for template
12162 demangling, most of them being expected failures.
12163 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
12164 string we are matching for, to match on the whole string.
12165 * gdb.t21/demangle.exp: Add many new test strings to demangle,
12166 and fix a whole bunch that had incorrect expected output but were
12167 passing anyway because of the bug in "proc demangle".
12168 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
12169 type.
12170 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
12171
12172Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
12173
12174 * gdb/testsuite: made modifications to testcases, etc., to allow
12175 them to work properly given the reorganization of deja-gnu and the
12176 relocation of the testcases from deja-gnu to a "tool" subdirectory.
12177
12178Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
12179
12180 * gdb/testsuite: Initial creation of gdb/testsuite.
12181 Migrated dejagnu testcases and support files for testing nm to
12182 gdb/testsuite from deja-gnu. These files were moved "as is"
12183 with no modifications. This migration is part of a major overhaul
12184 of dejagnu. The modifications to these testcases, etc., which
12185 will allow them to work with the new version of dejagnu will be
12186 made in a future update.
48efe704
AC
12187
12188For additional changes see gdb.mi/ChangeLog-1999-2003.
c906108c
SS
12189\f
12190Local Variables:
ef043731 12191mode: change-log
c906108c
SS
12192left-margin: 8
12193fill-column: 74
12194version-control: never
12195End: