]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/testsuite/ChangeLog
daily update
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
cefbce26
MC
12004-06-26 Michael Chastain <mec.gnu@mindspring.com>
2
3 * gdb.hp/gdb.base-hp/reg.exp: Update copyright notice.
4
e19f872c
CV
52004-06-25 Corinna Vinschen <vinschen@redhat.com>
6
7 * gdb.base/attach.exp (do_attach_tests): Don't forget to kill second
8 attach process.
9
d931ba3b
MC
102004-06-23 Michael Chastain <mec.gnu@mindspring.com>
11
12 * gdb.cp/pr-1553.exp: Remove.
13
aef68c48
MC
142004-06-22 Michael Chastain <mec.gnu@mindspring.com>
15
16 * gdb.cp/pr-1553.cc: Remove.
17 * gdb.cp/pr-1553.exp: Disable this test.
18
8d5df71a
JB
192004-06-20 Jim Blandy <jimb@redhat.com>
20
21 Fix PR testsuite/1680.
22 * gdb.arch/i386-sse.exp: Properly quote curly braces in
23 regular expressions.
24
4ac6f39d
MC
252004-06-19 Michael Chastain <mec.gnu@mindspring.com>
26
27 Fix PR testsuite/1679.
28 * gdb.arch/i386-sse.exp: Do not call gdb_suppress_entire_file.
29 Issue an UNSUPPORTED result instead.
30
1b413552
JB
312004-06-18 Jim Blandy <jimb@redhat.com>
32
33 * gdb.base/charset.exp: Only send a control-C if we see a new
34 prompt and incomplete command.
35
6daa6ebd
MC
362004-06-18 Michael Chastain <mec.gnu@mindspring.com>
37
38 * gdb.cp/pr-574.cc: Add copyright notice.
39
51fa4ae0
JB
402004-06-17 Jim Blandy <jimb@redhat.com>
41
42 * gdb.base/charset.exp: Don't refer to $expect_out(1,string) in
43 cases where the regexp has no groups; this grabs random text from
44 the previous test suite, whatever that was.
45
8fea26c5
MC
462004-06-17 Michael Chastain <mec.gnu@mindspring.com>
47
48 * gdb.cp/printmethod.cc: Add copyright notice.
49
1e3aeb41
MC
502004-06-16 Michael Chastain <mec.gnu@mindspring.com>
51
52 * gdb.cp/psmang1.cc, gdb.cp/psmang2.cc: Add copyright notice.
53
9d9030bc
AC
542004-06-16 Andrew Cagney <cagney@gnu.org>
55
56 * gdb.base/signull.c: Update copyright. Include <string.h>.
57 (bowler): Replace data_pointer with data_read
58 and data_write cases. Add code_descriptor case.
59 (zero, desc): New array and pointer.
60 (data, code): Change to simple pointers.
61 * gdb.base/signull.exp: Fix probe pattern matching a function
62 descriptor SIGSEGV. Replace data_pointer with data_read and
63 data_write tests.
64
acd4ad44
AC
652004-06-16 Andrew Cagney <cagney@gnu.org>
66
67 * gdb.base/long_long.exp, gdb.base/long_long.c: Rewrite.
68
08fd625c
MC
692004-06-15 Michael Chastain <mec.gnu@mindspring.com>
70
71 * gdb.base/long_long.c: Add copyright notice.
72
1903502c
MC
732004-06-15 Michael Chastain <mec.gnu@mindspring.com>
74
75 * gdb.base/long_long.exp: Remove reference to
76 bug-gdb@prep.ai.mit.edu. Change line-number-specific breakpoint
77 to gdb_breakpoint and gdb_continue_to_breakpoint.
78
83313cb1
JB
792004-06-14 Jim Blandy <jimb@redhat.com>
80
81 * gdb.arch/e500-regs.exp: Fix up 'print' pattern for the little-
82 endian case.
83
1bf404ef
AC
842004-06-14 Andrew Cagney <cagney@gnu.org>
85
86 * gdb.base/gcore.exp (capture_command_output): Delete the always
87 passing tests containing inferior values.
88 * gdb.base/ending-run.exp: Do not include the breakpoint address
89 in the test message. Update copyright.
90 * gdb.base/sizeof.exp (check_sizeof): Do not include the type's
91 size in the test name, use gdb_test_multiple. Update copyright.
92
ef220b33
MC
932004-06-14 Michael Chastain <mec.gnu@mindspring.com>
94
95 * gdb.cp/ref-types.cc: Add copyright notice.
96
4f70a4c9
MC
972004-06-14 Michael Chastain <mec.gnu@mindspring.com>
98
99 * lib/compiler.c: Remove gcc_compiled, hp_cc_compiler,
100 hp_aCC_compiler.
101 * lib/compiler.cc: Likewise.
102 * lib/gdb.exp (get_compiler_info): Eval lines only if they are
103 'set' commands. Log diagnostics for other lines. Set
104 gcc_compiled, hp_cc_compiler, and hp_aCC_compiler.
105
335928ac
MC
1062004-06-13 Michael Chastain <mec.gnu@mindspring.com>
107
108 * gdb.cp/try_catch.cc: Add copyright notice.
109
2efb12e8
MC
1102004-06-12 Michael Chastain <mec.gnu@mindspring.com>
111
112 * gdb.cp/userdef.cc: Add copyright notice.
113
0bbed51a
MC
1142004-06-11 Michael Chastain <mec.gnu@mindspring.com>
115
116 * gdb.cp/virtfunc.cc: Add copyright notice.
117
e12a46c9
RC
1182004-06-11 Randolph Chung <tausq@debian.org>
119
120 * gdb.base/structs2.exp: Mark two tests as xfail because of a compiler
121 problem.
122
338e05af
AC
1232004-06-10 Andrew Cagney <cagney@gnu.org>
124
125 * lib/compiler.cc, lib/compiler.c: Append either
126 __GNUC_PATCHLEVEL__, or "unknown" to the compiler_info.
127 * gdb.base/structs.exp (test_struct_calls): Check for gcc-3-3-*
128 instead of gcc-3-3.
129
dc3f10cb
AC
1302004-06-09 Andrew Cagney <cagney@gnu.org>
131
b4d946af
AC
132 * gdb.base/structs.exp (test_struct_calls): Fix KFAIL for
133 gdb/1455, bug is specific to "long long" and "double".
134
dc3f10cb
AC
135 * gdb.base/structs.exp (test_struct_returns, test_struct_returns)
136 (test_struct_calls): Remove KFAIL of "long double" on i*86-*-*,
137 x86_64-*-*, sparc64-*-*, and sparc*-*-solaris2*. PR tdep/1447
138 fixed.
139
b5c0bfa2
AC
1402004-06-09 Andrew Cagney <cagney@gnu.org>
141
142 * gdb.base/structs.exp (test_struct_returns): Replace
143 "return_value_unknown" and "finish_value_unknown" by
144 "return_value_known" and "finish_value_known". Instead of
145 "return_value_unknown" iff "finish_value_unknown", check
146 "return_value_known" implies "finish_value_known".
147
caeb605f
MH
1482004-06-08 Martin Hunt <hunt@redhat.com>
149
150 * gdb.base/float.exp: Add pattern for mips targets.
151
c892bb64
RC
1522004-06-08 Randolph Chung <tausq@debian.org>
153
154 * gdb.base/float.exp: Add pattern for hppa*-* target; make the failure
155 message for unknown architectures more clear.
156
48306d3e
JB
1572004-06-08 Joel Brobecker <brobecker@gnat.com>
158
159 * gdb.ada/null_record.exp: Use "start" instead of "begin" to
160 start the execution of the program.
161
83ecb59f
JB
1622004-06-07 Jim Blandy <jimb@redhat.com>
163
164 * gdb.arch/i386-sse.exp, gdb.arch/i386-sse.c: New tests.
165 * gdb.arch/i386-cpuid.h: New helper file.
166
55264cb4
RC
1672004-06-07 Randolph Chung <tausq@debian.org>
168
169 * gdb.base/shlib-call.exp: Allow breakpoint to be added after inferior
170 has started.
171
23cadb28
RM
1722004-06-04 Roland McGrath <roland@redhat.com>
173
174 Fix PR gdb/1647.
175 * gdb.base/auxv.exp (fetch_auxv): Revert last change and fix it
176 differently to be robust to output buffering differences.
177
51d01eda
MC
1782004-06-04 Michael Chastain <mec.gnu@mindspring.com>
179
180 * gdb.threads/pthreads.exp: Update copyright years.
181 (check_control_c): Change asynchronous 'after' to synchronous.
182
f4fc3b93
RM
1832004-06-04 Roland McGrath <roland@redhat.com>
184
185 * gdb.base/auxv.exp (fetch_auxv): Consume output fully through
186 next gdb prompt.
187
4013522b
MC
1882004-06-02 Michael Chastain <mec.gnu@mindspring.com>
189
190 Fix PR gdb/1636.
191 * gdb.threads/manythreads.exp: Change asynchronous 'after'
192 calls to synchronous.
193
7a8f1e6b
JB
1942004-05-26 Jim Blandy <jimb@redhat.com>
195
196 * gdb.arch/e500-prologue.exp, gdb.arch/e500-prologue.c: New tests.
197
81bb3443
RC
1982004-05-24 Randolph Chung <tausq@debian.org>
199
200 * gdb.asm/asm-source.exp: Enable test for hppa-linux target.
201 * gdb.asm/pa.inc: New file.
202
8f5a3103
MK
2032004-05-22 Mark Kettenis <kettenis@gnu.org>
204
205 * gdb.base/signull.c: Use sigjmp_buf instead of jmp_buf.
206
734b8fe8
JB
2072004-05-21 Joel Brobecker <brobecker@gnat.com>
208 Daniel Jacobowitz <drow@mvista.com>
209
210 * lib/gdb.exp (gdb_test_multiple): Improve regexp matching the
211 GDB prompt.
212
725603e1
UW
2132004-05-20 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
214
f4fc3b93 215 * gdb.base/signull.c: Use sigsetjmp/siglongjmp instead of
725603e1
UW
216 setjmp/longjmp. Use sigaction instead of signal.
217
8b923272
JB
2182004-05-19 J. Brobecker <brobecker@gnat.com>
219 Michael Snyder <msnyder@redhat.com>
220
221 * gdb.threads/pthread_cond_wait.c: New file.
222 * gdb.threads/pthread_cond_wait.exp: New testcase.
223
8bfabb04
AC
2242004-05-13 Andrew Cagney <cagney@redhat.com>
225
226 * gdb.base/signull.exp, gdb.base/signull.c: New files.
227 * gdb.base/gdb1476.c, gdb.base/gdb1476.exp: Delete files.
228
42edda50
AC
2292004-05-11 Andrew Cagney <cagney@redhat.com>
230
231 * gdb.base/sigstep.exp (advancei): Update KFAILs. gdb/1613 is
232 fixed but revealed gdb/1639.
233
d303a6c7
AC
2342004-05-10 Andrew Cagney <cagney@redhat.com>
235
236 * gdb.base/signals.exp (signal_tests_1): Simplify "continue to
237 func1" and "next to 2nd alarm", kernel bug avoided.
238
bf08c2a1
DJ
2392004-05-10 Daniel Jacobowitz <dan@debian.org>
240
241 PR external/1568
242 * gdb.base/bigcore.exp: Check the size of the dumped core file.
243 XFAIL if it is smaller than bytes_allocated.
244 * gdb.base/bigcore.c (bytes_allocated): Make static and unsigned.
245 (main): Make chunks_allocated unsigned. Correct comment.
246
c0586a34
JB
2472004-05-07 Joel Brobecker <brobecker@gnat.com>
248
249 * gdb.arch/powerpc-aix-prologue.c: New file.
250 * gdb.arch/powerpc-aix-prologue.exp: New file.
251
f2785d12
JB
2522004-05-07 Jim Blandy <jimb@redhat.com>
253
254 * gdb.base/lineinc.exp, gdb.base/lineinc1.h, gdb.base/lineinc2.h,
255 gdb.base/lineinc3.h, gdb.base/lineinc.c: New tests.
256
bd7f6e30
JB
2572004-05-06 Joel Brobecker <brobecker@gnat.com>
258
259 * gdb.base/sep.exp: No longer setup_kfail when the program was
260 built with dwarf2.
261
0a5e7efe
JI
2622004-05-05 Jim Ingham <jingham@apple.com>
263
264 * gdb.base/pending.exp: Make sure pending breakpoints
265 preserve the ignore count.
f4fc3b93 266
a8958849
MK
2672004-04-27 Jerome Guitton <guitton@gnat.com>
268
269 * i386-prologue.exp: Add testcase for jump instruction as first
270 instruction of the real code.
271 * i386-prologue.c (jump_at_beginning): New function.
272
7e103f5b
MK
2732004-04-28 Mark Kettenis <kettenis@gnu.org>
274
275 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1624 on
276 x86_64-*-*.
277
5d38b224
MK
2782004-04-28 Mark Kettenis <kettenis@gnu.org>
279
280 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1623 on
281 i*86-*-*.
282
0ef32fd9
MK
2832004-04-25 Mark Kettenis <kettenis@gnu.org>
284
285 * gdb.base/call-sc.exp (start_scalars_test): Fix regular
286 expression that checks the return type.
287
71d7dd7c
AC
2882004-04-23 Andrew Cagney <cagney@redhat.com>
289
290 * gdb.base/call-sc.exp: New test of scalar call/return values.
291 * gdb.base/call-sc.c: Ditto.
292
1e9f977e
JJ
2932004-04-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
294
295 * gdb.threads/manythreads.c: Reduce thread stack size.
296
899d9e3a
JJ
2972004-04-23 Jeff Johnston <jjohnstn@redhat.com>
298
299 * gdb.threads/manythreads.c: Add copyright notice.
300
61bcae62
AC
3012004-04-23 Andrew Cagney <cagney@redhat.com>
302
303 * gdb.base/siginfo.exp: Better handle step out of signal.
304 * gdb.base/sigstep.exp: Ditto.
305
7339a42e
JJ
3062004-04-22 Jeff Johnston <jjohnstn@redhat.com>
307 Daniel Jacobowitz <drow@mvista.com>
308
309 * gdb.threads/manythreads.c: New testcase.
310 * gdb.threads/manythreads.exp: Ditto.
311
5c98409b
JB
3122004-04-22 Jim Blandy <jimb@redhat.com>
313
314 * gdb.stabs/exclfwd.exp, gdb.stabs/exclfwd1.c,
315 gdb.stabs/exclfwd2.c, gdb.stabs/exclfwd.h: New test.
316
3b611f1a
MC
3172004-04-21 Michael Chastain <mec.gnu@mindspring.com>
318
319 * gdb.stabs/weird.exp: Accept full pathname for $binfile.
320
f0fd9238
AC
3212004-04-21 Andrew Cagney <cagney@redhat.com>
322
323 * gdb.base/sigstep.c: New file.
324 * gdb.base/sigstep.exp: New file.
325
90990674
JB
3262004-04-16 Joel Brobecker <brobecker@gnat.com>
327
328 * gdb.gdb/observer.exp (test_normal_stop_notifications): Update
329 call to observer_notify_normal_stop.
330
78cef34b
AC
3312004-04-15 Andrew Cagney <cagney@redhat.com>
332
333 * gdb.base/siginfo.c: New file.
334 * gdb.base/siginfo.exp: New file.
335
d2343407
JB
3362004-04-12 J. Brobecker <brobecker@gnat.com>
337
338 * gdb.base/sep.exp: Fix typo in comment.
339
a2dba3c8
JB
3402004-04-12 J. Brobecker <brobecker@gnat.com>
341
342 * gdb.base/sep.c: New file.
343 * gdb.base/sep-proc.c: New file.
344 * gdb.base/sep.exp: New testcase.
345
15f7b60e
MK
3462004-04-09 Mark Kettenis <kettenis@gnu.org>
347
348 * gdb.base/bigcore.exp: Disable on Solaris; no sparse core file
349 support.
350
44f4de1a
AC
3512004-04-05 Andrew Cagney <cagney@redhat.com>
352
353 * gdb.base/sigaltstack.c: New file.
354 * gdb.base/sigaltstack.exp: New file.
355
ef04f396
JB
3562004-04-04 Joel Brobecker <brobecker@gnat.com>
357
358 * gdb.base/foll-fork.exp: Update the expected output for
359 "help set follow-fork-mode", to match a change that was made
360 to the help of this variable on 2004-01-13.
361
d40d2c92
JB
3622004-04-01 Joel Brobecker <brobecker@gnat.com>
363
364 * lib/ada.exp: Add copyright notice.
365 * bar.ads: Likewise.
366 * bar.adb: Likewise.
367 * null_record.adb: Likewise.
368 * null_record.exp: Likewise.
369 * gnat_ada.gpr.in: Likewise. Fix typo in a comment, clarify another.
370
f86ef5a3
JB
3712004-04-01 Joel Brobecker <brobecker@gnat.com>
372
373 * configure.in: Generate gdb.ada/Makefile and gdb.ada/gnat_ada.gpr.
374 * configure: Regenerate.
375
414e70e3
JB
3762004-04-01 Joel Brobecker <brobecker@gnat.com>
377
378 * lib/ada.exp (gdb_compile_ada): Emit UNSUPPORTED if we failed
379 to build the application. Remove the message printed when in
380 verbose mode, redundant with the UNSUPPORTED message above.
381
f0aaee49
JB
3822004-03-31 Joel Brobecker <brobecker@gnat.com>
383
384 * gdb.ada (bar.ads, bar.adb, null_record.adb): New files.
385 * gdb.ada (null_record.exp): New testcase.
386
ac81cb54
JB
3872004-03-31 Joel Brobecker <brobecker@gnat.com>
388
389 * Makefile.in (ALL_SUBDIRS) Add gdb.ada.
390
854af2f7
JB
3912004-03-31 Joel Brobecker <brobecker@gnat.com>
392
393 * gdb.ada: New subdirectory.
394 * gdb.ada/Makefile.in: New file.
395 * gdb.ada/gnat_ada.gpr.in: New file.
396
034cb681
JB
3972004-03-31 Joel Brobecker <brobecker@gnat.com>
398
399 * lib/ada.exp: New file.
400
78a1a894
DJ
4012004-03-24 Daniel Jacobowitz <drow@mvista.com>
402
403 * gdb.base/gdb1250.exp: Use runto {allow-pending}.
404 * lib/gdb.exp (runto, gdb_breakpoint): Support {allow-pending}.
405
4b2b3b3e
AC
4062004-03-22 Andrew Cagney <cagney@redhat.com>
407
408 * gdb.base/watchpoint.exp (test_stepping): Delete bogus XFAILs
409 hiding problems with DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET.
410 Problem identified by Ulrich Weigand.
411
23c73aa3
DC
4122004-03-17 David Carlton <carlton@kealia.com>
413
414 * gdb.cp/classes.exp (test_enums): Refer to PR c++/1588 instead of
415 PR c++/826.
416
d63a86f8
RM
4172004-03-16 Roland McGrath <roland@redhat.com>
418
419 * gdb.base/auxv.exp: New file.
420 * gdb.base/auxv.c: New file, copied verbatim from coremaker2.c.
421
0e02aa50
DC
4222004-03-12 David Carlton <carlton@kealia.com>
423
424 * gdb.cp/pr-1553.exp: New. Tests for PR c++/1553.
425 * gdb.cp/pr-1553.cc: Ditto.
426 * gdb.cp/local.exp (ptype NestedInnerLocal): Add comment, third
427 pass branch.
428
c20b71be
MC
4292004-03-12 Michael Chastain <mec.gnu@mindspring.com>
430
431 * gdb.cp/templates.exp: Accept more template types.
432
c7414a01
MC
4332004-03-09 Michael Chastain <mec.gnu@mindspring.com>
434
435 From Corinna Vinschen with modifications.
436 * gdb.cp/classes.cc (enums1): Add a line to extend scope of
437 local variable obj_with_enum.
438 * gdb.cp/classes.exp (test_enums): Remove TODO note about FAIL
439 results with obj_with_enum.
440
ed69573c
MC
4412004-03-09 Michael Chastain <mec.gnu@mindspring.com>
442
443 * gdb.cp/classes.cc: New file, copied from misc.cc.
444 * gdb.cp/classes.exp: Use classes.cc rather than misc.cc.
445
28301461
MC
4462004-03-09 Michael Chastain <mec.gnu@mindspring.com>
447
448 * gdb.cp/misc.cc: Add copyright notice.
449
1198ecbe
DC
4502004-03-05 David Carlton <carlton@kealia.com>
451
452 * gdb.cp/rtti.exp: Add 'print *obj3' test.
453 * gdb.cp/rtti.h: Update copyright.
454 (namespace n2::n3): New.
455 * gdb.cp/rtti1.cc: (refer_to (n2::n3::C3 *)): New.
456 (n2::n3::func3): New.
457 (main): Call n2::n3::func3.
458 * gdb.cp/rtti2.cc: Update copyright.
459 (n2::create3): New.
460
9e08c470
MK
4612004-03-04 Mark Kettenis <kettenis@gnu.org>
462
463 * gdb.asm/openbsd.inc: Fix typo.
464
4bebc3aa
FF
4652004-03-03 Fred Fish <fnf@redhat.com>
466
467 * gdb.base/pc-fp.exp (get_valueofx): Fix apparent typo to now set
468 "val" instead of unused "size". Update copyright year.
469
6ea9fb37
DJ
4702004-02-29 Daniel Jacobowitz <drow@mvista.com>
471
472 * gdb.cp/ctti.exp: Handle unsigned char type. Expect templates
473 to use unsigned char.
474 * gdb.cp/cttiadd.c, gdb.cp/cttiadd1.c, gdb.cp/cttiadd2.c,
475 gdb.cp/cttiadd3.c: Change type of variable to unsigned char.
476
23b23974
DJ
4772004-02-29 Daniel Jacobowitz <drow@mvista.com>
478
479 * config/gdbserver.exp (gdbserver_gdb_load): Wait for a complete
480 line of output.
481
7574fd53
DJ
4822004-02-28 Daniel Jacobowitz <drow@mvista.com>
483
484 * gdb.base/relocate.c (dummy): Initialize.
485
a195357f
DJ
4862004-02-28 Daniel Jacobowitz <drow@mvista.com>
487
488 * gdb.base/chng-syms.exp: Anchor exit pattern. Allow
489 a breakpoint at exit.
490
72fd54a9
FF
4912004-02-27 Fred Fish <fnf@redhat.com>
492
493 * gdb.base/chng-syms.exp: Add expect condition to match failing
494 case that isn't a timeout.
495
b9d23137
AC
4962004-02-27 Andrew Cagney <cagney@redhat.com>
497
498 * gdb.base/bigcore.exp: Disable on HP/UX, no sparse corefile
499 support.
500
15d208f6 5012004-02-26 Fred Fish <fnf@redhat.com>
d63a86f8 502
15d208f6
FF
503 * gdb.arch/gdb1431.c: Remove.
504 * gdb.arch/gdb1431.s: New file, copy of gdb1291.s
505 * gdb.arch/gdb1431.exp: Use "advance" correctly instead
506 of "until" incorrectly.
507
98f9cd2d
JB
5082004-02-26 J. Brobecker <brobecker@gnat.com>
509
510 * gdb.cp/class2.cc (empty): New class.
511 (refer): New function.
512 (main): Declare an object of type empty and use it.
513 * gdb.cp/class2.exp: Print the value of an object of type empty.
514
9b50c11b
JJ
5152004-02-26 Jeff Johnston <jjohnstn@redhat.com>
516
517 * gdb.base/langs.exp: Update query string to match the
518 new nquery format used for pending breakpoints.
519
0dcd613f
AC
5202004-02-26 Andrew Cagney <cagney@redhat.com>
521
522 Fix PR i18n/1570.
523 * gdb.base/charset.c: Update copyright notice.
524 (main, init_string): Remove the escape character '\e' tests.
525 * gdb.base/printcmds.exp (test_print_all_chars): Ditto.
526 * gdb.base/charset.exp (valid_host_charset): Ditto.
527 * gdb.base/setvar.exp: Ditto.
528
b8a56647
AC
5292004-02-24 Andrew Cagney <cagney@redhat.com>
530
90d59e34
AC
531 * gdb.base/corefile.exp: Use gdb_test_multiple, make "accessing
532 mmapped data in core file" PASS and FAIL messages consistent.
533
b8a56647
AC
534 * gdb.java/jmisc.exp: Use the fully quallified name of "main" when
535 setting a breakpoint. Work around PR java/1565.
536
9f27c604
JJ
5372004-02-23 Jeff Johnston <jjohnstn@redhat.com>
538
539 * lib/gdb.exp (gdb_breakpoint): Update query string to match
540 new nquery format.
541 * gdb.base/pending.exp: Ditto.
542
3224a706
MK
5432004-02-22 Mark Kettenis <kettenis@gnu.org>
544
545 * configure.in: Run stabs tests on *BSD.
546 * configure: Regenerated.
547
41e0a9ca
MK
5482004-02-21 Mark Kettenis <kettenis@gnu.org>
549
550 * gdb.base/bigcore.exp: Bail out on *BSD instead of only NetBSD.
551
1e1b3428
FF
5522004-02-20 Fred Fish <fnf@redhat.com>
553
554 * gdb.base/callfuncs.exp (do_function_calls): Remove extraneous
555 blank in test for "returns short", for consistency with other
556 "returns xxx" tests. Update copyright year.
557
f9a7572a
FF
5582004-02-19 Fred Fish <fnf@redhat.com>
559
560 New testcase for PR breakpoint/1558.
561 * gdb.arch/gdb1558.exp: New file.
562 * gdb.arch/gdb1558.c: New file.
563
b2ce2854
EZ
5642004-02-19 Elena Zannoni <ezannoni@redhat.com>
565
566 * gdb.base/nodebug.exp: Fix typo.
567
e7c9ff01
JB
5682004-02-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
569
570 Committed by Jim Blandy <jimb@redhat.com>.
571
62f4b920
JB
572 * gdb.objc/basicclass.exp: Adapt to fixed return type of printHi.
573
2db536a1
JB
574 * gdb.base/dump.exp: Handle negative offsets in decimal, not hex.
575
e7c9ff01
JB
576 * gdb.base/float.exp: Support s390*-*-* targets.
577
f3205b34
AF
5782004-02-17 Adam Fedor <fedor@gnu.org>
579
580 * gdb.base/gdb1555.exp: New file.
581 * gdb.base/gdb1555-main.c, gdb.base/gdb1555.c: New files.
582
9d62932d
EZ
5832004-02-17 Elena Zannoni <ezannoni@redhat.com>
584
585 * gdb.base/selftest.exp (do_steps_and_nexts): Add comment.
586
344c9711
FF
5872004-02-16 Fred Fish <fnf@redhat.com>
588
589 * gdb.arch/gdb1291.c: Remove
590 * gdb.arch/gdb1291.s: New test input file.
591 * gdb.arch/gdb1291.exp: Expand test to check case that should not
592 fail. Test for correct result, known incorrect result, other
593 failures and timeouts.
594
2d822687
AC
5952004-02-16 Andrew Cagney <cagney@redhat.com>
596
597 * gdb.base/bigcore.exp: New file.
598 * gdb.base/bigcore.c: New file.
599
dac15b66
AC
6002004-02-13 Andrew Cagney <cagney@redhat.com>
601
602 * gdb.mi/mi1-basics.exp, gdb.mi/mi1-break.exp: Delete file.
603 * gdb.mi/mi1-console.exp, gdb.mi/mi1-disassemble.exp: Delete file.
604 * gdb.mi/mi1-eval.exp, gdb.mi/mi1-hack-cli.exp: Delete file.
605 * gdb.mi/mi1-pthreads.exp, gdb.mi/mi1-read-memory.exp: Delete file.
606 * gdb.mi/mi1-regs.exp, gdb.mi/mi1-return.exp: Delete file.
607 * gdb.mi/mi1-simplerun.exp, gdb.mi/mi1-stack.exp: Delete file.
608 * gdb.mi/mi1-stepi.exp, gdb.mi/mi1-symbol.exp: Delete file.
609 * gdb.mi/mi1-until.exp, gdb.mi/mi1-var-block.exp: Delete file.
610 * gdb.mi/mi1-var-child.exp, gdb.mi/mi1-var-cmd.exp: Delete file.
611 * gdb.mi/mi1-var-display.exp, gdb.mi/mi1-watch.exp: Delete file.
612
6bdfc2c4
JJ
6132004-02-11 Jeff Johnston <jjohnstn@redhat.com>
614
615 * gdb.asm/ia64.inc (gdbasm_startup): Make sure first instruction
616 executed is an alloc instruction.
617
87b3ede8
DC
6182004-02-11 David Carlton <carlton@kealia.com>
619
620 * gdb.cp/breakpoint.exp: New.
621 * gdb.cp/breakpoint.cc: New.
622
6e19e2bf
MC
6232004-02-11 Michael Chastain <mec.gnu@mindspring.com>
624
625 Partial fix for PR gdb/1543.
626 * gdb.cp/ambiguous.exp, gdb.cp/annota2.exp, gdb.cp/annota3.exp,
627 gdb.cp/anon-union.exp, gdb.cp/casts.exp, gdb.cp/classes.exp,
628 gdb.cp/cplusfuncs.exp, gdb.cp/ctti.exp, gdb.exp/demangle.exp,
629 gdb.cp/derivation.exp, gdb.cp/exception.exp, gdb.cp/hang.exp,
630 gdb.cp/inherit.exp, gdb.cp/local.exp, gdb.cp/maint.exp,
631 gdb.cp/member-ptr.exp, gdb.cp/method.exp, gdb.cp/misc.exp,
632 gdb.cp/namespace.exp, gdb.cp/overload.exp, gdb.cp/ovldbreak.exp,
633 gdb.cp/psmang.exp, gdb.cp/ref-types.exp, gdb.cp/templates.exp,
634 gdb.cp/userdef.exp, gdb.cp/virtfunc.exp: Remove reference
635 to bug-gdb@prep.ai.mit.edu .
636 * gdb.cp/bs15503.cc, gdb.cp/class2.cc, gdb.cp/cttiadd.cc,
637 gdb.cp/cttiadd1.cc, gdb.cp/cttiadd2.cc, gdb.cp/cttiadd3.cc,
638 gdb.cp/exception.cc, gdb.cp/member-ptr.cc, gdb.cp/namespace1.cc:
639 Likewise.
640
5c5455dc
AC
6412004-02-10 Andrew Cagney <cagney@redhat.com>
642
643 * lib/gdb.exp (gdb_expect_list): Recover from internal-errors
644 using gdb_internal_error_resync.
645
9cf689d7
DJ
6462004-02-09 Daniel Jacobowitz <drow@mvista.com>
647
648 * gdb.threads/thread-specific.exp: Stop early if no threads are
649 found.
650
d2dc51db
MC
6512004-02-09 Michael Chastain <mec.gnu@mindspring.com>
652
653 * gdb.base/pending.exp: Remove extra \n from gdb_test calls.
654
14b1a056
DJ
6552004-02-08 Daniel Jacobowitz <drow@mvista.com>
656
657 * lib/gdb.exp (gdb_breakpoint): Fail on unexpected pending
658 breakpoints.
659
83f66e8f
DJ
6602004-02-07 Daniel Jacobowitz <drow@mvista.com>
661
662 * config/sim.exp (gdb_load): Handle $arg == "".
663 * lib/gdb.exp (gdb_run_cmd): Honor gdb,do_reload_on_run.
664 * gdb.objc/basicclass.exp: Use gdb_run_cmd.
665
30fc0091
EZ
6662004-02-07 Elena Zannoni <ezannoni@redhat.com>
667
668 * gdb.base/maint.exp: Update test to reflect
669 obstack changes.
670
4d806929
JJ
6712004-02-04 Jeff Johnston <jjohnstn@redhat.com>
672
673 * gdb.base/pendshr.c (pendfunc): New function that calls
674 pendfunc1.
675 * gdb.base/pending.c: Call pendfunc instead of pendfunc1.
676
7bfdd688
FF
6772004-02-04 Fred Fish <fnf@redhat.com>
678
679 * gdb.arch/gdb1431.c: Add underbar prefixed version of global
680 function symbols and update copyright years.
681 * gdb.arch/gdb1291.c: Ditto.
682
aaa08ee4
MC
6832004-02-03 Michael Chastain <mec.gnu@mindspring.com>
684
685 * gdb.cp/virtfunc.exp: Accept both "ctor()" and "ctor(void)".
686
dbad7755
MC
6872004-02-03 Michael Chastain <mec.gnu@mindspring.com>
688
689 * gdb.cp/inherit.exp: Accept both "ctor()" and "ctor(void)".
690
ec4646ef
MC
6912004-02-03 Michael Chastain <mec.gnu@mindspring.com>
692
693 * gdb.cp/inherit.exp: Accept output with gcc 3.2-7-rh.
694
1b802196
FF
6952004-02-02 Fred Fish <fnf@redhat.com>
696
697 * gdb.base/bang.exp: Use gdb_run_cmd so this tests works with
698 remote targets. Update copyright years.
699
18fe2033
JJ
7002004-02-02 Jeff Johnston <jjohnstn@redhat.com>
701
702 * lib/gdb.exp (gdb_breakpoint): Add pending breakpoint
703 support.
704 * gdb.base/langs.exp: Fix test which attempts to create
705 breakpoint on non-existent function to handle new pending
706 support.
707 * gdb.base/shlib-call.exp: Use gdb_breakpoint to set
708 a breakpoint.
709 * gdb.base/pending.exp: New test.
710 * gdb.base/pending.c: New file.
711 * gdb.base/pendshr.c: Ditto.
712
8d577d32
DC
7132004-02-02 David Carlton <carlton@kealia.com>
714
715 * gdb.cp/overload.exp: Add overloadNamespace tests.
716 * gdb.cp/overload.cc (dummyClass, dummyInstance): New.
717 (overloadNamespace, XXX): New.
718 (main): Call XXX::marker2.
719
3ad13771
FF
7202004-02-01 Fred Fish <fnf@redhat.com>
721
722 * gdb.base/dump.exp: Use runto_main instead of "runto main".
723 * gdb.base/finish.exp: Ditto.
724 * gdb.base/gcore.exp: Ditto.
725 * gdb.base/huge.exp: Ditto.
726 * gdb.base/info-proc.exp: Ditto.
727 * gdb.base/return2.exp: Ditto.
728 * gdb.threads/gcore-thread.exp: Ditto.
729
44c75849
DJ
7302004-02-01 Daniel Jacobowitz <drow@mvista.com>
731
732 * gdb.threads/thread-specific.exp: Add missing anchor to regexp.
733
005bc093
MK
7342004-02-01 Mark Kettenis <kettenis@gnu.org>
735
736 * gdb.base/fileio.c (test_open): Replace O_RDONLY with O_RDWR such
737 that opening the file succeeds on OpenBSD.
738
c47cebdb
DJ
7392004-02-01 Daniel Jacobowitz <drow@mvista.com>
740
741 * gdb.threads/thread-specific.c: New file.
742 * gdb.threads/threads-specific.exp: New test script.
743 * lib/gdb.exp (gdb_test_multiple): Allow user patterns access
744 to expect_out.
745
5a01311c
MK
7462004-02-01 Mark Kettenis <kettenis@gnu.org>
747
748 * gdb.base/call-ar-st.exp: Call get_debug_format. Remove xfail on
749 sparc*-*-solaris* into a kfail PR gdb/1539 on sparc-*-* for stabs
750 only on the "print_small_structs from print_long_arg_list" test.
751
ce22a4f1
DJ
7522004-02-01 Daniel Jacobowitz <drow@mvista.com>
753
754 * gdb.base/completion.exp: Kill a stray backslash.
755
756 From Jim Ingham <jingham@apple.com>:
757 * gdb.base/completion.exp: Test that "complete file ./gdb.base/compl"
758 agrees with the result from sending a tab.
759
abbab9d3
DJ
7602004-01-31 Daniel Jacobowitz <drow@mvista.com>
761
762 * gdb.base/chng-syms.exp: Remove stray newline.
763
53904d1e
MK
7642004-01-31 Mark Kettenis <kettenis@gnu.org>
765
766 * gdb.asm/asm-source.exp: Set asm-note to "openbsd" for
767 *-*-openbsd*.
768 * gdb.asm/openbsd.inc: New file.
769
3a4b3aac
MK
7702004-01-30 Mark Kettenis <kettenis@gnu.org>
771
772 * gdb.asm/asm-source.exp: Strip -Wl, from link-flags. Don't
773 append -static to link-flags for *-*-freebsd*, *-*netbsd* and
774 *-*solaris2*. Remove commented out default settings for
775 asm-flags. Replace gdb_compile with target_link.
776
ebac27b4
MC
7772004-01-29 Michael Chastain <mec.gnu@mindspring.com>
778
779 * gdb.cp/inherit.exp: Rewrite. Use gdb_test_multiple and gdb
780 for all tests. Remove old hp-ux and cygnus xfail cases.
781
d8679d84
PH
7822004-01-29 Paul N. Hilfinger <Hilfinger@gnat.com>
783
784 * gdb.base/chng-syms.exp: New file.
785 * gdb.base/chng-syms.c: New file.
786
0a55bc22
MC
7872004-01-24 Michael Chastain <mec.gnu@mindspring.com>
788
789 * gdb.cp/local.exp: Rewrite "ptype Local". Add "ptype l".
790 Provide arms for current output in all my configurations.
791
94b8e876
MC
7922004-01-24 Michael Chastain <mec.gnu@mindspring.com>
793
794 * lib/compiler.c: Add hp_cc_compiler and hp_aCC_compiler.
795 * lib/compiler.cc: Likewise.
796 * lib/gdb.exp (get_compiler_info): Always call gdb_compile to
797 get the right preprocessor. Eval the output directly. Remove
798 special tests for hp_cc_compiler and hp_aCC_compiler. Remove
799 hp_f77_compiler and hp_f90_compiler completely.
800 (gdb_preprocess): Delete.
801 (get_compiler): Delete.
802
7cf03d44
MK
8032004-01-24 Mark Kettenis <kettenis@gnu.org>
804
805 * gdb.base/charset.c, gdb.base/dump.c, gdb.base/huge.c: Include
806 <string.h>.
807
68b6dce9
NR
8082004-01-24 Nick Roberts <nick@nick.uklinux.net>
809
810 * gdb.mi/mi-stack.exp: Update copyright.
811
b368761e
DC
8122004-01-23 David Carlton <carlton@kealia.com>
813
814 * gdb.cp/rtti.exp: Don't include full path in ${srcfile}. Add
815 test for cp_lookup_transparent_type.
816 * gdb.cp/rtti1.cc: Update copyright. Add n2::func and refer_to;
817 call them.
818
f2061b53
DJ
8192004-01-23 Daniel Jacobowitz <drow@mvista.com>
820
821 * gdb.mi/mi-var-child.exp: Update copyright year. Move new test
822 after -var-update.
823
37fc574a
DC
8242004-01-23 David Carlton <carlton@kealia.com>
825
826 * gdb.cp/namespace.cc (C::ensureRefs): New.
827 * gdb.cp/namespace1.cc (C::ensureOtherRefs): New.
828
8e94b928
NR
8292004-01-20 Nick Roberts <nick@nick.uklinux.net>
830
831 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Test for
832 case "-stack-list-locals 2".
833 * gdb.mi/mi-var-child.exp: Test for case
834 "-var-list-children --all-values NAME".
835
997b0952
MC
8362004-01-18 Michael Chastain <mec.gnu@mindspring.com>
837
838 * gdb.cp/local.exp: Accept correct output for gcc v3 -gstabs+.
839
52470da3
MK
8402004-01-18 Mark Kettenis <kettenis@gnu.org>
841
7049b4b8
MK
842 * gdb.base/fileio.exp: Add "$gdb_prompt $" anchors to patterns
843 used with gdb_test_multiple.
844
52470da3
MK
845 * gdb.base/gdb1476.exp: Accept alternat pattern for failed memory
846 read at address 0. This fixes PR testsuite/1504.
847
da6012e5
DJ
8482004-01-18 Daniel Jacobowitz <drow@mvista.com>
849
850 * config/gdbserver.exp (gdbserver_gdb_load): Rename from gdb_load.
851 Remove downloading, guessing the host executable, the calls to
852 gdb_file_cmd and gdb_target_cmd, and "load" support.
853 (infer_host_exec): New function broken out from gdb_load.
854 (gdb_load): New wrapper for gdbserver_gdb_load.
855 * lib/mi-support.exp (mi_gdb_target_cmd): New function, based on
856 gdb_target_cmd. Use -target-select.
857 (mi_gdb_file_cmd): New function, broken out from mi_gdb_load.
858 Download binaries to the host. Clear last_mi_remote_file when
859 we load a new binary.
860 (mi_gdb_load): Call mi_gdb_file_cmd. If gdbserver.exp is loaded,
861 call gdbserver_gdb_load and mi_gdb_target_cmd.
862
32c70722
MC
8632004-01-17 Michael Chastain <mec.gnu@mindspring.com>
864
865 * gdb.cp/templates.exp: Accept more spaces with "<foo, ?bar>"
866 type patterns.
867
b0cecf36
MC
8682004-01-17 Michael Chastain <mec.gnu@mindspring.com>
869
870 * gdb.cp/templates.exp: Fix typo in test name of
871 "print Foo<volatile char*>::foo".
872
4120d7e6
MC
8732004-01-15 Michael Chastain <mec.gnu@mindspring.com>
874
875 * gdb.base/setvar.exp: Remove setup_xfail for hppa*-*-*11*.
876
f679e530
BE
8772004-01-16 Ben Elliston <bje@wasabisystems.com>
878
879 * gdb.arch/Makefile.in (MISCELLANEOUS): Remove.
880 (clean mostlyclean): Remove empty rm.
881
091c48f6
MC
8822004-01-15 Michael Chastain <mec.gnu@mindspring.com>
883
884 * gdb.base/setvar.exp: Add copyright years.
885
3e5fc8d2
DC
8862004-01-14 David Carlton <carlton@bactrian.org>
887
888 * gdb.cp/rtti.exp: Update copyright. KFAIL test with repect to
889 PR c++/1511 and update coment.
890 * gdb.cp/templates.exp: Update patterns to match current output.
891 If changes involve something other than whitespace, KFAIL
892 w.r.t. PR c++/1512 or PR c++/931 as appropriate.
893
63d06c5c
DC
8942004-01-14 David Carlton <carlton@kealia.com>
895
896 * gdb.cp/namespace.exp: Add tests involving classes defined within
897 namespaces.
898 * gdb.cp/namespace.cc (C::CClass): New.
899 * gdb.cp/namespace1.cc (C::OtherFileClass): New.
900
a51dab88
EZ
9012004-01-14 Elena Zannoni <ezannoni@redhat.com>
902
903 * gdb.base/sepdebug.exp: Bail out of the test if we don't know
904 what debug info we have. Print a better message if something goes
905 wrong while producing the separate debug info file.
906
a476ccc9
MC
9072004-01-14 Michael Chastain <mec.gnu@mindspring.com>
908
909 * gdb.base/callfuncs.c: Remove explicit declaration of malloc.
910
f453692c
MC
9112004-01-14 Michael Chastain <mec.gnu@mindspring.com>
912
913 * gdb.base/callfuncs.c: Add copyright notice.
914
f40063a5
MC
9152004-01-13 Michael Chastain <mec.gnu@mindspring.com>
916
917 * gdb.cp/derivation.exp: Add XFAIL for bug with protected
918 inheritance. PR gdb/1498, PR gcc/13539.
919
19ac3974
EZ
9202004-01-13 Elena Zannoni <ezannoni@redhat.com>
921
922 * gdb.threads/gcore-thread.exp: Prefix name of binary with
923 test specific name.
924 * gdb.mi/gdb669.exp: Ditto.
925 * gdb.mi/mi-pthreads.exp: Ditto.
926 * gdb.mi/mi1-pthreads.exp: Ditto.
927 * gdb.mi/mi2-pthreads.exp: Ditto.
928
56c97c6e
MC
9292004-01-12 Michael Chastain <mec.gnu@mindspring.com>
930
931 * gdb.cp/member-ptr.cc: Add copyright notice.
932
a0644324
MC
9332004-01-12 Michael Chastain <mec.gnu@mindspring.com>
934
935 * gdb.cp/member-ptr.exp: Use gdb_test, gdb_test_multiple. Add
936 some patterns for recent versions of gcc and hpacc. Delete
937 calls to setup_xfail for hppa*-*-*. Delete redundant tests.
938 Delete tests that access a NULL pointer-to-member-data. This
939 script is still disabled for gcc.
940
32fabe09
EZ
9412004-01-12 Elena Zannoni <ezannoni@redhat.com>
942
943 * gdb.mi/mi2-basics.exp: Make sure that full pathnames are
944 escaped correctly.
945
1f8a6abb
EZ
9462004-01-12 Elena Zannoni <ezannoni@redhat.com>
947
948 * gdb.base/sepdebug.exp: New file.
949 * gdb.base/sepdebug.c: New file.
950 * lib/gdb.exp (separate_debug_filename): New procedure.
951 (gdb_gnu_strip_debug): New procedure.
952
48efe704
AC
9532004-01-12 Andrew Cagney <cagney@redhat.com>
954
955 * gdb.mi/ChangeLog: Delete file. Renamed to ...
956 * gdb.mi/ChangeLog-1999-2003: New file.
957
a9415475
AC
9582004-01-12 Andrew Cagney <cagney@redhat.com>
959
960 * gdb.base/fileio.exp: Update copyright year. On GNU/Linux, for
961 "Renaming a directory to a non-empty directory returns ENOTEMPTY
962 or EEXIST", treat EBUSY as an XFAIL.
963
83b8cf9d
MC
9642004-01-11 Michael Chastain <mec.gnu@mindspring.com>
965
966 * gdb.base/scope.exp: Remove obsolete setup_xfail for
967 hp_cc_compiler.
968
9939d2a8
MC
9692004-01-10 Michael Chastain <mec.gnu@mindspring.com>
970
971 * gdb.cp/classes.exp: Remove old "(obsolescent gcc or gdb)"
972 decorations.
973
1ff8cadf
MC
9742004-01-10 Michael Chastain <mec.gnu@mindspring.com>
975
976 * gdb.cp/virtfunc.exp: Remove old "(obsolescent gcc or gdb)"
977 and "(aCC)" decorations. Remove obsolete doco about old
978 test results.
979
6fa9022e
MC
9802004-01-09 Michael Chastain <mec.gnu@mindspring.com>
981
982 * gdb.cp/exception.exp: Fix typo in doco.
983
209721fe
MK
9842004-01-09 Mark Kettenis <kettenis@gnu.org>
985
986 * gdb.base/gdb1476.exp: Fix typo.
987
ef11303e
MC
9882004-01-09 Michael Chastain <mec.gnu@mindspring.com>
989
990 * gdb.hp/gdb.aCC/exception.exp: Re-create as a nearly empty
991 file.
992
041ab88c
MC
9932004-01-09 Michael Chastain <mec.gnu@mindspring.com>
994
995 * gdb.cp/exception.cc: Change <iostream.h> to <iostream>.
996 * gdb.cp/exception.exp: Use gdb test, gdb_test_multiple.
997 Use gdb_compile. Remove restriction on gcc. Add some patterns
998 for recent version of gdb. Delete second half, which was a copy
999 of the first half with different build flags. This test is
1000 still disabled because it is still not ready for production.
1001
e36d075a
MC
10022004-01-08 Michael Chastain <mec.gnu@mindspring.com>
1003
1004 * gdb.cp/exception.cc: Add copyright notice.
1005 * gdb.cp/exception.exp: Add a notice that this file is broken
1006 because of line number changes caused by addition of copyright
1007 notice.
1008
42b190ad
MC
10092004-01-08 Michael Chastain <mec.gnu@mindspring.com>
1010
1011 * gdb.cp/exception.cc: Renamed from gdb.hp/gdb.aCC/exception.cc.
1012 * gdb.cp/exception.exp: Renamed from gdb.hp/gdb.aCC/exception.exp.
1013
8f25f06b
MC
10142004-01-08 Michael Chastain <mec.gnu@mindspring.com>
1015
1016 * gdb.cp/classes.exp: Accept gnu abi 2.
1017 * gdb.cp/derivation.exp: Likewise.
1018 * gdb.cp/overload.exp: Likewise.
1019 * gdb.cp/virtfunc.exp: Likewise.
1020
06ded8b8
MC
10212004-01-08 Michael Chastain <mec.gnu@mindspring.com>
1022
1023 * gdb.mi/pthreads.c (done_making_threads): Remove extraneous
1024 semicolon after end of function.
1025
77c26ae3
MC
10262004-01-07 Michael Chastain <mec.gnu@mindspring.com>
1027
1028 * gdb.cp/bs15503.cc: Include <iostream>, not <iostream.h>.
1029 * gdb.cp/bs15503.exp: Remove hp-only restriction. Use modern
1030 boilerplate code for compiling and running the program under
1031 test. Add some string method tests.
1032
20757486
MC
10332004-01-07 Michael Chastain <mec.gnu@mindspring.com>
1034
1035 * gdb.cp/bs15503.cc: Add copyright notice.
1036 * gdb.cp/bs15503.exp: Adjust line number.
1037
0fd3b503
MC
10382004-01-07 Michael Chastain <mec.gnu@mindspring.com>
1039
1040 * gdb.hp/gdb.defects/bs15503.exp: Renamed to gdb.cp/bs15503.exp.
1041 * gdb.hp/gdb.defects/bs15503.cc: Renamed to gdb.cp/bs15503.cc.
1042
10d1bea8
MC
10432004-01-07 Michael Chastain <mec.gnu@mindspring.com>
1044
1045 * gdb.base/funcargs.exp: Remove obsolete setup_xfail for
1046 hp_cc_compiler.
1047
2789202a
MC
10482004-01-07 Michael Chastain <mec.gnu@mindspring.com>
1049
1050 * gdb.cp/cttiadd.c: Add a marker for gdb_get_line_number.
1051 * gdb.cp/ctti.exp: Use the marker instead of "next".
1052 With gcc, run further before bailing.
1053
b862f14c
MC
10542004-01-07 Michael Chastain <mec.gnu@mindspring.com>
1055
1056 * gdb.cp/cttiadd.cc: Add copyright notice.
1057 * gdb.cp/cttiadd1.cc: Likewise.
1058 * gdb.cp/cttiadd2.cc: Likewise.
1059 * gdb.cp/cttiadd3.cc: Likewise.
1060
96da2469
MC
10612004-01-07 Michael Chastain <mec.gnu@mindspring.com>
1062
1063 * gdb.cp/ctti.exp: Partial rewrite. Call gdb_compile properly.
1064 Use gdb_test, gdb_test_multiple. Use floating-point values that
1065 have exact representations in IEEE-ish formats.
1066
053248ff
MC
10672004-01-07 Michael Chastain <mec.gnu@mindspring.com>
1068
1069 * gdb.base/constvars.exp: Do not force lang=c++ if using HP
1070 compilers. Delete duplicate call to get_compiler_info.
1071 (local_compiler_xfail_check): setup_xfail if $hp_cc_compiler.
1072 * gdb.base/volatile.exp: Likewise.
1073
84acecdd
MK
10742004-01-07 Mark Kettenis <kettenis@gnu.org>
1075
1076 * gdb.base/gdb1476.exp: Only run the tests if we can't read the
1077 memory at address 0.
1078
fe11a27f
MC
10792004-01-07 Michael Chastain <mec.gnu@mindspring.com>
1080
1081 * gdb.stabs/weird.exp: Use hp_cc_compiler and hp_aCC_compiler
1082 to test for hp-ux assembler. Fix copyright years.
1083
60ad077b
AC
10842004-01-07 Andrew Cagney <cagney@redhat.com>
1085
1086 * gdb.base/fileio.c (strerrno): Add "EBUSY".
1087
1c9b8f33
AC
10882004-01-07 Andrew Cagney <cagney@redhat.com>
1089
1090 * gdb.base/fileio.c (test_open): Do not pass S_IWUSR to "open"
1091 when creating the read-only file. From analysis by Roland McGrath
1092 and Elena Zannoni.
1093
753ccc7a
MC
10942004-01-06 Michael Chastain <mec.gnu@mindspring.com>
1095
1096 * gdb.cp/namespace.exp: Call get_compiler_info with "c++".
1097
eca3e36b
MC
10982004-01-06 Michael Chastain <mec.gnu@mindspring.com>
1099
1100 * gdb.base/cvexpr.c: Be type-safe with function pointers and
1101 data pointers.
1102
f8d4bac4
MC
11032004-01-06 Michael Chastain <mec.gnu@mindspring.com>
1104
1105 * gdb.cp/m-static.exp: Compile one source file at a time.
1106 Delete unused call to get_compiler_info.
1107
9b4e0f94
MC
11082004-01-06 Michael Chastain <mec.gnu@mindspring.com>
1109
1110 * gdb.base/call-ar-st.exp: Delete explicit reference to ${binfile}.ci.
1111 * gdb.base/call-rt-st.exp: Likewise.
1112 * gdb.base/nodebug.exp: Likewise.
1113 * gdb.base/volatile.exp: Likewise.
1114 * gdb.cp/ref-types.exp: Likewise.
1115 * gdb.cp/templates.exp: Likewise.
1116
023c1024
MK
11172004-01-05 Mark Kettenis <kettenis@gnu.org>
1118
1119 * gdb.base/gdb1476.exp, gdb.base/gdb1476.c: New files.
1120
19703c4a
MC
11212004-01-05 Michael Chastain <mec.gnu@mindspring.com>
1122
1123 * gdb.cp/funcargs.exp: Delete special timeout of 240 seconds for
1124 hppa*-hp-hpux*.
1125
18b67037
MK
11262004-01-04 Mark Kettenis <kettenis@gnu.org>
1127
ba6219c8
MK
1128 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
1129 x86_64-*-*.
1130
18b67037
MK
1131 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
1132 sparc64-*-* and sparc*-solaris2*.
1133
1bfbbb9d
MK
11342004-01-04 Mark Kettenis <kettenis@gnu.org>
1135
1136 * gdb.base/structs.exp: Remove ${testfile} from "zed L<n> for
1137 return ${tests}" test. The ${tests} already mentions the
1138 filename.
1139
06846494
MC
11402004-01-02 Michael Chastain <mec.gnu@mindspring.com>
1141
1142 * gdb.cp/local.exp: Accept gcc abi 2.
1143
3b0cb202
MC
11442004-01-02 Michael Chastain <mec.gnu@mindspring.com>
1145
1146 * gdb.cp/templates.exp: Accept gcc abi 2.
1147
0643ec3f
MC
11482004-01-02 Michael Chastain <mec.gnu@mindspring.com>
1149
1150 * lib/compiler.cc: Remove supports_template_debugging.
1151 * gdb.cp/templates.exp: Do not test supports_template_debugging.
1152
d231d0b1
MC
11532004-01-01 Michael Chastain <mec.gnu@mindspring.com>
1154
1155 * gdb.cp/namespace.exp: Accept gcc abi 2.
1156
44ffb27c
MC
11572004-01-01 Michael Chastain <mec.gnu@mindspring.com>
1158
1159 * gdb.cp/method.exp: Accept gcc abi 2.
1160
184ad485
MC
11612004-01-01 Michael Chastain <mec.gnu@mindspring.com>
1162
1163 * gdb.cp/classes.exp: Generate identical results as old version.
1164 * gdb.cp/derivation.exp: Likewise.
1165 * gdb.cp/overload.exp: Likewise.
1166 * gdb.cp/virtfunc.exp: Likewise.
1167
116f09e7
MC
11682004-01-01 Michael Chastain <mec.gnu@mindspring.com>
1169
1170 * gdb.cp/virtfunc.exp: Modify some patterns to avoid a
1171 mysterious bug with sourceware version of expect.
1172
b1379776
MC
11732004-01-01 Michael Chastain <mec.gnu@mindspring.com>
1174
1175 * gdb.cp/overload.exp: Rewrite. Clean up patterns to match
1176 current versions of gcc, including gcc abi 2. Remove gratuitous
1177 restart of test program. Use gdb_test_multiple and gdb_test for
1178 all tests. Add patterns to xfail missing "const" in "const char *"
1179 and kfail PR gdb/1155.
1180
6b7a4c0e
MC
11812004-01-01 Michael Chastain <mec.gnu@mindspring.com>
1182
1183 * gdb.cp/derivation.exp: Rewrite. Clean up patterns to match
1184 current versions of gcc, including gcc abi 2. Remove gratuitous
1185 restart of test program. Use gdb_test_multiple and gdb_test for
1186 all tests. Add patterns to kfail PR gdb/1498.
1187
51615d72
MC
11882003-12-31 Michael Chastain <mec.gnu@mindspring.com>
1189
1190 * gdb.cp/virtfunc.exp: Rewrite. Clean up patterns to match
1191 current versions of gcc, including gcc abi 2. Use "breakpoint"
1192 and "continue" instead of restarting the target program. Use
1193 gdb_test_multiple and gdb_test for all tests.
1194
7b79a9d7
MK
11952004-01-01 Mark Kettenis <kettenis@gnu.org>
1196
1197 * gdb.asm/asm-source.exp: Update copyright year. Link statically
1198 for *-*-solaris2*.
1199
1cd3489f
MC
12002003-12-31 Michael Chastain <mec.gnu@mindspring.com>
1201
1202 * gdb.cp/classes.exp: Rewrite. Clean up patterns to match
1203 current versions of gcc, including gcc abi 2. Use "breakpoint"
1204 and "continue" instead of restarting the target program several
1205 times. Use gdb_test_multiple and gdb_test for all tests.
1206
850742db
MC
12072003-12-18 Michael Chastain <mec.gnu@mindspring.com>
1208
1209 * gdb.base/sect-cmd.exp: Handle compiling test case from multiple
1210 source files.
1211
eb4bbda8
MC
12122003-12-16 Michael Chastain <mec.gnu@mindspring.com>
1213
1214 * gdb.base/environ.exp: Handle compiling test case from multiple
1215 source files.
1216
e42c7771
MC
12172003-12-16 Michael Chastain <mec.gnu@mindspring.com>
1218
1219 * gdb.base/structs.exp: Call gdb_exit as well as gdb_start.
1220
80e4b428
JB
12212003-12-17 Jim Blandy <jimb@redhat.com>
1222
5f06973a
JB
1223 * gdb.base/freebpcmd.c: Add copyright notice.
1224
80e4b428
JB
1225 * gdb.base/freebpcmd.exp: Mark the interesting failure as known.
1226
0ab84fb7
MC
12272003-12-16 Michael Chastain <mec.gnu@mindspring.com>
1228
1229 * gdb.base/maint.exp: Add generic FAIL patterns to prevent timeouts.
1230
1b3bb3d0
JB
12312003-12-13 Jim Blandy <jimb@redhat.com>
1232
1233 * gdb.base/freebpcmd.exp, gdb.base/freebpcmd.c: New test.
1234
3a4c9371
KB
12352003-12-12 Kevin Buettner <kevinb@redhat.com>
1236
1237 * gdb.asm/frv.inc: New file.
1238 * gdb.asm/asm-source.exp: Add frv-*-* as a supported target.
1239
a1dea79a
FF
12402003-12-09 Fred Fish <fnf@redhat.com>
1241
1242 * gdb.base/break.c (marker1, marker2, marker3, marker4): Move
1243 functions to break1.c and leave prototypes behind. Add more
1244 "set breakpoint NN here" comments.
1245 * gdb.base/break1.c: New file.
1246
1247 * gdb.base/break.exp: Handle compiling test case from multiple
1248 source files and change source file references as needed.
1249 * gdb.base/completion.exp: Ditto.
1250 * gdb.base/condbreak.exp: Ditto.
1251 * gdb.base/define.exp: Ditto.
1252 * gdb.base/ena-dis-br.exp: Ditto.
1253 * gdb.base/info-proc.exp: Ditto.
1254 * gdb.base/maint.exp: Ditto.
1255 * gdb.base/until.exp: Ditto.
1256
1257 * gdb.base/condbreak.exp: Use bp_locationNN variables instead of
1258 hardcoded line numbers.
1259 * gdb.base/define.exp: Ditto.
1260 * gdb.base/ena-dis-br.exp: Ditto.
1261 * gdb.base/maint.exp: Ditto.
1262 * gdb.base/until.exp: Ditto.
1263
1264 * gdb.base/completion.exp: Use "break1" for completion tests since
1265 "break" is no longer a unique prefix.
1266
5266b69c
AC
12672003-12-06 Andrew Cagney <cagney@redhat.com>
1268
1269 * gdb.base/structs.exp (test_struct_returns): When applicable, set
1270 "return_value_unimplemented". When an unimplemented struct return
1271 architecture, report incorrect values as a KFAIL
1272
374451f0
MC
12732003-12-05 Michael Chastain <mec.gnu@mindspring.com>
1274
1275 * gdb.cp/rtti.exp: Accept new wording of warning from
1276 cp_lookup_rtti_type.
1277
ba9b20a7
MC
12782003-12-05 Michael Chastain <mec.gnu@mindspring.com>
1279
1280 Partial fix for PR testsuite/1456.
1281 * gdb.base/scope.exp (test_at_main): Replace references to
1282 gcc_compiled with calls to test_compiler_info.
1283 (test_at_foo): Likewise.
1284 (test_at_bar): Likewise.
1285
b74b6d0b
MC
12862003-12-04 Michael Chastain <mec.gnu@mindspring.com>
1287
1288 Partial fix for PR testsuite/1456.
1289 * gdb.base/so-impl-ld.exp: Replace reference to gcc_compiled with call
1290 to test_compiler_info.
1291
ccfa3402
MC
12922003-12-03 Michael Chastain <mec.gnu@mindspring.com>
1293
1294 * gdb.base/so-impl-ld.exp: Update copyright notice.
1295
f6246aba
MC
12962003-12-02 Michael Chastain <mec.gnu@mindspring.com>
1297
1298 Partial fix for PR testsuite/1456.
1299 * gdb.base/mips_pro.exp: Replace references to gcc_compiled with calls
1300 to test_compiler_info.
1301
13ae734a
MC
13022003-11-28 Michael Chastain <mec.gnu@mindspring.com>
1303
1304 * gdb.objc/objcdecode.exp: Match and KFAIL the output that comes
1305 from current versions of gdb. Clean up regular expressions.
1306 Delete redundant timeout case.
1307
d8e1cdee
MC
13082003-11-28 Michael Chastain <mec.gnu@mindspring.com>
1309
1310 * gdb.objc/nondebug.exp: Match and KFAIL the output that comes
1311 from current versions of gdb. Clean up regular expressions.
1312 Delete redundant timeout case.
1313
96457b64
MC
13142003-12-01 Michael Chastain <mec.gnu@mindspring.com>
1315
1316 Partial fix for PR testsuite/1456.
1317 * gdb.base/callfuncs.exp (do_function_calls): Replace reference to
1318 gcc_compiled with call to test_compiler_info.
1319
f35309fc
MC
13202003-11-30 Michael Chastain <mec.gnu@mindspring.com>
1321
1322 Partial fix for PR testsuite/1456.
1323 * gdb.base/list.exp (test_list_function): Delete unused declaration
1324 of gcc_compiled.
1325
d7afdf9b
MC
13262003-11-29 Michael Chastain <mec.gnu@mindspring.com>
1327
1328 Partial fix for PR testsuite/1456.
1329 * gdb.base/complex.exp: Replace reference to gcc_compiled with
1330 call to test_compiler_info.
1331
71507b56
MK
13322003-11-29 Mark Kettenis <kettenis@gnu.org>
1333
1334 * gdb.asm/asm-source.exp: Initialize asm-note to "empty". Set
1335 asm-note to "netbsd" for *-*-netbsdelf* and x86_64-*-netbsd*. Use
1336 it to create the appropriate note.inc.
1337 * gdb.asm/asmsrc1.s: Include "note.inc".
1338 * gdb.asm/netbsd.inc: New file.
1339 * gdb.asm/empty.inc: New file.
1340
f81f93f7
MC
13412003-11-28 Michael Chastain <mec.gnu@mindspring.com>
1342
1343 Partial fix for PR testsuite/1456.
1344 * gdb.base/constvars.exp: Replace references to gcc_compiled with
1345 calls to test_compiler_info.
1346
9a77938e
MC
13472003-11-27 Michael Chastain <mec.gnu@mindspring.com>
1348
1349 Partial fix for PR testsuite/1456.
1350 * gdb.base/volatile.exp: Replace references to gcc_compiled with
1351 calls to test_compiler_info.
1352
e8367dc7
MK
13532003-11-27 Mark Kettenis <kettenis@gnu.org>
1354
1355 * gdb.base/structs.exp: Use i*86-*-* instead of i686-*-* as a
1356 pattern for the KFAILs.
1357
526c61ee
AF
13582003-11-25 Adam Fedor <fedor@gnu.org>
1359
1360 * gdb.objc/objcdecode.exp: Test for PR objc/1238.
1361 * gdb.objc/objcdecode.m: New file.
1362
28f2d600
AF
13632003-11-25 Adam Fedor <fedor@gnu.org>
1364
1365 * gdb.objc/nondebug.exp: Test for PR objc/1236.
1366 * gdb.objc/nondebug.m: New file.
1367
a3895cee
BE
13682003-11-26 Ben Elliston <bje@wasabisystems.com>
1369
1370 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
1371 NetBSD as it does on FreeBSD. Modelled on a similar change by
1372 Mark Kettenis on 2003-05-30.
1373 (link-flags): Set to "--entry _start" regardless of target.
1374 Special linker flags are to be appended to $link-flags.
1375 * gdb.asm/mips.inc (gdbasm_startup): Remove __start label.
1376
c9f2c8a3
MC
13772003-11-25 Michael Chastain <mec.gnu@mindspring.com>
1378
1379 * gdb.cp/method.exp: Accept output of new demangler.
1380
15a0587a 13812003-11-25 Michael Chastain <mec.gnu@mindspring.com>
f4e8b6f3
MC
1382
1383 * gdb/class2.exp: New file.
1384 * gdb/class2.cc: New file.
1385
3c00b570
MC
13862003-11-25 Michael Chastain <mec.gnu@mindspring.com>
1387
1388 * gdb.cp/templates.exp (test_ptype_of_templates): Accept output
1389 of new demangler.
1390
7027acc7
MK
13912003-11-23 Mark Kettenis <kettenis@gnu.org>
1392
1393 * gdb.arch/i386-unwind.exp: Use gdb_run_cmd and gdb_expect instead
1394 of gdb_test "run".
1395
b0e1598a
MK
13962003-11-23 Mark Kettenis <kettenis@gnu.org>
1397
1398 * gdb.arch/i386-unwind.exp: Don't use runto_main. Change
1399 "continue" into "run".
1400
4d9eda44
MC
14012003-11-23 Michael Chastain <mec.gnu@mindspring.com>
1402
1403 Partial fix for PR testsuite/1456.
1404 * gdb.cp/ambiguous.exp: Replace reference to gcc_compiled with
1405 call to test_compiler_info.
1406 * gdb.cp/ctti.exp: Likewise.
1407 * gdb.cp/derivation.exp: Likewise.
1408 * gdb.cp/member-ptr.exp: Likewise.
1409 * gdb.cp/virtfunc.exp (test_virtual_calls): Remove unused
1410 reference to gcc_compiled.
1411
14122003-11-23 Michael Chastain <mec.gnu@mindspring.com>
b729099e
MC
1413
1414 Fix PR testsuite/1463.
1415 * gdb.base/structs.exp (start_structs_test): Call
1416 get_debug_format before using the debug format.
1417
d422fe19
AC
14182003-11-22 Andrew Cagney <cagney@redhat.com>
1419
1420 * lib/gdb.exp (gdb_test_multiple): Add simple example.
1421 * gdb.base/structs.exp: Use gdb_test_multiple.
1422
039cf96d
AC
14232003-11-20 Andrew Cagney <cagney@redhat.com>
1424
6882279b
AC
1425 * gdb.base/structs.exp: Handle and recover from internal errors.
1426 Replace "foo${n}" with "foo<n>" in test messages.
1427
e53890ae
AC
1428 * gdb.base/structs.exp: Update copyright. Rewrite.
1429 * gdb.base/structs.c: Update copyright. Rewrite.
1430
2b211c59
AC
1431 * lib/gdb.exp (gdb_internal_error_resync): Issue a perror when the
1432 resync count exceeded.
d63a86f8 1433
039cf96d
AC
1434 * gdb.base/maint.exp: Use gdb_internal_error_resync to recover
1435 from the internal error.
1436 * lib/gdb.exp (gdb_internal_error_resync): New procedure.
1437 Original from Jim Blandy.
1438 (gdb_test_multiple): Use gdb_internal_error_resync.
2b211c59 1439
eac98b22
AC
14402003-11-19 Andrew Cagney <cagney@redhat.com>
1441
1442 * gdb.base/callfuncs.exp: Change the XFAILed descriptor test to a
1443 KFAIL.
1444
67455b2a
MK
14452003-11-17 Mark Kettenis <kettenis@gnu.org>
1446
1447 New testcase for PR backtrace/1435.
1448 * gdb.arch/i386-unwind.exp: New file.
1449 * gdb.arch/i386-unwind.c: New file.
1450
853d6e5b
AC
14512003-11-17 Andrew Cagney <cagney@redhat.com>
1452
1453 * lib/gdb.exp (compiler_info): New global.
1454 (test_compiler_info): New function.
1455 (get_compiler_info): Set compiler_info.
1456 * lib/compiler.c, lib/compiler.cc: Add copyright. When GNUC, set
1457 "compiler_info" to gcc-<major>-<minor>.
1458
38cf6e11
MC
14592003-11-15 Michael Chastain <mec.gnu@mindspring.com>
1460
1461 * gdb.trace/configure: Remove.
1462
a50d3602
EZ
14632003-11-13 Elena Zannoni <ezannoni@redhat.com>
1464
1465 * gdb.base/break.c: Add comments to aid finding line numbers for
d63a86f8 1466 breakpoints.
a50d3602
EZ
1467 * gdb.base/break.exp: Remove all references to explicit line
1468 numbers.
1469
d9407aaa
NC
14702003-11-11 Nick Clifton <nickc@redhat.com>
1471
1472 * gdb.base/shreloc.exp: Do not run for targets which do not
1473 support shared objects.
1474
db488fc1
CV
14752003-11-10 Corinna Vinschen <vinschen@redhat.com>
1476
1477 * gdb.base/fileio.exp: Drop tests for nointerrupts and noinferiorio.
1478 Don't run tests if nofileio flag is given.
1479
6a90a18e
EZ
14802003-11-07 Elena Zannoni <ezannoni@redhat.com>
1481
1482 * gdb.cp/annota3.exp: Make sure we can match 'Hardware watchpoint'
1483 as well as 'Watchpoint'.
1484
0b915e9c
EZ
14852003-11-06 Elena Zannoni <ezannoni@redhat.com>
1486
1487 Reported by Jim Ingham <jingham@apple.com>:
1488 * gdb.base/annota1.exp: Match at least one occurrence of the
1489 signal handler annotation.
1490
d7e4b55f
EZ
14912003-11-06 Elena Zannoni <ezannoni@redhat.com>
1492
1493 * gdb.cp/annota2.exp: Make sure we can match 'Hardware watchpoint'
1494 as well as 'Watchpoint'.
1495
2fe4e8d0
MC
14962003-11-05 Michael Chastain <mec@shout.net>
1497
1498 * gdb.mi/pthreads.c (routine): Handle early return from sleep.
1499
6ef88553
KW
15002003-11-03 Kris Warkentin <kewarken@qnx.com>
1501
1502 * gdb.arch/gdb1291.c: New test file.
1503 * gdb.arch/gdb1291.exp: New test script.
1504 * gdb.arch/gdb1431.c: New test file.
1505 * gdb.arch/gdb1431.exp: New test script.
1506
ae7dc4d8
MC
15072003-10-22 Michael Chastain <mec@shout.net>
1508
1509 * gdb.mi/pthreads.c: Add copyright notice.
1510
c39d7427
MC
15112003-10-22 Michael Chastain <mec@shout.net>
1512
1513 * gdb.threads/pthreads.c: Add copyright notice.
1514
8b7d96c1
MC
15152003-10-20 Michael Chastain <mec@shout.net>
1516
1517 * gdb.base/gdb1056.exp: New test script.
1518
d1d69fdd
DJ
15192003-10-13 Daniel Jacobowitz <drow@mvista.com>
1520
1521 * gdb.threads/killed.exp: Use gdb_run_cmd.
1522
7d605576
DJ
15232003-10-13 Daniel Jacobowitz <drow@mvista.com>
1524
1525 * gdb.base/gcore.exp: Issue an UNSUPPORTED and exit if we can't
1526 create a core file.
1527 * gdb.threads/gcore-thread.exp: Likewise.
1528
618ec112
CV
15292003-10-13 Corinna Vinschen <vinschen@redhat.com>
1530
1531 * gdb.base/call-rt-st.c (struct bit_flags_char_t): New bitfield
1532 type, based on char type.
1533 (struct bit_flags_short_t): New bitfield type, based on short type.
1534 (init_bit_flags_char): New fuction.
1535 (init_bit_flags_short): Ditto.
1536 (print_bit_flags_char): Ditto.
1537 (print_bit_flags_short): Ditto.
1538 (main): Add handling for bit_flags_char_t and bit_flags_short_t.
1539
9367a73c
MC
15402003-10-11 Michael Chastain <mec@shout.net>
1541
1542 * gdb.base/call-rt-st.exp: Update copyright year.
1543
1decf120
KI
15442003-10-10 Kei Sakamoto <sakamoto.kei@renesas.com>
1545
1546 * config/hmsirom.exp: Replace "Hitachi" with "Renesas".
1547 * gdb.disasm/sh3.s: Ditto.
1548
5445b2ae
DJ
15492003-10-07 Daniel Jacobowitz <drow@mvista.com>
1550
1551 * gdb.threads/switch-threads.exp: New test.
1552 * gdb.threads/switch-threads.c: New source file.
1553
aec24853
CV
15542003-10-07 Corinna Vinschen <vinschen@redhat.com>
1555
1556 * gdb.base/ending-run.exp: Add sh specific case.
1557
adc7428d
AC
15582003-10-06 Andrew Cagney <cagney@redhat.com>
1559
1560 * gdb.base/watchpoint.exp: Delete obsolete clear_xfail.
1561 * gdb.disasm/mn10200.exp: Delete obsolete file.
1562
c9d37158
DJ
15632003-09-29 Daniel Jacobowitz <drow@mvista.com>
1564
1565 * ChangeLog: Correct an entry command.exp -> commands.exp.
1566 * gdb.base/commands.exp (bp_deleted_in_command_test)
1567 (temporary_breakpoint_commands): Check noargs.
1568
79c2c32d
DC
15692003-09-25 David Carlton <carlton@kealia.com>
1570
1571 * gdb.cp/namespace.exp: Tweak comments. Add non-quoted versions
1572 of some print tests, where appropriate. Add tests for C::D::cd,
1573 E::ce, F::cXfX, G::XgX.
1574 * gdb.cp/namespace.cc: Add XgX, cXfX, ce.
1575
594e6d67
RE
15762003-09-25 Richard Earnshaw <rearnsha@arm.com>
1577
1578 * lib/java.exp (java_init): Import target_alias before using it.
1579
10f0d451
DC
15802003-09-25 David Carlton <carlton@kealia.com>
1581
1582 * gdb.base/corefile.exp: Delete obsolete setup_xfail.
1583
274bcba0
EZ
15842003-09-23 Elena Zannoni <ezannoni@redhat.com>
1585
d63a86f8 1586 * gdb.base/selftest.exp: Accomodate more instruction reordering
274bcba0
EZ
1587 weirdness.
1588
cdbf20f7
MC
15892003-09-17 Michael Chastain <mec@shout.net>
1590
1591 * gdb.cp/gdb1355.exp: New file.
1592 * gdb.cp/gdb1355.c: New file.
1593
71e06f80
CV
15942003-09-15 Corinna Vinschen <vinschen@redhat.com>
1595
1596 * gdb.asm/asm-source.exp: Add sh*-*-* as supported target.
1597 * gdb.asm/sh.inc: New file.
1598
5c4e30ca
DC
15992003-09-11 David Carlton <carlton@kealia.com>
1600
bd45b7af
DC
1601 * gdb.cp/namespace.exp: Add tests for namespace types.
1602 * gdb.cp/maint.exp (test_help): Test 'help maint cp namespace'.
5c4e30ca
DC
1603 (test_namespace): New.
1604
1c199746
EZ
16052003-09-11 Elena Zannoni <ezannoni@redhat.com>
1606
1607 * gdb.base/relocate.exp: Handle new gdb output at startup.
3fcf0ced 1608 * gdb.stabs/weird.exp: Ditto.
1c199746 1609
04ed252f
MC
16102003-09-08 Michael Chastain <mec@shout.net>
1611
1612 * gdb.base/gdb1250.c: Rename 'gamma' to 'my_gamma'.
1613
d8a2d9e7
MC
16142003-09-07 Michael Chastain <mec@shout.net>
1615
1616 * gdb.cp/classes.exp: Accommodate both 'syntax error' and
1617 'parse error'.
1618
161afb24
MK
16192003-09-07 Mark Kettenis <m.kettenis@osp.nl>
1620
1621 * gdb.arch/i386-prologue.exp: Add checks for saved registers.
1622
49f2741a
MC
16232003-08-30 Michael Chastain <mec@shout.net>
1624
1625 * gdb.base/selftest.exp: Remove support for m68k*-*-hpux.
1626 * gdb.gdb/observer.exp: Ditto.
1627 * gdb.gdb/xfullpath.exp: Ditto.
1628
8afa723e
MK
16292003-08-29 Mark Kettenis <kettenis@gnu.org>
1630
1631 * gdb.base/interrupt.exp: XFAIL "call function when asleep" for
1632 *-*-*bsd*.
1633
f31dfe3b
JJ
16342003-08-28 Jeff Johnston <jjohnstn@redhat.com>
1635
1636 * gdb.base/dump.exp: Skip for ia64.
1637
4630e498
JJ
16382003-08-25 Jeff Johnston <jjohnstn@redhat.com>
1639
1640 * gdb.asm/asm-source.exp: Add ia64 support.
1641 * gdb.asm/ia64.inc: New file.
1642
1105b7ef
MC
16432003-08-22 Michael Chastain <mec@shout.net>
1644
1645 * gdb.cp: New directory.
1646 * gdb.cp/*: Copy from gdb.c++/*.
1647 * gdb.c++/*: Remove.
1648 * Makefile.in: Change gdb.c++ to gdb.cp.
1649 * configure.in: Ditto.
1650 * configure: Regnerate.
1651
c945b932
MK
16522003-08-18 Mark Kettenis <kettenis@gnu.org>
1653
1654 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1338.
1655 * gdb.arch/i386-prologue.c (gdb1338): Add function.
1656
2b66634b
DJ
16572003-08-17 Daniel Jacobowitz <drow@mvista.com>
1658
1659 * mi-var-display.exp (-var-list-children weird): Accept function
1660 pointers with argument types.
1661 * mi1-var-display.exp (-var-list-children weird): Likewise.
1662 * mi2-var-display.exp (-var-list-children weird): Likewise.
1663
a356f73b
DJ
16642003-08-17 Daniel Jacobowitz <drow@mvista.com>
1665
1666 * gdb.base/annota3.exp: Add missing newline.
1667
483417b8
MC
16682003-08-06 Michael Chastain <mec@shout.net>
1669
1670 * gdb.java/jmisc1.exp: Add test for pr gdb/1322.
1671
c99c59c3
MS
16722003-08-12 Michael Snyder <msnyder@redhat.com>
1673
1674 * gdb.base/float.exp: Add test for SH.
1675
55ed7501
MK
16762003-08-10 Mark Kettenis <kettenis@gnu.org>
1677
1678 * gdb.arch/i386-prologue.c, gdb.arch/i386-prologue.exp: New files.
1679
1a371f2e
EZ
16802003-08-07 Elena Zannoni <ezannoni@redhat.com>
1681
1682 * gdb.base/completion.exp: Remove reduntant completion test
1683 on filename.
1684
e0f353ce
EZ
16852003-08-07 Elena Zannoni <ezannoni@redhat.com>
1686
1687 * gdb.base/attach.exp, gdb.base/detach.exp, gdb.base/gcore.exp,
1688 gdb.mi/mi-basics.exp, gdb.threads/gcore-thread.exp,
1689 gdb.trace/save-trace.exp: Make sure that full pathnames are
1690 escaped correctly.
1691
5710a1af 16922003-08-07 Elena Zannoni <ezannoni@redhat.com>
d63a86f8 1693
5710a1af
EZ
1694 * configure.in: Don't generate config.h from config.hin.
1695 * configure: Regenerate.
1696 * config.hin: Remove file.
1697 * gdb.mi/pthreads.c: Remove include of config.h, and other ifdefs.
1698 * gdb.threads/pthreads.c: Ditto.
1699
dcd81ce9
DJ
17002003-08-07 Daniel Jacobowitz <drow@mvista.com>
1701
1702 From Kei Sakamoto <sakamoto.kei@renesas.com>:
1703 * gdb.asm/asm-source.exp : Add -lgloss to link-flags.
1704 * gdb.asm/m32r.inc : Remove an illegal nop after bl instruction.
1705 Replace ld24 with seth/add3.
1706
6009d884
AC
17072003-08-02 Andrew Cagney <cagney@redhat.com>
1708
1709 * gdb.base/annota3.exp: New file.
1710 * gdb.base/annota3.c: New file.
1711 * gdb.c++/annota3.exp: New file.
1712 * gdb.c++/annota3.cc: New file.
1713
51514e06
MC
17142003-07-29 Michael Chastain <mec@shout.net>
1715
1716 * gdb.threads/tls.c (spin): Check errno only if sem_wait
1717 actually failed.
1718 (do_pass): Likewise.
1719 * gdb.threads/tls.exp: Always initialize no_of_threads.
1720
4ee6625b
DJ
17212003-07-27 Daniel Jacobowitz <drow@mvista.com>
1722
1723 * gdb.threads/print-threads.exp (test_all_threads): Loosen KFAIL
1724 pattern.
1725 * gdb.threads/tls-shared.exp: Don't use gdb_suppress_entire_file.
1726 * gdb.threads/tls.exp: Recognize one case of the host library not
1727 supporting TLS.
1728
225f2bf6
AC
17292003-07-27 Andrew Cagney <cagney@redhat.com>
1730
1731 * gdb.base/fileio.exp: Use SH when running commands using
1732 remote_exec.
1733
bcb27c9f
DJ
17342003-07-24 Daniel Jacobowitz <drow@mvista.com>
1735
1736 From Kei Sakamoto <sakamoto.kei@renesas.com>:
1737 * gdb.base/relocate.c (dummy): New padding array.
1738
3d67be83
MS
17392003-07-22 Michael Snyder <msnyder@redhat.com>
1740
d63a86f8 1741 * gdb.disasm/8300s.s: Fix syntax of bsr insn.
3d67be83
MS
1742
1743 * gdb.disasm/h8300s.exp : Minor changes in disassembler output require
1744 patterns to be more general, accepting old and new output.
1745 Some output chars (such as '+') also must be quoted.
d63a86f8 1746 Some addresses are displayed numerically instead of
3d67be83
MS
1747 symbolically.
1748
57ba3b85
MS
17492003-07-23 Michael Snyder <msnyder@redhat.com>
1750
686d097c
MS
1751 * gdb.base/return2.exp: Don't test long-long return.
1752
57ba3b85
MS
1753 * gdb.disasm/t01_mov.s: New file, h8300sx disassembly tests.
1754 * gdb.disasm/t01_mov.exp: Ditto.
1755 * gdb.disasm/t02_mova.s: Ditto.
1756 * gdb.disasm/t02_mova.exp: Ditto.
1757 * gdb.disasm/t03_add.s: Ditto.
1758 * gdb.disasm/t03_add.exp: Ditto.
1759 * gdb.disasm/t04_sub.s: Ditto.
1760 * gdb.disasm/t04_sub.exp: Ditto.
1761 * gdb.disasm/t05_cmp.s: Ditto.
1762 * gdb.disasm/t05_cmp.exp: Ditto.
1763 * gdb.disasm/t06_ari2.s: Ditto.
1764 * gdb.disasm/t06_ari2.exp: Ditto.
1765 * gdb.disasm/t07_ari3.s: Ditto.
1766 * gdb.disasm/t07_ari3.exp: Ditto.
1767 * gdb.disasm/t08_or.s: Ditto.
1768 * gdb.disasm/t08_or.exp: Ditto.
1769 * gdb.disasm/t09_xor.s: Ditto.
1770 * gdb.disasm/t09_xor.exp: Ditto.
1771 * gdb.disasm/t10_and.s: Ditto.
1772 * gdb.disasm/t10_and.exp: Ditto.
1773 * gdb.disasm/t11_logs.s: Ditto.
1774 * gdb.disasm/t11_logs.exp: Ditto.
1775 * gdb.disasm/t12_bit.s: Ditto.
1776 * gdb.disasm/t12_bit.exp: Ditto.
1777 * gdb.disasm/t13_otr.s: Ditto.
1778 * gdb.disasm/t13_otr.exp: Ditto.
1779
e00759ef
EZ
17802003-07-22 Elena Zannoni <ezannoni@redhat.com>
1781
1782 * gdb.threads/tls.exp :Add kfail for 'info address' case.
1783
8bc2021f
EZ
17842003-07-22 Elena Zannoni <ezannoni@redhat.com>
1785
1786 * gdb.threads/tls.c : New file.
1787 * gdb.threads/tls.exp : New file.
1788 * gdb.threads/tls-main.c : New file.
1789 * gdb.threads/tls-shared.c : New file.
1790 * gdb.threads/tls-shared.exp : New file.
1791
89320c4c
AS
17922003-07-22 Andreas Schwab <schwab@suse.de>
1793
1794 * gdb.asm/powerpc.inc (gdbasm_startup): Force alignment.
1795
180dea7c
AS
17962003-07-20 Andreas Schwab <schwab@suse.de>
1797
1798 * gdb.base/selftest.exp (do_steps_and_nexts): Add more patterns
1799 due to insn reordering.
1800
0714963c
AC
18012003-07-15 Andrew Cagney <cagney@redhat.com>
1802
1803 * gdb.asm/asm-source.exp: Do not allow "start" in the backtrace.
1804
98a23b3f
MC
18052003-07-15 Michael Chastain <mec@shout.net>
1806
1807 * gdb.base/gdb1250.exp: New file.
1808 * gdb.base/gdb1250.c: New file.
1809
27e417a2
ML
18102003-07-09 Michal Ludvig <mludvig@suse.cz>
1811
1812 * gdb.c++/templates.exp (test_ptype_of_templates): Recognize
1813 expansion of size_t to 'unsigned long', not only to 'unsigned'.
1814
8bc2021f
EZ
18152003-07-09 Elena Zannoni <ezannoni@redhat.com>
1816
1817 * gdb.threads/tls.c: New file.
1818 * gdb.threads/tls.exp: New file.
1819 * gdb.threads/tls-main.c: New file.
1820 * gdb.threads/tls-shared.c: New file.
1821 * gdb.threads/tls-shared.exp: New file.
1822
d99968dc
EZ
18232003-07-09 Elena Zannoni <ezannoni@redhat.com>
1824
1825 * gdb.base/annota1.exp: Make sure that we properly escape the
1826 full path of the source file. Xfail more permissive patterns,
d63a86f8 1827 due to a compiler debug info problem.
d99968dc 1828
83876b3b
AS
18292003-07-07 Andreas Schwab <schwab@suse.de>
1830
2705e972
AS
1831 * gdb.asm/m68k.inc: New file.
1832 * gdb.asm/asm-source.exp: Use it for m68k-*-*.
1833
83876b3b
AS
1834 * gdb.objc/basicclass.exp ("Call an Objective-C method with no
1835 arguments"): Also match negative number.
1836
1837 * gdb.base/float.exp ("info float"): Add test for m68k-*-*.
1838
3a871b37
DJ
18392003-07-03 Daniel Jacobowitz <drow@mvista.com>
1840
1841 * gdb.base/store.c (charest): New typedef.
1842 (add_char): Rename to add_charest, update.
1843 (wack_char): Rename to wack_charest, update types. Return l + r
1844 to keep r live across the call.
1845 (wack_short, wack_int, wack_long, wack_longest, wack_float)
1846 (wack_double, wack_doublest): Return l + r to keep r live across
1847 the call.
1848 * gdb.base/store.exp: Accomodate store.c changes.
1849
b2a7f303
DC
18502003-06-30 David Carlton <carlton@kealia.com>
1851
1852 * gdb.c++/maint.exp (test_invalid_name): New.
1853 (test_first_component): Add tests for invalid names.
1854
3c6cb4a1
MC
18552003-06-29 Michael Chastain <mec@shout.net>
1856
1857 * gdb.c++/inherit.exp (test_print_svi_classes): Accept gdb
1858 output of '<VTT for class>' for virtual base classes.
1859
f1c2644b
DJ
18602003-06-29 Daniel Jacobowitz <drow@mvista.com>
1861
1862 * gdb.base/completion.exp: Tab-complete "complet" instead of
1863 "compl".
1864 * gdb.base/complex.exp, gdb.base/complex.c: New files.
1865
18080350
DJ
18662003-06-29 Daniel Jacobowitz <drow@mvista.com>
1867
1868 * gdb.base/constvars.exp: Remove most xfails for GCC 3.x.
1869 * gdb.base/volatile.exp: Likewise.
1870
f56973f8
DJ
18712003-06-29 Daniel Jacobowitz <drow@mvista.com>
1872
1873 * gdb.threads/print-threads.exp (test_all_threads): Add kfail for
1874 gdb/1265.
1875
18762003-06-28 Michael Chastain <mec@shout.net>
48fe539f
DJ
1877 Daniel Jacobowitz <drow@mvista.com>
1878
1879 * gdb.base/selftest.exp (do_steps_and_nexts): Increase maximum
1880 initial line count of 'captured_main' from 26 to 32.
1881 (test_with_self): Allow xmalloc call to be interleaved with the
1882 preceding two lines.
1883
e766d4d6
JB
18842003-06-24 Joel Brobecker <brobecker@gnat.com>
1885
1886 * gdb.base/bang.exp: New testcase.
1887
f125c9a4
JB
18882003-06-23 Joel Brobecker <brobecker@gnat.com>
1889
1890 * gdb.base/langs.exp: Add some tests for the "minimal" language
1891 support.
1892
6e25beaf
EZ
18932003-06-23 Elena Zannoni <ezannoni@redhat.com>
1894
1895 * gdb.objc/basicclass.exp: Return -1 if we cannot compile
1896 the testcase.
1897
2f816dda
DJ
18982003-06-22 Daniel Jacobowitz <drow@mvista.com>
1899
1900 * gdb.base/relocate.exp: Test add-symbol-file with a variable
1901 offset.
1902
db5a5748
DJ
19032003-06-22 Daniel Jacobowitz <drow@mvista.com>
1904
1905 * gdb.c++/pr-1210.cc: New file.
1906 * gdb.c++/pr-1210.exp: New file.
1907
1df0c130
DJ
19082003-06-21 Daniel Jacobowitz <drow@mvista.com>
1909
1910 * lib/mi-support.exp (mi_run_cmd): Expect an MI response to
1911 000-exec-continue.
1912
a92feac0
MK
19132003-06-15 Mark Kettenis <kettenis@gnu.org>
1914
1915 * gdb.base/attach.exp: Use -1 for the ID of a nonexistent process
1916 on *-*-*bsd* instead of *-*-freebsd*.
1917
81a58f5b
AC
19182003-06-14 Andrew Cagney <cagney@redhat.com>
1919
1920 * gdb.base/store.exp: Test longest and doublest. Test all
1921 parameters. Weaken return statement match.
1922 * gdb.base/store.c: Add longest and doublest - aka long long and
1923 long double functions. Put all parameters into local register
1924 variables. Use negative values.
1925
b257a0d3
AC
19262003-06-14 Andrew Cagney <cagney@redhat.com>
1927
1928 * gdb.base/fileio.c: Include <errno.h>, and <sys/wait.h>. Gag
1929 -Wformat errors. Add lost line. Use WEXITSTATUS to get system
1930 exit status.
1931 * gdb.base/fileio.exp: Disable target when nointerrupts and
1932 noinferiorio, instead of limiting it to remote. Use remote_exec
1933 instead of system.
d63a86f8 1934
21c38304
JJ
19352003-06-12 Jeff Johnston <jjohnstn@redhat.com>
1936
1937 * gdb.base/float.exp: Add ia64 support.
1938
1bcdb424
CV
19392003-06-12 Corinna Vinschen <vinschen@redhat.com>
1940
1941 * gdb.base/fileio.exp: Run only on remote targets.
1942
6aeb981f
CV
19432003-06-10 Corinna Vinschen <vinschen@redhat.com>
1944
1945 * gdb.base/fileio.c: New file, testing File-I/O.
1946 * gdb.base/fileio.exp: Ditto.
1947
53df362e
RG
19482003-06-09 Raoul Gough <RaoulGough@yahoo.co.uk>
1949
1950 * gdb.base/shreloc.exp: New file, check symbol values obtained from
1951 shared objects after relocation at load time (gdb PR/1132).
1952 * gdb.base/shreloc.c, gdb.base/shreloc1.c, gdb.base/shreloc2.c:
1953 as above, part of the shared object relocation test.
1954
ffee1b46
MK
19552003-06-08 Mark Kettenis <kettenis@gnu.org>
1956
b5ca3722
MK
1957 * gdb.base/readline.exp: Add tests for operate-and-get-next with a
1958 fully filled history list.
1959 * gdb.base/gdb_history: New file.
1960
03ed860d
MK
1961 * gdb.base/signals.exp: XFAIL "continue to func1" on
1962 i*86-*-freebsd*.
1963
ffee1b46
MK
1964 * gdb.base/attach.exp: When trying to attach to a nonexistent
1965 process, make it possible to specify the PID based on the target,
1966 and do so for *-*-freebsd*.
1967
d80dbb52
RH
19682003-06-02 Richard Henderson <rth@redhat.com>
1969
1970 * gdb.base/float.exp: Add expected regexp for alpha-*-*.
1971
6dd77b81
RH
19722003-06-02 Richard Henderson <rth@redhat.com>
1973
1974 * gdb.base/selftest.exp: Next over lim_at_start initialization.
1975
f6347e16
RH
19762003-06-02 Richard Henderson <rth@redhat.com>
1977
1978 * gdb.base/dump.exp [alpha*-*-*]: Add -taso linker switch.
1979
2c161407
DJ
19802003-06-01 Daniel Jacobowitz <drow@mvista.com>
1981
1982 * gdb.asm/asm-source.exp: Dissassemble from &globalvar instead
1983 of globalvar.
1984
572eb746
MK
19852003-06-01 Mark Kettenis <kettenis@gnu.org>
1986
1987 * gdb.asm/asm-source.exp: Check for memory read errors in
1988 disassembler test on *BSD too.
1989
9e9617a5
RH
19902003-06-01 Richard Henderson <rth@redhat.com>
1991
1992 * gdb.asm/alpha.inc (gdbasm_enter): Use numeric register names
1993 for .frame.
1994 (gdbasm_call): Lose ldgp.
1995 (gdbasm_startup): Add frame information.
1996 * gdb.asm/asm-source.exp (alpha*-*): Add -no-mdebug to asm-flags.
1997
7b34ad4e
MK
19982003-05-31 Mark Kettenis <kettenis@gnu.org>
1999
2000 * gdb.base/float.exp: Expect similar output for x86_64-*-* as for
2001 i?86-*-*.
2002
10059fdf
MK
20032003-05-30 Mark Kettenis <kettenis@gnu.org>
2004
2005 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
2006 FreeBSD.
2007
acf4b816
RH
20082003-05-29 Richard Henderson <rth@redhat.com>
2009
2010 * gdb.asm/alpha.inc: New file.
2011 * gdb.asm/asm-source.exp: Use it.
2012
e9ecd949
JB
20132003-05-29 Jim Blandy <jimb@redhat.com>
2014
2015 * gdb.base/corefile.exp: Find corefiles on Linux, which names them
2016 'core.PID'.
2017
e3e5a4f3
JB
20182003-05-22 Jim Blandy <jimb@redhat.com>
2019
2020 * gdb.base/corefile.exp: Tolerate stuff after argument parens in
2021 backtrace.
d63a86f8 2022
72fe3d25
DC
20232003-05-20 David Carlton <carlton@math.stanford.edu>
2024
2025 * gdb.c++/namespace1.cc: Actually do 'cvs add' before committing
2026 this time.
2027
58da2eb2
DC
20282003-05-19 David Carlton <carlton@bactrian.org>
2029
2030 * gdb.c++/rtti.exp: New file, containing tests for PR c++/488.
2031 * gdb.c++/rtti.h, gdb.c++/rtti1.cc, gdb.c++/rtti2.cc: Ditto.
2032
1fcb5155
DC
20332003-05-19 David Carlton <carlton@bactrian.org>
2034
2035 * gdb.c++/namespace.exp: Add namespace scope and anonymous
2036 namespace tests.
2037 Bump copyright date.
2038 * gdb.c++/namespace.cc: Add anonymous namespace and namespace C.
2039 (main): Call C::D::marker2.
2040 * gdb.c++/namespace1.cc: New file.
2041
85e85163
JJ
20422003-05-14 Jeff Johnston <jjohnstn@redhat.com>
2043
2044 Roland McGrath <roland@redhat.com>
d63a86f8 2045 * gdb.threads/linux-dp.exp: Account for fact that in nptl model
85e85163
JJ
2046 there is no manager thread.
2047
a25fbfec
JJ
20482003-05-08 Jeff Johnston <jjohnstn@redhat.com>
2049
d63a86f8
RM
2050 * gdb.threads/schedlock.exp: Remove assumption that all threads
2051 will run in a particular small time slice. Also ensure we break
a25fbfec
JJ
2052 in one of the child threads rather than the main thread.
2053
be375bae
JB
20542003-05-07 Jim Blandy <jimb@redhat.com>
2055
09bf6082
JB
2056 Add support for assembly source testing on the s390x.
2057 * gdb.asm/asm-source.exp: Add a case for the s390x-*-*
2058 architecture.
2059 * gdb.asm/s390x.inc: New file.
2060
be375bae
JB
2061 * gdb.asm/asm-source.exp: Use a 'switch -glob' statement, not a
2062 succession of 'if' statements.
2063
00905d52
AC
20642003-05-05 Andrew Cagney <cagney@redhat.com>
2065
2066 * gdb.base/maint.exp: Add tests for "maint print dummy-frames".
2067
b1e29e33
AC
20682003-05-05 Andrew Cagney <cagney@redhat.com>
2069
2070 * gdb.base/watchpoint.exp: Rename CALL_DUMMY_BREAKPOINT_OFFSET to
2071 DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET in comments.
2072
e33d66ec
EZ
20732003-05-02 Elena Zannoni <ezannoni@redhat.com>
2074
2075 * gdb.base/charset.exp: Update based on new behavior of set/show
2076 charset commands.
2077
2b6fd0d8
AC
20782003-05-01 Andrew Cagney <cagney@redhat.com>
2079
2080 * gdb.asm/asm-source.exp: Check that "disassm" and "x/i" of a
2081 variable do not give memory errors.
2082
130cacce
AF
20832003-04-30 Adam Fedor <fedor@gnu.org>
2084
2085 * Makefile.in (ALL_SUBDIRS): Add gdb.objc
2086 * configure.in (AC_OUTPUT): Add gdb.objc/Makefile
2087 * gdb.objc/Makefile.in, gdb.objc/basicclass.exp,
2088 gdb.objc/basicclass.m: : New files
2089
2090 * lib/gdb.exp (gdb_compile_objc): New procedure.
2091
bea71854
DJ
20922003-04-27 Daniel Jacobowitz <drow@mvista.com>
2093
2094 * gdb.base/signals.exp: Make backtrace tests more specific.
2095
0f20eeea
DC
20962003-04-23 David Carlton <carlton@bactrian.org>
2097
2098 * gdb.c++/maint.exp (test_first_component): Add tests for
2099 'operator' in more locations.
2100
c8c4d8dc
KB
21012003-04-16 Kevin Buettner <kevinb@redhat.com>
2102
2103 * gdb.base/args.exp: Invoke gdb_load for simulator targets.
2104
3fe60e3c
EZ
21052003-04-16 Elena Zannoni <ezannoni@redhat.com>
2106
2107 * gdb.base/completion.exp: Make 'info func mark' complete on 'info
2108 func marke' instead. Update test name.
2109
9219021c
DC
21102003-04-15 David Carlton <carlton@math.stanford.edu>
2111
2112 * gdb.c++/maint.exp: New file.
2113
5dd55bdd
EZ
21142003-04-14 Elena Zannoni <ezannoni@redhat.com>
2115
2116 * gdb.threads/schedlock.c: Change type of thread function argument
2117 to long, to avoid warnings on 64-bit platforms.
2118
00890572
EZ
21192003-04-14 Elena Zannoni <ezannoni@redhat.com>
2120
2121 * gdb.base/attach.exp: Add new message from ptrace in case of
2122 attaching to nonexistent process.
d63a86f8 2123
93201743
JB
21242003-04-11 Jim Blandy <jimb@redhat.com>
2125
2126 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
2127 gdb.c++/userdef.cc: Place comments on the lines to which the
2128 marker function might return.
2129 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
2130 gdb.c++/userdef.exp: Look for those comments to check that we've
2131 returned to the right place, instead of checking line numbers.
2132
2a11c64d
EZ
21332003-04-11 Elena Zannoni <ezannoni@redhat.com>
2134
2135 * gdb.threads/pthreads.exp (test_startup): When setting a breakpoint
2136 match on sourcefile name, instead of directory name.
2137
68ab8fc5
EZ
21382003-04-10 Elena Zannoni <ezannoni@redhat.com>
2139
d63a86f8 2140 * gdb.base/completion.exp: Use string_to_regexp to match the
68ab8fc5
EZ
2141 working directory name.
2142
5624293a
JB
21432003-04-09 Jim Blandy <jimb@redhat.com>
2144
2145 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
2146 gdb.c++/userdef.exp: If GDB fails to restore the selected frame
2147 after an inferior function call, report the failure, but allow the
2148 test to continue.
2149
f1f02ee4
SC
21502003-04-05 Stephane Carrez <stcarrez@nerim.fr>
2151
2152 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
2153 with -DPROTOTYPES.
2154
6eb79af0
SC
21552003-04-05 Stephane Carrez <stcarrez@nerim.fr>
2156
2157 * gdb.base/break.exp: Revert last patch.
2158
8dfb4cf0
SC
21592003-04-04 Stephane Carrez <stcarrez@nerim.fr>
2160
2161 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
2162 with -DPROTOTYPES.
2163
ed4c619a
AC
21642003-04-02 Andrew Cagney <cagney@redhat.com>
2165
2166 * gdb.base/callfuncs.exp: Make "print add" messages unique.
2167 * gdb.base/ending-run.exp: Put spaces around "breakpoint" to stop
2168 matching directories by the name breakpoint.
2169 * gdb.base/pointers.exp: Make "ptype pppC" message consistent.
2170 Make "continue to marker1" consistent.
2171 * gdb.base/call-rt-st.exp: Make "finish out from loop_count"
2172 message consistent.
2173 * lib/gdb.exp: Put "the program is no longer running", and "the
2174 program exited" in parenthesis.
2175 * lib/mi-support.exp: Ditto.
d63a86f8 2176
4e35d5f0 21772003-04-02 Bob Rossi <bob_rossi@cox.net>
d63a86f8 2178
4e35d5f0
BR
2179 * gdb.mi/mi-file.exp: New file for -file-list-exec-source-file.
2180
71900fe8
AC
21812003-03-29 Andrew Cagney <cagney@redhat.com>
2182
2183 * gdb.base/sizeof.c (main): Print the value of '\377'.
2184 * gdb.base/sizeof.exp: Check the sign of '\377'.
2185
c0655a16
MC
21862003-03-27 Michael Chastain <mec@shout.net>
2187
2188 * gdb.base/gdb1090.exp: New file.
2189 * gdb.base/gdb1090.cc: New file.
2190
5b2a3989
JB
21912003-03-27 J. Brobecker <brobecker@gnat.com>
2192
2193 * gdb.gdb/observer.exp: New regression test.
2194
79876890
MC
21952003-03-27 Michael Chastain <mec@shout.net>
2196
2197 * gdb.base/list.exp: Remove setup_xfail_format for DWARF 1.
2198 * gdb.base/ptype.exp: Likewise.
2199
6eac95e3
CV
22002003-03-27 Corinna Vinschen <vinschen@redhat.com>
2201
2202 * gdb.c++/casts.exp: Fix startup to run also on embedded targets.
2203
e8c71839
MC
22042003-03-26 Michael Chastain <mec@shout.net>
2205
2206 * gdb.base/ptype.exp: Actually use some typedef'd types.
2207
71b10041
SC
22082003-03-21 Stephane Carrez <stcarrez@nerim.fr>
2209
2210 * gdb.asm/asm-source.exp: Set asm-arch for m6811 and m6812.
2211 * gdb.asm/m68hc11.inc: New file for HC11/HC12 macros.
2212
2512cf80
CV
22132003-03-20 Corinna Vinschen <vinschen@redhat.com>
2214
2215 * gdb.base/default.exp: Fix regular expression.
2216
0d195a4f
CV
22172003-03-20 Corinna Vinschen <vinschen@redhat.com>
2218
2219 * gdb.base/args.exp: Fix regular expression.
2220
8a2dbca8
CV
22212003-03-20 Corinna Vinschen <vinschen@redhat.com>
2222
2223 * gdb.base/help.exp: Allow Win32 child process.
2224
bf028682
CV
22252003-03-20 Corinna Vinschen <vinschen@redhat.com>
2226
2227 * gdb.base/ending-run.exp: Check for Cygwin specific wrapper function
2228 when stepping out of main().
2229
182dbe85
CV
22302003-03-20 Corinna Vinschen <vinschen@redhat.com>
2231
2232 * gdb.base/default.exp: Check for win32 specific message when calling
2233 "run" without executable.
2234
d67a6ba5
CV
22352003-03-20 Corinna Vinschen <vinschen@redhat.com>
2236
2237 * gdb.base/args.exp: Expect .exe in output.
2238
a955b5bb
CV
22392003-03-20 Corinna Vinschen <vinschen@redhat.com>
2240
2241 * gdb.asm/asm-source.exp: Add appropriate --entry linker flag for
2242 Cygwin native.
2243
bf6bad4b
AC
22442003-03-17 Andrew Cagney <cagney@redhat.com>
2245
2246 From Elena Zannoni <ezannoni@redhat.com>. Test e500 abi and
2247 vector registes.
2248 * gdb.arch/e500-regs.c, gdb.arch/e500-regs.exp: New files.
2249 * gdb.arch/e500-abi.c, gdb.arch/e500-abi.exp: New files.
2250
293e9a31
DC
22512003-03-17 David Carlton <carlton@math.stanford.edu>
2252
2253 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): New
2254 test, for PR breakpoints/38.
2255 Call test_watchpoint_and_breakpoint.
2256 * gdb.base/watchpoint.c (func3): New function.
2257 (main): Call func3.
2258
5330f2db
DC
22592003-03-04 David Carlton <carlton@math.stanford.edu>
2260
2261 * gdb.c++/templates.exp (do_tests): Accept valid const in "print
2262 Garply<Garply<char> >:: garply".
2263 (test_ptype_of_templates): KFAIL "ptype T5<int>" and "ptype t5i"
2264 with respect to PR c++/1111; note also PR c++/1113.
2265 (test_template_breakpoints): KFAIL "constructor breakpoint" with
2266 respect to PR c++/1062.
2267 KFAIL "destructor breakpoint" with respect to PR c++/1112.
2268
6ece72da
DC
22692003-03-03 David Carlton <carlton@math.stanford.edu>
2270
2271 * gdb.c++/classes.exp (test_enums): KFAIL "ptype obj_with_enum"
2272 with respect to PR c++/57.
2273 KFAIL "print (ClassWithEnum::PrivEnum) 42" with respect to PR
2274 c++/826.
2275 Create "print ('ClassWithEnum::PrivEnum') 42"; KFAIL it with
2276 respect to PR c++/57.
2277
85ca1584
DC
22782003-03-03 David Carlton <carlton@math.stanford.edu>
2279
2280 * gdb.c++/templates.exp (do_tests): Convert the KFAILs with
2281 respect to PR c++/33 into FAILs.
2282
98e9c5b8
MC
22832003-03-03 Michael Chastain <mec@shout.net>
2284
7bedbf27
MC
2285 * configure.in: Update copyright years.
2286
22872003-03-03 Michael Chastain <mec@shout.net>
2288
2289 * Makefile.in: Update copyright years.
98e9c5b8 2290
f683e100
DC
22912003-02-28 David Carlton <carlton@math.stanford.edu>
2292
2293 * gdb.c++/classes.exp (test_ptype_class_objects): Accept it if we
2294 print class instead of struct and/or superfluous protection
2295 specifiers, as long as the resulting output is equivalent to the
2296 source code.
2297 Delete FIXME from end of messages on tests that don't need
2298 fixing.
2299
a9e0cf2c
DC
23002003-02-28 David Carlton <carlton@math.stanford.edu>
2301
2302 * gdb.c++/templates.exp (do_tests): Allow const in the two
2303 Foo<volatile char *>::foo tests.
2304
e8d359df
MS
23052003-02-27 Michael Snyder <msnyder@redhat.com>
2306
d63a86f8 2307 * gdb.base/restore.c (main): Return zero, so exit code
e8d359df
MS
2308 will be consistant.
2309
0b71dc91
DC
23102003-02-26 David Carlton <carlton@math.stanford.edu>
2311
2312 * gdb.c++/templates.exp (do_tests): KFAIL the "print Foo<volatile
2313 char *>::foo" test with respect to PR c++/33. Create a new test
2314 which is identical to that one except that it doesn't put the
2315 space between the "char" and the "*"; KFAIL it, too.
2316
dd14ab43
DC
23172003-02-26 David Carlton <carlton@math.stanford.edu>
2318
2319 * gdb.c++/templates.exp (do_tests): Convert XFAILs about printing
2320 template types into either PASSes or KFAILs (corresponding to PR
2321 c++/57). Tweak indentation. Update copyright.
2322
1146c7f1
SC
23232003-02-23 Stephane Carrez <stcarrez@nerim.fr>
2324
2325 * lib/gdb.exp: Don't execute C++ tests on m6811/m6812 targets.
2326
74641dfb
MC
23272003-02-13 Michael Chastain <mec@shout.net>
2328
2329 * gdb.base/exprs.exp: Remove i960 remnants.
2330 * gdb.base/funcargs.exp: Likewise.
2331 * gdb.base/list.exp: Likewise.
2332 * gdb.base/ptype.exp: Likewise.
2333
559cd2d0
DC
23342003-02-14 David Carlton <carlton@math.stanford.edu>
2335
2336 * gdb.c++/virtfunc.exp (test_virtual_calls): Change 'print
2337 pEe->D::vg()" from XFAIL to KFAIL.
2338
c4f90d87
JM
23392003-02-13 Jason Molenda (jmolenda@apple.com)
2340
2341 * gdb.base/maint.exp: Update maint print statistics regexp to include
2342 new entries.
2343
cbc4d97c
MC
23442003-02-13 Michael Chastain <mec@shout.net>
2345
2346 * gdb.c++/inherit.exp: Remove call to get_debug_format.
2347
40f235b7
MC
23482003-02-12 Michael Chastain <mec@shout.net>
2349
2350 * gdb.c++/classes.exp: Remove setup_xfail_format for DWARF 1.
2351 * gdb.c++/inherit.exp: Likewise.
2352 * gdb.c++/cplusfuncs.exp: Remove suppression logic for DWARF 1.
2353 * gdb.c++/templates.exp: Likewise.
2354 * gdb.c++/virtfunc.exp: Likewise.
2355
c56716b0
JM
23562003-02-06 Jason Molenda (jason-cl@molenda.com)
2357
2358 * gdb.mi/mi-syn-frame.c (subroutine): Add a comment explaining
2359 why the code is written that way.
2360
070afcf8
MC
23612003-02-05 Michael Chastain <mec@shout.net>
2362
2363 * gdb.base/dump.exp: Add missing copyright line.
2364
5d0331e5
JM
23652003-02-05 Jason Molenda (jason-cl@molenda.com)
2366
f7ae6d3e 2367 * gdb.mi/mi-syn-frame.c (subroutine): Add an extra statement
5d0331e5
JM
2368 at the beginning so the breakpoint doesn't get set on the loop.
2369
92851186
MC
23702003-02-05 Michael Chastain <mec@shout.net>
2371
2372 * gdb.c++/local.exp: Relax the test for PR gdb/825 to accept
2373 output for configurations with gcc 2.95.3.
2374
cbf1e085
AC
23752003-02-05 Keith Seitz <keiths@redhat.com>
2376 Andrew Cagney <ac131313@redhat.com>
2377
2378 * gdb.mi/mi-cli.exp: New file.
d63a86f8 2379
29518e1e
MC
23802003-02-04 Michael Chastain <mec@shout.net>
2381
2382 * gdb.c++/anon-union.exp: Do not call gdb_suppress_entire_file.
2383 Call perror and then continue.
2384
5af1d5f3
MC
23852003-02-03 Michael Chastain <mec@shout.net>
2386
2387 * gdb.c++/pr-1023.cc: New file.
2388 * gdb.c++/pr-1023.exp: New file.
2389
6b549786
JB
23902003-02-05 Jim Blandy <jimb@redhat.com>
2391
2392 * gdb.c++/local.exp: Don't expect Local to be in scope in main;
2393 it's local to foobar. Check for it there, and check that it's not
2394 present in main.
2395 * gdb.c++/local.cc (marker2): New function.
2396 (foobar): Call marker1.
2397 (main): Call marker2 instead of marker1.
2398
67f16606
AC
23992003-02-04 Andrew Cagney <ac131313@redhat.com>
2400
2401 * gdb.disasm/mn10200.exp: Obsolete file.
2402 * gdb.trace/Makefile.in (clean mostlyclean): Remove mn10200.
2403 * gdb.disasm/Makefile.in (clean mostlyclean): Remove mn10200.
2404 * gdb.base/watchpoint.exp: Mark the mn10200 xfails as obsolete.
2405
1c5cb38e
DC
24062003-02-04 David Carlton <carlton@math.stanford.edu>
2407
2408 * gdb.c++/overload.exp: Test intToChar(1).
2409 * gdb.c++/overload.cc (intToChar): New.
2410 (main): Call intToChar.
2411
d1fe6965
DC
24122003-02-03 David Carlton <carlton@math.stanford.edu>
2413
2414 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): Add
2415 'might_kfail' arg.
2416 KFAIL some of the continue_to_bp_overloaded calls, according to
2417 PR c++/1025.
2418
9ba61c5d
MC
24192003-02-01 Michael Chastain <mec@shout.net>
2420
2421 * gdb.base/advance.c (marker1): New marker function.
2422 * gdb.base/advance.exp: When the 'advance' command lands on the
2423 return breakpoint, it can legitimately stop on either the
2424 current line or the next line. Accommodate both outcomes.
2425 * gdb.base/until.exp: Likewise.
2426
e7494ffb
AC
24272003-02-02 Andrew Cagney <ac131313@redhat.com>
2428
2429 2002-11-10 Jason Molenda (jason-cl@molenda.com):
2430 * gdb.mi/mi-var-child.exp: -var-list-children's CHILDREN field is
2431 now a list, not a tuple.
2432 * gdb.mi/mi-var-display.exp: Ditto.
2433 * gdb.mi/gdb792.exp: Ditto.
2434
075559bc
AC
24352003-02-01 Andrew Cagney <ac131313@redhat.com>
2436
2437 From 2002-11-09 Jason Molenda (jason-cl@molenda.com):
2438 * gdb.mi/mi-syn-frame.exp: New tests for synthetic frames in
2439 stack backtraces.
2440 * gdb.mi/mi-syn-frame.c: Part of same.
2441
2bd4c7b1
MK
24422003-02-01 Mark Kettenis <kettenis@gnu.org>
2443
2444 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
2445 gdb.mi/mi1-pthreads.exp: Return instead of calling
2446 gdb_suppress_entire_file.
2447
eabd8992
MS
24482003-02-01 Mark Salter <msalter@redhat.com>
2449
2450 * gdb.asm/arm.inc (gdbasm_startup): Clear frame pointer, not sp.
2451
71469e2f
MS
24522003-01-31 Mark Salter <msalter@redhat.com>
2453
2454 * lib/mi-support.exp (mi_gdb_load): Support remote targets.
2455 Support empty arg.
2456
38a94d44
MC
24572003-01-30 Michael Chastain <mec@shout.net>
2458
2459 * lib/gdb.exp: Revert patch of 2003-01-06, which set LC_ALL.
2460 This was a workaround for a UTF-8 bug in readline 4.3. The bug
2461 has been fixed in gdb/readline on 2003-01-09.
2462
19ea9e73
MS
24632003-01-29 Michael Snyder <msnyder@redhat.com>
2464
e8d359df
MS
2465 * gdb.base/maint.exp: Allow for leading underscore in symbol.
2466 * gdb.base/display.exp: Allow for leading underscore in symbol.
19ea9e73
MS
2467 * gdb.base/args.exp: Skip if target does not support args passing.
2468
2307bd6a
DJ
24692003-01-22 Daniel Jacobowitz <drow@mvista.com>
2470
19ea9e73 2471 * lib/gdb.exp (gdb_test_multiple): New function, cloned from
2307bd6a
DJ
2472 gdb_test. Accept a list of expect arguments as the third
2473 parameter.
2474 (gdb_test): Use it.
2475
f2dd3617
EZ
24762003-01-20 Elena Zannoni <ezannoni@redhat.com>
2477
2478 * gdb.arch/altivec-abi.exp: Set variable 'srcfile' differently, to
2479 allow for different test tree configurations. Update some
2480 tescases accordingly.
2481 * gdb.arch/altivec-regs.exp: Ditto.
2482 * gdb.asm/asm-source.exp: Ditto.
2483 * gdb.base/advance.exp: Ditto.
2484 * gdb.base/display.exp: Ditto.
d63a86f8 2485 * gdb.base/long_long.exp: Ditto.
f2dd3617
EZ
2486 * gdb.base/mips_pro.exp: Ditto.
2487 * gdb.base/overlays.exp: Ditto.
2488 * gdb.base/relocate.exp: Ditto.
2489 * gdb.base/setshow.exp: Ditto.
2490 * gdb.base/step-line.exp: Ditto.
2491 * gdb.base/step-test.exp: Ditto.
2492 * gdb.base/until.exp: Ditto.
2493 * gdb.c++/virtfunc.exp: Get rid of variable 'src'.
2494
c71cdefd
DC
24952003-01-17 David Carlton <carlton@math.stanford.edu>
2496
2497 * gdb.c++/demangle.exp (test_lucid_style_demangling): KFAIL test
2498 corresponding to PR c++/945.
2499 Update copyright.
2500
fdba05d7
DC
25012003-01-17 David Carlton <carlton@math.stanford.edu>
2502
2503 * gdb.c++/inherit.exp (test_print_mi_members): KFAIL tests
2504 corresponding to PR c++/68.
2505
25062003-01-17 David Carlton <carlton@math.stanford.edu>
d2b29e01
DC
2507
2508 * gdb.c++/cplusfuncs.exp (print_addr_2_kfail): New procedure.
2509 (test_paddr_hairy_functions): Call print_addr_2_kfail for
2510 hairyfunc5 through hairyfunc7. KFAIL for PR c++/19.
2511
c362c33a
EZ
25122003-01-15 Elena Zannoni <ezannoni@redhat.com>
2513
0fbc361c
EZ
2514 * gdb.base/break.exp: Fix change of default location, because of
2515 removal of until tests.
2516 * gdb.base/help.exp: Update test for new 'until' help message.
2517 Add test for help on 'advance'.
c362c33a
EZ
2518 * gdb.base/args.exp: Fix foobar with GDBFLAGS global.
2519
dabf8a35
MK
25202003-01-15 Mark Kettenis <kettenis@gnu.org>
2521
2522 * gdb.base/default.exp: Adapt "info float" test for recent changes
2523 to that command. Add test for "info vector".
2524 * gdb.base/float.exp: New file. Add test for "info float" that
2525 resembles the old test in gdb.base/default.exp.
2526
a1769aca
DC
25272003-01-15 David Carlton <carlton@math.stanford.edu>
2528
2529 * gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot.
2530
82025e13
EZ
25312003-01-15 Elena Zannoni <ezannoni@redhat.com>
2532
2533 * gdb.base/break.exp: Move the tests of until command from here...
2534 * gdb.base/until.exp: ... to here. New file. Add other tests.
2535 * gdb.base/advance.c: New file.
2536 * gdb.base/advance.exp: New file.
2537
8f9ab801
EZ
25382003-01-14 Elena Zannoni <ezannoni@redhat.com>
2539
2540 * gdb.base/args.c: New file.
2541 * gdb.base/args.exp: New file.
2542
9ae66589
DJ
25432003-01-14 Daniel Jacobowitz <drow@mvista.com>
2544
2545 * gdb.c++/virtfunc.exp: Remove fixed XFAIL.
2546
8d77e5c3
DJ
25472003-01-14 Daniel Jacobowitz <drow@mvista.com>
2548
2549 * gdb.threads/killed.exp: Use KFAIL for gdb/568.
2550
12d2f0a1
DJ
25512003-01-14 Daniel Jacobowitz <drow@mvista.com>
2552
2553 * gdb.base/constvars.exp: Remove two extra XFAILs. Update copyright
2554 dates.
2555
6ca37014
DJ
25562003-01-13 Daniel Jacobowitz <drow@mvista.com>
2557
2558 * gdb.c++/printmethod.exp (print virtual method): Accept "(void)".
2559
b0023472
DJ
25602003-01-13 Daniel Jacobowitz <drow@mvista.com>
2561
2562 * gdb.base/printcmds.exp: Enable setup_kfail for gdb/538
2563 (ptype &*"foo").
2564 * gdb.c++/local.exp: Enable setup_kfail for gdb/482.
2565
d6abaea5
DJ
25662002-01-13 Daniel Jacobowitz <drow@mvista.com>
2567
2568 * gdb.mi/mi-console.exp: Remove extra "(known bug)".
2569 * gdb.mi/mi1-console.exp: Likewise.
2570
dfd536a7
DJ
25712002-01-13 Daniel Jacobowitz <drow@mvista.com>
2572
2573 * gdb.mi/mi-console.exp: Add KFAIL for "Hello message (known bug)".
2574 * gdb.mi/mi1-console.exp: Likewise.
2575
a1fb14a2
DJ
25762003-01-13 Daniel Jacobowitz <drow@mvista.com>
2577
2578 * gdb.c++/overload.exp: Remove some fixed XFAILs.
2579
c4cf40b7
DJ
25802003-01-09 Daniel Jacobowitz <drow@mvista.com>
2581
2582 * gdb.base/detach.exp: New test.
2583
696d5a5b
DJ
25842003-01-09 Daniel Jacobowitz <drow@mvista.com>
2585
2586 * Makefile.in (ALL_SUBDIRS): New variable.
2587 (subdirs, clean, distclean): Use it.
2588 * gdb.arch/Makefile.in: Clean up Makefile. Remove rules for
2589 regenerating Makefile, since it is generated from the top level.
2590 * gdb.asm/Makefile.in: Likewise.
2591 * gdb.base/Makefile.in: Likewise.
2592 * gdb.c++/Makefile.in: Likewise.
2593 * gdb.disasm/Makefile.in: Likewise.
2594 * gdb.java/Makefile.in: Likewise.
2595 * gdb.mi/Makefile.in: Likewise.
2596 * gdb.threads/Makefile.in: Likewise.
2597 * gdb.trace/Makefile.in: Likewise.
2598
754533e4
DC
25992003-01-09 David Carlton <carlton@math.stanford.edu>
2600
2601 * gdb.c++/annota2.exp: KFAIL "watch triggered on a.x".
2602 Add copyright year 2003.
2603
d8b3e9ee
MC
26042003-01-06 Michael Chastain <mec@shout.net>
2605
2606 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set):
2607 When selecting a thread, 'line' and 'file' are optional.
2608 * gdb.mi/mi1-pthreads.exp: Likewise.
2609
8e9e0fe6
AS
26102003-01-06 Andreas Schwab <schwab@suse.de>
2611
2612 * lib/gdb.exp: Set LC_ALL to "C" to avoid spurious testsuite
2613 failures.
2614
b5ab8ff3
DJ
26152003-01-04 Daniel Jacobowitz <drow@mvista.com>
2616
2617 Fix PR gdb/844
2618 * lib/gdb.exp (gdb_compile): Handle "quiet" option.
2619 (gdb_compile_pthreads): Pass "quiet" to gdb_compile.
2620
2621 * gdb.threads/gcore-thread.exp: Use gdb_compile_pthreads. Return
2622 instead of calling gdb_suppress_entire_file.
2623 * gdb.threads/print-threads.exp: Likewise.
2624 * gdb.threads/schedlock.exp: Likewise.
2625
2626 * gdb.threads/killed.exp: Return instead of calling
2627 gdb_suppress_entire_file.
2628 * gdb.threads/linux-dp.exp: Likewise.
2629 * gdb.threads/pthreads.exp: Likewise.
2630
1e698235
DJ
26312003-01-04 Daniel Jacobowitz <drow@mvista.com>
2632
2633 * gdb.base/callfuncs.exp: Don't XFAIL unprototyped functions for
2634 stabs.
2635 * gdb.base/completion.exp: Allow marker1(void) as well as marker1().
2636 * gdb.base/whatis.exp: Always allow (void) after function names.
2637
147ff08c
DJ
26382003-01-04 Daniel Jacobowitz <drow@mvista.com>
2639
2640 * gdb.c++/casts.exp: Correct regexp.
2641
dc62bfc2
MK
26422003-01-04 Mark Kettenis <kettenis@gnu.org>
2643
2644 * configure.in: Call AC_CONFIG_HEADER. Don't call
2645 AC_CONFIG_SUBDIRS on gdb.arch, gdb.asm, gdb.base gdb.c++ gdb.java,
2646 gdb.disasm, gdb.mi, gdb.threads and gdb.trace. Call
2647 AC_CHECK_HEADERS on pthread.h. Put Makefiles in the
2648 aforementioned directories in the AC_OUPUT call.
2649 * config.hin: New file.
2650 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
2651 gdb.mi/mi1-pthreads.exp, gdb.threads/gcore-thread.exp,
2652 gdb.threads/killed.exp, gdb.threads/print-threads.exp,
2653 gdb.threads/pthreads.exp, gdb.threads/schedlock.exp: Make sure we
2654 pass -I$objdir instead of -I$objdir/$subdir in compilation.
2655 * gdb.arch/configure.in, gdb.arch/configure, gdb.asm/configure.in,
2656 gdb.asm/configure, gdb.base/configure.in, gdb.base/configure,
2657 gdb.c++/configure.in, gdb.c++/configure, gdb.disasm/configure.in,
2658 gdb.disasm/configure, gdb.java/configure.in, gdb.java/configure,
2659 gdb.mi/configure.in, gdb.mi/configure, gdb.mi/config.in,
2660 gdb.threads/configure.in, gdb.threads/configure,
2661 gdb.threads/config.in, gdb.trace/configure.in,
2662 gdb.trace/configure: Removed.
2663
77afa639
MC
26642003-01-03 Michael Chastain <mec@shout.net>
2665
2666 * gdb.base/miscexprs.c: Fix PR gdb/697, "buglet in
2667 testsuite/gdb.base/miscexprs.c, off-by-1 array reference".
2668
7634bb6e
DJ
26692003-01-03 Daniel Jacobowitz <drow@mvista.com>
2670
2671 * gdb.base/store.exp: Fix regular expressions.
2672
b39c905e
MK
26732002-12-28 Mark Kettenis <kettenis@gnu.org>
2674
2675 * configure.in: Rewrite.
2676 * configure: Regenerated.
2677
0a8551dd
DC
26782003-01-03 David Carlton <carlton@math.stanford.edu>
2679
2680 * gdb.base/psymtab.exp: New file.
2681 * gdb.base/psymtab1.c: Ditto.
2682 * gdb.base/psymtab2.c: Ditto.
2683
c60b7188
AF
26842002-12-23 Adam Fedor <fedor@gnu.org>
2685
2686 * gdb.base/maint.exp: Update expect output to include 'ObjC'.
2687
ee73db83
DC
26882002-12-23 David Carlton <carlton@math.stanford.edu>
2689
2690 * gdb.base/selftest.exp (do_steps_and_nexts): Allow initial brace
2691 and current_directory initialization.
2692
d6c1774e
JB
26932002-12-22 Jim Blandy <jimb@redhat.com>
2694
f0a847b8
JB
2695 * gdb.trace/tfind.exp: Pass '-O1' flag via the 'optimize' option,
2696 rather than as part of the output file name.
2697
d6c1774e
JB
2698 * gdb.base/attach.exp: There's no need to copy the test program to
2699 /tmp; that was only ever necessary on HP/UX, and this test is
2700 entirely disabled there anyway.
2701
f0708dbb
JB
27022002-12-21 Jim Blandy <jimb@redhat.com>
2703
4c2acfea
JB
2704 * gdb.c++/psmang.exp: Doc fix.
2705
f0708dbb
JB
2706 * gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: New
2707 test.
2708
9579e000
DC
27092002-12-20 David Carlton <carlton@math.stanford.edu>
2710
2711 * gdb.c++/annota2.exp: KFAIL annotate-quit.
2712
d1810171
MC
27132002-12-18 Michael Chastain <mec@shout.net>
2714
2715 * gdb.c++/annota2.exp: Add copyright year 2002.
2716
76565097
DC
27172002-12-17 David Carlton <carlton@math.stanford.edu>
2718
2719 * gdb.c++/try_catch.cc: Add marker comments.
2720 * gdb.c++/try_catch.exp: Get line numbers from marker comments.
2721 * gdb.c++/m-data.cc: Delete namespace __gnu_test.
2722 * gdb.c++/m-static.cc: Ditto.
2723 * gdb.c++/m-static1.cc: Ditto.
2724 * gdb.c++/try_catch.cc: Ditto.
2725
da81390b
JJ
27262002-12-16 Jeff Johnston <jjohnstn@redhat.com>
2727
2728 * lib/mi-support.exp (mi_reinitialize_dir): Check mi level
2729 to see whether we are using the new -environment-directory
2730 command which resets via -r or the old version of the command
2731 which may prompt the user. Part of fix for gdb/741.
2732
b304d130
AC
27332002-12-13 Andrew Cagney <ac131313@redhat.com>
2734
2735 * gdb.fortran/types.exp: Update obsolete comment.
2736 * gdb.fortran/exprs.exp: Ditto.
2737 * lib/gdb.exp: Delete obsolete code.
2738 * gdb.chill/ChangeLog, gdb.chill/Makefile.in: Delete.
2739 * gdb.chill/builtins.ch, gdb.chill/builtins.exp: Delete.
2740 * gdb.chill/callch.ch, gdb.chill/callch.exp: Delete.
2741 * gdb.chill/chexp.exp, gdb.chill/chillvars.ch: Delete.
2742 * gdb.chill/chillvars.exp, gdb.chill/configure: Delete.
2743 * gdb.chill/configure.in, gdb.chill/enum.ch: Delete.
2744 * gdb.chill/enum.exp, gdb.chill/func1.ch: Delete.
2745 * gdb.chill/gch1041.ch, gdb.chill/gch1041.exp: Delete.
2746 * gdb.chill/gch1272.ch, gdb.chill/gch1272.exp: Delete.
2747 * gdb.chill/gch1280.ch, gdb.chill/gch1280.exp: Delete.
2748 * gdb.chill/gch922.ch, gdb.chill/gch922.exp: Delete.
2749 * gdb.chill/gch981.ch, gdb.chill/gch981.exp: Delete.
2750 * gdb.chill/misc.ch, gdb.chill/misc.exp: Delete.
2751 * gdb.chill/powerset.ch, gdb.chill/powerset.exp: Delete.
2752 * gdb.chill/pr-4975-grt.ch, gdb.chill/pr-4975.ch: Delete.
2753 * gdb.chill/pr-4975.exp, gdb.chill/pr-5016.ch: Delete.
2754 * gdb.chill/pr-5016.exp, gdb.chill/pr-5020.ch: Delete.
2755 * gdb.chill/pr-5020.exp, gdb.chill/pr-5022.ch: Delete.
2756 * gdb.chill/pr-5022.exp, gdb.chill/pr-5646-grt.ch: Delete.
2757 * gdb.chill/pr-5646.ch, gdb.chill/pr-5646.exp: Delete.
2758 * gdb.chill/pr-5984.ch, gdb.chill/pr-5984.exp: Delete.
2759 * gdb.chill/pr-6292.ch, gdb.chill/pr-6292.exp: Delete.
2760 * gdb.chill/pr-6632-grt.ch, gdb.chill/pr-6632.ch: Delete.
2761 * gdb.chill/pr-6632.exp, gdb.chill/pr-8134.exp: Delete.
2762 * gdb.chill/pr-8136.ch, gdb.chill/pr-8136.exp: Delete.
2763 * gdb.chill/pr-8405.ch, gdb.chill/pr-8405.exp: Delete.
2764 * gdb.chill/pr-8742.ch, gdb.chill/pr-8742.exp: Delete.
2765 * gdb.chill/pr-8894-grt.ch, gdb.chill/pr-8894.ch: Delete.
2766 * gdb.chill/pr-8894.exp, gdb.chill/pr-9095.ch: Delete.
2767 * gdb.chill/pr-9095.exp, gdb.chill/pr-9946.ch: Delete.
2768 * gdb.chill/pr-9946.exp, gdb.chill/result.ch: Delete.
2769 * gdb.chill/result.exp, gdb.chill/string.ch: Delete.
2770 * gdb.chill/string.exp, gdb.chill/tests1.ch: Delete.
2771 * gdb.chill/tests1.exp, gdb.chill/tests2.ch: Delete.
2772 * gdb.chill/tests2.exp, gdb.chill/tuples.ch: Delete.
2773 * gdb.chill/tuples.exp, gdb.chill/xstruct-grt.ch: Delete.
2774 * gdb.chill/xstruct.ch, gdb.chill/xstruct.exp: Delete.
2775
a23b6e6a
DC
27762002-12-11 David Carlton <carlton@math.stanford.edu>
2777
2778 * gdb.c++/m-data.exp: Add test for members that shadow global
2779 variables: see PR gdb/804.
2780 * gdb.c++/m-data.cc: Ditto.
2781
6604731b
DJ
27822002-12-10 Daniel Jacobowitz <drow@mvista.com>
2783
2784 * gdb.base/foll-vfork.exp: Re-enable test on HP/UX.
2785
de46ecd7
DC
27862002-12-06 David Carlton <carlton@math.stanford.edu>
2787
2788 * gdb.base/store.c: Don't declare functions static.
2789
27e829d0
AC
27902002-12-04 Andrew Cagney <ac131313@redhat.com>
2791
2792 * gdb.base/store.exp, gdb.base/store.c: New files.
2793
92806416
DJ
27942002-12-03 Daniel Jacobowitz <drow@mvista.com>
2795
2796 * gdb.base/selftest.exp: Update for current gdb.
2797
3bcbaac5
DJ
27982002-12-03 Daniel Jacobowitz <drow@mvista.com>
2799
2800 * gdb.base/maint.exp: Only dump symbols from one source file
2801 or objfile.
2802
f4f00b1f
DJ
28032002-12-03 Daniel Jacobowitz <drow@mvista.com>
2804
2805 * gdb.base/step-test.exp: Allow MIPS to return to the line of a
2806 function call.
2807
f1c8a949
JB
28082002-11-25 Jim Blandy <jimb@redhat.com>
2809
2810 * lib/mi-support.exp (mi_delete_breakpoints): Change name of
2811 function appearing in error message.
2812
9e297a97
DJ
28132002-11-21 Daniel Jacobowitz <drow@mvista.com>
2814
2815 * gdb.base/maint.exp (help maint dump-me): Update with typo fix.
2816
1f312e79
JJ
28172002-11-08 Jeff Johnston <jjohnstn@redhat.com>
2818
d63a86f8
RM
2819 * lib/mi-support.exp (mi_gdb_start): Verify the startup message
2820 for mi1 and current mi is in correct format. New mi startup message
1f312e79
JJ
2821 should be in mi console format. This is part of fix for PR gdb/604.
2822
83c31e7d
FN
28232002-09-18 Fernando Nasser <fnasser@redhat.com>
2824
2825 * gdb.asm/asm-source.exp: Adjust patter to new disassembler routine
2826 which explicitly prints the zero offset as "+0".
2827
322b3f65
DJ
28282002-10-22 Daniel Jacobowitz <drow@mvista.com>
2829
2830 * gdb.threads/schedlock.c (args): Make unsigned.
2831
28322002-10-21 Daniel Jacobowitz <drow@mvista.com>
2833
2834 * gdb.asm/asm-source.exp: Add "mips*-*" pattern. Update line
2835 numbers. Allow "foo2|selected stack frame".
2836 * gdb.asm/asmsrc1.s: Use gdbasm_declare and gdbasm_end.
2837 * gdb.asm/asmsrc2.s: Likewise.
2838 * gdb.asm/common.inc: Define gdbasm_declare and gdbasm_end. Update
2839 comments.
2840 * gdb.asm/mips.inc: New file.
2841
5e2fe5b8
AF
28422002-10-18 Adam Fedor <fedor@gnu.org>
2843
2844 * gdb.base/default.exp: Update expected output to include 'ObjC'.
2845 * gdb.base/help.exp: Likewise.
2846
abe1a5d0
KB
28472002-10-17 Kevin Buettner <kevinb@redhat.com>
2848
2849 * gdb.base/constvars.c (struct crass, struct crisp): New structs.
2850 * gdb.base/constvars.exp (ptype crass, ptype crisp): New tests.
2851
10abb1d4
JB
28522002-10-02 Jim Blandy <jimb@redhat.com>
2853
2854 * gdb.c++/casts.cc, gdb.c++/casts.exp: New test.
2855
1f609b42
AC
28562002-10-01 Andrew Cagney <ac131313@redhat.com>
2857
2858 * mi1-basics.exp: Copy of mi1-basics.exp MIFLAGS set "-i=mi1".
2859 * mi1-break.exp, mi1-console.exp, mi1-disassemble.exp: Ditto.
2860 * mi1-eval.exp, mi1-hack-cli.exp, mi1-pthreads.exp: Ditto.
2861 * mi1-read-memory.exp, mi1-regs.exp, mi1-return.exp: Ditto.
2862 * mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp: Ditto.
2863 * mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp: Ditto.
2864 * mi1-var-cmd.exp, mi1-var-display.exp, mi1-watch.exp: Ditto.
2865
0aee02e4
AC
28662002-09-29 Andrew Cagney <ac131313@redhat.com>
2867
2868 * mi0-basics.exp, mi0-break.exp, mi0-console.exp: Delete.
2869 * mi0-disassemble.exp, mi0-eval.exp: Delete.
2870 * mi0-hack-cli.exp, mi0-read-memory.exp: Delete.
2871 * mi0-regs.exp, mi0-return.exp, mi0-simplerun.exp: Delete.
2872 * mi0-stack.exp, mi0-stepi.exp, mi0-until.exp: Delete.
2873 * mi0-var-block.exp, mi0-var-child.exp: Delete.
2874 * mi0-var-cmd.exp, mi0-var-display.exp, mi0-watch.exp: Delete.
d63a86f8 2875
6fde09ad
KB
28762002-09-27 Kevin Buettner <kevinb@redhat.com>
2877
2878 * gdb.base/annota1.exp (info break): Make directory components of
2879 path optional since not all compilers emit this debug information.
2880
2881 * gdb.base/shlib-call.exp (step inside shr2): Don't fail if first
2882 step ends up stepping out of the function instead of stopping on
2883 the epilogue.
2884
9e8aab75
KS
28852002-09-26 Keith Seitz <keiths@redhat.com>
2886
2887 * lib/insight-support.exp (gdbtk_start): Figure out where
2888 the insight executable is based on where gdb is. Use this
2889 executable to start insight instead of gdb.
2890
e36180d7
AC
28912002-09-25 Andrew Cagney <cagney@redhat.com>
2892
2893 * gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
2894
9dd34b2b
AC
28952002-09-24 Andrew Cagney <ac131313@redhat.com>
2896
2897 * gdb.gdb/complaints.exp (test_initial_complaints): Rename
2898 test_isolated_complaints.
2899 (test_empty_complaint): New function.
2900 (test_empty_complaints): New function. Check no output when no
2901 complaints.
d63a86f8 2902
dea97812
KB
29032002-09-19 Jim Blandy <jimb@redhat.com>
2904
2905 * gdb.base/charset.exp, gdb.base/charset.c: New files.
2906
54951bd7
AC
29072002-09-19 Andrew Cagney <ac131313@redhat.com>
2908
2909 * gdb.gdb/complaints.exp: New file.
2910
dec43320
AC
29112002-09-18 Andrew Cagney <ac131313@redhat.com>
2912
2913 * gdb.base/maint.exp: Check `help maint internal-warning'.
2914
e70d6e3f
DC
29152002-09-18 David Carlton <carlton@math.stanford.edu>
2916
2917 * gdb.c++/m-static.exp: Remove breakpoints depending on line
2918 numbers, and replace them by a single breakpoint after the
2919 constructors are all finished.
2920 Add test 4.
2921 * gdb.c++/m-static.cc: Add test 4.
2922 * gdb.c++/m-static.h: New file.
2923 * gdb.c++/m-static1.cc: New file.
2924
2925 * gdb.c++/printmethod.exp: New file.
2926 * gdb.c++/printmethod.cc: New file.
2927
2928 * gdb.c++/pr-574.exp: New file.
2929 * gdb.c++/pr-574.cc: New file.
2930
afb5c968
CV
29312002-09-18 Corinna Vinschen <vinschen@redhat.com>
2932
2933 * gdb.base/ending-run.exp: Add handling of "step to end of run" for
2934 embedded targets which never actually exit.
2935
31e45dee
FN
29362002-09-18 Fernando Nasser <fnasser@redhat.com>
2937
2938 * gdb.base/ending-run.exp: Properly mark "continue after exit" and
2939 "don't step after run" as unresolved or unsupported, instead of xfail.
2940
a283c5a1
CV
29412002-09-18 Corinna Vinschen <vinschen@redhat.com>
2942
2943 * gdb.base/ending-run.exp: Fix expected string for _wrap_main to
2944 allow correct handling of #ifdef UNDERSCORES from dejagnu/testglue.c.
2945 Add newline to expected string in "step out of main (status wrapper)"
2946 case.
2947
11350d2a
CV
29482002-09-18 Corinna Vinschen <vinschen@redhat.com>
2949
2950 * lib/gdb.exp (rerun_to_main): Allow restarting application.
2951 * gdb.base/ena-dis-br.exp (rerun_to_main): Eliminate.
2952
0deec7d6
TT
29532002-09-17 Tom Tromey <tromey@redhat.com>
2954
2955 * gdb.base/printcmds.exp (test_print_string_constants): Expect
2956 \000, not \0, in double-quoted string.
2957
b2b4a1b5
CV
29582002-09-14 Corinna Vinschen <vinschen@redhat.com>
2959
c9d37158 2960 * gdb.base/commands.exp: Don't expect a "Program exited normally"
b2b4a1b5
CV
2961 string after running the commands execution on breakpoint tests.
2962
1c56143a
CV
29632002-09-13 Corinna Vinschen <vinschen@redhat.com>
2964
2965 * lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.
2966
37f8da45
JB
29672002-09-12 Joel Brobecker <brobecker@gnat.com>
2968
2969 * gdb.base/call-strs.exp: Fix a small typo in one of the comments.
2970
08b468e0
KS
29712002-09-10 Keith Seitz <keiths@redhat.com>
2972
2973 * lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
2974 runto proc.
2975 (mi_run_to_main): Use mi_runto.
2976 (mi_execute_to): Renamed from mi_run_to. Changed all callers.
2977
dc360f58
KS
29782002-09-10 Keith Seitz <keiths@redhat.com>
2979
2980 * lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
2981 regexp for stopping at main. Could have multiple event notifications.
2982 Don't assume that main was declared with no parameters.
2983 (mi_next): Use mi_step_to.
2984 (mi_step): Use mi_next_to.
2985
ce3abcfb
CV
29862002-09-09 Corinna Vinschen <vinschen@redhat.com>
2987
2988 * gdb.base/default.exp: Fix expected string in `info float' test.
2989
d1f5b980
BE
29902002-09-09 Ben Elliston <bje@redhat.com>
2991
2992 * config/mips.exp: Update comments.
2993 * config/mips-idt.exp: Likewise.
2994 * config/nind.exp: Likewise.
2995 * config/slite.exp: Likewise.
2996 * config/sparclet.exp: Likewise.
2997 * config/udi.exp: Likewise.
2998 * config/vx.exp: Likewise.
2999 * config/vxworks29k.exp: Likewise.
3000
2f71430b
JB
30012002-09-05 Jim Blandy <jimb@redhat.com>
3002
3003 * gdb.threads/killed.exp: Fix test failure message.
3004
7ddebc7e
KS
30052002-09-04 Keith Seitz <keiths@redhat.com>
3006
3007 * lib/mi-support.exp: Update copyright.
3008 (mi_gdb_test): Increase the priority of the expected pattern
3009 so that it matches gdb_test.
3010
0ae67eb3
KS
30112002-09-03 Keith Seitz <keiths@redhat.com>
3012
3013 * lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
3014 Use integer comparison instead of string comparison for testing
3015 whether binary was built.
3016
38fc42c8
JB
30172002-09-03 Jim Blandy <jimb@redhat.com>
3018
3019 * gdb.threads/killed.exp, gdb.threads/killed.c: New test.
3020
b6ff0e81
JB
30212002-08-29 Jim Blandy <jimb@redhat.com>
3022
3023 * gdb.threads/pthreads.exp: Move the portable thread compilation
3024 code into a function in lib/gdb.exp, and call that from here.
3025 * lib/gdb.exp (gdb_compile_pthreads): New function.
3026
07c98896
KS
30272002-08-29 Keith Seitz <keiths@redhat.com>
3028
3029 * lib/mi-support.exp (mi_gdb_test): Add global declaration for
3030 expect_out so that callers can get at it.
3031
0312286c
DJ
30322002-08-23 Daniel Jacobowitz <drow@mvista.com>
3033
3034 * gdb.threads/print-threads.c: New file.
3035 * gdb.threads/print-threads.exp: New file.
3036 * gdb.threads/schedlock.c: New file.
3037 * gdb.threads/schedlock.exp: New file.
3038
dd039bc4
EZ
30392002-08-22 Elena Zannoni <ezannoni@redhat.com>
3040
3041 * gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
3042 not altivec.c.
3043
1f36144c
MK
30442002-08-17 Mark Kettenis <kettenis@gnu.org>
3045
3046 * gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
3047 targets. The problem should be fixed now.
3048
16057ec7 30492002-08-15 Mark Kettenis <kettenis@gnu.org>
5415e7c5
MK
3050
3051 * gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
3052 2002-07-24 change that removes final dots from error messages.
3053
3c1499ad
TT
30542002-08-13 Tom Tromey <tromey@redhat.com>
3055
3056 * gdb.base/readline.exp: New file.
3057
a20ce2c3
AC
30582002-08-01 Andrew Cagney <ac131313@redhat.com>
3059
3060 * lib/gdb.exp (gdb_expect_list): Only print one pass, fail, or
3061 supress message.
3062
db034ac5
AC
30632002-08-01 Andrew Cagney <cagney@redhat.com>
3064
3065 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL,
3066 CHILL_FOR_TARGET and CHILL_LIB.
3067 * configure.in (configdirs): Remove gdb.chill.
3068 * configure: Regenerate.
3069 * lib/gdb.exp: Obsolete references to chill.
3070 * gdb.fortran/types.exp: Ditto.
3071 * gdb.fortran/exprs.exp: Ditto.
3072
3e000b18
KB
30732002-07-30 Kevin Buettner <kevinb@redhat.com>
3074
3075 * gdb.base/shlib-call.exp (additional_flags): Conditionally
3076 set Irix-specific compile and link flags.
3077
28f4966b
KB
30782002-07-29 Kevin Buettner <kevinb@redhat.com>
3079
3080 * lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
3081 source files. The ``-o'' option doesn't work with the ``-E'' option
3082 when using the Irix compiler.
3083
46c0d5a6
DJ
30842002-07-19 Daniel Jacobowitz <drow@mvista.com>
3085
3086 * config/gdbserver.exp (gdb_load): Don't use TCL varargs.
3087 Improve support for reusing an exec file. Copy exec file
3088 to target, and run gdbserver on the target instead of on the host.
3089
eecf4bed
JB
30902002-07-18 Jim Blandy <jimb@redhat.com>
3091
0f815cdf
JB
3092 * gdb.base/ending-run.exp: Don't expect to see the program end in
3093 some orderly fashion when we're running on a real stand-alone
3094 board.
3095
eecf4bed
JB
3096 * gdb.base/interrupt.exp: Correct logic for skipping tests on
3097 targets that don't support interrupts.
3098
52d309e4
JB
30992002-07-10 Paul N. Hilfinger <hilfingr@otisco.mckusick.com>
3100
3101 * gdb.base/attach.exp: Add patterns to match output from /proc-based
3102 systems.
3103 Move comments in expect statements to inside the actions, so that they
3104 don't get matched against.
3105
ff683d9e
MK
31062002-07-10 Mark Kettenis <kettenis@gnu.org>
3107
3108 * gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
3109 function when asleep" test.
3110
b5356753
AC
31112002-07-10 Andrew Cagney <ac131313@redhat.com>
3112
3113 * gdb.base/page.exp: Rewrite to handle problems with very long
3114 `info set' output. Update copyright.
3115
6aa4d13a
AC
31162002-06-26 Andrew Cagney <ac131313@redhat.com>
3117
3118 * gdb.hp/configure.in (AC_CONFIG_SUBDIRS): Do not try to configure
3119 gdb.threads-hp.
3120 * gdb.hp/configure: Regenerate.
3121 * gdb.hp/gdb.threads-hp/configure.in: Delete file.
3122 * gdb.hp/gdb.threads-hp/configure: Delete file.
3123 * gdb.hp/gdb.threads-hp/Makefile.in: Delete file.
3124
8cf8c2b8
AC
31252002-06-22 Andrew Cagney <ac131313@redhat.com>
3126
3127 * gdb.base/selftest.exp (do_stes_and_next): Skip calls to
3128 setlocale, bindtextdomain and textdomain.
3129
6827a8f8
JB
31302002-06-11 Jim Blandy <jimb@redhat.com>
3131
919d772c
JB
3132 * lib/gdb.exp (get_debug_format): Tolerate message saying whether
3133 preprocessor macro information is present.
3134
6827a8f8
JB
3135 * macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: New
3136 tests.
3137
c15b0d21
MS
31382002-06-06 Michael Snyder <msnyder@redhat.com>
3139
c5984d70
MS
3140 * gdb.base/overlays.exp: Record addresses of overlay
3141 functions in TCL variables rather than in GDB variables,
3142 to avoid having GDB convert them to pointers (with loss
3143 of information).
3144
d63a86f8 3145 * gdb.base/d10v.ld: Merge in several years worth of
99a8512b 3146 default linker script changes.
c15b0d21
MS
3147 * gdb.base/long_long.exp: Add check for sizeof (long double).
3148
be26fe0d
ML
31492002-06-06 Michal Ludvig <mludvig@suse.cz>
3150
3151 * gdb.asm/asm-source.exp: Add x86-64 target.
3152 * gdb.asm/x86_64.inc: New.
d63a86f8 3153
258093ca 31542002-05-30 Michael Chastain <mec@shout.net>
258093ca 3155
4b3153f1 3156 From Benjamin Kosnik <bkoz@redhat.com>:
258093ca
MC
3157 * gdb.c++/m-static.cc: New file.
3158 * gdb.c++/m-static.exp: New file.
3159
241264c6
MS
31602002-05-28 Michael Snyder <msnyder@redhat.com>
3161
3162 * gdb.base/call-ar-st.exp: Allow for reduced floating point
3163 precision.
3164
9bba8c8f 31652002-05-27 Michael Chastain <mec@shout.net>
71ea1be0 3166
4b3153f1 3167 From Benjamin Kosnik <bkoz@redhat.com>:
71ea1be0
MC
3168 * gdb.c++/m-data.cc: New file.
3169 * gdb.c++/m-data.exp: New file.
3170
31712002-05-27 Michael Chastain <mec@shout.net>
9bba8c8f 3172
4b3153f1 3173 From Benjamin Kosnik <bkoz@redhat.com>:
9bba8c8f 3174 * gdb.c++/try_catch.cc: New file.
d63a86f8 3175 * gdb.c++/try_catch.exp: New file.
9bba8c8f 3176
def1b996
MC
31772002-05-27 Michael Chastain <mec@shout.net>
3178
3179 * gdb.c++/local.exp: Accept more nested types in output.
3180
522ba268
MC
31812002-05-26 Michael Chastain <mec@shout.net>
3182
3183 * gdb.base/call-rt-st.exp: Fix typo in brace quoting.
3184
277254ba
MS
31852002-05-15 Nick Clifton <nickc@cambridge.redhat.com>
3186
3187 * lib/gdb.exp (gdb_wrapper_init): Just because
3188 gdb_wrapper_file exists, this does not mean that the file
3189 should not be rebuilt. That is what gdb_wrapper_initialized
3190 is for.
3191 (default_gdb_init): Reset gdb_wrapper_initialized.
3192
b61a8733
MS
31932002-05-23 Michael Snyder <msnyder@redhat.com>
3194
d63a86f8 3195 * gdb.base/all-bin.exp: Revise previous patch by just reducing
5bdb6d01
MS
3196 the precision of the floating point test results.
3197 * gdb.base/call-rt-st.exp: Ditto.
3198
b61a8733
MS
3199 * gdb.base/all-bin.exp: Allow for reduced floating point precision.
3200 * gdb.base/call-rt-st.exp: Ditto.
3201
56f6e910
MC
32022002-05-19 Michael Chastain <mec@shout.net>
3203
3204 * gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
3205
ad0b0016
EZ
32062002-05-19 Elena Zannoni <ezannoni@redhat.com>
3207
3208 * configure.in (configdirs): Add gdb.arch.
3209 * configure: Regenerate.
3210
f617d2b6
JB
32112002-05-17 Jim Blandy <jimb@redhat.com>
3212
3213 * gdb.base/completion.exp: Recognize the more detailed error
3214 messages produced by the macro expander's lexical analyzer.
3215
eac2a696
EZ
32162002-05-14 Elena Zannoni <ezannoni@redhat.com>
3217
3218 * gdb.arch/altivec-abi.c: New file.
3219 * gdb.arch/altivec-abi.exp: New file.
3220 * gdb.arch/altivec-regs.c: New file.
3221 * gdb.arch/altivec-regs.exp: New file.
3222
2fdde8f8
DJ
32232002-05-14 Daniel Jacobowitz <drow@mvista.com>
3224
3225 * gdb.base/maint.exp (maint print type): Update for new type
3226 structure.
d63a86f8 3227
e31f1a7c
EZ
32282002-05-14 Elena Zannoni <ezannoni@redhat.com>
3229
3230 * gdb.arch: New directory.
3231 * gdb.arch/configure.in: New file.
3232 * gdb.arch/configure: New file.
3233 * gdb.arch/Makefile.in: New file.
3234
db589741
CV
32352002-05-13 Corinna Vinschen <vinschen@redhat.com>
3236
3237 * gdb.asm/asm-source.exp: Add v850 as supported target.
3238 * gdb.asm/v850.inc: New file.
3239
8ce2a7dc
DJ
32402002-05-13 Daniel Jacobowitz <drow@mvista.com>
3241
3242 * gdb.c++/annota2.exp (annotate-quit): Add comment.
3243
df763c7f
DJ
32442002-05-12 Daniel Jacobowitz <drow@mvista.com>
3245
3246 * gdb.base/break.exp: Check 'break "marker2"'.
3247
377daeed
MS
32482002-05-10 Michael Snyder <msnyder@redhat.com>
3249
3250 * gdb.base/long_long.exp: Fix typo.
3251
c4b7bc2b
JB
32522002-05-10 Jim Blandy <jimb@redhat.com>
3253
ecac9a4e
JB
3254 * gdb.base/printcmds.exp: Don't xfail the ptype command. This is
3255 a bug.
3256
c4b7bc2b
JB
3257 * gdb.base/printcmds.exp (test_integer_literals_rejected):
3258 Recognize more detailed error message produced by the macro
3259 expander's lexical analyzer.
3260 * lib/gdb.exp (test_print_reject): Same.
3261
e71019a1
MK
32622002-05-09 Mark Kettenis <kettenis@gnu.org>
3263
3264 * gdb.c++/method.exp: Fix typo.
3265
fedfc8e6
MS
32662002-05-08 Michael Snyder <msnyder@redhat.com>
3267
166a1957
MS
3268 * gdb.mi/mi-var-child.exp: Accept (void) as well as ().
3269 * gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
fedfc8e6 3270 * gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
35928259
MS
3271 * gdb.base/long_long.exp: Merge clauses for arm and xscale.
3272 Add iftarget clause for strongarm.
d63a86f8 3273
f1c47eb2
MS
32742002-05-06 Michael Snyder <msnyder@redhat.com>
3275
cb9a9d3e
MS
3276 * lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
3277 (gdb_continue_to_end): Accept output from status wrapper.
3278 * gdb.base/ending-run.exp: Add case for output from status wrapper.
3279 Clean up fail messages to match pass messages.
3280
f1c47eb2
MS
3281 Enable the "needs_status_wrapper" testsuite feature.
3282 * lib/gdb.exp (gdb_wrapper_init): New procedure.
3283 (gdb_compile): Conditionally call gdb_wrapper_init.
3284 * gdb.base/a2-run.exp: Recognize output from status wrapper.
3285 * gdb.c++/method.exp: Recognize output from status wrapper.
3286
6079c749
BE
32872002-05-06 Ben Elliston <bje@redhat.com>
3288From Graydon Hoare <graydon@redhat.com>
3289
3290 * config/sid.exp: Include support for "rawsid" protocol.
3291
188baff3
JB
32922002-05-03 Jim Blandy <jimb@redhat.com>
3293
3294 * gdb.c++/hang.exp: Check for corruption of the cv_type chain.
3295 * gdb.c++/hang3.C: New file.
3296
b9c07f0f
AC
32972002-05-04 Andrew Cagney <ac131313@redhat.com>
3298
3299 * gdb.base/default.exp: Remove obsolete code.
3300 * gdb.c++/misc.exp: Ditto. Update copyright.
3301 * gdb.c++/cplusfuncs.exp: Ditto. Update copyright.
3302 * gdb.base/whatis.exp: Ditto. Update copyright.
3303 * gdb.base/scope.exp: Ditto. Update copyright.
3304 * gdb.base/ptype.exp: Ditto. Update copyright.
3305 * gdb.base/printcmds.exp: Ditto. Update copyright.
3306 * gdb.base/opaque.exp: Ditto. Update copyright.
3307 * gdb.base/list.exp: Ditto.
3308 * gdb.base/funcargs.exp: Ditto. Update copyright.
3309 * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
3310 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
3311 * gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
3312 * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
3313 * gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
3314 * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
3315
5c7a0397
MS
33162002-05-02 Michael Snyder <msnyder@redhat.com>
3317
d6dcc264 3318 * gdb.base/watchpoint.exp: Add xscale target.
5c7a0397
MS
3319 * gdb.base/long_long.exp: Add xscale target.
3320 * gdb.base/default.exp: Add xscale target.
3321
eb7f1c48
JB
33222002-05-01 Jim Blandy <jimb@redhat.com>
3323
3324 * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
3325 gdb.c++/hang.exp: New test.
3326
a6befae8
FF
33272002-05-01 Fred Fish <fnf@redhat.com>
3328
3329 * gdb.base/completion.exp: Handle completions of "./Make" for
3330 more than one completion possibility, as is the case when we
3331 build and test in the source tree.
3332
0a310277
AG
33332002-04-29 Anthony Green <green@redhat.com>
3334
3335 * gdb.java/jmisc1.exp: New file.
3336 * gdb.java/jmisc2.exp: New file.
3337
6ff9af88
DJ
33382002-04-24 Daniel Jacobowitz <drow@mvista.com>
3339
3340 * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
3341
96b3d632
EZ
33422002-04-23 Elena Zannoni <ezannoni@redhat.com>
3343
3344 * gdb.base/help.exp: Change 'help status' to allow for target
3345 dependent output differences.
3346
5019bb54
MC
33472002-04-22 Michael Chastain <mec@shout.net>
3348
3349 * gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
3350
a805a116
MC
33512002-04-22 Michael Chastain <mec@shout.net>
3352
3353 * gdb.c++/method.exp: Fix syntax of reference to gdb/277.
3354
a1706bfd
DM
33552002-04-17 David S. Miller <davem@redhat.com>
3356
3357 * gdb.asm/sparc64.inc: New file.
3358 * gdb.asm/asm-source.exp: Handle sparc64-*-*.
3359
a73a20a2
EZ
33602002-04-19 Elena Zannoni <ezannoni@redhat.com>
3361
3362 * gdb.asm/asm-source.exp: Don't use a symlink, just copy the
3363 instruction file directly into the build tree. Clean up at end of
3364 test.
3365
ba678339
DM
33662002-04-18 David S. Miller <davem@redhat.com>
3367
3368 * gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
3369 handle 64-bit platforms correctly.
3370 * gdb.base/maint.exp: Likewise.
3371
b03399da
KB
33722002-04-18 Kevin Buettner <kevinb@redhat.com>
3373
3374 * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
3375 ``-fpic'' when compiling files comprising a shared library, but
3376 it does need additional linker flags in order to find shared
3377 libraries at run time.
3378
e2004992
KB
33792002-04-18 Kevin Buettner <kevinb@redhat.com>
3380
3381 * gdb.base/cvexpr.c (use): New function.
3382 (main): Invoke use() on all global variables to prevent
3383 some linkers from deleting these otherwise unused symbols.
3384
d8937120
MC
33852002-04-17 Michael Chastain <mec@shout.net>
3386From David S. Miller <davem@redhat.com>
3387
3388 * gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
3389 handle 64-bit platforms correctly.
3390
ffd61a58
MS
33912002-04-12 Michael Snyder <msnyder@redhat.com>
3392From Jim Blandy <jimb@redhat.com>
3393 * gdb.base/foo.c (foox): Remove section attribute; the linker
3394 script can handle this instead.
3395 * gdb.base/bar.c (barx): Same.
3396 * gdb.base/baz.c (bazx): Same.
3397 * gdb.base/grbx.c (grbxx): Same.
3398
3399 * gdb.base/overlays.exp: New test: check that GDB's manual overlay
3400 manager doesn't automatically unmap overlays unnecessarily.
3401
6b8426a6
MH
34022002-04-10 Martin M. Hunt <hunt@redhat.com>
3403
3404 * gdb.base/ending-run.exp: Fix pattern for Mips targets
3405 stepping out of main.
3406
34af4875
MC
34072002-04-09 Michael Chastain <mec@shout.net>
3408
3409 * gdb.c++/local.cc (main): Move call to marker1() inside nested
3410 scope so that the nested scope tests will make sense.
3411 * gdb.c++/local.exp: Write patterns that actually work with gcc
3412 (the HP patterns "were never known to work with gcc").
3413 Keep the old aCC patterns too.
3414
2d1676a0
DJ
34152002-04-09 Daniel Jacobowitz <drow@mvista.com>
3416
3417 * gdb.base/attach.exp: Correct target board test.
3418
3a63e3f9
MC
34192002-04-08 Michael Chastain <mec@shout.net>
3420
3421 * gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
3422 in a const method. Add some xfail and fail cases for configurations
3423 that do not emit the "const ...".
3424
f18dabd2
MC
34252002-04-07 Michael Chastain <mec@shout.net>
3426
3427 * gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
3428 Accept "A * const" and "const A * const" as type of "this".
3429 Fix spelling of getFunky throughout. Make messages uniform.
3430
0fcddd82
EZ
34312002-04-07 Elena Zannoni <ezannoni@redhat.com>
3432
3433 Work around for PR gdb/285:
3434 * gdb.asm/asm-source.exp: Bail out if multilibs are detected.
3435
16a8534a
EZ
34362002-04-07 Elena Zannoni <ezannoni@redhat.com>
3437
3438 * gdb.asm/asm-source.exp: Build symbolic link to arch specific
3439 instructions file at run time instead of configure time.
3440 Sometimes we run the test in a directory that is not the one we
3441 configured in.
3442 * gdb.asm/configure.in: Delete creation of symlink.
3443 * gdb.asm/configure: Regenerate.
3444
24181d81
JB
34452002-04-05 J. Brobecker <brobecker@gnat.com>
3446
3447 * gdb.gdb/xfullpath.exp: New test, to exercise the new
3448 xfullpath () function.
3449
7cdb7107
DJ
34502002-04-04 Daniel Jacobowitz <drow@mvista.com>
3451
3452 * gdb.asm/Makefile.in: Correct dependencies.
3453
3454 * gdb.asm/powerpc.inc: New file.
3455 * gdb.asm/asm-source.exp: Add PowerPC.
3456 * gdb.asm/configure.in: Likewise.
3457 * gdb.asm/configure: Regenerated.
3458
a7d17088
DJ
34592002-04-04 Daniel Jacobowitz <drow@mvista.com>
3460
3461 * gdb.base/relocate.exp: New file.
3462 * gdb.base/relocate.c: New file.
3463
cd721503
FF
34642002-04-04 Fred Fish <fnf@redhat.com>
3465
3466 * gdb.base/step-test.exp: Update comment regarding stopping in
3467 memcpy/bcopy calls inserted as part of the compiler runtime.
3468
b22ad7a7
MS
34692002-04-04 Michael Snyder <msnyder@redhat.com>
3470
3471 * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
3472
5f279fa6
DJ
34732002-04-03 Daniel Jacobowitz <drow@mvista.com>
3474
3475 * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
3476 (gdb_expect): Remove $notransfer hack.
3477
dd0fd3ce
DJ
34782002-04-02 Daniel Jacobowitz <drow@mvista.com>
3479
3480 * gdb.c++/classes.exp ("calling method for small class"): Match
3481 updated register output.
3482
1e50cda1
DJ
34832002-03-30 Daniel Jacobowitz <drow@mvista.com>
3484
3485 Fix PR gdb/452
3486 * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
3487 when finished. Make gdb_file_cmd send "exec-file" when
3488 appropriate.
3489
24015922
DJ
34902002-03-30 Daniel Jacobowitz <drow@mvista.com>
3491
3492 * gdb.base/attach.exp: Remove extra setup_xfail.
3493
dd7dfd64
MS
34942002-03-26 Michael Snyder <msnyder@redhat.com>
3495
3496 * gdb.base/default.exp: Add tests for dump, append, and restore.
3497 * gdb.base/help.exp: Add tests for dump, append, and restore.
3498 * gdb.base/dump.exp: New file, test dump, append and restore.
3499 * gdb.base/dump.c: New file.
3500
48b2f8d7
MS
35012002-03-27 Michael Snyder <msnyder@redhat.com>
3502
d63a86f8 3503 * gdb.base/help.exp: Modify expect strings to reflect
48b2f8d7
MS
3504 clean-ups in help messages.
3505
05b4d525
FF
35062002-03-26 Fred Fish <fnf@redhat.com>
3507
3508 * gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
3509 have debugging info for those functions and the compiler uses them
3510 internally to copy structs around.
3511
d7679631
FF
35122002-03-26 Fred Fish <fnf@redhat.com>
3513
3514 * gdb.base/list.exp: Revert the change made yesterday and add note
3515 about why we don't list the default lines for remote targets.
3516
523ac3f9
MS
35172002-03-25 Michael Snyder <msnyder@redhat.com>
3518
3519 * gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
3520
754b2b8d
FF
35212002-03-25 Fred Fish <fnf@redhat.com>
3522
3523 * gdb.base/list.exp: This test works on remote targets so remove
3524 the short circuit for remote targets. Update copyright.
3525
33c3e192
FF
35262002-03-25 Fred Fish <fnf@redhat.com>
3527
3528 * gdb.base/attach.exp: Fix logic error that was suppressing this
3529 test for all non hppa*-*-hpux* targets, instead of the hp target.
3530 Move comments closer to the suppression point. Also now need to
3531 check that we are running natively.
3532
d43e73ee
MS
35332002-03-22 Michael Snyder <msnyder@redhat.com>
3534
882c8f02
MS
3535 * gdb.base/default.exp: Add test for gcore. Update copyright.
3536 * gdb.base/help.exp: Add test for gcore. Update copyright.
d43e73ee 3537
04c12f60
FF
35382002-03-06 Fred Fish <fnf@redhat.com>
3539
3540 * gdb.base/funcargs.c: Remove extraneous ';' character.
3541 * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
3542
b43df995
MC
35432002-03-04 Michael Chastain <mec@shout.net>
3544
3545 * gdb.mi/mi-var-cmd.exp: In test "create local variable func",
3546 accommodate gcc v3 function signature.
3547 * gdb.mi/mi0-var-cmd-exp: Ditto.
3548
92362027
AC
35492002-02-24 Andrew Cagney <ac131313@redhat.com>
3550
3551 * testsuite/gdb.base/huge.c: Replace ``Linux'' with either
3552 ``GNU/Linux'' or ``Linux kernel''
3553 * testsuite/gdb.threads/pthreads.c: Ditto.
3554
258ad32d
MC
35552002-02-24 Michael Chastain <mec@shout.net>
3556
3557 * gdb.threads/pthreads.c (thread1): Add a return statement.
3558 (thread2): Likewise.
3559 (foo): Likewise.
3560
04c3b3d4
MC
35612002-02-23 Michael Chastain <mec@shout.net>
3562
3563 * gdb.threads/linux-dp.c (philosopher): Add a return statement
3564 to placate gcc.
3565
5a2a0a20
MC
35662002-02-23 Michael Chastain <mec@shout.net>
3567
3568 * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
3569 test "ptype bint". The test passes on all my stabs configurations.
3570
a640f7fc
JB
35712002-02-21 Jim Blandy <jimb@redhat.com>
3572
27924826
JB
3573 * gdb.asm/asm-source.exp: Parse the output from `info sources' one
3574 filename at a time, and watch for the ones we want to see.
3575
a640f7fc
JB
3576 * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
3577 types of pointers to prototyped functions.
3578
edcc8c75
AC
35792002-02-20 Andrew Cagney <ac131313@redhat.com>
3580
3581 * gdb.base/sizeof.c (main): Call fill_structs. Print value of
3582 signed, unsigned and straight char.
3583 (padding_char, padding_short, padding_int, padding_long,
3584 padding_long_long, padding_float, padding_double,
3585 padding_long_double): New global variables.
3586 (fill, fill_structs): New functions.
3587
3588 * gdb.base/sizeof.exp: Check for signed and unsigned char. Check
3589 for correctly sized writes. Update copyright.
3590 (get_valueof): New procedure.
3591 (get_sizeof): Call get_valueof.
3592 (check_valueof): New procedure.
3593 (check_padding): New procedure.
3594
ac57ea44
MC
35952002-02-20 Michael Chastain <mec@shout.net>
3596
3597 * gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
3598 to setup_xfail. Document some of the remaining calls.
3599
7a10c941
MC
36002002-02-18 Michael Chastain <mec@shout.net>
3601
3602 * gdb.c++/userdef.exp: Update copyright year.
3603
fb8acdcc
DJ
36042002-02-18 Daniel Jacobowitz <drow@mvista.com>
3605
3606 * gdb.c++/userdef.exp: Test overloaded operators properly.
3607 Remove xfails.
3608
fda6ae12
MS
36092002-02-14 Michael Snyder <msnyder@redhat.com>
3610
3611 * gdb.base/gcore.exp: Relax recognition of function breakpoint.
3612
676a0442
DJ
36132002-02-14 Daniel Jacobowitz <drow@mvista.com>
3614
3615 * gdb.base/a2-run.exp: Check for a remote target properly.
3616 * gdb.base/annota1.exp: Likewise.
3617 * gdb.base/list.exp: Likewise.
3618 * gdb.base/reread.exp: Likewise.
3619 * gdb.base/scope.exp: Likewise.
3620 * gdb.base/shlib-call.exp: Likewise.
3621 * gdb.base/term.exp: Likewise.
3622 * gdb.c++/annota2.exp: Likewise.
3623
78b4f468
RE
36242002-02-13 Richard Earnshaw <rearnsha@arm.com>
3625
3626 * gdb.base/watchpoint.exp: Restore previous timeout at end of test.
3627
9a81ba51
MC
36282002-02-10 Michael Chastain <mec@shout.net>
3629
3630 * gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
3631 (call_after_alloca): Ditto.
3632
004af6c7
DJ
36332002-02-10 Daniel Jacobowitz <drow@mvista.com>
3634
3635 * gdb.base/ending-run.exp: Guard "cont" test with
3636 gdb_skip_stdio_test.
3637
37225f62
JB
36382002-02-06 Jim Blandy <jimb@redhat.com>
3639
3640 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
3641 from here...
3642 * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
3643 To here. Disable this test on non-HP platforms. Add big comment.
3644
fe6fdd96
MS
36452002-02-04 Michael Snyder <msnyder@redhat.com>
3646
3647 * gdb.base/ovlymgr.c (ovly_copy): Generalize for targets
3648 other than d10v and m32r.
3649
036fad3f
RE
36502002-02-02 Richard Earnshaw <rearnsha@arm.com>
3651
3652 * gdb.base/default.exp: Rewrite test patterns to reduce time
3653 taken to match them.
3654
7148ab62
DJ
36552002-01-30 Daniel Jacobowitz <drow@mvista.com>
3656
3657 * gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
3658 Allow a start function above main.
3659 * gdb.threads/linux-dp.exp: Fix copyright date.
3660
396cc255
DJ
36612002-01-30 Daniel Jacobowitz <drow@mvista.com>
3662
3663 * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
3664 (check_philosopher_stack): Check for manager thread before checking
3665 for a just-starting thread.
3666
f038d31b
DJ
36672002-01-30 Daniel Jacobowitz <drow@mvista.com>
3668
3669 From Neil Booth <neil@daikokuya.demon.co.uk>:
3670 * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
3671 warnings.
3672
b3ff9d9a
FF
36732002-01-21 Fred Fish <fnf@redhat.com>
3674
3675 * gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
3676 not caller.
3677
39ad761d
JB
36782002-01-21 Jim Blandy <jimb@redhat.com>
3679
3680 * gdb.base/reread.exp: Check that GDB properly re-reads the
3681 executable file when it changes while no inferior is running.
3682
aaf320fa
FF
36832002-01-21 Fred Fish <fnf@redhat.com>
3684
3685 * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
3686 optionally accept the "shlib events" variation.
3687
808a31f5
JB
36882002-01-21 Jim Blandy <jimb@redhat.com>
3689
3690 * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
3691 call `fflush' after every `printf', so that the output is produced
3692 at predictable points, regardless of whatever buffering does (or
3693 doesn't) take place.
3694 * gdb.base/ending-run.exp: Adjust tests to expect output to appear
3695 at different points.
3696
4420d5e2
DJ
36972002-01-20 Daniel Jacobowitz <drow@mvista.com>
3698
3699 * gdb.c++/inherit.exp: Update copyright years.
3700 * gdb.c++/method.exp: Likewise.
3701
3e36a0f4
DJ
37022002-01-20 Daniel Jacobowitz <drow@mvista.com>
3703
3704 * gdb.c++/classes.exp: Update for improved v3 support and skipping
3705 artificial methods/arguments.
3706 * gdb.c++/derivation.exp: Likewise.
3707 * gdb.c++/inherit.exp: Likewise.
3708 * gdb.c++/method.exp: Likewise.
3709 * gdb.c++/virtfunc.exp: Likewise.
3710
b4ceaee6
AC
37112002-01-18 Andrew Cagney <ac131313@redhat.com>
3712
3713 * gdb.hp/gdb.threads-hp/usrthfork.exp: Mark as obsolete.
3714 * gdb.hp/gdb.threads-hp/usrthcore.exp: Ditto.
3715 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Ditto.
3716 * gdb.hp/gdb.threads-hp/usrthfork.c: Ditto.
3717 * gdb.hp/gdb.threads-hp/usrthbasic.c: Ditto.
3718 * gdb.hp/gdb.threads-hp/usrthcore.c: Ditto.
3719
ecace851
JB
37202002-01-17 Jim Blandy <jimb@redhat.com>
3721
3722 * gdb.asm/asm-source.exp (info symbol): Take another shot at
3723 anchoring the pattern matching the entry point symbol's name.
3724
375fc983
AC
37252002-01-17 Andrew Cagney <ac131313@redhat.com>
3726
3727 * gdb.base/maint.exp: Update ``maint internal-error'' to match
3728 continue/quit query. Update copyright.
3729
fe6fdd96
MS
37302002-01-14 Michael Snyder <msnyder@redhat.com>
3731
3732 * gdb.base/gcore.exp: Remove extra debugging output.
3733
e017c81f
DJ
37342002-01-13 Daniel Jacobowitz <drow@mvista.com>
3735
3736 * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
3737 for slightly dubious v2 mangled string.
3738
37ab3bf8
DJ
37392002-01-13 Daniel Jacobowitz <drow@mvista.com>
3740
3741 * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
3742
1bc05c3a 37432002-01-10 Jason Merrill <jason@redhat.com>
7b2ac63b 3744
1bc05c3a 3745 * gdb.c++/namespace.exp: Accept trailing const for 'this'.
7b2ac63b 3746
1bc05c3a
JM
3747 * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
3748 constructors.
3749 * gdb.c++/derivation.exp: Likewise.
3750 * gdb.c++/templates.exp: Likewise.
3751 * gdb.c++/virtfunc.exp: Likewise.
ffcb195b 3752
1bc05c3a
JM
37532002-01-10 Michael Snyder <msnyder@redhat.com>
3754
3755 * gdb.c++/namespace.exp: Accept both '\0' and '\000'.
ffcb195b 3756
a911c360
MS
37572002-01-08 Michael Snyder <msnyder@redhat.com>
3758
3759 * gdb.base/gcore.exp: New test for generate-core-file command.
3760 * gdb.base/gcore.c: Testcase for above.
3761 * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
3762
ea2119ec
JM
37632002-01-08 Jason Merrill <jason@redhat.com>
3764
3765 * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
3766
68203136
FF
37672002-01-07 Fred Fish <fnf@redhat.com>
3768
3769 * gdb.c++/overload.exp: Remove unconditional xfails for:
3770 print foo_instance1.overloadargs(1)
3771 print foo_instance1.overloadargs(1, 2)
3772 print foo_instance1.overloadargs(1, 2, 3)
3773 print foo_instance1.overloadargs(1, 2, 3, 4)
3774 print foo_instance1.overloadargs(1, 2, 3, 4, 5)
3775 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
3776 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
3777 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
3778 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
3779 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
3780 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
3781 print foo_instance1.overload1arg()
3782 print foo_instance1.overload1arg((char)arg2)
3783 print foo_instance1.overload1arg((signed char)arg3)
3784 print foo_instance1.overload1arg((unsigned char)arg4)
3785 print foo_instance1.overload1arg((int)arg7)
3786 print foo_instance1.overload1arg((unsigned int)arg8)
3787 print foo_instance1.overload1arg((float)arg11)
3788 print foo_instance1.overload1arg((double)arg12)
d63a86f8 3789
21b9b5b1
MS
37902002-01-07 Michael Snyder <msnyder@redhat.com>
3791
3792 * gdb.base/huge.exp: New test. Print a very large target data object.
3793 (skip_huge_test): New test variable. Define if you want to skip this
3794 test. The test reads an 8 megabyte data object from the target, so it
3795 might be very time consuming on remote targets with a slow connection.
3796 * gdb.base/huge.c: New file. Test case for above.
3797
725f922e
FF
37982002-01-07 Fred Fish <fnf@redhat.com>
3799
3800 * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
3801 g_instance.bfoo, and g_instance.cfoo.
3802
634d57ec
JL
3803Mon Jan 7 12:22:18 2002 Jeffrey A Law (law@redhat.com)
3804
f286b2c3
JL
3805 * gdb.base/break.c (multi_line_if_conditional): New function.
3806 (multi_ilne_while_conditional): Likewise.
3807 * gdb.base/break.exp: Verify that a breakpoint on a multi-line
3808 IF or WHILE condition puts the breakpoint at the start of
3809 the condition.
3810
634d57ec
JL
3811 * gdb.base/selftest.exp (backtrace through signal handler): Remove
3812 hppa*-*-hpux* expected failure.
3813 * gdb.base/structs.exp (do_function_calls): Similarly.
3814
3815 * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
3816 watchpoints.
3817
9fbfe2dc
AC
38182002-01-06 Andrew Cagney <ac131313@redhat.com>
3819
3820 Fix PR gdb/66.
3821 * gdb.base/structs.exp: Replace skip for a29k with skip for
3822 gdb,cannot_call_functions.
3823 * gdb.base/call-ar-st.exp: Remove references to a29k in comments.
3824 * gdb.base/callfuncs.exp: Ditto.
3825 * gdb.base/call-rt-st.exp: Ditto.
3826 * gdb.base/call-strs.exp: Ditto.
3827 * gdb.base/callfwmall.exp: Ditto.
3828 * gdb.base/scope.exp: Obsolete xfail a29k.
3829 * gdb.c++/misc.exp: Ditto.
3830 * gdb.c++/cplusfuncs.exp: Ditto.
3831 * gdb.base/ptype.exp: Ditto.
3832 * gdb.base/printcmds.exp: Ditto.
3833 * gdb.base/opaque.exp: Ditto.
3834 * gdb.base/list.exp: Ditto.
3835 * gdb.base/funcargs.exp: Ditto.
3836 * gdb.base/default.exp: Ditto.
3837
8ddad156
MS
38382002-01-04 Michael Snyder <msnyder@redhat.com>
3839
ca4976a6 3840 * gdb.base/info-proc.exp: New file, test for "info proc" cmd.
8ddad156
MS
3841 * gdb.base/maint.exp: Add tests for maint info sections options.
3842
1b074332
JL
3843Fri Dec 21 09:42:11 2001 Jeffrey A Law (law@redhat.com)
3844
3845 * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
3846
7d159115
CV
38472001-12-20 Corinna Vinschen <vinschen@redhat.com>
3848
3849 * gdb.asm/arm.inc: New file.
3850 * gdb.asm/asm-source.exp: Add arm targets.
3851 * gdb.asm/configure.in: Ditto.
3852 * gdb.asm/configure: Recreated from configure.in.
3853
8fb87725
JL
3854Thu Dec 20 09:54:36 2001 Jeffrey A Law (law@redhat.com)
3855
afabe08c
JL
3856 * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
3857 with HP's compiler.
3858 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
3859 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
3860 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
3861 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
3862
3863 * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
3864 either HP's compilers or GCC.
3865
db521deb
JL
3866 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
3867 a SIGBUS or SIGSEGV.
3868
3869 * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
3870
3871 * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
3872 can be compiled with either HP's compiler or GCC.
3873
cfa88ab7
JL
3874 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
3875 * gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
3876 * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
3877
ca344dff
JL
3878 * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
3879 to match current gdb output. Update due to using auto-solib-limit
3880 for limiting instead of overloading auto-solib-add.
3881 * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
3882 test program.
3883
3f3c6e55 3884 * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
ca344dff
JL
3885 * gdb.hp/gdb.base-hp/dollar.exp: Likewise
3886 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
3887 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
3888 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
3889 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
3890 * gdb.hp/gdb.defects/bs15503.exp: Likewise.
3891 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
3892 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
3893 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
3894 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
3895 * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
3896 * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
3f3c6e55 3897
8fb87725
JL
3898 * gdb.base/annota1.exp: Expect failure for hpux11 when posting
3899 a SIGTRAP to the inferior.
3900
cf599fa7
CV
39012001-12-19 Corinna Vinschen <vinschen@redhat.com>
3902
3903 * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
3904 Substitute call to target_link by call to gdb_compile.
3905
2cd045cd
JL
3906Wed Dec 19 14:10:57 2001 Jeffrey A Law (law@redhat.com)
3907
3908 * gdb.base/break.exp: Fix HP specific search string when testing
3909 backtracing in a called function.
3910
d63a86f8 3911 * gdb.base/constvars.exp: Only set lang to C++ if we're
2cd045cd
JL
3912 compiling the test with HP's compilers.
3913 * gdb.base/volatile.exp: Similarly.
3914
99ebe9ac
JB
39152001-12-19 Jim Blandy <jimb@redhat.com>
3916
3917 * gdb.base/printcmds.exp: Expect the null character to be printed
3918 as '\0', and the '\013' to be printed as '\v'.
3919 * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
3920 * gdb.base/setvar.exp: Same.
3921
b9891b29
JB
39222001-12-17 Jim Blandy <jimb@redhat.com>
3923
0eba65ab
JB
3924 * gdb.base/completion.exp: Rather than completing very long
3925 filenames, which can make the readline library produce output we
3926 don't recognize, cd to the directory first, and then complete
3927 using nice, short relative paths.
3928
6970b5b1
JB
3929 * gdb.base/completion.exp: On some systems, there is, in fact, a
3930 variable named `b' in scope, since GDB treats all static
3931 variables as being in scope. So use `no_var_named_this'
3932 instead of `b'.
3933
b9891b29
JB
3934 * gdb.base/corefile.exp: Recognize the message saying that GDB
3935 can't find the core file's registers as a failure.
3936
e6ccd35f
JSC
39372001-12-13 Jackie Smith Cashion <jsmith@redhat.com>
3938
3939 * gdb.base/commands.exp (user_defined_command_test): Make "show user"
3940 test expect string more specific.
3941
105ba819
CV
39422001-12-13 Corinna Vinschen <vinschen@redhat.com>
3943
3944 * gdb.asm/asm-source.exp: Add support for xstormy16.
3945 * gdb.asm/configure.in: Ditto.
3946 * gdb.asm/configure: Rebuild.
3947 * gdb.asm/xstormy16.inc: New file.
3948
e9e79dd9
FF
39492001-12-10 Fred Fish <fnf@redhat.com>
3950
3951 * gdb.base/maint.exp: Update to match changes in type dumping code.
3952
347dc97d
JB
39532001-12-10 Jim Blandy <jimb@redhat.com>
3954
3955 * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
3956 matching the entry point symbol's name at the beginning of the
3957 line.
3958
5178b9d6
DJ
39592001-12-07 Daniel Jacobowitz <drow@mvista.com>
3960
3961 * gdb.c++/classes.exp, gdb.c++/derivation.exp,
3962 gdb.c++/inherit.exp, gdb.c++/method.exp,
3963 gdb.c++/namespace.exp, gdb.c++/templates.exp,
3964 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
3965 and class layout support.
3966
af890c52
DJ
39672001-12-07 Daniel Jacobowitz <drow@mvista.com>
3968
3969 * gdb.c++/classes.exp: Add test for static member function.
3970 * gdb.c++/misc.cc: Add class with static member function.
3971
7a345fb3
JB
39722001-12-07 Jim Blandy <jimb@redhat.com>
3973
f2e54a80 3974 If GDB says it can't find the struct the function returned, report
8032bf31
JB
3975 those tests as `unsupported'.
3976 * gdb.base/call-rt-st.exp (print_struct_call): New function.
3977 Rewrite subsequent tests to use it.
3978
3979 If GDB says it can't find the struct the function returned, report
f2e54a80
JB
3980 those tests as `unsupported'.
3981 * gdb.base/structs.exp (call_struct_func): New function.
3982 (do_function_calls): Use call_struct_func to call the functions
3983 returning structs.
3984
0bc69509
JB
3985 * gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
3986 whether functions are prototyped or not, so we can't possibly pass
3987 arguments to t_float_values2 properly.
3988
7a345fb3
JB
3989 * gdb.base/break.exp: (test_next_with_recursion): Don't change the
3990 value of `timeout' for targets other than the mips*tx39-*.
3991
edb6ede1
MS
39922001-12-06 Michael Snyder <msnyder@redhat.com>
3993
d63a86f8 3994 * gdb.asm/asm-source.exp: Add tests for info target, info symbol,
edb6ede1
MS
3995 and detect whether the start symbol has a leading underscore.
3996
2d842f13
JB
39972001-12-04 Jim Blandy <jimb@redhat.com>
3998
3999 * gdb.base/completion.exp: Clarify indentation.
4000
68550daf
JB
40012001-12-03 Jim Blandy <jimb@redhat.com>
4002
4003 * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
4004 variables on the S/390, not `.word'.
4005
cd5195a8
JB
40062001-11-30 Jim Blandy <jimb@redhat.com>
4007
4008 Add assembly-source tests for s390-ibm-linux.
4009 * gdb.asm/s390.inc: New file.
4010 * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
4011 the S/390 architecture.
4012 * gdb.asm/configure: Regenerated.
4013
ca9efc90
MS
40142001-11-30 Michael Snyder <msnyder@redhat.com>
4015
4016 * gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
4017 next, info source, info sources, info line, global and static
4018 variables, and static functions.
4019 * gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
4020 * gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
4021 * gdb.asm/asmsrc1.s: Add a static function and some variables.
4022 * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
4023 * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
4024 (gdbasm_leave): Restore frame pointer.
4025 (gdbasm_startup): Copy stack set-up from crt0.S.
4026
d0e66976
FN
40272001-11-26 Fernando Nasser <fnasser@redhat.com>
4028
4029 From 2001-11-12 Jackie Smith Cashion <jsmith@redhat.com>:
4030 * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
4031 to a local (non-static) variable. Copy tstruct.a to a static buffer
4032 and return a pointer to that buffer.
4033 * gdb.base/callfwmall.c (t_structs_a): Ditto.
4034
e2334072
MK
40352001-11-24 Mark Kettenis <kettenis@gnu.org>
4036
4037 * gdb.asm/configure.in: Fix recognition of ix86 target.
4038 * gdb.asm/configure: Regenerate.
4039
756caa3d
MS
40402001-11-21 Michael Snyder <msnyder@redhat.com>
4041
4042 * gdb.asm/sparc.inc: New file.
4043 * gdb.asm/asm-source.exp: Recognize sparc target.
4044 * gdb.asm/configure.in: Recognize sparc target.
4045 * gdb.asm/configure: Regenerate.
d63a86f8 4046
9a4d72d5
MS
40472001-11-21 Michael Snyder <msnyder@redhat.com>
4048
4049 * gdb.asm/m32r.inc: New file.
4050 * gdb.asm/asm-source.exp: Recognize m32r target.
4051 * gdb.asm/configure.in: Recognize m32r target.
4052 * gdb.asm/configure: Regenerate.
4053
a773d1cd
MS
40542001-11-20 Michael Snyder <msnyder@redhat.com>
4055
017ac23d
MS
4056 * gdb.asm/i386.inc: New file.
4057 * gdb.asm/asm-source.exp: Recognize ix86 target.
4058 * gdb.asm/configure.in: Recognize ix86 target.
4059 * gdb.asm/configure: Regenerate.
4060
a773d1cd
MS
4061 * gdb.c++/namespace.exp: Fix quotes in output messages.
4062
bb632afb
MS
40632001-11-14 Michael Snyder <msnyder@redhat.com>
4064
25d559ca 4065 * gdb.base/code-expr.exp: New file. Tests use of the "@code"
bb632afb
MS
4066 qualifier in a type cast expression, to designate an address
4067 in the instruction space (Harvard architecture).
4068
4749e309
MS
40692001-11-13 Michael Snyder <msnyder@redhat.com>
4070
4071 * gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
4072 Tests for expressions using 'const' and 'volatile'.
4073
25050984
CV
40742001-11-13 Corinna Vinschen <vinschen@redhat.com>
4075
4076 * gdb.asm/asm-sources.exp: Allow defining linker flags.
4077
1902c51f
DJ
40782001-11-12 Daniel Jacobowitz <drow@mvista.com>
4079
4080 * lib/mi-support.exp (mi_run_to_helper): Move comments
4081 outside of gdb_expect.
4082
dcf95b47
DJ
40832001-11-11 Daniel Jacobowitz <drow@mvista.com>
4084
4085 * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
4086 mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
4087 mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
4088 mi0_run_to): New functions.
4089 * gdb.mi/mi-simplerun.exp: Use them.
4090 * gdb.mi/mi0-simplerun.exp: Likewise.
4091 * gdb.mi/mi-var-cmd.exp: Likewise.
4092 * gdb.mi/mi0-var-cmd.exp: Likewise.
d63a86f8 4093
45b074e1
AC
40942001-11-10 Andrew Cagney <ac131313@redhat.com>
4095
4096 * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
4097 * gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
4098
bf50d346
AC
40992001-11-09 Andrew Cagney <ac131313@redhat.com>
4100
4101 * gdb.base/restore.exp: Include $expected value in restored test
4102 message.
4103
9383332c
AC
41042001-11-09 Andrew Cagney <ac131313@redhat.com>
4105
4106 * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
4107 implemented.
4108
db62520a
MS
41092001-11-08 Michael Snyder <msnyder@redhat.com>
4110
4111 * gdb.base/callfuncs.exp: Add tests for nested call dummies.
4112 Add pass/fail message for stop at breakpoint in call dummy function.
4113
b5703437
MS
41142001-11-07 Michael Snyder <msnyder@redhat.com>
4115
d63a86f8
RM
4116 * gdb.c++/templates.exp (test_template_breakpoints):
4117 If we get an overload menu, but it does not match what
760f6330 4118 we expect, we still need to issue the "cancel" command.
3b2a7ae5
MS
4119 * gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
4120 making the whitespace optional. Argument for "new" may be
4121 "unsigned" as well as "unsigned int/long".
d63a86f8 4122 * gdb.c++/templates.exp: Replace "const &" with "const ?&",
eef747c0
MS
4123 making the whitespace optional. Also replace "(void) with
4124 "((void|)), making the keyword "void" optional.
d63a86f8 4125 * gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
63f50499
MS
4126 making the whitespace optional. Also replace "(void) with
4127 "((void|)), making the keyword "void" optional.
3bf40917
MS
4128 * gdb.base/callfuncs.c (t_float_values): This function must
4129 _not_ be prototyped, and the following function (t_float_values2)
d63a86f8 4130 must be prototyped (if the compiler supports it), so that GDB
3bf40917
MS
4131 can be tested against both cases. Usually one case involves
4132 promotion of float to double, while the other does not.
4133 * gdb.base/callfwmall.c: Ditto.
b5703437
MS
4134 * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
4135 includes a stack frame for "start".
4136
c8ab4e6d
JB
41372001-11-05 Jim Blandy <jimb@redhat.com>
4138
4139 * gdb.stabs/weird.exp: Delete "p v_comb" test. It assumes that
4140 pointers are 32 bits long, and that offsets of relocs are always
4141 stored in the data (REL-style), and not in the reloc entry itself
4142 (RELA-style).
4143 * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
4144 stabs.
4145
3f08ced9
MS
41462001-11-01 Michael Snyder <msnyder@redhat.com>
4147
4148 * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
4149 and regular expression operators by using quoting.
4150
cbfa24cd
MS
41512001-10-31 Michael Snyder <msnyder@redhat.com>
4152
4153 * gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
4154 depending on what the symbol table contains.
4155 * gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
4156 the output of the ptype command. Similarly, accept both "const &"
4157 and "const&".
4158
aaa68313
CV
41592001-10-31 Corinna Vinschen <vinschen@redhat.com>
4160
4161 * gdb.base/miscexprs.c (main): Add usage of preprocessor
4162 symbol `STORAGE' to allow to choose the storage class of
4163 the local datastructures.
4164 * gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
4165 compiler directive.
4166
91740388
MS
41672001-10-30 Michael Snyder <msnyder@redhat.com>
4168
4169 * gdb.base/jump.exp: Allow it to run for all targets.
4170
1b7c05e7
CV
41712001-10-29 Corinna Vinschen <vinschen@redhat.com>
4172
4173 * gdb.base/call-ar-st.c (print_double_array): Match for loop
4174 with new double_array size.
4175 (main): Change storage class of all local variables to static.
4176 Reduce size of double_array to 9.
4177 * gdb.base/call-ar-st.exp: Increase timeout value.
4178 Change expected output for double array to match new size in
4179 call-ar-st.c.
4180
36a22261
CV
41812001-10-29 Corinna Vinschen <vinschen@redhat.com>
4182
4183 * gdb.base/ending-run.exp: Create identical output when passing
4184 `step to end of run' case. Add regular expression branch satisfying
d63a86f8 4185 Stormy16 target.
36a22261 4186
92b8ae91
MK
41872001-10-28 Mark Kettenis <kettenis@gnu.org>
4188
4189 * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
4190 that we catch the expected failure under Linux/x86.
4191
cb135b83
OF
41922001-10-29 Orjan Friberg <orjanf@axis.com>
4193
4194 * gdb.base/setvar.exp: Escape curly braces.
4195 * gdb.stabs/weird.exp: Ditto.
4196
6884aa54
DJ
41972001-10-27 Daniel Jacobowitz <drow@mvista.com>
4198
4199 * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
4200 * gdm.mi/mi0-hack-cli.exp: Likewise.
4201
0398c9aa
AC
42022001-10-25 Andrew Cagney <ac131313@redhat.com>
4203
4204 * gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
4205 messages.
4206
d20bf2e8
AC
42072001-10-21 Andrew Cagney <ac131313@redhat.com>
4208
4209 * lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
4210 checking MI enabled.
4211
03dd63aa
CV
42122001-10-09 Corinna Vinschen <vinschen@redhat.com>
4213
4214 * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
4215
1d9d99f3
FCE
42162001-10-04 Frank Ch. Eigler <fche@redhat.com>
4217
4218 * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
4219 if gdb child process crashes, just signal an error.
4220
838ae6c4
JB
42212001-10-02 Jim Blandy <jimb@redhat.com>
4222
4223 * lib/gdb.exp (test_xfail_format): Simplify.
4224
4225 * lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
4226 front of the variable name `format'. Simplify `if'.
4227
8f0cbc1c
DJ
42282001-10-01 Daniel Jacobowitz <drow@mvista.com>
4229
4230 * gdb.threads/pthreads.exp: Wait for output and delay
4231 before sending ^C.
4232
1f08dafd
DJ
42332001-10-01 Daniel Jacobowitz <drow@mvista.com>
4234
4235 * gdb.mi/mi-var-display.exp (continue to incr_a): Recognize
4236 some incorrect output instead of timing out.
4237 * gdb.mi/mi-var-display.exp (continue to incr_a): Likewise.
4238
674f90ff
CV
42392001-09-28 Corinna Vinschen <vinschen@redhat.com>
4240
4241 * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
4242 check to allow additional `int'.
4243
9b284272
DJ
42442001-09-27 Daniel Jacobowitz <drow@mvista.com>
4245
4246 * gdb.base/completion.exp: Remove incorrect 'p "a' test.
4247 Add tests for 'p "break' (pass) and 'p "break.' (xfail).
4248
b55a4771
MS
42492001-09-27 Michael Snyder <msnyder@redhat.com>
4250
4251 * lib/gdb.exp (test_debug_format): New proc.
4252 (setup_xfail_format): Use new proc test_debug_format.
4253 * gdb.base/constvars.exp (local_compiler_xfail_check): New
4254 proc; use new service proc test_debug_format.
4255 Replace all other "gcc_compiled" tests with this test.
4256 * gdb.base/volatile.exp (local_compiler_xfail_check): New
4257 proc; use new service proc test_debug_format.
4258 Replace all other "gcc_compiled" tests with this test.
4259
42602001-09-27 Michael Snyder <msnyder@redhat.com>
4261
4262 * gdb.base/cvexpr.exp: New file.
4263 * gdb.base/cvexpr.c: New file
4264 Test for expressions using const and volatile keywords.
4265
4e6667ac
CV
42662001-09-26 Corinna Vinschen <vinschen@redhat.com>
4267
4268 * gdb.base/constvars.exp: Check for different orders of keywords
4269 and additional "int" strings in output.
4270
4f337972
AC
42712001-09-22 Andrew Cagney <ac131313@redhat.com>
4272
4273 * gdb.base/maint.exp: Add "maintenance set/show" to list of valid
4274 responses from "help maint".
4275
2015650d
FCE
42762001-09-19 Frank Ch. Eigler <fche@redhat.com>
4277
4278 * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
4279 to localhost:NNN instead of :NNN, in case Xvfb is listening
4280 only on TCP.
4281
f3bcedc1
CV
42822001-09-19 Corinna Vinschen <vinschen@redhat.com>
4283
4284 * gdb.base/recurse.exp: When checking leaving the watchpoint
4285 scope, recognize when gdb is in function's epilogue and pass.
4286
6b819c92
KS
42872001-09-18 Keith Seitz <keiths@redhat.com>
4288
4289 * lib/insight-support.exp (_gdbtk_export_target_info): Add
4290 support for running tests against sid targets.
4291 (gdbtk_done): Ditto.
4292
a10c9419
CV
42932001-09-18 Corinna Vinschen <vinschen@redhat.com>
4294
4295 * gdb.base/ending-run.c (main): Set stdout buffersize
4296 to the same reasonable value for any target.
4297 * gdb.base/ending-run.exp: Add a regular expression
4298 to make testsuite happy on Sanyo Stormy16 target.
4299
739d0d99
CV
43002001-09-17 Corinna Vinschen <vinschen@redhat.com>
4301
4302 * gdb.base/display.c (do_loops): Add float variable `f'.
4303 Increment f in loop.
4304 * gdb.base/display.exp: Increment timeout by 60 seconds.
4305 Change float display test to use variable `f'.
4306
1b8947f0
JB
43072001-09-17 Jim Blandy <jimb@redhat.com>
4308
4309 * gdb.base/restore.exp: Use temporary breakpoints, to avoid
4310 overflowing the limited breakpoint tables on some ROM monitors
4311 (like the ROM68K).
4312
9890ac81
FCE
43132001-09-15 Frank Ch. Eigler <fche@redhat.com>
4314
4315 * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
4316 the "-ac" (disable access control) flag.
4317
6db765ea
JH
43182001-08-30 Jeff Holcomb <jeffh@redhat.com>
4319
4320 * gdb.base/remote.c: Use a small buffer for targets with 16-bit
4321 ints.
4322
4c32cc04
KS
43232001-08-30 Keith Seitz <keiths@redhat.com>
4324
4325 * lib/gdb.exp: Move all insight-related functionality into
4326 separate file.
4327 * lib/insight-support.exp: New file.
4328
8d6e6f81
FCE
43292001-08-29 Frank Ch. Eigler <fche@redhat.com>
4330
4331 * config/sid.exp (sid_start): Never set sid verbosity; disable
4332 expect_background {} that consumed its stdout; tolerate </dev/null.
4333 Attempt to set endianness override in "sid" protocol mode. Cleanup.
4334
6a90e1d0
AC
43352001-08-18 Andrew Cagney <ac131313@redhat.com>
4336
4337 * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
4338 CLI jump command to start it.
4339 (mi_run_to_main): Fail immediatly when unexpected output.
4340
1759b3c3
AC
43412001-08-18 Andrew Cagney <ac131313@redhat.com>
4342
4343 * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
4344 beginning of function. Fix PR gdb/191.
4345
61d11d80
FCE
43462001-08-16 Frank Ch. Eigler <fche@redhat.com>
4347
4348 * config/sid.exp (sid_start): Don't warn if we cannot figure out
4349 what to force sid endianness to.
4350
942a4df2
KS
43512001-08-15 Keith Seitz <keiths@redhat.com>
4352
4353 * lib/gdb.exp (gdbtk_start): Don't set environment
4354 variables for TCL_LIBRARY and friends. Insight will
4355 now figure these out for itself.
4356
0521c418
MS
43572001-08-02 Michael Snyder <msnyder@redhat.com>
4358
4359 * gdb.base/completion.exp: Remove the symbol "a64l" from
4360 the expect string; this is target-specific, and not related
4361 to what is being tested.
4362
74a9a58a
DB
43632001-08-02 Dave Brolley <brolley@redhat.com>
4364
4365 * config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
4366
c70819fa
MS
43672001-07-25 Michael Snyder <msnyder@redhat.com>
4368
c2b8fa57
MS
4369 * gdb.base/consecutive.exp: New file. Test stepping over
4370 breakpoints on consecutive instructions.
4371 * gdb.base/consecutive.c: New file.
4372
c70819fa
MS
4373 * gdb.base/call-rt-st.exp: Use double-backslash to quote
4374 curly braces in regular expressions.
4375
2b1a1355
MS
43762001-07-25 Michael Snyder <msnyder@redhat.com>
4377
4378 * gdb.base/ending-run.exp: Accept "Program exited normally" as
4379 legitimate output from stepping out of main.
4380
413eca6f
KS
43812001-07-22 Keith Seitz <keiths@redhat.com>
4382
4383 * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
4384 the empty string, do not run the tests.
4385
7e5a9322
SC
43862001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
4387
4388 * gdb.base/long_long.exp: Detect size of pointer. Take into
4389 account 2-byte pointers when testing for p/a results.
4390
de58f10f
SC
43912001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
4392
d63a86f8 4393 * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
de58f10f
SC
4394 and defined to 1K for m68hc11.
4395 (random_data): Reduce table to 1K for embedded platforms (68hc11).
4396 * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
4397 (sizeof_random_data): New variable to tell the size of the data table;
4398 don't test past this size; always run to main.
4399
d6f5fea1
SC
44002001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
4401
4402 * gdb.base/return2.exp: return of long long and double fails for
4403 68HC11; don't execute these tests on that platform.
4404 * gdb.base/return.exp: Return of a double fails for 68hc11.
4405
c477543d
SC
44062001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
4407
4408 * call-ar-st.exp: Use gdb_skip_float_test to avoid executing
4409 tests that print a float.
4410 * call-rt-st.exp: Likewise.
4411
63cf1c79
MK
44122001-07-12 Mark Kettenis <kettenis@gnu.org>
4413
4414 * gdb.base/so-impl-ld.exp: Remove stray space that prevented
4415 running this test on Linux.
4416
112f9ab5
MC
44172001-06-24 Michael Chastain <chastain@redhat.com>
4418
4419 * gdb.base/arithmet.exp: Remove some tests to make all test names
4420 unique.
4421
4970cb0f
MS
44222001-07-03 Michael Snyder <msnyder@redhat.com>
4423
4424 * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
4425 the output of the ptype command.
4426
d85da69f
MS
44272001-07-02 Michael Snyder <msnyder@redhat.com>
4428
4c8a82de
MS
4429 * gdb.base/completion.exp: Don't assume that break.c is the only
4430 source file that may contain functions named "marker".
d85da69f
MS
4431 * gdb.base/corefile.exp: Quote the curly braces in regexp.
4432
8afc772b
AC
44332001-06-28 Andrew Cagney <ac131313@redhat.com>
4434
4435 * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
4436 of files to delete.
4437
4438 From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
4439 * gdb.disasm/h8300s.exp: New file.
4440 gdb.disasm/h8300s.s: Likewise.
4441
cff22675
AC
44422001-06-27 Andrew Cagney <ac131313@redhat.com>
4443
4444 * lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format
4445 empty breakpoint tables.
4446
68c81b54
AC
44472001-06-25 Andrew Cagney <ac131313@redhat.com>
4448
4449 * lib/mi-support.exp: Update args=... part of stop-reason
4450 patterns. Accept either a list or a tuple.
4451
2dd62704
AC
44522001-06-23 Andrew Cagney <ac131313@redhat.com>
4453
4454 * lib/mi-support.exp: Remove local emacs variable defining
4455 change-log-default-name.
4456
b4127474
MC
44572001-06-22 Michael Chastain <chastain@redhat.com>
4458
4459 * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
4460 This is operationally compatible with the previous version.
4461
8dbfb380
JB
44622001-06-13 Jim Blandy <jimb@redhat.com>
4463
4464 * lib/gdb.exp (gdb_test): Doc fix.
4465
f2d8c86d
MC
44662001-06-10 Michael Chastain <chastain@redhat.com>
4467
4468 * gdb.base/exprs.exp: Remove a duplicate test.
4469
81564d34
JB
44702001-06-06 Jim Blandy <jimb@redhat.com>
4471
4472 * gdb.base/return2.exp (main): Use values to test float and double
4473 returns that are not NaN's, to avoid being confused by IEEE
4474 comparison rules.
4475
da55addb
MS
44762001-06-04 Michael Snyder <msnyder@redhat.com>
4477
4478 * gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
d63a86f8 4479 non-zero if control_c fails. Terminate the test on failure,
da55addb
MS
4480 rather than wait for 12 more tests to time out.
4481
42c65987
JB
44822001-06-06 Jim Blandy <jimb@redhat.com>
4483
b18bced9 4484 * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
d63a86f8 4485 Don't forget to match the GDB prompt.
b18bced9 4486
42c65987
JB
4487 * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
4488
5b41e5f0
JB
44892001-06-04 Jim Blandy <jimb@redhat.com>
4490
4491 * gdb.base/help.exp: Update pattern to exclude `print-load-map'
4492 command.
4493
015e046f
KB
44942001-05-31 Kevin Buettner <kevinb@redhat.com>
4495
4496 * gdb.base/annota1.exp (info break): Match four or more spaces
4497 after "Address".
4498
fb1ffbbe
MC
44992001-05-31 Michael Chastain <chastain@redhat.com>
4500
4501 * gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
4502 (dm_type_int_star): Likewise.
4503 (dm_type_long_star): Likewise.
4504 (dm_type_void_star): Likewise.
4505
5ea2a32c
KB
45062001-05-29 Kevin Buettner <kevinb@redhat.com>
4507
4508 * gdb.base/completion.exp (INPUTRC): Set this environment variable
4509 to a known value in order to get consistent results regardless
4510 of the setting of INPUTRC or the presence or contents of .inputrc.
4511
ae23c492
MS
45122001-05-24 Michael Snyder <msnyder@redhat.com>
4513
ac55707e
MS
4514 * gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
4515 Don't require that the main thread and the manager thread are the
4516 first in the list.
4517
ae23c492
MS
4518 * gdb.threads/pthreads.exp (test_startup): Relax test for thread
4519 debugging. If test fails, issue an "unsupported" not a "fail".
4520
400071f1
JB
45212001-05-24 Jim Blandy <jimb@redhat.com>
4522
4523 Don't assume that short is shorter than int.
4524 * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
4525 assume that shorts are smaller than ints. On a 16-bit machine,
d63a86f8 4526 this isn't true.
400071f1
JB
4527 ("print unsigned char == (~0)"): Add test that verifies that ~0,
4528 an int, is not equal to ~0 stored in an unsigned char. This tests
4529 the same thing that the previous test meant to, but works on
4530 16-bit machines, too.
4531 ("print unsigned char != (~0)"): Same test, complemented.
4532
0816a3e5
MS
45332001-05-24 Michael Snyder <msnyder@redhat.com>
4534
4535 * gdb.threads/pthreads.exp (all_threads_running): Add an explicit
d63a86f8 4536 test for (full_coverage == 0). This makes the test run faster,
0816a3e5
MS
4537 and prevents dejagnu getting out of step.
4538
f6dc23a9
KB
45392001-05-23 Kevin Buettner <kevinb@redhat.com>
4540
4541 * gdb.base/finish.exp (finish_void): Revise pattern for
4542 stopping on the call statement to not permit stopping at
4543 the start of the instructions comprising the call sequence.
4544
7dbd117d
MC
45452001-05-19 Michael Chastain <chastain@redhat.com>
4546
4547 * gdb.base/callfuncs.exp: Make all test names unique.
4548 * gdb.base/commands.exp: Make all test names unique.
4549 * gdb.base/condbreak.exp: Make all test names unique.
4550 * gdb.base/dbx.exp: Make all test names unique.
4551 * gdb.base/default.exp: Make all test names unique.
4552 * gdb.base/define.exp: Make all test names unique. Conform some FAIL
4553 and TIMEOUT messages to their corresponding PASS message.
4554 * gdb.base/ending-run.exp: Make all test names unique.
4555 * gdb.base/long_long.exp: Remove duplicate test.
4556
6b0b0a9e
KB
45572001-05-21 Kevin Buettner <kevinb@redhat.com>
4558
4559 * gdb.base/finish.exp (finish_void): Allow "finish" command to
4560 stop on the call statement as well as the statement after the
4561 call.
4562
2caa35cb
MS
45632001-05-21 Michael Snyder <msnyder@redhat.com>
4564
4565 * gdb.base/long_long.exp: Allow for targets with 4-byte short.
4566
40713331
EZ
45672001-05-10 Elena Zannoni <ezannoni@redhat.com>
4568
4569 * gdb.base/completion.exp: Revamp test. Make it execute on all
4570 platforms.
4571
c2c1be8d
EZ
45722001-05-10 Elena Zannoni <ezannoni@redhat.com>
4573
2c9cd303
EZ
4574 * config/gdbserver.exp (gdb_load): Handle the case
4575 in which the arguments to gdbserver are given in the
4576 baseboard configuration file.
4577 Also handle the case in which the server needs to do a
4578 load.
4579
9671de48
KS
45802001-05-07 Keith Seitz <keiths@cygnus.com>
4581
4582 * lib/gdb.exp (gdbtk_initialize_display): New proc which will
4583 set up the display for testing.
4584 (gdbtk_start): Convert all paths to paths that tcl will like.
4585 Export target information to environment.
4586 (_gdbtk_xvfb_init): New proc to start Xvfb if available and
4587 necessary.
4588 (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
4589 (to_tcl_path): New proc to convert a given pathname into
4590 a path acceptible as an argument to a tcl command.
4591 (_gdbtk_export_target_info): New proc to export target info
4592 into the environment for gdbtk testing.
4593 (gdbtk_done): New proc to signal end-of-test.
4594
5a360f47
JB
45952001-05-06 Jim Blandy <jimb@redhat.com>
4596
4597 * restore.c: Make the code of caller0 correspond to its comment.
4598
66c756c6
MS
45992001-05-03 Michael Snyder <msnyder@redhat.com>
4600
4601 * config/sid.exp (gdb_target_sid): Check for error messages.
4602 On error or timeout, don't make expect exit (which will terminate
4603 all subsequent tests); instead just make gdb exit.
d63a86f8 4604 (gdb_load): Check for error messages. On error or timeout,
66c756c6
MS
4605 return a negative value.
4606
a966fde5
JB
46072001-04-24 Jim Blandy <jimb@redhat.com>
4608
851c18e0
JB
4609 * gdb.c++/templates.exp: If we see the prompt for the overload
4610 list, but we haven't recognized any of the longer patterns,
4611 arrange for this test to fail, not hang.
4612
a966fde5
JB
4613 * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
4614 variations.
4615
db144853
MC
46162001-04-22 Michael Chastain <chastain@redhat.com>
4617
4618 * gdb.c++/local.exp: Use the 'runto' library function.
4619 * gdb.c++/namespace.exp: Likewise.
4620 * gdb.c++/overload.exp: Likewise.
4621
3207ec21
KB
46222001-03-26 Kevin Buettner <kevinb@redhat.com>
4623
4624 * gdb.base/Makefile.in (EXECUTABLES): Add step-line.
4625 * gdb.base/step-line.exp: New file. Test step/next in presence of
4626 #line directives.
4627 * gdb.base/step-line.c: New file. Test program for the above.
4628 * gdb.base/step-line.inp: New file. We pretend that this file has
4629 been transformed by some other tool into step-line.c.
4630
13b57657
JB
46312001-03-21 Jim Blandy <jimb@redhat.com>
4632
4633 * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
4634 unmangled operator names.
4635
754cbe1c
JB
46362001-03-20 Jim Blandy <jimb@redhat.com>
4637
4638 * gdb.threads/linux-dp.exp: Recognize an additional message
4639 generated by GDB when it doesn't understand how to debug threads
4640 on the target system.
4641
177495c9
AC
46422001-03-19 Andrew Cagney <ac131313@redhat.com>
4643
4644 * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
4645
f266096b
MC
46462001-03-12 Michael Chastain <chastain@redhat.com>
4647
4648 * gdb.c++/derivation.exp: Use the 'runto' library function.
4649
cac3c2ff
MC
46502001-03-12 Michael Chastain <chastain@redhat.com>
4651
4652 * gdb.c++/annota2.exp: Fix regular expression for "post-query".
4653
b6c11a24
MC
46542001-02-24 Michael Chastain <chastain@redhat.com>
4655
4656 * gdb.c++/ref-types.exp: Change handwritten code to library
4657 function 'runto'.
4658
6bae5bce
OF
46592001-03-16 Orjan Friberg <orjanf@axis.com>
4660
4661 * gdb.base/signals.exp: Set count to 0 explicitly.
4662
0015fd9a
MS
46632001-03-15 Mark Salter <msalter@redhat.com>
4664
4665 * config/monitor.exp (gdb_target_cmd): Add explicit error return.
4666 (gdb_target_monitor): Add check of gdb_target_cmd return value.
880a15ee
MS
4667 (gdb_load): Add support for additional target_info: gdb_download_size
4668 and gdb_load_timeout.
0015fd9a 4669
fc33412a
DT
4670Thu Mar 8 16:06:00 2001 David Taylor <taylor@redhat.com>
4671
4672 * gdb.base/annota1.exp: Move test of isnative to earlier in the
4673 file -- to prevent failing when the compile fails but we have no
4674 intention of running the tests anyway.
4675
4676 * gdb.base/long_long.exp: Test target_info for no_long_long, skip
4677 tests if set.
4678
4679 * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
4680 integers.
4681
4682 * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
4683 * gdb.c++/namespace.exp: Ditto.
4684
115f06de
OF
46852001-03-07 Orjan Friberg <orjanf@axis.com>
4686
4687 * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
4688 * gdb.base/pointers.exp: Relax pattern match of decimals.
4689
b6ba6518
KB
46902001-03-06 Kevin Buettner <kevinb@redhat.com>
4691
4692 * Makefile.in, config/abug.exp, config/cfdbug.exp,
4693 config/cpu32bug.exp, config/dve.exp, config/est.exp,
4694 config/gdbserver.exp, config/hmsirom.exp, config/hppro.exp,
4695 config/i960.exp, config/m32r.exp, config/mn10300-eval.exp,
4696 config/monitor.exp, config/proelf.exp, config/rom68k.exp,
4697 config/sh.exp, config/sid.exp, config/slite.exp,
4698 config/sparclet.exp, config/udi.exp, config/unknown.exp,
4699 config/vr4300.exp, config/vr5000.exp, config/vx.exp,
4700 config/vxworks.exp, config/vxworks29k.exp,
4701 gdb.asm/asm-source.exp, gdb.base/a2-run.exp,
4702 gdb.base/all-bin.exp, gdb.base/annota1.exp,
4703 gdb.base/arithmet.exp, gdb.base/assign.exp,
4704 gdb.base/async.exp, gdb.base/attach.exp,
4705 gdb.base/bitfields.exp, gdb.base/bitops.exp,
4706 gdb.base/break.exp, gdb.base/call-ar-st.exp,
4707 gdb.base/call-rt-st.exp, gdb.base/call-strs.exp,
4708 gdb.base/callfuncs.exp, gdb.base/callfwmall.exp,
4709 gdb.base/commands.exp, gdb.base/completion.exp,
4710 gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
4711 gdb.base/constvars.exp, gdb.base/corefile.exp,
4712 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
4713 gdb.base/display.exp, gdb.base/ena-dis-br.exp,
4714 gdb.base/ending-run.exp, gdb.base/environ.exp,
4715 gdb.base/eval-skip.exp, gdb.base/exprs.exp,
4716 gdb.base/finish.exp, gdb.base/foll-exec.exp,
4717 gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp,
4718 gdb.base/funcargs.exp, gdb.base/help.exp,
4719 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp,
4720 gdb.base/logical.exp, gdb.base/long_long.exp,
4721 gdb.base/maint.exp, gdb.base/mips_pro.exp,
4722 gdb.base/miscexprs.exp, gdb.base/nodebug.exp,
4723 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp,
4724 gdb.base/pointers.exp, gdb.base/printcmds.exp,
4725 gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp,
4726 gdb.base/regs.exp, gdb.base/relational.exp,
4727 gdb.base/remote.exp, gdb.base/reread.exp,
4728 gdb.base/restore.exp, gdb.base/return2.exp,
4729 gdb.base/scope.exp, gdb.base/sect-cmd.exp,
4730 gdb.base/selftest.exp, gdb.base/setshow.exp,
4731 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
4732 gdb.base/sigall.exp, gdb.base/signals.exp,
4733 gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp,
4734 gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
4735 gdb.base/step-test.exp, gdb.base/structs.c,
4736 gdb.base/structs.exp, gdb.base/structs2.exp,
4737 gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp,
4738 gdb.base/volatile.exp, gdb.base/watchpoint.exp,
4739 gdb.base/whatis-exp.exp, gdb.base/whatis.exp,
4740 gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
4741 gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.exp,
4742 gdb.c++/derivation.exp, gdb.c++/inherit.exp,
4743 gdb.c++/local.exp, gdb.c++/member-ptr.exp, gdb.c++/method.exp,
4744 gdb.c++/misc.exp, gdb.c++/namespace.exp, gdb.c++/overload.exp,
4745 gdb.c++/ref-types.exp, gdb.c++/templates.exp,
4746 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp,
4747 gdb.disasm/am33.exp, gdb.disasm/hppa.exp,
4748 gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp,
4749 gdb.fortran/types.exp, gdb.java/jmisc.exp,
4750 gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
4751 gdb.stabs/weird.exp, gdb.threads/linux-dp.exp,
4752 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
4753 gdb.trace/circ.exp, gdb.trace/collection.exp,
4754 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
4755 gdb.trace/limits.exp, gdb.trace/packetlen.exp,
4756 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp,
4757 gdb.trace/report.exp, gdb.trace/save-trace.exp,
4758 gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
4759 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
4760 lib/gdb.exp, lib/mi-support.exp: Update/correct copyright
4761 notices.
4762
dc96c6c7 47632001-02-27 Michael Snyder <msnyder@cygnus.com>
d8f92b1f
MS
4764
4765 * gdb.base/varargs.c (find_max_double): Fix printf format string:
4766 first arg is int not float.
4767
dc96c6c7 47682001-02-22 Michael Snyder <msnyder@cygnus.com>
40f33b9b
MS
4769
4770 * gdb.base/reread.exp: Unsupported for non-native targets;
4771 doesn't work for remote debugging.
4772
9b0c4aeb
FN
47732001-02-19 Fernando Nasser <fnasser@redhat.com>
4774
4775 From Drew Moseley <dmoseley@redhat.com>
4776 * gdb.base/ending-run.exp: Properly handle the BSP state when
4777 stepping past the end of main.
4778
02aa71d5
MC
47792001-02-19 John Moore <jmoore@redhat.com>
4780
4781 * gdb.base/commands.exp (infrun_breakpoint_command_test):
4782 Converted HPUX fix for non-expected items following multiple
4783 step commands into general solution for all platforms.
4784
1fa449a4
MC
47852001-02-18 Michael Chastain <chastain@redhat.com>
4786
4787 * gdb.c++/classes.exp (do_tests): Change runto statements
4788 from "runto 'foo(void)'" to "runto 'foo'". This makes the
4789 statements demangler agnostic.
4790 * gdb.c++/virtfunc.exp (do_tests): Likewise.
4791 (gdb_virtfunc_restart): Likewise.
4792
b2f9ec70
MC
47932001-02-14 Michael Chastain <chastain@redhat.com>
4794
4795 * gdb.c++/inherit.exp (do_tests): Change runto statements
4796 from "runto 'foo(void)'" to "runto 'foo'". This makes the
4797 statements demangler agnostic.
4798
cf74b8ca
AC
4799Sun Feb 4 17:32:21 2001 Andrew Cagney <cagney@redhat.com>
4800
4801 * gdb.threads/pthreads.exp: Unify pass/fail messages for
4802 ``continue to bkpt at common_routine in thread 2'' and ``stopped
4803 before calling common_routine 15 times'' tests.
4804
99f78f56
MC
48052001-02-11 Michael Chastain <chastain@redhat.com>
4806
4807 * gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
4808 Helps the test script figure out which demangler is in use.
4809 (dm_type_foo_ref): Ditto.
4810 (dm_type_int_star): Ditto.
4811 (dm_type_long_star): Ditto.
4812 (dm_type_unsigned_int): Ditto.
4813 (dm_type_void): Ditto.
4814 (dm_type_void_star): Ditto.
99707966 4815 * gdb.base/cplusfuncs.exp (probe_demangler): New function.
99f78f56
MC
4816 Probe the gdb demangler and set variables to accommodate
4817 formatting differences.
4818 (info_func_regexp): New function. Same as info_func, but
4819 matches against a regexp.
4820 (info_func): Match against a literal string.
4821 (print_addr_2): New function. Match against a literal string,
4822 which can be different from the input to gdb.
4823 (print_addr): Simply call print_addr_2 with the same argument twice.
4824 (test_lookup_operator_functions): Use demangler formatting variables.
4825 Blow away the xfails and workarounds for gnats gdb bug gdb/18. Sort
4826 the tests in the same order as the C++ class declaration.
4827 (test_paddr_operator_functions): Ditto.
4828 (test_paddr_overloaded_functions): Ditto.
4829 (test_paddr_hairy_functions): Use demangler formatting variables.
4830 Add reference to gdb/19 for related tests.
4831 (do_tests): Call probe_demangler.
4832
1de8f023
KB
48332001-01-30 Kevin Buettner <kevinb@redhat.com>
4834
4835 * gdb.c++/templates.cc (printf): Remove unused function definition.
4836
ca3f91ed
MS
48372001-01-26 Felix Lee <flee@redhat.com>
4838
4839 * sid.exp (sid_exit): Pass host, not target, to remote_close.
4840
48412001-01-25 matthew green <mrg@redhat.com>
4842
4843 * config/sid.exp (sid_start): Call `remote_push_conn' after firing
4844 up sid.
4845 (sid_exit): Call `remote_pop_conn' after GDB is gone.
4846
48472001-01-25 matthew green <mrg@redhat.com>
4848
4849 * config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.'
d63a86f8 4850 Deprecate $sid_spawn_id.
ca3f91ed
MS
4851 (sid_exit): Remove code necessary only for `spawn.'
4852
48532001-01-25 matthew green <mrg@redhat.com>
4854
4855 * config/sid.exp (sid_start): Handle sim,protocol of `sid.'
4856
fb18ec4a
MC
48572001-01-28 Michael Chastain <chastain@redhat.com>
4858
4859 * gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
4860 to call when tests fail. It takes gdb out of the overloaded
4861 function choice menu back to the main prompt, so that the test
4862 program stays synchronized.
4863 (set_bp_overloaded): New proc to collect all the common
4864 code for setting a breakpoint on an overloaded name. Calls
4865 take_gdb_out_of_choice_menu when needed.
4866 (menu_overload1arg): New variable to collect the repeated
4867 instances of the expected menu for an overloaded name. Change
4868 the regular expression to handle changes in g++ type encoding:
4869 "void" can be either "void" or "", and "unsigned int" can be
4870 either "unsigned int" or "unsigned".
4871 (continue_to_bp_overloaded): Change regular expressions to handle
4872 changes in g++ type encoding.
4873 (no proc): Call take_gdb_out_of_choice_menu when needed.
4874 Remove redundant calls to "info break". Accept either "canceled"
4875 or "cancelled". Change regular expressions in "info break"
4876 calls to handle changes in g++ type encoding. Give all tests
4877 unique strings.
4878
9c646a6e
BE
48792001-01-17 Ben Elliston <bje@redhat.com>
4880
4881 * config/sid.exp: New file.
4882
9549d9c1
AC
4883Fri Jan 12 18:29:01 2001 Andrew Cagney <cagney@b1.cygnus.com>
4884
4885 * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
4886
dc96c6c7 48872000-12-21 Michael Snyder <msnyder@cygnus.com>
315f8b0e
MS
4888
4889 * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
4890 Add a RE to accept a non-ascii char if one is ever presented.
4891
b4df4f68
FN
48922000-12-20 Fernando Nasser <fnasser@redhat.com>
4893
297dd0fd 4894 * lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
b4df4f68 4895
dc96c6c7 48962000-12-18 Michael Snyder <msnyder@cygnus.com>
49c890fc 4897
d63a86f8 4898 * gdb.base/setvar.exp: Use double '\\' to quote curly braces
49c890fc
MS
4899 in regexp. One '\' does not suffice on Linux.
4900
4a7bddb6
MC
49012000-12-09 Michael Chastain <chastain@redhat.com>
4902
4903 * gdb.base/break.exp (test_clear_command): Use a marker function
4904 rather than 'main' for the test function. Also move this
4905 test to an execution point where the marker function names are
4906 guaranteed to be bound to functions. (Executing tests after a
4907 'finish' from main runs into name conflicts with local names
4908 in __libc_start_main).
4909
dc96c6c7 49102000-12-07 Michael Snyder <msnyder@cygnus.com>
efb66345
MS
4911
4912 * gdb.base/finish.exp: New test for gdb's "finish" command.
4913 * gdb.base/return2.exp: New test for gdb's "return" command.
4914 * gdb.base/return2.c: New source file for above.
4915
dc96c6c7 49162000-12-05 Michael Snyder <msnyder@cygnus.com>
3c077de9
MS
4917
4918 * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
4919 * gdb.base/miscexprs.exp: Ditto.
4920 * gdb.base/pointers.exp: Ditto.
4921 * gdb.c++/derivation.exp: Ditto.
4922 * gdb.c++/local.exp: Ditto.
4923 * gdb.c++/namespace.exp: Ditto.
4924 * gdb.c++/overload.exp: Ditto.
4925 * gdb.c++/ref-types.exp: Ditto.
4926
dc96c6c7 49272000-12-05 Michael Snyder <msnyder@cygnus.com>
660fd469
MS
4928
4929 * gdb.base/constvars.exp: Test result of "up" command.
4930 * gdb.base/miscexprs.exp: Ditto.
4931 * gdb.base/pointers.exp: Ditto.
4932 * gdb.base/scope.exp: Ditto.
4933 * gdb.c++/derivation.exp: Ditto.
4934 * gdb.c++/local.exp: Ditto.
4935 * gdb.c++/namespace.exp: Ditto.
4936 * gdb.c++/overload.exp: Ditto.
4937 * gdb.c++/ref-types.exp: Ditto.
4938
44097287
FN
49392000-11-22 Michael Chastain <chastain@redhat.com>
4940
4941 * mips_pro.exp: Accept either "middle -> top -> main" or
4942 "middle -> main" in the backtrace, because gcc can optimize
4943 tail calls to jumps. Remove setup_xfail for the hppa case.
4944 Add a comment with the original warning messages from PR 3016,
4945 which was filed in 1993, to preserve them for posterity.
4946
9d2e1bab
ND
49472000-11-17 Nick Duffek <nsd@redhat.com>
4948
4949 * lib/gdb.exp (gdb_test): Override timeout with board info.
4950
1aca8eb7
ND
49512000-11-17 Nick Duffek <nsd@redhat.com>
4952
4953 * gdb.base/display.exp: Don't kill running stub. Add "again" to
4954 the second kill and detach messages.
4955
93076499
ND
49562000-11-17 Nick Duffek <nsd@redhat.com>
4957
4958 * configure.in: Add AC_EXEEXT.
4959 * configure: Regenerate.
4960 * Makefile.in (just-check): Export EXEEXT.
4961 * lib/gdb.exp ($EXEEXT): Import from environment.
4962 * gdb.base/maint.exp: Expect $EXEEXT in executable name. Don't
4963 expect "maint dump-me" on Cygwin.
4964 * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
4965 $EXEEXT.
4966
30e87cd3
ND
49672000-11-17 Nick Duffek <nsd@redhat.com>
4968
4969 * gdb.base/break.exp: Test backtrace and finish from called
4970 function on all platforms, not just HP-UX.
4971
dc96c6c7 49722000-11-03 Michael Snyder <msnyder@cygnus.com>
08e706b1
MS
4973
4974 * config/monitor.exp (gdb_target_cmd): Abstracts some of the
4975 code from gdb_target_monitor, so it can be used independantly
4976 for gdbserver. Also comment out an unnecessary PUTS.
d63a86f8 4977
dc96c6c7 49782000-11-03 Michael Snyder <msnyder@cygnus.com>
958a4e4c
MS
4979
4980 * gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
4981 * gdb.base/corefile.exp: Expect the message "Program is being
4982 debugged already" when we send the "corefile" command, since
4983 the preceeding gdb_load may have connected gdb to a remote target.
4984 * gdb.base/display.exp: Disable hardware watchpoints if new
4985 board info variable "no_hardware_watchpoints" is true.
4986 Replace single-letter commands with more readable ones.
4987 * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
4988 if new board info variable "no_hardware_watchpoints" is true.
4989 * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
4990 to see if stdio (printf) testing is possible.
4991 * gdb.base/watchpoint.exp: Disable hardware watchpoints if new
4992 board info variable "no_hardware_watchpoints" is true. Use new
4993 proc "gdb_skip_stdio_tests" to see if printf tests are possible.
4994
39124dea
FN
49952000-11-13 Fernando Nasser <fnasser@redhat.com>
4996
4997 From Orjan Friberg <orjanf@axis.com>:
4998 * gdb.base/printcmds.exp: Escape curly braces followed by a number
4999 in array print pattern match.
5000
a9e2e984
FN
50012000-11-09 Fernando Nasser <fnasser@redhat.com>
5002
5003 * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
5004 spelling "cancelled" to U.S. spelling "canceled" to match changes
5005 made to gdb.
5006 * gdb.c++/ovldbreak.exp: Ditto.
5007
c7db355b
PS
50082000-11-06 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
5009
5010 * gdb.base/callfuncs.c (main): Moved to end of file, call
5011 t_double_values to initialize the FPU before inferior calls are made.
5012 * gdb.base/callfuncs.exp: Test for register preservation after calling
5013 inferior functions. Add tests for continuining, finishing and
5014 returning from a stop in a call dummy.
5015
dc96c6c7 50162000-10-24 Michael Snyder <msnyder@cygnus.com>
42f5c13f
MS
5017
5018 * gdb.base/commands.exp: Break up long lines, and re-indent.
5019
dc96c6c7 50202000-10-19 Michael Snyder <msnyder@cygnus.com>
ae0323a8
MS
5021
5022 * config/gdbserver.exp: Rewritten from the ground up, to make it
5023 compatible with the current dejagnu tree, and to make it work with
5024 the new "gdbserver" in libremote.
5025
dc96c6c7 50262000-10-16 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
5027
5028 * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
5029 * gdb.base/varargs.exp: Skip entire test if no printf support.
5030 * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
5031 * gdb.base/shlib-call.exp: Skip several tests if no printf support.
5032
dc96c6c7 50332000-10-13 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
5034
5035 * lib/gdb.exp (gdb_skip_float_test): New proc. Skip test if
5036 no floating point support.
5037 (gdb_skip_stdio_test): New proc. Skip test if no stdio support.
5038 * gdb.base/call-ar-st.exp: Use above procs to skip tests.
5039 * gdb.base/call-rt-st.exp: Ditto.
5040 * gdb.base/call-strs.exp: Ditto.
5041
bac5fc66
JG
50422000-08-02 Jimmy Guo <guo@hpcleara.cup.hp.com>
5043
5044 * gdb.base/sizeof.c: include <stdio.h>.
5045
5046 * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
5047 'finish', otherwise uncaptured gdb_prompt would potentially
5048 throw remaining test points out of sync.
5049
b22a6027
SB
50502000-07-26 Scott Bambrough <scottb@netwinder.org>
5051
5052 * gdb.base/recurse.exp: Run tests for all targets.
5053 * gdb.base/so-impl-ld.exp: Added wildcard to handle the
5054 gnu-oldld case on ARM.
5055 * gdb.base/watchpoint.exp (test_stepping): Clear xfail
5056 for ARM targets.
d63a86f8 5057
d8231941
AG
5058Mon Jul 24 07:46:02 CDT 2000 Clinton Popetz <cpopetz@cygnus.com>
5059
5060 * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
5061 * gdb.java/configure: Rebuild.
5062
8caabe69
AG
5063Sun Jul 23 21:42:34 2000 Anthony Green <green@redhat.com>
5064
5065 * gdb.java/jv-exp.exp: New file.
5066
9d273ca3
AG
5067Sun Jul 23 21:02:42 2000 Anthony Green <green@redhat.com>
5068
5069 * configure: Rebuilt.
5070 * configure.in (configdirs): Add gdb.java.
5071 * gdb.java/jmisc.java: New file.
5072 * gdb.java/jmisc.exp: New file.
5073 * gdb.java/Makefile.in: New file.
5074 * gdb.java/configure: Rebuilt.
5075 * gdb.java/configure.in: New file.
5076 * lib/java.exp: New file.
5077
4f823a66
AC
5078Wed Jul 12 18:14:29 2000 Andrew Cagney <cagney@b1.cygnus.com>
5079
5080 * gdb.base/exprs.exp: Test casts to a pointer including over and
5081 underflow.
5082
2391e11d
AC
5083Thu Jul 13 11:52:53 2000 Andrew Cagney <cagney@b1.cygnus.com>
5084
5085 * gdb.base/sizeof.exp, gdb.base/sizeof.c: New files. Compare GDB
5086 and the compilers sizes.
5087
54602222
ND
50882000-07-09 Nick Duffek <nsd@redhat.com>
5089
5090 * gdb.c++/misc.cc (class ClassParam, class_param): Define.
5091 (use_methods): New function.
5092 (main): Call use_methods().
5093 * gdb.c++/classes.exp (test_method_param_class): New procedure.
5094 (do_tests): Call test_method_param_class.
5095
2bec0572
ND
50962000-07-09 Nick Duffek <nsd@redhat.com>
5097
5098 * gdb.c++/classes.exp (test_nonexistant_members): Fix name
5099 spelling.
5100 (test_enums): New procedure. Move enum tests from end of script
5101 to here. Set breakpoint on function name instead of line number.
5102 * gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
5103 (enums2): New marker function.
5104 (enums1): New function.
5105 (main): Call enums1(). Move enum tests to enums1().
5106
78492fde
AC
5107Tue Jul 4 03:43:49 2000 Andrew Cagney <cagney@b1.cygnus.com>
5108
5109 * gdb.asm/asm-source.exp: Use raw AS/LD instead of CC to
5110 compile/link program. Update line numbers.
5111 * gdb.asm/d10v.inc: Define ``startup''.
5112 * gdb.asm/asmsrc1.s: Add definition of _start.
d63a86f8 5113
49a2cef8
AC
5114Fri Jun 23 17:45:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
5115
5116 * gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
5117
3e6c8688
EZ
51182000-06-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5119
5120 * gdb.base/maint.exp: Add 'maint print architecture' item to output
5121 of 'help maint print' command.
5122
9ff5cbe9
AC
5123Fri Jun 16 18:22:05 2000 Andrew Cagney <cagney@b1.cygnus.com>
5124
5125 * gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
5126 they use gdb_expect_list.
5127
17c579bd
AC
5128Wed Jun 7 13:02:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
5129
5130 * gdb.base/commands.exp: Use ``set remote
5131 memory-read-packet-size'' instead of ``set endian big'' to test
5132 long commands.
5133
e6d71bf3
DB
51342000-06-03 Daniel Berlin <dan@cgsoftware.com>
5135
5136 * gdb.c++/templates.exp (do_tests): Make all of these work under
d63a86f8 5137 g++, and stop skipping them.
e6d71bf3
DB
5138
5139 * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
5140 work under g++.
5141
d63a86f8 5142 * gdb.c++/misc.cc: Fix ambiguous initialization with correct
e5f9ba7b
MS
5143 initialization.
5144
dc96c6c7 51452000-06-02 Michael Snyder <msnyder@cygnus.com>
7346e70f
MS
5146
5147 * gdb.base/annota1.exp (run until main breakpoint): Loosen up
5148 the regular expression: accept an (almost) arbitrary sequence of
5149 "frames-invalid" and "breakpoints-invalid" messages both before
5150 and after the "starting" message.
5151
dc96c6c7 51522000-06-02 Michael Snyder <msnyder@cygnus.com>
e5f9ba7b
MS
5153
5154 * gdb.c++/local.exp: This test has never been known to work with g++.
e6d71bf3 5155
dc96c6c7 51562000-05-18 Michael Snyder <msnyder@cygnus.com>
0a791409
MS
5157
5158 * gdb.base/annota1.exp (annotate-signal-handler-caller):
5159 Relax the regular expression a little, make it pass on Solaris 8.
5160
8216cda9
KB
51612000-05-12 Kevin Buettner <kevinb@redhat.com>
5162
5163 * gdb.base/step-test.exp: On IA-64 targets, when stepping out of
d63a86f8 5164 a call, do not require that gdb stop on the line after the call.
8216cda9
KB
5165 Instead, it is permissible for gdb to stop on the line of the
5166 call itself.
5167
1a570b2f
MS
51682000-05-12 Michael Snyder <msnyder@.cygnus.com>
5169
5170 * gdb.base/break.exp (bp on small function, optimized file):
5171 Add a second pass pattern. The behavior differs here between stabs
5172 and dwarf for one-line functions. Stabs preserves two line symbols
5173 (one before the prologue and one after) with the same line number,
5174 but dwarf regards these as duplicates and discards one of them.
5175 Therefore the address after the prologue (where the breakpoint is)
5176 has no exactly matching line symbol, and GDB reports the breakpoint
5177 as if it were in the middle of a line rather than at the beginning.
5178
dc96c6c7 51792000-05-08 Michael Snyder <msnyder@cygnus.com>
89cb06a2 5180
d63a86f8 5181 * gdb.base/interrupt.exp: Make "pass" message say "send"
89cb06a2
MS
5182 rather than "send_gdb" (for consistancy).
5183
7d418785
AC
5184Mon May 1 15:37:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
5185
5186 From 2000-04-28 Andreas Jaeger <aj@suse.de>:
5187 * gdb.c++/templates.cc: Properly check for GCC version number.
5188 * lib/compiler.cc: Likewise
5189
dc96c6c7 51902000-04-28 Michael Snyder <msnyder@cygnus.com>
e919ea79 5191
d63a86f8 5192 * gdb.base/break.exp: When compiled with -O2 optimization,
e919ea79
MS
5193 gdb may not stop at the first line of main, due to code motion.
5194
dc96c6c7 51952000-04-26 Michael Snyder <msnyder@cygnus.com>
1960c400
MS
5196
5197 * gdb.base/call-ar-st.exp: Bail out if target is sparclet.
5198 This test depends on parsing the printf output from the target.
5199 Since the sparclet stub doesn't do stdio, this will never work.
5200 * gdb.base/call-rt-st.exp: ditto.
5201 * gdb.base/call-strs: ditto.
5202
dc96c6c7 52032000-04-24 Michael Snyder <msnyder@cygnus.com>
b84b7669
MS
5204
5205 * gdb.base/miscexprs.exp: make sizeof long array test portable.
5206
5207 * gdb.base/ending-run.exp: After connecting to a remote target,
5208 but before running, the target will appear to be in a random
5209 location. Specify both a file and a line for breakpoints.
5210 Also, the function that calls main may be called 'init'
5211 rather than 'start'.
5212
a5a51225
EZ
52132000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5214
5215 * gdb.base/help.exp: Update output for add-symbol-file command.
5216
7930cc7c
FN
52172000-04-10 Fernando Nasser <fnasser@cygnus.com>
5218
5219 From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
5220 * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
5221
23e37ab1
C
52222000-04-07 J.T. Conklin <jtc@redback.com>
5223
e93c542c
C
5224 * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
5225
23e37ab1
C
5226 * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
5227
591b8fa3
PDM
5228Thu Mar 30 13:26:19 2000 Philippe De Muyter <phdm@macqel.be>
5229
5230 * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
5231 values that can be represented exactly.
5232 * gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
5233 above change, and to not check against the directory part of the source
5234 file name.
5235 (step into print_long_arg_list): Likewise.
5236 (print print_small_structs from print_long_arg_list): Likewise.
5237 (print print_long_arg_list): Likewise.
5238
7a495180
EZ
52392000-03-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5240
30b53638 5241 * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
7a495180 5242
beb998c6
AC
5243Mon Mar 27 14:46:37 2000 Andrew Cagney <cagney@b1.cygnus.com>
5244
5245 * ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
5246
1c689132
DB
52472000-03-25 Daniel Berlin <dan@cgsoftware.com>
5248
5249 * gdb.base/commands.exp (deprecated_command_test): Add test for
5250 deprecate with no arguments.
5251
c1790a9d
JL
52522000-03-24 Jonathan Larmour <jlarmour@redhat.co.uk>
5253
5254 * gdb.base/break.exp: Add new test for setting breakpoints on
5255 optimized code so we can test breakpoints work even when function
5256 prologues may be optimized away
5257
003ba290
FN
52582000-03-23 Fernando Nasser <fnasser@totem.to.cygnus.com>
5259
5260 From David Whedon <dwhedon@gordian.com>
5261 * gdb.base/commands.exp : Added command deprecator tests.
5262
6837a0a2
DB
52632000-03-22 Daniel Berlin <dan@cgsoftware.com>
5264
5265 * gdb.base/help.exp: Added test for new apropos command.
5266
b9593231
KB
52672000-03-21 Kevin Buettner <kevinb@redhat.com>
5268
5269 * gdb.base/pointers.c (usevar): New function.
5270 (main): Make sure that global variables v_int_pointer2, rptr,
5271 and y are all referenced someplace in the program by calling
5272 usevar() on them. [Some linkers delete symbols which are
5273 never referenced. The space remains, but there's no way to
5274 get a (symbolic) handle on the variable from the debugger.]
5275
751a959b
EZ
52762000-03-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5277
5278 * gdb.base/printcmds.c: Add typedeffed arrays.
5279
5280 * gdb.base/printcmds.exp (test_print_typedef_arrays): New
5281 procedure to test arrays that are typedef'd.
5282
73a93a32
JI
52832000-03-13 James Ingham <jingham@leda.cygnus.com>
5284
5285 * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
d63a86f8 5286 the library directories.
73a93a32 5287
fb40c209
AC
5288Mon Feb 21 13:05:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
5289
5290 * configure.in (configdirs): Add sub directory gdb.mi.
5291 * configure: Re-generate.
5292
5293 * gdb.mi: New directory.
d63a86f8 5294
ee4dd2c9
AC
52952000-02-25 Scott Bambrough <scottb@netwinder.org>
5296
5297 * gdb.base/long_long.exp: Correct test suite failure when printing
5298 a long long value as a double on ARM platforms.
5299
70f0cc22
JB
53002000-02-16 Jim Blandy <jimb@redhat.com>
5301
5302 * gdb.base/break.exp ("breakpoint line number"): Make sure the
5303 default source file is set properly before running this test.
5304
853819b8
EZ
53052000-02-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5306
5307 * lib/gdb.exp: Tell the testsuite that now gdbtk is in the
5308 gdbtk/library directory, not in gdbtcl2.
5309
dfcd3bfb
JM
53102000-02-04 Jim Blandy <jimb@redhat.com>
5311
5312 * gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
5313 backslash from regexp pattern.
5314
5315 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): New
5316 procedure. Use it to run all the "continue to bp overloaded"
5317 tests. Note that this changes the names of the tests slightly.
5318 If the breakpoint hit message includes a hex PC value, because
5319 GCC's Dwarf 2 line info doesn't help us distinguish the prologue
5320 from the real source code, still consider that a pass.
5321
5322 * gdb.base/condbreak.exp ("run until breakpoint at marker2"):
5323 XFAIL here if the breakpoint message contains a hex address. Note
5324 similar change on 1999-11-02.
5325
5326 * gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
5327
5328 * gdb.base/ptype.exp: Establish a default source file before
5329 calling get_debug_format.
5330
53312000-02-03 Fernando Nasser <fnasser@totem.to.cygnus.com>
5332
5333 * gdb.base/watchpoint.exp: Remove duplication of test messages.
5334
8b93c638
JM
53352000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
5336
5337 * gdb.base/step-test.exp: Fix the steps to enter a callee by means
5338 of successive stepi commands -- while in the prologue we should see
5339 the function entry bracket.
5340
53412000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
5342
5343 * gdb.base/ending-run.exp: Add ARM in thumb mode case, where we
5344 reach __change_mode() when stepping through the end of main().
5345
c5394b80
JM
53462000-01-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
5347
5348 * gdb.base/default.exp: Fix expected pattern.
5349 * gdb.base/help.exp: Same.
5350
0d06e24b
JM
53512000-01-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5352
5353 * gdb.base/so-indr-cl.exp: Don't execute the test if not on HPUX.
5354 Don't use xfail's because that affects only the following test.
d63a86f8 5355
0d06e24b
JM
5356 * gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
5357 solaris or linux.
5358
5359 * gdb.base/selftest.exp: Update to reflect changes to main.c.
5360
dc96c6c7 53612000-01-07 Michael Snyder <msnyder@cygnus.com>
0d06e24b 5362
d63a86f8 5363 * gdb.base/display.exp: Some yacc parsers like to say
0d06e24b
JM
5364 "A syntax error" rather than "A parse error". Accept both.
5365
53662000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
5367
5368 * gdb.base/default.exp: Remove OS dependent string from "target
5369 remote" test.
5370 * gdb.base/help.exp: Same for "help target remote" test.
5371
c3f6f71d
JM
53722000-01-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5373
5374 From Jim Kingdon <kingdon@redhat.com>:
5375
5376 * gdb.c++/annota2.exp: Fix "delete bps" test to wait for the
5377 prompt (cleanup rather than necessity, but still might keep output
5378 from spilling to next test).
5379
53802000-01-02 Fred Fish <fnf@cygnus.com>
5381
5382 * gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
5383 AIX, which defines them in <sys/types.h>.
5384
ed9a39eb 53851999-12-16 Stan Shebs <shebs@andros.cygnus.com>
c4093a6a 5386
ed9a39eb
JM
5387 * gdb.base/default.exp: Match arm* etc instead of arm in "info
5388 float" test.
5389
53901999-12-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
c4093a6a 5391
ed9a39eb 5392 * gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
c4093a6a
JM
5393
5394 * gdb.base/break.exp: Add missing anchor to reg exp on "finish from
5395 outermost frame disallowed".
5396
53971999-12-09 Fernando Nasser <fnasser@totem.to.cygnus.com>
5398
5399 * gdb.base/setvar.exp: New tests for setting the value of a struct
5400 with a constant list.
5401
54021999-12-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
5403
5404 * gdb.base/setvar.exp: Remove pair os tests that expected gdb to
5405 require the user to type a cast before setting the value of a struct.
5406
de57eccd
JM
54071999-12-06 Jim Blandy <jimb@cygnus.com>
5408
5409 * gdb.base/default.exp: Expect the new 'info float' command on
5410 all i386 platforms.
5411
5412 * gdb.threads/linux-dp.exp: Expand our ability to recognize
5413 LinuxThreads libraries that don't support debugging.
5414
c2d11a7d
JM
5415Sat Dec 4 15:21:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
5416
5417 * gdb.base/remote.c: Fill the buffer with truely random data.
5418 Change the buffer type to ``unsigned char'' to simplify size
5419 arithmetic.
5420
5421 * gdb.base/remote.exp: Reduce download numbers by one. Typical
5422 stub only handles 400-1 byte packets. Verify that the download
5423 worked.
5424
54251999-11-30 Fernando Nasser <fnasser@totem.to.cygnus.com>
5426
5427 * lib/gdb.exp (gdb_expect_list): FAIL only once on multiple pattern
5428 tests, using UNRESOLVED for the untested cases. Also, does not wait
5429 for a timeout if the prompt was received before a recognizable pattern.
5430
54311999-11-29 Fernando Nasser <fnasser@totem.to.cygnus.com>
5432
5433 * lib/gdb.exp (gdb_expect_list): Fix spelling.
5434
54351999-11-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5436
5437 * gdb.base/watchpoint.exp: Add tests cases for the hit count of
5438 watchpoints.
5439
54401999-11-24 Jason Merrill <jason@casey.cygnus.com>
5441
5442 * gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
5443
5444 * gdb.c++/local.exp: Be more flexible in recognizing local class
5445 name mangling. Don't allow horribly truncated method names.
5446 * gdb.c++/derivation.exp: Expect protected inheritance.
5447 * gdb.c++/inherit.exp: Be more flexible in recognizing vbase pointers.
5448 * gdb.c++/virtfunc.exp: Likewise.
5449 * gdb.c++/classes.exp: Likewise. Don't require the enclosing scope
5450 when printing a nested enum.
5451
54521999-11-22 Jim Blandy <jimb@cygnus.com>
5453
5454 * gdb.base/step-test.exp: Properly await GDB's response to setting
5455 a breakpoint on the call to large_struct_by_value.
5456
5457 * gdb.base/ending-run.exp ("step to end of run 1"): Don't fail
5458 just because we have debug info for the `start' function.
5459
54601999-11-19 Jim Blandy <jimb@zenia.red-bean.com>
5461
5462 * gdb.threads/linux-dp.exp ("create philosopher"): Recognize the
5463 "Unknown signal" messages, which indicate (on LinuxThreads) that
5464 GDB doesn't know how to debug threads on this system. This is
5465 better than hanging while philosopher 0 dumps chatter into gdb.log.
5466
54671999-11-18 Tom Tromey <tromey@cygnus.com>
5468
5469 * gdb.trace/deltrace.exp: Updated test to reflect new error text.
5470
54711999-11-18 Fred Fish <fnf@cygnus.com>
5472
5473 * gdb.base/coremaker2.c: Add sample program for generating
5474 cores that is more self contained than coremaker.c. Eventually
5475 I'll add more code to this and tie it into the testsuite.
5476
4ce44c66
JM
54771999-11-12 Stan Shebs <shebs@andros.cygnus.com>
5478
5479 * gdb.base/dollar.exp: Remove, now in gdb.hp.
5480
54811999-11-10 Jimmy Guo <guo@cup.hp.com>
5482
5483 * gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
5484 from $srcdir/lib/.
5485 * lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
5486 and gdb.c++/.
5487
5488 * gdb.c++/derivation.exp: remove redundant get compiler info code.
5489
d63a86f8 5490 * gdb.base/commands.exp: add '$gdb_prompt $' anchor to
4ce44c66
JM
5491 'continue with watch' test point.
5492
54931999-11-08 Jim Blandy <jimb@zenia.red-bean.com>
5494
5495 Merged from p2linux-990323-branch:
d63a86f8 5496
4ce44c66
JM
5497 * lib/gdb.exp (gdb_continue_to_breakpoint): New function.
5498
11cf8741
JM
5499Mon Nov 8 23:07:09 1999 Andrew Cagney <cagney@amy.cygnus.com>
5500
5501 * gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
5502 {limit,fixed}''. Test ``set download-write-size''.
5503
5504Sun Nov 7 17:37:01 1999 Andrew Cagney <cagney@b1.cygnus.com>
5505
5506 * gdb.base/funcargs.exp: Rewrite stack traceback checks using
5507 gdb_expect_list.
5508
5509Fri Nov 5 18:40:52 1999 Andrew Cagney <cagney@b1.cygnus.com>
5510
5511 * lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
5512
55131999-11-03 Mark Salter <msalter@cygnus.com>
5514
5515 * gdb.base/break.exp: Fix "stub continue" pattern.
5516
55171999-11-03 Jim Blandy <jimb@zwingli.cygnus.com>
5518
5519 * gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
5520
55211999-11-02 Jim Blandy <jimb@zwingli.cygnus.com>
5522
5523 * gdb.base/display.exp ("finish"): Add timeout clause.
5524
5525 * gdb.base/condbreak.exp ("run until breakpoint at marker1"): Add
5526 plain prompt clause, so this doesn't have to time out in order to
5527 fail.
5528
5529 * gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
5530 breakpoint hit messages include an address.
5531
5532 * gdb.base/display.exp: Don't forget to escape parens in regular
5533 expressions. Unix regexp notatation sucks.
5534
55351999-11-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5536
5537 * gdb.base/annota1.exp: Test for annotate-signalled: change output
5538 order for 'signalled' message.
5539
5c44784c
JM
55401999-11-01 Stan Shebs <shebs@andros.cygnus.com>
5541
5542 From Jimmy Guo <guo@cup.hp.com>:
5543 * gdb.base/annota1.exp: Add tests for annotate ignore count change.
5544 * gdb.base/annota1.c: Add code for tests to work with.
5545
55461999-10-26 Frank Ch. Eigler <fche@cygnus.com>
5547
5548 * gdb.base/remote.exp: New test for remote downloading settings.
5549 * gdb.base/remote.c: New file with large .data.
5550
917317f4
JM
55511999-10-18 Jim Blandy <jimb@zwingli.cygnus.com>
5552
5553 * gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
5554 for LinuxThreads support, merged from the Code Fusion branch.
5555
5556Mon Oct 11 13:57:21 1999 Andrew Cagney <cagney@amy.cygnus.com>
5557
5558 * lib/gdb.exp (gdb_run_cmd): Break complicated gdb_expect
5559 containing exp_continue into a while within an expect. Don't
5560 attempt a start more than three times. Check return value from
5561 gdb_load.
d63a86f8 5562
2df3850c
JM
5563Wed Oct 6 12:05:58 1999 Andrew Cagney <cagney@b1.cygnus.com>
5564
5565 * gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
5566 a pass case.
5567
2acceee2
JM
55681999-10-01 Kevin Buettner <kevinb@cygnus.com>
5569
5570 * gdb.base/break.c (main): Added a statement that we can step
5571 off of.
5572 * gdb.base/break.exp: Added tests for setting a breakpoint
5573 at an offset and stepping onto a breakpoint.
5574
55751999-10-01 Fred Fish <fnf@cygnus.com>
5576
d63a86f8 5577 * gdb.base/help.exp (help add-symbol-file): Update to match current
2acceee2
JM
5578 gdb output.
5579
c2c6d25f
JM
55801999-09-18 Jim Blandy <jimb@cris.red-bean.com>
5581
5582 * gdb.base/break.exp: Code locations are in hex, don't forget!
5583 (For HP-UX.)
5584
55851999-09-17 Stan Shebs <shebs@andros.cygnus.com>
5586
5587 * condbreak.exp: Use break.c as test program.
5588 * condbreak.c: Remove, redundant with break.c.
5589
55901999-09-15 Stan Shebs <shebs@andros.cygnus.com>
5591
5592 * config/monitor.exp (gdb_target_monitor): Disable X- and
5593 Z-packets if the target needs it.
5594
55951999-09-13 James Ingham <jingham@leda.cygnus.com>
5596
5597 * gdb.c++/overload.exp: Added tests for listing overloaded
5598 functions with function pointers in the arg, explicitly calling
5599 out the version you want.
5600
cff3e48b
JM
56011999-09-09 Stan Shebs <shebs@andros.cygnus.com>
5602
5603 * long_long.exp: Add variations of test cases that work for
5604 targets with 16-bit ints and 32-bit doubles.
5605
d4f3574e
SS
56061999-09-08 Stan Shebs <shebs@andros.cygnus.com>
5607
5608 * break.c (main): Compare a possibly-uninitialized argc with an
5609 unlikely value that fits in 16 bits.
5610
56111999-09-07 Stan Shebs <shebs@andros.cygnus.com>
5612
5613 * gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
5614 0xfeeb, don't want negative numbers if ints are 16 bits.
5615
5616 * lib/gdb.exp (skip_cplus_tests): New proc.
5617 * gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
5618 gdb.c++/anon-union.exp, gdb.c++/classes.exp,
5619 gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
5620 gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
5621 gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
5622 gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
5623 gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
5624 gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
5625
5626 * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
5627
5628Fri Sep 3 15:37:12 1999 Kevin Buettner <kevinb@cygnus.com>
5629
5630 * gdb.base/corefile.exp (up): Allow a parameter to appear
5631 in the frame that we're going up to.
5632
5633 From Jim Blandy <jimb@cygnus.com>:
5634
5635 * gdb.base/default.exp (info float): Expect some output now.
5636
5637 * gdb.base/callfuncs.exp (do_function_calls): We no longer expect
5638 returning floating-point values to fail on the x86.
5639 * gdb.base/callfwmall.exp (do_function_calls): Same.
5640
5641 * gdb.base/list.exp (test_listsize): Correct expectations for
5642 listing line 1 with listsize 2. Also, listing a single line
5643 works now, as does listing three lines. [Kevin's note: There
5644 were a number of other cases fixed too where the expectations
5645 differed...]
5646
56471999-09-02 Stan Shebs <shebs@andros.cygnus.com>
5648
5649 * gdb.base/selftest.exp: Add case for when version prints as
5650 constant string instead of char pointer.
5651
104c1213
JM
56521999-08-25 Stan Shebs <shebs@andros.cygnus.com>
5653
5654 * gdb.base/ending-run.exp: Add Solaris case for what happens when
5655 stepping out of main.
5656
5657 * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
5658 G++ used.
5659
5660 * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
5661 always, expect ptype InnerLocal::NestedInnerLocal to fail always.
5662
5663 * gdb.c++/ovldbreak.exp: Update match string in test that
5664 includes a warning of multiple breakpoints.
5665
56661999-08-24 Stan Shebs <shebs@andros.cygnus.com>
5667
5668 * gdb.base/display.exp: Improve precision of step-after-finish
5669 added yesterday.
5670
5671 * gdb.base/signals.exp: Add extra wildcard to "handle all print"
5672 test.
5673
5674 * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
5675 configs when using G++, not just hppa*.
5676
56771999-08-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5678
5679 * gdb.base/async.c: New file.
5680 * gdb.base/async.exp: New file.
5681
5682Tue Aug 24 03:24:53 1999 Jeffrey A Law (law@cygnus.com)
5683
5684 * gdb.base/break.exp: Tweak PA specific tests to properly handle
5685 PA64.
5686
53a5351d
JM
5687Mon Aug 23 10:25:20 1999 Jeffrey A Law (law@cygnus.com)
5688
104c1213
JM
5689 * gdb.base/display.exp: "finish" can leave us mid-line on many
5690 targets, deal with it. Add a small constant to main, instead of
5691 1000 since main+1000 may not be a valid address in the target.
5692
53a5351d
JM
5693 * gdb.base/dollar.exp: Do not run for PA processors in wide mode
5694 on hpux11.
5695
5696 * gdb.base/attach.exp: Handle another hpux11 error message variant
5697 when attaching to a process that does not exist.
5698
56991999-08-19 J.T. Conklin <jtc@redback.com>
5700
5701 * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
5702 characters in 'continue to 1241' test.
5703
57041999-08-17 Stan Shebs <shebs@andros.cygnus.com>
5705
5706 * gdb.base/call-ar-st.exp: Add a shorter match case for the
5707 stop in print_long_arg_list, define and use a whitespace
5708 variable in print_small_structs test, add an XFAIL for Solaris.
5709 * gdb.base/dbx.exp: XFAIL func commands until somebody is
5710 interested enough to fix.
5711
7be570e7
JM
57121999-08-13 Keith Seitz <keiths@cygnus.com>
5713
5714 * gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
5715 (dbx_gdb_load): Remove. Use gdb_load instead, since that
5716 proc knows about targets other than the natives.
5717 (test_assign): Use "gdb_run_cmd" to "run" the target.
5718 Check that we've actually hit the breakpoint at main.
5719 When we attempt to assign a value to a local variable, check
5720 that the variable is in the current scope, i.e., don't use
5721 a test with an empty result.
5722
5723Tue Aug 10 15:25:16 1999 Andrew Cagney <cagney@b1.cygnus.com>
5724
5725 * gdb.base/maint.exp: Add test of ``maintenance internal-error''
5726 command.
5727
57281999-08-09 Stan Shebs <shebs@andros.cygnus.com>
5729
5730 From Jimmy Guo <guo@cup.hp.com> and others at HP:
5731 gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
5732 gdb.compat, gdb.threads-hp.
5733 gdb.hp/configure, gdb.hp/configure.in: New files.
5734 gdb.hp/Makefile.in: Recurse into new subdirs.
5735 gdb.hp/gdb.defects: New directory, tests for HP bug reports.
5736 gdb.hp/gdb.objdbg: New directory, tests for debugging info
5737 in object files.
5738 gdb.hp/tools: New directory, aux tools for HP-specific tests.
5739
96baa820
JM
57401999-08-05 Stan Shebs <shebs@andros.cygnus.com>
5741
5742 * gdb.base/display.exp: Help expect by putting a newline in the
5743 funky printf, remove a bogus p/a test.
5744
57451999-08-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5746
5747 * gdb.base/display.exp: Make sure that when we say 'run', we are
5748 connected to the target. This is necessary when running not
5749 natively.
5750
57511999-08-03 Stan Shebs <shebs@andros.cygnus.com>
5752
5753 * gdb.base/step-test.exp: Removed some extraneous messages.
5754
5755 * gdb.base/long_long.exp: Don't run memory examination tests
5756 on little-endian targets (they will need a different set of
5757 results to match).
5758
57591999-08-02 Stan Shebs <shebs@andros.cygnus.com>
5760
5761 * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
5762 until somebody decides to fix GDB.
5763
5764 * gdb.base/long_long.c: Stop compiler complaint by specifying long
5765 constant as "ULL".
5766 * gdb.base/long_long.exp: Loosen x/c test, add partial result
5767 matches for a couple x/2 commands.
5768
a0b3c4fd
JM
57691999-07-30 Stan Shebs <shebs@andros.cygnus.com>
5770
5771 * gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
5772 by merging in ref-types2 tests.
5773 * gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
5774
5775 From Jimmy Guo <guo@cup.hp.com> and others at HP:
5776 * gdb.c++/Makefile.in: Add standard actions.
5777 (EXECUTABLES): Rename from PROGS, update list.
5778 * gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
5779 from gdb.hp.
5780 * gdb.c++/anon-union.cc: Don't use anonymous struct, make
5781 foo and bar locals.
5782 * gdb.c++/anon-union.exp: Fix tests to match.
5783 * gdb.c++/classes.exp: Run if HP compiler used, add extra
5784 expect matches to handle output variations.
5785 * gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
5786 * gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
5787 output, add HP alternatives for new and delete prints.
5788 * gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
5789 gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
5790 * gdb.c++/demangle.exp: Use $style when reporting failure.
5791 * gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
5792 * gdb.c++/inherit.exp: Run if HP compiler used, add some
5793 match alternatives.
5794 * gdb.c++/local.exp: Add match alternatives or xfails for HP
5795 compilers.
5796 * gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
5797 * gdb.c++/method.exp: Add match alternatives.
5798 * gdb.c++/misc.cc: Add bool types.
5799 * gdb.c++/misc.exp: Add tests for bool types.
5800 * gdb.c++/overload.exp: Add xfails.
5801 * gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
5802 * gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
5803 add some more template parameter tests (only for HP currently).
5804 * gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
5805 * gdb.c++/virtfunc.cc: Add return type and value for main.
5806 * gdb.c++/virtfunc.exp: Run if HP compiler used, add some
5807 match alternatives.
d63a86f8 5808
a0b3c4fd
JM
58091999-07-30 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5810
5811 * gdb.base/display.exp: Fix output of 'p/a &&j' test.
5812
58131999-07-29 Jim Blandy <jimb@savonarola.red-bean.com>
5814
5815 * gdb.base/signals.exp: Don't expect getting a backtrace from
5816 within a signal handler to fail on Linux.
5817
58181999-07-29 Stan Shebs <shebs@andros.cygnus.com>
5819
5820 From Jimmy Guo <guo@cup.hp.com> and others at HP:
5821 * lib/gdb.exp: Remove some gratuitious semicolons.
5822 (delete_breakpoints): Increase timeout.
5823 (gdb_expect): Add -notransfer option.
5824 (gdb_test): Use -notransfer option.
5825 (get_compiler_info): Add f77 case.
5826 (get_compiler): New proc, split out from gdb_preprocess, add f77
5827 case.
5828 (gdb_preprocess): Call get_compiler.
5829
5830 * gdb.base/Makefile.in (EXECUTABLES): Update the list.
5831 * gdb.base/attach.exp, gdb.base/display.exp,
5832 gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
5833 gdb.base/long_long.exp, gdb.base/printcmds.exp,
5834 gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
5835 third arg to gdb_test.
5836 * gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
5837 * gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
5838 HP-UX xfails, add others.
5839 * gdb.base/completion.exp: Reflect name change of self-test.
5840 * gdb.base/condbreak.exp, gdb.base/corefile.exp,
5841 gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
5842 gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
5843 HP failure number.
5844 * gdb.base/foll-vfork.exp: Loosen matches slightly, remove
5845 useless HP-UX 10.30 references.
5846 * gdb.base/maint.exp: Loosen matches.
5847 * gdb.base/pointers.c (main): Declare more_code.
5848 * gdb.base/pointers.exp: Match on output of a `next'.
5849 * gdb.base/structs.c: Add prototypes.
5850 * gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
5851 * gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
5852
58531999-07-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5854
5855 * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
5856 command.
5857
58581999-07-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5859
5860 * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
5861 Fix run to main failures. Watchpoint can be hardware watchpoint.
d63a86f8
RM
5862
5863 * gdb.base/annota1.exp: Clean up some more, in case printf has
a0b3c4fd
JM
5864 debug info. Deal with lack of signal hanlder info in stack.
5865
5866 From Jim Kingdon <kingdon@redhat.com>:
5867 * gdb.base/annota1.exp: If printf has debug info, deal with it.
5868
5a2468f5
JM
58691999-07-19 Stan Shebs <shebs@andros.cygnus.com>
5870
5871 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
5872 gdb.base/foll-vfork.exp: Don't run for crosses.
5873
adf40b2e
JM
5874Tue Jul 13 23:37:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
5875
5876 * gdb.base/configure.in: Check for gdbvars.exp instead of
5877 a1-selftest.exp.
5878 * gdb.base/configure: Re-generate.
5879
58801999-07-12 Stan Shebs <shebs@andros.cygnus.com>
5881
5882 * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
5883 in trying to run first and name is too long.
5884
5885 * gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
5886 pointers2.c and pointers2.exp, respectively.
5887 * gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
5888 doschk happier.
5889
43e526b9
JM
58901999-07-08 Stan Shebs <shebs@andros.cygnus.com>
5891
5892 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
5893 callfuncs2.c and callfuncs2.exp.
5894
5895 * gdb.base/list.exp: Remove mistaken xfails.
5896 * gdb.base/list0.h: Add optional prototypes.
5897
9846de1b
JM
5898Wed Jul 7 00:27:35 1999 Andrew Cagney <cagney@amy.cygnus.com>
5899
5900 * gdb.base/setvar.exp: Increase the time-out on tests indirectly
5901 calling malloc.
5902 * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
5903 * ptype.exp: Move test for get_debug_format to before its first
5904 use.
5905
59061999-07-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5907
5908 * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
5909 * gdb.base/annota2.cc, annota2.exp: Move from here.
5910 * gdb.c++/annota2.cc, annota2.exp: To here.
5911 * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
5912
43ff13b4
JM
5913Tue Jun 29 11:56:06 1999 Andrew Cagney <cagney@b1.cygnus.com>
5914
5915 * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
5916 a consistent format.
5917
085dd6e6
JM
59181999-06-25 Stan Shebs <shebs@andros.cygnus.com>
5919
5920 From Jimmy Guo <guo@cup.hp.com> and others at HP:
5921 * lib/gdb.exp (get_compiler_info): Add detection for assorted
5922 HP compilers, also set the globals $true and $false.
5923
5924 * gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
5925 call-rt-st.c, call-strs.c, callfuncs.c, callfuncs2.c, condbreak.c,
5926 coremaker.c, ending-run.c, exprs.c, funcargs.c, interrupt.c,
5927 jump.c, langs0.c, langs1.c, langs2.c, list0.c, list1.c,
5928 long_long.c, mips_pro.c, nodebug.c, opaque0.c, opaque1.c,
5929 printcmds.c, ptype.c, recurse.c, restore.c, return.c, run.c,
5930 scope0.c, scope1.c, setshow.c, setvar.c, shmain.c, shr1.c, shr2.c,
5931 sigall.c, signals.c, so-impl-ld.c, so-indr-cl.c, solib.c,
5932 solib1.c, solib2.c, step-test.c, twice.c, varargs.c, watchpoint.c,
5933 whatis.c} Add C++ compatible function definitions and return
5934 types, add includes for library functions.
5935 * gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
5936 * gdb.base/step-test.c (myglob): Rename from glob.
5937 * gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
5938 foll-exec.c, foll-fork.c, foll-vfork.c, sum.c, vforked-prog.c: New
5939 files, move here from gdb.hp.
5940 * gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
5941 commands.exp, condbreak.exp, define.exp, ena-dis-br.exp,
5942 ending-run.exp, jump.exp. list.exp, long_long.exp, so-impl-ld.exp:
5943 Adjust line numbers in regexps.
5944
5945 * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
5946 miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
5947 instead of 0/1.
5948
5949 * gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
5950 foll-vfork.exp: New files, move here from gdb.hp.
5951 * gdb.base/page.exp: New file, test of pagination command.
5952
5953 * gdb.base/watchpoint.c (recurser): New function, for watchpoint
5954 recursion test.
5955 * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
5956
5957 * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
5958 gdb.base/solib.exp: Fix compiler invocation process.
5959
5960 * gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
5961 HP-UX 11, turn off overload resolution explicitly.
5962 * gdb.base/commands.exp: Set argument list explicitly, add
5963 watchpoint test.
5964 * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
5965 them work.
5966 * gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
5967 expressions properly.
5968 * gdb.base/corefile.exp: Loosen the match slightly.
5969 * gdb.base/default.exp: Allow "Error accessing memory" message
5970 also.
5971 * gdb.base/display.exp: Skip over x/0 j if PA64.
5972 * gdb.base/funcargs.exp: Add xfails for HP-UX.
5973 * gdb.base/interrupt.exp: Ditto.
5974 * gdb.base/langs.exp: Add symbolic matches governed by compiler
5975 in use.
5976 * gdb.base/list.exp: Add xfails for HP-UX.
5977 * gdb.base/long_long.exp: Refine some of the numeric matches.
5978 * gdb.base/mips_pro.exp: Xfail on HP-UX.
5979 * gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
5980 * gdb.base/nodebug.exp: Succeed on more varieties of output.
5981 * gdb.base/opaque.exp: Remove some HP-UX xfails.
5982 * gdb.base/ptype.exp: Succeed on more varieties of output.
5983 * gdb.base/scope.exp: Add xfails for HP-UX.
5984 * gdb.base/sect-cmd.exp: Add more cases.
5985 * gdb.base/setvar.exp: Add xfails for HP-UX.
5986 * gdb.base/shlib-call.exp: Loosen some matches slightly.
5987 * gdb.base/signals.exp: Match on void symbolically.
5988 * gdb.base/step-test.exp: Add case for PA64.
5989 * gdb.base/term.exp: Add exit and restart.
5990 * gdb.base/twice.exp: Clean up after self.
5991 * gdb.base/varargs.exp: Disable overload resolution explicitly.
5992 * gdb.base/whatis.exp: Allow more ways to pass tests.
5993
5994 * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
5995 no longer useful.
5996
5997Fri Jun 25 19:27:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
5998
5999 * lib/gdb.exp (proc gdb_expect_list): New procedure. Matches a
6000 list of patterns.
6001 * gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
6002 print_double_array(double_array)", "continuing to breakpoint
6003 1018", "print print_double_array(array_d)" and "continuing to
6004 1034" tests.
d63a86f8 6005
085dd6e6
JM
60061999-06-24 Jason Molenda (jsm@bugshack.cygnus.com)
6007
6008 * Makefile.in: Add empty html and install-html targets.
6009
60101999-06-24 Stan Shebs <shebs@andros.cygnus.com>
6011
6012 * config/mt-*: Remove, these haven't been used since 1996.
6013
60141999-06-22 Stan Shebs <shebs@andros.cygnus.com>
6015
6016 * gdb.base/call-strs.c, gdb.base/ending-run.c,
6017 gdb.base/step-test.c: Include stdlib.h and string.h as needed.
6018 * gdb.c++/member-ptr.exp: Skip over these tests if using G++.
6019
9e0b60a8
JM
60201999-06-18 Stan Shebs <shebs@andros.cygnus.com>
6021
6022 * gdb.c++/overload.exp: XFAIL everything if using G++, add a
6023 simpler match case for the ptype of the big class.
6024
60251999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
6026
6027 * gdb.exp: Fix test for gdb_prompt existence.
6028
60291999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
6030
6031 * gdb.exp (gdb_test): Add fail after calls to perror.
6032
60331999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
6034
6035 * gdb.exp (gdb_test): Accept variations of Undefined command messages.
6036
60371999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
6038
6039 * gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
6040
0f71a2f6
JM
6041Fri Jun 11 12:56:50 1999 Andrew Cagney <cagney@b1.cygnus.com>
6042
6043 * gdb.base/call-strs.c (link_malloc): New function. Ensure that
6044 malloc() is linked in.
6045
60461999-06-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
6047
6048 * gdb.base/ending-run.exp: Make sure we fail and do not timeout at
6049 step at end.
6050
6051 * gdb.base/annota1.exp: Increase match_max to prevent timeout.
6052
60531999-06-08 Jim Blandy <jimb@zwingli.cygnus.com>
6054
6055 * gdb.java/jv-print.exp: New file. (Our first Java test!)
6056
cce74817
JM
6057Fri Jun 4 10:47:46 1999 Jeffrey A Law (law@cygnus.com)
6058
6059 * gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
6060 * gdb.base/mips_pro.exp: Likewise.
6061
60621999-06-02 Keith Seitz <keiths@cygnus.com>
6063
6064 * gdb.c++/templates.cc: Change all "new" operators to throw
6065 an exception.
6066 * gdb.c++/cplusfuncs.cc: Likewise.
6067
6068 * gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
6069
6070Wed Jun 2 17:37:05 1999 Andrew Cagney <cagney@b1.cygnus.com>
6071
6072 * gdb.base/condbreak.exp: Use rerun_to_main to start the program.
6073 * gdb.base/ending-run.exp: When stepping out of main, accept a
6074 step into an arbitrary assembler file.
6075
392a587b
JM
60761999-05-20 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
6077
d63a86f8 6078 * gdb.base/annota1.exp: Allow any number of "frames-invalid" and
392a587b 6079 "breakpoint-invalid" to be printed.
d63a86f8 6080 * gdb.base/annota2.exp: Revise line number for main breakpoint. Allow any
392a587b
JM
6081 number of "frames-invalid" and "breakpoint-invalid" to be printed.
6082 * gdb.base/annota2.cc: Initialize a.x to 0.
6083
9e086581
JM
60841999-05-17 Keith Seitz <keiths@cygnus.com>
6085
6086 * gdb.base/call-ar-st.exp: Skip "print print_double_array (double_array)"
6087 when "skip_float_tests" set.
6088 Ditto for "print print_double_array(array_d)", "print print_small_structs",
6089 "print print_ten_doubles", and "step into print_long_arg_list".
6090 Don't assume we can step into "print_long_arg_list": we could step into memcpy.
6091 * gdb.base/call-rt-st.exp: Don't run float-related tests when "skip_float_tests"
6092 is set: "print print_one_double(*d1)" and "print print_two_floats(*f3)".
6093 * gdb.base/funcargs.exp: Don't run "float_and_integral_args" when
6094 "skip_float_tests" is set.
6095 * gdb.base/varargs.exp: Skip "print find_max_double(5,1.0,17.0,2.0,3.0,4.0)"
6096 when "skip_float_tests" set.
d63a86f8 6097
cd0fc7c3
SS
60981999-05-06 Keith Seitz <keiths@cygnus.com>
6099
6100 * gdb.base/annota2.cc: Include stdio.h.
6101
6102Wed May 5 17:44:31 1999 Stan Shebs <shebs@andros.cygnus.com>
6103
6104 * gdb.base/crossload.exp: Remove, this has been disabled ever
6105 since BFD stopped including all targets, and cross-GDB gets
6106 plenty of testing anyway.
6107 * gdb.base/i486-elf.u, gdb.base/m68k-aout.u, gdb.base/m68k-elf.u,
6108 gdb.base/sparc-aout.u, gdb.base/i860-elf.u, gdb.base/m68k-aout2.u,
6109 gdb.base/mips-ecoff.u, gdb.base/sparc-elf.u: Remove.
6110 * gdb.base/README: Remove, was doc for this.
6111 * gdb.base/Makefile.in (CROSS_EXECUTABLES): Remove, no longer
6112 needed.
6113
b83266a0
SS
61141999-05-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
6115
6116 * gdb.base/call-ar-st.exp: Fix one regular expression in test
6117 output.
6118
6119 * gdb.base/annota1.exp: New file. Annotation level 2 tests.
6120 * gdb.base/annota2.exp: New file. More annotation tests.
6121 * gdb.base/annota1.c: New file. Source file for annota1.exp.
6122 * gdb.base/annota2.cc: New file. Source file for annota2.exp.
6123
61241999-04-23 Angela Marie Thomas <angela@cygnus.com>
6125
6126 * config/cfdbug.exp: New file.
6127
7a292a7a
SS
61281999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
6129
6130 * gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
6131 Marcus Daniel's and Dale Hawkins's demangler crashes.
6132
6133 * gdb.c++/demangle.exp (test_gnu_style_demangling,
6134 test_lucid_style_demangling, test_arm_style_demangling,
6135 test_hp_style_demangling): Try Tom Tromey's core-dumping
6136 identifier under each demangling style.
6137
61381999-04-07 Jim Blandy <jimb@zwingli.cygnus.com>
6139
6140 * gdb.c++/demangle.exp: Include the current demangling style
6141 in all test names.
6142 (current_demangling_style): New global variable.
6143 (set_demangling_style, test_demangling_core, test_demangling,
6144 test_demangling_exact): New functions.
6145 (test_gnu_style_demangling, test_lucid_style_demangling,
6146 test_arm_style_demangling, test_hp_style_demangling): Use those,
6147 instead of calling gdb_test and gdb_test_exact directly.
6148 (catch_demangling_errors): New function, which reports errors
6149 signalled by the demangling test functions in an orderly way.
6150 (do_tests): Use catch_demangling_errors.
6151
61521999-04-06 Jim Blandy <jimb@zwingli.cygnus.com>
6153
6154 * gdb.base/signals.exp (test_handle_all_print): Use () for
6155 grouping in expressions, not {}.
6156
6157 * gdb.base/smoke.exp: Test value of x, not y. The latter isn't
6158 initialized yet.
6159
61601999-04-01 Stan Shebs <shebs@andros.cygnus.com>
6161
6162 * gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
6163 are listed.
6164
61651999-03-26 Stan Shebs <shebs@andros.cygnus.com>
6166
6167 * gdb.stabs/weird.exp: Test for CC being defined before
6168 looking at its value.
6169
61701999-03-25 Stan Shebs <shebs@andros.cygnus.com>
6171
6172 * gdb.base/call-ar-st.exp: Remove stray '#'.
6173 * gdb.base/miscexprs.exp: Allow "short" and "long" as well as
6174 "short int" and "long int".
6175 * gdb.c++/overload.cc: Cast the string added in the previous
6176 change, to mollify finicky HP compiler.
6177 * gdb.hp/reg-test.exp (testfile): Fix file name.
6178 * gdb.stabs/weird.exp: Don't try to run if HP compiler in use.
d63a86f8 6179
7a292a7a
SS
6180 * gdb.c++/misc.cc (main): Initialize obj_with_enum.
6181 * gdb.c++/classes.exp: Fix test of obj_with_enum values, allow
6182 alternate form of enum ptype.
6183
c906108c
SS
61841999-03-23 Stan Shebs <shebs@andros.cygnus.com>
6185
7a292a7a
SS
6186 * lib/gdb.exp (skip_hp_tests): Remove gcc_used argument.
6187 * gdb.hp/*.exp: Change all to run compiler probe only after
6188 passing skip_hp_tests, so as not to waste time on guaranteed
6189 failure.
6190
c906108c
SS
6191 * gdb.c++/overload.cc: Pass string instead of char addr, always
6192 init ccpfoo.
6193 * gdb.c++/templates.cc: Fix syntax error.
6194
7a292a7a
SS
6195Tue Mar 23 14:56:36 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
6196
6197 * gdb.base/commands.exp: Add test for correct position of '>'
d63a86f8 6198 when issuing the 'commands' command after a 'while' or 'if'
7a292a7a
SS
6199 command.
6200
62011999-03-18 James Ingham <jingham@cygnus.com>
6202
6203 * gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
6204
6205 * gdb.c++/method.exp: It was testing an uninitialized int on the
6206 stack and assuming it was positive.
6207
6208 * gdb.base/watchpoint.exp: Use gdb_continue_to_end.
6209
6210 * gdb.base/step-test.exp: Catch a case where finish is broken and
d63a86f8 6211 keep it from killing the rest of the tests.
7a292a7a
SS
6212 Use gdb_continue_to_end.
6213
6214 * gdb.base/sigall.exp: use gdb_continue_to_end.
6215
6216 * gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
6217
6218 * gdb.base/display.exp: use runto_main, not run.
6219
d63a86f8
RM
6220 * gdb.base/default.exp: Check for the current error message in the
6221 r abbreviation test.
7a292a7a
SS
6222 Add strongarm to the targets that know info float.
6223
d63a86f8 6224 * gdb.base/condbreak.exp: Use the gdb_run command rather than just
7a292a7a
SS
6225 run which doesn't work with monitors.
6226
6227 * gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to 1034 test.
6228
6229 * gdb.base/break.exp: use the gdb_continue_to_end proc.
6230
6231 * lib/gdb.exp: I had added gdb_continue_to_end used to run to the end of a
d63a86f8
RM
6232 program. Traps the case (in Cygmon) when the program never really
6233 exits. Same as Mark's continue_to_exit, but I had put it in a lot
7a292a7a
SS
6234 more places, so I used my name. Sorry Mark...
6235
6236 * config/monitor.exp (gdb_target_monitor): added another
6237 target_info parameter: remotebinarydownload. This will set the
6238 remotebinarydownload flag if this is causing some boards trouble.
6239
62401999-03-18 Mark Salter <msalter@cygnus.com>
6241
6242 * lib/gdb.exp (continue_to_exit): New function.
6243
6244 * gdb.base/ena-dis-br.exp: Clean up for remote targets.
6245 * gdb.base/ending-run.exp: Ditto.
6246 * gdb.base/step-test.exp: Ditto.
6247
62481999-03-16 Stan Shebs <shebs@andros.cygnus.com>
6249
6250 * gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
6251 (suggested by Art Haas <ahaas@neosoft.com>).
6252
62531999-03-16 Jim Blandy <jimb@zwingli.cygnus.com>
6254
6255 * gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
6256
6257Fri Mar 12 18:06:21 1999 Stan Shebs <shebs@andros.cygnus.com>
6258
6259 * gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
6260 descriptions of types (short unsigned int vs unsigned short, etc).
6261
62621999-03-12 Jim Blandy <jimb@zwingli.cygnus.com>
6263
6264 * gdb.base/call-strs.exp: Don't assume that `step' will step over
6265 a call to strlen; sometimes we do have sources.
6266
62671999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
c906108c
SS
6268
6269 * gdb.base/call-ar-st.c (main): Terminate char_array with a null
6270 character, so GDB won't print garbage after its end.
d63a86f8 6271
c906108c
SS
6272 * gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
6273 breakpoint there instead. Sometimes GCC emits memcpy to handle
6274 the large structures being passed by value, so we step into that
6275 instead of sum_array_print, which obscures what we're really testing.
6276 * gdb.base/step-test.exp: However, we do want a test that notices
6277 the bizarre steps into memcpy, so do that here. Add check for
6278 stepping into function calls that pass large structures by value.
6279 ("Is that a noun clause, or are you just happy to see me?")
6280 Remove all references to specific line numbers.
6281 * gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
6282 New type and function.
6283 (main): Call large_struct_by_value, passing it a large struct by value.
6284 * lib/gdb.exp (gdb_get_line_number): New function.
6285
6286 * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
6287 more portable.
6288
7a292a7a
SS
62891999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
6290
c906108c
SS
6291 * lib/gdb.exp: Doc fixes.
6292
7a292a7a
SS
62931999-03-05 Nick Clifton <nickc@cygnus.com>
6294
d63a86f8 6295 * gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
7a292a7a
SS
6296
62971999-03-04 Jim Blandy <jimb@zwingli.cygnus.com>
6298
c906108c
SS
6299 * gdb.base/display.exp: Don't exercise the "detach" and "kill"
6300 commands. They're not germane to this test, and they don't work
6301 that way on remote targets.
6302
3fc11d3e
JM
63031999-03-01 James Ingham <jingham@cygnus.com>
6304
6305 * Changelog entries merged over from gdb development branch.
6306
3fc11d3e
JM
6307 Tue Jan 5 12:33:47 1999 Keith Seitz <keiths@cygnus.com>
6308
6309 * lib/gdb.exp (gdbtk_analyze_results): Generic function
6310 for outputting results of test run.
6311
2d4a1622 6312 1998-12-07 Martin M. Hunt <hunt@cygnus.com>
3fc11d3e
JM
6313
6314 * lib/gdb.exp (gdbtk_start): Fix path for itcl library.
3fc11d3e 6315
7a292a7a
SS
63161999-02-25 Felix Lee <flee@cygnus.com>
6317
6318 * lib/gdb.exp (debug_format): initialize
6319
c906108c
SS
63201999-02-25 Jason Molenda (jsm@bugshack.cygnus.com)
6321
6322 * gdb.base/call-ar-st.c: Include string.h, not strings.h.
6323 * gdb.base/call-rt-st.c: Ditto.
6324
c906108c
SS
63251999-02-13 Jim Blandy <jimb@zwingli.cygnus.com>
6326
6327 * gdb.threads/pthreads.exp (horiz): New variable.
6328 (test_startup): Fix regexps that capture thread numbers.
6329
63301999-02-10 Jason Molenda (jsm@bugshack.cygnus.com)
6331
6332 * gdb.base/smoke.exp: Disambiguate two test case names (both
6333 called ``print'').
6334
6335Fri Feb 5 12:42:56 1999 Stan Shebs <shebs@andros.cygnus.com>
6336
6337 * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
6338 compilation.
6339
63401999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
6341
6342 * gdb.base/miscexprs.exp: Change patterns to match GDB's
6343 actual output formatting.
6344 * gdb.base/smoke.exp: GDB removes leading 0's.
6345 * gdb.base/volatile.exp: Don't check type of remuneration;
6346 that variable is no longer defined in constvars.c.
6347 * gdb.base/step-test.c (main): Exit with explicit exit code.
6348 * gdb.base/step-test.exp: Remove two nexti checks--they are
6349 not portable.
6350
63511999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
6352
6353 * gdb.base/help.exp ("help delete display"): Fix test to match
6354 gdb's output.
6355
6356 * gdb.base/long_long.c (known_types): Initialize values to zero.
6357 * gdb.base/long_long.exp: Step one more line
6358 so 'dec' is initialized in "get to known place". GDB removes
d63a86f8 6359 leading zeros. Explicitly ask for hex formatting. Use
c906108c
SS
6360 unique test case names.
6361
6362Tue Feb 2 10:16:08 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
6363
d63a86f8 6364 * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
c906108c
SS
6365
6366 * gdb.c++/method.exp: Add missing close brace.
6367
63681999-01-30 Jim Blandy <jimb@zwingli.cygnus.com>
6369
6370 * gdb.base/maint.exp: Use 'set height 0' to disable page
6371 prompting, not 'set height 400'.
6372
6373 Fix a bunch of timeouts.
6374 * gdb.base/maint.exp ("maint print objfiles"): Break this up into
6375 four separate tests, so expect doesn't take forever to match a ton
6376 of text against a regexp with lots of .* forms.
6377 ("maint print psymbols", "maint print symbols"): Make some of
6378 these greps more selective, so that expect doesn't try to wade
6379 through huge piles of output and time out.
6380
6381 * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
6382
6383 * gdb.base/maint.exp ("maint info breakpoints"): Split into two
6384 tests: one which doesn't expect shlib events to be reported, and
6385 another which does, but is XFAIL for all platforms other than
6386 HP/UX.
6387
6388 * gdb.base/break.exp: Teach the test suite that the `catch
6389 fork', `catch vfork', and `catch exec' commands produce error
6390 messages on platforms that don't provide these features.
6391
6392Mon Jan 25 18:35:56 1999 Stan Shebs <shebs@andros.cygnus.com>
6393
6394 * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
6395 so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
6396 (shortening names from solib_threshold.exp etc), won't run on
6397 anything but HP-UX for the foreseeable future.
6398 * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
6399 reflect move.
6400
6401Thu Jan 21 15:46:49 1999 Stan Shebs <shebs@andros.cygnus.com>
6402
6403 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
6404 gdb.trace/Makefile.in (clean): Remove all test executables.
6405
6406Tue Jan 19 17:20:09 1999 David Taylor <taylor@texas.cygnus.com>
6407
6408 * gdb.base/shlib-call.exp: add test cases to verify that gdb
6409 successfully re-sets breakpoints in shared libraries.
6410 * gdb.base/shmain.c (main): return 0, don't fall off the end.
6411
6412Fri Jan 15 14:04:57 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
6413
d63a86f8
RM
6414 * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
6415 and compiled w/o GCC.
c906108c
SS
6416
6417 * gdb.hp/watch-cmd.exp: ditto.
6418
6419 * gdb.hp/watch-hp.exp: ditto.
6420
6421 * gdb.hp/xdb1.exp: ditto.
6422
6423 * gdb.hp/xdb2.exp: ditto.
6424
6425 * gdb.hp/dbx.exp: ditto.
6426
6427Thu Jan 14 18:36:48 1999 Stan Shebs <shebs@andros.cygnus.com>
6428
6429 * constvars.c: Remove C++-isms.
6430 * constvars.exp: Use gdb_test everywhere, add xfails if compiled
6431 with GCC.
6432
6433Mon Jan 11 10:08:03 1999 David Taylor <taylor@texas.cygnus.com>
6434
6435 The following changes are part of the HP merge.
6436
6437 * gdb.base/break.exp: new tests to verify that catchpoints for
6438 fork, vfork, and exec don't trigger inappropriately.
6439
6440 * gdb.base/opaque.exp: compile one file at a time, then link.
6441
6442 * gdb.base/signals.exp: be more restrictive about which hppa
6443 systems receive a setup_xfail. new tests.
6444
6445 * gdb.base/solib_threshold.build: new file.
6446 * gdb.base/solib_threshold.exp: new file.
6447 * gdb.base/solib_threshold.link_opts: new file.
6448 * gdb.base/solib_threshold.mk: new file.
6449 * gdb.base/gen_solib_threshold.c: new file.
6450
6451 * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
6452 tests. New tests for enums inside classes.
6453
6454 * gdb.c++/compiler.cc: indicate support of template debugging.
6455
6456 * gdb.c++/demangle.exp: run hp style demangling tests.
6457
6458 * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
6459 tests.
6460
6461 * gdb.c++/misc.cc: changes to support new tests.
6462
6463 * gdb.c++/templates.cc: changes to support HP's compiler; changes
6464 to support new tests.
6465
6466 * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
6467 gcc, then skip these tests.
6468
6469Sun Jan 10 23:44:11 1999 David Taylor <taylor@texas.cygnus.com>
6470
6471 The following files are part of the HP merge; some had longer
6472 names at HP, but have been renamed to be no more than 14
6473 characters in length.
6474
6475 * gdb.hp/ambiguous.cc: new file.
6476 * gdb.hp/ambiguous.exp: new file.
6477 * gdb.hp/attach.exp: new file.
6478 * gdb.hp/attach2.exp: new file.
6479 * gdb.hp/classes-hp.exp: new file.
6480 * gdb.hp/ctti.exp: new file.
6481 * gdb.hp/ctti-add.cc: new file.
6482 * gdb.hp/ctti-add1.cc: new file.
6483 * gdb.hp/ctti-add2.cc: new file.
6484 * gdb.hp/ctti-add3.cc: new file.
6485 * gdb.hp/dbx.exp: new file.
6486 * gdb.hp/exception.cc: new file.
6487 * gdb.hp/exception.exp: new file.
6488 * gdb.hp/foll-exec.c: new file.
6489 * gdb.hp/foll-exec.exp: new file.
6490 * gdb.hp/foll-fork.c: new file.
6491 * gdb.hp/foll-fork.exp: new file.
6492 * gdb.hp/foll-vfork.c: new file.
6493 * gdb.hp/foll-vfork.exp: new file.
6494 * gdb.hp/inherit-hp.exp: new file.
6495 * gdb.hp/more-steps.exp: new file.
6496 * gdb.hp/namespace.cc: new file.
6497 * gdb.hp/namespace.exp: new file.
6498 * gdb.hp/optimize.exp: new file.
6499 * gdb.hp/pxdb.c: new file.
6500 * gdb.hp/pxdb.exp: new file.
6501 * gdb.hp/quicksort.exp: new file.
6502 * gdb.hp/reg-test.exp: new file.
6503 * gdb.hp/reg-test.s: new file.
6504 * gdb.hp/sized-enum.c: new file.
6505 * gdb.hp/sized-enum.exp: new file.
6506 * gdb.hp/start-stop.exp: new file.
6507 * gdb.hp/templ-hp.cc: new file.
6508 * gdb.hp/templ-hp.exp: new file.
6509 * gdb.hp/thr-lib.c: new file.
6510 * gdb.hp/thr-lib.exp: new file.
6511 * gdb.hp/thr-lib.h: new file.
6512 * gdb.hp/thr-liblib.c: new file.
6513 * gdb.hp/virtfun-hp.c: new file.
6514 * gdb.hp/virtfun-hp.exp: new file.
6515 * gdb.hp/watch-cmd.exp: new file.
6516 * gdb.hp/watch-hp.exp: new file.
6517 * gdb.hp/xdb1.exp: new file.
6518 * gdb.hp/xdb2.exp: new file.
6519 * gdb.hp/xdb3.exp: new file.
6520
6521Wed Jan 6 18:41:15 1999 David Taylor <taylor@texas.cygnus.com>
6522
6523 The following files are part of the HP merge; some had longer
6524 names at HP, but have been renamed to be no more than 14
6525 characters in length.
6526
6527 * gdb.base/ss.h: new file.
6528 * gdb.base/call-ar-st.c: new file.
6529 * gdb.base/call-ar-st.exp: new file.
6530 * gdb.base/call-rt-st.c: new file.
6531 * gdb.base/call-rt-st-exp: new file.
6532 * gdb.base/call-strs.exp: new file.
6533 * gdb.base/ena-dis-br.exp: new file.
6534 * gdb.base/environ.exp: new file.
6535 * gdb.base/long_long.exp: new file.
6536 * gdb.base/sect-cmd.exp: new file.
6537 * gdb.base/shlib-cl2.exp: new file.
6538 * gdb.base/smoke.exp: new file.
6539 * gdb.base/so-impl-ld.c: new file.
6540 * gdb.base/so-impl-ld.exp: new file.
6541 * gdb.base/so-indr-cl.c: new file.
6542 * gdb.base/so-indr-cl.exp: new file.
6543 * gdb.base/varargs.exp: new file.
6544 * gdb.base/volatile.exp: new file.
6545 * gdb.base/whatis-exp.exp: new file.
7a292a7a 6546 * gdb.base/display.exp: new file.
c906108c
SS
6547 * gdb.c++/derivation.exp: new file.
6548 * gdb.c++/local.exp: new file.
6549 * gdb.c++/member-ptr.exp: new file.
6550 * gdb.c++/overload.exp: new file.
6551 * gdb.c++/ovldbreak.exp: new file.
6552 * gdb.c++/ref-types.exp: new file.
6553 * gdb.c++/ref-types2.exp: new file.
6554 * gdb.c++/userdef.exp: new file.
d63a86f8 6555
c906108c
SS
6556Wed Jan 6 13:50:57 1999 Stan Shebs <shebs@andros.cygnus.com>
6557
6558 * gdb.base/default.exp: Reflect wording change in remote.c.
6559
dc96c6c7 6560Tue Jan 5 19:14:51 1999 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6561
6562 * gdb.base/help.exp: Update to reflect current text.
6563
6564Tue Jan 5 13:05:32 1999 David Taylor <taylor@texas.cygnus.com>
6565
6566 * gdb.c++/anon-union.cc: make foo and bar global, otherwise
6567 they're stack variables and contain garbage.
6568 * gdb.c++/anon-union.exp: new file.
6569
6570 The following changes were made by David Taylor
6571 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
6572 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
6573 in changes by HP.
6574
6575 * gdb.base/bitops.exp: new file.
6576 * gdb.base/default.exp: change expected messages for catch and
6577 info catch tests to reflect HP merge changes.
6578 * gdb.base/enable-disable-break.exp
6579 * gdb.base/ending-run.c: new file.
6580 * gdb.base/long_long.c: new file.
6581 * gdb.base/maint.exp: new file.
6582 * gdb.base/pointers2.exp: new file.
6583 * gdb.base/shlib-call2.exp: new file.
6584 * gdb.base/solib.exp: new file.
6585 * gdb.base/step-test.c: new file.
6586 * gdb.c++/anon-union.cc: new file.
6587 * gdb.c++/local.cc: new file.
6588 * gdb.c++/member-pointer.cc: new file.
6589 * gdb.c++/method.cc: new file.
6590 * gdb.c++/ref-types.cc: new file.
6591 * gdb.c++/ref-types2.cc: new file.
6592 * gdb.c++/userdef.cc: new file.
d63a86f8 6593
c906108c
SS
6594 * gdb.base/scope.exp: compile one file at a time, then link.
6595 * gdb.base/langs.exp: ditto.
6596 * gdb.base/list.exp: ditto.
d63a86f8 6597
c906108c
SS
6598Mon Jan 4 10:06:43 1999 David Taylor <taylor@texas.cygnus.com>
6599
6600 The following changes were made by David Taylor
6601 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
6602 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
6603 in changes by HP.
d63a86f8 6604
c906108c
SS
6605 * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
6606 skip tests. When compiling pass c++ flag to gdb_compile.
6607 * gdb.c++/
d63a86f8 6608
c906108c
SS
6609 * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
6610 test for on hppa*-*-hpux*; use args to see if c++ was specified.
6611 (skip_hp_tests): new function.
6612 (gdb_preprocess): new function.
6613
6614 * configure.in (hpdir): decide whether to configure gdb.hp.
6615 * configure: regenerated.
6616
6617 * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
6618 to delete on clean.
6619 (EXECUTABLES): update to reflect new additions.
6620 * gdb.base/commands.exp: update message expected.
6621 * gdb.base/default.exp: add copyright notice.
6622 * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
6623 * gdb.base/help.exp: update messages to reflect current text.
6624 * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
6625 targets for recurse tests.
6626 * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
6627 skip this file.
6628
6629 * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
6630 * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
6631 compilation.
6632 * gdb.c++/misc.exp: ditto.
6633 * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
6634 run the tests. tell gdb_compile that it's a c++ compilation.
6635
6636 * gdb.threads/pthreads.exp: fix typo in message.
d63a86f8 6637
c906108c
SS
6638 * gdb.base/all-bin.exp: new file.
6639 * gdb.base/arithmet.exp: new file.
6640 * gdb.base/assign.exp: new file.
6641 * gdb.base/completion.exp: new file.
6642 * gdb.base/cond-expr.exp: new file.
6643 * gdb.base/condbreak.exp: new file.
6644 * gdb.base/define.exp: new file.
6645 * gdb.base/dollar.exp: new file.
6646 * gdb.base/environment.exp: new file.
6647 * gdb.base/eval-skip.exp: new file.
6648 * gdb.base/jump.exp: new file.
6649 * gdb.base/logical.exp: new file.
6650 * gdb.base/pointers.exp: new file.
6651 * gdb.base/relational.exp: new file.
6652 * gdb.base/section_command.exp: new file.
6653 * gdb.base/whatis-expr.exp: new file.
6654
6655 * gdb.base/all-types.c: new file.
6656 * gdb.base/call-array-struct.c: new file.
6657 * gdb.base/call-return-struct.c: new file.
6658 * gdb.base/call-strings.c: new file.
6659 * gdb.base/callfuncs2.c: new file.
6660 * gdb.base/condbreak.c: new file.
6661 * gdb.base/constvars.c: new file.
6662 * gdb.base/display.c: new file.
6663 * gdb.base/int-type.c: new file.
6664 * gdb.base/jump.c: new file.
6665 * gdb.base/miscexprs.c: new file.
6666 * gdb.base/pointers.c: new file.
6667 * gdb.base/pointers2.c: new file.
6668 * gdb.base/shmain.c: new file.
6669 * gdb.base/shr1.c: new file.
6670 * gdb.base/shr2.c: new file.
6671 * gdb.base/solib.c: new file.
6672 * gdb.base/solib1.c: new file.
6673 * gdb.base/solib2.c: new file.
6674 * gdb.base/varargs.c: new file.
6675 * gdb.c++/derivation.cc: new file.
6676 * gdb.c++/overload.cc: new file.
6677 * gdb.c++/ovldbreak.cc: new file.
6678 * gdb.hp/attach.c: new file.
6679 * gdb.hp/attach2.c: new file.
6680 * gdb.hp/average.c: new file.
6681 * gdb.hp/compiler.c: new file.
6682 * gdb.hp/compiler.cc: new file.
6683 * gdb.hp/execd-program.c: new file.
6684 * gdb.hp/follow-exec.c: new file.
6685 * gdb.hp/follow-fork.c: new file.
6686 * gdb.hp/follow-vfork-and-exec.c: new file.
6687 * gdb.hp/misc-hp.cc: new file.
6688 * gdb.hp/more-steps.c: new file.
6689 * gdb.hp/optimize.c: new file.
6690 * gdb.hp/quicksort.c: new file.
6691 * gdb.hp/run-hp.c: new file.
6692 * gdb.hp/start-stop.c: new file.
6693 * gdb.hp/sum.c: new file.
6694 * gdb.hp/templates-hp.cc: new file.
6695 * gdb.hp/thread-local-in-lib.c: new file.
6696 * gdb.hp/thread-local-in-lib.h: new file.
6697 * gdb.hp/thread-local-in-lib.lib.c: new file.
6698 * gdb.hp/vforked-program.c: new file.
6699 * gdb.hp/virtfunc-hp.cc: new file.
6700 * gdb.hp/watchpoint-hp.c: new file.
6701 * gdb.hp/xdb.c: new file.
6702 * gdb.hp/xdb0.c: new file.
6703 * gdb.hp/xdb0.h: new file.
6704 * gdb.hp/xdb1.c: new file.
6705
6706Mon Dec 21 14:08:38 1998 David Taylor <taylor@texas.cygnus.com>
6707
6708 The following change was made by Edith Epstein
6709 <eepstein@cygnus.com> as part of a project to merge in changes
6710 originally made by HP; HP did not create ChangeLog entries.
6711
6712 * gdb.c++/demangle.exp: changed the expected output for some
6713 ARM-style mangling -- removed second reference to datatype.
6714 For example, maint demangle __dt__11T1__pt__2_cFv
6715 T1<char>::~T1<char>(void)
6716 becomes,
6717 maint demangle __dt__11T1__pt__2_cFv
6718 T1<char>::~T1(void)
6719
6720 (test_hp_style_demangling): new hp specific demangling test cases.
d63a86f8 6721
c906108c
SS
6722Mon Dec 14 15:07:03 1998 Jeffrey A Law (law@cygnus.com)
6723
6724 * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
6725 * gdb.trace/backtrace.exp: Likewise.
6726 * gdb.trace/circ.exp: Likewise.
6727 * gdb.trace/collection.exp: Likewise.
6728 * gdb.trace/deltrace.exp: Likewise.
6729 * gdb.trace/infotrace.exp: Likewise.
6730 * gdb.trace/limits.exp: Likewise.
6731 * gdb.trace/packetlen.exp: Likewise.
6732 * gdb.trace/passc-dyn.exp: Likewise.
6733 * gdb.trace/passcount.exp: Likewise.
6734 * gdb.trace/report.exp: Likewise.
6735 * gdb.trace/save-trace.exp: Likewise.
6736 * gdb.trace/tfind.exp: Likewise.
6737 * gdb.trace/tracecmd.exp: Likewise.
6738 * gdb.trace/while-dyn.exp: Likewise.
6739 * gdb.trace/while-stepping.exp: Likewise.
6740
67411998-12-07 Jim Blandy <jimb@zwingli.cygnus.com>
6742
6743 * gdb.base/restore.exp, gdb.base/restore.c: New tests.
6744
6745Wed Dec 2 20:03:53 1998 Stan Shebs <shebs@andros.cygnus.com>
6746
6747 From Brendan Kehoe:
6748 * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
6749 int return types.
6750
6751Sat Oct 24 18:04:22 1998 Felix Lee <flee@cygnus.com>
6752
6753 * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
6754 remote dos host testing right.
6755
6756Mon Oct 19 01:31:59 1998 Felix Lee <flee@cygnus.com>
6757
6758 * gdb.base/corefile.exp: remove some xfails.
6759
6760Thu Oct 15 10:04:38 1998 Andrew Cagney <cagney@b1.cygnus.com>
6761
6762 * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
6763 have different timestamps.
6764
6765Thu Oct 1 20:56:14 1998 Andrew Cagney <cagney@b1.cygnus.com>
6766
6767 * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
6768 gdb.base/default.exp: Replace "exec" with "executable".
6769
6770Tue Sep 29 15:06:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
6771
6772 * gdb.base/default.exp: Change else if to elseif from previous
6773 delta.
6774
6775Mon Sep 28 13:21:43 1998 Nick Clifton <nickc@cygnus.com>
6776
6777 * gdb.base/default.exp: Add brace missing from previous delta.
6778
6779Mon Sep 21 14:39:27 1998 Nick Clifton <nickc@cygnus.com>
6780
6781 * gdb.base/default.exp: Support test for info float for all
6782 varieties of arm toolchain.
6783
dc96c6c7 6784Fri Sep 18 14:07:44 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6785
6786 * gdb.trace/*.exp: remove "remote_download" command.
6787
dc96c6c7 6788Wed Sep 16 11:38:21 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6789
6790 * gdb.trace/*.exp: remove -gdwarf from compile.
6791
6792Wed Sep 16 01:23:11 1998 Felix Lee <flee@cygnus.com>
6793
6794 * gdb.trace/configure.in(AC_INIT): typo
6795 * gdb.trace/configure: regenerated
6796
dc96c6c7 6797Mon Sep 14 20:00:04 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6798
6799 * config/m68k-emc.exp: New file.
6800 * lib/<emc-support.exp trace-support.exp}: New files.
6801 * configure.in: add new test directory gdb.trace.
6802 * gdb.trace/{configure configure.in Makefile.in}: New files.
6803 * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
6804 * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
6805 * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
6806 * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
6807 * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
6808 * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
6809 * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
d63a86f8 6810
dc96c6c7 6811Fri Sep 11 13:58:02 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6812
6813 * gdb.c++/classes.exp: Change all regular expressions to match
6814 arbitrary combinations of newline/carriage-return, so that they
6815 will work equally well on Unix and Windows.
6816 * gdb.c++/inherit.exp: ditto.
6817 * gdb.c++/virtfunc.exp: ditto.
6818
68191998-08-11 Dawn Perchik <dawn@cygnus.com>
6820
6821 * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
6822
c2d11a7d
JM
6823Fri Jul 24 15:51:34 1998 Jeffrey A Law (law@cygnus.com)
6824
6825 * gdb.disasm/am33.s: Add tests for autoincrement instructions.
6826 * gdb.disasm/am33.exp: Run time. Update tests which use r8-r15
6827 to use a0-a3/d0-d3 as needed.
6828
6829Thu Jul 16 18:20:46 1998 Jeffrey A Law (law@cygnus.com)
6830
6831 * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
6832 * gdb.disasm/am33.exp: Corresponding changes.
6833
c906108c
SS
68341998-07-11 Felix Lee <flee@cygnus.com>
6835
6836 * gdb.base/callfuncs.exp: add cmp10 test.
6837 * gdb.base/callfuncs.c (cmp10): new function.
6838
6839Thurs Jul 9 11:08:31 1998 Dawn Perchik <dawn@cygnus.com>
6840
d63a86f8 6841 * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
c906108c
SS
6842 into two parts to get around a synchronization problem in expect.
6843
3fc11d3e
JM
6844Fri Jun 26 14:27:13 1998 Keith Seitz <keiths@cygnus.com>
6845
6846 * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
6847
6848 * configure.in: Add options for gdbtk testsuite.
6849
6850 * configure: Regenerate.
6851
6852 * gdb.gdbtk: New directory to hold gdbtk tests.
6853
c906108c
SS
6854Fri Jun 26 14:52:47 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
6855
6856 * gdb.fortran/types.exp: Escape brackets in expect patterns
6857 for test_float_literal_types_accepted tests.
6858 * gdb.base/scope.exp: Remove extraneous newline in filelocal_bss
6859 before run test.
6860
c2d11a7d
JM
6861Fri Jun 26 11:12:17 1998 Jeffrey A Law (law@cygnus.com)
6862
6863 * am33.exp: Just compile, do not link the testcase.
6864 * am33.s: Add ".am33" pseudoop to force am33 mode.
6865
c906108c
SS
68661998-06-25 Felix Lee <flee@cygnus.com>
6867
6868 * gdb.base/setshow.exp: make sure $pc is sane.
6869
6870 * gdb.stabs/weird.exp: split expect patterns properly.
6871
c2d11a7d
JM
6872Wed Jun 24 13:03:15 1998 Jeffrey A Law (law@cygnus.com)
6873
6874 * gdb.disasm/am33.s: New disassembler testfile for the am33.
6875 * gdb.disasm/am33.exp: Run it.
6876
dc96c6c7 6877Tue Jun 23 11:45:01 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6878
6879 * gdb.base/funcargs.exp: simplify expect strings to ease pattern
6880 match processing (and eliminate spurious timeouts when running).
6881
dc96c6c7 6882Fri Jun 12 17:28:22 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6883
6884 * gdb.base/signals.exp (test_handle_all_print): put back Mach
6885 exception test, but conditionalize it on target [mach | gnu].
6886
dc96c6c7 6887Wed Jun 10 10:40:03 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6888
6889 * gdb.base/overlays.exp: fixup compile line for linker script.
6890
6891Thu Jun 4 21:54:15 1998 Felix Lee <flee@zog.cygnus.com>
6892
6893 * gdb.fortran/types.exp: don't guess at float size.
6894
6895Thu May 21 02:28:37 1998 Felix Lee <flee@zog.cygnus.com>
6896
6897 * gdb.base/exprs.exp: delete test that depends on int size.
6898
6899Sun May 17 17:10:22 1998 Bob Manson <manson@charmed.cygnus.com>
6900
6901 * config/sim.exp: Removed checks for target triplets.
6902 (gdb_target_sim): Use gdb,target_sim_options.
6903
6904Sat May 16 23:43:35 1998 Mark Alexander <marka@cygnus.com>
6905
6906 * gdb.base/reread.exp: New file.
6907 * gdb.base/reread1.c: New file.
6908 * gdb.base/reread2.c: New file.
6909
6910Sat May 16 23:22:09 1998 Mark Alexander <marka@cygnus.com>
6911
6912 * config/sim.exp: Use 'target sim -sparclite' when running
6913 SPARClite programs.
6914
6915Sat May 16 18:48:08 1998 Doug Evans <devans@canuck.cygnus.com>
6916
6917 * gdb.base/structs2.exp: New file.
6918 * gdb.base/structs2.c: New file.
6919
6920Wed May 13 13:36:14 1998 Doug Evans <devans@canuck.cygnus.com>
6921
6922 * gdb.asm/common.inc: New file.
6923 * gdb.asm/d10v.inc: New file.
6924 * asm-source.exp: Pass -I's to gas to find .inc files.
6925 Update line numbers in expected output.
6926 * asmsrc1.s: Rewrite.
6927 * asmsrc2.s: Rewrite.
6928 * configure.in: Create arch.inc symlink.
6929 * configure: Regenerate.
6930 * Makefile.in (distclean): Delete arch.inc.
6931
6932Wed May 6 10:30:54 1998 John Metzler <jmetzler@cygnus.com>
6933
6934 * callfuncs.c (t_enum_value1) : Cleanup return value warnings
6935 (t_enum_value2): ditto
6936 (t_enum_value3): ditto
6937 (main): ditto
6938Fri May 1 09:33:37 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
6939
6940 * gdb.base/break.exp: Remove xfail for `deleting all breakpoints
6941 when none' unexpected prompt case, fixed by breakpoint.c:delete_command
6942 change.
6943 Use gdb_test instead of send_gdb/gdb_expect sequences.
6944
6945Thu Apr 23 12:56:19 1998 Jason Molenda (crash@bugshack.cygnus.com)
6946
6947 * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
6948 not void.
6949
6950Thu Apr 16 10:52:34 1998 John Metzler <jmetzler@cygnus.com>
6951
6952 * gdb.base/branches.c: Code with lots of loops and
6953 subroutines. Used to test gdbs ability to single step through PC
6954 changes, especially to test mips-tdep.c:mips_next_pc
6955
6956Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
6957
6958 * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
6959 more rigorous EGCS C++ error checking.
6960
6961Fri Apr 10 22:38:12 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6962
6963 * gdb.base/help.exp: Clean up `help set args' and `help show args'
d63a86f8 6964 tests.
c906108c 6965 * gdb.base/interrupt.exp: Add "i*86-*-solaris2*" xfail for calling
d63a86f8 6966 function when asleep.
c906108c 6967 * gdb.base/signals.exp: Add "i*86-*-solaris2*" xfails. Add comment
d63a86f8
RM
6968 for i*86 Linux and SVR4 signal handling problems.
6969 Remove linux xfail for `next to handler in signals_tests_1', fixed
6970 by recent infrun.c change.
c906108c 6971 Limit backtrace to 10 frames to avoid timeout problems with infinite
d63a86f8 6972 stack backtraces.
c906108c
SS
6973 Adjust expect pattern in `handle all print' test to match Apr 28 1997
6974 target.[ch] change.
6975
6976Tue Mar 31 00:40:32 1998 Bob Manson <manson@charmed.cygnus.com>
6977
6978 * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
6979 for a newline from gdb before continuing.
6980 (default_gdb_exit): Just look for y or n.
6981 (gdb_test): Detect abnormal exit from GDB running on DOS; if
6982 it does, fail the rests of the tests in the file.
6983
6984Tue Mar 24 22:44:52 1998 Bob Manson <manson@charmed.cygnus.com>
6985
6986 * config/cygmon.exp: New file.
6987
6988Mon Mar 16 21:39:11 1998 Bob Manson <manson@charmed.cygnus.com>
6989
6990 * gdb.base/list.exp: Fix problem with "list default lines around
6991 main" test on remote targets.
6992
6993 * gdb.base/scope.exp: Fix problem with filelocal_bss before
6994 run test on remote targets.
6995
6996Thu Mar 12 16:23:00 1998 Doug Evans <devans@canuck.cygnus.com>
6997
6998 * gdb.asm: New directory.
6999 * configure.in: Configure it.
7000 * configure: Regenerate.
7001 * gdb.asm/{Makefile.in,configure.in,configure}: New files.
7002 * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
7003
7004Mon Feb 23 08:22:44 1998 Mark Alexander <marka@cygnus.com>
7005
7006 * config/mn10300-eval.exp: New file to support MN10300 eval board.
7007
dc96c6c7 7008Wed Feb 18 16:43:46 1998 Michael Snyder (msnyder@cygnus.com)
d63a86f8 7009
c906108c
SS
7010 * gdb.base/overlays (several files): Merge the two overlay
7011 managers into one. Change variables (foox, barx, bazx, grbxx)
7012 back into ints but force them to load in their proper sections.
7013
7014Thu Feb 12 13:49:30 1998 Andrew Cagney <cagney@b1.cygnus.com>
7015
7016 * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
7017 on-chip insn memory and IMAP1 to upper 128k.
7018 (D10VCopy): Handle memory regions crossing 16k boundaries.
7019 (D10VCopy): Transfer data in 32 bit chunks.
7020
7021Tue Feb 10 17:23:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
7022
7023 * gdb.base/overlays.c (main): Exit normally when result is
7024 correct.
7025
7026 * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
7027 map. Include space for printf in .text segment.
7028
7029 * gdb.base/d10vovly.c (D10VTranslate): New function, handle
7030 updated d10v memory VMA/LMA map.
7031 (D10VCopy): Call D10VTranslate.
d63a86f8 7032
c906108c
SS
7033Fri Feb 6 14:13:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
7034
7035 * gdb.base/m32rovly.c: Force variable _novlys into .data section.
7036
7037 * gdb.base/bar.c (barx, bar): Change variable to small array so
7038 that it won't be put into the .sdata - small data -
7039 section. Update reference.
7040 * gdb.base/baz.c (bazx, baz): Ditto.
7041 * gdb.base/foo.c (foox, foo): Ditto.
7042 * gdb.base/grbx.c (grbxx, grbx): Ditto.
7043
7044 * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
7045 to be arrays.
d63a86f8 7046
dc96c6c7 7047Thu Jan 29 14:48:19 1998 Michael Snyder (msnyder@cygnus.com)
d63a86f8 7048
c906108c
SS
7049 * gdb.base/overlays.exp: fix up and get working again.
7050 Add tests for backtraces from an overlay function.
d63a86f8 7051
c906108c
SS
7052Fri Jan 23 07:52:45 1998 Fred Fish <fnf@cygnus.com>
7053
7054 * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
7055 "calling function with watchpoint enabled".
7056
7057Thu Jan 22 14:23:29 1998 Fred Fish <fnf@cygnus.com>
7058
7059 * gdb.base/break.exp (test_next_with_recursion): Remove
7060 gdb_suppress_tests for d10v-*-*.
7061 * lib/gdb.exp (gdb_suppress_tests): Disable this function
7062 pending review of whether it is useful or not.
7063
7064Tue Jan 20 13:02:09 1998 Mark Alexander <marka@cygnus.com>
7065
7066 * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
7067
7068Mon Jan 19 08:53:04 1998 Mark Alexander <marka@cygnus.com>
7069
7070 * gdb.base/break.exp: Increase timeout for slow TX39 boards.
7071 * config/dve.exp: New file to support Densan boards.
7072
7073Mon Dec 15 22:38:05 1997 Andrew Cagney <cagney@b1.cygnus.com>
7074
7075 * gdb.base/interrupt.exp: Document problem of simulators, signals,
7076 reads and BSD.
7077
7078Wed Nov 26 22:29:18 1997 Bob Manson <manson@charmed.cygnus.com>
7079
7080 * config/monitor.exp: Be a bit less picky about the "Remote debugging"
7081 response.
7082
7083 * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
7084
7085Tue Nov 25 12:46:36 1997 Andrew Cagney <cagney@b1.cygnus.com>
7086
7087 * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
7088 test.
7089
7090 * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
7091 target_sizeof_long and target_bigendian_p.
7092 (structs_by_value, structs_by_reference): Check values according
7093 to targets word size and endianess.
d63a86f8 7094
c906108c
SS
7095Mon Nov 24 16:37:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
7096
7097 * gdb.base/langs.exp: For "continue to exit" ignore any trailing
7098 output.
7099
7100Fri Oct 17 13:24:43 1997 Stan Shebs <shebs@andros.cygnus.com>
7101
7102 * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
7103 Update test of set args help to match source change.
7104
7105Fri Sep 26 17:36:20 1997 Jason Molenda (crash@pern.cygnus.com)
7106
7107 * gdb.base/default.exp: Expect help system output to be in
7108 alphabetical order.
7109 * gdb.base/help.exp: Ditto.
7110
7111Wed Sep 24 13:08:14 1997 Bob Manson <manson@charmed.cygnus.com>
7112
7113 * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
7114 "i*86-pc-linux-gnu*".
7115 * gdb.base/interrupt.exp: Ditto.
7116 * gdb.base/corefile.exp: Ditto.
7117
7118 * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
7119 define vxworks when building the testcase.
7120
7121 * gdb.base/ptype.exp: Fix testnames to be unique.
7122 * gdb.base/radix.exp: Ditto.
7123 * gdb.base/term.exp: Ditto.
7124 * gdb.base/whatis.exp: Ditto.
7125 * gdb.c++/classes.exp: Ditto.
7126
7127Tue Sep 16 22:21:48 1997 Bob Manson <manson@charmed.cygnus.com>
7128
7129 * gdb.base/callfuncs.exp: Fix indentation.
7130
7131 * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
7132 suppress_flag has been set.
7133 (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
7134 target feature.
7135
7136Mon Sep 15 15:43:17 1997 Bob Manson <manson@charmed.cygnus.com>
7137
7138 * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
7139 the testcase.
7140
7141 * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
7142 set_debug_traps() and breakpoint().
7143 * gdb.c++/misc.cc (main): Ditto.
7144 * gdb.c++/templates.cc (main): Ditto.
7145 * gdb.c++/virtfunc.cc (main): Ditto.
7146
7147Fri Sep 12 16:56:38 1997 Bob Manson <manson@charmed.cygnus.com>
7148
7149 * lib/gdb.exp(gdb_step_for_stub): New function.
7150 (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
7151 exists, reload the executable and do a "continue" instead of
7152 doing a jump.
7153 (runto_main): Use gdb_step_for_stub.
d63a86f8 7154
c906108c
SS
7155 * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
7156 tests to have unique names.
7157 * gdb.base/callfuncs.exp: Ditto.
7158 * gdb.base/commands.exp: Ditto.
7159 * gdb.base/default.exp: Ditto.
7160 * gdb.base/help.exp: Ditto.
7161 * gdb.base/list.exp: Ditto.
7162 * gdb.base/opaque.exp: Ditto.
7163 * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
7164 similar tests.
d63a86f8 7165
c906108c
SS
7166 * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
7167 * gdb.c++/cplusfuncs.cc: Ditto.
7168 * gdb.c++/virtfunc.cc: Ditto.
7169
7170 * config/monitor.exp: Keep track of the last file we saw, rather
7171 than trying to get the info from gdb.
7172
7173 * gdb.fortran/types.exp: Move comment to previous line.
7174
7175Tue Sep 2 19:55:34 1997 Bob Manson <manson@charmed.cygnus.com>
7176
7177 * config/sparclet.exp: Detect gratuitous change to sparclet gdb
7178 target mode.
7179
7180Mon Jul 28 12:14:47 1997 Stan Shebs <shebs@andros.cygnus.com>
7181
7182 From Bob Manson:
7183 * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
7184 string from GDB when it connects.
7185
7186 * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
7187
7188Thu Jul 3 15:35:12 1997 Bob Manson <manson@charmed.cygnus.com>
7189
7190 * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
7191 if we can't get a debug format from GDB (we may be testing an
7192 older GDB). Use a 10 second timeout when checking for the format.
7193
7194 * gdb.stabs/weird.exp: Fix quoting.
7195
7196 * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
7197
7198Mon Jun 30 18:31:43 1997 Bob Manson <manson@charmed.cygnus.com>
7199
7200 * config/arm-ice.exp: New file.
7201
7202Sun Jun 29 16:43:30 1997 Bob Manson <manson@charmed.cygnus.com>
7203
7204 * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
7205 until it has been modified to work with the new testsuite.
7206
99707966 7207 * gdb.*/*.exp: Instead of causing 1 unresolved test when the
c906108c
SS
7208 testcase won't compile, cause all of the testcases in the file to
7209 fail instead.
7210
7211 * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
7212 (gdb_clear_suppressed): New procedure.
7213 (gdb_stop_suppressing_tests): Only clear suppress_flag if
7214 it contains a positive value.
7215
7216Sat Jun 28 13:31:11 1997 Bob Manson <manson@charmed.cygnus.com>
7217
7218 * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
7219
7220 * gdb.c++/virtfunc.exp: Remove setting of libs variable.
7221
7222Fri Jun 27 07:44:25 1997 Fred Fish <fnf@cygnus.com>
7223
7224 * lib/gdb.exp (setup_xfail_format): New function.
7225 (get_debug_format): New function to get debug format.
7226 (debug_format): New global variable to hold last value set
7227 by get_debug_format.
7228 * gdb.base/list.exp: Call get_debug_format and expect some
7229 tests to fail for DWARF 1 and COFF formats.
7230 * gdb.c++/ptype.exp: Ditto.
7231 * gdb.c++/classes.exp: Ditto.
7232 * gdb.c++/cplusfuncs.exp: Ditto.
7233 * gdb.c++/inherit.exp: Ditto.
7234 * gdb.c++/templates.exp: Ditto.
7235 * gdb.c++/virtfunc.exp: Ditto.
d63a86f8 7236
c906108c
SS
7237Wed Jun 25 09:08:51 1997 Bob Manson <manson@charmed.cygnus.com>
7238
7239 * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
7240 host doesn't have a currently-open connection.
7241
7242 * config/sparclet.exp: Cleanups and fixes to make it generic for
7243 any gdb stub target. Handle cases where gdb doesn't respond when
7244 interrupted in a sane fashion.
7245
7246 * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
7247 same thing in a totally different way.
7248
7249 * config/monitor.exp: Pass in timeouts to gdb_expect instead of
7250 setting "timeout".
7251 (gdb_start): We set the global gdb_prompt variable in
7252 default_gdb_init now.
7253
7254Sun Jun 22 09:11:02 1997 Fred Fish <fnf@cygnus.com>
7255
7256 * gdb.base/printcmds.exp: Fix "check for floating addition"
7257 regexp to accept results within approx +/- .01 of exact value.
7258 * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
7259
7260Wed Jun 18 11:11:39 1997 Bob Manson <manson@charmed.cygnus.com>
7261
7262 * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
7263 properly.
7264 (gdb_expect): Add optional timeout parameter, and add timeout
7265 value to various calls.
7266 (gdb_suppress_tests): Only give one warning message per group.
7267
7268Tue Jun 17 13:10:10 1997 Bob Manson <manson@charmed.cygnus.com>
7269
7270 * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
7271 global variables. Handle getting a value for $timeout more
7272 gracefully.
7273
7274Sat Jun 14 09:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
7275
7276 * lib/gdb.exp: Close connection to remote host if gdb doesn't
7277 initialize.
7278 (default_gdb_init): New procedure; allow gdb_init to be overridden
7279 by a target configuration file.
7280 (gdb_expect): Pass the timeout to remote_expect.
7281
7282 * config/monitor.exp(gdb_load): Fix typo in regexp.
7283
7284Thu Jun 12 20:57:12 1997 Bob Manson <manson@charmed.cygnus.com>
7285
7286 * gdb.base/funcargs.exp: Remove spurious suppress tests call.
7287
7288Tue Jun 3 15:20:20 1997 Bob Manson <manson@charmed.cygnus.com>
7289
7290 * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
7291 here. Call gdb_target_exec before rebooting the target, to make
7292 sure the connection to the target is closed.
7293 (gdb_load): Pass the name of the executable to gdb_target_monitor.
7294 Don't call gdb_file_cmd here; let gdb_target_monitor do it.
7295 Also detect "Timeout reading from remote" error.
7296
7297 * config/gdbserver.exp: Pass the executable being loaded to
7298 gdb_target_monitor. Don't call gdb_file_cmd here; let
7299 gdb_target_monitor do it.
7300
7301 * gdb.disasm/hppa.exp: Don't use exec_output.
7302
7303Fri May 23 13:28:29 1997 Bob Manson <manson@charmed.cygnus.com>
7304
7305 * gdb.base/list.exp: If we're debugging a non-native target,
7306 try to set the pc register to point to the start of the
7307 program before doing the first list command.
7308
7309 * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
7310 test_calls after restarting.
7311
7312 * lib/gdb.exp(gdb_run_cmd): Send jump command again after
7313 reloading.
7314
7315 * gdb.base/watchpoint.exp: Fix typo.
7316
7317 * gdb.base/setshow.exp: Check for use_gdb_stub.
7318
7319 * gdb.base/break.exp: Fix continue until exit test for the gdb
7320 stub case.
7321 * gdb.base/langs.exp: Ditto.
7322
7323 * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
7324 gdb_load_offset. If we weren't given a file to load, figure out
7325 what the current file is and use it.
7326
7327 * config/i386-bozo.exp: New file.
7328
7329Thu May 22 18:51:32 1997 Bob Manson <manson@charmed.cygnus.com>
7330
7331 * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
7332 feature.
7333
7334 * config/proelf.exp: New entry.
7335
7336Wed May 21 21:23:16 1997 Bob Manson <manson@charmed.cygnus.com>
7337
7338 * lib/gdb.exp: Remove spurious .* patterns at the beginning
7339 of regexps.
7340
7341 * gdb.base/watchpoint.exp: Don't run the test_stepping
7342 tests if gdb can't call functions on the target.
7343
7344 * gdb.base/setshow.exp: Don't run the set prompt tests if
7345 the board has gdb_prompt set.
7346
7347Tue May 20 08:58:49 1997 Jeffrey A Law (law@cygnus.com)
7348
7349 * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
7350 * gdb.base/commands.exp: Likewise.
7351 * gdb.base/setshow.exp: Likewise.
7352
7353Mon May 19 15:37:50 1997 Bob Manson <manson@charmed.cygnus.com>
7354
7355 * config/monitor.exp(gdb_start): Look for gdb_prompt target
7356 feature.
7357
7358 * config/i960.exp: New file.
7359
7360Thu May 1 18:01:50 1997 Bob Manson <manson@charmed.cygnus.com>
7361
7362 * gdb.base/funcargs.exp: Check for gdb,short_int target
7363 feature instead of looking for explicit target triplets.
7364
dc96c6c7 7365Mon Apr 28 17:27:40 1997 Michael Snyder <msnyder@cygnus.com>
c906108c 7366
d63a86f8 7367 * gdb.base/printcmds.exp: add a couple more tests a la
c906108c
SS
7368 "p 123DEADBEEF", to check parse_number.
7369 * top.c: change "to enable to enable" to "to enable" in a couple
7370 of help strings.
7371
7372Thu Apr 24 14:38:18 1997 Jeffrey A Law (law@cygnus.com)
7373
7374 * gdb.base/callfuncs.exp: Mark some tests as expected to fail
7375 on the mn10300.
d63a86f8 7376
c906108c
SS
7377Mon Apr 21 15:05:42 1997 Fred Fish <fnf@cygnus.com>
7378
7379 * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
7380 where the test executable is run with explicit args.
7381 * gdb.base/default.exp: Handle arm-*-coff case for "info float".
7382
7383Mon Apr 21 13:38:58 1997 Fred Fish <fnf@cygnus.com>
7384
7385 * gdb.base/run.c: Use FAKEARGV to build test executable that
7386 does not require a command line arg, since most simulators
7387 don't currently support passing such an arg into the simulated
7388 program.
7389 * gdb.base/commands.exp: Change tests to insert the proper
7390 value as the arg to the first recursive factorial call. Change
7391 compilation line to define FAKEARGV at compile time.
7392
7393Wed Apr 9 11:12:36 1997 Jeffrey A Law (law@cygnus.com)
7394
7395 * gdb.base/recurse.exp: Enable these tests for the mn10300.
7396 * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
7397 function with watchpoint enabled" test.
7398
7399Tue Apr 8 19:33:20 1997 Bob Manson <manson@charmed.cygnus.com>
7400
7401 * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
7402 Don't call gdb_test when the command doesn't return to a gdb prompt.
7403
7404 * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
7405 "Tests restarted" messages.
7406
7407Tue Apr 8 16:38:46 1997 Jeffrey A Law (law@cygnus.com)
7408
7409 * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
7410
dc96c6c7 7411Thu Apr 3 15:21:26 1997 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
7412
7413 * gdb.base/help.exp: update help msg for INFO ADDR; add help test
7414 for INFO SYMBOL; add help tests for OVERLAY commands.
7415 * gdb.base/default.exp: add tests for INFO SYMBOL command;
7416 add tests for OVERLAY commands
7417 * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
7418 d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
7419 * gdb.base/sigall.c: add usestubs code frag
7420 * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
d63a86f8 7421
c906108c
SS
7422Thu Apr 3 09:38:53 1997 Bob Manson <manson@charmed.cygnus.com>
7423
7424 * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
7425 failures.
7426 (gdb_stop_suppressing_tests): Note that tests have restarted.
7427
7428Wed Apr 2 19:04:20 1997 Bob Manson <manson@charmed.cygnus.com>
7429
7430 * config/h8300.exp: New file.
7431
7432Sun Mar 30 13:38:25 1997 Bob Manson <manson@charmed.cygnus.com>
7433
7434 * gdb.base/setshow.exp: Check for the existence of a
7435 feature, not its value.
7436
7437Sat Mar 29 11:19:46 1997 Bob Manson <manson@charmed.cygnus.com>
7438
7439 * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
7440
7441 * gdb.base/scope.exp: It's now init0(), not init().
7442
7443 * gdb.base/scope0.c: For now, change init() to be init0().
7444
7445 * config/monitor.exp: Use gdb_serial in preference to serial
7446 or netport.
7447
7448 * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
7449 and it's not already set.
7450
7451Fri Mar 28 19:54:18 1997 Bob Manson <manson@charmed.cygnus.com>
7452
7453 * gdb.base/setshow.exp: Only test the run command if the target
7454 isn't using a stub and if it supports argument passing.
7455
7456Sat Mar 22 19:50:25 1997 Bob Manson <manson@charmed.cygnus.com>
7457
7458 * config/udi.exp(gdb_start): Make sure UDICONF is set
7459 properly before starting gdb.
7460
7461Mon Mar 24 14:40:33 1997 Jeffrey A Law (law@cygnus.com)
7462
7463 * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
7464 * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
7465 * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
7466
7467Tue Mar 11 11:42:58 1997 Bob Manson <manson@charmed.cygnus.com>
7468
7469 * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
7470 specialized code to reboot the board, use remote_reboot instead.
7471
7472 * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
7473
7474 * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
7475
7476 * config/monitor.exp: Make sure we disconnect from the target.
7477 Also, try a reboot/reload cycle instead of failing if the
7478 load fails.
7479
7480Fri Mar 7 13:48:30 1997 Bob Manson <manson@charmed.cygnus.com>
7481
7482 * gdb.base/default.exp: Don't set match_max.
7483 * gdb.base/help.exp: Ditto.
7484 * gdb.base/list.exp: Ditto.
7485 * gdb.base/signals.exp: Ditto.
7486
7487 * config/monitor.exp(gdb_load): If gdb,use_standard_load is
7488 set, use remote_ld to download the testcase instead of
7489 the GDB loader.
7490
7491Wed Mar 5 00:00:43 1997 Bob Manson <manson@charmed.cygnus.com>
7492
7493 * config/vr5000.exp: New file.
7494
7495 * config/monitor.exp(gdb_target_monitor): Add pattern for
7496 "Ending remote" to detect errors in connecting.
7497
7498 * gdb.base/setshow.exp: Add .* within auto language test.
7499
7500 * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
7501 target feature.
7502
7503 * config/monitor.exp(gdb_load): Check for a failure when loading,
7504 and reboot the board if necessary.
7505
7506 * gdb.base/setvar.exp(test_set): Handle multiple prints within
7507 a set of tests. Remove print.* from the patterns being checked.
7508
7509Mon Mar 3 11:57:43 1997 Bob Manson <manson@charmed.cygnus.com>
7510
7511 * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
7512 refer to gdb_spawn_id.
7513
7514 * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
7515 longer used.
7516 * config/sparclet.exp: Ditto.
7517 * config/sparclet-old.exp: Ditto.
7518 * config/slite.exp: Ditto.
7519 * config/sim.exp: Ditto.
7520 * gdb.base/funcargs.exp: Ditto.
7521
7522 * lib/gdb.exp:Remove references to gdb_spawn_id.
7523 (gdb_expect): Move to remote.exp.
7524
7525Fri Feb 28 20:47:39 1997 Bob Manson <manson@charmed.cygnus.com>
7526
7527 * config/monitor.exp: Detect the "Couldn't establish connection"
7528 message from GDB.
7529
7530Tue Feb 25 14:08:55 1997 Bob Manson <manson@charmed.cygnus.com>
7531
7532 * gdb.base/bitfields.exp: Use runto instead of explicit
7533 gdb_run_cmd/gdb_expect sequences.
7534
7535 * gdb.base/break.exp(text_next_with_recursion): Add match for
7536 gdb_expect call.
7537
7538 * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
7539 We also need to handle the "A program is being debugged already"
7540 prompt from gdb. Use gdb_test to set the baud rate.
7541
7542 * lib/gdb.exp(gdb_init): Increase the default expect buffer size
7543 to 20000. Really. I mean it.
7544
7545Mon Feb 24 13:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
7546
7547 * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
7548 fails. If suppress_flag is set, skip perror message about not
7549 being able to send to GDB.
7550 (send_gdb): If suppress_flag is set, don't try to send commands to
7551 GDB.
7552 (gdb_expect): If suppress_flag is set, always fail immediately.
7553 (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
7554 (gdb_init): Call gdb_stop_suppressing_tests.
7555 (default_gdb_exit): Ditto.
7556 (default_gdb_start): Ditto.
7557
7558 * gdb.base/bitfields.exp: Call gdb_suppress_tests and
7559 gdb_stop_suppressing_tests as appropriate.
7560 * gdb.base/break.exp: Ditto.
7561 * gdb.base/callfuncs.exp: Ditto.
7562 * gdb.base/commands.exp: Ditto.
7563 * gdb.base/exprs.exp: Ditto.
7564 * gdb.base/funcargs.exp: Ditto.
7565 * gdb.base/list.exp: Ditto.
7566 * gdb.base/recurse.exp: Ditto.
7567 * gdb.base/scope.exp: Ditto.
7568 * gdb.base/structs.exp: Ditto.
7569 * gdb.c++/inherit.exp: Ditto.
7570
7571Sun Feb 23 19:56:02 1997 Bob Manson <manson@charmed.cygnus.com>
7572
7573 * config/vr4300.exp: New file.
7574
99707966 7575 * gdb.*/*.exp: Call gdb_expect instead of expect.
d63a86f8 7576
99707966 7577 * lib/gdb.exp(gdb_expect): New function.
c906108c
SS
7578
7579Thu Feb 20 13:57:01 1997 Bob Manson <manson@charmed.cygnus.com>
7580
7581 * lib/gdb.exp(gdb_init): New function.
7582
7583 * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
7584 for each individual variable set.
7585
7586 * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
7587 name.
7588
7589 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
7590
7591 * gdb.base/scope.exp: Use gdb_test.
7592
7593 * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
7594 aborting; the testsuite driver will do that for us (see
7595 gdb_finish). Also, use gdb_test in a few more places.
7596
7597Thu Feb 20 13:32:24 1997 Stan Shebs <shebs@andros.cygnus.com>
7598
7599 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
7600
7601Thu Feb 20 10:34:21 1997 Jeffrey A Law (law@cygnus.com)
7602
7603 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
7604 and "add_tests" are not at the same address.
7605
7606Fri Feb 14 18:47:23 1997 Bob Manson <manson@charmed.cygnus.com>
7607
7608 * gdb.base/ptype.exp: Use gdb_test.
7609
7610Thu Feb 13 16:09:36 1997 Jeffrey A Law (law@cygnus.com)
7611
7612 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
7613 * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
7614 left in. No longer expect them to fail.
7615
7616 * gdb.stabs/*.mt; Deleted, no longer used.
7617 * gdb.stabs/configure.in: Remove references to target makefile
7618 frags.
7619 * gdb.stabs/configure: Rebuilt.
7620
7621 * gdb.disasm/*.mt: Deleted, no longer used.
7622 * gdb.disasm/configure.in: Remove references to target makefile
7623 frags. Use "sh3.s" as the unique filename for this directory.
7624 * gdb.disasm/configure: Rebuilt.
7625
7626 * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
7627 * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
7628 * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
7629
7630Tue Feb 11 16:57:58 1997 Bob Manson <manson@charmed.cygnus.com>
7631
7632 * config/udi.exp: Use mondfe,name instead of remote_host.
7633
7634Tue Feb 11 11:22:36 1997 Jeffrey A Law (law@cygnus.com)
7635
7636 * gdb.base/watchpoint.exp: Don't expect a failure when calling
7637 a function with a watchpoint enabled on the mn10200.
7638
7639 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
7640 before trying to create it!
7641
7642Mon Feb 10 16:40:47 1997 Bob Manson <manson@charmed.cygnus.com>
7643
7644 * config/vx.exp: Use hostname instead of netport.
7645
7646 * config/vxworks.exp: New file.
7647
7648 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
7649
7650 * config/monitor.exp(gdb_target_monitor): Look for a prompt from
7651 gdb before assuming everything worked. Send a ^C if a timeout
7652 occurs.
7653
7654 * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
7655 $gdb_spawn_id directly.
7656 (gdb_run_cmd): Try _start as well as start. Use the target feature
7657 gdb,start_symbol as the symbol to start from when jumping.
7658
7659Mon Feb 10 11:26:59 1997 Jeffrey A Law (law@cygnus.com)
7660
7661 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
7662 redundant) test.
7663
7664 * gdb.base/recurse.exp: Relax final value test for 'b' so that
7665 it doesn't lose for 16bit integer systems.
7666
7667Fri Feb 7 09:31:21 1997 Jeffrey A Law (law@cygnus.com)
7668
7669 * gdb.fortran/types.exp: If the target doesn't support "double"
7670 data types, then expect "real" types to only be 4 bytes.
7671
7672 * gdb.c++/virtfunc.exp: Expect failure for virtual function
7673 call tests if the target doesn't support inferior function calls.
7674
7675 * gdb.base/printcmds.exp: Allow minor deviation in FP values
7676 in printf tests.
7677
7678Thu Feb 6 12:46:14 1997 Jeffrey A Law (law@cygnus.com)
7679
7680 * gdb.base/help.exp: Disable "help set", "help show", and
7681 "help support". Simplify regexp for "help stack".
7682
7683 * gdb.base/default.exp: Set match_max to 5000 and the timeout
7684 to 60 seconds. Temporarily set match_max to 15000 around the
7685 "info copying" test.
7686
7687 * gdb.base/nodebug.exp: Don't try to do an inferior function
7688 call if the target doesn't support them.
7689 * gdb.base/printcmds.exp: Likewise.
7690 * gdb.base/setvar.exp: Likewise.
7691 * gdb.base/structs.exp: Likewise.
7692 * gdb.c++/templates.exp: Likewise.
7693 * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
7694
7695 * gdb.base/recurse.exp: Enable for the mn10200.
7696
7697 * configure.in: Do configure gdb.stabs directory for *-*-elf
7698 targets.
7699 * configure: Rebuilt.
7700
7701 * gdb.base/break.exp: Check for gdb,noresults before testing
7702 exit status and/or results from the target.
7703 * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
7704 * lib/gdb.exp: Remove old (now bogus) initialization of
7705 noinferior, noargs, noresults and nosignals.
7706
7707Tue Feb 4 21:52:17 1997 Bob Manson <manson@charmed.cygnus.com>
7708
7709 * config/sh.exp: New file.
7710
7711 * config/slite.exp: Try to connect multiple times to the board
7712 before rebooting. Only send a "monitor run" if need_monitor_run
7713 is set.
7714
7715 * gdb.base/break.exp: Don't do the "stub continue" test if
7716 the target has gdb_stub set.
7717
7718 * gdb.base/callfuncs.exp: Increase the timeout.
7719
7720 * gdb.base/interrupt.exp: Don't even try to compile the testcase
7721 if the target has gdb,noinferiorio set.
7722
7723 * gdb.base/list.exp: Increase match_max to 10000 characters.
7724
7725 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
7726
7727 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
7728 target.
7729
7730 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
7731
7732Mon Feb 3 12:09:37 1997 Bob Manson <manson@charmed.cygnus.com>
7733
7734 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
7735 trying to delete the copy of gdb. Catch the file delete so we
7736 don't die if the delete fails; also, the file should be copied to
7737 the host, not to the build.
7738
7739Sun Feb 2 00:55:14 1997 Bob Manson <manson@charmed.cygnus.com>
7740
7741 * lib/gdb.exp(gdb_test): Surround the result pattern with
7742 parenthesis in case it contains multiple regexps separated
7743 with |.
7744
7745 * gdb.base/watchpoint.exp: Use gdb_test.
7746 * gdb.base/default.exp: Ditto.
7747
7748Sat Feb 1 23:51:01 1997 Bob Manson <manson@charmed.cygnus.com>
7749
99707966 7750 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
d63a86f8 7751
c906108c
SS
7752 * gdb.base/scope.exp: Use gdb_test.
7753 * gdb.c++/classes.exp: Ditto.
7754 * gdb.c++/inherit.exp: Ditto.
7755
7756Fri Jan 31 13:09:12 1997 Bob Manson <manson@charmed.cygnus.com>
7757
7758 * gdb.base/crossload.exp: Don't use execute_anywhere, use
7759 remote_exec instead.
7760 * gdb.base/corefile.exp: Don't be ridiculous.
7761 * gdb.base/*.c: Add missing stub invocations.
7762
7763Thu Jan 30 16:49:25 1997 Bob Manson <manson@charmed.cygnus.com>
7764
7765 * config/slite.exp: Miscellaneous fixes.
7766
7767 * lib/gdb.exp: Fix runto.
7768
7769 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
7770 the target.
7771
7772 * gdb.base/watchpoint.exp: Fix regexp.
7773
7774 * lib/gdb.exp(default_gdb_exit): Add a catch to the
7775 close and wait commands, as the descriptor may now be
7776 invalid. Always call "remote_close host".
7777
7778Tue Jan 28 14:42:31 1997 Bob Manson <manson@charmed.cygnus.com>
7779
7780 Major rewrite for testsuite revision.
d63a86f8 7781
c906108c
SS
7782 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
7783 TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
7784 instead of relying on spawn_id to always contain a valid
7785 spawn id.
7786 (get_compiler_info): New procedure to build the ${binfile}.ci
7787 file, instead of replicating this in N different places.
7788 (gdb_compile): New procedure.
d63a86f8 7789
c906108c
SS
7790 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
7791 appropriate arguments) instead of compile. Use gdb_test in a lot
7792 more places. Use send_gdb instead of send. Always run gdb_start
7793 at the start of a testcase, as this is no longer done magically.
7794
7795 config/*-gdb.exp: Rename without the -gdb suffix.
7796
7797 config/mips.exp: Use remote_close instead of exit_remote_shell.
7798 config/monitor.exp: Use target_info instead of looking at
7799 baud, timeout, etc.
7800 config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
7801
7802Sat Dec 14 00:43:57 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7803
7804 * gdb.c++/templates.exp (test_ptype_of_templates),
7805 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
7806 Update expect patterns for destructors and assignment operators
7807 to match corresponding c-typeprint.c changes.
7808 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
7809 to destructor breakpoint test, GDB should be able to set the
7810 destructor breakpoint without specifying arguments.
7811
7812Tue Dec 3 20:17:52 1996 Fred Fish <fnf@cygnus.com>
7813
7814 * gdb.threads/pthreads.exp: Change result for failure to compile due
7815 to lack of pthreads runtime support from an error to simply an
7816 unsupported test, per dejagnu standards.
7817
7818Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7819
7820 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
7821 where GDB exits to reduce pattern match time.
7822 (skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
7823
7824 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
7825
dc96c6c7 7826Tue Nov 26 18:29:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
7827
7828 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
7829 * gdb.base/default.exp: ditto.
7830 * gdb.base/nodebug.exp: ditto.
7831 * gdb.base/printcmds.exp: ditto.
7832 * gdb.base/ptype.exp: ditto.
7833 * gdb.base/setvar.exp: ditto.
7834 * gdb.base/structs.exp: ditto.
7835 * gdb.base/setshow.c: Guard against uninitialized values of argc.
7836
7837Tue Nov 26 17:23:28 1996 Ian Lance Taylor <ian@cygnus.com>
7838
7839 * configure, */configure: Rebuild with autoconf 2.12.
7840
7841Sat Nov 23 13:32:15 1996 Fred Fish <fnf@cygnus.com>
7842
7843 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
7844 use new i*86-pc-linux*-gnu quads.
7845 * gdb.base/corefile.exp: Ditto.
7846 * gdb.base/signals.exp: Ditto.
7847 * gdb.base/sigall.exp: Ditto.
7848 * gdb.base/interrupt.exp: Ditto.
7849
7850 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
7851 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
7852 RedHat 4.0.
d63a86f8 7853
c906108c
SS
7854 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
7855 linux. This allows the test case to at least compile on latest
7856 linux, but still not run due to missing the threads runtime library.
7857
7858Fri Nov 22 10:13:29 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7859
7860 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
7861 directory to search gdb directory. Accept and step over conditional
7862 stack alignment code. Consume $prompt in failure cases.
7863 Reset timeout to $oldtimeout instead of some arbitrary value.
7864 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
7865 timeout problems with infinite stack backtraces.
7866 * gdb.base/ptype.exp (ptype struct link, union tu_link):
7867 Accept function parameters for linkfunc member.
7868
7869Thu Nov 21 09:17:19 1996 Fred Fish <fnf@cygnus.com>
7870
7871 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
7872 (CXXFLAGS): Remove, unreferenced.
7873 (B_OPTIONS): Add for -B options and add code to initialize with
7874 previous -B options and also add -B option to pick up cross compiled
7875 runtime.
7876 (TARGET_INCLUDES): Add for -I options and add code to initialize when
7877 doing cross compiles.
7878 (target_alias): Declare global.
7879 (xgcc): Set variable to full path of gcc in build tree. Use findfile
7880 to verify that gcc exists in build tree, and if so set CC to that
7881 gcc and to use B_OPTIONS and TARGET_INCLUDES.
d63a86f8 7882
c906108c
SS
7883Tue Nov 12 16:20:13 1996 Fred Fish <fnf@cygnus.com>
7884
7885 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
7886 ptype test for anonymous union. Fixup testcase to match
7887 current gcc debug output.
7888
7889Mon Nov 11 14:12:06 1996 Jeffrey A Law (law@cygnus.com)
7890
7891 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
7892 force argument to an unsigned long type.
7893
7894Mon Nov 11 10:27:55 1996 Fred Fish <fnf@cygnus.com>
7895
7896 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
7897 tests and anonymous union print/ptype tests.
7898 * gdb.base/list.exp (test_forward-search): Increase timeout by
7899 5 minutes for the "search extremely long line" case.
7900 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
7901 completely optional and that the pass/fail messages use the command as
7902 the message if that third arg is a null string.
7903 (gdb_test_exact): Arrange that a null string pattern means match a
7904 null string output rather than any output, which might include random
7905 errors.
7906 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
7907 backtrace test.
7908 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
7909 always failing and failure is now exposed by gdb.exp changes.
7910
7911Sat Nov 9 11:13:24 1996 Fred Fish <fnf@cygnus.com>
7912
7913 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
7914 weren't being noted.
7915
7916Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7917
7918 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
7919 * gdb.stabs/weird.exp: Remove v_comb xfails.
7920
dc96c6c7 7921Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
7922
7923 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
7924 list.exp scope.exp watchpoint.exp]
7925 Make all timeout error msgs explicitly say "(timeout)".
d63a86f8 7926
dc96c6c7 7927Mon Nov 4 12:03:06 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
7928
7929 * config/monitor.exp: Increase download timeout to 1000 seconds.
7930
dc96c6c7 7931Mon Nov 4 12:02:26 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
7932
7933 * config/m32r.exp: Increase timeout to 120 seconds.
7934
7935Sun Nov 3 14:37:05 1996 Fred Fish <fnf@cygnus.com>
7936
7937 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
7938 and accept older ordering as obsolescent gcc or gdb.
7939 * gdb.c++/templates.exp: Ditto.
7940 * gdb.c++/virtfunc.exp: Ditto.
7941
7942Fri Nov 1 11:56:09 1996 Fred Fish <fnf@cygnus.com>
7943
7944 * gdb.base/coremaker.c: Add code to mmap some data so we
7945 can check that it ends up in the core file.
7946 * gdb.base/corefile.exp: Add test to read mmapped data
7947 from core file.
7948
dc96c6c7 7949Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
7950
7951 * config/m32r.exp: New file.
7952
7953Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
7954
7955 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
7956 that cflags can contains -gstabs, and work correctly for other tests.
7957
dc96c6c7 7958Mon Oct 21 14:00:37 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
7959
7960 * gdb.base/setshow.exp: New file, tests show and set.
7961 * gdb.base/setshow.c: New file, tests show and set.
7962 * gdb.base/help.exp: Add test for help set|show annotate.
7963 * gdb.base/default.exp: Add test for set|show annotate.
7964
7965Wed Oct 16 19:03:54 1996 Stu Grossman (grossman@critters.cygnus.com)
7966
7967 * testsuite/gdb.base/break.exp: Make backtrace from factorial
7968 errors unique.
7969 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
7970 explicitly.
7971
7972Tue Oct 15 16:45:02 1996 Stu Grossman (grossman@critters.cygnus.com)
7973
7974 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
7975 and width commands. This is done elsewhere.
7976 * (gdb_start): Don't call gdb_start_sim here. That's already
7977 done in gdb_load. This fixes lots of failures in default.exp.
7978
7979Sun Oct 13 10:40:23 1996 Fred Fish <fnf@cygnus.com>
7980
7981 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
7982 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
7983 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
7984 in the same we we treat other failures (since it may be an expected
7985 condition), rather than as an error.
7986 * gdb.base/signals.exp (test_handle_all_print): Revert back to
7987 old test format.
7988
7989Fri Oct 11 17:05:22 1996 Fred Fish <fnf@cygnus.com>
7990
7991 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
7992 (distclean maintainer-clean realclean): No need to remove files
7993 twice. Nuke the duplicates.
7994 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
d63a86f8 7995 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
c906108c
SS
7996 Remove config.h along with other config files.
7997
7998Mon Sep 30 20:16:22 1996 Fred Fish <fnf@cygnus.com>
7999
8000 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
8001 "p func1 ()" and note that rests of tests are skipped.
8002 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
8003 setup_xfails for "print func2::coremaker_local".
8004 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
8005 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
8006 affected by the previous run test.
8007 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
8008 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
8009 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
8010 "pass int powerset tuple" and "pass modeless int powerset tuple".
8011 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
8012 "real write 4" and "real write 8".
8013 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
8014 setup_xfails for "print vs1 after tuple assign 2",
8015 "print \$i after tuple assign 2", and
8016 "print vs2 after tuple assign 2".
8017 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
8018 meaningful error message and return -1 so the caller can
8019 suppress further tests and avoid a cascade of errors.
d63a86f8 8020
c906108c
SS
8021Fri Sep 27 10:34:51 1996 Fred Fish <fnf@cygnus.com>
8022
8023 * gdb.base/a1-selftest.exp: Tweak tests to account for new
8024 format for printing version.
8025 * gdb.base/default.exp: Ditto.
8026 * gdb.base/interrupt.exp: Fix problem with cascade of
8027 errors if child process dies while calling a function.
d63a86f8 8028
c906108c
SS
8029Fri Sep 13 21:43:48 1996 Fred Fish <fnf@cygnus.com>
8030
8031 * Makefile.in (VPATH): Add
8032 * Makefile.in (Makefile, config.status): Fix rules so things get
8033 remade when necessary.
8034
8035Fri Sep 13 18:16:10 1996 Fred Fish <fnf@cygnus.com>
8036
8037 * Makefile.in (just-check): Add path to sibling expect dir
8038 to environment variable specified by RPATH_ENVVAR.
8039
8040Fri Sep 13 12:05:34 1996 Fred Fish <fnf@cygnus.com>
8041
8042 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
8043 (just-check): Add shared library paths for libstdc++, tk,
8044 tcl, bfd, and opcodes to the environment variable specified
8045 in RPATH_ENVVAR.
8046 * configure.in: Add support to recognize --enable-shared flag
8047 and generate correct value for RPATH_ENVVAR.
8048 * configure: Regenerated with autoconf.
8049
8050Mon Sep 2 06:36:02 1996 Fred Fish <fnf@cygnus.com>
8051
8052 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
8053 include all osf versions.
8054 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
8055 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
8056 when target is linux. When failing to build pthreads test
8057 executable, give more meaningful message.
8058 * gdb.threads/pthreads.c: Hpux also uses old definition of second
8059 arg for pthread_create.
d63a86f8 8060
c906108c
SS
8061Mon Aug 19 09:58:59 1996 Fred Fish <fnf@cygnus.com>
8062
8063 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
8064 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
8065 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
8066 and -lpthreads (everybody else).
8067 (test_startup): Fail gracefully if threads are not supported.
8068 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
8069 "p/c array_index("abcdef",2)" when not gcc compiled.
8070 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
8071 "print func2::coremaker_local" when not gcc compiled.
8072 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
8073 "ptype on opaque struct tagname (statically)",
8074 "ptype on opaque struct tagname (dynamically) 1", and
8075 "ptype on opaque struct tagname (dynamically) 2"
8076 for not compiled with gcc.
8077 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
8078 backtrace when compiled with gcc.
d63a86f8 8079 * lib/gdb.exp (runto_main): Return result of "runto main" rather
c906108c
SS
8080 than always return success.
8081
8082Sat Aug 17 13:28:00 1996 Fred Fish <fnf@cygnus.com>
8083
8084 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
8085
8086Tue Aug 13 10:26:10 1996 Jeffrey A Law (law@cygnus.com)
8087
8088 * gdb.base/structs.exp: Undo last change.
8089
8090Mon Aug 12 15:29:08 1996 Fred Fish <fnf@cygnus.com>
8091
8092 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
8093 encapsulate all the steps/nexts done during self test, starting
8094 at main, and makes them less sensitive to optimization issues.
8095 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
8096 signal handler" test.
8097 * gdb.threads/pthreads.exp: Only run this for native configs.
8098 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
8099 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
8100 tests.
8101 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
8102 for "runto test_calls(void)" test.
d63a86f8 8103
c906108c
SS
8104Sun Aug 11 13:11:24 1996 Fred Fish <fnf@cygnus.com>
8105
8106 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
8107 and don't expect address info in breakpoint confirmations.
8108
8109Wed Aug 7 20:47:43 1996 Fred Fish <fnf@cygnus.com>
8110
8111 * gdb.base/list.exp (test_forward_search): Increase timeout
8112 temporarily by 60 seconds for searching extremely long line,
8113 and then reset to old value when done. Increase expect input
8114 buffer to 10000.
8115
8116Wed Aug 7 15:34:22 1996 Fred Fish <fnf@cygnus.com>
8117
8118 * gdb.base/list.exp (test_forward_search): Fix to handle very
8119 long source line without overflowing expect's input buffer.
8120
8121Wed Aug 7 12:03:25 1996 Tom Tromey <tromey@creche.cygnus.com>
8122
8123 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
8124 "buffer_full".
8125
8126 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
8127 "buffer_full".
8128
8129 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
8130 "buffer_full".
8131
8132 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
8133 "buffer_full".
8134
8135Wed Aug 7 11:05:47 1996 Fred Fish <fnf@cygnus.com>
8136
8137 * configure.in (configdirs): Add gdb.threads.
8138 * configure: Regenerated with autoconf.
8139 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
8140 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
8141 * gdb.threads/configure: New, generated with autoconf.
d63a86f8 8142
c906108c
SS
8143Tue Aug 6 10:23:04 1996 Tom Tromey <tromey@rtl.cygnus.com>
8144
8145 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
8146
8147Mon Aug 5 18:11:53 1996 Fred Fish <fnf@cygnus.com>
8148
8149 * gdb.base/signals.exp (test_handle_all_print): Test separately for
8150 each signal's status in the output of "handle all print".
8151 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
8152 the \r\n sequence that immediately precedes the gdb prompt.
8153 * gdb.base/a1-selftest.exp: Save original timeout and restore
8154 after test.
8155
8156Sun Aug 4 10:20:50 1996 Jeffrey A Law (law@cygnus.com)
8157
8158 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
8159 symbol.
8160
8161Fri Aug 2 17:37:26 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
8162
8163 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
8164
8165Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
8166
8167 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
8168 timeout by 60 seconds.
8169
8170Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
8171
8172 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
8173 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
8174 error return.
8175
8176Thu Jun 27 10:54:58 1996 Fred Fish <fnf@cygnus.com>
8177
8178 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
8179 gdb initialization, also report how long dejagnu waited. Restore
8180 old timeout before doing error return. Temporarily increase timeout
8181 by 3 minutes to allow for slow startups over heavy NFS use.
8182
8183Tue Jun 25 19:59:17 1996 Fred Fish <fnf@cygnus.com>
8184
8185 * lib/gdb.exp: Report timeout value for verbosity level 2.
8186 * config/gdbserver.exp: Ditto.
8187 * config/hppro.exp: Ditto.
8188 * config/mips-gdb.exp: Ditto.
8189 * config/monitor.exp: Ditto.
8190 * config/netware.exp: Ditto.
8191 * config/sim-gdb.exp: Ditto.
8192 * config/slite-gdb.exp: Ditto.
8193 * config/udi-gdb.exp: Ditto.
8194 * config/unix-gdb.exp: Ditto.
8195 * config/vx-gdb.exp: Ditto.
8196 * gdb.base/a1-selftest.exp: Ditto.
8197 * gdb.base/a2-run.exp: Ditto.
8198 * gdb.base/break.exp: Ditto.
8199 * gdb.base/corefile.exp: Ditto.
8200 * gdb.base/list.exp: Ditto.
8201 * gdb.base/recurse.exp: Ditto.
8202 * gdb.base/scope.exp: Ditto.
8203 * gdb.base/signals.exp: Ditto.
8204
8205Tue Jun 25 23:16:58 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
8206
8207 * gdb.threads/Makefile.in (docdir): Removed.
8208
8209Tue Jun 25 17:02:39 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
8210
8211 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
d63a86f8 8212 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
c906108c 8213 @srcdir@.
d63a86f8 8214 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
c906108c
SS
8215 autoconf 2.5 or higher.
8216 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
8217
8218Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
8219
8220 * configure: Regenerated.
8221 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
8222 avoid name clashes with SunOS headers.
8223
8224Wed Jun 5 16:43:27 1996 Jeffrey A Law (law@cygnus.com)
8225
8226 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
8227
8228Thu May 30 11:35:11 1996 Jeffrey A Law (law@cygnus.com)
8229
8230 * gdb.base/callfuncs.exp: Finish last change -- make sure the
8231 prototype information ends up in the compiler info file.
8232
8233Thu May 23 12:48:41 1996 Fred Fish <fnf@cygnus.com>
8234
8235 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
8236 attempting to regenerate it. Eliminate use of a temporary file
8237 and just generate the info file directly. Source it immediately,
8238 for consistency of use.
8239 * gdb.base/corefile.exp: Ditto
8240 * gdb.base/exprs.exp: Ditto.
8241 * gdb.base/funcargs.exp: Ditto.
8242 * gdb.base/langs.exp: Ditto.
8243 * gdb.base/list.exp: Ditto.
8244 * gdb.base/mips_pro.exp: Ditto.
8245 * gdb.base/nodebug.exp: Ditto.
8246 * gdb.base/opaque.exp: Ditto.
8247 * gdb.base/ptype.exp: Ditto.
8248 * gdb.base/scope.exp: Ditto.
8249 * gdb.base/setvar.exp: Ditto.
8250 * gdb.base/signals.exp: Ditto.
8251 * gdb.base/whatis.exp: Ditto.
8252 * gdb.c++/templates.exp: Ditto.
8253 * gdb.c++/virtfunc.exp: Ditto.
8254 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
8255 whether or not to add -lstdc++ to the compile command line args.
8256
8257Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8258
8259 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
8260 it got fixed by the recent lookup_minimal_symbol_by_pc change.
8261 Increase timeout, a lot of single stepping might be needed if the
8262 target has no hardware watchpoints.
8263
8264Wed May 15 08:47:42 1996 Jeffrey A Law (law@cygnus.com)
8265
8266 * gdb.base/break.exp: Ignore compiler warnings when compiling
8267 break.c.
8268 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
8269 * gdb.base/default.exp: Add h8300 xfails. Handle messages
8270 from remote-sim.
8271 * gdb.base/exprs.exp: Add h8300 xfails.
8272 * gdb.base/funcargs.exp: Likewise.
8273 * gdb.base/nodebug.exp: Likewise.
8274 * gdb.base/printcmds.exp: Likewise.
8275 * gdb.base/ptype.exp: Likewise.
8276 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
8277 h8300 xfails.
d63a86f8 8278 * gdb.base/return.exp: Handle float/double precision problems
c906108c
SS
8279 on the h8300.
8280 * gdb.base/funcargs.c: Explicitly make last constant argument to
8281 call_after_alloca_subr an unsigned long type.
8282 * gdb.base/return.c: Include stdio.h.
8283
8284Tue May 7 22:01:12 1996 Rob Savoye <rob@chinadoll.cygnus.com>
8285
8286 * config/abug.exp: New file for the older Motorola Bug monitor
8287 that runs on the mvme13x series VME boards.
8288 * config/monitor.exp: Use the new config array for target settings
8289 if they exist.
8290
8291Fri May 3 16:02:55 1996 Stan Shebs <shebs@andros.cygnus.com>
8292
8293 * sim-gdb.exp: Make the SH simulator allocate less space when
8294 it is targeted.
8295
8296Thu May 2 12:31:56 1996 Jeffrey A Law (law@cygnus.com)
8297
8298 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
8299 test.
8300
8301Wed Mar 20 08:48:03 1996 Fred Fish <fnf@cygnus.com>
8302
8303 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
8304 "rs6000-*-*" for "list function in include file" when gcc compiled.
8305 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
8306 for "p ctable1[120]".
8307 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
8308 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
8309 Remove setup_xfail for "rs6000-*-*" for
8310 "print 'scope0.c'::filelocal before run".
8311 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
8312 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
8313 since some compilers don't allow both options to be given
8314 on the same command line. Create object file and move it.
d63a86f8 8315
c906108c
SS
8316Tue Mar 19 23:49:31 1996 Fred Fish <fnf@cygnus.com>
8317
8318 * gdb.base/corefile.exp: Always regenerate the core file, since
8319 we always regenerate the coremaker program. Detect special case
8320 where registers cannot be read from core file.
d63a86f8 8321
c906108c
SS
8322Tue Mar 19 16:52:49 1996 Fred Fish <fnf@cygnus.com>
8323
8324 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
8325 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
8326 * gdb.c++/templates.exp: Only match on basename of file since
8327 some formats like xcoff don't encode directory information.
8328 * gdb.stabs/weird.exp: Use the right sed script for powerpc
8329 and rs6000 AIX xcoff targets.
8330 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
8331 * configure: Regenerate.
8332 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
8333 here, rather than in distclean.
d63a86f8 8334
c906108c
SS
8335Sun Mar 17 13:35:31 1996 Fred Fish <fnf@cygnus.com>
8336
8337 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
8338 defined, and use it to compile the test case with -O2. The
8339 native compilation still uses no optimization.
8340 * gdb.base/mips_pro.c: Remove inline assembly code since
8341 it is compiled PIC by default, which results in assembler
8342 warnings that make the testsuite think the compilation
8343 was unsuccessful.
8344
8345Sat Mar 16 15:02:24 1996 Fred Fish <fnf@cygnus.com>
8346
8347 * gdb.c++/misc.exp: Add note to message for
8348 "print s.a for foo struct" that this is a known gcc 2.7.2
8349 and earlier bug.
8350
8351Fri Mar 15 17:49:57 1996 Fred Fish (fnf@cygnus.com)
8352
8353 * gdb.base/break.exp: Fix pattern for matching "Delete all
8354 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
8355 setup_xfail for deleting all breakpoints test. Fix various
8356 timeout messages to include "(timeout)".
8357 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
8358 for "p t_float_values2(3.14159,float_val2)".
8359 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
8360 for "continue to call2g" when gcc compiled.
8361 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
8362 "up to foo in langs.exp", "show language at foo in langs.exp",
8363 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
8364 and "show language at fsub in langs.exp".
8365 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
8366 "list line 1 in include file", "list message for lines past EOF",
8367 "list function in include file", "list list0.h:foo", and
8368 "list filename:function; nonexistant function".
8369 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
8370 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
8371 and "ptype t_char_array" to be for native cc only.
d63a86f8 8372
c906108c
SS
8373Fri Mar 15 16:17:22 1996 Fred Fish <fnf@cygnus.com>
8374
d63a86f8 8375 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
c906108c
SS
8376 setup_xfail for "print coremaker_bss", "print coremaker_ro",
8377 "print func2::coremaker_local", and "backtrace in corefile.exp".
8378
8379Wed Mar 13 14:54:11 1996 Fred Fish <fnf@cygnus.com>
8380
8381 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
8382 "bt in signals.exp". This problem only appears when running
8383 the testsuite, and then only intermittently.
8384
8385Tue Mar 12 15:00:16 1996 Stan Shebs <shebs@andros.cygnus.com>
8386
8387 * gdb.base/return.exp (return_tests): Differentiate between
8388 two tests of continuing.
8389
8390Tue Mar 5 14:33:33 1996 Stan Shebs <shebs@andros.cygnus.com>
8391
8392 * */Makefile.in (maintainer-clean): Remove config.log.
8393 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
8394 * gdb.c++/Makefile.in (PROGS): Add inherit.
8395 (clean): Remove *.ci.
8396
8397Tue Feb 20 16:36:10 1996 Fred Fish <fnf@cygnus.com>
8398
8399 * gdb.c++/misc.cc: Add test code from Mike Stump.
8400 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
8401
8402Sun Feb 18 11:39:12 1996 Fred Fish <fnf@cygnus.com>
8403
8404 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
8405 to "alpha-*-osf2*" and add comment.
8406 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
8407 setup_xfail for "step over execarg initialization" and
8408 "step over corearg initialization".
8409 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
8410 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
8411 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
8412 gcc compiled for "print coremaker_bss", "print coremaker_ro",
8413 "print func2::coremaker_local", and "backtrace in corefile.exp".
8414 * gdb.base/signals.exp: Build and source signals.ci.
8415 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
8416 to be for gcc only.
8417 * lib/gdb.exp: Move verbose statements outside conditionals.
d63a86f8 8418
c906108c
SS
8419Sat Feb 17 02:22:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8420
8421 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
8422 Feb 3 procfs.c change.
8423
8424Fri Feb 16 13:25:31 1996 Fred Fish <fnf@cygnus.com>
8425
8426 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
8427
8428Thu Feb 15 08:12:55 1996 Fred Fish <fnf@cygnus.com>
8429
8430 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
8431 from dejagnu's apparent default of 10 seconds, which gives random
8432 results when running the tests over NFS on moderately loaded systems.
8433 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
8434
8435Mon Feb 12 16:50:28 1996 Fred Fish <fnf@cygnus.com>
8436
8437 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
8438 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
8439 result reports.
8440
8441Fri Feb 9 15:56:51 1996 Fred Fish <fnf@cygnus.com>
8442
8443 * configure.in (CY_AC_PATH_TCLH): Remove.
8444 * configure: Regenerate.
8445
8446Fri Feb 9 08:21:31 1996 Fred Fish <fnf@cygnus.com>
8447
8448 * gdb.c++/Makefile.in (clean): Add missing '{'.
8449
8450Fri Feb 2 10:19:40 1996 Jeffrey A Law (law@cygnus.com)
8451
8452 * lib/gdb.exp: Provide a default value for noinferior.
8453
8454 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
8455 Load libgloss.exp.
8456
8457Thu Feb 1 20:20:14 1996 Jeffrey A Law (law@cygnus.com)
8458
8459 * gdb.disasm/hppa.exp: Compile directly into an executable, use
8460 the executable, not the .o to run the tests from.
8461
8462Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com)
8463
8464 * gdb.base/break.exp: Don't test for program exit or exit status
8465 if $noresults if nonzero.
8466 * gdb.base/langs.exp: Likewise.
8467 * gdb.base/watchpoint.exp: Likewise.
8468
8469 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
8470 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
8471 trying to compile the testcase.
8472
8473Wed Jan 24 23:42:39 1996 Doug Evans <dje@charmed.cygnus.com>
8474
8475 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
8476 * gdb.base/signals.exp (continue to handler): Likewise.
8477
8478Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
8479
8480 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
8481
8482 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
8483
8484Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
8485
8486 * gdb.base/corefile.exp: Recognize "not found" as failure
8487 when trying to determine if a core file was generated.
8488 If no core file was generate the first time, try again without
8489 the ulimit -c to work around braindamaged shells.
8490
8491Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
8492
8493 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
8494 [] tests with "test" and enclose string in quotes.
8495 * gdb.stabs/configure: Rebuild
d63a86f8 8496
c906108c
SS
8497Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
8498
8499 Changes in sync with expect:
8500 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
8501 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
8502 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
8503 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
8504 argument to AC_REQUIRE.
8505 * configure: Regenerated.
8506
8507Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
8508
8509 * gdb.base/corefile.exp: When generating a core, discard any
8510 error messages about ulimit not found and the "core dumped"
8511 message from the shell that runs the coredumper.
8512
8513Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
8514
8515 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
8516
8517 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
8518 which sed script to run. Expect failure for v_comb test
8519 on PA targets too.
d63a86f8 8520
c906108c
SS
8521Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
8522
8523 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
8524 "print func2::coremaker_local" and for "backtrace in corefile.exp"
8525
8526Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
8527
8528 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
8529 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
8530 "sparc-sun-solaris*" xfails for "p v_comb".
8531 * lib/gdb.exp (default_gdb_start): Fix typo.
8532 * gdb.base/corefile.exp: Allow "Core was generated by ..."
8533 messages to not include the full program name that caused
8534 the core dump since some systems (such as solaris) apparently
8535 truncate this path to about 80 characters.
8536 When generating a core file first try increasing the core file
8537 size limit to unlimited since some systems may default it to
8538 zero, and it is harmless to try it. Move the test for failing
8539 to generate a core file to where it will actually get executed.
8540 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
8541 new gdb result from g++ debug info improvements and make old
8542 pattern obsolescent. Also account for size_t differences
8543 (may be int or long).
8544 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
8545 initialization before function call is placed in the delay slot
8546 and thus appears to be skipped over by commands such as "next".
8547
8548Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
8549
8550 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
8551
8552Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
8553
8554 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
8555 input source file; fix code to compile test to deal with this
8556 convention.
8557 * gdb.c++/*.exp: Likewise.
8558
8559Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
8560
8561 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
8562 "bt in signals.exp".
8563
8564Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
8565
8566 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
8567 "step over execarg initialization" and
8568 "step over corearg initialization".
8569
8570Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
8571
8572 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
8573 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
8574
8575Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
8576
8577 From Rob Savoye (rob@poseidon.cygnus.com)
8578 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
8579 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
8580 configure.in}, gdb.disasm/{Makefile.in, configure.in},
8581 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
8582 configure.in}: Major reworking for autoconfig.
8583 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
8584 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
8585 New files.
8586 * config/unix-gdb.exp: Make GDB global.
8587 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
8588 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
8589 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
8590 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
8591 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
8592 term.exp, twice.exp, watchpoint.exp, whatis.exp},
8593 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
8594 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
8595 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
8596 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
8597 pr-8136.exp, result.exp, string.exp, tuples.exp},
8598 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
8599 to returns as necessary, arrange for test to compile own testcase
8600 executable.
8601 * lib/gdb.exp: Changes for testsuite to compile own test cases.
d63a86f8 8602
c906108c
SS
8603Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
8604
8605 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
8606 clear_xfail at end of test which might not call either pass or fail.
8607 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
8608 "backtrace through signal handler".
8609
8610Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8611
8612 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
8613 continuing from a job control stop signal.
8614 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
8615
8616Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
8617
8618 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
8619 * gdb.base/corefile.exp: Likewise.
8620 * gdb.base/funcargs.exp: Likewise.
8621
8622Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
8623
8624 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
8625 * config/monitor.exp: Add support for setting baud rate.
8626
8627Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
8628
8629 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
8630 i*86-*-linux* xfails for "backtrace through signal handler".
8631 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
8632 "print func2::coremaker_local".
8633 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
8634 alpha-dec-osf2* xfail for
8635 "delete all breakpoints when none".
8636
8637Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
8638
8639 * gdb.base/break.exp: Change test that deletes all breakpoints
8640 when no user breakpoints are installed. A post 4.15 change
8641 causes gdb to no longer prompt in this case.
8642
8643Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
8644
8645 * gdb.base/return.exp (return_tests): Change xfail for test
8646 "correct value returned double test" to stop xfailing at
8647 Solaris 2.5. Apparently the bug has been fixed.
8648
8649Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
8650
8651 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
8652 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
8653
8654Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
8655
8656 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
8657 * gdb.disasm/hppa.s: Corresponding changes.
8658
8659Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
8660
8661 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
8662 makefile fragment.
8663 * config/mt-hpux: Deleted.
8664
8665Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
8666
d63a86f8 8667 * Many files: When warning about suppressed tests due to a
c906108c
SS
8668 nonexistant test binary, avoid incrementing the warning count.
8669
8670Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
8671
8672 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
d63a86f8 8673
c906108c
SS
8674Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8675
8676 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
8677 "sparc-*-solaris2*".
8678
8679Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8680
8681 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
8682 Add global and local variables and initialize them.
8683 * gdb.base/corefile.exp: Test correct mapping of corefile sections
8684 by printing variables. Remove rs6000 and powerpc xfails, BFD now
8685 extracts the file name and terminating signal from the core file.
8686 * TODO: Remove note about tests for correct mapping of corefile.
8687 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
8688 from optimizing it away.
8689 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
8690 handles common blocks.
8691
8692Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
8693
8694 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
8695 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
8696
8697Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
8698
8699 * Makefile.in (maintainer-clean): New target, synonym for
8700 realclean.
8701 * gdb.base/Makefile.in (maintainer-clean): Likewise.
8702 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
8703 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
8704 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
8705 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
8706 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
8707
8708Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
8709
8710 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
8711 xfails when not gcc compiled for "print foo::funclocal".
8712 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
8713 "print foo::funclocal at foo",
8714 "print 'scope1.c'::foo::funclocal at foo",
8715 "print foo::funclocal_bss at foo",
8716 "print 'scope1.c'::foo::funclocal_bss at foo",
8717 "print foo::funclocal_ro at foo",
8718 "print 'scope1.c'::foo::funclocal_ro at foo",
8719 "print bar::funclocal at foo" and
8720 "print 'scope1.c'::bar::funclocal at foo".
8721 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
8722 gcc compiled for "print foo::funclocal at bar".
8723 Expand all messages to ensure that they identify that
8724 the test is at bar().
8725 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
8726 gcc compiled for:
8727 "ptype on opaque struct pointer (statically)",
8728 "ptype on opaque struct tagname (statically)",
8729 "ptype on opaque struct pointer (dynamically) 1",
8730 "ptype on opaque struct tagname (dynamically) 1",
8731 "ptype on opaque struct pointer (dynamically) 2" and
8732 "ptype on opaque struct tagname (dynamically) 2
8733 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
8734 gcc compiled for:
8735 "p datalocal"
8736 "whatis datalocal",
8737 "ptype datalocal",
8738 "p bsslocal",
8739 "whatis bsslocal", and
8740 "ptype bsslocal".
8741 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
8742 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
8743 when not gcc compiled.
8744 * gdb.base/funcargs.exp (float_and_integral_args): Add
8745 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
8746 compiled.
8747 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
8748 "backtrace from call6a" when not gcc compiled.
8749 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
8750 "backtrace from call7a" when not gcc compiled.
8751 * gdb.base/callfuncs.exp (do_function_calls):
8752 Add "hppa*-*-hpux*" xfail when not gcc compiled for
8753 "p t_char_array_values(char_array_val2,char_array_val1)",
8754 "p t_char_array_values(char_array_val1,char_array_val2)",
8755 "p t_char_array_values("carray 1","carray 2")",
8756 "p t_char_array_values("carray 1",char_array_val2)",
8757 "p t_char_array_values(char_array_val1,"carray 2")",
8758 "p sum_args(1,{2})",
8759 "p sum_args(2,{2,3})",
8760 "p sum_args(3,{2,3,4})",
8761 "p sum_args(4,{2,3,4,5})"
8762 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
8763 "backtrace in corefile.exp" when not gcc compiled.
8764
8765Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8766
8767 * gdb.base/signals.exp: Rewrite `handle all print' test as
8768 a procedure. Accept blanks or TABs as whitespace, increase
8769 timeout and expect input buffer size for the large output
8770 from the command. Remove "i*86-*-bsdi2.0" xfail.
8771
8772Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8773
8774 * gdb.base/setvar.exp: Add new testcases for truncation when
8775 assigning invalid values to bitfields.
8776
8777Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
8778
d63a86f8 8779 * gdb.base/callfuncs.exp (do_function_calls): Remove
c906108c
SS
8780 mips-sgi-irix* xfail for
8781 "call inferior func with struct - returns char *"
8782 and fix test so that an optional (unsigned char *) cast is
8783 accepted in the result.
8784
8785Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
8786
8787 * gdb.base/funcargs.exp (float_and_integral_args): Remove
8788 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
8789 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
8790 * gdb.base/signals.exp: Remove duplicate "handle all print" test
8791 that accidentally got checked in.
8792
8793Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
8794
d63a86f8 8795 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
c906108c
SS
8796 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
8797 compiled test.
8798 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
8799 Add mips-sgi-irix5* xfail for not gcc compiled.
8800 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
8801 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc compiled for
8802 "p top", "whatis top", "p middle", and "whatis middle".
8803 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
8804 "whatis signed char" for not gcc compiled.
8805 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
8806 "set variable signed char=-1 (-1)" and
8807 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
8808 * gdb.base/funcargs.exp (float_and_integral_args):
8809 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
8810 Add mips-sgi-irix* xfail when not gcc compiled for
8811 "continue to call2b".
8812 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
8813 "continue to call2g".
8814 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc compiled for
8815 "backtrace from call6a"
8816 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc compiled for
8817 "backtrace from call7k".
8818 Add mips-sgi-irix5* xfail when not gcc compiled for
8819 "backtrace from call7a".
8820 (localvars_after_alloca): Fix gdb_test cmds for
8821 "print * after runto ...".
8822 Remove rs6000-*-* xfails for
8823 "print i after runto localvars_after_alloca" and
8824 "print l after runto localvars_after_alloca"
8825 for all compilers.
8826 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
8827 when not compiled with gcc, for:
8828 "print signed char == (minus)",
8829 "print signed char != (minus)",
8830 "print signed char < (minus)",
8831 "print signed char > (minus)".
8832 * gdb.base/callfuncs.exp (do_function_calls):
8833 Add mips-sgi-irix* xfail, when compiled with native compiler, for
8834 "call inferior func with struct - returns char *".
d63a86f8 8835 * gdb.base/return.exp (return_tests): Change xfail for
c906108c
SS
8836 "correct value returned double test" to include Solaris 2.4.
8837 * gdb.base/funcargs.exp (float_and_integral_args):
8838 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
d63a86f8 8839
c906108c
SS
8840Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8841
8842 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
8843 enumeration bitfields if compiling with GNU C.
8844 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
8845 to empty' prompt.
8846
8847Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
8848
8849 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
8850 test for PRO targets.
8851
8852 * gdb.base/funcargs.exp: Avoid ever setting more than 8
8853 breakpoints in the inferior at any given time by making
8854 two groups of breakpoints for call2*, call6* and call7*
8855 tests.
8856
8857Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8858
8859 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
8860 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
8861 from optimizing it away.
8862 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
8863 "call inferior func with struct".
8864
8865Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
8866
8867 * configure.in: Only configure gdb.chill for particular targets.
8868
8869Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
8870
8871 * gdb.base/Makefile.in: Add action to .c.o transformation
8872 rule that generates a .ci file for each .o file and remove
8873 explicit .c.o rules except for callfuncs.o.
8874 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
8875 generates a .ci file for each .o file and remove explicit
8876 .cc.o rules.
8877 (clean): Remove *.tmp *.ci files.
8878 (EXECUTABLES): Remove templ-info.exp.
8879 * gdb.base/compiler.c: New file.
8880 * gdb.c++/compiler.cc: New file
8881 * gdb.base/scope.exp: Source gdb.base/scope.ci.
8882 Change rs6000-*-* xfail for
8883 "print 'scope0.c'::filelocal_ro" and
8884 "print 'scope1.c'::filelocal" and
8885 "print 'scope1.c'::filelocal_bss" and
8886 "print 'scope1.c'::filelocal_ro" and
8887 "print 'scope1.c'::foo::funclocal" and
8888 "print 'scope1.c'::foo::funclocal_ro" and
8889 "print 'scope1.c'::bar::funclocal" and
8890 "print 'scope0.c'::filelocal_ro" and
8891 "print 'scope1.c'::filelocal at foo" and
8892 "print 'scope1.c'::filelocal_bss at foo" and
8893 "print 'scope1.c'::filelocal_ro at foo" and
8894 "print 'scope1.c'::foo::funclocal at foo" and
8895 "print 'scope1.c'::foo::funclocal_bss at foo" and
8896 "print 'scope1.c'::foo::funclocal_ro at foo" and
8897 "print 'scope1.c'::bar::funclocal at foo" and
8898 "print 'scope0.c'::filelocal_ro" and
8899 "print 'scope1.c'::filelocal" and
8900 "print 'scope1.c'::filelocal_bss" and
8901 "print 'scope1.c'::filelocal_ro" and
8902 "print 'scope1.c'::foo::funclocal" and
8903 "print 'scope1.c'::foo::funclocal_bss" and
8904 "print 'scope1.c'::foo::funclocal_ro" and
8905 "print 'scope1.c'::bar::funclocal" and
8906 "print 'scope1.c'::bar::funclocal_bss"
8907 to only be xfail'd when not compiled with gcc.
d63a86f8 8908 Add rs6000-*-* xfail for
c906108c
SS
8909 "print 'scope0.c'::filelocal_bss before run"
8910 when compiled with gcc.
8911 (test_at_main): Add rs6000-*-* xfail for
8912 "print filelocal_ro in test_at_main"
8913 when compiled with gcc.
8914 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
d63a86f8 8915 Add rs6000-*-aix* xfail for
c906108c
SS
8916 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
8917 "ptype t_char_array", not compiled with gcc.
8918 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
8919 xfail for "list foo (in include file)" when gcc compiled.
8920 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
8921 (integral_args): Add rs6000-*-* xfail for
8922 "run to call0a" if not compiled with gcc.
8923 (unsigned_integral_args): Add rs6000-*-* xfail for
8924 "run to call1a" if not compiled with gcc.
8925 (float_and_integral_args): Add rs6000-*-* xfail for
8926 "run to call2a" if not compiled with gcc and for
8927 "continue to call2b" for any compiler.
8928 Add rs6000-*-* xfail to
8929 "print f1 after run to call2a" for gcc compiled.
8930 (discard_and_shuffle): Add rs6000-*-* xfail for
8931 "run to call6a".
8932 (shuffle_round_robin): Add rs6000-*-* xfail for
8933 "backtrace from call7a" if not compiled with gcc.
8934 Add rs6000-*-* xfail for
8935 "backtrace from call7b" if compiled with gcc.
8936 (call_after_alloca): Add rs6000-*-* xfail for
8937 "print c in call_after_alloca" and
8938 "print s in call_after_alloca" and
8939 "backtrace from call_after_alloca_subr"
8940 if not compiled with gcc.
8941 (localvars_in_indirect_call): Add rs6000-*-* xfail for
8942 "print c in localvars_in_indirect_call" and
8943 "print c in localvars_in_indirect_call" and
8944 "backtrace in indirectly called function" and
8945 "stepping into indirectly called function"
8946 if not compiled with gcc.
8947 (localvars_after_alloca): Add rs6000-*-* xfail for
8948 "print c after runto localvars_after_alloca" and
8949 "print s after runto localvars_after_alloca" and
8950 "print i after runto localvars_after_alloca" and
8951 "print l after runto localvars_after_alloca"
8952 for all compilers.
8953 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
8954 than whatis-info.exp.
8955 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
8956 than opaque-info.exp.
8957 Setup rs6000-*-* xfail for
d63a86f8 8958 "ptype on opaque struct pointer (statically)" and
c906108c
SS
8959 "ptype on opaque struct pointer (dynamically)" when
8960 not compiled with gcc.
8961 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
8962 rather than callf-info.exp.
8963 (do_function_calls): Add clear_xfail for rs6000-*-* for
8964 "p t_float_values2(3.14159,float_val2)". Seems to work
8965 fine there, both with xlc and gcc. Need to find out what
8966 it is doing right and fix other platforms.
8967 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
8968 "call inferior func with struct - returns int",
8969 "call inferior func with struct - returns long",
8970 "call inferior func with struct - returns float",
8971 "call inferior func with struct - returns double",
8972 "call inferior func with struct - returns char *",
8973 but only if not gcc compiled (presumes xlc compiled).
8974 Change rs6000-*-* xfails for
8975 "call inferior func with struct - returns char" and
8976 " call inferior func with struct - returns short" to only
8977 xfail if not using gcc.
8978 (clean mostlyclean): Remove *.ci and *.tmp files.
8979 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
8980 than templ-info.exp.
8981 * gdb.base/langs.exp: Source gdb.base/langs.ci.
8982 Add rs6000-*-* xfail for "up to foo in langs.exp"
8983 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
8984 when not gcc compiled.
d63a86f8 8985
c906108c
SS
8986Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
8987
8988 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
8989 * gdb.base/corefile.exp: Likewise.
8990 * gdb.base/list.exp: Likewise.
8991 * gdb.base/scope.exp: Likewise.
8992 * gdb.base/siganls.exp: Likewise.
8993
8994 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
8995 compiler output.
8996 * gdb.base/whatis.exp: Likewise.
8997
8998Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
8999
9000 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
9001 failure (opcode table has been fixed to match reality).
9002
9003Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
9004
9005 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
9006 "call inferior func with struct - returns char",
9007 "call inferior func with struct - returns short"
9008
9009 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
9010 "print 'scope0.c'::filelocal at main",
9011 "print 'scope0.c'::filelocal_bss in test_at_main",
9012 "print 'scope0.c'::filelocal at foo",
9013 "print 'scope0.c'::filelocal_bss in test_at_foo",
9014 "print 'scope0.c'::filelocal at bar",
9015 "print 'scope0.c'::filelocal_bss in test_at_bar"
d63a86f8 9016
c906108c
SS
9017 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
9018 in source file 1". This bug seems to have been fixed with both
9019 gcc and native cc (was native assembler bug?).
9020
9021Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
9022
9023 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
9024 "backtrace through signal handler" to "i*86-*-sysv4*".
9025 * gdb.base/signals.exp: Add xfail for "'next' behaved as
9026 continue" case. Add "known SVR4 bug" to fail message.
9027 Add "i*86-*-bsdi2.0" xfail for "handle all print".
9028 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
9029 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
9030 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
9031 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
9032 "up to foo in langs.exp", "show language at foo in
9033 langs.exp", "up to cppsub_ in langs.exp", "show
9034 language at cppsub_ in langs.exp", "up to fsub in
9035 langs.exp", and "show language at fsub in langs.exp".
9036 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
9037 "bactrace in corefile.exp".
9038 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
9039 "call inferior function with struct - returns float" and
9040 "call inferior function with struct - returns double".
d63a86f8 9041
c906108c
SS
9042Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
9043
9044 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
9045 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
9046 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
9047 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
9048
9049Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
9050
9051 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
9052 (or overriden) "CHILL" macro rather then bare "gcc".
9053 Also look for ../../gcc/xgcc since that is what we will
9054 actually need, not "Makefile". Remove following assignment
9055 of CHILL to CHILL_FOR_TARGET because that results in
9056 recursive definition.
9057
9058Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
9059
9060 * gdb.base/corefile.exp: Change xfail for backtrace in
9061 corefile.exp from linuxaout to all linux.
9062 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
9063 cases where we miss the breakpoint at the signal handler
9064 for some reason. Setup xfail for linuxoldld/linuxaout and
9065 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
9066 hitting SIGURG breakpoint.
9067 * gdb.base/signals.exp: Setup xfail for "next" acting like
9068 continue to add linuxoldld. Setup xfail for all linux for
9069 "next to handler in signals_tests_1", "backtrace in
9070 signals_tests_1", "continue to func1", "pass SIGUSR1",
9071 and continue to handler".
9072
9073Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
9074
9075 * Update all FSF addresses except those in COPYING* files.
9076
9077Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
9078
9079 * gdb.base/a2-run.exp: Change messages to be more explicit about
9080 the status of args, and quote binfile in results.
9081
9082Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
9083
9084 * gdb.base/callfuncs.exp: Add tests for passing structs to
9085 inferior functions and return various types.
9086 * gdb.base/callfuncs.c: Add functions to receive a struct
9087 and return a member of the struct, in various types.
9088
9089Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9090
9091 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
9092
9093Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
9094
9095 * config/vxworks29k.exp: New file, sources vxworks.exp.
9096
9097Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
9098
9099 * config/gdbremote.exp: New file. Testing framework using
9100 gdbserver.
9101
9102Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
9103
9104 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
9105 "call function when asleep" and "send end of file".
9106 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
9107 for "backtrace in corefile.exp".
9108 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
9109 for "backtrace through signal handler".
9110 * gdb.base/corefile.exp: Make sure we actually generate a core file
9111 before trying the core tests. Some systems allow the user to suppress
9112 generation of core files and default to that (linux for example).
9113 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
9114 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
9115
9116Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
9117
9118 * gdb.threads: New directory with some crude multi-threaded
9119 gdb tests (step.exp and step2.exp).
9120 * config/mt-lynx (STEP_EXECUTABLE): Define.
9121 (THREADFLAGS): Define.
9122
9123Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
9124
9125 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
9126
9127 * gdb.base/signals.exp: Disable whole file for lynx until
9128 further notice.
9129
9130 * gdb.base/signals.exp: xfail test where "next" acts like
9131 "continue" for lynx.
9132
9133 * gdb.base/interrupt.exp: xfail test for calling function while
9134 inferior is asleep for lynx.
9135
9136 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
9137 than one cr-lf after each command.
9138
9139Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9140
9141 * configure.in: Reinstate setting of stabsdirs variable, fix
9142 typo in setting up configdirs for native builds.
9143
9144 * gdb.base/return.exp: Fix typo in return double test.
9145 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
9146 compiler from optimizing them away.
9147
9148Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
9149
9150 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
9151 sequences to be echo'd by gdb when using gdb_test.
9152 * gdb.chill/chexp.exp: Likewise.
9153 * gdb.fortran/exprs.exp: Likewise
9154
9155Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
9156
9157 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
9158 after the inferior gdb has started.
9159
9160 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
9161 after each command.
9162 * gdb.base/funcargs.exp: Likewise.
9163 * gdb.base/gdbvars.exp: Likewise.
9164 * gdb.base/interrupt.exp: Likewise.
9165 * gdb.base/list.exp: Likewise.
9166 * gdb.base/watchpoint.exp: Likewise.
9167 * gdb.c++/demangle.exp: Likewise.
9168 * gdb.c++/inherit.exp: Likewise.
9169 * gdb.chill/chexp.exp: Likewise.
9170 * gdb.fortran/exprs.exp: Likewise.
9171
9172 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
9173 test if we can't handle IO to/from the inferior.
9174
9175 * gdb.c++/misc.exp: Always check for a program already being
9176 started after sending a "run" command to gdb.
9177
9178 * gdb.base/twice.exp: Start with a fresh gdb.
9179
9180 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
9181 only depend on gdb's expression code, not the chill runtime.
9182
9183 * gdb.base/return.c: Put return values into variables so we
9184 can have gdb print them rather than depending on the program
9185 to print them.
9186 * gdb.base/return.exp: Corresponding changes.
9187
9188 * lib/gdb.exp: Provide default value for noinferiorio.
9189 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
9190 the inferior.
9191
9192 * gdb.base/break.exp: Always check for a program already being
9193 started after sending a "run" command to gdb.
9194 (text_next_with_recursion): Don't check the output from the
9195 program's printf statement. Instead just make sure the program
9196 exited.
9197
9198 * gdb.base/commands.exp: Protect tests which need arguments with
9199 $noargs conditionals.
9200
9201Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9202
9203 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
9204 of structure member arrays to match gdb/valops.c:value_addr change.
9205
9206Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
9207
9208 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
9209 cases.
9210
9211Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
9212
9213 * configure.in (configdirs): Remove gdb.chill from default list
9214 of subdirs and then add it back in only if doing a native build.
9215 The current chill compiler does not yet work in any cross build.
9216 * Revert all signal changes from Jul 6.
9217 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
9218 for sh-hms targets, allowing these tests to link, with no other
9219 changes. Testing is suppressed by setting "nosignals" in site.exp.
9220
9221Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
9222
9223 * configure.in (signaldirs): Define and add to configdirs for all
9224 targets except some specific ones that are known to not support signals.
9225 Also clean up formatting.
9226 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
9227 (signals, sigall): Remove rules to build.
9228 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
9229 Moved to new gdb.signals directory.
9230 * gdb.signals: New test directory.
9231 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
9232 signals.c signals.exp}: New or moved files.
9233
9234Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
9235
9236 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
9237
9238Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
9239
9240 * gdb.base/return.exp: Xfail `return double' test failure
9241 on at least Solaris 2.3 and handle future/past versions on
9242 a case by case basis as appropriate. Also update message
9243 to include i*86 failures.
9244
9245Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9246
9247 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
9248
9249 * lib/gdb.exp: Fix comment which erroneously identified
9250 gdb_file_cmd as gdb_load (the 19 May change was in fact to
9251 gdb_file_cmd not gdb_load).
9252 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
9253
9254 * gdb.base/setvar.exp: Make test names consistent between pass and
9255 fail cases. Use gdb_test more.
9256
9257Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9258
9259 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
9260
9261Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9262
9263 * gdb.base/help.exp: Fix expected help string for `show commands'.
9264
9265Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
9266
9267 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
9268
9269 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
9270 of a text section.
9271
9272Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
9273
9274 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
9275 that loop eventually terminates. Fix Connection refused logic so
9276 that testsuite will expire nicely.
9277
9278Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
9279
9280 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
9281 config/rom68k.exp: New tcl glue for the appropriate monitors.
9282 These all just end up calling monitor.exp.
9283 * config/monitor.exp (gdb_target_monitor): Handle `Connection
9284 refused' by retrying. Cleanup some timeout issues.
9285 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
9286 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
9287 callers don't have to set/restore global timeout variable.
9288
9289 * The following set of changes centralizes management of the global
9290 timeout variable. This way, it can be set in one target dependent
9291 place instead of dozens of places scattered throughout the test suite.
9292 If you need to lengthen a timeout, then you should either set timeout
9293 in one of the config/{target}.exp files, or multiply it by a factor.
9294 Setting it to an absolute value is always going to lose for some
9295 targets.
9296 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
9297 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
9298 * gdb.base/funcargs.exp: Don't set timeout.
9299 * gdb.base/list.exp (test_forward_search): Only use local timeout.
9300 * gdb.base/printcmds.exp (test_print_string_constants
9301 test_print_array_constants): Don't set timeout.
9302 * gdb.base/ptype.exp: Don't set timeout.
9303 * gdb.base/recurse.exp: Don't set timeout.
9304 * gdb.base/return.exp: Don't set timeout.
9305 * gdb.base/watchpoint.exp: Don't set timeout.
9306 * gdb.c++/classes.exp (do_tests): Don't set timeout.
9307 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
9308
9309Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
9310
9311 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
9312
9313Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9314
9315 * lib/gdb.exp: Disable chill tests for irix5.
9316
9317Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9318
9319 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
9320 each test pass or fail.
9321
9322Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9323
9324 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
9325 xlc not gcc.
9326
9327Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
9328
9329 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
9330
9331Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
9332
9333 * config/est.exp: Fix copyright and comments. Remove dead code.
9334 Use targetname, serialport and baud variables instead of fixed
9335 constants.
9336 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
9337 * config/cpu32bug.exp: New file to support cpu32bug monitors.
9338
9339Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9340
9341 * gdb.base/watchpoint.exp: Don't run
9342 test_watchpoint_triggered_in_syscall for sunos.
9343
9344Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9345
9346 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
9347 they don't seem to exist. Do include stdio.h.
9348
9349Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9350
9351 * gdb.base/a1-selftest.exp: Add alpha xfail.
9352
9353Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9354
9355 * gdb.base/watchpoint.c (main): Prompt before calling read().
9356 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
9357 Revise accordingly. Remove cruft about sending "123" several
9358 times, until it gets noticed. Clean up the "print buf[0]" stuff
9359 so that it passes or fails, and waits for prompts in the usual way.
9360
9361Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9362
9363 * gdb.base/recurse.exp: Fix comment.
9364
9365 * TODO: Remove item about printing variables in nodebug.exp. Add
9366 item about enabling tests which are only run on some targets.
9367
9368 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
9369 fail, make test names unique, use new gdb_test convention
9370 regarding pattern, use gdb_test more, etc.).
9371
9372 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
9373 fail, make test names unique, etc.).
9374
9375Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9376
9377 * gdb.base/nodebug.c: Change return type of top and middle to
9378 short.
9379 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
9380 are fixed by the recent mdebugread.c changes. Allow `short ()'
9381 as type for top and middle.
9382
9383Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9384
9385 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
9386 nearly as I can tell, the whole thing was an accident in Stu's
9387 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
9388 to replace a send/expect pair with gdb_test, but ended up only
9389 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
9390 of 30 Mar 1995 took care of it, but left this vestigial comment
9391 which I am now nuking.
9392
9393Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9394
9395 * gdb.base/break.exp: Look for different line number for
9396 breakpoint at main depending on usestubs.
9397
9398Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9399
9400 * gdb.base/list.exp: Adjust some alternate expect patterns to
9401 match recent list0.c change. Add alternate expect pattern for
9402 output from `list default lines around main' for optimizing
9403 compilers.
9404
9405Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9406
9407 * lib/gdb.exp: If nosignals is not set, set it to 0.
9408
9409Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
9410
9411 * config/slite-gdb.exp: Responds to load symbol table prompt.
9412 * gdb.base/break.exp: Adjust line number, fix rerun.
9413 * gdb.base/langs0.c: Add #ifdef usestubs.
9414
9415Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
9416
9417 * gdb.base/list.exp: Adjust line contents after adding new lines in
9418 list0.c. Also fix a syntax error.
9419
9420 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
9421 * gdb.base/break.exp: ditto.
9422 * gdb.base/list.exp: ditto.
9423 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
9424 * gdb.base/run.c: ditto.
9425 * gdb.base/list0.c: ditto.
9426 * gdb.base/funcargs.c: ditto.
9427
9428Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
9429
9430 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
9431 $targetname, $serialport and $baud instead of hardwired variables.
9432 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
9433 target doesn't support signals.
9434
9435Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
9436
9437 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
9438
9439Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9440
9441 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
9442 Don't rely on the value of an auto variable before it has been
9443 initialized. Use gdb_test more.
9444
9445Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9446
9447 * lib/gdb.exp (default_gdb_version): A version number must start
9448 with a digit, but other than that contains all characters up to
9449 the first whitespace character.
9450
9451Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9452
9453 * gdb.base/commands.exp (breakpoint_command_test): New tests.
9454
9455Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9456
9457 * gdb.c++/*.exp: Warn if executable does not exist. The original
9458 reason for skipping the warning was that configure.in sometimes
9459 intentionally skipped building the executables but the tcl code
9460 had no way of knowing. That (a) was always bogus with respect to
9461 error handling, (b) is no longer true (right now there is no way
9462 to skip C++ tests).
9463
9464 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
9465
9466Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9467
9468 * gdb.base/list.exp: Add expect patterns for output from
9469 SunPRO compiled executables.
9470 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
9471 types.
9472
9473Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9474
9475 * gdb.base/break.exp (test_next_with_recursion): Accept any line
9476 number (we are already testing that the correct source line text
9477 gets printed).
9478
9479 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
9480 that is what is intended, but something needed to be done to get
9481 sunos4 native working again.
9482
9483 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
9484
9485 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
9486 apparently went with a (very) old xfail.
9487
9488Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
9489
9490 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
9491 runto_main is a proc in gdb.exp that will do 'step' for target use
9492 stubs.
9493 * gdb.base/exprs.exp: ditto.
9494 * gdb.base/interrupt.exp: ditto.
9495 * gdb.base/opaque.exp: ditto.
9496 * gdb.base/printcmds.exp: ditto.
9497 * gdb.base/ptype.exp: ditto.
9498 * gdb.base/scope.exp: ditto.
9499 * gdb.base/setvar.exp: ditto.
9500 * gdb.base/signals.exp: ditto.
9501 * gdb.base/twice.exp: ditto.
9502 * gdb.c++/classes.exp: ditto.
9503 * gdb.c++/inherit.exp: ditto.
9504 * gdb.c++/templates.exp: ditto.
9505 * gdb.base/break.exp: no run and hit main for stubs. Change line
9506 numbers for breakpoints and info breakpoint.
9507 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
9508 breakpoint().
9509 * gdb.base/callfuncs.c: ditto.
9510 * gdb.base/exprs: ditto.
9511 * gdb.base/interrupt.c: ditto.
9512 * gdb.base/opaque0.c: ditto.
9513 * gdb.base/printcmds.c: ditto.
9514 * gdb.base/ptype.c: ditto.
9515 * gdb.base/scope0.c: ditto.
9516 * gdb.base/setvar.c: ditto.
9517 * gdb.base/signals.c: ditto.
9518 * gdb.base/twice.c: ditto.
9519 * gdb.c++/misc.cc: ditto.
9520 * gdb.c++/templates.cc: ditto.
9521
9522Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9523
9524 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
9525
9526 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
9527 somewhere between `read' and `main.c'. I'm pretty sure the
9528 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
9529 and it isn't particularly useful.
9530
9531 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
9532
9533Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9534
9535 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
9536
9537Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
9538
9539 * config/mt-slite: add LIBS and -nostdlib.
9540 * config/slite-gdb.exp: add this new file to support sparclite target.
9541
9542Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
9543
9544 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
9545
9546 * gdb.base/a2-run.exp: Change argument to istarget from
9547 "*-*-vxworks" to "*-*-vxworks*".
9548 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
9549
9550Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
9551
9552 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
9553 will not runto main but do a 'step' to step out of breakpoint().
9554 * config/mt-slite: add -Dusestubs.
9555
9556Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9557
9558 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
9559 instead of just @.
9560
9561 * gdb.base/signals.exp: Add test for "handle all print".
9562 * TODO: Remove "handle all print". Also remove item about
9563 checking copyright date (I don't like the idea of a spurious FAIL
9564 based on when we run the tests).
9565
9566 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
9567 for SunOS4 (reason for failure not investigated). Remove
9568 redundant test for $binfile.
9569
9570 * gdb.base/nodebug.c (array_index): Call malloc.
9571
9572 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
9573
9574Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
9575
9576 * gdb.base/recurse.exp: Update gdb_test invocation to use new
9577 conventions and slightly simplify the matching regexp.
9578
9579Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9580
9581 * gdb.base/break.exp: Update gdb_test invocation to use new
9582 convention.
9583
9584 * lib/gdb.exp: If noargs is not set, set it to 0.
9585
9586 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
9587 tests unique.
9588
9589 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
9590
9591Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9592
9593 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
9594 one argument of type "<non-float parameter>".
9595
9596Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
9597
9598 * config/rom68k.exp: New file to support Motorola IDP board.
9599 * gdb.base/a2-run.exp: Skip this file if noargs is set.
9600 * gdb.base/break.c: Change things around so that this program
9601 doesn't depend upon args. This is necessary to make remote
9602 targets work (in general, they can't take args).
9603 * gdb.base/break.exp: Don't try to send args to program. Don't
9604 expect output. Also, replace lots of code with gdb_test.
9605
9606Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9607
9608 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
9609 printing of '\'' (which is what the comment says we are testing,
9610 even though we were not), not '''.
9611 (test_integer_literals_rejected): Test that printing ''' is an error.
9612
9613 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
9614 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
9615 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
9616 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
9617 Use gdb_test not test_print_accept.
9618 * lib/gdb.exp: Remove test_print_accept.
9619
9620 * gdb.base/signals.exp (signal_tests_1): Make pass message
9621 consistent with fail message.
9622
9623 * gdb.base/whatis.exp: Remove xfails for printing char vs.
9624 unsigned char; the bug (PR 1821) is fixed.
9625
9626 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
9627
9628 * gdb.base/scope.exp (test_at_localscopes): Call pass for
9629 successful tests--makes xfailing them work right.
9630
9631Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9632
9633 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
9634 only \r\n, not .*. The test can pass .* as the last thing in
9635 $pattern if that is what it wants. In addition to providing this
9636 flexibility, this change should speed up pattern matching in cases
9637 where the pattern already ended with .* (there were a number of
9638 them). This change also helps catch bad patterns--in the old
9639 scheme the typo "char \*" instead of "char \\*" would pass. Now
9640 it is caught.
9641 * Many .exp files: Update callers.
9642
9643 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
9644 clearer and does not spuriously match multiple ('s. Likewise for
9645 ) and *.
9646
9647 * gdb.base/nodebug.exp: Test ability to call a function and pass
9648 it a string (even with no debugging info).
9649
9650 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
9651 "p '\'", which is the same as "p ''" once tcl gets done with
9652 quoting, to "p '\\'", which I suspect is what is intended (one
9653 backslash gets sent to GDB).
9654
9655 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
9656
9657Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9658
9659 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
9660 1817) was fixed literally years ago.
9661
9662Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9663
9664 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
9665 test, it causes stepping out of call_after_alloca_subr with
9666 optimizing compilers.
9667 (localvars_in_indirect_call): Consume GDB prompt if `finish'
9668 fails.
9669
9670 * gdb.c++/templates.exp: Source templ-info.exp only if
9671 the templates executable exists.
9672
9673 * gdb.c++/misc.cc (class Contains_static_instance,
9674 class Contains_nested_static_instance),
9675 gdb.c++/classes.exp (test_static_members): Test printing of
9676 a class that contains a static instance of the class.
9677
9678Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9679
9680 * gdb.base/langs2.c (cppsub_): Don't prototype.
9681 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
9682 only, I believe).
9683
9684Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9685
9686 * lib/gdb.exp (skip_chill_tests): New procedure.
9687
9688 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
9689
9690Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
9691
9692 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
9693 each expect pattern. Cuts runtime from 12 to about 4 seconds.
9694
9695Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9696
9697 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
9698
9699 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
9700 disassemble 8, not 16, instructions for part 4.
9701
9702 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
9703 support the latter anymore.
9704
9705 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
9706 -DNO_PROTOTYPES.
9707 * gdb.base/callfuncs.c: Control use of prototypes based on
9708 NO_PROTOTYPES, not __STDC__.
9709 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
9710 t_float_values2 tests if prototypes in use.
9711
9712 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
9713 t_double_values): When checking differences against DELTA, check
9714 that difference is within the range (-DELTA,DELTA), not just
9715 (-infinity,DELTA).
9716
9717Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
9718
9719 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
9720 'file' command firts, then 'target', then 'load', this is due to gdb
9721 target set up.
9722 * config/mips-gdb.exp: Fix a couple regular exp bugs.
9723
9724Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
9725
9726 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
9727 FP load/store variants.
9728 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
9729
9730Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
9731
9732 * gdb.base/term.exp: Do not give a warning if not native, it is
9733 not an abnormal condition.
9734
9735Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
9736
9737 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
9738 t_char_array".
9739
9740Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
9741
9742 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
9743 are getting the version number.
9744
9745 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
9746 if not native, it is not an abnormal condition.
9747
9748Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9749
9750 * lib/gdb.exp: Just use "file exists", rather than undocumented
9751 dejagnu procedure "findfile".
9752
9753Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
9754
9755 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
9756 (LDFLAGS): Set to -Xlinker -Ur.
9757
9758 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
9759 Removed, these values are set by lib/gdb.exp.
9760
9761 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
9762
9763Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
9764
9765 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
9766 of replicating gdb startup code.
9767
9768 * config/mt-vxworks (LDFLAGS): Set to -r.
9769 (CFLAGS_FOR_TARGET): Removed.
9770
9771 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
9772 (gdb) and gdb for vxworks uses (vxgdb).
9773
9774 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
9775 executable is not in the tree and host != target, use sed and
9776 program_transform_name to determine the gdb name used by the
9777 target.
9778
9779 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
9780 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
9781
9782Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9783
9784 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
9785 floats, chars, and shorts where there are ANSI-style function
9786 definitions.
9787
9788 * gdb.base/langs.exp, gdb.base/langs*: New test.
9789 * gdb.base/Makefile.in: Build it.
9790 * TODO: Remove item about checking that C names don't get C++
9791 demangling applied; this test tests it.
9792
9793Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9794
9795 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
9796 went with the const70 xfail. The xfail went away a year ago.
9797
9798 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
9799
9800 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
9801 for hp300.
9802
9803 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
9804
9805 * gdb.base/a1-selftest.exp: Don't run on hp300.
9806
9807Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9808
9809 * Makefile.in (site.exp): Set host_alias and target_alias as well
9810 as host_triplet and target_triplet.
9811
9812Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9813
9814 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
9815
9816 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
9817 places as other ecoff systems).
9818
9819 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
9820 ultrix.
9821
9822Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9823
9824 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
9825 remove them.
9826 * gdb.base/nodebug.exp: Accept "function" in addition to "text
9827 variable and "variable" in addition to "data variable".
9828 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
9829
9830 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
9831 2.
9832 * gdb.base/list1.c (long_line): Add additional statement at start
9833 of function.
9834 * gdb.base/list.exp (test_forward_search): Update line number to
9835 reflect new statement.
9836
9837Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9838
9839 * gdb.base/signals.exp: Reinitialize searched source directories
9840 after gdb_start call.
9841
9842Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
9843
9844 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
9845 * gdb.stabs/Makefile.in: Likewise.
9846
9847 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
9848 change. Instead split the tests into smaller pieces.
9849 * gdb.disasm/hppa.s: Corresponding changes.
9850
9851Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9852
9853 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
9854 Quote ^C when passing it to stty. For some shells ^ is a pipe.
9855
9856 * gdb.base/funcargs.exp: Modify many tests so that every test
9857 either passes or fails. Make some test names unique.
9858
9859Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9860
9861 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
9862 Call stty to set interrupt character.
9863
9864 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
9865 for HP assembler versus GNU assembler based on actual behavior of
9866 $(CC), rather than assuming that $(AS) is always the GNU assembler.
9867
9868 * TODO: Suggest a few more stepping tests.
9869
9870Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
9871
9872 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
9873 restart GDB for h8300 after a continue.
9874 (return): Add pattern to match a29k-udi behavior.
9875 * gdb.base/nodebug.exp: Remove obsolete comment.
9876 * gdb.base/regs.exp: New file, testing of register displays.
9877 * gdb.base/return.exp: Fix typo in reference to $objdir.
9878 * gdb.base/whatis.exp: Always start with a fresh GDB.
9879
9880Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9881
9882 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
9883 higher, these tests generate a lot of output.
9884
9885Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9886
9887 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
9888 code following the catch silently ignored some errors; without the
9889 catch they should be thrown like any other tcl error. Also, the
9890 catch used "" instead of {} which meant all the callers who wanted
9891 to include one of the characters "[]$ had to quote it an extra time.
9892 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
9893 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
9894 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
9895 Remove extra quoting.
9896
9897Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
9898
9899 * gdb.base/commands.exp: Make test names unique; every test either
9900 passes or fails. Update some comments.
9901
9902 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
9903
9904Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9905
9906 The following fixes a FAIL caused by the fact that the alpha stabs
9907 configuration didn't use the ".if alpha" code in weird.def.
9908 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
9909 bit pointer, so the 32 bit version works even on the alpha.
9910 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
9911 Remove the stuff which allowed us to have separate versions for
9912 alpha and everything else.
9913
9914 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
9915 regexp which "info func operator\[\](" is supposed to match. Fix
9916 string to send to GDB. Note that GDB still doesn't work right. Add a
9917 new test for "info func .perator\[\](" which GDB does handle correctly.
9918
9919 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
9920
9921Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9922
9923 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
9924 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
9925 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
9926 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
9927 it makes the tests harder to understand and confuses test-o-matic.
9928 The preferred style is that each test provides a PASS or a FAIL,
9929 and has a unique message (e.g. "continue #54" not just "continue")
9930 which is the same for the pass and the fail.
9931 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
9932 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
9933 to lib/gdb.exp.
9934 * gdb.base/printcmds.exp: Use test_print_accept. Remove
9935 prt_accept which was basically the same thing. Likewise for
9936 test_print_reject and prt_reject.
9937 * lib/gdb.exp (test_print_reject): Add some more error message
9938 patterns to match from the former printcmds.exp (prt_reject).
9939 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
9940 One defect of the passcount stuff is that some of it failed to
9941 report XPASS where appropriate.
9942 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
9943 stuff before and after arg in expected pattern.
9944 (test_paddr_operator_functions): Re-do test without print_addr_of;
9945 this is the only test which seems to want extra stuff there.
9946
9947Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9948
9949 * gdb.base/nodebug.exp: Update new tests to reflect improved
9950 wording of gdb output.
9951
9952 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
9953 and "ptype" work on variables in files compiled without -g.
9954 Replaces commented out "maint print msymbol" tests.
9955
9956Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9957
9958 * gdb.base/setvar.c (dummy): Call malloc.
9959
9960 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
9961 losing with the irix4 sed.
9962
9963 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
9964 ALRM" on irix4.
9965
9966Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9967
9968 * TODO: Remove items about corefile.exp testing new exec-file and
9969 backtrace; both are now done. Add items about printing enums.
9970
9971Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9972
9973 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
9974 "get signal $thissig" test fails.
9975
9976 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
9977
9978Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9979
9980 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
9981 compiler warning with dec alpha compiler.
9982
9983 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
9984 extra \n from gdb_test call (this explains why the prompt test
9985 that I removed yesterday was there).
9986 (user_defined_command_test): Remove extra \n and prompt test.
9987
9988 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
9989 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
9990 doesn't exist.
9991 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
9992 Also remove alpha workaround, which turns out to be because
9993 SIGABRT == SIGLOST.
9994
9995 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
9996
9997 * gdb.base/help.exp: Don't test "help show".
9998
9999Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
10000
10001 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
10002 "set print address" is on.
10003 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
10004 pass prompt to gdb_test; gdb_test already looks for the prompt.
10005
10006 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
10007
10008 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
10009 was a vestige of the manual TESTSTRATEGY, and the purpose of it
10010 was to make sure that gdb can read a core file. But (a) the "read
10011 the corefile" part didn't make it to a1-selftest.exp, we just
10012 delete the corefile after creating it, and (b) we test reading
10013 corefiles in corefile.exp anyway. Also, this test left around a
10014 xgdb process on Solaris.
10015
10016 * gdb.base/corefile.exp: Also test backtrace.
10017
10018Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
10019
10020 * gdb.base/commands.exp: Test a simple user defined command with
10021 arguments and if/while statements; verify the full user command is
10022 printed by "show user".
10023
10024 * gdb.base/commands.exp: Test if/while commands as part of a
10025 breakpoint command list; verify they appear in breakpoint
10026 information.
10027
10028Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
10029
10030 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
10031 than by dividing by zero.
10032
10033Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
10034
10035 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
10036 performing an inferior call with watchpoints enabled.
10037 * gdb.base/watchpoint.c (main): Delete second unnecessary read
10038 call.
10039
10040Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
10041
10042 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
10043 of "file" command.
10044
10045 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
10046 Add additional pattern for when "int operator int(void);" appears
10047 in a different order.
10048
10049Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
10050
10051 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
10052
10053 * gdb.base/help.exp: Replace most of docstrings for "info signals"
10054 and "signal" with ".*".
10055
10056Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10057
10058 * TODO: Add note about "handle all nostop".
10059
10060 * gdb.base/{sigall.c, sigall.exp}: New test.
10061 * gdb.base/Makefile.in: Add it.
10062
10063Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
10064
10065 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
10066 when invoking GDB, suppresses any windowing interface.
10067
10068Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
10069
10070 * config/sim-gdb: New file, simulator testing support.
10071
10072Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
10073
10074 * gdb.base/interrupt.exp: Test calling func1 twice.
10075
10076Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
10077
10078 * gdb.base/list.exp (test_forward_search): Set timeout higher
10079 when we'll be getting lots of output from gdb.
10080
10081 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
10082 "init_malloc" to after the expect statement. Run it if that
10083 regexp is taken, but also for two others which happen if source
10084 cannot be found.
10085
10086Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10087
10088 * gdb.base/printcmds.exp: New test, for printing register before
10089 program is running.
10090
10091Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10092
10093 * gdb.base/list.exp: Correct some alternate expect patterns
10094 to reflect changes in list1.c.
10095
10096Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10097
10098 * TODO: Add item regarding large frames.
10099
10100 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
10101
10102 * TODO: Remove item about enabling return.exp; it
10103 is enabled. Suggest a few more "return" tests.
10104
10105Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10106
10107 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
10108 anonymous unions.
10109
10110Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10111
10112 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
10113 and pr-5646.o, so "make" is the same as "make all", not "make
10114 pr-4975.o".
10115
10116Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
10117
10118 * gdb.base/list.exp: Adjust expectations to reflect changes in
10119 list1.c.
10120 (test_forward_search): New test proc.
10121 * gdb.base/list1.c (long_line): New function, has long source line.
10122
10123Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
10124
10125 * gdb.base/a1-selftest.exp: Change initial stepping to know about
10126 additional line of code that was added.
10127
10128Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
10129
10130 * gdb.disasm/hppa.s: Break the large branching tests into smaller
10131 tests so as not to overflow expect's input buffers.
10132 * gdb.disasm/hppa.exp: Corresponding changes.
10133
10134Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10135
10136 Beginnings of template debugging tests.
10137 * gdb.c++/templ-info.cc: New file to test for template
10138 debugging capability of the compiler.
10139 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
10140 templ-info.cc.
10141 * gdb.c++/templates.cc: Add explicit template instantiations
10142 to enable compiling with -fno-implicit-templates. Add destructor
10143 and 'value' method to T5 class for template tests.
10144 * gdb.c++/templates.exp: Add testcases for printing of template
10145 types, setting breakpoints on template methods and calling a
d63a86f8 10146 template method.
c906108c
SS
10147
10148Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
10149
10150 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
10151 branch target since some assemblers (gas-2.5) may emit a
10152 relocation for the branch instead of resolving it in the
10153 assembler.
10154
10155Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10156
10157 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
10158 through signal handler.
10159
10160Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
10161
10162 * configure.in (*-*-netware): Use config/mt-netware.
10163
10164 * config/mt-netware: New file.
10165 * config/mt-i386-netware: Removed, separate configs for different
10166 netware architectures are no longer needed now that we have
10167 --with-headers.
10168
10169Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10170
10171 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
10172 by the recent changes to use ANSI C arithmetic conversions.
10173
10174Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10175
10176 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
10177 bug involving using inferior_pid to figure out whether to select a
10178 frame.
10179
10180Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
10181
10182 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
10183 match the current disassembler output.
10184
10185Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
10186
10187 * gdb.fortran/exprs.exp: Expect VOID instead of void.
10188 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
10189 types, expect "int" as type of integer values (for now).
10190
10191Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
10192
10193 * gdb.base/commands.exp: New tests for if/while commands.
10194
10195Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
10196
10197 * lib/gdb.exp (runto): Replace sub-pattern for hex value
10198 by .*, since hex values have different syntax in Chill mode.
10199
10200Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10201
10202 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
10203 linefeed from expect pattern for repeated types with indices > 9.
10204
10205Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
10206
10207 First part of Fortran test suite.
10208 * gdb.fortran: New directory.
10209 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
10210
10211Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10212
10213 * gdb.base/default.exp: Update expect pattern for load command
10214 without arguments.
10215
10216Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
10217
10218 * configure.in: Change i386 to i[345]86.
10219 * gdb.base/configure.in: Likewise.
10220 * gdb.c++/configure.in: Likewise.
10221 * gdb.chill/configure.in: Likewise.
10222
10223Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
10224
10225 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
10226 patterns, since that is not a valid context for comments.
10227
10228Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
10229
10230 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
10231 repeated types and repeated types with indices > 9.
10232
10233Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
10234
10235 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
10236 2417; old bug has been fixed.
10237
10238Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
10239
10240 * gdb.base/interrupt.exp: When trying to wake up the inferior,
10241 send the newline ourselves instead of assuming gdb_test will do
10242 so when passed an empty input string.
10243
10244 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
10245 stabs testcode.
10246
10247Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
10248
10249 * lib/gdb.exp (gdb_test): Don't send anything if the first
10250 argument is an empty string. This makes cases where we want to
10251 match output that is already in expect's buffers (for example,
10252 matching a breakpoint after gdb_run_cmd has been called) work
10253 reliably.
10254
10255Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
10256
10257 * config/netware.exp: New file.
10258
10259Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
10260
10261 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
10262 the -B and -L prefixes so we can find the debugging stub.
10263
10264 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
10265 there and we are using the gcc from the tree.
10266
10267 * gdb.base/types.c: Removed.
10268
10269 * gdb.base/configure.in: Look for makefile fragments in ../config.
10270 Recognize i386-*-netware.
10271 * gdb.c++/configure.in: Likewise.
10272
10273Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10274
10275 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
10276 the correct TCL syntax.
10277
10278Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
10279
10280 * gdb.base/opaque.exp: use runto instead of messing around with
10281 breakpoints. Simplify by using gdb_test.
10282
10283 * gdb.base/bitfields.exp: restart between tests on netware targets
10284 because breakpoints aren't relocated after target death. Run
10285 processes to completion.
10286
10287 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
10288
10289Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
10290
10291 * Makefile.in: Remove extra tabs that confuse some versions
10292 of "make". Use the newly built gdb to test with by default,
10293 rather than the first one in the tester's search path.
10294
10295Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
10296
10297 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
10298
10299 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
10300 condition help.
10301
10302Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
10303
10304 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
10305
10306 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
10307 running.
10308 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
10309 * gdb.base/funcargs.exp: Likewise.
10310
10311 * gdb.base/bitfields.exp: Simplify by using gdb_test.
10312 * gdb.base/funcargs.exp: Likewise.
10313
10314 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
10315 message is "".
10316
10317Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
10318
10319 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
10320 return,signals,twice}.exp: Handle non-existant binaries
10321 consistantly.
10322
10323 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
10324 * gdb.base/Makefile.in: Don't try to generate a core dump, we
10325 might testing a cross development system.
10326
10327Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
10328
10329 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
10330 runtest script is relative to ${srcdir}, not ${rootdir}.
10331
10332Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
10333
10334 * gdb.base/signals.exp: Allow for optionality of breakpoint
10335 address.
10336
10337Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10338
10339 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
10340
10341Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
10342
10343 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
10344 for size_t definition.
10345 * gdb.c++/templates.cc: Likewise
10346
10347 * config/mt-i386-netware: New file.
10348
10349 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
10350 defined.
10351
10352 * gdb.base/Makefile.in: Added support for systems that name core
10353 files by appending "core" to the program name.
10354 * gdb.base/a1-selftest.exp: Likewise.
10355
10356Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10357
10358 * gdb.base/return.exp: Add comment and message for `return double'
10359 test failure on Sparc Solaris.
10360
10361Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
10362
10363 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
10364
10365Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10366
10367 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
10368 from optimizing them away.
10369 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
10370 patterns to include default constructors and assignment operators,
10371 to match gcc versions beyond 2.5.8. Accept any cplus demangling
10372 character in the output of the virtual base pointer.
10373
10374Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10375
10376 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
10377 expression match in print_addr_of to avoid unintented matches.
10378 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
10379 versions up to 2.5.8.
10380
10381Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10382
10383 * gdb.base/list.exp: Tweak alternate pattern for listing of an
10384 included file to run under newer versions of expect.
10385 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
10386 consecutive >'s in templates to accomodate recent cplus-dem.c change.
10387 Remove xfail for the virtual table of BDDHookV.
10388
10389Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
10390
10391 * lib/gdb.exp (string_to_regexp): Set a default result.
10392 (default_gdb_start): Fix misleading message.
10393
10394Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
10395
10396 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
10397 Remove all CC, etc definitions.
10398 * config/mt-hpux: New file.
10399 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
10400 (CFLAGS, LDFLAGS): Define.
10401 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
10402
10403 * Makefile.in (site.exp): Don't insert host_os, etc.
10404 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
10405 (distclean): Check existence of subdir.
10406 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
10407 * gdb.base/Makefile.in: General cleanup and simplification.
10408 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
10409 to build executables. Use default rule to build .o files.
10410 (EXPECT, RUNTEST, CC): Fix relative pathname.
10411 (site.exp): Don't insert host_os, etc.
10412 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
10413 and/or SIGUSR1 defined.
10414 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
10415 * gdb.c++/Makefile.in: General cleanup and simplification.
10416 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
10417 (CFLAGS): Remove.
10418 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
10419
10420Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
10421
10422 * gdb.base/recurse.exp: Misc changes to get tests running again
10423 after Kung's changes to the watchpoint code.
10424 * gdb.base/watchpoint.exp: Likewise.
10425
10426Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
10427
10428 * lib/gdb.exp (string_to_regexp): Convert {\} also.
10429
10430Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
10431
10432 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
10433 * lib/gdb.exp (default_gdb_start): Define.
10434 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
10435 gdb.base/funcargs.exp, gdb.base/opaque.exp,
10436 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
10437 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
10438 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
10439 Don't call gdb_target_udi in between tests.
10440
10441Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10442
10443 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
10444 (which was basically just a local version of the same thing). In
10445 addition to avoiding duplication, gdb_test_exact is faster.
10446 * lib/gdb.exp (gdb_test_exact): Fix typo.
10447
10448 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
10449 don't give an error.
10450
10451 * gdb.base/term.exp: Call delete_breakpoints before starting.
10452
10453 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
10454 (t10): Add comment.
10455
10456Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
10457
10458 Reorganization of the GDB Test Suite.
10459
10460 * gdb.base: New directory, contains all the basic tests.
10461 * gdb.c++: New directory, tests specific to C++.
10462 * gdb.chill: New directory, tests specific to Chill.
10463 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
10464 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
10465 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
10466 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
10467 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
10468 t30-31 to chill).
10469 * */gdbme.*: Rename to match appropriate expect scripts.
10470 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
10471 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
10472 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
10473 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
10474 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
10475 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
10476 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
10477 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
10478 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
10479 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
10480 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
10481 gdb.c++/virtfunc.cc: New names of C++ files.
10482 * gdb.chill/chillvars.ch: New name of Chill file.
10483 * gdb.base/configure.in, gdb.c++/configure.in,
10484 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
10485 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
10486 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
10487 * configure.in (configdirs): Update to reflect directory changes.
10488 (target_abbrev): No longer define for any configuration.
10489 * Makefile.in: Cosmetic improvements to header comments.
10490
10491Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
10492
10493 Various changes to gdb.t31:
10494
10495 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
10496 * gdbme.ch: Make all key-words and predefineds be upper-case.
10497 * chillvars.exp: Expect key-words and predefinds in upper-case.
10498
10499 * chillvars.exp: Use gdb_test_exact many places.
10500 Change expected output for arrays (which now includes index labels).
10501
10502 * pr-5020.exp, gdme.ch (module PR_5020):
10503 New test, for PR-5020.
10504
10505Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
10506
10507 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
10508 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
10509
10510Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
10511
10512 * Makefile.in: Fix bit-rot in definitions of CHILL,
10513 CHILL_FOR_TARGET and Chill_LIB.
10514 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
10515 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
10516 CHILL, and CHILL_LIB.
10517
10518Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
10519
10520 * Revert the previous changes. Please see Rob's directory
10521 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
10522
10523Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
10524
10525 * Makefile.in, configure.in, config/mips-gdb.exp,
10526 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
10527 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
10528 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
10529 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
10530 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
10531 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
10532 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
10533 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
10534 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
10535 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
10536 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
10537 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
10538 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
10539 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
10540 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
10541 changes from 94Q1.
10542
10543Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
10544
10545 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
10546 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
10547 Rob's new testing fragments.
10548
10549Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
10550
10551 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
10552 lib/gdb.exp: Replace error proc calls with perror.
10553
10554Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
10555
10556 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
10557 version also, match on casted version strings, and match on
10558 gdb startup case where the line numbers might be messed up.
10559
10560Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
10561
10562 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
10563 (CFLAGS): Delete it from here.
10564
10565Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
10566
10567 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
10568
10569Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
10570
10571 * Makefile.in (RUNTEST): Default to just "runtest".
10572
10573Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10574
10575 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
10576 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
10577 the code has been restructured.
10578
10579Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10580
10581 * gdb.t00/default.exp (set write): Allow any number of \r and/or
10582 \n, not just one of each.
10583
10584 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
10585 /bin/cc gives a warning if you do.
10586
10587Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
10588
d63a86f8 10589 * gdb.t24/demangle.exp: change expect pattern of
c906108c
SS
10590 __t10ListS_link1ZUiRCUiPT0
10591
10592Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10593
10594 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
10595 on local variables in recursive functions.
10596
10597 * gdb.t07/Makefile.in: Build the new test.
10598
10599Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10600
10601 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
10602 directly. Instead compare the return values from actual calls.
10603
10604Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
10605
10606 * Makefile.in (check): Set TCL_LIBRARY for runtest.
10607
10608Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10609
10610 * From Peter Schauer with minor modifications.
10611 * gdb.t15/return.exp (return_tests): Handle targets where "return"
10612 stops in mid-line in the caller. Add xfail for returning a float
10613 value on X86 targets.
10614
10615Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10616
10617 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
10618 to avoid expect lossage.
10619 (fmem_LRbug_tests): Likewise.
10620 * gdb.disasm/hppa.s: Corresponding changes.
10621
10622 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
10623 conditions to work with latest dejagnu/expect.
10624
10625 * gdb.t15/funcargs.exp (finish from indirect call): No longer
10626 expected to fail on the PA.
10627 (backtrace in call with trampolines): Explicitly require main
10628 to be frame #1 (no trampolines should show up in backtrace).
10629
10630 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
10631 "continue -expect".
10632 * gdb.t06/break.exp: Likewise.
10633 * gdb.t07/watchpoint.exp: Likewise.
10634 * gdb.t13/bitfields.exp: Likewise.
10635 * gdb.t15/{funcargs,return}.exp: Likewise.
10636 * gdb.stabs/weird.exp: Likewise.
10637 * config/{mips,udi}-gdb.exp: Likewise.
10638
10639 * hppa.sed: Enclose comments within a sed command to avoid
10640 losing with the old OSF1 sed.
10641
10642Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10643
10644 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
10645 sequent dynix.
10646 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
10647 * gdb.t15/funcargs.exp: Conditionally step again to really
10648 finish from marker_call_with_trampolines. Handle the case where
10649 the first step from within call_with_trampolines already steps
10650 us back to main.
10651 * gdb.t15/gdbme.c: Add comment to closing brace of
10652 call_with_trampolines for funcargs.exp.
10653
10654Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10655
d63a86f8 10656 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
c906108c
SS
10657 Fix typo(s).
10658
10659Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10660
10661 * gdb.t07/gdbme.c: More code for watchpoint testing.
10662
10663 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
10664 "Hardware watchpoint" throughout file.
10665 (test_watchpoint_triggered_in_syscall): New test.
10666 (test_complex_watchpoint): New test.
10667
10668Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10669
10670 * gdbme.c (call_with_trampolines): New function to try and step
10671 into. Tests trampoline problems on the PA.
10672
10673 * funcargs.exp (localvars_in_indirect_call): No longer expect
10674 stepping into indirect call to fail on PAs.
10675 (test_stepping_over_trampolines): New test.
10676
10677Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10678
10679 * TODO: Add suggestions for static member function tests, and
10680 completion tests.
10681
10682Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10683
10684 * TODO: Add suggestions for "p/a" tests.
10685
10686 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
10687 (default_gdb_exit): Replace all the hair with sending "quit" to
10688 the process with a simple close.
10689
10690Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10691
10692 * TODO: Add suggestions for shared library tests.
10693
10694Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10695
10696 * TODO: Add suggestions for x/s tests.
10697
10698Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10699
10700 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
10701 "enable once", and "enable breakpoints once" with ".*".
10702
10703Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10704
10705 * TODO: Add suggestions about structure passing tests.
10706
10707Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10708
10709 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
10710 the primary1 test, use work around if __GNUC__ < 2.
10711 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
10712 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
10713 Test for bad output rather than waiting for timeout. Issue
10714 second continue only if first continue failed.
10715
10716Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
10717
10718 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
10719 operator[] test with gdb_test because the old code didn't seem to
10720 be getting the quoting right with the new dejagnu.
10721
10722Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
10723
10724 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
10725 one from the path.
10726 * Makefile.in: Use a fresh expect if there is one, use runtest
10727 from the src tree if there is one.
d63a86f8 10728
c906108c
SS
10729Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
10730
10731 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
10732 next over recursive call. Revise the tests from that point on
10733 (which had been skipped) to match GDB's actual (correct) output.
10734
10735 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
10736 with next over a breakpoint whose condition is false.
10737
10738 * gdb.t00/help.exp: Comment out "help set print" tests just like
10739 (and for same reason as) "help set" test.
10740
10741Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10742
10743 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
10744 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
10745
10746Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10747
10748 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
10749 necessary gdb_target_udi.
10750
10751 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
10752
10753 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
10754 1838 and 2417; they are fixed.
10755
10756 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
10757 gdb.t03/ptype.exp (ptype structure, ptype union):
10758 Remove xfails; the test is looser than when the xfails were added.
10759
10760 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
10761 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
10762
10763 * gdb.t01/run.exp: Only run shell test if isnative.
10764
10765 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
10766 since "run" automatically loads if necessary. Call gdb_target_udi
10767 after the "file" since "file" kills any execution target.
10768
10769 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
10770 GDB. GDB doesn't work that way (not anymore at least) on UDI.
10771 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
10772 argument for UDI.
10773
10774Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
10775
10776 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
10777
10778 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
10779
10780Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10781
10782 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
10783 properly quoting regexps. This makes the second argument to
10784 demangle a fixed string, which matches the callers, instead of a
10785 shell-style pattern which is what the previous implementation
10786 used. Update some of the callers.
10787
10788Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10789
10790 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
10791 (comib_nullified_tests): Fix typo.
10792 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
10793 strings. No longer expected to fail.
10794
10795 * gdb.disasm/hppa.s (addib_tests): Fix typo.
10796 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
10797 strings. No longer expected to fail.
10798
10799 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
10800 string. No longer expected to fail.
10801
10802Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10803
10804 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
10805 No longer expected to fail.
10806
10807 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
10808 string. No longer expected to fail.
10809
10810Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10811
10812 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
10813 only in the names (I probably got most of them). I was even
10814 generous with some which differed in underscores in names, and
10815 probably missed a few, and I *still* was able to remove almost a
10816 third of the file with almost no impact on testsuite coverage.
10817
10818Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10819
10820 * gdb.t00/default.exp: Match udi_attach error message as well as
10821 the one from child_attach.
10822
10823 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
10824
10825 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
10826
10827 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
10828 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
10829
10830 * Move test with enums and partial symbols back to
10831 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
10832 Reverts the change of 26 May 93. Per today's change to
10833 stabs.texinfo, the behavior that weird.exp was expecting was
10834 unreasonable; what is important is that the compiler+gdb get
10835 things right, which happens with a recent gcc. Also fix the test
10836 to deal with native compilers which put out the stab gdb can't
10837 deal with.
10838
10839Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10840
10841 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
10842 in the names. The main thing these accomplish is to slow things down.
10843 Many more such duplicates surely remain.
10844
10845 * gdb.t00/help.exp: Comment out "help support" test just like
10846 (and for same reason as) "help set" test.
10847
10848Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
10849
10850 * gdb.t06/break.exp: Remove setup_xfails for
10851 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
10852 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
10853 about known bug in gcc to include up through 2.5.8.
10854 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
10855 well as "_vb$".
10856 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
10857 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
10858 with latest gcc and gdb.
10859 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
10860 well as "_vb$".
10861
10862Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10863
10864 * configure.in (hppa*-*-*): Also configure and build stabs-only
10865 tests.
10866
10867Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10868
10869 * gdb.t10/hppa.mt: A makefile fragment for the PA.
10870 * gdb.t10/configure.in (hppa*-*-*): Use it.
10871
10872Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10873
10874 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
10875
10876Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10877
10878 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
10879 versions prior to 1.13.5.
10880
10881Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10882
10883 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
10884 the prompt is at the start of a line.
10885
10886Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10887
10888 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
10889 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
10890 in the copr tests now.
10891 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
10892 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
10893 expected to fail.
10894
10895Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
10896
10897 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
10898 gdb.t31/chillvars.exp, lib/gdb.exp:
10899 Tweak to run under either version of expect.
10900 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
10901 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
10902 * gdb.t11/list.exp: Remove extraneous whitespace.
10903
10904Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10905
10906 * gdb.t16/printcmds.exp (test_print_strings): Accept
10907 "(unsigned char *) " before the string.
10908
10909 * TODO: Add notes about printing of fancy types and GDB expressions.
10910
10911Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
10912
10913 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
10914 * gdb.t06/configure.in: Don't try to compile signals test program
d63a86f8 10915 if doing mips-idt-ecoff.
c906108c
SS
10916
10917Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
10918
10919 * Most .exp files: Tweak to run under either version of expect.
10920
10921Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10922
10923 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
10924 xfails; I'm not sure why they are failing, but not because of PR 1806.
10925
10926Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
10927
10928 * config/unix-gdb.exp: Remove gdb_unload cause it's already
10929 defined in lib/gdb.exp.
10930
10931Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10932
10933 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
10934 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
10935 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
10936 have to be typeless.
10937
10938Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10939
10940 * TODO: Add suggestion for copyright year test.
10941
10942Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
10943
10944 * configure.in (*-*-lynxos*): Add stabs tests.
10945
10946Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
10947
10948 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
10949 so insert a tab before any assembler directive in column zero.
10950
10951 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
10952 stores.
10953 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
10954 stores.
10955 (fpu_short_memory_tests): Likewise.
10956
10957Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10958
10959 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
10960 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
10961 .stabs directives in comments.
10962
10963Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10964
10965 * TODO: New file, describing tests we could write.
10966 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
10967
10968Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10969
10970 * gdb.t06/signals.exp: Add kludge to force re-sync.
10971
10972 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
10973 to xgdb instead of gdb, get out of gdb.
10974
10975Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
10976
10977 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
10978 for info.
10979
10980Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
10981
10982 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
10983 * gdb.stabs/configure.in (hppa*-*-*): Use it.
10984 * gdb.stabs/hppa.sed: New sed script for the PA.
10985
10986Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10987
10988 * gdb.stabs: Re-write weird.def and configuration to use sed
10989 instead of cpp. sed is portable and POSIX; cpp is neither.
10990
10991Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10992
10993 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
10994
10995Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10996
10997 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
10998
10999Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11000
11001 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
11002 "_vb$".
11003 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
11004 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
11005
11006Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11007
11008 * lib/gdb.exp: Comment out code which depends on non-existent
11009 `transform' procedure.
11010
11011Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
11012
11013 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
11014 * lib/gdb.exp: Transform tool name.
11015 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
11016 1.1's new error handling system.
11017
11018Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11019
11020 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
11021
11022Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11023
11024 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
11025 They made pattern matching so slow that timeouts happened on
11026 heavily loaded systems. Now any output from "show print" which
11027 gets us back to the GDB prompt is a PASS.
11028
11029Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
11030
11031 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
11032
11033Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11034
11035 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
11036
11037 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
11038 It is not from PR 3220.
11039
11040Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11041
11042 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
11043 just started failing because they depended on the order the
11044 subcommands are presented, or exact docstring text. This kind of
11045 test is a pain and has minimal benefit.
11046
11047Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11048
11049 * gdb.t09/corefile.exp: At end of test, use "core" command with
11050 no arguments.
11051
11052Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
11053
11054 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
11055 17}/Makefile.in: Make it possible to run the testsuite with Sun
11056 make and CC = cross gcc by adding explicit build rules for .o
11057 files.
11058
11059Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11060
11061 * gdb.t15/funcargs.exp: Don't put comments on same line as
11062 setup_xfail (@#$*%& tcl braindamage!).
d63a86f8 11063
c906108c
SS
11064Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11065
11066 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
11067
11068Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
11069
11070 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
11071 * gdb.t20/inherit.exp: remove three dumplicate entries.
11072
11073Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11074
11075 * gdb.t06/break.exp: For "next over recursive call", fail on any
11076 incorrect output, not just on "factorial (value=2)".
11077
11078Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11079
11080 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
11081 working now. Add an xfail if accesing a bss variable causes
11082 a memory error if the target is not yet run.
11083
11084Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11085
11086 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
11087 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
11088 name of __st* demangling (2 strings). Did Kung really get the
11089 more than 95 others right without testing them?
11090
11091Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
11092
11093 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
11094
11095Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
11096
11097 * configure.in (configdirs): Add gdb.disasm
11098 * gdb.disasm: New directory for GDB disassembler tests.
11099 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
11100
11101Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11102
11103 * gdb.t00/help.exp: Don't test "help set".
11104
11105 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
11106 from within expect statements. None of these happen anymore and
11107 they cause regressions to be silently unnoticed.
11108
11109 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
11110 messages) about known failures with gcc cygnus-2.4.5-930417.
11111
11112 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
11113 comp-info.exp so it gets built if it doesn't exist.
11114
11115 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
11116 it is no longer used.
11117 * gdb.t13/comp-info.c: Removed.
11118
11119Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
11120
11121 * gdb.t06/signals.exp: Add xfail for sun3.
11122
11123Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11124
11125 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
11126 relevant because ^C doesn't get sent but failure can be reproduced
11127 interactively).
11128
11129Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11130
11131 * gdb.stabs/alpha.mt: New configuration file for alpha.
11132 * gdb.stabs/configure.in: Use it.
11133 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
11134 sharing with alpha.mt, redefine long to word via preprocessor.
11135 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
11136 for alpha.
11137 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
11138 native cc.
11139 * gdb.t00/teststrategy.exp: Change expect string so that we
11140 consume the `(xgdb)' from the command echo and from the gdb prompt.
11141 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
11142 gdb currently compares all values as long, so this failure probably
11143 applies to any configuration where LONGEST is bigger than a target int.
11144 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
11145 with gcc.
11146 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
11147 to handle opaque pointers, gcc is.
11148 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
11149 as first argument. Include <sys/types.h> and change all operator
11150 new definitions to use size_t.
11151 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
11152 now that we use size_t.
11153
11154Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11155
11156 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
11157 a long or float array cast all array members to the same type.
11158 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
11159 with 64 bit longs.
11160 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
11161 on alpha.
11162 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
11163
11164Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11165
11166 * gdb.t24 (demangle.exp): Constructors of templates have names like
11167 vector<int>::vector(int) not vector<int>::vector<int>(int). See
11168 section 14.6 of the ARM.
11169
11170 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
11171 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
11172 accomplish little and slow down the testsuite.
11173
11174 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
11175 Accept spaces various places.
11176
11177Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11178
11179 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
11180 with watchpoint enabled.
11181
11182 * Makefile.in: Remove definition of CC and remove the second
11183 definition of CXX (the "CXX = gcc" one remains). These definitions
11184 were causing backquotes to be expanded within backquotes, which
11185 doesn't work.
11186
11187Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
11188
11189 * gdb.t17/callfuncs.exp: Add "return 0" to end.
11190
11191Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11192
11193 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
11194 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
11195 by mips cc and contains no stabs entries.
11196
11197Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
11198
11199 * config/vx-gdb.exp: Use fake device to load files rather than
11200 NFS.
11201 * lib/gdb.exp: New proc to do "file" command.
11202 * config/unix-gdb.exp: Use new "file" proc.
11203
11204Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
11205
11206 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
11207 Rework board rebooting slightly.
11208 (gdb_exit): Don't exit from the remote shell; there isn't one.
11209 * gdb.stabs/weird.exp: If a program is being debugged already,
11210 kill it.
11211 * gdb.t04/setvar.exp: Stop and restart gdb.
11212 * gdb.t05/expr.exp: Likewise.
11213 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
11214 restart gdb and reload the program.
11215 * gdb.t08/opaque.exp: Likewise.
11216 * gdb.t12/scope.exp: Likewise.
11217 * gdb.t13/bitfields.exp: Likewise.
11218 * gdb.t15/funcargs.exp: Likewise.
11219 * gdb.t20/classes.exp: Likewise.
11220 * gdb.t03/ptype.exp: Increase timeout.
11221 * gdb.t16/printcmds.exp (test_print_string_constants,
11222 test_print_array_constants): Likewise.
11223 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
11224 * gdb.t20/classes.exp (do_tests): Likewise.
11225 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
11226
11227Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
11228
11229 * gdb.stabs: Renamed *wierd* to *weird*.
11230
11231Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
11232
11233 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
11234 for timeout. Add "known gcc 2.4.5 bug" to failure message.
11235
11236Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
11237
11238 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
11239 (do_tests): Remove xfail for whatis on one_var and two_var.
11240
11241Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
11242
11243 * Makefile.in: Made cross building work better by adding
11244 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
11245
11246Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11247
11248 * gdb.t15/{return.c,return.exp,Makefile.in}:
11249 New test, currently commented out.
11250
11251Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
11252
11253 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
11254 still running and removes the leftover named socket so GDb can do
11255 clean restarts.
11256
11257Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
11258
11259 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
11260 console, not GDB.
11261 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
11262 cross testing works better with "make check"
11263 * config/unix-gdb: Use default procedures for exit and version.
11264 * config/vx-gdb.exp: Cleaned up and massaged back to working order
11265 with the newest VxWorks.
11266
11267Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11268
11269 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
11270 old form.
11271
11272 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
11273 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
11274
11275 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
11276
11277 * config/unix-gdb.exp: Remove this version of gdb_exit
11278 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
11279 Rob says he'll look at it when he gets back to testing boards.
11280
11281Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
11282
11283 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
11284 an expected fail for certain ptype commands.
11285
11286 * gdb.t20/classes.exp: Update expected results of "ptype class
11287 Base1" to account for the constructor that now appears in the type.
11288
11289Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
11290
11291 * configure.in (configdirs): Restore gdb.t04, which mysteriously
11292 disappeared from list.
11293 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
11294 "alldone" proc with call to cleanup and exit.
11295 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
11296 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
11297 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
11298 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
11299 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
11300 "alldone" proc with simple returns that suppress remaining
11301 tests. The alldone proc went away many months ago.
11302
11303Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11304
11305 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
11306
11307 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
11308
11309Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11310
11311 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
11312 as vax gdb will display them.
11313
11314Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11315
11316 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
11317 optimizers.
11318
11319 * scope.exp: Change "bad value for localval" messages so each one
11320 is unique.
11321
11322 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
11323 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
11324
11325 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
11326
11327Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11328
11329 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
11330 doesn't exist (due to optimization).
11331
11332Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11333
11334 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
11335 contains \r because the filename is long.
11336
11337 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
11338 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
11339
11340Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11341
11342 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
11343 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
11344 Ultrix.
11345 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
11346 int tests.
11347 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
11348
11349Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
11350
11351 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
11352
11353 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
d63a86f8 11354 to match does not match the passing case but still matches the
c906108c
SS
11355 failing case.
11356
11357Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11358
11359 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
11360
11361Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
11362
11363 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
11364 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
11365 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
11366 Remove various versions of gdb_exit.
11367 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
11368 gdb_exit.
11369 * config/unix-gdb.exp: gdb_exit remains here, and should override
11370 the generic version, since it's doing a lot of wierd stuff that
11371 the other versions aren't. FIXME, fold it in, or abandon this
11372 version.
11373
11374Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11375
11376 * gdb.t24/demangle.exp: Add tests for PR 3220.
11377
11378Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11379
11380 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
11381
11382Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
11383
11384 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
11385 "i386-*-*". Works for i486 as well.
11386
11387 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
11388 bug, and expand domain of xfail to all SVR4 systems, since the
11389 actual problem is likely to be in generic SVR4 /proc support.
11390
11391Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11392
11393 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
11394
11395Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
11396
11397 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
11398 xfails for other systems. Match a missing 'Continuing.' as an
11399 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
11400
11401 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
11402 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
11403 Only issue warning for missing executables if -all option is used.
11404
11405 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
11406 file if -all option is used. It's like an unpredictable XFAIL.
11407
11408Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11409
11410 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
11411 for dynamically linked binaries.
11412
11413 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
11414
11415Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11416
11417 * gdb.t20/inherit.exp: Change message for "print tagless struct"
11418 to state that this is a known bug in old versions of g++.
11419
11420Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11421
11422 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
11423 while waiting for `Continuing'.
11424
11425Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
11426
11427 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
11428 in text, data, and bss.
11429 * gdb.t10/nodebug.c: Add local and global test variables for
11430 initialized and uninitialized data.
11431
11432Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11433
11434 * config/unix-gdb.exp (gdb_exit): Add "wait".
11435
11436Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11437
11438 * gdb.t06/signals.exp: xfail the continue from the handler for all
11439 targets.
11440
11441 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
11442 function with watchpoints enabled, the i386 call dummy starts with
11443 a call.
11444
11445 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
11446 386 bsd names its corefiles.
11447
11448Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
11449
11450 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
11451 compilers don't grok it.
11452 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
11453 with small octal ints rather than character constants, which
11454 are signed and might not fit if first promoted to int.
11455
11456Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
11457
11458 * gdb.t09/Makefile.in (clean): Remove corefile.
11459
11460Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11461
11462 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
11463
11464Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11465 and Jim Kingdon (kingdon@cygnus.com)
11466
11467 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
11468 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
11469 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
11470
11471Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11472
11473 * gdb.t17/interrupt.exp: Add xfail for hppa.
11474
11475Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11476
11477 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
11478 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
11479 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
11480 to determine signed-ness of bitfields and use the result to setup
11481 the xfail.
11482 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
11483 * gdb.t15/funcargs.exp: Use them to step until the second indirect
11484 call line is reached if necessary.
11485
11486Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11487
11488 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
11489
11490Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11491
11492 * gdb.t06/break.exp: Also test `clear' command.
11493
11494Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
11495
11496 * gdb.t00/teststrategy.exp: Remove extra quote.
11497
11498 * gdb.t07/watchpoint.exp: Change xfail for calling function with
11499 watchpoint enabled to be for all non-68k machines.
11500
11501 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
11502
11503Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11504
11505 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
11506 targets use aout.mt instead of ecoff.mt as gas understands
11507 standard aout format.
11508
11509Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
11510
11511 * lib/gdb.exp (runto): Don't insist that function we are running to
11512 was compiled with -g.
11513
11514 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
11515
11516 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
11517 to get back into the read system call.
11518 Accept leading newline in case where we woke it up.
11519
11520Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11521
11522 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
11523 to make the stabs test work on ecoff systems using gcc and -with-stabs.
11524 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
11525 enable ecoff configuration.
11526
11527Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11528
11529 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
11530
11531Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11532
11533 * gdb.t16/printcmds.exp: Add another printf test.
11534
11535Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
11536
11537 * configure.in: If configured -with-stabs on any target, add
11538 stabsdirs to configdirs.
11539
11540Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11541
11542 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
11543 fun" so pattern does not match the command itself.
11544
11545Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11546
11547 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
11548
11549Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11550
11551 * gdb.t17/interrupt.exp: Test for more things.
11552
11553Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11554
11555 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
11556 compiler arranges the code and line numbers.
11557
11558 * gdb.t17/interrupt.exp: Don't send \n after ^C.
11559
11560Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11561
11562 * gdb.t00/help.exp: Increase expect input buffer size.
11563
11564Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11565
11566 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
11567
11568 * gdb.t07/watchpoint.exp: Add xfail for hppa.
11569
11570 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
11571
11572 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
11573 [0-9]*, not just [0-9].
11574
11575Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11576
11577 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
11578
11579 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
11580
11581Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11582
11583 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
11584
11585Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11586
11587 * gdb.t06/signals.c: Add xfails for sun3.
11588
11589 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
11590
11591 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
11592 test_stepping tests.
11593
11594Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11595
11596 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
11597
11598 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
11599
11600 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
11601 rather than actually putting it through cpp twice.
11602
11603 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
11604
11605Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
11606
11607 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
11608 no longer needed.
11609
11610Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11611
11612 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
11613
11614 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
11615 C++ features prints as "struct", make it a pass, not an xfail.
11616
11617Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11618
11619 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
11620 Don't require VA to print as "class" rather than "struct".
11621
11622Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
11623
11624 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
11625
11626Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11627
11628 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
11629
11630Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11631
11632 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
11633 order.
11634
11635Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11636
11637 * gdb.t16/printcmds.exp: Add printf tests.
11638
11639 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
11640
11641 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
11642
11643Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
11644
11645 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
11646 pass counts, to counteract any existing or future setup_xfails.
11647
11648Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11649
11650 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
11651 {BEGIN,END}_COMMON for common block instead of STAB.
11652 * gdb.stabs/wierd.exp: Add xfail for rs6000.
11653
11654 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
11655 intp_var should be N_GSYM not N_LSYM.
11656 wierd-aout.S: Use a label for the value of the N_SO.
11657 wierd.def: Remove all backslashes.
11658 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
11659
11660Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11661
11662 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
11663 get the expected next to inheritance3.
11664
11665Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11666
11667 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
11668 now that gcc-2.4 gets it right.
11669
11670Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11671
11672 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
11673
11674 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
11675 generating comp-info.exp which works for cross-compilation.
11676
11677Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
11678
11679 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
11680 "*-*-sysv4.*".
11681
11682Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
11683
11684 * gdb.t01/run.exp: Start with a fresh gdb.
11685 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
11686 SVR4.x.
11687
11688Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
11689
11690 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
11691 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
11692 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
11693 Makefile.in (distclean, realclean): Remove gdbme.c from list of
11694 things to remove.
11695
11696Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
11697
11698 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
11699 test cases from bug reports.
11700
11701Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
11702
11703 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
11704 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
11705 avoid spurious xfails.
11706 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
11707 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
11708 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
11709
11710Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
11711
11712 * gdb.t00/teststrategy.exp: Rework to provide more useful
11713 description of each test, fix problem with systems that define
11714 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
11715 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
11716 results for "next over recursive call" so timeouts aren't taken
11717 by error.
11718
11719Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
11720
11721 * gdb.t12/scope.exp: Test printing of variables before run.
11722
11723 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
11724 printed in wrong order due to sorting.
11725
11726Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
11727
11728 * gdb.t00/teststrategy.exp: Fix expected results for printing
11729 user entered string constant. Is array of char, prints with no
11730 address.
11731
11732 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
11733 commands.
11734 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
11735 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
11736 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
11737 of struct of char arrays.
11738 * gdb.t00/radix.exp: New tests for radix commands.
11739
11740Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
11741
11742 * gdb.t16/printcmd.exp: Print a variable before running program
11743 (with xfail for AIX).
11744
11745Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
11746
11747 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
11748
11749 * gdb.t16/printcmd.exp: Don't print variables before running program.
11750
11751 * gdb.t06/break.exp: Don't require envp argument to main.
11752
11753 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
11754
11755 * gdb.t02/whatis.exp, gdb.t11/list.exp:
11756 Add xfails for rs6000.
11757
11758 * gdb.t02/whatis.exp: Change other tests not to re-test something
11759 we already tested.
11760
11761 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
11762 each type used has a variable of that type.
11763
11764Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
11765
11766 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
11767
11768Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
11769
11770 * configure.in: change srctrigger to be a file, not a directory
11771
11772Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
11773
11774 * configure.in (mips-idt-ecoff*): Added trailing '*'.
11775
11776 * gdb.t11/list.exp: Fixed a couple of typos.
11777
11778Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
11779
11780 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
11781 is fixed and PR is closed.
11782 * gdb.t16 (gdbme.c): Add simple test string variable.
11783 * gdb.t16 (printcmds.exp): Add tests with simple test string
11784 variable, primarily for boundaries on "set print elements".
11785
11786Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
11787
11788 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
11789 Make leading 0's optional and don't expect a tab in the middle
11790 of the number.
11791
11792 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
11793
11794 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
11795 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
11796 don't end command passed to gdb_test with newline.
11797
11798 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
11799 signed keyword away, don't expect signed bitfields to be signed.
11800
11801 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
11802 printing with only as many 1's as are in the field as well as printing
11803 with 32 1's (see comment).
11804
11805Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
11806
11807 * gdb.t00/default.exp: Start with a fresh gdb.
11808 * configure.in (configdirs): Remove gdb.t31 until the chill
11809 compiler works again. It no longer is able to find chillrt0
11810 since it isn't in libchill.a anymore.
11811 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
11812 wierd.o, make more modular.
11813 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
11814 spurious newlines that caused problems.
11815
11816Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11817
11818 * Move test with enums and partial symbols from gdb.t03/ptype.exp
11819 to gdb.stabs/wierd.exp since GCC has worked around the bug.
11820 gdb.stabs/wierd.{exp,def}: Many new tests.
11821
11822 * gdb.t00/default.exp: update info line for new message.
11823
11824 * gdb.t02/{whatis.exp,gdbme.c}:
11825 Test that "char *" doesn't print as "caddr_t".
11826
11827Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11828
11829 * gdb.t00/help.exp: Use .* in place of some help messages which
11830 just changed.
11831 gdb.t00/default.exp: Update "info frame" test for new message.
11832 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
11833 Remove some xfails
11834
11835Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11836
11837 * gdb.t03/{gdbme.c,ptype.exp}:
11838 Add tests for typedef'd struct and union without tags.
11839 Also check "whatis" on a variable of a typedef'd enum without a tag.
11840
11841 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
11842 PRMS 1823; the bug still exists but isn't reproduced by this test
11843 anymore), and remove rs6000 XFAIL (the bug is fixed).
11844
11845 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
11846 duplicated from whatis.exp. For those that are left, accept
11847 "long", "long int", or "int" for long variables (whatis.exp already
11848 has an XFAIL for "int", so no need to fail it here).
11849
11850 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
11851 Deal with GCC's names for types now that GDB uses the compiler's names.
11852
11853 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
11854 setup_xfail's for sunos4. If we #defined the signed keyword away,
11855 don't expect GDB to know that char it is signed.
11856
11857 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
11858
11859Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
11860
11861 * configure.in (configdirs): Add gdb.t24 for C++ tests that
11862 should work on any system, regardless of debugging format.
11863 * gdb.t21/demangle.exp: Move to gdb.t24.
11864 * gdb.t24/demangle.exp: Move from gdb.t21.
11865 * gdb.t24/{Makefile.in, configure.in}: New files.
11866
11867Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11868
11869 * configure.in: Do gdb.stabs and C++ tests only for stabs.
11870 * gdb.stabs: New directory.
11871
11872Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11873
11874 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
11875 not just "Quit anyway?".
11876
11877Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
11878
11879 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
11880 that all setup_xfails are immediately followed by clear_xfails.
11881
11882Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
11883
11884 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
11885 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
11886 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
11887 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
11888 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
11889 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
11890 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
11891 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
11892 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
11893 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
11894 gdb.t31/chillvars.exp, lib/gdb.exp:
11895 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
11896 bug-gdb@prep.ai.mit.edu.
11897
11898Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
11899
11900 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
11901 with 0.0, not integer 0.
11902
11903Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
11904
11905 * gdb.t06/break.exp: Update for "Kill the program" message change.
11906
11907Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
11908
11909 * Makefile.in (GDBFLAGS): Set to -nx.
11910 * Makefile.in (site.exp): Use GDBFLAGS.
11911
11912Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
11913
11914 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
11915 Makefiles.
11916 (check): depend on just-check.
11917 (just-check): added so that tests can be run without a noop
11918 build pass.
11919
11920Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
11921
11922 Switch to using configure's configdirs.
11923 * Makefile.in (Makefile): add configure.in dependency.
11924 (SUBDIRS): removed redundant assignment.
11925 * configure.in: switch subdirs assignment to configdirs.
11926 * gdb.t*/configure.in: new files.
11927
11928Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
11929
11930 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
11931 works.
11932
11933Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
11934
11935 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
11936 in explicit rules. Apparently this is not supported by some makes.
11937
11938Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
11939
11940 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
11941
11942Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11943
11944 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
11945 disappeared.
11946
11947Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
11948
11949 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
11950
11951Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
11952
11953 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
11954 watchpoint problem that is now fixed.
11955 * gdb.t30/chexp.exp: Remove setup_xfail for printing
11956 uninitialized convenience variables.
11957 * gdb.t31/chillvars.exp: Fix expected patterns for printing
11958 structures.
11959
11960Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11961
11962 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
11963 which causes expect to get out of sync with gdb on long output
11964 from help set.
11965 * gdb.t09/corefile.exp: Make expected pattern for core file
11966 failing signal and frame output format less sun specific.
11967
11968Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
11969
11970 * gdb.t31/chillvars.exp: Add and remove initial dummy
11971 breakpoint, so that symbol table is forced in.
11972 (Needed at least on Sunos4, though it seems not SVR4.)
11973 * gdb.t31/chillvars.exp: Update for changed output format.
11974
11975Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
11976
11977 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
11978
11979Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
11980
11981 * Makefile.in: Added --srcdir when invoking runtest, removed the
11982 need for a local config file. (optional now)
11983
11984Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
11985
11986 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
11987 failure count used to force early termination. Add some more
11988 expected failures for gnu style demangling.
11989
11990Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11991
11992 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
11993 pmi variable from gdb.t20/gdbme to get optimized away.
11994 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
11995 Check for written corefile upon timeout _and_ eof.
11996
11997Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11998
11999 * config/unix-gdb.exp: Add missing return 0.
12000
12001Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12002
12003 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
12004 test termination.
12005
12006Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
12007
12008 * configure.in (subdirs): Put back gdb.t17 which mysteriously
12009 disappeared.
12010
12011Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
12012
12013 * gdb.t10/crossload.exp: Disable the i860-elf test until such
12014 time as i860 support works.
12015
d63a86f8 12016 * gdb.t15/funcargs.exp: Fix expected outputs to include
c906108c
SS
12017 "backtrace 100\r" rather than just "backtrace\r", to match last
12018 change.
12019
12020Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
12021
12022 * config/udi-gdb.exp (gdb_exit): Remove close command.
12023 (gdb_target_udi): New procedure to set the UDI target.
12024 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
12025 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
12026 Added waits for prompts after several question responses. Added
12027 some more responses used by a29k-amd-udi-gdb.
12028 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
12029 pass different arguments, restart UDI connection after program
12030 completion.
12031 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
12032 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
12033 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
12034 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
12035 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
12036 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
12037 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
12038 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
12039 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
12040 after program completion.
12041 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
12042 compiled with a SELECT_VECS setting.
12043 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
12044 infinite recursion.
12045
12046 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
12047 Added checks for COFF results, and made them expected failures for
12048 all targets. It would be better to make them expected failures
12049 for COFF targets only.
12050
12051Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
12052
12053 * Makefile.in: add null dvi target, don't bother to recurse
12054 through test directories for info and install-info; rename
12055 $(datadir) to be dejagnu instead of deja-gnu
12056
12057Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
12058
12059 * gdb.t31/gdbme.ch: Re-enable code that previously caused
12060 compiler to coredump.
12061 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
12062 code.
12063
12064Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
12065
12066 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
12067 coredump.
12068 * gdb.t31/chillvars.exp: Comment out tests that depend on that
12069 code.
12070
12071Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
12072
12073 * gdb.t03/ptype.exp: tests for return code from gdb_test.
12074 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
12075 which in a shell. Deletes xgdb when done.
12076 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
12077 Tests the return from the "set height" or "set width" commands.
12078 Added a few return codes where needed.
12079
12080Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
12081
12082 * Makefile.in (SUBDIRS): Add gdb.t17.
12083 * configure.in (subdirs): Add gdb.t17.
12084 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
12085 files to test gdb's calling of functions in the inferior with
12086 the correct arguments and gdb's ability to retrieve any
12087 result returned.
12088
12089Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
12090
12091 * config/unix-gdb.exp (gdb_exit): Remove close commands that
12092 may be called after gdb goes away. Previous versions of expect
12093 needed these to avoid file descriptor leaks, but they cause
12094 errors with the current revision of expect.
12095 * gdb.t00/gdbvars.exp: Use -re on expected output after
12096 setting sevenbit-strings.
12097 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
12098 to set sevenbit-strings consistent across tests.
12099 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
12100 set sevenbit-strings consistent across tests.
12101
12102Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
12103
12104 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
12105 expected output to match current "expect" expectations.
12106
12107Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
12108
12109 * gdb.t00/default.exp: Change expected output for default "source"
12110 command, to match new gdb behavior which requires a filename to
12111 source.
12112
12113Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
12114
12115 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
12116 expected fail for i486-*-* that misses the marker2 function.
12117 * gdb.t10/crossload.exp (bfddefault): Allow successful
12118 recognition of a format to pass even if no symbols are found.
12119 Explicitly catch failures where the format is not recognized
12120 or is ambiguous, and add the reason to the fail message.
12121 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
12122 the cause is and invalid target and add reason to failure message.
12123 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
12124 elf32-i386, elf32-sparc, and elf32-i860.
12125 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
12126 Set up expected failure for 'filename'::variable scope resolution,
12127 which is now apparently broken on all targets.
12128 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
12129 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
12130 gdb.t23/templates.exp: Change failure for missing binfile into
12131 just a warning.
12132 gdb.t21/demangle.exp: Change all cfront references to 'arm'
12133 references.
12134
12135Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
12136
12137 * gdb.t00/default.exp: Add expected output for default "source"
12138 command, to match new gdb behavior.
12139 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
12140
12141Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
12142
12143 * config/*-gdb.exp: returns an error, rather than exiting on
12144 internal errors.
12145
12146Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
12147
12148 * gdb.t03/gdbme.c: Add pointer to struct variable.
12149 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
12150 referencing struct members.
12151
12152Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
12153
12154 * configure.in (mips-idt-ecoff): New target.
12155 * config/mips-gdb.exp: New file for remote board using MIPS remote
12156 debugging protocol.
12157
12158 * Redid configuration scheme. Removed gdb.t*/configure.in.
12159 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
12160 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
12161 distclean targets. Built executables via .o files. Adjusted
12162 tests to account for source files in $(srcdir) rather than
12163 $(objdir).
12164 * lib/gdb.exp (runto): Don't expect () after the function name,
12165 because it may have arguments.
12166
12167Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
12168
12169 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
12170 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
12171 expected failures for mips-idt-* and mips-sgi-*.
12172 * gdb.t00/default.exp (attach): Kill process if requested.
12173 * gdb.t00/help.exp (help target core, help target): Accept a gdb
12174 that does not read core files.
12175 * gdb.t01/run.exp: Removed checks for exit status code.
12176 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
12177 it is linked in.
12178 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
12179 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
12180 appropriate, rather than doing it by hand.
12181 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
12182 execution.
12183 * gdb.t10/crossload.exp: Kill existing program if needed.
12184 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
12185 appropriate, rather than doing it by hand. Always increase
12186 timeout for this test, not just for VxWorks.
12187
12188Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
12189
12190 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
12191 of Chill STRUCT types and STRUCT values.
12192 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
12193 than "char".
12194 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
d63a86f8 12195 struct2): New struct definitions and initializations to test
c906108c
SS
12196 simple Chill STRUCT types.
12197
12198Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
12199
12200 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
12201 the null byte at the end of strings.
12202 * gdb.t00/default.exp: Make show version insensitive to copyright
12203 date.
12204 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
12205 to avoid dependencies on target char signedness.
12206 * gdb.t16/printcmds.exp: Update expected results for explicitly
12207 unsigned char.
12208 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
12209 now work.
12210 * gdb.t21/demangle.exp: Add many more patterns for template
12211 demangling, most of them being expected failures.
12212 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
12213 string we are matching for, to match on the whole string.
12214 * gdb.t21/demangle.exp: Add many new test strings to demangle,
12215 and fix a whole bunch that had incorrect expected output but were
12216 passing anyway because of the bug in "proc demangle".
12217 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
12218 type.
12219 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
12220
12221Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
12222
12223 * gdb/testsuite: made modifications to testcases, etc., to allow
12224 them to work properly given the reorganization of deja-gnu and the
12225 relocation of the testcases from deja-gnu to a "tool" subdirectory.
12226
12227Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
12228
12229 * gdb/testsuite: Initial creation of gdb/testsuite.
12230 Migrated dejagnu testcases and support files for testing nm to
12231 gdb/testsuite from deja-gnu. These files were moved "as is"
12232 with no modifications. This migration is part of a major overhaul
12233 of dejagnu. The modifications to these testcases, etc., which
12234 will allow them to work with the new version of dejagnu will be
12235 made in a future update.
48efe704
AC
12236
12237For additional changes see gdb.mi/ChangeLog-1999-2003.
c906108c
SS
12238\f
12239Local Variables:
ef043731 12240mode: change-log
c906108c
SS
12241left-margin: 8
12242fill-column: 74
12243version-control: never
12244End: