]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/testsuite/ChangeLog
*** empty log message ***
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
586027e6
AC
12004-07-16 Andrew Cagney <cagney@redhat.com>
2
3 * lib/insight-support.exp: Delete file.
4 * lib/java.exp (java_init): Fix copyright.
5
029d2200
AC
62004-07-16 Andrew Cagney <cagney@gnu.org>
7
8 * gdb.base/restore.c: Append "prologue" to comments marking the a
9 function's prologue.
10 * gdb.base/restore.exp: Update copyright, re-indent.
11 (restore_tests): Use gdb_test_multiple. Add "calleeN calls
12 callerN" prefix where needed. Update patterns that match a
13 function's prologue.
14
653b62c5
MC
152004-07-16 Michael Chastain <mec.gnu@mindspring.com>
16
17 * gdb.base/restore.c: Add copyright notice.
18
f7d690e5
AC
192004-07-16 Andrew Cagney <cagney@gnu.org>
20
21 * gdb.base/logical.exp: Update copyright.
22 (evaluate): New procedure. Use to re-implement tests using
23 several tables.
24
d629a7cb
MH
252004-07-14 Martin Hunt <hunt@redhat.com>
26
27 * lib/insight-support.exp (gdbtk_start): Unset TCL_LIBRARY
28 which fixes some problems where init.tcl was not found.
29
9c7bb332
AC
302004-07-13 Andrew Cagney <cagney@gnu.org>
31
6bf46641
AC
32 * gdb.base/sizeof.exp: Skip test when no inferior I/O.
33 (check_sizeof, check_valueof): Do not include the output in the
34 test name. Use gdb_test.
35 (get_valueof): Use gdb_test_multiple.
36
c4ffd4c0
AC
37 * gdb.base/step-test.exp: Update copyright. Use
38 gdb_test_multiple. Ensure that test names do not include
39 architecture dependent output.
40
ab89363a
AC
41 * gdb.gdb/observer.exp: Update copyright.
42 (setup_test): Use gdb_test_multiple.
43 (attach_first_observer, attach_second_observer)
44 (attach_third_observer, detach_first_observer)
45 (detach_second_observer, detach_third_observer)
46 (reset_counters, check_counters): Make $message a prefix.
47 (test_normal_stop_notifications): Add "args" parameter - a list of
48 init functions to be called. Make $message a prefix,
49 (test_observer_normal_stop): Change the message prefixes so that
50 they are unique, pass the attach / detach procedures to
51 test_normal_stop_notifications.
52
ec58997a
AC
53 * gdb.base/signull.exp (test_segv): Prefix all tests with
54 "${name}". Clean up test messages.
55
b475183b
AC
56 * gdb.base/annota3.exp, gdb.base/annota1.exp: Update copyright.
57
9c7bb332
AC
58 * gdb.base/ena-dis-br.exp: Update copyright.
59 (break_at): New function. Replace send_gdb with gdb_test,
60 break_at, and gdb_test_multiple. Replace XFAIL of "continue with
61 ignore count, not stopped at bpt", with KFAIL.
62
2dd95497
CV
632004-07-13 Corinna Vinschen <vinschen@redhat.com>
64
65 * gdb.base/attach.exp: Remove cleanupfile handling.
66
419e626b
AC
672004-07-12 Andrew Cagney <cagney@gnu.org>
68
69 * gdb.base/annota1.exp: Cleanup corefile test name.
70 * gdb.base/annota3.exp: Ditto.
71
8b1b3228
AC
722004-07-12 Andrew Cagney <cagney@gnu.org>
73
78650829
AC
74 * gdb.base/signals.exp: Clean up copyright, re-indent.
75
8b1b3228
AC
76 * gdb.base/attach.exp: Replace send_gdb and gdb_expect with
77 gdb_test and gdb_test_multiple.
78
935c2760
JJ
792004-07-08 Jeff Johnston <jjohnstn@redhat.com>
80
81 * gdb.java/jmain.exp: Fix expected line number for main to
82 break at. Set XFAIL for break at main test since gcj does not
83 provide line number info for first statement in main.
84
1544280f
AC
852004-07-08 Andrew Cagney <cagney@gnu.org>
86
1279f4ff
AC
87 * gdb.base/attach.exp: Cleanup copyright. Re-indent.
88
1544280f
AC
89 * gdb.base/sigbpt.exp: Make the common part of each test name a
90 prefix instead of suffix.
91
bcc82369
BR
922004-07-07 Bob Rossi <bob_rossi@cox.net>
93
94 * gdb.mi/mi2-file.exp: Revert to version 1.1, except changed name of
95 test from test_tbreak_creation_and_listing to
96 test_file_list_exec_source_file
97 * gdb.mi/mi-file.exp: Add test for -file-list-exec-source-files
98 Changed name of test from test_tbreak_creation_and_listing to
99 test_file_list_exec_source_file
100
23f4b0aa
JJ
1012004-07-07 Jeff Johnston <jjohnstn@redhat.com>
102
103 * gdb.java/jmisc.exp: Fix expected output of ptype to look for
104 the jmisc() constructor instead of <init>.
105 * gdb.java/jmisc1.exp: Ditto.
106
56401cd5
AC
1072004-07-07 Andrew Cagney <cagney@gnu.org>
108
109 * gdb.base/sigbpt.exp (stepi_out): Check for a single step
110 corrupting the PC.
111
44ae2f6a
MC
1122004-07-06 Michael Chastain <mec.gnu@mindspring.com>
113
114 * gdb.cp/templates.exp: Accept whitespace change in demangler
115 output.
116
45a83408
AC
1172004-07-06 Andrew Cagney <cagney@gnu.org>
118
119 * gdb.base/sigbpt.exp, gdb.base/sigbpt.c: New test.
120
d205ad70
MC
1212004-07-02 Michael Chastain <mec.gnu@mindspring.com>
122
123 * lib/compiler.c: Accept __HP_CXD_SPP for old hp ansi c compiler.
124 * lib/compiler.cc: Likewise.
125
06ea1a61
MC
1262004-06-30 Michael Chastain <mec.gnu@mindspring.com>
127
128 * lib/compiler.cc: Work around string preprocessing problem
129 with old hp c++ compiler.
130 * lib/compiler.c: Likewise.
131
daab1251
CV
1322004-06-29 Corinna Vinschen <vinschen@redhat.com>
133
134 * gdb.arch/i386-prologue.c: Add copyright header. Use preprocessor
135 directives to conditionalize symbol prefixing.
136 * gdb.arch/i386-prologue.exp: Allow symbol prefixing by adding
137 additional_flags handling. Add underscore prefix for Cygwin.
138 * gdb.arch/i386-unwind.c: Use preprocessor directives to
139 conditionalize symbol prefixing.
140 * gdb.arch/i386-unwind.exp: Allow symbol prefixing by adding
141 additional_flags handling. Add underscore prefix for Cygwin.
142
cc984116
CV
1432004-06-29 Corinna Vinschen <vinschen@redhat.com>
144
145 * gdb.base/bigcore.exp: Skip test on Cygwin.
146
c279b077
MC
1472004-06-28 Michael Chastain <mec.gnu@mindspring.com>
148
149 * gdb.hp/gdb.base-hp/reg.exp: Accept both old and new gdb output
150 formats for "info register". Use gdb_test_multiple. Fix
151 the "invalid register" test.
152
0e915747
CV
1532004-06-28 Corinna Vinschen <vinschen@redhat.com>
154
155 * gdb.base/attach.exp: Fix copyright date. Set testpid to Windows
156 PID for Cygwin. Add Cygwin specific strings to check for in some
157 tests.
158 (do_attach_tests): Add a test for user interaction when attaching
159 to a process with no matching symbol table already loaded.
160
11422c86
AC
1612004-06-26 Andrew Cagney <cagney@gnu.org>
162
163 Test PR java/1567 and PR java/1565.
164 * gdb.java/jmain.exp, gdb.java/jmain.java: New files.
165 * gdb.java/jmisc2.exp: Delete file.
166
cefbce26
MC
1672004-06-26 Michael Chastain <mec.gnu@mindspring.com>
168
169 * gdb.hp/gdb.base-hp/reg.exp: Update copyright notice.
170
e19f872c
CV
1712004-06-25 Corinna Vinschen <vinschen@redhat.com>
172
173 * gdb.base/attach.exp (do_attach_tests): Don't forget to kill second
174 attach process.
175
d931ba3b
MC
1762004-06-23 Michael Chastain <mec.gnu@mindspring.com>
177
178 * gdb.cp/pr-1553.exp: Remove.
179
aef68c48
MC
1802004-06-22 Michael Chastain <mec.gnu@mindspring.com>
181
182 * gdb.cp/pr-1553.cc: Remove.
183 * gdb.cp/pr-1553.exp: Disable this test.
184
8d5df71a
JB
1852004-06-20 Jim Blandy <jimb@redhat.com>
186
187 Fix PR testsuite/1680.
188 * gdb.arch/i386-sse.exp: Properly quote curly braces in
189 regular expressions.
190
4ac6f39d
MC
1912004-06-19 Michael Chastain <mec.gnu@mindspring.com>
192
193 Fix PR testsuite/1679.
194 * gdb.arch/i386-sse.exp: Do not call gdb_suppress_entire_file.
195 Issue an UNSUPPORTED result instead.
196
1b413552
JB
1972004-06-18 Jim Blandy <jimb@redhat.com>
198
199 * gdb.base/charset.exp: Only send a control-C if we see a new
200 prompt and incomplete command.
201
6daa6ebd
MC
2022004-06-18 Michael Chastain <mec.gnu@mindspring.com>
203
204 * gdb.cp/pr-574.cc: Add copyright notice.
205
51fa4ae0
JB
2062004-06-17 Jim Blandy <jimb@redhat.com>
207
208 * gdb.base/charset.exp: Don't refer to $expect_out(1,string) in
209 cases where the regexp has no groups; this grabs random text from
210 the previous test suite, whatever that was.
211
8fea26c5
MC
2122004-06-17 Michael Chastain <mec.gnu@mindspring.com>
213
214 * gdb.cp/printmethod.cc: Add copyright notice.
215
1e3aeb41
MC
2162004-06-16 Michael Chastain <mec.gnu@mindspring.com>
217
218 * gdb.cp/psmang1.cc, gdb.cp/psmang2.cc: Add copyright notice.
219
9d9030bc
AC
2202004-06-16 Andrew Cagney <cagney@gnu.org>
221
222 * gdb.base/signull.c: Update copyright. Include <string.h>.
223 (bowler): Replace data_pointer with data_read
224 and data_write cases. Add code_descriptor case.
225 (zero, desc): New array and pointer.
226 (data, code): Change to simple pointers.
227 * gdb.base/signull.exp: Fix probe pattern matching a function
228 descriptor SIGSEGV. Replace data_pointer with data_read and
229 data_write tests.
230
acd4ad44
AC
2312004-06-16 Andrew Cagney <cagney@gnu.org>
232
233 * gdb.base/long_long.exp, gdb.base/long_long.c: Rewrite.
234
08fd625c
MC
2352004-06-15 Michael Chastain <mec.gnu@mindspring.com>
236
237 * gdb.base/long_long.c: Add copyright notice.
238
1903502c
MC
2392004-06-15 Michael Chastain <mec.gnu@mindspring.com>
240
241 * gdb.base/long_long.exp: Remove reference to
242 bug-gdb@prep.ai.mit.edu. Change line-number-specific breakpoint
243 to gdb_breakpoint and gdb_continue_to_breakpoint.
244
83313cb1
JB
2452004-06-14 Jim Blandy <jimb@redhat.com>
246
247 * gdb.arch/e500-regs.exp: Fix up 'print' pattern for the little-
248 endian case.
249
1bf404ef
AC
2502004-06-14 Andrew Cagney <cagney@gnu.org>
251
252 * gdb.base/gcore.exp (capture_command_output): Delete the always
253 passing tests containing inferior values.
254 * gdb.base/ending-run.exp: Do not include the breakpoint address
255 in the test message. Update copyright.
256 * gdb.base/sizeof.exp (check_sizeof): Do not include the type's
257 size in the test name, use gdb_test_multiple. Update copyright.
258
ef220b33
MC
2592004-06-14 Michael Chastain <mec.gnu@mindspring.com>
260
261 * gdb.cp/ref-types.cc: Add copyright notice.
262
4f70a4c9
MC
2632004-06-14 Michael Chastain <mec.gnu@mindspring.com>
264
265 * lib/compiler.c: Remove gcc_compiled, hp_cc_compiler,
266 hp_aCC_compiler.
267 * lib/compiler.cc: Likewise.
268 * lib/gdb.exp (get_compiler_info): Eval lines only if they are
269 'set' commands. Log diagnostics for other lines. Set
270 gcc_compiled, hp_cc_compiler, and hp_aCC_compiler.
271
335928ac
MC
2722004-06-13 Michael Chastain <mec.gnu@mindspring.com>
273
274 * gdb.cp/try_catch.cc: Add copyright notice.
275
2efb12e8
MC
2762004-06-12 Michael Chastain <mec.gnu@mindspring.com>
277
278 * gdb.cp/userdef.cc: Add copyright notice.
279
0bbed51a
MC
2802004-06-11 Michael Chastain <mec.gnu@mindspring.com>
281
282 * gdb.cp/virtfunc.cc: Add copyright notice.
283
e12a46c9
RC
2842004-06-11 Randolph Chung <tausq@debian.org>
285
286 * gdb.base/structs2.exp: Mark two tests as xfail because of a compiler
287 problem.
288
338e05af
AC
2892004-06-10 Andrew Cagney <cagney@gnu.org>
290
291 * lib/compiler.cc, lib/compiler.c: Append either
292 __GNUC_PATCHLEVEL__, or "unknown" to the compiler_info.
293 * gdb.base/structs.exp (test_struct_calls): Check for gcc-3-3-*
294 instead of gcc-3-3.
295
dc3f10cb
AC
2962004-06-09 Andrew Cagney <cagney@gnu.org>
297
b4d946af
AC
298 * gdb.base/structs.exp (test_struct_calls): Fix KFAIL for
299 gdb/1455, bug is specific to "long long" and "double".
300
dc3f10cb
AC
301 * gdb.base/structs.exp (test_struct_returns, test_struct_returns)
302 (test_struct_calls): Remove KFAIL of "long double" on i*86-*-*,
303 x86_64-*-*, sparc64-*-*, and sparc*-*-solaris2*. PR tdep/1447
304 fixed.
305
b5c0bfa2
AC
3062004-06-09 Andrew Cagney <cagney@gnu.org>
307
308 * gdb.base/structs.exp (test_struct_returns): Replace
309 "return_value_unknown" and "finish_value_unknown" by
310 "return_value_known" and "finish_value_known". Instead of
311 "return_value_unknown" iff "finish_value_unknown", check
312 "return_value_known" implies "finish_value_known".
313
caeb605f
MH
3142004-06-08 Martin Hunt <hunt@redhat.com>
315
316 * gdb.base/float.exp: Add pattern for mips targets.
317
c892bb64
RC
3182004-06-08 Randolph Chung <tausq@debian.org>
319
320 * gdb.base/float.exp: Add pattern for hppa*-* target; make the failure
321 message for unknown architectures more clear.
322
48306d3e
JB
3232004-06-08 Joel Brobecker <brobecker@gnat.com>
324
325 * gdb.ada/null_record.exp: Use "start" instead of "begin" to
326 start the execution of the program.
327
83ecb59f
JB
3282004-06-07 Jim Blandy <jimb@redhat.com>
329
330 * gdb.arch/i386-sse.exp, gdb.arch/i386-sse.c: New tests.
331 * gdb.arch/i386-cpuid.h: New helper file.
332
55264cb4
RC
3332004-06-07 Randolph Chung <tausq@debian.org>
334
335 * gdb.base/shlib-call.exp: Allow breakpoint to be added after inferior
336 has started.
337
23cadb28
RM
3382004-06-04 Roland McGrath <roland@redhat.com>
339
340 Fix PR gdb/1647.
341 * gdb.base/auxv.exp (fetch_auxv): Revert last change and fix it
342 differently to be robust to output buffering differences.
343
51d01eda
MC
3442004-06-04 Michael Chastain <mec.gnu@mindspring.com>
345
346 * gdb.threads/pthreads.exp: Update copyright years.
347 (check_control_c): Change asynchronous 'after' to synchronous.
348
f4fc3b93
RM
3492004-06-04 Roland McGrath <roland@redhat.com>
350
351 * gdb.base/auxv.exp (fetch_auxv): Consume output fully through
352 next gdb prompt.
353
4013522b
MC
3542004-06-02 Michael Chastain <mec.gnu@mindspring.com>
355
356 Fix PR gdb/1636.
357 * gdb.threads/manythreads.exp: Change asynchronous 'after'
358 calls to synchronous.
359
7a8f1e6b
JB
3602004-05-26 Jim Blandy <jimb@redhat.com>
361
362 * gdb.arch/e500-prologue.exp, gdb.arch/e500-prologue.c: New tests.
363
81bb3443
RC
3642004-05-24 Randolph Chung <tausq@debian.org>
365
366 * gdb.asm/asm-source.exp: Enable test for hppa-linux target.
367 * gdb.asm/pa.inc: New file.
368
8f5a3103
MK
3692004-05-22 Mark Kettenis <kettenis@gnu.org>
370
371 * gdb.base/signull.c: Use sigjmp_buf instead of jmp_buf.
372
734b8fe8
JB
3732004-05-21 Joel Brobecker <brobecker@gnat.com>
374 Daniel Jacobowitz <drow@mvista.com>
375
376 * lib/gdb.exp (gdb_test_multiple): Improve regexp matching the
377 GDB prompt.
378
725603e1
UW
3792004-05-20 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
380
f4fc3b93 381 * gdb.base/signull.c: Use sigsetjmp/siglongjmp instead of
725603e1
UW
382 setjmp/longjmp. Use sigaction instead of signal.
383
8b923272
JB
3842004-05-19 J. Brobecker <brobecker@gnat.com>
385 Michael Snyder <msnyder@redhat.com>
386
387 * gdb.threads/pthread_cond_wait.c: New file.
388 * gdb.threads/pthread_cond_wait.exp: New testcase.
389
8bfabb04
AC
3902004-05-13 Andrew Cagney <cagney@redhat.com>
391
392 * gdb.base/signull.exp, gdb.base/signull.c: New files.
393 * gdb.base/gdb1476.c, gdb.base/gdb1476.exp: Delete files.
394
42edda50
AC
3952004-05-11 Andrew Cagney <cagney@redhat.com>
396
397 * gdb.base/sigstep.exp (advancei): Update KFAILs. gdb/1613 is
398 fixed but revealed gdb/1639.
399
d303a6c7
AC
4002004-05-10 Andrew Cagney <cagney@redhat.com>
401
402 * gdb.base/signals.exp (signal_tests_1): Simplify "continue to
403 func1" and "next to 2nd alarm", kernel bug avoided.
404
bf08c2a1
DJ
4052004-05-10 Daniel Jacobowitz <dan@debian.org>
406
407 PR external/1568
408 * gdb.base/bigcore.exp: Check the size of the dumped core file.
409 XFAIL if it is smaller than bytes_allocated.
410 * gdb.base/bigcore.c (bytes_allocated): Make static and unsigned.
411 (main): Make chunks_allocated unsigned. Correct comment.
412
c0586a34
JB
4132004-05-07 Joel Brobecker <brobecker@gnat.com>
414
415 * gdb.arch/powerpc-aix-prologue.c: New file.
416 * gdb.arch/powerpc-aix-prologue.exp: New file.
417
f2785d12
JB
4182004-05-07 Jim Blandy <jimb@redhat.com>
419
420 * gdb.base/lineinc.exp, gdb.base/lineinc1.h, gdb.base/lineinc2.h,
421 gdb.base/lineinc3.h, gdb.base/lineinc.c: New tests.
422
bd7f6e30
JB
4232004-05-06 Joel Brobecker <brobecker@gnat.com>
424
425 * gdb.base/sep.exp: No longer setup_kfail when the program was
426 built with dwarf2.
427
0a5e7efe
JI
4282004-05-05 Jim Ingham <jingham@apple.com>
429
430 * gdb.base/pending.exp: Make sure pending breakpoints
431 preserve the ignore count.
f4fc3b93 432
a8958849
MK
4332004-04-27 Jerome Guitton <guitton@gnat.com>
434
435 * i386-prologue.exp: Add testcase for jump instruction as first
436 instruction of the real code.
437 * i386-prologue.c (jump_at_beginning): New function.
438
7e103f5b
MK
4392004-04-28 Mark Kettenis <kettenis@gnu.org>
440
441 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1624 on
442 x86_64-*-*.
443
5d38b224
MK
4442004-04-28 Mark Kettenis <kettenis@gnu.org>
445
446 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1623 on
447 i*86-*-*.
448
0ef32fd9
MK
4492004-04-25 Mark Kettenis <kettenis@gnu.org>
450
451 * gdb.base/call-sc.exp (start_scalars_test): Fix regular
452 expression that checks the return type.
453
71d7dd7c
AC
4542004-04-23 Andrew Cagney <cagney@redhat.com>
455
456 * gdb.base/call-sc.exp: New test of scalar call/return values.
457 * gdb.base/call-sc.c: Ditto.
458
1e9f977e
JJ
4592004-04-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
460
461 * gdb.threads/manythreads.c: Reduce thread stack size.
462
899d9e3a
JJ
4632004-04-23 Jeff Johnston <jjohnstn@redhat.com>
464
465 * gdb.threads/manythreads.c: Add copyright notice.
466
61bcae62
AC
4672004-04-23 Andrew Cagney <cagney@redhat.com>
468
469 * gdb.base/siginfo.exp: Better handle step out of signal.
470 * gdb.base/sigstep.exp: Ditto.
471
7339a42e
JJ
4722004-04-22 Jeff Johnston <jjohnstn@redhat.com>
473 Daniel Jacobowitz <drow@mvista.com>
474
475 * gdb.threads/manythreads.c: New testcase.
476 * gdb.threads/manythreads.exp: Ditto.
477
5c98409b
JB
4782004-04-22 Jim Blandy <jimb@redhat.com>
479
480 * gdb.stabs/exclfwd.exp, gdb.stabs/exclfwd1.c,
481 gdb.stabs/exclfwd2.c, gdb.stabs/exclfwd.h: New test.
482
3b611f1a
MC
4832004-04-21 Michael Chastain <mec.gnu@mindspring.com>
484
485 * gdb.stabs/weird.exp: Accept full pathname for $binfile.
486
f0fd9238
AC
4872004-04-21 Andrew Cagney <cagney@redhat.com>
488
489 * gdb.base/sigstep.c: New file.
490 * gdb.base/sigstep.exp: New file.
491
90990674
JB
4922004-04-16 Joel Brobecker <brobecker@gnat.com>
493
494 * gdb.gdb/observer.exp (test_normal_stop_notifications): Update
495 call to observer_notify_normal_stop.
496
78cef34b
AC
4972004-04-15 Andrew Cagney <cagney@redhat.com>
498
499 * gdb.base/siginfo.c: New file.
500 * gdb.base/siginfo.exp: New file.
501
d2343407
JB
5022004-04-12 J. Brobecker <brobecker@gnat.com>
503
504 * gdb.base/sep.exp: Fix typo in comment.
505
a2dba3c8
JB
5062004-04-12 J. Brobecker <brobecker@gnat.com>
507
508 * gdb.base/sep.c: New file.
509 * gdb.base/sep-proc.c: New file.
510 * gdb.base/sep.exp: New testcase.
511
15f7b60e
MK
5122004-04-09 Mark Kettenis <kettenis@gnu.org>
513
514 * gdb.base/bigcore.exp: Disable on Solaris; no sparse core file
515 support.
516
44f4de1a
AC
5172004-04-05 Andrew Cagney <cagney@redhat.com>
518
519 * gdb.base/sigaltstack.c: New file.
520 * gdb.base/sigaltstack.exp: New file.
521
ef04f396
JB
5222004-04-04 Joel Brobecker <brobecker@gnat.com>
523
524 * gdb.base/foll-fork.exp: Update the expected output for
525 "help set follow-fork-mode", to match a change that was made
526 to the help of this variable on 2004-01-13.
527
d40d2c92
JB
5282004-04-01 Joel Brobecker <brobecker@gnat.com>
529
530 * lib/ada.exp: Add copyright notice.
531 * bar.ads: Likewise.
532 * bar.adb: Likewise.
533 * null_record.adb: Likewise.
534 * null_record.exp: Likewise.
535 * gnat_ada.gpr.in: Likewise. Fix typo in a comment, clarify another.
536
f86ef5a3
JB
5372004-04-01 Joel Brobecker <brobecker@gnat.com>
538
539 * configure.in: Generate gdb.ada/Makefile and gdb.ada/gnat_ada.gpr.
540 * configure: Regenerate.
541
414e70e3
JB
5422004-04-01 Joel Brobecker <brobecker@gnat.com>
543
544 * lib/ada.exp (gdb_compile_ada): Emit UNSUPPORTED if we failed
545 to build the application. Remove the message printed when in
546 verbose mode, redundant with the UNSUPPORTED message above.
547
f0aaee49
JB
5482004-03-31 Joel Brobecker <brobecker@gnat.com>
549
550 * gdb.ada (bar.ads, bar.adb, null_record.adb): New files.
551 * gdb.ada (null_record.exp): New testcase.
552
ac81cb54
JB
5532004-03-31 Joel Brobecker <brobecker@gnat.com>
554
555 * Makefile.in (ALL_SUBDIRS) Add gdb.ada.
556
854af2f7
JB
5572004-03-31 Joel Brobecker <brobecker@gnat.com>
558
559 * gdb.ada: New subdirectory.
560 * gdb.ada/Makefile.in: New file.
561 * gdb.ada/gnat_ada.gpr.in: New file.
562
034cb681
JB
5632004-03-31 Joel Brobecker <brobecker@gnat.com>
564
565 * lib/ada.exp: New file.
566
78a1a894
DJ
5672004-03-24 Daniel Jacobowitz <drow@mvista.com>
568
569 * gdb.base/gdb1250.exp: Use runto {allow-pending}.
570 * lib/gdb.exp (runto, gdb_breakpoint): Support {allow-pending}.
571
4b2b3b3e
AC
5722004-03-22 Andrew Cagney <cagney@redhat.com>
573
574 * gdb.base/watchpoint.exp (test_stepping): Delete bogus XFAILs
575 hiding problems with DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET.
576 Problem identified by Ulrich Weigand.
577
23c73aa3
DC
5782004-03-17 David Carlton <carlton@kealia.com>
579
580 * gdb.cp/classes.exp (test_enums): Refer to PR c++/1588 instead of
581 PR c++/826.
582
d63a86f8
RM
5832004-03-16 Roland McGrath <roland@redhat.com>
584
585 * gdb.base/auxv.exp: New file.
586 * gdb.base/auxv.c: New file, copied verbatim from coremaker2.c.
587
0e02aa50
DC
5882004-03-12 David Carlton <carlton@kealia.com>
589
590 * gdb.cp/pr-1553.exp: New. Tests for PR c++/1553.
591 * gdb.cp/pr-1553.cc: Ditto.
592 * gdb.cp/local.exp (ptype NestedInnerLocal): Add comment, third
593 pass branch.
594
c20b71be
MC
5952004-03-12 Michael Chastain <mec.gnu@mindspring.com>
596
597 * gdb.cp/templates.exp: Accept more template types.
598
c7414a01
MC
5992004-03-09 Michael Chastain <mec.gnu@mindspring.com>
600
601 From Corinna Vinschen with modifications.
602 * gdb.cp/classes.cc (enums1): Add a line to extend scope of
603 local variable obj_with_enum.
604 * gdb.cp/classes.exp (test_enums): Remove TODO note about FAIL
605 results with obj_with_enum.
606
ed69573c
MC
6072004-03-09 Michael Chastain <mec.gnu@mindspring.com>
608
609 * gdb.cp/classes.cc: New file, copied from misc.cc.
610 * gdb.cp/classes.exp: Use classes.cc rather than misc.cc.
611
28301461
MC
6122004-03-09 Michael Chastain <mec.gnu@mindspring.com>
613
614 * gdb.cp/misc.cc: Add copyright notice.
615
1198ecbe
DC
6162004-03-05 David Carlton <carlton@kealia.com>
617
618 * gdb.cp/rtti.exp: Add 'print *obj3' test.
619 * gdb.cp/rtti.h: Update copyright.
620 (namespace n2::n3): New.
621 * gdb.cp/rtti1.cc: (refer_to (n2::n3::C3 *)): New.
622 (n2::n3::func3): New.
623 (main): Call n2::n3::func3.
624 * gdb.cp/rtti2.cc: Update copyright.
625 (n2::create3): New.
626
9e08c470
MK
6272004-03-04 Mark Kettenis <kettenis@gnu.org>
628
629 * gdb.asm/openbsd.inc: Fix typo.
630
4bebc3aa
FF
6312004-03-03 Fred Fish <fnf@redhat.com>
632
633 * gdb.base/pc-fp.exp (get_valueofx): Fix apparent typo to now set
634 "val" instead of unused "size". Update copyright year.
635
6ea9fb37
DJ
6362004-02-29 Daniel Jacobowitz <drow@mvista.com>
637
638 * gdb.cp/ctti.exp: Handle unsigned char type. Expect templates
639 to use unsigned char.
640 * gdb.cp/cttiadd.c, gdb.cp/cttiadd1.c, gdb.cp/cttiadd2.c,
641 gdb.cp/cttiadd3.c: Change type of variable to unsigned char.
642
23b23974
DJ
6432004-02-29 Daniel Jacobowitz <drow@mvista.com>
644
645 * config/gdbserver.exp (gdbserver_gdb_load): Wait for a complete
646 line of output.
647
7574fd53
DJ
6482004-02-28 Daniel Jacobowitz <drow@mvista.com>
649
650 * gdb.base/relocate.c (dummy): Initialize.
651
a195357f
DJ
6522004-02-28 Daniel Jacobowitz <drow@mvista.com>
653
654 * gdb.base/chng-syms.exp: Anchor exit pattern. Allow
655 a breakpoint at exit.
656
72fd54a9
FF
6572004-02-27 Fred Fish <fnf@redhat.com>
658
659 * gdb.base/chng-syms.exp: Add expect condition to match failing
660 case that isn't a timeout.
661
b9d23137
AC
6622004-02-27 Andrew Cagney <cagney@redhat.com>
663
664 * gdb.base/bigcore.exp: Disable on HP/UX, no sparse corefile
665 support.
666
15d208f6 6672004-02-26 Fred Fish <fnf@redhat.com>
d63a86f8 668
15d208f6
FF
669 * gdb.arch/gdb1431.c: Remove.
670 * gdb.arch/gdb1431.s: New file, copy of gdb1291.s
671 * gdb.arch/gdb1431.exp: Use "advance" correctly instead
672 of "until" incorrectly.
673
98f9cd2d
JB
6742004-02-26 J. Brobecker <brobecker@gnat.com>
675
676 * gdb.cp/class2.cc (empty): New class.
677 (refer): New function.
678 (main): Declare an object of type empty and use it.
679 * gdb.cp/class2.exp: Print the value of an object of type empty.
680
9b50c11b
JJ
6812004-02-26 Jeff Johnston <jjohnstn@redhat.com>
682
683 * gdb.base/langs.exp: Update query string to match the
684 new nquery format used for pending breakpoints.
685
0dcd613f
AC
6862004-02-26 Andrew Cagney <cagney@redhat.com>
687
688 Fix PR i18n/1570.
689 * gdb.base/charset.c: Update copyright notice.
690 (main, init_string): Remove the escape character '\e' tests.
691 * gdb.base/printcmds.exp (test_print_all_chars): Ditto.
692 * gdb.base/charset.exp (valid_host_charset): Ditto.
693 * gdb.base/setvar.exp: Ditto.
694
b8a56647
AC
6952004-02-24 Andrew Cagney <cagney@redhat.com>
696
90d59e34
AC
697 * gdb.base/corefile.exp: Use gdb_test_multiple, make "accessing
698 mmapped data in core file" PASS and FAIL messages consistent.
699
b8a56647
AC
700 * gdb.java/jmisc.exp: Use the fully quallified name of "main" when
701 setting a breakpoint. Work around PR java/1565.
702
9f27c604
JJ
7032004-02-23 Jeff Johnston <jjohnstn@redhat.com>
704
705 * lib/gdb.exp (gdb_breakpoint): Update query string to match
706 new nquery format.
707 * gdb.base/pending.exp: Ditto.
708
3224a706
MK
7092004-02-22 Mark Kettenis <kettenis@gnu.org>
710
711 * configure.in: Run stabs tests on *BSD.
712 * configure: Regenerated.
713
41e0a9ca
MK
7142004-02-21 Mark Kettenis <kettenis@gnu.org>
715
716 * gdb.base/bigcore.exp: Bail out on *BSD instead of only NetBSD.
717
1e1b3428
FF
7182004-02-20 Fred Fish <fnf@redhat.com>
719
720 * gdb.base/callfuncs.exp (do_function_calls): Remove extraneous
721 blank in test for "returns short", for consistency with other
722 "returns xxx" tests. Update copyright year.
723
f9a7572a
FF
7242004-02-19 Fred Fish <fnf@redhat.com>
725
726 New testcase for PR breakpoint/1558.
727 * gdb.arch/gdb1558.exp: New file.
728 * gdb.arch/gdb1558.c: New file.
729
b2ce2854
EZ
7302004-02-19 Elena Zannoni <ezannoni@redhat.com>
731
732 * gdb.base/nodebug.exp: Fix typo.
733
e7c9ff01
JB
7342004-02-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
735
736 Committed by Jim Blandy <jimb@redhat.com>.
737
62f4b920
JB
738 * gdb.objc/basicclass.exp: Adapt to fixed return type of printHi.
739
2db536a1
JB
740 * gdb.base/dump.exp: Handle negative offsets in decimal, not hex.
741
e7c9ff01
JB
742 * gdb.base/float.exp: Support s390*-*-* targets.
743
f3205b34
AF
7442004-02-17 Adam Fedor <fedor@gnu.org>
745
746 * gdb.base/gdb1555.exp: New file.
747 * gdb.base/gdb1555-main.c, gdb.base/gdb1555.c: New files.
748
9d62932d
EZ
7492004-02-17 Elena Zannoni <ezannoni@redhat.com>
750
751 * gdb.base/selftest.exp (do_steps_and_nexts): Add comment.
752
344c9711
FF
7532004-02-16 Fred Fish <fnf@redhat.com>
754
755 * gdb.arch/gdb1291.c: Remove
756 * gdb.arch/gdb1291.s: New test input file.
757 * gdb.arch/gdb1291.exp: Expand test to check case that should not
758 fail. Test for correct result, known incorrect result, other
759 failures and timeouts.
760
2d822687
AC
7612004-02-16 Andrew Cagney <cagney@redhat.com>
762
763 * gdb.base/bigcore.exp: New file.
764 * gdb.base/bigcore.c: New file.
765
dac15b66
AC
7662004-02-13 Andrew Cagney <cagney@redhat.com>
767
768 * gdb.mi/mi1-basics.exp, gdb.mi/mi1-break.exp: Delete file.
769 * gdb.mi/mi1-console.exp, gdb.mi/mi1-disassemble.exp: Delete file.
770 * gdb.mi/mi1-eval.exp, gdb.mi/mi1-hack-cli.exp: Delete file.
771 * gdb.mi/mi1-pthreads.exp, gdb.mi/mi1-read-memory.exp: Delete file.
772 * gdb.mi/mi1-regs.exp, gdb.mi/mi1-return.exp: Delete file.
773 * gdb.mi/mi1-simplerun.exp, gdb.mi/mi1-stack.exp: Delete file.
774 * gdb.mi/mi1-stepi.exp, gdb.mi/mi1-symbol.exp: Delete file.
775 * gdb.mi/mi1-until.exp, gdb.mi/mi1-var-block.exp: Delete file.
776 * gdb.mi/mi1-var-child.exp, gdb.mi/mi1-var-cmd.exp: Delete file.
777 * gdb.mi/mi1-var-display.exp, gdb.mi/mi1-watch.exp: Delete file.
778
6bdfc2c4
JJ
7792004-02-11 Jeff Johnston <jjohnstn@redhat.com>
780
781 * gdb.asm/ia64.inc (gdbasm_startup): Make sure first instruction
782 executed is an alloc instruction.
783
87b3ede8
DC
7842004-02-11 David Carlton <carlton@kealia.com>
785
786 * gdb.cp/breakpoint.exp: New.
787 * gdb.cp/breakpoint.cc: New.
788
6e19e2bf
MC
7892004-02-11 Michael Chastain <mec.gnu@mindspring.com>
790
791 Partial fix for PR gdb/1543.
792 * gdb.cp/ambiguous.exp, gdb.cp/annota2.exp, gdb.cp/annota3.exp,
793 gdb.cp/anon-union.exp, gdb.cp/casts.exp, gdb.cp/classes.exp,
794 gdb.cp/cplusfuncs.exp, gdb.cp/ctti.exp, gdb.exp/demangle.exp,
795 gdb.cp/derivation.exp, gdb.cp/exception.exp, gdb.cp/hang.exp,
796 gdb.cp/inherit.exp, gdb.cp/local.exp, gdb.cp/maint.exp,
797 gdb.cp/member-ptr.exp, gdb.cp/method.exp, gdb.cp/misc.exp,
798 gdb.cp/namespace.exp, gdb.cp/overload.exp, gdb.cp/ovldbreak.exp,
799 gdb.cp/psmang.exp, gdb.cp/ref-types.exp, gdb.cp/templates.exp,
800 gdb.cp/userdef.exp, gdb.cp/virtfunc.exp: Remove reference
801 to bug-gdb@prep.ai.mit.edu .
802 * gdb.cp/bs15503.cc, gdb.cp/class2.cc, gdb.cp/cttiadd.cc,
803 gdb.cp/cttiadd1.cc, gdb.cp/cttiadd2.cc, gdb.cp/cttiadd3.cc,
804 gdb.cp/exception.cc, gdb.cp/member-ptr.cc, gdb.cp/namespace1.cc:
805 Likewise.
806
5c5455dc
AC
8072004-02-10 Andrew Cagney <cagney@redhat.com>
808
809 * lib/gdb.exp (gdb_expect_list): Recover from internal-errors
810 using gdb_internal_error_resync.
811
9cf689d7
DJ
8122004-02-09 Daniel Jacobowitz <drow@mvista.com>
813
814 * gdb.threads/thread-specific.exp: Stop early if no threads are
815 found.
816
d2dc51db
MC
8172004-02-09 Michael Chastain <mec.gnu@mindspring.com>
818
819 * gdb.base/pending.exp: Remove extra \n from gdb_test calls.
820
14b1a056
DJ
8212004-02-08 Daniel Jacobowitz <drow@mvista.com>
822
823 * lib/gdb.exp (gdb_breakpoint): Fail on unexpected pending
824 breakpoints.
825
83f66e8f
DJ
8262004-02-07 Daniel Jacobowitz <drow@mvista.com>
827
828 * config/sim.exp (gdb_load): Handle $arg == "".
829 * lib/gdb.exp (gdb_run_cmd): Honor gdb,do_reload_on_run.
830 * gdb.objc/basicclass.exp: Use gdb_run_cmd.
831
30fc0091
EZ
8322004-02-07 Elena Zannoni <ezannoni@redhat.com>
833
834 * gdb.base/maint.exp: Update test to reflect
835 obstack changes.
836
4d806929
JJ
8372004-02-04 Jeff Johnston <jjohnstn@redhat.com>
838
839 * gdb.base/pendshr.c (pendfunc): New function that calls
840 pendfunc1.
841 * gdb.base/pending.c: Call pendfunc instead of pendfunc1.
842
7bfdd688
FF
8432004-02-04 Fred Fish <fnf@redhat.com>
844
845 * gdb.arch/gdb1431.c: Add underbar prefixed version of global
846 function symbols and update copyright years.
847 * gdb.arch/gdb1291.c: Ditto.
848
aaa08ee4
MC
8492004-02-03 Michael Chastain <mec.gnu@mindspring.com>
850
851 * gdb.cp/virtfunc.exp: Accept both "ctor()" and "ctor(void)".
852
dbad7755
MC
8532004-02-03 Michael Chastain <mec.gnu@mindspring.com>
854
855 * gdb.cp/inherit.exp: Accept both "ctor()" and "ctor(void)".
856
ec4646ef
MC
8572004-02-03 Michael Chastain <mec.gnu@mindspring.com>
858
859 * gdb.cp/inherit.exp: Accept output with gcc 3.2-7-rh.
860
1b802196
FF
8612004-02-02 Fred Fish <fnf@redhat.com>
862
863 * gdb.base/bang.exp: Use gdb_run_cmd so this tests works with
864 remote targets. Update copyright years.
865
18fe2033
JJ
8662004-02-02 Jeff Johnston <jjohnstn@redhat.com>
867
868 * lib/gdb.exp (gdb_breakpoint): Add pending breakpoint
869 support.
870 * gdb.base/langs.exp: Fix test which attempts to create
871 breakpoint on non-existent function to handle new pending
872 support.
873 * gdb.base/shlib-call.exp: Use gdb_breakpoint to set
874 a breakpoint.
875 * gdb.base/pending.exp: New test.
876 * gdb.base/pending.c: New file.
877 * gdb.base/pendshr.c: Ditto.
878
8d577d32
DC
8792004-02-02 David Carlton <carlton@kealia.com>
880
881 * gdb.cp/overload.exp: Add overloadNamespace tests.
882 * gdb.cp/overload.cc (dummyClass, dummyInstance): New.
883 (overloadNamespace, XXX): New.
884 (main): Call XXX::marker2.
885
3ad13771
FF
8862004-02-01 Fred Fish <fnf@redhat.com>
887
888 * gdb.base/dump.exp: Use runto_main instead of "runto main".
889 * gdb.base/finish.exp: Ditto.
890 * gdb.base/gcore.exp: Ditto.
891 * gdb.base/huge.exp: Ditto.
892 * gdb.base/info-proc.exp: Ditto.
893 * gdb.base/return2.exp: Ditto.
894 * gdb.threads/gcore-thread.exp: Ditto.
895
44c75849
DJ
8962004-02-01 Daniel Jacobowitz <drow@mvista.com>
897
898 * gdb.threads/thread-specific.exp: Add missing anchor to regexp.
899
005bc093
MK
9002004-02-01 Mark Kettenis <kettenis@gnu.org>
901
902 * gdb.base/fileio.c (test_open): Replace O_RDONLY with O_RDWR such
903 that opening the file succeeds on OpenBSD.
904
c47cebdb
DJ
9052004-02-01 Daniel Jacobowitz <drow@mvista.com>
906
907 * gdb.threads/thread-specific.c: New file.
908 * gdb.threads/threads-specific.exp: New test script.
909 * lib/gdb.exp (gdb_test_multiple): Allow user patterns access
910 to expect_out.
911
5a01311c
MK
9122004-02-01 Mark Kettenis <kettenis@gnu.org>
913
914 * gdb.base/call-ar-st.exp: Call get_debug_format. Remove xfail on
915 sparc*-*-solaris* into a kfail PR gdb/1539 on sparc-*-* for stabs
916 only on the "print_small_structs from print_long_arg_list" test.
917
ce22a4f1
DJ
9182004-02-01 Daniel Jacobowitz <drow@mvista.com>
919
920 * gdb.base/completion.exp: Kill a stray backslash.
921
922 From Jim Ingham <jingham@apple.com>:
923 * gdb.base/completion.exp: Test that "complete file ./gdb.base/compl"
924 agrees with the result from sending a tab.
925
abbab9d3
DJ
9262004-01-31 Daniel Jacobowitz <drow@mvista.com>
927
928 * gdb.base/chng-syms.exp: Remove stray newline.
929
53904d1e
MK
9302004-01-31 Mark Kettenis <kettenis@gnu.org>
931
932 * gdb.asm/asm-source.exp: Set asm-note to "openbsd" for
933 *-*-openbsd*.
934 * gdb.asm/openbsd.inc: New file.
935
3a4b3aac
MK
9362004-01-30 Mark Kettenis <kettenis@gnu.org>
937
938 * gdb.asm/asm-source.exp: Strip -Wl, from link-flags. Don't
939 append -static to link-flags for *-*-freebsd*, *-*netbsd* and
940 *-*solaris2*. Remove commented out default settings for
941 asm-flags. Replace gdb_compile with target_link.
942
ebac27b4
MC
9432004-01-29 Michael Chastain <mec.gnu@mindspring.com>
944
945 * gdb.cp/inherit.exp: Rewrite. Use gdb_test_multiple and gdb
946 for all tests. Remove old hp-ux and cygnus xfail cases.
947
d8679d84
PH
9482004-01-29 Paul N. Hilfinger <Hilfinger@gnat.com>
949
950 * gdb.base/chng-syms.exp: New file.
951 * gdb.base/chng-syms.c: New file.
952
0a55bc22
MC
9532004-01-24 Michael Chastain <mec.gnu@mindspring.com>
954
955 * gdb.cp/local.exp: Rewrite "ptype Local". Add "ptype l".
956 Provide arms for current output in all my configurations.
957
94b8e876
MC
9582004-01-24 Michael Chastain <mec.gnu@mindspring.com>
959
960 * lib/compiler.c: Add hp_cc_compiler and hp_aCC_compiler.
961 * lib/compiler.cc: Likewise.
962 * lib/gdb.exp (get_compiler_info): Always call gdb_compile to
963 get the right preprocessor. Eval the output directly. Remove
964 special tests for hp_cc_compiler and hp_aCC_compiler. Remove
965 hp_f77_compiler and hp_f90_compiler completely.
966 (gdb_preprocess): Delete.
967 (get_compiler): Delete.
968
7cf03d44
MK
9692004-01-24 Mark Kettenis <kettenis@gnu.org>
970
971 * gdb.base/charset.c, gdb.base/dump.c, gdb.base/huge.c: Include
972 <string.h>.
973
68b6dce9
NR
9742004-01-24 Nick Roberts <nick@nick.uklinux.net>
975
976 * gdb.mi/mi-stack.exp: Update copyright.
977
b368761e
DC
9782004-01-23 David Carlton <carlton@kealia.com>
979
980 * gdb.cp/rtti.exp: Don't include full path in ${srcfile}. Add
981 test for cp_lookup_transparent_type.
982 * gdb.cp/rtti1.cc: Update copyright. Add n2::func and refer_to;
983 call them.
984
f2061b53
DJ
9852004-01-23 Daniel Jacobowitz <drow@mvista.com>
986
987 * gdb.mi/mi-var-child.exp: Update copyright year. Move new test
988 after -var-update.
989
37fc574a
DC
9902004-01-23 David Carlton <carlton@kealia.com>
991
992 * gdb.cp/namespace.cc (C::ensureRefs): New.
993 * gdb.cp/namespace1.cc (C::ensureOtherRefs): New.
994
8e94b928
NR
9952004-01-20 Nick Roberts <nick@nick.uklinux.net>
996
997 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Test for
998 case "-stack-list-locals 2".
999 * gdb.mi/mi-var-child.exp: Test for case
1000 "-var-list-children --all-values NAME".
1001
997b0952
MC
10022004-01-18 Michael Chastain <mec.gnu@mindspring.com>
1003
1004 * gdb.cp/local.exp: Accept correct output for gcc v3 -gstabs+.
1005
52470da3
MK
10062004-01-18 Mark Kettenis <kettenis@gnu.org>
1007
7049b4b8
MK
1008 * gdb.base/fileio.exp: Add "$gdb_prompt $" anchors to patterns
1009 used with gdb_test_multiple.
1010
52470da3
MK
1011 * gdb.base/gdb1476.exp: Accept alternat pattern for failed memory
1012 read at address 0. This fixes PR testsuite/1504.
1013
da6012e5
DJ
10142004-01-18 Daniel Jacobowitz <drow@mvista.com>
1015
1016 * config/gdbserver.exp (gdbserver_gdb_load): Rename from gdb_load.
1017 Remove downloading, guessing the host executable, the calls to
1018 gdb_file_cmd and gdb_target_cmd, and "load" support.
1019 (infer_host_exec): New function broken out from gdb_load.
1020 (gdb_load): New wrapper for gdbserver_gdb_load.
1021 * lib/mi-support.exp (mi_gdb_target_cmd): New function, based on
1022 gdb_target_cmd. Use -target-select.
1023 (mi_gdb_file_cmd): New function, broken out from mi_gdb_load.
1024 Download binaries to the host. Clear last_mi_remote_file when
1025 we load a new binary.
1026 (mi_gdb_load): Call mi_gdb_file_cmd. If gdbserver.exp is loaded,
1027 call gdbserver_gdb_load and mi_gdb_target_cmd.
1028
32c70722
MC
10292004-01-17 Michael Chastain <mec.gnu@mindspring.com>
1030
1031 * gdb.cp/templates.exp: Accept more spaces with "<foo, ?bar>"
1032 type patterns.
1033
b0cecf36
MC
10342004-01-17 Michael Chastain <mec.gnu@mindspring.com>
1035
1036 * gdb.cp/templates.exp: Fix typo in test name of
1037 "print Foo<volatile char*>::foo".
1038
4120d7e6
MC
10392004-01-15 Michael Chastain <mec.gnu@mindspring.com>
1040
1041 * gdb.base/setvar.exp: Remove setup_xfail for hppa*-*-*11*.
1042
f679e530
BE
10432004-01-16 Ben Elliston <bje@wasabisystems.com>
1044
1045 * gdb.arch/Makefile.in (MISCELLANEOUS): Remove.
1046 (clean mostlyclean): Remove empty rm.
1047
091c48f6
MC
10482004-01-15 Michael Chastain <mec.gnu@mindspring.com>
1049
1050 * gdb.base/setvar.exp: Add copyright years.
1051
3e5fc8d2
DC
10522004-01-14 David Carlton <carlton@bactrian.org>
1053
1054 * gdb.cp/rtti.exp: Update copyright. KFAIL test with repect to
1055 PR c++/1511 and update coment.
1056 * gdb.cp/templates.exp: Update patterns to match current output.
1057 If changes involve something other than whitespace, KFAIL
1058 w.r.t. PR c++/1512 or PR c++/931 as appropriate.
1059
63d06c5c
DC
10602004-01-14 David Carlton <carlton@kealia.com>
1061
1062 * gdb.cp/namespace.exp: Add tests involving classes defined within
1063 namespaces.
1064 * gdb.cp/namespace.cc (C::CClass): New.
1065 * gdb.cp/namespace1.cc (C::OtherFileClass): New.
1066
a51dab88
EZ
10672004-01-14 Elena Zannoni <ezannoni@redhat.com>
1068
1069 * gdb.base/sepdebug.exp: Bail out of the test if we don't know
1070 what debug info we have. Print a better message if something goes
1071 wrong while producing the separate debug info file.
1072
a476ccc9
MC
10732004-01-14 Michael Chastain <mec.gnu@mindspring.com>
1074
1075 * gdb.base/callfuncs.c: Remove explicit declaration of malloc.
1076
f453692c
MC
10772004-01-14 Michael Chastain <mec.gnu@mindspring.com>
1078
1079 * gdb.base/callfuncs.c: Add copyright notice.
1080
f40063a5
MC
10812004-01-13 Michael Chastain <mec.gnu@mindspring.com>
1082
1083 * gdb.cp/derivation.exp: Add XFAIL for bug with protected
1084 inheritance. PR gdb/1498, PR gcc/13539.
1085
19ac3974
EZ
10862004-01-13 Elena Zannoni <ezannoni@redhat.com>
1087
1088 * gdb.threads/gcore-thread.exp: Prefix name of binary with
1089 test specific name.
1090 * gdb.mi/gdb669.exp: Ditto.
1091 * gdb.mi/mi-pthreads.exp: Ditto.
1092 * gdb.mi/mi1-pthreads.exp: Ditto.
1093 * gdb.mi/mi2-pthreads.exp: Ditto.
1094
56c97c6e
MC
10952004-01-12 Michael Chastain <mec.gnu@mindspring.com>
1096
1097 * gdb.cp/member-ptr.cc: Add copyright notice.
1098
a0644324
MC
10992004-01-12 Michael Chastain <mec.gnu@mindspring.com>
1100
1101 * gdb.cp/member-ptr.exp: Use gdb_test, gdb_test_multiple. Add
1102 some patterns for recent versions of gcc and hpacc. Delete
1103 calls to setup_xfail for hppa*-*-*. Delete redundant tests.
1104 Delete tests that access a NULL pointer-to-member-data. This
1105 script is still disabled for gcc.
1106
32fabe09
EZ
11072004-01-12 Elena Zannoni <ezannoni@redhat.com>
1108
1109 * gdb.mi/mi2-basics.exp: Make sure that full pathnames are
1110 escaped correctly.
1111
1f8a6abb
EZ
11122004-01-12 Elena Zannoni <ezannoni@redhat.com>
1113
1114 * gdb.base/sepdebug.exp: New file.
1115 * gdb.base/sepdebug.c: New file.
1116 * lib/gdb.exp (separate_debug_filename): New procedure.
1117 (gdb_gnu_strip_debug): New procedure.
1118
48efe704
AC
11192004-01-12 Andrew Cagney <cagney@redhat.com>
1120
1121 * gdb.mi/ChangeLog: Delete file. Renamed to ...
1122 * gdb.mi/ChangeLog-1999-2003: New file.
1123
a9415475
AC
11242004-01-12 Andrew Cagney <cagney@redhat.com>
1125
1126 * gdb.base/fileio.exp: Update copyright year. On GNU/Linux, for
1127 "Renaming a directory to a non-empty directory returns ENOTEMPTY
1128 or EEXIST", treat EBUSY as an XFAIL.
1129
83b8cf9d
MC
11302004-01-11 Michael Chastain <mec.gnu@mindspring.com>
1131
1132 * gdb.base/scope.exp: Remove obsolete setup_xfail for
1133 hp_cc_compiler.
1134
9939d2a8
MC
11352004-01-10 Michael Chastain <mec.gnu@mindspring.com>
1136
1137 * gdb.cp/classes.exp: Remove old "(obsolescent gcc or gdb)"
1138 decorations.
1139
1ff8cadf
MC
11402004-01-10 Michael Chastain <mec.gnu@mindspring.com>
1141
1142 * gdb.cp/virtfunc.exp: Remove old "(obsolescent gcc or gdb)"
1143 and "(aCC)" decorations. Remove obsolete doco about old
1144 test results.
1145
6fa9022e
MC
11462004-01-09 Michael Chastain <mec.gnu@mindspring.com>
1147
1148 * gdb.cp/exception.exp: Fix typo in doco.
1149
209721fe
MK
11502004-01-09 Mark Kettenis <kettenis@gnu.org>
1151
1152 * gdb.base/gdb1476.exp: Fix typo.
1153
ef11303e
MC
11542004-01-09 Michael Chastain <mec.gnu@mindspring.com>
1155
1156 * gdb.hp/gdb.aCC/exception.exp: Re-create as a nearly empty
1157 file.
1158
041ab88c
MC
11592004-01-09 Michael Chastain <mec.gnu@mindspring.com>
1160
1161 * gdb.cp/exception.cc: Change <iostream.h> to <iostream>.
1162 * gdb.cp/exception.exp: Use gdb test, gdb_test_multiple.
1163 Use gdb_compile. Remove restriction on gcc. Add some patterns
1164 for recent version of gdb. Delete second half, which was a copy
1165 of the first half with different build flags. This test is
1166 still disabled because it is still not ready for production.
1167
e36d075a
MC
11682004-01-08 Michael Chastain <mec.gnu@mindspring.com>
1169
1170 * gdb.cp/exception.cc: Add copyright notice.
1171 * gdb.cp/exception.exp: Add a notice that this file is broken
1172 because of line number changes caused by addition of copyright
1173 notice.
1174
42b190ad
MC
11752004-01-08 Michael Chastain <mec.gnu@mindspring.com>
1176
1177 * gdb.cp/exception.cc: Renamed from gdb.hp/gdb.aCC/exception.cc.
1178 * gdb.cp/exception.exp: Renamed from gdb.hp/gdb.aCC/exception.exp.
1179
8f25f06b
MC
11802004-01-08 Michael Chastain <mec.gnu@mindspring.com>
1181
1182 * gdb.cp/classes.exp: Accept gnu abi 2.
1183 * gdb.cp/derivation.exp: Likewise.
1184 * gdb.cp/overload.exp: Likewise.
1185 * gdb.cp/virtfunc.exp: Likewise.
1186
06ded8b8
MC
11872004-01-08 Michael Chastain <mec.gnu@mindspring.com>
1188
1189 * gdb.mi/pthreads.c (done_making_threads): Remove extraneous
1190 semicolon after end of function.
1191
77c26ae3
MC
11922004-01-07 Michael Chastain <mec.gnu@mindspring.com>
1193
1194 * gdb.cp/bs15503.cc: Include <iostream>, not <iostream.h>.
1195 * gdb.cp/bs15503.exp: Remove hp-only restriction. Use modern
1196 boilerplate code for compiling and running the program under
1197 test. Add some string method tests.
1198
20757486
MC
11992004-01-07 Michael Chastain <mec.gnu@mindspring.com>
1200
1201 * gdb.cp/bs15503.cc: Add copyright notice.
1202 * gdb.cp/bs15503.exp: Adjust line number.
1203
0fd3b503
MC
12042004-01-07 Michael Chastain <mec.gnu@mindspring.com>
1205
1206 * gdb.hp/gdb.defects/bs15503.exp: Renamed to gdb.cp/bs15503.exp.
1207 * gdb.hp/gdb.defects/bs15503.cc: Renamed to gdb.cp/bs15503.cc.
1208
10d1bea8
MC
12092004-01-07 Michael Chastain <mec.gnu@mindspring.com>
1210
1211 * gdb.base/funcargs.exp: Remove obsolete setup_xfail for
1212 hp_cc_compiler.
1213
2789202a
MC
12142004-01-07 Michael Chastain <mec.gnu@mindspring.com>
1215
1216 * gdb.cp/cttiadd.c: Add a marker for gdb_get_line_number.
1217 * gdb.cp/ctti.exp: Use the marker instead of "next".
1218 With gcc, run further before bailing.
1219
b862f14c
MC
12202004-01-07 Michael Chastain <mec.gnu@mindspring.com>
1221
1222 * gdb.cp/cttiadd.cc: Add copyright notice.
1223 * gdb.cp/cttiadd1.cc: Likewise.
1224 * gdb.cp/cttiadd2.cc: Likewise.
1225 * gdb.cp/cttiadd3.cc: Likewise.
1226
96da2469
MC
12272004-01-07 Michael Chastain <mec.gnu@mindspring.com>
1228
1229 * gdb.cp/ctti.exp: Partial rewrite. Call gdb_compile properly.
1230 Use gdb_test, gdb_test_multiple. Use floating-point values that
1231 have exact representations in IEEE-ish formats.
1232
053248ff
MC
12332004-01-07 Michael Chastain <mec.gnu@mindspring.com>
1234
1235 * gdb.base/constvars.exp: Do not force lang=c++ if using HP
1236 compilers. Delete duplicate call to get_compiler_info.
1237 (local_compiler_xfail_check): setup_xfail if $hp_cc_compiler.
1238 * gdb.base/volatile.exp: Likewise.
1239
84acecdd
MK
12402004-01-07 Mark Kettenis <kettenis@gnu.org>
1241
1242 * gdb.base/gdb1476.exp: Only run the tests if we can't read the
1243 memory at address 0.
1244
fe11a27f
MC
12452004-01-07 Michael Chastain <mec.gnu@mindspring.com>
1246
1247 * gdb.stabs/weird.exp: Use hp_cc_compiler and hp_aCC_compiler
1248 to test for hp-ux assembler. Fix copyright years.
1249
60ad077b
AC
12502004-01-07 Andrew Cagney <cagney@redhat.com>
1251
1252 * gdb.base/fileio.c (strerrno): Add "EBUSY".
1253
1c9b8f33
AC
12542004-01-07 Andrew Cagney <cagney@redhat.com>
1255
1256 * gdb.base/fileio.c (test_open): Do not pass S_IWUSR to "open"
1257 when creating the read-only file. From analysis by Roland McGrath
1258 and Elena Zannoni.
1259
753ccc7a
MC
12602004-01-06 Michael Chastain <mec.gnu@mindspring.com>
1261
1262 * gdb.cp/namespace.exp: Call get_compiler_info with "c++".
1263
eca3e36b
MC
12642004-01-06 Michael Chastain <mec.gnu@mindspring.com>
1265
1266 * gdb.base/cvexpr.c: Be type-safe with function pointers and
1267 data pointers.
1268
f8d4bac4
MC
12692004-01-06 Michael Chastain <mec.gnu@mindspring.com>
1270
1271 * gdb.cp/m-static.exp: Compile one source file at a time.
1272 Delete unused call to get_compiler_info.
1273
9b4e0f94
MC
12742004-01-06 Michael Chastain <mec.gnu@mindspring.com>
1275
1276 * gdb.base/call-ar-st.exp: Delete explicit reference to ${binfile}.ci.
1277 * gdb.base/call-rt-st.exp: Likewise.
1278 * gdb.base/nodebug.exp: Likewise.
1279 * gdb.base/volatile.exp: Likewise.
1280 * gdb.cp/ref-types.exp: Likewise.
1281 * gdb.cp/templates.exp: Likewise.
1282
023c1024
MK
12832004-01-05 Mark Kettenis <kettenis@gnu.org>
1284
1285 * gdb.base/gdb1476.exp, gdb.base/gdb1476.c: New files.
1286
19703c4a
MC
12872004-01-05 Michael Chastain <mec.gnu@mindspring.com>
1288
1289 * gdb.cp/funcargs.exp: Delete special timeout of 240 seconds for
1290 hppa*-hp-hpux*.
1291
18b67037
MK
12922004-01-04 Mark Kettenis <kettenis@gnu.org>
1293
ba6219c8
MK
1294 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
1295 x86_64-*-*.
1296
18b67037
MK
1297 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
1298 sparc64-*-* and sparc*-solaris2*.
1299
1bfbbb9d
MK
13002004-01-04 Mark Kettenis <kettenis@gnu.org>
1301
1302 * gdb.base/structs.exp: Remove ${testfile} from "zed L<n> for
1303 return ${tests}" test. The ${tests} already mentions the
1304 filename.
1305
06846494
MC
13062004-01-02 Michael Chastain <mec.gnu@mindspring.com>
1307
1308 * gdb.cp/local.exp: Accept gcc abi 2.
1309
3b0cb202
MC
13102004-01-02 Michael Chastain <mec.gnu@mindspring.com>
1311
1312 * gdb.cp/templates.exp: Accept gcc abi 2.
1313
0643ec3f
MC
13142004-01-02 Michael Chastain <mec.gnu@mindspring.com>
1315
1316 * lib/compiler.cc: Remove supports_template_debugging.
1317 * gdb.cp/templates.exp: Do not test supports_template_debugging.
1318
d231d0b1
MC
13192004-01-01 Michael Chastain <mec.gnu@mindspring.com>
1320
1321 * gdb.cp/namespace.exp: Accept gcc abi 2.
1322
44ffb27c
MC
13232004-01-01 Michael Chastain <mec.gnu@mindspring.com>
1324
1325 * gdb.cp/method.exp: Accept gcc abi 2.
1326
184ad485
MC
13272004-01-01 Michael Chastain <mec.gnu@mindspring.com>
1328
1329 * gdb.cp/classes.exp: Generate identical results as old version.
1330 * gdb.cp/derivation.exp: Likewise.
1331 * gdb.cp/overload.exp: Likewise.
1332 * gdb.cp/virtfunc.exp: Likewise.
1333
116f09e7
MC
13342004-01-01 Michael Chastain <mec.gnu@mindspring.com>
1335
1336 * gdb.cp/virtfunc.exp: Modify some patterns to avoid a
1337 mysterious bug with sourceware version of expect.
1338
b1379776
MC
13392004-01-01 Michael Chastain <mec.gnu@mindspring.com>
1340
1341 * gdb.cp/overload.exp: Rewrite. Clean up patterns to match
1342 current versions of gcc, including gcc abi 2. Remove gratuitous
1343 restart of test program. Use gdb_test_multiple and gdb_test for
1344 all tests. Add patterns to xfail missing "const" in "const char *"
1345 and kfail PR gdb/1155.
1346
6b7a4c0e
MC
13472004-01-01 Michael Chastain <mec.gnu@mindspring.com>
1348
1349 * gdb.cp/derivation.exp: Rewrite. Clean up patterns to match
1350 current versions of gcc, including gcc abi 2. Remove gratuitous
1351 restart of test program. Use gdb_test_multiple and gdb_test for
1352 all tests. Add patterns to kfail PR gdb/1498.
1353
51615d72
MC
13542003-12-31 Michael Chastain <mec.gnu@mindspring.com>
1355
1356 * gdb.cp/virtfunc.exp: Rewrite. Clean up patterns to match
1357 current versions of gcc, including gcc abi 2. Use "breakpoint"
1358 and "continue" instead of restarting the target program. Use
1359 gdb_test_multiple and gdb_test for all tests.
1360
7b79a9d7
MK
13612004-01-01 Mark Kettenis <kettenis@gnu.org>
1362
1363 * gdb.asm/asm-source.exp: Update copyright year. Link statically
1364 for *-*-solaris2*.
1365
1cd3489f
MC
13662003-12-31 Michael Chastain <mec.gnu@mindspring.com>
1367
1368 * gdb.cp/classes.exp: Rewrite. Clean up patterns to match
1369 current versions of gcc, including gcc abi 2. Use "breakpoint"
1370 and "continue" instead of restarting the target program several
1371 times. Use gdb_test_multiple and gdb_test for all tests.
1372
850742db
MC
13732003-12-18 Michael Chastain <mec.gnu@mindspring.com>
1374
1375 * gdb.base/sect-cmd.exp: Handle compiling test case from multiple
1376 source files.
1377
eb4bbda8
MC
13782003-12-16 Michael Chastain <mec.gnu@mindspring.com>
1379
1380 * gdb.base/environ.exp: Handle compiling test case from multiple
1381 source files.
1382
e42c7771
MC
13832003-12-16 Michael Chastain <mec.gnu@mindspring.com>
1384
1385 * gdb.base/structs.exp: Call gdb_exit as well as gdb_start.
1386
80e4b428
JB
13872003-12-17 Jim Blandy <jimb@redhat.com>
1388
5f06973a
JB
1389 * gdb.base/freebpcmd.c: Add copyright notice.
1390
80e4b428
JB
1391 * gdb.base/freebpcmd.exp: Mark the interesting failure as known.
1392
0ab84fb7
MC
13932003-12-16 Michael Chastain <mec.gnu@mindspring.com>
1394
1395 * gdb.base/maint.exp: Add generic FAIL patterns to prevent timeouts.
1396
1b3bb3d0
JB
13972003-12-13 Jim Blandy <jimb@redhat.com>
1398
1399 * gdb.base/freebpcmd.exp, gdb.base/freebpcmd.c: New test.
1400
3a4c9371
KB
14012003-12-12 Kevin Buettner <kevinb@redhat.com>
1402
1403 * gdb.asm/frv.inc: New file.
1404 * gdb.asm/asm-source.exp: Add frv-*-* as a supported target.
1405
a1dea79a
FF
14062003-12-09 Fred Fish <fnf@redhat.com>
1407
1408 * gdb.base/break.c (marker1, marker2, marker3, marker4): Move
1409 functions to break1.c and leave prototypes behind. Add more
1410 "set breakpoint NN here" comments.
1411 * gdb.base/break1.c: New file.
1412
1413 * gdb.base/break.exp: Handle compiling test case from multiple
1414 source files and change source file references as needed.
1415 * gdb.base/completion.exp: Ditto.
1416 * gdb.base/condbreak.exp: Ditto.
1417 * gdb.base/define.exp: Ditto.
1418 * gdb.base/ena-dis-br.exp: Ditto.
1419 * gdb.base/info-proc.exp: Ditto.
1420 * gdb.base/maint.exp: Ditto.
1421 * gdb.base/until.exp: Ditto.
1422
1423 * gdb.base/condbreak.exp: Use bp_locationNN variables instead of
1424 hardcoded line numbers.
1425 * gdb.base/define.exp: Ditto.
1426 * gdb.base/ena-dis-br.exp: Ditto.
1427 * gdb.base/maint.exp: Ditto.
1428 * gdb.base/until.exp: Ditto.
1429
1430 * gdb.base/completion.exp: Use "break1" for completion tests since
1431 "break" is no longer a unique prefix.
1432
5266b69c
AC
14332003-12-06 Andrew Cagney <cagney@redhat.com>
1434
1435 * gdb.base/structs.exp (test_struct_returns): When applicable, set
1436 "return_value_unimplemented". When an unimplemented struct return
1437 architecture, report incorrect values as a KFAIL
1438
374451f0
MC
14392003-12-05 Michael Chastain <mec.gnu@mindspring.com>
1440
1441 * gdb.cp/rtti.exp: Accept new wording of warning from
1442 cp_lookup_rtti_type.
1443
ba9b20a7
MC
14442003-12-05 Michael Chastain <mec.gnu@mindspring.com>
1445
1446 Partial fix for PR testsuite/1456.
1447 * gdb.base/scope.exp (test_at_main): Replace references to
1448 gcc_compiled with calls to test_compiler_info.
1449 (test_at_foo): Likewise.
1450 (test_at_bar): Likewise.
1451
b74b6d0b
MC
14522003-12-04 Michael Chastain <mec.gnu@mindspring.com>
1453
1454 Partial fix for PR testsuite/1456.
1455 * gdb.base/so-impl-ld.exp: Replace reference to gcc_compiled with call
1456 to test_compiler_info.
1457
ccfa3402
MC
14582003-12-03 Michael Chastain <mec.gnu@mindspring.com>
1459
1460 * gdb.base/so-impl-ld.exp: Update copyright notice.
1461
f6246aba
MC
14622003-12-02 Michael Chastain <mec.gnu@mindspring.com>
1463
1464 Partial fix for PR testsuite/1456.
1465 * gdb.base/mips_pro.exp: Replace references to gcc_compiled with calls
1466 to test_compiler_info.
1467
13ae734a
MC
14682003-11-28 Michael Chastain <mec.gnu@mindspring.com>
1469
1470 * gdb.objc/objcdecode.exp: Match and KFAIL the output that comes
1471 from current versions of gdb. Clean up regular expressions.
1472 Delete redundant timeout case.
1473
d8e1cdee
MC
14742003-11-28 Michael Chastain <mec.gnu@mindspring.com>
1475
1476 * gdb.objc/nondebug.exp: Match and KFAIL the output that comes
1477 from current versions of gdb. Clean up regular expressions.
1478 Delete redundant timeout case.
1479
96457b64
MC
14802003-12-01 Michael Chastain <mec.gnu@mindspring.com>
1481
1482 Partial fix for PR testsuite/1456.
1483 * gdb.base/callfuncs.exp (do_function_calls): Replace reference to
1484 gcc_compiled with call to test_compiler_info.
1485
f35309fc
MC
14862003-11-30 Michael Chastain <mec.gnu@mindspring.com>
1487
1488 Partial fix for PR testsuite/1456.
1489 * gdb.base/list.exp (test_list_function): Delete unused declaration
1490 of gcc_compiled.
1491
d7afdf9b
MC
14922003-11-29 Michael Chastain <mec.gnu@mindspring.com>
1493
1494 Partial fix for PR testsuite/1456.
1495 * gdb.base/complex.exp: Replace reference to gcc_compiled with
1496 call to test_compiler_info.
1497
71507b56
MK
14982003-11-29 Mark Kettenis <kettenis@gnu.org>
1499
1500 * gdb.asm/asm-source.exp: Initialize asm-note to "empty". Set
1501 asm-note to "netbsd" for *-*-netbsdelf* and x86_64-*-netbsd*. Use
1502 it to create the appropriate note.inc.
1503 * gdb.asm/asmsrc1.s: Include "note.inc".
1504 * gdb.asm/netbsd.inc: New file.
1505 * gdb.asm/empty.inc: New file.
1506
f81f93f7
MC
15072003-11-28 Michael Chastain <mec.gnu@mindspring.com>
1508
1509 Partial fix for PR testsuite/1456.
1510 * gdb.base/constvars.exp: Replace references to gcc_compiled with
1511 calls to test_compiler_info.
1512
9a77938e
MC
15132003-11-27 Michael Chastain <mec.gnu@mindspring.com>
1514
1515 Partial fix for PR testsuite/1456.
1516 * gdb.base/volatile.exp: Replace references to gcc_compiled with
1517 calls to test_compiler_info.
1518
e8367dc7
MK
15192003-11-27 Mark Kettenis <kettenis@gnu.org>
1520
1521 * gdb.base/structs.exp: Use i*86-*-* instead of i686-*-* as a
1522 pattern for the KFAILs.
1523
526c61ee
AF
15242003-11-25 Adam Fedor <fedor@gnu.org>
1525
1526 * gdb.objc/objcdecode.exp: Test for PR objc/1238.
1527 * gdb.objc/objcdecode.m: New file.
1528
28f2d600
AF
15292003-11-25 Adam Fedor <fedor@gnu.org>
1530
1531 * gdb.objc/nondebug.exp: Test for PR objc/1236.
1532 * gdb.objc/nondebug.m: New file.
1533
a3895cee
BE
15342003-11-26 Ben Elliston <bje@wasabisystems.com>
1535
1536 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
1537 NetBSD as it does on FreeBSD. Modelled on a similar change by
1538 Mark Kettenis on 2003-05-30.
1539 (link-flags): Set to "--entry _start" regardless of target.
1540 Special linker flags are to be appended to $link-flags.
1541 * gdb.asm/mips.inc (gdbasm_startup): Remove __start label.
1542
c9f2c8a3
MC
15432003-11-25 Michael Chastain <mec.gnu@mindspring.com>
1544
1545 * gdb.cp/method.exp: Accept output of new demangler.
1546
15a0587a 15472003-11-25 Michael Chastain <mec.gnu@mindspring.com>
f4e8b6f3
MC
1548
1549 * gdb/class2.exp: New file.
1550 * gdb/class2.cc: New file.
1551
3c00b570
MC
15522003-11-25 Michael Chastain <mec.gnu@mindspring.com>
1553
1554 * gdb.cp/templates.exp (test_ptype_of_templates): Accept output
1555 of new demangler.
1556
7027acc7
MK
15572003-11-23 Mark Kettenis <kettenis@gnu.org>
1558
1559 * gdb.arch/i386-unwind.exp: Use gdb_run_cmd and gdb_expect instead
1560 of gdb_test "run".
1561
b0e1598a
MK
15622003-11-23 Mark Kettenis <kettenis@gnu.org>
1563
1564 * gdb.arch/i386-unwind.exp: Don't use runto_main. Change
1565 "continue" into "run".
1566
4d9eda44
MC
15672003-11-23 Michael Chastain <mec.gnu@mindspring.com>
1568
1569 Partial fix for PR testsuite/1456.
1570 * gdb.cp/ambiguous.exp: Replace reference to gcc_compiled with
1571 call to test_compiler_info.
1572 * gdb.cp/ctti.exp: Likewise.
1573 * gdb.cp/derivation.exp: Likewise.
1574 * gdb.cp/member-ptr.exp: Likewise.
1575 * gdb.cp/virtfunc.exp (test_virtual_calls): Remove unused
1576 reference to gcc_compiled.
1577
15782003-11-23 Michael Chastain <mec.gnu@mindspring.com>
b729099e
MC
1579
1580 Fix PR testsuite/1463.
1581 * gdb.base/structs.exp (start_structs_test): Call
1582 get_debug_format before using the debug format.
1583
d422fe19
AC
15842003-11-22 Andrew Cagney <cagney@redhat.com>
1585
1586 * lib/gdb.exp (gdb_test_multiple): Add simple example.
1587 * gdb.base/structs.exp: Use gdb_test_multiple.
1588
039cf96d
AC
15892003-11-20 Andrew Cagney <cagney@redhat.com>
1590
6882279b
AC
1591 * gdb.base/structs.exp: Handle and recover from internal errors.
1592 Replace "foo${n}" with "foo<n>" in test messages.
1593
e53890ae
AC
1594 * gdb.base/structs.exp: Update copyright. Rewrite.
1595 * gdb.base/structs.c: Update copyright. Rewrite.
1596
2b211c59
AC
1597 * lib/gdb.exp (gdb_internal_error_resync): Issue a perror when the
1598 resync count exceeded.
d63a86f8 1599
039cf96d
AC
1600 * gdb.base/maint.exp: Use gdb_internal_error_resync to recover
1601 from the internal error.
1602 * lib/gdb.exp (gdb_internal_error_resync): New procedure.
1603 Original from Jim Blandy.
1604 (gdb_test_multiple): Use gdb_internal_error_resync.
2b211c59 1605
eac98b22
AC
16062003-11-19 Andrew Cagney <cagney@redhat.com>
1607
1608 * gdb.base/callfuncs.exp: Change the XFAILed descriptor test to a
1609 KFAIL.
1610
67455b2a
MK
16112003-11-17 Mark Kettenis <kettenis@gnu.org>
1612
1613 New testcase for PR backtrace/1435.
1614 * gdb.arch/i386-unwind.exp: New file.
1615 * gdb.arch/i386-unwind.c: New file.
1616
853d6e5b
AC
16172003-11-17 Andrew Cagney <cagney@redhat.com>
1618
1619 * lib/gdb.exp (compiler_info): New global.
1620 (test_compiler_info): New function.
1621 (get_compiler_info): Set compiler_info.
1622 * lib/compiler.c, lib/compiler.cc: Add copyright. When GNUC, set
1623 "compiler_info" to gcc-<major>-<minor>.
1624
38cf6e11
MC
16252003-11-15 Michael Chastain <mec.gnu@mindspring.com>
1626
1627 * gdb.trace/configure: Remove.
1628
a50d3602
EZ
16292003-11-13 Elena Zannoni <ezannoni@redhat.com>
1630
1631 * gdb.base/break.c: Add comments to aid finding line numbers for
d63a86f8 1632 breakpoints.
a50d3602
EZ
1633 * gdb.base/break.exp: Remove all references to explicit line
1634 numbers.
1635
d9407aaa
NC
16362003-11-11 Nick Clifton <nickc@redhat.com>
1637
1638 * gdb.base/shreloc.exp: Do not run for targets which do not
1639 support shared objects.
1640
db488fc1
CV
16412003-11-10 Corinna Vinschen <vinschen@redhat.com>
1642
1643 * gdb.base/fileio.exp: Drop tests for nointerrupts and noinferiorio.
1644 Don't run tests if nofileio flag is given.
1645
6a90a18e
EZ
16462003-11-07 Elena Zannoni <ezannoni@redhat.com>
1647
1648 * gdb.cp/annota3.exp: Make sure we can match 'Hardware watchpoint'
1649 as well as 'Watchpoint'.
1650
0b915e9c
EZ
16512003-11-06 Elena Zannoni <ezannoni@redhat.com>
1652
1653 Reported by Jim Ingham <jingham@apple.com>:
1654 * gdb.base/annota1.exp: Match at least one occurrence of the
1655 signal handler annotation.
1656
d7e4b55f
EZ
16572003-11-06 Elena Zannoni <ezannoni@redhat.com>
1658
1659 * gdb.cp/annota2.exp: Make sure we can match 'Hardware watchpoint'
1660 as well as 'Watchpoint'.
1661
2fe4e8d0
MC
16622003-11-05 Michael Chastain <mec@shout.net>
1663
1664 * gdb.mi/pthreads.c (routine): Handle early return from sleep.
1665
6ef88553
KW
16662003-11-03 Kris Warkentin <kewarken@qnx.com>
1667
1668 * gdb.arch/gdb1291.c: New test file.
1669 * gdb.arch/gdb1291.exp: New test script.
1670 * gdb.arch/gdb1431.c: New test file.
1671 * gdb.arch/gdb1431.exp: New test script.
1672
ae7dc4d8
MC
16732003-10-22 Michael Chastain <mec@shout.net>
1674
1675 * gdb.mi/pthreads.c: Add copyright notice.
1676
c39d7427
MC
16772003-10-22 Michael Chastain <mec@shout.net>
1678
1679 * gdb.threads/pthreads.c: Add copyright notice.
1680
8b7d96c1
MC
16812003-10-20 Michael Chastain <mec@shout.net>
1682
1683 * gdb.base/gdb1056.exp: New test script.
1684
d1d69fdd
DJ
16852003-10-13 Daniel Jacobowitz <drow@mvista.com>
1686
1687 * gdb.threads/killed.exp: Use gdb_run_cmd.
1688
7d605576
DJ
16892003-10-13 Daniel Jacobowitz <drow@mvista.com>
1690
1691 * gdb.base/gcore.exp: Issue an UNSUPPORTED and exit if we can't
1692 create a core file.
1693 * gdb.threads/gcore-thread.exp: Likewise.
1694
618ec112
CV
16952003-10-13 Corinna Vinschen <vinschen@redhat.com>
1696
1697 * gdb.base/call-rt-st.c (struct bit_flags_char_t): New bitfield
1698 type, based on char type.
1699 (struct bit_flags_short_t): New bitfield type, based on short type.
1700 (init_bit_flags_char): New fuction.
1701 (init_bit_flags_short): Ditto.
1702 (print_bit_flags_char): Ditto.
1703 (print_bit_flags_short): Ditto.
1704 (main): Add handling for bit_flags_char_t and bit_flags_short_t.
1705
9367a73c
MC
17062003-10-11 Michael Chastain <mec@shout.net>
1707
1708 * gdb.base/call-rt-st.exp: Update copyright year.
1709
1decf120
KI
17102003-10-10 Kei Sakamoto <sakamoto.kei@renesas.com>
1711
1712 * config/hmsirom.exp: Replace "Hitachi" with "Renesas".
1713 * gdb.disasm/sh3.s: Ditto.
1714
5445b2ae
DJ
17152003-10-07 Daniel Jacobowitz <drow@mvista.com>
1716
1717 * gdb.threads/switch-threads.exp: New test.
1718 * gdb.threads/switch-threads.c: New source file.
1719
aec24853
CV
17202003-10-07 Corinna Vinschen <vinschen@redhat.com>
1721
1722 * gdb.base/ending-run.exp: Add sh specific case.
1723
adc7428d
AC
17242003-10-06 Andrew Cagney <cagney@redhat.com>
1725
1726 * gdb.base/watchpoint.exp: Delete obsolete clear_xfail.
1727 * gdb.disasm/mn10200.exp: Delete obsolete file.
1728
c9d37158
DJ
17292003-09-29 Daniel Jacobowitz <drow@mvista.com>
1730
1731 * ChangeLog: Correct an entry command.exp -> commands.exp.
1732 * gdb.base/commands.exp (bp_deleted_in_command_test)
1733 (temporary_breakpoint_commands): Check noargs.
1734
79c2c32d
DC
17352003-09-25 David Carlton <carlton@kealia.com>
1736
1737 * gdb.cp/namespace.exp: Tweak comments. Add non-quoted versions
1738 of some print tests, where appropriate. Add tests for C::D::cd,
1739 E::ce, F::cXfX, G::XgX.
1740 * gdb.cp/namespace.cc: Add XgX, cXfX, ce.
1741
594e6d67
RE
17422003-09-25 Richard Earnshaw <rearnsha@arm.com>
1743
1744 * lib/java.exp (java_init): Import target_alias before using it.
1745
10f0d451
DC
17462003-09-25 David Carlton <carlton@kealia.com>
1747
1748 * gdb.base/corefile.exp: Delete obsolete setup_xfail.
1749
274bcba0
EZ
17502003-09-23 Elena Zannoni <ezannoni@redhat.com>
1751
d63a86f8 1752 * gdb.base/selftest.exp: Accomodate more instruction reordering
274bcba0
EZ
1753 weirdness.
1754
cdbf20f7
MC
17552003-09-17 Michael Chastain <mec@shout.net>
1756
1757 * gdb.cp/gdb1355.exp: New file.
1758 * gdb.cp/gdb1355.c: New file.
1759
71e06f80
CV
17602003-09-15 Corinna Vinschen <vinschen@redhat.com>
1761
1762 * gdb.asm/asm-source.exp: Add sh*-*-* as supported target.
1763 * gdb.asm/sh.inc: New file.
1764
5c4e30ca
DC
17652003-09-11 David Carlton <carlton@kealia.com>
1766
bd45b7af
DC
1767 * gdb.cp/namespace.exp: Add tests for namespace types.
1768 * gdb.cp/maint.exp (test_help): Test 'help maint cp namespace'.
5c4e30ca
DC
1769 (test_namespace): New.
1770
1c199746
EZ
17712003-09-11 Elena Zannoni <ezannoni@redhat.com>
1772
1773 * gdb.base/relocate.exp: Handle new gdb output at startup.
3fcf0ced 1774 * gdb.stabs/weird.exp: Ditto.
1c199746 1775
04ed252f
MC
17762003-09-08 Michael Chastain <mec@shout.net>
1777
1778 * gdb.base/gdb1250.c: Rename 'gamma' to 'my_gamma'.
1779
d8a2d9e7
MC
17802003-09-07 Michael Chastain <mec@shout.net>
1781
1782 * gdb.cp/classes.exp: Accommodate both 'syntax error' and
1783 'parse error'.
1784
161afb24
MK
17852003-09-07 Mark Kettenis <m.kettenis@osp.nl>
1786
1787 * gdb.arch/i386-prologue.exp: Add checks for saved registers.
1788
49f2741a
MC
17892003-08-30 Michael Chastain <mec@shout.net>
1790
1791 * gdb.base/selftest.exp: Remove support for m68k*-*-hpux.
1792 * gdb.gdb/observer.exp: Ditto.
1793 * gdb.gdb/xfullpath.exp: Ditto.
1794
8afa723e
MK
17952003-08-29 Mark Kettenis <kettenis@gnu.org>
1796
1797 * gdb.base/interrupt.exp: XFAIL "call function when asleep" for
1798 *-*-*bsd*.
1799
f31dfe3b
JJ
18002003-08-28 Jeff Johnston <jjohnstn@redhat.com>
1801
1802 * gdb.base/dump.exp: Skip for ia64.
1803
4630e498
JJ
18042003-08-25 Jeff Johnston <jjohnstn@redhat.com>
1805
1806 * gdb.asm/asm-source.exp: Add ia64 support.
1807 * gdb.asm/ia64.inc: New file.
1808
1105b7ef
MC
18092003-08-22 Michael Chastain <mec@shout.net>
1810
1811 * gdb.cp: New directory.
1812 * gdb.cp/*: Copy from gdb.c++/*.
1813 * gdb.c++/*: Remove.
1814 * Makefile.in: Change gdb.c++ to gdb.cp.
1815 * configure.in: Ditto.
1816 * configure: Regnerate.
1817
c945b932
MK
18182003-08-18 Mark Kettenis <kettenis@gnu.org>
1819
1820 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1338.
1821 * gdb.arch/i386-prologue.c (gdb1338): Add function.
1822
2b66634b
DJ
18232003-08-17 Daniel Jacobowitz <drow@mvista.com>
1824
1825 * mi-var-display.exp (-var-list-children weird): Accept function
1826 pointers with argument types.
1827 * mi1-var-display.exp (-var-list-children weird): Likewise.
1828 * mi2-var-display.exp (-var-list-children weird): Likewise.
1829
a356f73b
DJ
18302003-08-17 Daniel Jacobowitz <drow@mvista.com>
1831
1832 * gdb.base/annota3.exp: Add missing newline.
1833
483417b8
MC
18342003-08-06 Michael Chastain <mec@shout.net>
1835
1836 * gdb.java/jmisc1.exp: Add test for pr gdb/1322.
1837
c99c59c3
MS
18382003-08-12 Michael Snyder <msnyder@redhat.com>
1839
1840 * gdb.base/float.exp: Add test for SH.
1841
55ed7501
MK
18422003-08-10 Mark Kettenis <kettenis@gnu.org>
1843
1844 * gdb.arch/i386-prologue.c, gdb.arch/i386-prologue.exp: New files.
1845
1a371f2e
EZ
18462003-08-07 Elena Zannoni <ezannoni@redhat.com>
1847
1848 * gdb.base/completion.exp: Remove reduntant completion test
1849 on filename.
1850
e0f353ce
EZ
18512003-08-07 Elena Zannoni <ezannoni@redhat.com>
1852
1853 * gdb.base/attach.exp, gdb.base/detach.exp, gdb.base/gcore.exp,
1854 gdb.mi/mi-basics.exp, gdb.threads/gcore-thread.exp,
1855 gdb.trace/save-trace.exp: Make sure that full pathnames are
1856 escaped correctly.
1857
5710a1af 18582003-08-07 Elena Zannoni <ezannoni@redhat.com>
d63a86f8 1859
5710a1af
EZ
1860 * configure.in: Don't generate config.h from config.hin.
1861 * configure: Regenerate.
1862 * config.hin: Remove file.
1863 * gdb.mi/pthreads.c: Remove include of config.h, and other ifdefs.
1864 * gdb.threads/pthreads.c: Ditto.
1865
dcd81ce9
DJ
18662003-08-07 Daniel Jacobowitz <drow@mvista.com>
1867
1868 From Kei Sakamoto <sakamoto.kei@renesas.com>:
1869 * gdb.asm/asm-source.exp : Add -lgloss to link-flags.
1870 * gdb.asm/m32r.inc : Remove an illegal nop after bl instruction.
1871 Replace ld24 with seth/add3.
1872
6009d884
AC
18732003-08-02 Andrew Cagney <cagney@redhat.com>
1874
1875 * gdb.base/annota3.exp: New file.
1876 * gdb.base/annota3.c: New file.
1877 * gdb.c++/annota3.exp: New file.
1878 * gdb.c++/annota3.cc: New file.
1879
51514e06
MC
18802003-07-29 Michael Chastain <mec@shout.net>
1881
1882 * gdb.threads/tls.c (spin): Check errno only if sem_wait
1883 actually failed.
1884 (do_pass): Likewise.
1885 * gdb.threads/tls.exp: Always initialize no_of_threads.
1886
4ee6625b
DJ
18872003-07-27 Daniel Jacobowitz <drow@mvista.com>
1888
1889 * gdb.threads/print-threads.exp (test_all_threads): Loosen KFAIL
1890 pattern.
1891 * gdb.threads/tls-shared.exp: Don't use gdb_suppress_entire_file.
1892 * gdb.threads/tls.exp: Recognize one case of the host library not
1893 supporting TLS.
1894
225f2bf6
AC
18952003-07-27 Andrew Cagney <cagney@redhat.com>
1896
1897 * gdb.base/fileio.exp: Use SH when running commands using
1898 remote_exec.
1899
bcb27c9f
DJ
19002003-07-24 Daniel Jacobowitz <drow@mvista.com>
1901
1902 From Kei Sakamoto <sakamoto.kei@renesas.com>:
1903 * gdb.base/relocate.c (dummy): New padding array.
1904
3d67be83
MS
19052003-07-22 Michael Snyder <msnyder@redhat.com>
1906
d63a86f8 1907 * gdb.disasm/8300s.s: Fix syntax of bsr insn.
3d67be83
MS
1908
1909 * gdb.disasm/h8300s.exp : Minor changes in disassembler output require
1910 patterns to be more general, accepting old and new output.
1911 Some output chars (such as '+') also must be quoted.
d63a86f8 1912 Some addresses are displayed numerically instead of
3d67be83
MS
1913 symbolically.
1914
57ba3b85
MS
19152003-07-23 Michael Snyder <msnyder@redhat.com>
1916
686d097c
MS
1917 * gdb.base/return2.exp: Don't test long-long return.
1918
57ba3b85
MS
1919 * gdb.disasm/t01_mov.s: New file, h8300sx disassembly tests.
1920 * gdb.disasm/t01_mov.exp: Ditto.
1921 * gdb.disasm/t02_mova.s: Ditto.
1922 * gdb.disasm/t02_mova.exp: Ditto.
1923 * gdb.disasm/t03_add.s: Ditto.
1924 * gdb.disasm/t03_add.exp: Ditto.
1925 * gdb.disasm/t04_sub.s: Ditto.
1926 * gdb.disasm/t04_sub.exp: Ditto.
1927 * gdb.disasm/t05_cmp.s: Ditto.
1928 * gdb.disasm/t05_cmp.exp: Ditto.
1929 * gdb.disasm/t06_ari2.s: Ditto.
1930 * gdb.disasm/t06_ari2.exp: Ditto.
1931 * gdb.disasm/t07_ari3.s: Ditto.
1932 * gdb.disasm/t07_ari3.exp: Ditto.
1933 * gdb.disasm/t08_or.s: Ditto.
1934 * gdb.disasm/t08_or.exp: Ditto.
1935 * gdb.disasm/t09_xor.s: Ditto.
1936 * gdb.disasm/t09_xor.exp: Ditto.
1937 * gdb.disasm/t10_and.s: Ditto.
1938 * gdb.disasm/t10_and.exp: Ditto.
1939 * gdb.disasm/t11_logs.s: Ditto.
1940 * gdb.disasm/t11_logs.exp: Ditto.
1941 * gdb.disasm/t12_bit.s: Ditto.
1942 * gdb.disasm/t12_bit.exp: Ditto.
1943 * gdb.disasm/t13_otr.s: Ditto.
1944 * gdb.disasm/t13_otr.exp: Ditto.
1945
e00759ef
EZ
19462003-07-22 Elena Zannoni <ezannoni@redhat.com>
1947
1948 * gdb.threads/tls.exp :Add kfail for 'info address' case.
1949
8bc2021f
EZ
19502003-07-22 Elena Zannoni <ezannoni@redhat.com>
1951
1952 * gdb.threads/tls.c : New file.
1953 * gdb.threads/tls.exp : New file.
1954 * gdb.threads/tls-main.c : New file.
1955 * gdb.threads/tls-shared.c : New file.
1956 * gdb.threads/tls-shared.exp : New file.
1957
89320c4c
AS
19582003-07-22 Andreas Schwab <schwab@suse.de>
1959
1960 * gdb.asm/powerpc.inc (gdbasm_startup): Force alignment.
1961
180dea7c
AS
19622003-07-20 Andreas Schwab <schwab@suse.de>
1963
1964 * gdb.base/selftest.exp (do_steps_and_nexts): Add more patterns
1965 due to insn reordering.
1966
0714963c
AC
19672003-07-15 Andrew Cagney <cagney@redhat.com>
1968
1969 * gdb.asm/asm-source.exp: Do not allow "start" in the backtrace.
1970
98a23b3f
MC
19712003-07-15 Michael Chastain <mec@shout.net>
1972
1973 * gdb.base/gdb1250.exp: New file.
1974 * gdb.base/gdb1250.c: New file.
1975
27e417a2
ML
19762003-07-09 Michal Ludvig <mludvig@suse.cz>
1977
1978 * gdb.c++/templates.exp (test_ptype_of_templates): Recognize
1979 expansion of size_t to 'unsigned long', not only to 'unsigned'.
1980
8bc2021f
EZ
19812003-07-09 Elena Zannoni <ezannoni@redhat.com>
1982
1983 * gdb.threads/tls.c: New file.
1984 * gdb.threads/tls.exp: New file.
1985 * gdb.threads/tls-main.c: New file.
1986 * gdb.threads/tls-shared.c: New file.
1987 * gdb.threads/tls-shared.exp: New file.
1988
d99968dc
EZ
19892003-07-09 Elena Zannoni <ezannoni@redhat.com>
1990
1991 * gdb.base/annota1.exp: Make sure that we properly escape the
1992 full path of the source file. Xfail more permissive patterns,
d63a86f8 1993 due to a compiler debug info problem.
d99968dc 1994
83876b3b
AS
19952003-07-07 Andreas Schwab <schwab@suse.de>
1996
2705e972
AS
1997 * gdb.asm/m68k.inc: New file.
1998 * gdb.asm/asm-source.exp: Use it for m68k-*-*.
1999
83876b3b
AS
2000 * gdb.objc/basicclass.exp ("Call an Objective-C method with no
2001 arguments"): Also match negative number.
2002
2003 * gdb.base/float.exp ("info float"): Add test for m68k-*-*.
2004
3a871b37
DJ
20052003-07-03 Daniel Jacobowitz <drow@mvista.com>
2006
2007 * gdb.base/store.c (charest): New typedef.
2008 (add_char): Rename to add_charest, update.
2009 (wack_char): Rename to wack_charest, update types. Return l + r
2010 to keep r live across the call.
2011 (wack_short, wack_int, wack_long, wack_longest, wack_float)
2012 (wack_double, wack_doublest): Return l + r to keep r live across
2013 the call.
2014 * gdb.base/store.exp: Accomodate store.c changes.
2015
b2a7f303
DC
20162003-06-30 David Carlton <carlton@kealia.com>
2017
2018 * gdb.c++/maint.exp (test_invalid_name): New.
2019 (test_first_component): Add tests for invalid names.
2020
3c6cb4a1
MC
20212003-06-29 Michael Chastain <mec@shout.net>
2022
2023 * gdb.c++/inherit.exp (test_print_svi_classes): Accept gdb
2024 output of '<VTT for class>' for virtual base classes.
2025
f1c2644b
DJ
20262003-06-29 Daniel Jacobowitz <drow@mvista.com>
2027
2028 * gdb.base/completion.exp: Tab-complete "complet" instead of
2029 "compl".
2030 * gdb.base/complex.exp, gdb.base/complex.c: New files.
2031
18080350
DJ
20322003-06-29 Daniel Jacobowitz <drow@mvista.com>
2033
2034 * gdb.base/constvars.exp: Remove most xfails for GCC 3.x.
2035 * gdb.base/volatile.exp: Likewise.
2036
f56973f8
DJ
20372003-06-29 Daniel Jacobowitz <drow@mvista.com>
2038
2039 * gdb.threads/print-threads.exp (test_all_threads): Add kfail for
2040 gdb/1265.
2041
20422003-06-28 Michael Chastain <mec@shout.net>
48fe539f
DJ
2043 Daniel Jacobowitz <drow@mvista.com>
2044
2045 * gdb.base/selftest.exp (do_steps_and_nexts): Increase maximum
2046 initial line count of 'captured_main' from 26 to 32.
2047 (test_with_self): Allow xmalloc call to be interleaved with the
2048 preceding two lines.
2049
e766d4d6
JB
20502003-06-24 Joel Brobecker <brobecker@gnat.com>
2051
2052 * gdb.base/bang.exp: New testcase.
2053
f125c9a4
JB
20542003-06-23 Joel Brobecker <brobecker@gnat.com>
2055
2056 * gdb.base/langs.exp: Add some tests for the "minimal" language
2057 support.
2058
6e25beaf
EZ
20592003-06-23 Elena Zannoni <ezannoni@redhat.com>
2060
2061 * gdb.objc/basicclass.exp: Return -1 if we cannot compile
2062 the testcase.
2063
2f816dda
DJ
20642003-06-22 Daniel Jacobowitz <drow@mvista.com>
2065
2066 * gdb.base/relocate.exp: Test add-symbol-file with a variable
2067 offset.
2068
db5a5748
DJ
20692003-06-22 Daniel Jacobowitz <drow@mvista.com>
2070
2071 * gdb.c++/pr-1210.cc: New file.
2072 * gdb.c++/pr-1210.exp: New file.
2073
1df0c130
DJ
20742003-06-21 Daniel Jacobowitz <drow@mvista.com>
2075
2076 * lib/mi-support.exp (mi_run_cmd): Expect an MI response to
2077 000-exec-continue.
2078
a92feac0
MK
20792003-06-15 Mark Kettenis <kettenis@gnu.org>
2080
2081 * gdb.base/attach.exp: Use -1 for the ID of a nonexistent process
2082 on *-*-*bsd* instead of *-*-freebsd*.
2083
81a58f5b
AC
20842003-06-14 Andrew Cagney <cagney@redhat.com>
2085
2086 * gdb.base/store.exp: Test longest and doublest. Test all
2087 parameters. Weaken return statement match.
2088 * gdb.base/store.c: Add longest and doublest - aka long long and
2089 long double functions. Put all parameters into local register
2090 variables. Use negative values.
2091
b257a0d3
AC
20922003-06-14 Andrew Cagney <cagney@redhat.com>
2093
2094 * gdb.base/fileio.c: Include <errno.h>, and <sys/wait.h>. Gag
2095 -Wformat errors. Add lost line. Use WEXITSTATUS to get system
2096 exit status.
2097 * gdb.base/fileio.exp: Disable target when nointerrupts and
2098 noinferiorio, instead of limiting it to remote. Use remote_exec
2099 instead of system.
d63a86f8 2100
21c38304
JJ
21012003-06-12 Jeff Johnston <jjohnstn@redhat.com>
2102
2103 * gdb.base/float.exp: Add ia64 support.
2104
1bcdb424
CV
21052003-06-12 Corinna Vinschen <vinschen@redhat.com>
2106
2107 * gdb.base/fileio.exp: Run only on remote targets.
2108
6aeb981f
CV
21092003-06-10 Corinna Vinschen <vinschen@redhat.com>
2110
2111 * gdb.base/fileio.c: New file, testing File-I/O.
2112 * gdb.base/fileio.exp: Ditto.
2113
53df362e
RG
21142003-06-09 Raoul Gough <RaoulGough@yahoo.co.uk>
2115
2116 * gdb.base/shreloc.exp: New file, check symbol values obtained from
2117 shared objects after relocation at load time (gdb PR/1132).
2118 * gdb.base/shreloc.c, gdb.base/shreloc1.c, gdb.base/shreloc2.c:
2119 as above, part of the shared object relocation test.
2120
ffee1b46
MK
21212003-06-08 Mark Kettenis <kettenis@gnu.org>
2122
b5ca3722
MK
2123 * gdb.base/readline.exp: Add tests for operate-and-get-next with a
2124 fully filled history list.
2125 * gdb.base/gdb_history: New file.
2126
03ed860d
MK
2127 * gdb.base/signals.exp: XFAIL "continue to func1" on
2128 i*86-*-freebsd*.
2129
ffee1b46
MK
2130 * gdb.base/attach.exp: When trying to attach to a nonexistent
2131 process, make it possible to specify the PID based on the target,
2132 and do so for *-*-freebsd*.
2133
d80dbb52
RH
21342003-06-02 Richard Henderson <rth@redhat.com>
2135
2136 * gdb.base/float.exp: Add expected regexp for alpha-*-*.
2137
6dd77b81
RH
21382003-06-02 Richard Henderson <rth@redhat.com>
2139
2140 * gdb.base/selftest.exp: Next over lim_at_start initialization.
2141
f6347e16
RH
21422003-06-02 Richard Henderson <rth@redhat.com>
2143
2144 * gdb.base/dump.exp [alpha*-*-*]: Add -taso linker switch.
2145
2c161407
DJ
21462003-06-01 Daniel Jacobowitz <drow@mvista.com>
2147
2148 * gdb.asm/asm-source.exp: Dissassemble from &globalvar instead
2149 of globalvar.
2150
572eb746
MK
21512003-06-01 Mark Kettenis <kettenis@gnu.org>
2152
2153 * gdb.asm/asm-source.exp: Check for memory read errors in
2154 disassembler test on *BSD too.
2155
9e9617a5
RH
21562003-06-01 Richard Henderson <rth@redhat.com>
2157
2158 * gdb.asm/alpha.inc (gdbasm_enter): Use numeric register names
2159 for .frame.
2160 (gdbasm_call): Lose ldgp.
2161 (gdbasm_startup): Add frame information.
2162 * gdb.asm/asm-source.exp (alpha*-*): Add -no-mdebug to asm-flags.
2163
7b34ad4e
MK
21642003-05-31 Mark Kettenis <kettenis@gnu.org>
2165
2166 * gdb.base/float.exp: Expect similar output for x86_64-*-* as for
2167 i?86-*-*.
2168
10059fdf
MK
21692003-05-30 Mark Kettenis <kettenis@gnu.org>
2170
2171 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
2172 FreeBSD.
2173
acf4b816
RH
21742003-05-29 Richard Henderson <rth@redhat.com>
2175
2176 * gdb.asm/alpha.inc: New file.
2177 * gdb.asm/asm-source.exp: Use it.
2178
e9ecd949
JB
21792003-05-29 Jim Blandy <jimb@redhat.com>
2180
2181 * gdb.base/corefile.exp: Find corefiles on Linux, which names them
2182 'core.PID'.
2183
e3e5a4f3
JB
21842003-05-22 Jim Blandy <jimb@redhat.com>
2185
2186 * gdb.base/corefile.exp: Tolerate stuff after argument parens in
2187 backtrace.
d63a86f8 2188
72fe3d25
DC
21892003-05-20 David Carlton <carlton@math.stanford.edu>
2190
2191 * gdb.c++/namespace1.cc: Actually do 'cvs add' before committing
2192 this time.
2193
58da2eb2
DC
21942003-05-19 David Carlton <carlton@bactrian.org>
2195
2196 * gdb.c++/rtti.exp: New file, containing tests for PR c++/488.
2197 * gdb.c++/rtti.h, gdb.c++/rtti1.cc, gdb.c++/rtti2.cc: Ditto.
2198
1fcb5155
DC
21992003-05-19 David Carlton <carlton@bactrian.org>
2200
2201 * gdb.c++/namespace.exp: Add namespace scope and anonymous
2202 namespace tests.
2203 Bump copyright date.
2204 * gdb.c++/namespace.cc: Add anonymous namespace and namespace C.
2205 (main): Call C::D::marker2.
2206 * gdb.c++/namespace1.cc: New file.
2207
85e85163
JJ
22082003-05-14 Jeff Johnston <jjohnstn@redhat.com>
2209
2210 Roland McGrath <roland@redhat.com>
d63a86f8 2211 * gdb.threads/linux-dp.exp: Account for fact that in nptl model
85e85163
JJ
2212 there is no manager thread.
2213
a25fbfec
JJ
22142003-05-08 Jeff Johnston <jjohnstn@redhat.com>
2215
d63a86f8
RM
2216 * gdb.threads/schedlock.exp: Remove assumption that all threads
2217 will run in a particular small time slice. Also ensure we break
a25fbfec
JJ
2218 in one of the child threads rather than the main thread.
2219
be375bae
JB
22202003-05-07 Jim Blandy <jimb@redhat.com>
2221
09bf6082
JB
2222 Add support for assembly source testing on the s390x.
2223 * gdb.asm/asm-source.exp: Add a case for the s390x-*-*
2224 architecture.
2225 * gdb.asm/s390x.inc: New file.
2226
be375bae
JB
2227 * gdb.asm/asm-source.exp: Use a 'switch -glob' statement, not a
2228 succession of 'if' statements.
2229
00905d52
AC
22302003-05-05 Andrew Cagney <cagney@redhat.com>
2231
2232 * gdb.base/maint.exp: Add tests for "maint print dummy-frames".
2233
b1e29e33
AC
22342003-05-05 Andrew Cagney <cagney@redhat.com>
2235
2236 * gdb.base/watchpoint.exp: Rename CALL_DUMMY_BREAKPOINT_OFFSET to
2237 DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET in comments.
2238
e33d66ec
EZ
22392003-05-02 Elena Zannoni <ezannoni@redhat.com>
2240
2241 * gdb.base/charset.exp: Update based on new behavior of set/show
2242 charset commands.
2243
2b6fd0d8
AC
22442003-05-01 Andrew Cagney <cagney@redhat.com>
2245
2246 * gdb.asm/asm-source.exp: Check that "disassm" and "x/i" of a
2247 variable do not give memory errors.
2248
130cacce
AF
22492003-04-30 Adam Fedor <fedor@gnu.org>
2250
2251 * Makefile.in (ALL_SUBDIRS): Add gdb.objc
2252 * configure.in (AC_OUTPUT): Add gdb.objc/Makefile
2253 * gdb.objc/Makefile.in, gdb.objc/basicclass.exp,
2254 gdb.objc/basicclass.m: : New files
2255
2256 * lib/gdb.exp (gdb_compile_objc): New procedure.
2257
bea71854
DJ
22582003-04-27 Daniel Jacobowitz <drow@mvista.com>
2259
2260 * gdb.base/signals.exp: Make backtrace tests more specific.
2261
0f20eeea
DC
22622003-04-23 David Carlton <carlton@bactrian.org>
2263
2264 * gdb.c++/maint.exp (test_first_component): Add tests for
2265 'operator' in more locations.
2266
c8c4d8dc
KB
22672003-04-16 Kevin Buettner <kevinb@redhat.com>
2268
2269 * gdb.base/args.exp: Invoke gdb_load for simulator targets.
2270
3fe60e3c
EZ
22712003-04-16 Elena Zannoni <ezannoni@redhat.com>
2272
2273 * gdb.base/completion.exp: Make 'info func mark' complete on 'info
2274 func marke' instead. Update test name.
2275
9219021c
DC
22762003-04-15 David Carlton <carlton@math.stanford.edu>
2277
2278 * gdb.c++/maint.exp: New file.
2279
5dd55bdd
EZ
22802003-04-14 Elena Zannoni <ezannoni@redhat.com>
2281
2282 * gdb.threads/schedlock.c: Change type of thread function argument
2283 to long, to avoid warnings on 64-bit platforms.
2284
00890572
EZ
22852003-04-14 Elena Zannoni <ezannoni@redhat.com>
2286
2287 * gdb.base/attach.exp: Add new message from ptrace in case of
2288 attaching to nonexistent process.
d63a86f8 2289
93201743
JB
22902003-04-11 Jim Blandy <jimb@redhat.com>
2291
2292 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
2293 gdb.c++/userdef.cc: Place comments on the lines to which the
2294 marker function might return.
2295 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
2296 gdb.c++/userdef.exp: Look for those comments to check that we've
2297 returned to the right place, instead of checking line numbers.
2298
2a11c64d
EZ
22992003-04-11 Elena Zannoni <ezannoni@redhat.com>
2300
2301 * gdb.threads/pthreads.exp (test_startup): When setting a breakpoint
2302 match on sourcefile name, instead of directory name.
2303
68ab8fc5
EZ
23042003-04-10 Elena Zannoni <ezannoni@redhat.com>
2305
d63a86f8 2306 * gdb.base/completion.exp: Use string_to_regexp to match the
68ab8fc5
EZ
2307 working directory name.
2308
5624293a
JB
23092003-04-09 Jim Blandy <jimb@redhat.com>
2310
2311 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
2312 gdb.c++/userdef.exp: If GDB fails to restore the selected frame
2313 after an inferior function call, report the failure, but allow the
2314 test to continue.
2315
f1f02ee4
SC
23162003-04-05 Stephane Carrez <stcarrez@nerim.fr>
2317
2318 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
2319 with -DPROTOTYPES.
2320
6eb79af0
SC
23212003-04-05 Stephane Carrez <stcarrez@nerim.fr>
2322
2323 * gdb.base/break.exp: Revert last patch.
2324
8dfb4cf0
SC
23252003-04-04 Stephane Carrez <stcarrez@nerim.fr>
2326
2327 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
2328 with -DPROTOTYPES.
2329
ed4c619a
AC
23302003-04-02 Andrew Cagney <cagney@redhat.com>
2331
2332 * gdb.base/callfuncs.exp: Make "print add" messages unique.
2333 * gdb.base/ending-run.exp: Put spaces around "breakpoint" to stop
2334 matching directories by the name breakpoint.
2335 * gdb.base/pointers.exp: Make "ptype pppC" message consistent.
2336 Make "continue to marker1" consistent.
2337 * gdb.base/call-rt-st.exp: Make "finish out from loop_count"
2338 message consistent.
2339 * lib/gdb.exp: Put "the program is no longer running", and "the
2340 program exited" in parenthesis.
2341 * lib/mi-support.exp: Ditto.
d63a86f8 2342
4e35d5f0 23432003-04-02 Bob Rossi <bob_rossi@cox.net>
d63a86f8 2344
4e35d5f0
BR
2345 * gdb.mi/mi-file.exp: New file for -file-list-exec-source-file.
2346
71900fe8
AC
23472003-03-29 Andrew Cagney <cagney@redhat.com>
2348
2349 * gdb.base/sizeof.c (main): Print the value of '\377'.
2350 * gdb.base/sizeof.exp: Check the sign of '\377'.
2351
c0655a16
MC
23522003-03-27 Michael Chastain <mec@shout.net>
2353
2354 * gdb.base/gdb1090.exp: New file.
2355 * gdb.base/gdb1090.cc: New file.
2356
5b2a3989
JB
23572003-03-27 J. Brobecker <brobecker@gnat.com>
2358
2359 * gdb.gdb/observer.exp: New regression test.
2360
79876890
MC
23612003-03-27 Michael Chastain <mec@shout.net>
2362
2363 * gdb.base/list.exp: Remove setup_xfail_format for DWARF 1.
2364 * gdb.base/ptype.exp: Likewise.
2365
6eac95e3
CV
23662003-03-27 Corinna Vinschen <vinschen@redhat.com>
2367
2368 * gdb.c++/casts.exp: Fix startup to run also on embedded targets.
2369
e8c71839
MC
23702003-03-26 Michael Chastain <mec@shout.net>
2371
2372 * gdb.base/ptype.exp: Actually use some typedef'd types.
2373
71b10041
SC
23742003-03-21 Stephane Carrez <stcarrez@nerim.fr>
2375
2376 * gdb.asm/asm-source.exp: Set asm-arch for m6811 and m6812.
2377 * gdb.asm/m68hc11.inc: New file for HC11/HC12 macros.
2378
2512cf80
CV
23792003-03-20 Corinna Vinschen <vinschen@redhat.com>
2380
2381 * gdb.base/default.exp: Fix regular expression.
2382
0d195a4f
CV
23832003-03-20 Corinna Vinschen <vinschen@redhat.com>
2384
2385 * gdb.base/args.exp: Fix regular expression.
2386
8a2dbca8
CV
23872003-03-20 Corinna Vinschen <vinschen@redhat.com>
2388
2389 * gdb.base/help.exp: Allow Win32 child process.
2390
bf028682
CV
23912003-03-20 Corinna Vinschen <vinschen@redhat.com>
2392
2393 * gdb.base/ending-run.exp: Check for Cygwin specific wrapper function
2394 when stepping out of main().
2395
182dbe85
CV
23962003-03-20 Corinna Vinschen <vinschen@redhat.com>
2397
2398 * gdb.base/default.exp: Check for win32 specific message when calling
2399 "run" without executable.
2400
d67a6ba5
CV
24012003-03-20 Corinna Vinschen <vinschen@redhat.com>
2402
2403 * gdb.base/args.exp: Expect .exe in output.
2404
a955b5bb
CV
24052003-03-20 Corinna Vinschen <vinschen@redhat.com>
2406
2407 * gdb.asm/asm-source.exp: Add appropriate --entry linker flag for
2408 Cygwin native.
2409
bf6bad4b
AC
24102003-03-17 Andrew Cagney <cagney@redhat.com>
2411
2412 From Elena Zannoni <ezannoni@redhat.com>. Test e500 abi and
2413 vector registes.
2414 * gdb.arch/e500-regs.c, gdb.arch/e500-regs.exp: New files.
2415 * gdb.arch/e500-abi.c, gdb.arch/e500-abi.exp: New files.
2416
293e9a31
DC
24172003-03-17 David Carlton <carlton@math.stanford.edu>
2418
2419 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): New
2420 test, for PR breakpoints/38.
2421 Call test_watchpoint_and_breakpoint.
2422 * gdb.base/watchpoint.c (func3): New function.
2423 (main): Call func3.
2424
5330f2db
DC
24252003-03-04 David Carlton <carlton@math.stanford.edu>
2426
2427 * gdb.c++/templates.exp (do_tests): Accept valid const in "print
2428 Garply<Garply<char> >:: garply".
2429 (test_ptype_of_templates): KFAIL "ptype T5<int>" and "ptype t5i"
2430 with respect to PR c++/1111; note also PR c++/1113.
2431 (test_template_breakpoints): KFAIL "constructor breakpoint" with
2432 respect to PR c++/1062.
2433 KFAIL "destructor breakpoint" with respect to PR c++/1112.
2434
6ece72da
DC
24352003-03-03 David Carlton <carlton@math.stanford.edu>
2436
2437 * gdb.c++/classes.exp (test_enums): KFAIL "ptype obj_with_enum"
2438 with respect to PR c++/57.
2439 KFAIL "print (ClassWithEnum::PrivEnum) 42" with respect to PR
2440 c++/826.
2441 Create "print ('ClassWithEnum::PrivEnum') 42"; KFAIL it with
2442 respect to PR c++/57.
2443
85ca1584
DC
24442003-03-03 David Carlton <carlton@math.stanford.edu>
2445
2446 * gdb.c++/templates.exp (do_tests): Convert the KFAILs with
2447 respect to PR c++/33 into FAILs.
2448
98e9c5b8
MC
24492003-03-03 Michael Chastain <mec@shout.net>
2450
7bedbf27
MC
2451 * configure.in: Update copyright years.
2452
24532003-03-03 Michael Chastain <mec@shout.net>
2454
2455 * Makefile.in: Update copyright years.
98e9c5b8 2456
f683e100
DC
24572003-02-28 David Carlton <carlton@math.stanford.edu>
2458
2459 * gdb.c++/classes.exp (test_ptype_class_objects): Accept it if we
2460 print class instead of struct and/or superfluous protection
2461 specifiers, as long as the resulting output is equivalent to the
2462 source code.
2463 Delete FIXME from end of messages on tests that don't need
2464 fixing.
2465
a9e0cf2c
DC
24662003-02-28 David Carlton <carlton@math.stanford.edu>
2467
2468 * gdb.c++/templates.exp (do_tests): Allow const in the two
2469 Foo<volatile char *>::foo tests.
2470
e8d359df
MS
24712003-02-27 Michael Snyder <msnyder@redhat.com>
2472
d63a86f8 2473 * gdb.base/restore.c (main): Return zero, so exit code
e8d359df
MS
2474 will be consistant.
2475
0b71dc91
DC
24762003-02-26 David Carlton <carlton@math.stanford.edu>
2477
2478 * gdb.c++/templates.exp (do_tests): KFAIL the "print Foo<volatile
2479 char *>::foo" test with respect to PR c++/33. Create a new test
2480 which is identical to that one except that it doesn't put the
2481 space between the "char" and the "*"; KFAIL it, too.
2482
dd14ab43
DC
24832003-02-26 David Carlton <carlton@math.stanford.edu>
2484
2485 * gdb.c++/templates.exp (do_tests): Convert XFAILs about printing
2486 template types into either PASSes or KFAILs (corresponding to PR
2487 c++/57). Tweak indentation. Update copyright.
2488
1146c7f1
SC
24892003-02-23 Stephane Carrez <stcarrez@nerim.fr>
2490
2491 * lib/gdb.exp: Don't execute C++ tests on m6811/m6812 targets.
2492
74641dfb
MC
24932003-02-13 Michael Chastain <mec@shout.net>
2494
2495 * gdb.base/exprs.exp: Remove i960 remnants.
2496 * gdb.base/funcargs.exp: Likewise.
2497 * gdb.base/list.exp: Likewise.
2498 * gdb.base/ptype.exp: Likewise.
2499
559cd2d0
DC
25002003-02-14 David Carlton <carlton@math.stanford.edu>
2501
2502 * gdb.c++/virtfunc.exp (test_virtual_calls): Change 'print
2503 pEe->D::vg()" from XFAIL to KFAIL.
2504
c4f90d87
JM
25052003-02-13 Jason Molenda (jmolenda@apple.com)
2506
2507 * gdb.base/maint.exp: Update maint print statistics regexp to include
2508 new entries.
2509
cbc4d97c
MC
25102003-02-13 Michael Chastain <mec@shout.net>
2511
2512 * gdb.c++/inherit.exp: Remove call to get_debug_format.
2513
40f235b7
MC
25142003-02-12 Michael Chastain <mec@shout.net>
2515
2516 * gdb.c++/classes.exp: Remove setup_xfail_format for DWARF 1.
2517 * gdb.c++/inherit.exp: Likewise.
2518 * gdb.c++/cplusfuncs.exp: Remove suppression logic for DWARF 1.
2519 * gdb.c++/templates.exp: Likewise.
2520 * gdb.c++/virtfunc.exp: Likewise.
2521
c56716b0
JM
25222003-02-06 Jason Molenda (jason-cl@molenda.com)
2523
2524 * gdb.mi/mi-syn-frame.c (subroutine): Add a comment explaining
2525 why the code is written that way.
2526
070afcf8
MC
25272003-02-05 Michael Chastain <mec@shout.net>
2528
2529 * gdb.base/dump.exp: Add missing copyright line.
2530
5d0331e5
JM
25312003-02-05 Jason Molenda (jason-cl@molenda.com)
2532
f7ae6d3e 2533 * gdb.mi/mi-syn-frame.c (subroutine): Add an extra statement
5d0331e5
JM
2534 at the beginning so the breakpoint doesn't get set on the loop.
2535
92851186
MC
25362003-02-05 Michael Chastain <mec@shout.net>
2537
2538 * gdb.c++/local.exp: Relax the test for PR gdb/825 to accept
2539 output for configurations with gcc 2.95.3.
2540
cbf1e085
AC
25412003-02-05 Keith Seitz <keiths@redhat.com>
2542 Andrew Cagney <ac131313@redhat.com>
2543
2544 * gdb.mi/mi-cli.exp: New file.
d63a86f8 2545
29518e1e
MC
25462003-02-04 Michael Chastain <mec@shout.net>
2547
2548 * gdb.c++/anon-union.exp: Do not call gdb_suppress_entire_file.
2549 Call perror and then continue.
2550
5af1d5f3
MC
25512003-02-03 Michael Chastain <mec@shout.net>
2552
2553 * gdb.c++/pr-1023.cc: New file.
2554 * gdb.c++/pr-1023.exp: New file.
2555
6b549786
JB
25562003-02-05 Jim Blandy <jimb@redhat.com>
2557
2558 * gdb.c++/local.exp: Don't expect Local to be in scope in main;
2559 it's local to foobar. Check for it there, and check that it's not
2560 present in main.
2561 * gdb.c++/local.cc (marker2): New function.
2562 (foobar): Call marker1.
2563 (main): Call marker2 instead of marker1.
2564
67f16606
AC
25652003-02-04 Andrew Cagney <ac131313@redhat.com>
2566
2567 * gdb.disasm/mn10200.exp: Obsolete file.
2568 * gdb.trace/Makefile.in (clean mostlyclean): Remove mn10200.
2569 * gdb.disasm/Makefile.in (clean mostlyclean): Remove mn10200.
2570 * gdb.base/watchpoint.exp: Mark the mn10200 xfails as obsolete.
2571
1c5cb38e
DC
25722003-02-04 David Carlton <carlton@math.stanford.edu>
2573
2574 * gdb.c++/overload.exp: Test intToChar(1).
2575 * gdb.c++/overload.cc (intToChar): New.
2576 (main): Call intToChar.
2577
d1fe6965
DC
25782003-02-03 David Carlton <carlton@math.stanford.edu>
2579
2580 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): Add
2581 'might_kfail' arg.
2582 KFAIL some of the continue_to_bp_overloaded calls, according to
2583 PR c++/1025.
2584
9ba61c5d
MC
25852003-02-01 Michael Chastain <mec@shout.net>
2586
2587 * gdb.base/advance.c (marker1): New marker function.
2588 * gdb.base/advance.exp: When the 'advance' command lands on the
2589 return breakpoint, it can legitimately stop on either the
2590 current line or the next line. Accommodate both outcomes.
2591 * gdb.base/until.exp: Likewise.
2592
e7494ffb
AC
25932003-02-02 Andrew Cagney <ac131313@redhat.com>
2594
2595 2002-11-10 Jason Molenda (jason-cl@molenda.com):
2596 * gdb.mi/mi-var-child.exp: -var-list-children's CHILDREN field is
2597 now a list, not a tuple.
2598 * gdb.mi/mi-var-display.exp: Ditto.
2599 * gdb.mi/gdb792.exp: Ditto.
2600
075559bc
AC
26012003-02-01 Andrew Cagney <ac131313@redhat.com>
2602
2603 From 2002-11-09 Jason Molenda (jason-cl@molenda.com):
2604 * gdb.mi/mi-syn-frame.exp: New tests for synthetic frames in
2605 stack backtraces.
2606 * gdb.mi/mi-syn-frame.c: Part of same.
2607
2bd4c7b1
MK
26082003-02-01 Mark Kettenis <kettenis@gnu.org>
2609
2610 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
2611 gdb.mi/mi1-pthreads.exp: Return instead of calling
2612 gdb_suppress_entire_file.
2613
eabd8992
MS
26142003-02-01 Mark Salter <msalter@redhat.com>
2615
2616 * gdb.asm/arm.inc (gdbasm_startup): Clear frame pointer, not sp.
2617
71469e2f
MS
26182003-01-31 Mark Salter <msalter@redhat.com>
2619
2620 * lib/mi-support.exp (mi_gdb_load): Support remote targets.
2621 Support empty arg.
2622
38a94d44
MC
26232003-01-30 Michael Chastain <mec@shout.net>
2624
2625 * lib/gdb.exp: Revert patch of 2003-01-06, which set LC_ALL.
2626 This was a workaround for a UTF-8 bug in readline 4.3. The bug
2627 has been fixed in gdb/readline on 2003-01-09.
2628
19ea9e73
MS
26292003-01-29 Michael Snyder <msnyder@redhat.com>
2630
e8d359df
MS
2631 * gdb.base/maint.exp: Allow for leading underscore in symbol.
2632 * gdb.base/display.exp: Allow for leading underscore in symbol.
19ea9e73
MS
2633 * gdb.base/args.exp: Skip if target does not support args passing.
2634
2307bd6a
DJ
26352003-01-22 Daniel Jacobowitz <drow@mvista.com>
2636
19ea9e73 2637 * lib/gdb.exp (gdb_test_multiple): New function, cloned from
2307bd6a
DJ
2638 gdb_test. Accept a list of expect arguments as the third
2639 parameter.
2640 (gdb_test): Use it.
2641
f2dd3617
EZ
26422003-01-20 Elena Zannoni <ezannoni@redhat.com>
2643
2644 * gdb.arch/altivec-abi.exp: Set variable 'srcfile' differently, to
2645 allow for different test tree configurations. Update some
2646 tescases accordingly.
2647 * gdb.arch/altivec-regs.exp: Ditto.
2648 * gdb.asm/asm-source.exp: Ditto.
2649 * gdb.base/advance.exp: Ditto.
2650 * gdb.base/display.exp: Ditto.
d63a86f8 2651 * gdb.base/long_long.exp: Ditto.
f2dd3617
EZ
2652 * gdb.base/mips_pro.exp: Ditto.
2653 * gdb.base/overlays.exp: Ditto.
2654 * gdb.base/relocate.exp: Ditto.
2655 * gdb.base/setshow.exp: Ditto.
2656 * gdb.base/step-line.exp: Ditto.
2657 * gdb.base/step-test.exp: Ditto.
2658 * gdb.base/until.exp: Ditto.
2659 * gdb.c++/virtfunc.exp: Get rid of variable 'src'.
2660
c71cdefd
DC
26612003-01-17 David Carlton <carlton@math.stanford.edu>
2662
2663 * gdb.c++/demangle.exp (test_lucid_style_demangling): KFAIL test
2664 corresponding to PR c++/945.
2665 Update copyright.
2666
fdba05d7
DC
26672003-01-17 David Carlton <carlton@math.stanford.edu>
2668
2669 * gdb.c++/inherit.exp (test_print_mi_members): KFAIL tests
2670 corresponding to PR c++/68.
2671
26722003-01-17 David Carlton <carlton@math.stanford.edu>
d2b29e01
DC
2673
2674 * gdb.c++/cplusfuncs.exp (print_addr_2_kfail): New procedure.
2675 (test_paddr_hairy_functions): Call print_addr_2_kfail for
2676 hairyfunc5 through hairyfunc7. KFAIL for PR c++/19.
2677
c362c33a
EZ
26782003-01-15 Elena Zannoni <ezannoni@redhat.com>
2679
0fbc361c
EZ
2680 * gdb.base/break.exp: Fix change of default location, because of
2681 removal of until tests.
2682 * gdb.base/help.exp: Update test for new 'until' help message.
2683 Add test for help on 'advance'.
c362c33a
EZ
2684 * gdb.base/args.exp: Fix foobar with GDBFLAGS global.
2685
dabf8a35
MK
26862003-01-15 Mark Kettenis <kettenis@gnu.org>
2687
2688 * gdb.base/default.exp: Adapt "info float" test for recent changes
2689 to that command. Add test for "info vector".
2690 * gdb.base/float.exp: New file. Add test for "info float" that
2691 resembles the old test in gdb.base/default.exp.
2692
a1769aca
DC
26932003-01-15 David Carlton <carlton@math.stanford.edu>
2694
2695 * gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot.
2696
82025e13
EZ
26972003-01-15 Elena Zannoni <ezannoni@redhat.com>
2698
2699 * gdb.base/break.exp: Move the tests of until command from here...
2700 * gdb.base/until.exp: ... to here. New file. Add other tests.
2701 * gdb.base/advance.c: New file.
2702 * gdb.base/advance.exp: New file.
2703
8f9ab801
EZ
27042003-01-14 Elena Zannoni <ezannoni@redhat.com>
2705
2706 * gdb.base/args.c: New file.
2707 * gdb.base/args.exp: New file.
2708
9ae66589
DJ
27092003-01-14 Daniel Jacobowitz <drow@mvista.com>
2710
2711 * gdb.c++/virtfunc.exp: Remove fixed XFAIL.
2712
8d77e5c3
DJ
27132003-01-14 Daniel Jacobowitz <drow@mvista.com>
2714
2715 * gdb.threads/killed.exp: Use KFAIL for gdb/568.
2716
12d2f0a1
DJ
27172003-01-14 Daniel Jacobowitz <drow@mvista.com>
2718
2719 * gdb.base/constvars.exp: Remove two extra XFAILs. Update copyright
2720 dates.
2721
6ca37014
DJ
27222003-01-13 Daniel Jacobowitz <drow@mvista.com>
2723
2724 * gdb.c++/printmethod.exp (print virtual method): Accept "(void)".
2725
b0023472
DJ
27262003-01-13 Daniel Jacobowitz <drow@mvista.com>
2727
2728 * gdb.base/printcmds.exp: Enable setup_kfail for gdb/538
2729 (ptype &*"foo").
2730 * gdb.c++/local.exp: Enable setup_kfail for gdb/482.
2731
d6abaea5
DJ
27322002-01-13 Daniel Jacobowitz <drow@mvista.com>
2733
2734 * gdb.mi/mi-console.exp: Remove extra "(known bug)".
2735 * gdb.mi/mi1-console.exp: Likewise.
2736
dfd536a7
DJ
27372002-01-13 Daniel Jacobowitz <drow@mvista.com>
2738
2739 * gdb.mi/mi-console.exp: Add KFAIL for "Hello message (known bug)".
2740 * gdb.mi/mi1-console.exp: Likewise.
2741
a1fb14a2
DJ
27422003-01-13 Daniel Jacobowitz <drow@mvista.com>
2743
2744 * gdb.c++/overload.exp: Remove some fixed XFAILs.
2745
c4cf40b7
DJ
27462003-01-09 Daniel Jacobowitz <drow@mvista.com>
2747
2748 * gdb.base/detach.exp: New test.
2749
696d5a5b
DJ
27502003-01-09 Daniel Jacobowitz <drow@mvista.com>
2751
2752 * Makefile.in (ALL_SUBDIRS): New variable.
2753 (subdirs, clean, distclean): Use it.
2754 * gdb.arch/Makefile.in: Clean up Makefile. Remove rules for
2755 regenerating Makefile, since it is generated from the top level.
2756 * gdb.asm/Makefile.in: Likewise.
2757 * gdb.base/Makefile.in: Likewise.
2758 * gdb.c++/Makefile.in: Likewise.
2759 * gdb.disasm/Makefile.in: Likewise.
2760 * gdb.java/Makefile.in: Likewise.
2761 * gdb.mi/Makefile.in: Likewise.
2762 * gdb.threads/Makefile.in: Likewise.
2763 * gdb.trace/Makefile.in: Likewise.
2764
754533e4
DC
27652003-01-09 David Carlton <carlton@math.stanford.edu>
2766
2767 * gdb.c++/annota2.exp: KFAIL "watch triggered on a.x".
2768 Add copyright year 2003.
2769
d8b3e9ee
MC
27702003-01-06 Michael Chastain <mec@shout.net>
2771
2772 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set):
2773 When selecting a thread, 'line' and 'file' are optional.
2774 * gdb.mi/mi1-pthreads.exp: Likewise.
2775
8e9e0fe6
AS
27762003-01-06 Andreas Schwab <schwab@suse.de>
2777
2778 * lib/gdb.exp: Set LC_ALL to "C" to avoid spurious testsuite
2779 failures.
2780
b5ab8ff3
DJ
27812003-01-04 Daniel Jacobowitz <drow@mvista.com>
2782
2783 Fix PR gdb/844
2784 * lib/gdb.exp (gdb_compile): Handle "quiet" option.
2785 (gdb_compile_pthreads): Pass "quiet" to gdb_compile.
2786
2787 * gdb.threads/gcore-thread.exp: Use gdb_compile_pthreads. Return
2788 instead of calling gdb_suppress_entire_file.
2789 * gdb.threads/print-threads.exp: Likewise.
2790 * gdb.threads/schedlock.exp: Likewise.
2791
2792 * gdb.threads/killed.exp: Return instead of calling
2793 gdb_suppress_entire_file.
2794 * gdb.threads/linux-dp.exp: Likewise.
2795 * gdb.threads/pthreads.exp: Likewise.
2796
1e698235
DJ
27972003-01-04 Daniel Jacobowitz <drow@mvista.com>
2798
2799 * gdb.base/callfuncs.exp: Don't XFAIL unprototyped functions for
2800 stabs.
2801 * gdb.base/completion.exp: Allow marker1(void) as well as marker1().
2802 * gdb.base/whatis.exp: Always allow (void) after function names.
2803
147ff08c
DJ
28042003-01-04 Daniel Jacobowitz <drow@mvista.com>
2805
2806 * gdb.c++/casts.exp: Correct regexp.
2807
dc62bfc2
MK
28082003-01-04 Mark Kettenis <kettenis@gnu.org>
2809
2810 * configure.in: Call AC_CONFIG_HEADER. Don't call
2811 AC_CONFIG_SUBDIRS on gdb.arch, gdb.asm, gdb.base gdb.c++ gdb.java,
2812 gdb.disasm, gdb.mi, gdb.threads and gdb.trace. Call
2813 AC_CHECK_HEADERS on pthread.h. Put Makefiles in the
2814 aforementioned directories in the AC_OUPUT call.
2815 * config.hin: New file.
2816 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
2817 gdb.mi/mi1-pthreads.exp, gdb.threads/gcore-thread.exp,
2818 gdb.threads/killed.exp, gdb.threads/print-threads.exp,
2819 gdb.threads/pthreads.exp, gdb.threads/schedlock.exp: Make sure we
2820 pass -I$objdir instead of -I$objdir/$subdir in compilation.
2821 * gdb.arch/configure.in, gdb.arch/configure, gdb.asm/configure.in,
2822 gdb.asm/configure, gdb.base/configure.in, gdb.base/configure,
2823 gdb.c++/configure.in, gdb.c++/configure, gdb.disasm/configure.in,
2824 gdb.disasm/configure, gdb.java/configure.in, gdb.java/configure,
2825 gdb.mi/configure.in, gdb.mi/configure, gdb.mi/config.in,
2826 gdb.threads/configure.in, gdb.threads/configure,
2827 gdb.threads/config.in, gdb.trace/configure.in,
2828 gdb.trace/configure: Removed.
2829
77afa639
MC
28302003-01-03 Michael Chastain <mec@shout.net>
2831
2832 * gdb.base/miscexprs.c: Fix PR gdb/697, "buglet in
2833 testsuite/gdb.base/miscexprs.c, off-by-1 array reference".
2834
7634bb6e
DJ
28352003-01-03 Daniel Jacobowitz <drow@mvista.com>
2836
2837 * gdb.base/store.exp: Fix regular expressions.
2838
b39c905e
MK
28392002-12-28 Mark Kettenis <kettenis@gnu.org>
2840
2841 * configure.in: Rewrite.
2842 * configure: Regenerated.
2843
0a8551dd
DC
28442003-01-03 David Carlton <carlton@math.stanford.edu>
2845
2846 * gdb.base/psymtab.exp: New file.
2847 * gdb.base/psymtab1.c: Ditto.
2848 * gdb.base/psymtab2.c: Ditto.
2849
c60b7188
AF
28502002-12-23 Adam Fedor <fedor@gnu.org>
2851
2852 * gdb.base/maint.exp: Update expect output to include 'ObjC'.
2853
ee73db83
DC
28542002-12-23 David Carlton <carlton@math.stanford.edu>
2855
2856 * gdb.base/selftest.exp (do_steps_and_nexts): Allow initial brace
2857 and current_directory initialization.
2858
d6c1774e
JB
28592002-12-22 Jim Blandy <jimb@redhat.com>
2860
f0a847b8
JB
2861 * gdb.trace/tfind.exp: Pass '-O1' flag via the 'optimize' option,
2862 rather than as part of the output file name.
2863
d6c1774e
JB
2864 * gdb.base/attach.exp: There's no need to copy the test program to
2865 /tmp; that was only ever necessary on HP/UX, and this test is
2866 entirely disabled there anyway.
2867
f0708dbb
JB
28682002-12-21 Jim Blandy <jimb@redhat.com>
2869
4c2acfea
JB
2870 * gdb.c++/psmang.exp: Doc fix.
2871
f0708dbb
JB
2872 * gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: New
2873 test.
2874
9579e000
DC
28752002-12-20 David Carlton <carlton@math.stanford.edu>
2876
2877 * gdb.c++/annota2.exp: KFAIL annotate-quit.
2878
d1810171
MC
28792002-12-18 Michael Chastain <mec@shout.net>
2880
2881 * gdb.c++/annota2.exp: Add copyright year 2002.
2882
76565097
DC
28832002-12-17 David Carlton <carlton@math.stanford.edu>
2884
2885 * gdb.c++/try_catch.cc: Add marker comments.
2886 * gdb.c++/try_catch.exp: Get line numbers from marker comments.
2887 * gdb.c++/m-data.cc: Delete namespace __gnu_test.
2888 * gdb.c++/m-static.cc: Ditto.
2889 * gdb.c++/m-static1.cc: Ditto.
2890 * gdb.c++/try_catch.cc: Ditto.
2891
da81390b
JJ
28922002-12-16 Jeff Johnston <jjohnstn@redhat.com>
2893
2894 * lib/mi-support.exp (mi_reinitialize_dir): Check mi level
2895 to see whether we are using the new -environment-directory
2896 command which resets via -r or the old version of the command
2897 which may prompt the user. Part of fix for gdb/741.
2898
b304d130
AC
28992002-12-13 Andrew Cagney <ac131313@redhat.com>
2900
2901 * gdb.fortran/types.exp: Update obsolete comment.
2902 * gdb.fortran/exprs.exp: Ditto.
2903 * lib/gdb.exp: Delete obsolete code.
2904 * gdb.chill/ChangeLog, gdb.chill/Makefile.in: Delete.
2905 * gdb.chill/builtins.ch, gdb.chill/builtins.exp: Delete.
2906 * gdb.chill/callch.ch, gdb.chill/callch.exp: Delete.
2907 * gdb.chill/chexp.exp, gdb.chill/chillvars.ch: Delete.
2908 * gdb.chill/chillvars.exp, gdb.chill/configure: Delete.
2909 * gdb.chill/configure.in, gdb.chill/enum.ch: Delete.
2910 * gdb.chill/enum.exp, gdb.chill/func1.ch: Delete.
2911 * gdb.chill/gch1041.ch, gdb.chill/gch1041.exp: Delete.
2912 * gdb.chill/gch1272.ch, gdb.chill/gch1272.exp: Delete.
2913 * gdb.chill/gch1280.ch, gdb.chill/gch1280.exp: Delete.
2914 * gdb.chill/gch922.ch, gdb.chill/gch922.exp: Delete.
2915 * gdb.chill/gch981.ch, gdb.chill/gch981.exp: Delete.
2916 * gdb.chill/misc.ch, gdb.chill/misc.exp: Delete.
2917 * gdb.chill/powerset.ch, gdb.chill/powerset.exp: Delete.
2918 * gdb.chill/pr-4975-grt.ch, gdb.chill/pr-4975.ch: Delete.
2919 * gdb.chill/pr-4975.exp, gdb.chill/pr-5016.ch: Delete.
2920 * gdb.chill/pr-5016.exp, gdb.chill/pr-5020.ch: Delete.
2921 * gdb.chill/pr-5020.exp, gdb.chill/pr-5022.ch: Delete.
2922 * gdb.chill/pr-5022.exp, gdb.chill/pr-5646-grt.ch: Delete.
2923 * gdb.chill/pr-5646.ch, gdb.chill/pr-5646.exp: Delete.
2924 * gdb.chill/pr-5984.ch, gdb.chill/pr-5984.exp: Delete.
2925 * gdb.chill/pr-6292.ch, gdb.chill/pr-6292.exp: Delete.
2926 * gdb.chill/pr-6632-grt.ch, gdb.chill/pr-6632.ch: Delete.
2927 * gdb.chill/pr-6632.exp, gdb.chill/pr-8134.exp: Delete.
2928 * gdb.chill/pr-8136.ch, gdb.chill/pr-8136.exp: Delete.
2929 * gdb.chill/pr-8405.ch, gdb.chill/pr-8405.exp: Delete.
2930 * gdb.chill/pr-8742.ch, gdb.chill/pr-8742.exp: Delete.
2931 * gdb.chill/pr-8894-grt.ch, gdb.chill/pr-8894.ch: Delete.
2932 * gdb.chill/pr-8894.exp, gdb.chill/pr-9095.ch: Delete.
2933 * gdb.chill/pr-9095.exp, gdb.chill/pr-9946.ch: Delete.
2934 * gdb.chill/pr-9946.exp, gdb.chill/result.ch: Delete.
2935 * gdb.chill/result.exp, gdb.chill/string.ch: Delete.
2936 * gdb.chill/string.exp, gdb.chill/tests1.ch: Delete.
2937 * gdb.chill/tests1.exp, gdb.chill/tests2.ch: Delete.
2938 * gdb.chill/tests2.exp, gdb.chill/tuples.ch: Delete.
2939 * gdb.chill/tuples.exp, gdb.chill/xstruct-grt.ch: Delete.
2940 * gdb.chill/xstruct.ch, gdb.chill/xstruct.exp: Delete.
2941
a23b6e6a
DC
29422002-12-11 David Carlton <carlton@math.stanford.edu>
2943
2944 * gdb.c++/m-data.exp: Add test for members that shadow global
2945 variables: see PR gdb/804.
2946 * gdb.c++/m-data.cc: Ditto.
2947
6604731b
DJ
29482002-12-10 Daniel Jacobowitz <drow@mvista.com>
2949
2950 * gdb.base/foll-vfork.exp: Re-enable test on HP/UX.
2951
de46ecd7
DC
29522002-12-06 David Carlton <carlton@math.stanford.edu>
2953
2954 * gdb.base/store.c: Don't declare functions static.
2955
27e829d0
AC
29562002-12-04 Andrew Cagney <ac131313@redhat.com>
2957
2958 * gdb.base/store.exp, gdb.base/store.c: New files.
2959
92806416
DJ
29602002-12-03 Daniel Jacobowitz <drow@mvista.com>
2961
2962 * gdb.base/selftest.exp: Update for current gdb.
2963
3bcbaac5
DJ
29642002-12-03 Daniel Jacobowitz <drow@mvista.com>
2965
2966 * gdb.base/maint.exp: Only dump symbols from one source file
2967 or objfile.
2968
f4f00b1f
DJ
29692002-12-03 Daniel Jacobowitz <drow@mvista.com>
2970
2971 * gdb.base/step-test.exp: Allow MIPS to return to the line of a
2972 function call.
2973
f1c8a949
JB
29742002-11-25 Jim Blandy <jimb@redhat.com>
2975
2976 * lib/mi-support.exp (mi_delete_breakpoints): Change name of
2977 function appearing in error message.
2978
9e297a97
DJ
29792002-11-21 Daniel Jacobowitz <drow@mvista.com>
2980
2981 * gdb.base/maint.exp (help maint dump-me): Update with typo fix.
2982
1f312e79
JJ
29832002-11-08 Jeff Johnston <jjohnstn@redhat.com>
2984
d63a86f8
RM
2985 * lib/mi-support.exp (mi_gdb_start): Verify the startup message
2986 for mi1 and current mi is in correct format. New mi startup message
1f312e79
JJ
2987 should be in mi console format. This is part of fix for PR gdb/604.
2988
83c31e7d
FN
29892002-09-18 Fernando Nasser <fnasser@redhat.com>
2990
2991 * gdb.asm/asm-source.exp: Adjust patter to new disassembler routine
2992 which explicitly prints the zero offset as "+0".
2993
322b3f65
DJ
29942002-10-22 Daniel Jacobowitz <drow@mvista.com>
2995
2996 * gdb.threads/schedlock.c (args): Make unsigned.
2997
29982002-10-21 Daniel Jacobowitz <drow@mvista.com>
2999
3000 * gdb.asm/asm-source.exp: Add "mips*-*" pattern. Update line
3001 numbers. Allow "foo2|selected stack frame".
3002 * gdb.asm/asmsrc1.s: Use gdbasm_declare and gdbasm_end.
3003 * gdb.asm/asmsrc2.s: Likewise.
3004 * gdb.asm/common.inc: Define gdbasm_declare and gdbasm_end. Update
3005 comments.
3006 * gdb.asm/mips.inc: New file.
3007
5e2fe5b8
AF
30082002-10-18 Adam Fedor <fedor@gnu.org>
3009
3010 * gdb.base/default.exp: Update expected output to include 'ObjC'.
3011 * gdb.base/help.exp: Likewise.
3012
abe1a5d0
KB
30132002-10-17 Kevin Buettner <kevinb@redhat.com>
3014
3015 * gdb.base/constvars.c (struct crass, struct crisp): New structs.
3016 * gdb.base/constvars.exp (ptype crass, ptype crisp): New tests.
3017
10abb1d4
JB
30182002-10-02 Jim Blandy <jimb@redhat.com>
3019
3020 * gdb.c++/casts.cc, gdb.c++/casts.exp: New test.
3021
1f609b42
AC
30222002-10-01 Andrew Cagney <ac131313@redhat.com>
3023
3024 * mi1-basics.exp: Copy of mi1-basics.exp MIFLAGS set "-i=mi1".
3025 * mi1-break.exp, mi1-console.exp, mi1-disassemble.exp: Ditto.
3026 * mi1-eval.exp, mi1-hack-cli.exp, mi1-pthreads.exp: Ditto.
3027 * mi1-read-memory.exp, mi1-regs.exp, mi1-return.exp: Ditto.
3028 * mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp: Ditto.
3029 * mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp: Ditto.
3030 * mi1-var-cmd.exp, mi1-var-display.exp, mi1-watch.exp: Ditto.
3031
0aee02e4
AC
30322002-09-29 Andrew Cagney <ac131313@redhat.com>
3033
3034 * mi0-basics.exp, mi0-break.exp, mi0-console.exp: Delete.
3035 * mi0-disassemble.exp, mi0-eval.exp: Delete.
3036 * mi0-hack-cli.exp, mi0-read-memory.exp: Delete.
3037 * mi0-regs.exp, mi0-return.exp, mi0-simplerun.exp: Delete.
3038 * mi0-stack.exp, mi0-stepi.exp, mi0-until.exp: Delete.
3039 * mi0-var-block.exp, mi0-var-child.exp: Delete.
3040 * mi0-var-cmd.exp, mi0-var-display.exp, mi0-watch.exp: Delete.
d63a86f8 3041
6fde09ad
KB
30422002-09-27 Kevin Buettner <kevinb@redhat.com>
3043
3044 * gdb.base/annota1.exp (info break): Make directory components of
3045 path optional since not all compilers emit this debug information.
3046
3047 * gdb.base/shlib-call.exp (step inside shr2): Don't fail if first
3048 step ends up stepping out of the function instead of stopping on
3049 the epilogue.
3050
9e8aab75
KS
30512002-09-26 Keith Seitz <keiths@redhat.com>
3052
3053 * lib/insight-support.exp (gdbtk_start): Figure out where
3054 the insight executable is based on where gdb is. Use this
3055 executable to start insight instead of gdb.
3056
e36180d7
AC
30572002-09-25 Andrew Cagney <cagney@redhat.com>
3058
3059 * gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
3060
9dd34b2b
AC
30612002-09-24 Andrew Cagney <ac131313@redhat.com>
3062
3063 * gdb.gdb/complaints.exp (test_initial_complaints): Rename
3064 test_isolated_complaints.
3065 (test_empty_complaint): New function.
3066 (test_empty_complaints): New function. Check no output when no
3067 complaints.
d63a86f8 3068
dea97812
KB
30692002-09-19 Jim Blandy <jimb@redhat.com>
3070
3071 * gdb.base/charset.exp, gdb.base/charset.c: New files.
3072
54951bd7
AC
30732002-09-19 Andrew Cagney <ac131313@redhat.com>
3074
3075 * gdb.gdb/complaints.exp: New file.
3076
dec43320
AC
30772002-09-18 Andrew Cagney <ac131313@redhat.com>
3078
3079 * gdb.base/maint.exp: Check `help maint internal-warning'.
3080
e70d6e3f
DC
30812002-09-18 David Carlton <carlton@math.stanford.edu>
3082
3083 * gdb.c++/m-static.exp: Remove breakpoints depending on line
3084 numbers, and replace them by a single breakpoint after the
3085 constructors are all finished.
3086 Add test 4.
3087 * gdb.c++/m-static.cc: Add test 4.
3088 * gdb.c++/m-static.h: New file.
3089 * gdb.c++/m-static1.cc: New file.
3090
3091 * gdb.c++/printmethod.exp: New file.
3092 * gdb.c++/printmethod.cc: New file.
3093
3094 * gdb.c++/pr-574.exp: New file.
3095 * gdb.c++/pr-574.cc: New file.
3096
afb5c968
CV
30972002-09-18 Corinna Vinschen <vinschen@redhat.com>
3098
3099 * gdb.base/ending-run.exp: Add handling of "step to end of run" for
3100 embedded targets which never actually exit.
3101
31e45dee
FN
31022002-09-18 Fernando Nasser <fnasser@redhat.com>
3103
3104 * gdb.base/ending-run.exp: Properly mark "continue after exit" and
3105 "don't step after run" as unresolved or unsupported, instead of xfail.
3106
a283c5a1
CV
31072002-09-18 Corinna Vinschen <vinschen@redhat.com>
3108
3109 * gdb.base/ending-run.exp: Fix expected string for _wrap_main to
3110 allow correct handling of #ifdef UNDERSCORES from dejagnu/testglue.c.
3111 Add newline to expected string in "step out of main (status wrapper)"
3112 case.
3113
11350d2a
CV
31142002-09-18 Corinna Vinschen <vinschen@redhat.com>
3115
3116 * lib/gdb.exp (rerun_to_main): Allow restarting application.
3117 * gdb.base/ena-dis-br.exp (rerun_to_main): Eliminate.
3118
0deec7d6
TT
31192002-09-17 Tom Tromey <tromey@redhat.com>
3120
3121 * gdb.base/printcmds.exp (test_print_string_constants): Expect
3122 \000, not \0, in double-quoted string.
3123
b2b4a1b5
CV
31242002-09-14 Corinna Vinschen <vinschen@redhat.com>
3125
c9d37158 3126 * gdb.base/commands.exp: Don't expect a "Program exited normally"
b2b4a1b5
CV
3127 string after running the commands execution on breakpoint tests.
3128
1c56143a
CV
31292002-09-13 Corinna Vinschen <vinschen@redhat.com>
3130
3131 * lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.
3132
37f8da45
JB
31332002-09-12 Joel Brobecker <brobecker@gnat.com>
3134
3135 * gdb.base/call-strs.exp: Fix a small typo in one of the comments.
3136
08b468e0
KS
31372002-09-10 Keith Seitz <keiths@redhat.com>
3138
3139 * lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
3140 runto proc.
3141 (mi_run_to_main): Use mi_runto.
3142 (mi_execute_to): Renamed from mi_run_to. Changed all callers.
3143
dc360f58
KS
31442002-09-10 Keith Seitz <keiths@redhat.com>
3145
3146 * lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
3147 regexp for stopping at main. Could have multiple event notifications.
3148 Don't assume that main was declared with no parameters.
3149 (mi_next): Use mi_step_to.
3150 (mi_step): Use mi_next_to.
3151
ce3abcfb
CV
31522002-09-09 Corinna Vinschen <vinschen@redhat.com>
3153
3154 * gdb.base/default.exp: Fix expected string in `info float' test.
3155
d1f5b980
BE
31562002-09-09 Ben Elliston <bje@redhat.com>
3157
3158 * config/mips.exp: Update comments.
3159 * config/mips-idt.exp: Likewise.
3160 * config/nind.exp: Likewise.
3161 * config/slite.exp: Likewise.
3162 * config/sparclet.exp: Likewise.
3163 * config/udi.exp: Likewise.
3164 * config/vx.exp: Likewise.
3165 * config/vxworks29k.exp: Likewise.
3166
2f71430b
JB
31672002-09-05 Jim Blandy <jimb@redhat.com>
3168
3169 * gdb.threads/killed.exp: Fix test failure message.
3170
7ddebc7e
KS
31712002-09-04 Keith Seitz <keiths@redhat.com>
3172
3173 * lib/mi-support.exp: Update copyright.
3174 (mi_gdb_test): Increase the priority of the expected pattern
3175 so that it matches gdb_test.
3176
0ae67eb3
KS
31772002-09-03 Keith Seitz <keiths@redhat.com>
3178
3179 * lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
3180 Use integer comparison instead of string comparison for testing
3181 whether binary was built.
3182
38fc42c8
JB
31832002-09-03 Jim Blandy <jimb@redhat.com>
3184
3185 * gdb.threads/killed.exp, gdb.threads/killed.c: New test.
3186
b6ff0e81
JB
31872002-08-29 Jim Blandy <jimb@redhat.com>
3188
3189 * gdb.threads/pthreads.exp: Move the portable thread compilation
3190 code into a function in lib/gdb.exp, and call that from here.
3191 * lib/gdb.exp (gdb_compile_pthreads): New function.
3192
07c98896
KS
31932002-08-29 Keith Seitz <keiths@redhat.com>
3194
3195 * lib/mi-support.exp (mi_gdb_test): Add global declaration for
3196 expect_out so that callers can get at it.
3197
0312286c
DJ
31982002-08-23 Daniel Jacobowitz <drow@mvista.com>
3199
3200 * gdb.threads/print-threads.c: New file.
3201 * gdb.threads/print-threads.exp: New file.
3202 * gdb.threads/schedlock.c: New file.
3203 * gdb.threads/schedlock.exp: New file.
3204
dd039bc4
EZ
32052002-08-22 Elena Zannoni <ezannoni@redhat.com>
3206
3207 * gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
3208 not altivec.c.
3209
1f36144c
MK
32102002-08-17 Mark Kettenis <kettenis@gnu.org>
3211
3212 * gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
3213 targets. The problem should be fixed now.
3214
16057ec7 32152002-08-15 Mark Kettenis <kettenis@gnu.org>
5415e7c5
MK
3216
3217 * gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
3218 2002-07-24 change that removes final dots from error messages.
3219
3c1499ad
TT
32202002-08-13 Tom Tromey <tromey@redhat.com>
3221
3222 * gdb.base/readline.exp: New file.
3223
a20ce2c3
AC
32242002-08-01 Andrew Cagney <ac131313@redhat.com>
3225
3226 * lib/gdb.exp (gdb_expect_list): Only print one pass, fail, or
3227 supress message.
3228
db034ac5
AC
32292002-08-01 Andrew Cagney <cagney@redhat.com>
3230
3231 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL,
3232 CHILL_FOR_TARGET and CHILL_LIB.
3233 * configure.in (configdirs): Remove gdb.chill.
3234 * configure: Regenerate.
3235 * lib/gdb.exp: Obsolete references to chill.
3236 * gdb.fortran/types.exp: Ditto.
3237 * gdb.fortran/exprs.exp: Ditto.
3238
3e000b18
KB
32392002-07-30 Kevin Buettner <kevinb@redhat.com>
3240
3241 * gdb.base/shlib-call.exp (additional_flags): Conditionally
3242 set Irix-specific compile and link flags.
3243
28f4966b
KB
32442002-07-29 Kevin Buettner <kevinb@redhat.com>
3245
3246 * lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
3247 source files. The ``-o'' option doesn't work with the ``-E'' option
3248 when using the Irix compiler.
3249
46c0d5a6
DJ
32502002-07-19 Daniel Jacobowitz <drow@mvista.com>
3251
3252 * config/gdbserver.exp (gdb_load): Don't use TCL varargs.
3253 Improve support for reusing an exec file. Copy exec file
3254 to target, and run gdbserver on the target instead of on the host.
3255
eecf4bed
JB
32562002-07-18 Jim Blandy <jimb@redhat.com>
3257
0f815cdf
JB
3258 * gdb.base/ending-run.exp: Don't expect to see the program end in
3259 some orderly fashion when we're running on a real stand-alone
3260 board.
3261
eecf4bed
JB
3262 * gdb.base/interrupt.exp: Correct logic for skipping tests on
3263 targets that don't support interrupts.
3264
52d309e4
JB
32652002-07-10 Paul N. Hilfinger <hilfingr@otisco.mckusick.com>
3266
3267 * gdb.base/attach.exp: Add patterns to match output from /proc-based
3268 systems.
3269 Move comments in expect statements to inside the actions, so that they
3270 don't get matched against.
3271
ff683d9e
MK
32722002-07-10 Mark Kettenis <kettenis@gnu.org>
3273
3274 * gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
3275 function when asleep" test.
3276
b5356753
AC
32772002-07-10 Andrew Cagney <ac131313@redhat.com>
3278
3279 * gdb.base/page.exp: Rewrite to handle problems with very long
3280 `info set' output. Update copyright.
3281
6aa4d13a
AC
32822002-06-26 Andrew Cagney <ac131313@redhat.com>
3283
3284 * gdb.hp/configure.in (AC_CONFIG_SUBDIRS): Do not try to configure
3285 gdb.threads-hp.
3286 * gdb.hp/configure: Regenerate.
3287 * gdb.hp/gdb.threads-hp/configure.in: Delete file.
3288 * gdb.hp/gdb.threads-hp/configure: Delete file.
3289 * gdb.hp/gdb.threads-hp/Makefile.in: Delete file.
3290
8cf8c2b8
AC
32912002-06-22 Andrew Cagney <ac131313@redhat.com>
3292
3293 * gdb.base/selftest.exp (do_stes_and_next): Skip calls to
3294 setlocale, bindtextdomain and textdomain.
3295
6827a8f8
JB
32962002-06-11 Jim Blandy <jimb@redhat.com>
3297
919d772c
JB
3298 * lib/gdb.exp (get_debug_format): Tolerate message saying whether
3299 preprocessor macro information is present.
3300
6827a8f8
JB
3301 * macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: New
3302 tests.
3303
c15b0d21
MS
33042002-06-06 Michael Snyder <msnyder@redhat.com>
3305
c5984d70
MS
3306 * gdb.base/overlays.exp: Record addresses of overlay
3307 functions in TCL variables rather than in GDB variables,
3308 to avoid having GDB convert them to pointers (with loss
3309 of information).
3310
d63a86f8 3311 * gdb.base/d10v.ld: Merge in several years worth of
99a8512b 3312 default linker script changes.
c15b0d21
MS
3313 * gdb.base/long_long.exp: Add check for sizeof (long double).
3314
be26fe0d
ML
33152002-06-06 Michal Ludvig <mludvig@suse.cz>
3316
3317 * gdb.asm/asm-source.exp: Add x86-64 target.
3318 * gdb.asm/x86_64.inc: New.
d63a86f8 3319
258093ca 33202002-05-30 Michael Chastain <mec@shout.net>
258093ca 3321
4b3153f1 3322 From Benjamin Kosnik <bkoz@redhat.com>:
258093ca
MC
3323 * gdb.c++/m-static.cc: New file.
3324 * gdb.c++/m-static.exp: New file.
3325
241264c6
MS
33262002-05-28 Michael Snyder <msnyder@redhat.com>
3327
3328 * gdb.base/call-ar-st.exp: Allow for reduced floating point
3329 precision.
3330
9bba8c8f 33312002-05-27 Michael Chastain <mec@shout.net>
71ea1be0 3332
4b3153f1 3333 From Benjamin Kosnik <bkoz@redhat.com>:
71ea1be0
MC
3334 * gdb.c++/m-data.cc: New file.
3335 * gdb.c++/m-data.exp: New file.
3336
33372002-05-27 Michael Chastain <mec@shout.net>
9bba8c8f 3338
4b3153f1 3339 From Benjamin Kosnik <bkoz@redhat.com>:
9bba8c8f 3340 * gdb.c++/try_catch.cc: New file.
d63a86f8 3341 * gdb.c++/try_catch.exp: New file.
9bba8c8f 3342
def1b996
MC
33432002-05-27 Michael Chastain <mec@shout.net>
3344
3345 * gdb.c++/local.exp: Accept more nested types in output.
3346
522ba268
MC
33472002-05-26 Michael Chastain <mec@shout.net>
3348
3349 * gdb.base/call-rt-st.exp: Fix typo in brace quoting.
3350
277254ba
MS
33512002-05-15 Nick Clifton <nickc@cambridge.redhat.com>
3352
3353 * lib/gdb.exp (gdb_wrapper_init): Just because
3354 gdb_wrapper_file exists, this does not mean that the file
3355 should not be rebuilt. That is what gdb_wrapper_initialized
3356 is for.
3357 (default_gdb_init): Reset gdb_wrapper_initialized.
3358
b61a8733
MS
33592002-05-23 Michael Snyder <msnyder@redhat.com>
3360
d63a86f8 3361 * gdb.base/all-bin.exp: Revise previous patch by just reducing
5bdb6d01
MS
3362 the precision of the floating point test results.
3363 * gdb.base/call-rt-st.exp: Ditto.
3364
b61a8733
MS
3365 * gdb.base/all-bin.exp: Allow for reduced floating point precision.
3366 * gdb.base/call-rt-st.exp: Ditto.
3367
56f6e910
MC
33682002-05-19 Michael Chastain <mec@shout.net>
3369
3370 * gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
3371
ad0b0016
EZ
33722002-05-19 Elena Zannoni <ezannoni@redhat.com>
3373
3374 * configure.in (configdirs): Add gdb.arch.
3375 * configure: Regenerate.
3376
f617d2b6
JB
33772002-05-17 Jim Blandy <jimb@redhat.com>
3378
3379 * gdb.base/completion.exp: Recognize the more detailed error
3380 messages produced by the macro expander's lexical analyzer.
3381
eac2a696
EZ
33822002-05-14 Elena Zannoni <ezannoni@redhat.com>
3383
3384 * gdb.arch/altivec-abi.c: New file.
3385 * gdb.arch/altivec-abi.exp: New file.
3386 * gdb.arch/altivec-regs.c: New file.
3387 * gdb.arch/altivec-regs.exp: New file.
3388
2fdde8f8
DJ
33892002-05-14 Daniel Jacobowitz <drow@mvista.com>
3390
3391 * gdb.base/maint.exp (maint print type): Update for new type
3392 structure.
d63a86f8 3393
e31f1a7c
EZ
33942002-05-14 Elena Zannoni <ezannoni@redhat.com>
3395
3396 * gdb.arch: New directory.
3397 * gdb.arch/configure.in: New file.
3398 * gdb.arch/configure: New file.
3399 * gdb.arch/Makefile.in: New file.
3400
db589741
CV
34012002-05-13 Corinna Vinschen <vinschen@redhat.com>
3402
3403 * gdb.asm/asm-source.exp: Add v850 as supported target.
3404 * gdb.asm/v850.inc: New file.
3405
8ce2a7dc
DJ
34062002-05-13 Daniel Jacobowitz <drow@mvista.com>
3407
3408 * gdb.c++/annota2.exp (annotate-quit): Add comment.
3409
df763c7f
DJ
34102002-05-12 Daniel Jacobowitz <drow@mvista.com>
3411
3412 * gdb.base/break.exp: Check 'break "marker2"'.
3413
377daeed
MS
34142002-05-10 Michael Snyder <msnyder@redhat.com>
3415
3416 * gdb.base/long_long.exp: Fix typo.
3417
c4b7bc2b
JB
34182002-05-10 Jim Blandy <jimb@redhat.com>
3419
ecac9a4e
JB
3420 * gdb.base/printcmds.exp: Don't xfail the ptype command. This is
3421 a bug.
3422
c4b7bc2b
JB
3423 * gdb.base/printcmds.exp (test_integer_literals_rejected):
3424 Recognize more detailed error message produced by the macro
3425 expander's lexical analyzer.
3426 * lib/gdb.exp (test_print_reject): Same.
3427
e71019a1
MK
34282002-05-09 Mark Kettenis <kettenis@gnu.org>
3429
3430 * gdb.c++/method.exp: Fix typo.
3431
fedfc8e6
MS
34322002-05-08 Michael Snyder <msnyder@redhat.com>
3433
166a1957
MS
3434 * gdb.mi/mi-var-child.exp: Accept (void) as well as ().
3435 * gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
fedfc8e6 3436 * gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
35928259
MS
3437 * gdb.base/long_long.exp: Merge clauses for arm and xscale.
3438 Add iftarget clause for strongarm.
d63a86f8 3439
f1c47eb2
MS
34402002-05-06 Michael Snyder <msnyder@redhat.com>
3441
cb9a9d3e
MS
3442 * lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
3443 (gdb_continue_to_end): Accept output from status wrapper.
3444 * gdb.base/ending-run.exp: Add case for output from status wrapper.
3445 Clean up fail messages to match pass messages.
3446
f1c47eb2
MS
3447 Enable the "needs_status_wrapper" testsuite feature.
3448 * lib/gdb.exp (gdb_wrapper_init): New procedure.
3449 (gdb_compile): Conditionally call gdb_wrapper_init.
3450 * gdb.base/a2-run.exp: Recognize output from status wrapper.
3451 * gdb.c++/method.exp: Recognize output from status wrapper.
3452
6079c749
BE
34532002-05-06 Ben Elliston <bje@redhat.com>
3454From Graydon Hoare <graydon@redhat.com>
3455
3456 * config/sid.exp: Include support for "rawsid" protocol.
3457
188baff3
JB
34582002-05-03 Jim Blandy <jimb@redhat.com>
3459
3460 * gdb.c++/hang.exp: Check for corruption of the cv_type chain.
3461 * gdb.c++/hang3.C: New file.
3462
b9c07f0f
AC
34632002-05-04 Andrew Cagney <ac131313@redhat.com>
3464
3465 * gdb.base/default.exp: Remove obsolete code.
3466 * gdb.c++/misc.exp: Ditto. Update copyright.
3467 * gdb.c++/cplusfuncs.exp: Ditto. Update copyright.
3468 * gdb.base/whatis.exp: Ditto. Update copyright.
3469 * gdb.base/scope.exp: Ditto. Update copyright.
3470 * gdb.base/ptype.exp: Ditto. Update copyright.
3471 * gdb.base/printcmds.exp: Ditto. Update copyright.
3472 * gdb.base/opaque.exp: Ditto. Update copyright.
3473 * gdb.base/list.exp: Ditto.
3474 * gdb.base/funcargs.exp: Ditto. Update copyright.
3475 * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
3476 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
3477 * gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
3478 * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
3479 * gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
3480 * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
3481
5c7a0397
MS
34822002-05-02 Michael Snyder <msnyder@redhat.com>
3483
d6dcc264 3484 * gdb.base/watchpoint.exp: Add xscale target.
5c7a0397
MS
3485 * gdb.base/long_long.exp: Add xscale target.
3486 * gdb.base/default.exp: Add xscale target.
3487
eb7f1c48
JB
34882002-05-01 Jim Blandy <jimb@redhat.com>
3489
3490 * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
3491 gdb.c++/hang.exp: New test.
3492
a6befae8
FF
34932002-05-01 Fred Fish <fnf@redhat.com>
3494
3495 * gdb.base/completion.exp: Handle completions of "./Make" for
3496 more than one completion possibility, as is the case when we
3497 build and test in the source tree.
3498
0a310277
AG
34992002-04-29 Anthony Green <green@redhat.com>
3500
3501 * gdb.java/jmisc1.exp: New file.
3502 * gdb.java/jmisc2.exp: New file.
3503
6ff9af88
DJ
35042002-04-24 Daniel Jacobowitz <drow@mvista.com>
3505
3506 * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
3507
96b3d632
EZ
35082002-04-23 Elena Zannoni <ezannoni@redhat.com>
3509
3510 * gdb.base/help.exp: Change 'help status' to allow for target
3511 dependent output differences.
3512
5019bb54
MC
35132002-04-22 Michael Chastain <mec@shout.net>
3514
3515 * gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
3516
a805a116
MC
35172002-04-22 Michael Chastain <mec@shout.net>
3518
3519 * gdb.c++/method.exp: Fix syntax of reference to gdb/277.
3520
a1706bfd
DM
35212002-04-17 David S. Miller <davem@redhat.com>
3522
3523 * gdb.asm/sparc64.inc: New file.
3524 * gdb.asm/asm-source.exp: Handle sparc64-*-*.
3525
a73a20a2
EZ
35262002-04-19 Elena Zannoni <ezannoni@redhat.com>
3527
3528 * gdb.asm/asm-source.exp: Don't use a symlink, just copy the
3529 instruction file directly into the build tree. Clean up at end of
3530 test.
3531
ba678339
DM
35322002-04-18 David S. Miller <davem@redhat.com>
3533
3534 * gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
3535 handle 64-bit platforms correctly.
3536 * gdb.base/maint.exp: Likewise.
3537
b03399da
KB
35382002-04-18 Kevin Buettner <kevinb@redhat.com>
3539
3540 * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
3541 ``-fpic'' when compiling files comprising a shared library, but
3542 it does need additional linker flags in order to find shared
3543 libraries at run time.
3544
e2004992
KB
35452002-04-18 Kevin Buettner <kevinb@redhat.com>
3546
3547 * gdb.base/cvexpr.c (use): New function.
3548 (main): Invoke use() on all global variables to prevent
3549 some linkers from deleting these otherwise unused symbols.
3550
d8937120
MC
35512002-04-17 Michael Chastain <mec@shout.net>
3552From David S. Miller <davem@redhat.com>
3553
3554 * gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
3555 handle 64-bit platforms correctly.
3556
ffd61a58
MS
35572002-04-12 Michael Snyder <msnyder@redhat.com>
3558From Jim Blandy <jimb@redhat.com>
3559 * gdb.base/foo.c (foox): Remove section attribute; the linker
3560 script can handle this instead.
3561 * gdb.base/bar.c (barx): Same.
3562 * gdb.base/baz.c (bazx): Same.
3563 * gdb.base/grbx.c (grbxx): Same.
3564
3565 * gdb.base/overlays.exp: New test: check that GDB's manual overlay
3566 manager doesn't automatically unmap overlays unnecessarily.
3567
6b8426a6
MH
35682002-04-10 Martin M. Hunt <hunt@redhat.com>
3569
3570 * gdb.base/ending-run.exp: Fix pattern for Mips targets
3571 stepping out of main.
3572
34af4875
MC
35732002-04-09 Michael Chastain <mec@shout.net>
3574
3575 * gdb.c++/local.cc (main): Move call to marker1() inside nested
3576 scope so that the nested scope tests will make sense.
3577 * gdb.c++/local.exp: Write patterns that actually work with gcc
3578 (the HP patterns "were never known to work with gcc").
3579 Keep the old aCC patterns too.
3580
2d1676a0
DJ
35812002-04-09 Daniel Jacobowitz <drow@mvista.com>
3582
3583 * gdb.base/attach.exp: Correct target board test.
3584
3a63e3f9
MC
35852002-04-08 Michael Chastain <mec@shout.net>
3586
3587 * gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
3588 in a const method. Add some xfail and fail cases for configurations
3589 that do not emit the "const ...".
3590
f18dabd2
MC
35912002-04-07 Michael Chastain <mec@shout.net>
3592
3593 * gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
3594 Accept "A * const" and "const A * const" as type of "this".
3595 Fix spelling of getFunky throughout. Make messages uniform.
3596
0fcddd82
EZ
35972002-04-07 Elena Zannoni <ezannoni@redhat.com>
3598
3599 Work around for PR gdb/285:
3600 * gdb.asm/asm-source.exp: Bail out if multilibs are detected.
3601
16a8534a
EZ
36022002-04-07 Elena Zannoni <ezannoni@redhat.com>
3603
3604 * gdb.asm/asm-source.exp: Build symbolic link to arch specific
3605 instructions file at run time instead of configure time.
3606 Sometimes we run the test in a directory that is not the one we
3607 configured in.
3608 * gdb.asm/configure.in: Delete creation of symlink.
3609 * gdb.asm/configure: Regenerate.
3610
24181d81
JB
36112002-04-05 J. Brobecker <brobecker@gnat.com>
3612
3613 * gdb.gdb/xfullpath.exp: New test, to exercise the new
3614 xfullpath () function.
3615
7cdb7107
DJ
36162002-04-04 Daniel Jacobowitz <drow@mvista.com>
3617
3618 * gdb.asm/Makefile.in: Correct dependencies.
3619
3620 * gdb.asm/powerpc.inc: New file.
3621 * gdb.asm/asm-source.exp: Add PowerPC.
3622 * gdb.asm/configure.in: Likewise.
3623 * gdb.asm/configure: Regenerated.
3624
a7d17088
DJ
36252002-04-04 Daniel Jacobowitz <drow@mvista.com>
3626
3627 * gdb.base/relocate.exp: New file.
3628 * gdb.base/relocate.c: New file.
3629
cd721503
FF
36302002-04-04 Fred Fish <fnf@redhat.com>
3631
3632 * gdb.base/step-test.exp: Update comment regarding stopping in
3633 memcpy/bcopy calls inserted as part of the compiler runtime.
3634
b22ad7a7
MS
36352002-04-04 Michael Snyder <msnyder@redhat.com>
3636
3637 * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
3638
5f279fa6
DJ
36392002-04-03 Daniel Jacobowitz <drow@mvista.com>
3640
3641 * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
3642 (gdb_expect): Remove $notransfer hack.
3643
dd0fd3ce
DJ
36442002-04-02 Daniel Jacobowitz <drow@mvista.com>
3645
3646 * gdb.c++/classes.exp ("calling method for small class"): Match
3647 updated register output.
3648
1e50cda1
DJ
36492002-03-30 Daniel Jacobowitz <drow@mvista.com>
3650
3651 Fix PR gdb/452
3652 * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
3653 when finished. Make gdb_file_cmd send "exec-file" when
3654 appropriate.
3655
24015922
DJ
36562002-03-30 Daniel Jacobowitz <drow@mvista.com>
3657
3658 * gdb.base/attach.exp: Remove extra setup_xfail.
3659
dd7dfd64
MS
36602002-03-26 Michael Snyder <msnyder@redhat.com>
3661
3662 * gdb.base/default.exp: Add tests for dump, append, and restore.
3663 * gdb.base/help.exp: Add tests for dump, append, and restore.
3664 * gdb.base/dump.exp: New file, test dump, append and restore.
3665 * gdb.base/dump.c: New file.
3666
48b2f8d7
MS
36672002-03-27 Michael Snyder <msnyder@redhat.com>
3668
d63a86f8 3669 * gdb.base/help.exp: Modify expect strings to reflect
48b2f8d7
MS
3670 clean-ups in help messages.
3671
05b4d525
FF
36722002-03-26 Fred Fish <fnf@redhat.com>
3673
3674 * gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
3675 have debugging info for those functions and the compiler uses them
3676 internally to copy structs around.
3677
d7679631
FF
36782002-03-26 Fred Fish <fnf@redhat.com>
3679
3680 * gdb.base/list.exp: Revert the change made yesterday and add note
3681 about why we don't list the default lines for remote targets.
3682
523ac3f9
MS
36832002-03-25 Michael Snyder <msnyder@redhat.com>
3684
3685 * gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
3686
754b2b8d
FF
36872002-03-25 Fred Fish <fnf@redhat.com>
3688
3689 * gdb.base/list.exp: This test works on remote targets so remove
3690 the short circuit for remote targets. Update copyright.
3691
33c3e192
FF
36922002-03-25 Fred Fish <fnf@redhat.com>
3693
3694 * gdb.base/attach.exp: Fix logic error that was suppressing this
3695 test for all non hppa*-*-hpux* targets, instead of the hp target.
3696 Move comments closer to the suppression point. Also now need to
3697 check that we are running natively.
3698
d43e73ee
MS
36992002-03-22 Michael Snyder <msnyder@redhat.com>
3700
882c8f02
MS
3701 * gdb.base/default.exp: Add test for gcore. Update copyright.
3702 * gdb.base/help.exp: Add test for gcore. Update copyright.
d43e73ee 3703
04c12f60
FF
37042002-03-06 Fred Fish <fnf@redhat.com>
3705
3706 * gdb.base/funcargs.c: Remove extraneous ';' character.
3707 * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
3708
b43df995
MC
37092002-03-04 Michael Chastain <mec@shout.net>
3710
3711 * gdb.mi/mi-var-cmd.exp: In test "create local variable func",
3712 accommodate gcc v3 function signature.
3713 * gdb.mi/mi0-var-cmd-exp: Ditto.
3714
92362027
AC
37152002-02-24 Andrew Cagney <ac131313@redhat.com>
3716
3717 * testsuite/gdb.base/huge.c: Replace ``Linux'' with either
3718 ``GNU/Linux'' or ``Linux kernel''
3719 * testsuite/gdb.threads/pthreads.c: Ditto.
3720
258ad32d
MC
37212002-02-24 Michael Chastain <mec@shout.net>
3722
3723 * gdb.threads/pthreads.c (thread1): Add a return statement.
3724 (thread2): Likewise.
3725 (foo): Likewise.
3726
04c3b3d4
MC
37272002-02-23 Michael Chastain <mec@shout.net>
3728
3729 * gdb.threads/linux-dp.c (philosopher): Add a return statement
3730 to placate gcc.
3731
5a2a0a20
MC
37322002-02-23 Michael Chastain <mec@shout.net>
3733
3734 * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
3735 test "ptype bint". The test passes on all my stabs configurations.
3736
a640f7fc
JB
37372002-02-21 Jim Blandy <jimb@redhat.com>
3738
27924826
JB
3739 * gdb.asm/asm-source.exp: Parse the output from `info sources' one
3740 filename at a time, and watch for the ones we want to see.
3741
a640f7fc
JB
3742 * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
3743 types of pointers to prototyped functions.
3744
edcc8c75
AC
37452002-02-20 Andrew Cagney <ac131313@redhat.com>
3746
3747 * gdb.base/sizeof.c (main): Call fill_structs. Print value of
3748 signed, unsigned and straight char.
3749 (padding_char, padding_short, padding_int, padding_long,
3750 padding_long_long, padding_float, padding_double,
3751 padding_long_double): New global variables.
3752 (fill, fill_structs): New functions.
3753
3754 * gdb.base/sizeof.exp: Check for signed and unsigned char. Check
3755 for correctly sized writes. Update copyright.
3756 (get_valueof): New procedure.
3757 (get_sizeof): Call get_valueof.
3758 (check_valueof): New procedure.
3759 (check_padding): New procedure.
3760
ac57ea44
MC
37612002-02-20 Michael Chastain <mec@shout.net>
3762
3763 * gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
3764 to setup_xfail. Document some of the remaining calls.
3765
7a10c941
MC
37662002-02-18 Michael Chastain <mec@shout.net>
3767
3768 * gdb.c++/userdef.exp: Update copyright year.
3769
fb8acdcc
DJ
37702002-02-18 Daniel Jacobowitz <drow@mvista.com>
3771
3772 * gdb.c++/userdef.exp: Test overloaded operators properly.
3773 Remove xfails.
3774
fda6ae12
MS
37752002-02-14 Michael Snyder <msnyder@redhat.com>
3776
3777 * gdb.base/gcore.exp: Relax recognition of function breakpoint.
3778
676a0442
DJ
37792002-02-14 Daniel Jacobowitz <drow@mvista.com>
3780
3781 * gdb.base/a2-run.exp: Check for a remote target properly.
3782 * gdb.base/annota1.exp: Likewise.
3783 * gdb.base/list.exp: Likewise.
3784 * gdb.base/reread.exp: Likewise.
3785 * gdb.base/scope.exp: Likewise.
3786 * gdb.base/shlib-call.exp: Likewise.
3787 * gdb.base/term.exp: Likewise.
3788 * gdb.c++/annota2.exp: Likewise.
3789
78b4f468
RE
37902002-02-13 Richard Earnshaw <rearnsha@arm.com>
3791
3792 * gdb.base/watchpoint.exp: Restore previous timeout at end of test.
3793
9a81ba51
MC
37942002-02-10 Michael Chastain <mec@shout.net>
3795
3796 * gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
3797 (call_after_alloca): Ditto.
3798
004af6c7
DJ
37992002-02-10 Daniel Jacobowitz <drow@mvista.com>
3800
3801 * gdb.base/ending-run.exp: Guard "cont" test with
3802 gdb_skip_stdio_test.
3803
37225f62
JB
38042002-02-06 Jim Blandy <jimb@redhat.com>
3805
3806 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
3807 from here...
3808 * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
3809 To here. Disable this test on non-HP platforms. Add big comment.
3810
fe6fdd96
MS
38112002-02-04 Michael Snyder <msnyder@redhat.com>
3812
3813 * gdb.base/ovlymgr.c (ovly_copy): Generalize for targets
3814 other than d10v and m32r.
3815
036fad3f
RE
38162002-02-02 Richard Earnshaw <rearnsha@arm.com>
3817
3818 * gdb.base/default.exp: Rewrite test patterns to reduce time
3819 taken to match them.
3820
7148ab62
DJ
38212002-01-30 Daniel Jacobowitz <drow@mvista.com>
3822
3823 * gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
3824 Allow a start function above main.
3825 * gdb.threads/linux-dp.exp: Fix copyright date.
3826
396cc255
DJ
38272002-01-30 Daniel Jacobowitz <drow@mvista.com>
3828
3829 * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
3830 (check_philosopher_stack): Check for manager thread before checking
3831 for a just-starting thread.
3832
f038d31b
DJ
38332002-01-30 Daniel Jacobowitz <drow@mvista.com>
3834
3835 From Neil Booth <neil@daikokuya.demon.co.uk>:
3836 * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
3837 warnings.
3838
b3ff9d9a
FF
38392002-01-21 Fred Fish <fnf@redhat.com>
3840
3841 * gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
3842 not caller.
3843
39ad761d
JB
38442002-01-21 Jim Blandy <jimb@redhat.com>
3845
3846 * gdb.base/reread.exp: Check that GDB properly re-reads the
3847 executable file when it changes while no inferior is running.
3848
aaf320fa
FF
38492002-01-21 Fred Fish <fnf@redhat.com>
3850
3851 * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
3852 optionally accept the "shlib events" variation.
3853
808a31f5
JB
38542002-01-21 Jim Blandy <jimb@redhat.com>
3855
3856 * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
3857 call `fflush' after every `printf', so that the output is produced
3858 at predictable points, regardless of whatever buffering does (or
3859 doesn't) take place.
3860 * gdb.base/ending-run.exp: Adjust tests to expect output to appear
3861 at different points.
3862
4420d5e2
DJ
38632002-01-20 Daniel Jacobowitz <drow@mvista.com>
3864
3865 * gdb.c++/inherit.exp: Update copyright years.
3866 * gdb.c++/method.exp: Likewise.
3867
3e36a0f4
DJ
38682002-01-20 Daniel Jacobowitz <drow@mvista.com>
3869
3870 * gdb.c++/classes.exp: Update for improved v3 support and skipping
3871 artificial methods/arguments.
3872 * gdb.c++/derivation.exp: Likewise.
3873 * gdb.c++/inherit.exp: Likewise.
3874 * gdb.c++/method.exp: Likewise.
3875 * gdb.c++/virtfunc.exp: Likewise.
3876
b4ceaee6
AC
38772002-01-18 Andrew Cagney <ac131313@redhat.com>
3878
3879 * gdb.hp/gdb.threads-hp/usrthfork.exp: Mark as obsolete.
3880 * gdb.hp/gdb.threads-hp/usrthcore.exp: Ditto.
3881 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Ditto.
3882 * gdb.hp/gdb.threads-hp/usrthfork.c: Ditto.
3883 * gdb.hp/gdb.threads-hp/usrthbasic.c: Ditto.
3884 * gdb.hp/gdb.threads-hp/usrthcore.c: Ditto.
3885
ecace851
JB
38862002-01-17 Jim Blandy <jimb@redhat.com>
3887
3888 * gdb.asm/asm-source.exp (info symbol): Take another shot at
3889 anchoring the pattern matching the entry point symbol's name.
3890
375fc983
AC
38912002-01-17 Andrew Cagney <ac131313@redhat.com>
3892
3893 * gdb.base/maint.exp: Update ``maint internal-error'' to match
3894 continue/quit query. Update copyright.
3895
fe6fdd96
MS
38962002-01-14 Michael Snyder <msnyder@redhat.com>
3897
3898 * gdb.base/gcore.exp: Remove extra debugging output.
3899
e017c81f
DJ
39002002-01-13 Daniel Jacobowitz <drow@mvista.com>
3901
3902 * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
3903 for slightly dubious v2 mangled string.
3904
37ab3bf8
DJ
39052002-01-13 Daniel Jacobowitz <drow@mvista.com>
3906
3907 * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
3908
1bc05c3a 39092002-01-10 Jason Merrill <jason@redhat.com>
7b2ac63b 3910
1bc05c3a 3911 * gdb.c++/namespace.exp: Accept trailing const for 'this'.
7b2ac63b 3912
1bc05c3a
JM
3913 * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
3914 constructors.
3915 * gdb.c++/derivation.exp: Likewise.
3916 * gdb.c++/templates.exp: Likewise.
3917 * gdb.c++/virtfunc.exp: Likewise.
ffcb195b 3918
1bc05c3a
JM
39192002-01-10 Michael Snyder <msnyder@redhat.com>
3920
3921 * gdb.c++/namespace.exp: Accept both '\0' and '\000'.
ffcb195b 3922
a911c360
MS
39232002-01-08 Michael Snyder <msnyder@redhat.com>
3924
3925 * gdb.base/gcore.exp: New test for generate-core-file command.
3926 * gdb.base/gcore.c: Testcase for above.
3927 * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
3928
ea2119ec
JM
39292002-01-08 Jason Merrill <jason@redhat.com>
3930
3931 * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
3932
68203136
FF
39332002-01-07 Fred Fish <fnf@redhat.com>
3934
3935 * gdb.c++/overload.exp: Remove unconditional xfails for:
3936 print foo_instance1.overloadargs(1)
3937 print foo_instance1.overloadargs(1, 2)
3938 print foo_instance1.overloadargs(1, 2, 3)
3939 print foo_instance1.overloadargs(1, 2, 3, 4)
3940 print foo_instance1.overloadargs(1, 2, 3, 4, 5)
3941 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
3942 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
3943 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
3944 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
3945 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
3946 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
3947 print foo_instance1.overload1arg()
3948 print foo_instance1.overload1arg((char)arg2)
3949 print foo_instance1.overload1arg((signed char)arg3)
3950 print foo_instance1.overload1arg((unsigned char)arg4)
3951 print foo_instance1.overload1arg((int)arg7)
3952 print foo_instance1.overload1arg((unsigned int)arg8)
3953 print foo_instance1.overload1arg((float)arg11)
3954 print foo_instance1.overload1arg((double)arg12)
d63a86f8 3955
21b9b5b1
MS
39562002-01-07 Michael Snyder <msnyder@redhat.com>
3957
3958 * gdb.base/huge.exp: New test. Print a very large target data object.
3959 (skip_huge_test): New test variable. Define if you want to skip this
3960 test. The test reads an 8 megabyte data object from the target, so it
3961 might be very time consuming on remote targets with a slow connection.
3962 * gdb.base/huge.c: New file. Test case for above.
3963
725f922e
FF
39642002-01-07 Fred Fish <fnf@redhat.com>
3965
3966 * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
3967 g_instance.bfoo, and g_instance.cfoo.
3968
634d57ec
JL
3969Mon Jan 7 12:22:18 2002 Jeffrey A Law (law@redhat.com)
3970
f286b2c3
JL
3971 * gdb.base/break.c (multi_line_if_conditional): New function.
3972 (multi_ilne_while_conditional): Likewise.
3973 * gdb.base/break.exp: Verify that a breakpoint on a multi-line
3974 IF or WHILE condition puts the breakpoint at the start of
3975 the condition.
3976
634d57ec
JL
3977 * gdb.base/selftest.exp (backtrace through signal handler): Remove
3978 hppa*-*-hpux* expected failure.
3979 * gdb.base/structs.exp (do_function_calls): Similarly.
3980
3981 * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
3982 watchpoints.
3983
9fbfe2dc
AC
39842002-01-06 Andrew Cagney <ac131313@redhat.com>
3985
3986 Fix PR gdb/66.
3987 * gdb.base/structs.exp: Replace skip for a29k with skip for
3988 gdb,cannot_call_functions.
3989 * gdb.base/call-ar-st.exp: Remove references to a29k in comments.
3990 * gdb.base/callfuncs.exp: Ditto.
3991 * gdb.base/call-rt-st.exp: Ditto.
3992 * gdb.base/call-strs.exp: Ditto.
3993 * gdb.base/callfwmall.exp: Ditto.
3994 * gdb.base/scope.exp: Obsolete xfail a29k.
3995 * gdb.c++/misc.exp: Ditto.
3996 * gdb.c++/cplusfuncs.exp: Ditto.
3997 * gdb.base/ptype.exp: Ditto.
3998 * gdb.base/printcmds.exp: Ditto.
3999 * gdb.base/opaque.exp: Ditto.
4000 * gdb.base/list.exp: Ditto.
4001 * gdb.base/funcargs.exp: Ditto.
4002 * gdb.base/default.exp: Ditto.
4003
8ddad156
MS
40042002-01-04 Michael Snyder <msnyder@redhat.com>
4005
ca4976a6 4006 * gdb.base/info-proc.exp: New file, test for "info proc" cmd.
8ddad156
MS
4007 * gdb.base/maint.exp: Add tests for maint info sections options.
4008
1b074332
JL
4009Fri Dec 21 09:42:11 2001 Jeffrey A Law (law@redhat.com)
4010
4011 * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
4012
7d159115
CV
40132001-12-20 Corinna Vinschen <vinschen@redhat.com>
4014
4015 * gdb.asm/arm.inc: New file.
4016 * gdb.asm/asm-source.exp: Add arm targets.
4017 * gdb.asm/configure.in: Ditto.
4018 * gdb.asm/configure: Recreated from configure.in.
4019
8fb87725
JL
4020Thu Dec 20 09:54:36 2001 Jeffrey A Law (law@redhat.com)
4021
afabe08c
JL
4022 * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
4023 with HP's compiler.
4024 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
4025 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
4026 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
4027 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
4028
4029 * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
4030 either HP's compilers or GCC.
4031
db521deb
JL
4032 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
4033 a SIGBUS or SIGSEGV.
4034
4035 * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
4036
4037 * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
4038 can be compiled with either HP's compiler or GCC.
4039
cfa88ab7
JL
4040 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
4041 * gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
4042 * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
4043
ca344dff
JL
4044 * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
4045 to match current gdb output. Update due to using auto-solib-limit
4046 for limiting instead of overloading auto-solib-add.
4047 * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
4048 test program.
4049
3f3c6e55 4050 * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
ca344dff
JL
4051 * gdb.hp/gdb.base-hp/dollar.exp: Likewise
4052 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
4053 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
4054 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
4055 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
4056 * gdb.hp/gdb.defects/bs15503.exp: Likewise.
4057 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
4058 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
4059 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
4060 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
4061 * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
4062 * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
3f3c6e55 4063
8fb87725
JL
4064 * gdb.base/annota1.exp: Expect failure for hpux11 when posting
4065 a SIGTRAP to the inferior.
4066
cf599fa7
CV
40672001-12-19 Corinna Vinschen <vinschen@redhat.com>
4068
4069 * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
4070 Substitute call to target_link by call to gdb_compile.
4071
2cd045cd
JL
4072Wed Dec 19 14:10:57 2001 Jeffrey A Law (law@redhat.com)
4073
4074 * gdb.base/break.exp: Fix HP specific search string when testing
4075 backtracing in a called function.
4076
d63a86f8 4077 * gdb.base/constvars.exp: Only set lang to C++ if we're
2cd045cd
JL
4078 compiling the test with HP's compilers.
4079 * gdb.base/volatile.exp: Similarly.
4080
99ebe9ac
JB
40812001-12-19 Jim Blandy <jimb@redhat.com>
4082
4083 * gdb.base/printcmds.exp: Expect the null character to be printed
4084 as '\0', and the '\013' to be printed as '\v'.
4085 * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
4086 * gdb.base/setvar.exp: Same.
4087
b9891b29
JB
40882001-12-17 Jim Blandy <jimb@redhat.com>
4089
0eba65ab
JB
4090 * gdb.base/completion.exp: Rather than completing very long
4091 filenames, which can make the readline library produce output we
4092 don't recognize, cd to the directory first, and then complete
4093 using nice, short relative paths.
4094
6970b5b1
JB
4095 * gdb.base/completion.exp: On some systems, there is, in fact, a
4096 variable named `b' in scope, since GDB treats all static
4097 variables as being in scope. So use `no_var_named_this'
4098 instead of `b'.
4099
b9891b29
JB
4100 * gdb.base/corefile.exp: Recognize the message saying that GDB
4101 can't find the core file's registers as a failure.
4102
e6ccd35f
JSC
41032001-12-13 Jackie Smith Cashion <jsmith@redhat.com>
4104
4105 * gdb.base/commands.exp (user_defined_command_test): Make "show user"
4106 test expect string more specific.
4107
105ba819
CV
41082001-12-13 Corinna Vinschen <vinschen@redhat.com>
4109
4110 * gdb.asm/asm-source.exp: Add support for xstormy16.
4111 * gdb.asm/configure.in: Ditto.
4112 * gdb.asm/configure: Rebuild.
4113 * gdb.asm/xstormy16.inc: New file.
4114
e9e79dd9
FF
41152001-12-10 Fred Fish <fnf@redhat.com>
4116
4117 * gdb.base/maint.exp: Update to match changes in type dumping code.
4118
347dc97d
JB
41192001-12-10 Jim Blandy <jimb@redhat.com>
4120
4121 * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
4122 matching the entry point symbol's name at the beginning of the
4123 line.
4124
5178b9d6
DJ
41252001-12-07 Daniel Jacobowitz <drow@mvista.com>
4126
4127 * gdb.c++/classes.exp, gdb.c++/derivation.exp,
4128 gdb.c++/inherit.exp, gdb.c++/method.exp,
4129 gdb.c++/namespace.exp, gdb.c++/templates.exp,
4130 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
4131 and class layout support.
4132
af890c52
DJ
41332001-12-07 Daniel Jacobowitz <drow@mvista.com>
4134
4135 * gdb.c++/classes.exp: Add test for static member function.
4136 * gdb.c++/misc.cc: Add class with static member function.
4137
7a345fb3
JB
41382001-12-07 Jim Blandy <jimb@redhat.com>
4139
f2e54a80 4140 If GDB says it can't find the struct the function returned, report
8032bf31
JB
4141 those tests as `unsupported'.
4142 * gdb.base/call-rt-st.exp (print_struct_call): New function.
4143 Rewrite subsequent tests to use it.
4144
4145 If GDB says it can't find the struct the function returned, report
f2e54a80
JB
4146 those tests as `unsupported'.
4147 * gdb.base/structs.exp (call_struct_func): New function.
4148 (do_function_calls): Use call_struct_func to call the functions
4149 returning structs.
4150
0bc69509
JB
4151 * gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
4152 whether functions are prototyped or not, so we can't possibly pass
4153 arguments to t_float_values2 properly.
4154
7a345fb3
JB
4155 * gdb.base/break.exp: (test_next_with_recursion): Don't change the
4156 value of `timeout' for targets other than the mips*tx39-*.
4157
edb6ede1
MS
41582001-12-06 Michael Snyder <msnyder@redhat.com>
4159
d63a86f8 4160 * gdb.asm/asm-source.exp: Add tests for info target, info symbol,
edb6ede1
MS
4161 and detect whether the start symbol has a leading underscore.
4162
2d842f13
JB
41632001-12-04 Jim Blandy <jimb@redhat.com>
4164
4165 * gdb.base/completion.exp: Clarify indentation.
4166
68550daf
JB
41672001-12-03 Jim Blandy <jimb@redhat.com>
4168
4169 * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
4170 variables on the S/390, not `.word'.
4171
cd5195a8
JB
41722001-11-30 Jim Blandy <jimb@redhat.com>
4173
4174 Add assembly-source tests for s390-ibm-linux.
4175 * gdb.asm/s390.inc: New file.
4176 * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
4177 the S/390 architecture.
4178 * gdb.asm/configure: Regenerated.
4179
ca9efc90
MS
41802001-11-30 Michael Snyder <msnyder@redhat.com>
4181
4182 * gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
4183 next, info source, info sources, info line, global and static
4184 variables, and static functions.
4185 * gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
4186 * gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
4187 * gdb.asm/asmsrc1.s: Add a static function and some variables.
4188 * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
4189 * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
4190 (gdbasm_leave): Restore frame pointer.
4191 (gdbasm_startup): Copy stack set-up from crt0.S.
4192
d0e66976
FN
41932001-11-26 Fernando Nasser <fnasser@redhat.com>
4194
4195 From 2001-11-12 Jackie Smith Cashion <jsmith@redhat.com>:
4196 * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
4197 to a local (non-static) variable. Copy tstruct.a to a static buffer
4198 and return a pointer to that buffer.
4199 * gdb.base/callfwmall.c (t_structs_a): Ditto.
4200
e2334072
MK
42012001-11-24 Mark Kettenis <kettenis@gnu.org>
4202
4203 * gdb.asm/configure.in: Fix recognition of ix86 target.
4204 * gdb.asm/configure: Regenerate.
4205
756caa3d
MS
42062001-11-21 Michael Snyder <msnyder@redhat.com>
4207
4208 * gdb.asm/sparc.inc: New file.
4209 * gdb.asm/asm-source.exp: Recognize sparc target.
4210 * gdb.asm/configure.in: Recognize sparc target.
4211 * gdb.asm/configure: Regenerate.
d63a86f8 4212
9a4d72d5
MS
42132001-11-21 Michael Snyder <msnyder@redhat.com>
4214
4215 * gdb.asm/m32r.inc: New file.
4216 * gdb.asm/asm-source.exp: Recognize m32r target.
4217 * gdb.asm/configure.in: Recognize m32r target.
4218 * gdb.asm/configure: Regenerate.
4219
a773d1cd
MS
42202001-11-20 Michael Snyder <msnyder@redhat.com>
4221
017ac23d
MS
4222 * gdb.asm/i386.inc: New file.
4223 * gdb.asm/asm-source.exp: Recognize ix86 target.
4224 * gdb.asm/configure.in: Recognize ix86 target.
4225 * gdb.asm/configure: Regenerate.
4226
a773d1cd
MS
4227 * gdb.c++/namespace.exp: Fix quotes in output messages.
4228
bb632afb
MS
42292001-11-14 Michael Snyder <msnyder@redhat.com>
4230
25d559ca 4231 * gdb.base/code-expr.exp: New file. Tests use of the "@code"
bb632afb
MS
4232 qualifier in a type cast expression, to designate an address
4233 in the instruction space (Harvard architecture).
4234
4749e309
MS
42352001-11-13 Michael Snyder <msnyder@redhat.com>
4236
4237 * gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
4238 Tests for expressions using 'const' and 'volatile'.
4239
25050984
CV
42402001-11-13 Corinna Vinschen <vinschen@redhat.com>
4241
4242 * gdb.asm/asm-sources.exp: Allow defining linker flags.
4243
1902c51f
DJ
42442001-11-12 Daniel Jacobowitz <drow@mvista.com>
4245
4246 * lib/mi-support.exp (mi_run_to_helper): Move comments
4247 outside of gdb_expect.
4248
dcf95b47
DJ
42492001-11-11 Daniel Jacobowitz <drow@mvista.com>
4250
4251 * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
4252 mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
4253 mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
4254 mi0_run_to): New functions.
4255 * gdb.mi/mi-simplerun.exp: Use them.
4256 * gdb.mi/mi0-simplerun.exp: Likewise.
4257 * gdb.mi/mi-var-cmd.exp: Likewise.
4258 * gdb.mi/mi0-var-cmd.exp: Likewise.
d63a86f8 4259
45b074e1
AC
42602001-11-10 Andrew Cagney <ac131313@redhat.com>
4261
4262 * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
4263 * gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
4264
bf50d346
AC
42652001-11-09 Andrew Cagney <ac131313@redhat.com>
4266
4267 * gdb.base/restore.exp: Include $expected value in restored test
4268 message.
4269
9383332c
AC
42702001-11-09 Andrew Cagney <ac131313@redhat.com>
4271
4272 * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
4273 implemented.
4274
db62520a
MS
42752001-11-08 Michael Snyder <msnyder@redhat.com>
4276
4277 * gdb.base/callfuncs.exp: Add tests for nested call dummies.
4278 Add pass/fail message for stop at breakpoint in call dummy function.
4279
b5703437
MS
42802001-11-07 Michael Snyder <msnyder@redhat.com>
4281
d63a86f8
RM
4282 * gdb.c++/templates.exp (test_template_breakpoints):
4283 If we get an overload menu, but it does not match what
760f6330 4284 we expect, we still need to issue the "cancel" command.
3b2a7ae5
MS
4285 * gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
4286 making the whitespace optional. Argument for "new" may be
4287 "unsigned" as well as "unsigned int/long".
d63a86f8 4288 * gdb.c++/templates.exp: Replace "const &" with "const ?&",
eef747c0
MS
4289 making the whitespace optional. Also replace "(void) with
4290 "((void|)), making the keyword "void" optional.
d63a86f8 4291 * gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
63f50499
MS
4292 making the whitespace optional. Also replace "(void) with
4293 "((void|)), making the keyword "void" optional.
3bf40917
MS
4294 * gdb.base/callfuncs.c (t_float_values): This function must
4295 _not_ be prototyped, and the following function (t_float_values2)
d63a86f8 4296 must be prototyped (if the compiler supports it), so that GDB
3bf40917
MS
4297 can be tested against both cases. Usually one case involves
4298 promotion of float to double, while the other does not.
4299 * gdb.base/callfwmall.c: Ditto.
b5703437
MS
4300 * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
4301 includes a stack frame for "start".
4302
c8ab4e6d
JB
43032001-11-05 Jim Blandy <jimb@redhat.com>
4304
4305 * gdb.stabs/weird.exp: Delete "p v_comb" test. It assumes that
4306 pointers are 32 bits long, and that offsets of relocs are always
4307 stored in the data (REL-style), and not in the reloc entry itself
4308 (RELA-style).
4309 * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
4310 stabs.
4311
3f08ced9
MS
43122001-11-01 Michael Snyder <msnyder@redhat.com>
4313
4314 * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
4315 and regular expression operators by using quoting.
4316
cbfa24cd
MS
43172001-10-31 Michael Snyder <msnyder@redhat.com>
4318
4319 * gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
4320 depending on what the symbol table contains.
4321 * gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
4322 the output of the ptype command. Similarly, accept both "const &"
4323 and "const&".
4324
aaa68313
CV
43252001-10-31 Corinna Vinschen <vinschen@redhat.com>
4326
4327 * gdb.base/miscexprs.c (main): Add usage of preprocessor
4328 symbol `STORAGE' to allow to choose the storage class of
4329 the local datastructures.
4330 * gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
4331 compiler directive.
4332
91740388
MS
43332001-10-30 Michael Snyder <msnyder@redhat.com>
4334
4335 * gdb.base/jump.exp: Allow it to run for all targets.
4336
1b7c05e7
CV
43372001-10-29 Corinna Vinschen <vinschen@redhat.com>
4338
4339 * gdb.base/call-ar-st.c (print_double_array): Match for loop
4340 with new double_array size.
4341 (main): Change storage class of all local variables to static.
4342 Reduce size of double_array to 9.
4343 * gdb.base/call-ar-st.exp: Increase timeout value.
4344 Change expected output for double array to match new size in
4345 call-ar-st.c.
4346
36a22261
CV
43472001-10-29 Corinna Vinschen <vinschen@redhat.com>
4348
4349 * gdb.base/ending-run.exp: Create identical output when passing
4350 `step to end of run' case. Add regular expression branch satisfying
d63a86f8 4351 Stormy16 target.
36a22261 4352
92b8ae91
MK
43532001-10-28 Mark Kettenis <kettenis@gnu.org>
4354
4355 * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
4356 that we catch the expected failure under Linux/x86.
4357
cb135b83
OF
43582001-10-29 Orjan Friberg <orjanf@axis.com>
4359
4360 * gdb.base/setvar.exp: Escape curly braces.
4361 * gdb.stabs/weird.exp: Ditto.
4362
6884aa54
DJ
43632001-10-27 Daniel Jacobowitz <drow@mvista.com>
4364
4365 * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
4366 * gdm.mi/mi0-hack-cli.exp: Likewise.
4367
0398c9aa
AC
43682001-10-25 Andrew Cagney <ac131313@redhat.com>
4369
4370 * gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
4371 messages.
4372
d20bf2e8
AC
43732001-10-21 Andrew Cagney <ac131313@redhat.com>
4374
4375 * lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
4376 checking MI enabled.
4377
03dd63aa
CV
43782001-10-09 Corinna Vinschen <vinschen@redhat.com>
4379
4380 * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
4381
1d9d99f3
FCE
43822001-10-04 Frank Ch. Eigler <fche@redhat.com>
4383
4384 * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
4385 if gdb child process crashes, just signal an error.
4386
838ae6c4
JB
43872001-10-02 Jim Blandy <jimb@redhat.com>
4388
4389 * lib/gdb.exp (test_xfail_format): Simplify.
4390
4391 * lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
4392 front of the variable name `format'. Simplify `if'.
4393
8f0cbc1c
DJ
43942001-10-01 Daniel Jacobowitz <drow@mvista.com>
4395
4396 * gdb.threads/pthreads.exp: Wait for output and delay
4397 before sending ^C.
4398
1f08dafd
DJ
43992001-10-01 Daniel Jacobowitz <drow@mvista.com>
4400
4401 * gdb.mi/mi-var-display.exp (continue to incr_a): Recognize
4402 some incorrect output instead of timing out.
4403 * gdb.mi/mi-var-display.exp (continue to incr_a): Likewise.
4404
674f90ff
CV
44052001-09-28 Corinna Vinschen <vinschen@redhat.com>
4406
4407 * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
4408 check to allow additional `int'.
4409
9b284272
DJ
44102001-09-27 Daniel Jacobowitz <drow@mvista.com>
4411
4412 * gdb.base/completion.exp: Remove incorrect 'p "a' test.
4413 Add tests for 'p "break' (pass) and 'p "break.' (xfail).
4414
b55a4771
MS
44152001-09-27 Michael Snyder <msnyder@redhat.com>
4416
4417 * lib/gdb.exp (test_debug_format): New proc.
4418 (setup_xfail_format): Use new proc test_debug_format.
4419 * gdb.base/constvars.exp (local_compiler_xfail_check): New
4420 proc; use new service proc test_debug_format.
4421 Replace all other "gcc_compiled" tests with this test.
4422 * gdb.base/volatile.exp (local_compiler_xfail_check): New
4423 proc; use new service proc test_debug_format.
4424 Replace all other "gcc_compiled" tests with this test.
4425
44262001-09-27 Michael Snyder <msnyder@redhat.com>
4427
4428 * gdb.base/cvexpr.exp: New file.
4429 * gdb.base/cvexpr.c: New file
4430 Test for expressions using const and volatile keywords.
4431
4e6667ac
CV
44322001-09-26 Corinna Vinschen <vinschen@redhat.com>
4433
4434 * gdb.base/constvars.exp: Check for different orders of keywords
4435 and additional "int" strings in output.
4436
4f337972
AC
44372001-09-22 Andrew Cagney <ac131313@redhat.com>
4438
4439 * gdb.base/maint.exp: Add "maintenance set/show" to list of valid
4440 responses from "help maint".
4441
2015650d
FCE
44422001-09-19 Frank Ch. Eigler <fche@redhat.com>
4443
4444 * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
4445 to localhost:NNN instead of :NNN, in case Xvfb is listening
4446 only on TCP.
4447
f3bcedc1
CV
44482001-09-19 Corinna Vinschen <vinschen@redhat.com>
4449
4450 * gdb.base/recurse.exp: When checking leaving the watchpoint
4451 scope, recognize when gdb is in function's epilogue and pass.
4452
6b819c92
KS
44532001-09-18 Keith Seitz <keiths@redhat.com>
4454
4455 * lib/insight-support.exp (_gdbtk_export_target_info): Add
4456 support for running tests against sid targets.
4457 (gdbtk_done): Ditto.
4458
a10c9419
CV
44592001-09-18 Corinna Vinschen <vinschen@redhat.com>
4460
4461 * gdb.base/ending-run.c (main): Set stdout buffersize
4462 to the same reasonable value for any target.
4463 * gdb.base/ending-run.exp: Add a regular expression
4464 to make testsuite happy on Sanyo Stormy16 target.
4465
739d0d99
CV
44662001-09-17 Corinna Vinschen <vinschen@redhat.com>
4467
4468 * gdb.base/display.c (do_loops): Add float variable `f'.
4469 Increment f in loop.
4470 * gdb.base/display.exp: Increment timeout by 60 seconds.
4471 Change float display test to use variable `f'.
4472
1b8947f0
JB
44732001-09-17 Jim Blandy <jimb@redhat.com>
4474
4475 * gdb.base/restore.exp: Use temporary breakpoints, to avoid
4476 overflowing the limited breakpoint tables on some ROM monitors
4477 (like the ROM68K).
4478
9890ac81
FCE
44792001-09-15 Frank Ch. Eigler <fche@redhat.com>
4480
4481 * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
4482 the "-ac" (disable access control) flag.
4483
6db765ea
JH
44842001-08-30 Jeff Holcomb <jeffh@redhat.com>
4485
4486 * gdb.base/remote.c: Use a small buffer for targets with 16-bit
4487 ints.
4488
4c32cc04
KS
44892001-08-30 Keith Seitz <keiths@redhat.com>
4490
4491 * lib/gdb.exp: Move all insight-related functionality into
4492 separate file.
4493 * lib/insight-support.exp: New file.
4494
8d6e6f81
FCE
44952001-08-29 Frank Ch. Eigler <fche@redhat.com>
4496
4497 * config/sid.exp (sid_start): Never set sid verbosity; disable
4498 expect_background {} that consumed its stdout; tolerate </dev/null.
4499 Attempt to set endianness override in "sid" protocol mode. Cleanup.
4500
6a90e1d0
AC
45012001-08-18 Andrew Cagney <ac131313@redhat.com>
4502
4503 * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
4504 CLI jump command to start it.
4505 (mi_run_to_main): Fail immediatly when unexpected output.
4506
1759b3c3
AC
45072001-08-18 Andrew Cagney <ac131313@redhat.com>
4508
4509 * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
4510 beginning of function. Fix PR gdb/191.
4511
61d11d80
FCE
45122001-08-16 Frank Ch. Eigler <fche@redhat.com>
4513
4514 * config/sid.exp (sid_start): Don't warn if we cannot figure out
4515 what to force sid endianness to.
4516
942a4df2
KS
45172001-08-15 Keith Seitz <keiths@redhat.com>
4518
4519 * lib/gdb.exp (gdbtk_start): Don't set environment
4520 variables for TCL_LIBRARY and friends. Insight will
4521 now figure these out for itself.
4522
0521c418
MS
45232001-08-02 Michael Snyder <msnyder@redhat.com>
4524
4525 * gdb.base/completion.exp: Remove the symbol "a64l" from
4526 the expect string; this is target-specific, and not related
4527 to what is being tested.
4528
74a9a58a
DB
45292001-08-02 Dave Brolley <brolley@redhat.com>
4530
4531 * config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
4532
c70819fa
MS
45332001-07-25 Michael Snyder <msnyder@redhat.com>
4534
c2b8fa57
MS
4535 * gdb.base/consecutive.exp: New file. Test stepping over
4536 breakpoints on consecutive instructions.
4537 * gdb.base/consecutive.c: New file.
4538
c70819fa
MS
4539 * gdb.base/call-rt-st.exp: Use double-backslash to quote
4540 curly braces in regular expressions.
4541
2b1a1355
MS
45422001-07-25 Michael Snyder <msnyder@redhat.com>
4543
4544 * gdb.base/ending-run.exp: Accept "Program exited normally" as
4545 legitimate output from stepping out of main.
4546
413eca6f
KS
45472001-07-22 Keith Seitz <keiths@redhat.com>
4548
4549 * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
4550 the empty string, do not run the tests.
4551
7e5a9322
SC
45522001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
4553
4554 * gdb.base/long_long.exp: Detect size of pointer. Take into
4555 account 2-byte pointers when testing for p/a results.
4556
de58f10f
SC
45572001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
4558
d63a86f8 4559 * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
de58f10f
SC
4560 and defined to 1K for m68hc11.
4561 (random_data): Reduce table to 1K for embedded platforms (68hc11).
4562 * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
4563 (sizeof_random_data): New variable to tell the size of the data table;
4564 don't test past this size; always run to main.
4565
d6f5fea1
SC
45662001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
4567
4568 * gdb.base/return2.exp: return of long long and double fails for
4569 68HC11; don't execute these tests on that platform.
4570 * gdb.base/return.exp: Return of a double fails for 68hc11.
4571
c477543d
SC
45722001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
4573
4574 * call-ar-st.exp: Use gdb_skip_float_test to avoid executing
4575 tests that print a float.
4576 * call-rt-st.exp: Likewise.
4577
63cf1c79
MK
45782001-07-12 Mark Kettenis <kettenis@gnu.org>
4579
4580 * gdb.base/so-impl-ld.exp: Remove stray space that prevented
4581 running this test on Linux.
4582
112f9ab5
MC
45832001-06-24 Michael Chastain <chastain@redhat.com>
4584
4585 * gdb.base/arithmet.exp: Remove some tests to make all test names
4586 unique.
4587
4970cb0f
MS
45882001-07-03 Michael Snyder <msnyder@redhat.com>
4589
4590 * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
4591 the output of the ptype command.
4592
d85da69f
MS
45932001-07-02 Michael Snyder <msnyder@redhat.com>
4594
4c8a82de
MS
4595 * gdb.base/completion.exp: Don't assume that break.c is the only
4596 source file that may contain functions named "marker".
d85da69f
MS
4597 * gdb.base/corefile.exp: Quote the curly braces in regexp.
4598
8afc772b
AC
45992001-06-28 Andrew Cagney <ac131313@redhat.com>
4600
4601 * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
4602 of files to delete.
4603
4604 From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
4605 * gdb.disasm/h8300s.exp: New file.
4606 gdb.disasm/h8300s.s: Likewise.
4607
cff22675
AC
46082001-06-27 Andrew Cagney <ac131313@redhat.com>
4609
4610 * lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format
4611 empty breakpoint tables.
4612
68c81b54
AC
46132001-06-25 Andrew Cagney <ac131313@redhat.com>
4614
4615 * lib/mi-support.exp: Update args=... part of stop-reason
4616 patterns. Accept either a list or a tuple.
4617
2dd62704
AC
46182001-06-23 Andrew Cagney <ac131313@redhat.com>
4619
4620 * lib/mi-support.exp: Remove local emacs variable defining
4621 change-log-default-name.
4622
b4127474
MC
46232001-06-22 Michael Chastain <chastain@redhat.com>
4624
4625 * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
4626 This is operationally compatible with the previous version.
4627
8dbfb380
JB
46282001-06-13 Jim Blandy <jimb@redhat.com>
4629
4630 * lib/gdb.exp (gdb_test): Doc fix.
4631
f2d8c86d
MC
46322001-06-10 Michael Chastain <chastain@redhat.com>
4633
4634 * gdb.base/exprs.exp: Remove a duplicate test.
4635
81564d34
JB
46362001-06-06 Jim Blandy <jimb@redhat.com>
4637
4638 * gdb.base/return2.exp (main): Use values to test float and double
4639 returns that are not NaN's, to avoid being confused by IEEE
4640 comparison rules.
4641
da55addb
MS
46422001-06-04 Michael Snyder <msnyder@redhat.com>
4643
4644 * gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
d63a86f8 4645 non-zero if control_c fails. Terminate the test on failure,
da55addb
MS
4646 rather than wait for 12 more tests to time out.
4647
42c65987
JB
46482001-06-06 Jim Blandy <jimb@redhat.com>
4649
b18bced9 4650 * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
d63a86f8 4651 Don't forget to match the GDB prompt.
b18bced9 4652
42c65987
JB
4653 * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
4654
5b41e5f0
JB
46552001-06-04 Jim Blandy <jimb@redhat.com>
4656
4657 * gdb.base/help.exp: Update pattern to exclude `print-load-map'
4658 command.
4659
015e046f
KB
46602001-05-31 Kevin Buettner <kevinb@redhat.com>
4661
4662 * gdb.base/annota1.exp (info break): Match four or more spaces
4663 after "Address".
4664
fb1ffbbe
MC
46652001-05-31 Michael Chastain <chastain@redhat.com>
4666
4667 * gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
4668 (dm_type_int_star): Likewise.
4669 (dm_type_long_star): Likewise.
4670 (dm_type_void_star): Likewise.
4671
5ea2a32c
KB
46722001-05-29 Kevin Buettner <kevinb@redhat.com>
4673
4674 * gdb.base/completion.exp (INPUTRC): Set this environment variable
4675 to a known value in order to get consistent results regardless
4676 of the setting of INPUTRC or the presence or contents of .inputrc.
4677
ae23c492
MS
46782001-05-24 Michael Snyder <msnyder@redhat.com>
4679
ac55707e
MS
4680 * gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
4681 Don't require that the main thread and the manager thread are the
4682 first in the list.
4683
ae23c492
MS
4684 * gdb.threads/pthreads.exp (test_startup): Relax test for thread
4685 debugging. If test fails, issue an "unsupported" not a "fail".
4686
400071f1
JB
46872001-05-24 Jim Blandy <jimb@redhat.com>
4688
4689 Don't assume that short is shorter than int.
4690 * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
4691 assume that shorts are smaller than ints. On a 16-bit machine,
d63a86f8 4692 this isn't true.
400071f1
JB
4693 ("print unsigned char == (~0)"): Add test that verifies that ~0,
4694 an int, is not equal to ~0 stored in an unsigned char. This tests
4695 the same thing that the previous test meant to, but works on
4696 16-bit machines, too.
4697 ("print unsigned char != (~0)"): Same test, complemented.
4698
0816a3e5
MS
46992001-05-24 Michael Snyder <msnyder@redhat.com>
4700
4701 * gdb.threads/pthreads.exp (all_threads_running): Add an explicit
d63a86f8 4702 test for (full_coverage == 0). This makes the test run faster,
0816a3e5
MS
4703 and prevents dejagnu getting out of step.
4704
f6dc23a9
KB
47052001-05-23 Kevin Buettner <kevinb@redhat.com>
4706
4707 * gdb.base/finish.exp (finish_void): Revise pattern for
4708 stopping on the call statement to not permit stopping at
4709 the start of the instructions comprising the call sequence.
4710
7dbd117d
MC
47112001-05-19 Michael Chastain <chastain@redhat.com>
4712
4713 * gdb.base/callfuncs.exp: Make all test names unique.
4714 * gdb.base/commands.exp: Make all test names unique.
4715 * gdb.base/condbreak.exp: Make all test names unique.
4716 * gdb.base/dbx.exp: Make all test names unique.
4717 * gdb.base/default.exp: Make all test names unique.
4718 * gdb.base/define.exp: Make all test names unique. Conform some FAIL
4719 and TIMEOUT messages to their corresponding PASS message.
4720 * gdb.base/ending-run.exp: Make all test names unique.
4721 * gdb.base/long_long.exp: Remove duplicate test.
4722
6b0b0a9e
KB
47232001-05-21 Kevin Buettner <kevinb@redhat.com>
4724
4725 * gdb.base/finish.exp (finish_void): Allow "finish" command to
4726 stop on the call statement as well as the statement after the
4727 call.
4728
2caa35cb
MS
47292001-05-21 Michael Snyder <msnyder@redhat.com>
4730
4731 * gdb.base/long_long.exp: Allow for targets with 4-byte short.
4732
40713331
EZ
47332001-05-10 Elena Zannoni <ezannoni@redhat.com>
4734
4735 * gdb.base/completion.exp: Revamp test. Make it execute on all
4736 platforms.
4737
c2c1be8d
EZ
47382001-05-10 Elena Zannoni <ezannoni@redhat.com>
4739
2c9cd303
EZ
4740 * config/gdbserver.exp (gdb_load): Handle the case
4741 in which the arguments to gdbserver are given in the
4742 baseboard configuration file.
4743 Also handle the case in which the server needs to do a
4744 load.
4745
9671de48
KS
47462001-05-07 Keith Seitz <keiths@cygnus.com>
4747
4748 * lib/gdb.exp (gdbtk_initialize_display): New proc which will
4749 set up the display for testing.
4750 (gdbtk_start): Convert all paths to paths that tcl will like.
4751 Export target information to environment.
4752 (_gdbtk_xvfb_init): New proc to start Xvfb if available and
4753 necessary.
4754 (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
4755 (to_tcl_path): New proc to convert a given pathname into
4756 a path acceptible as an argument to a tcl command.
4757 (_gdbtk_export_target_info): New proc to export target info
4758 into the environment for gdbtk testing.
4759 (gdbtk_done): New proc to signal end-of-test.
4760
5a360f47
JB
47612001-05-06 Jim Blandy <jimb@redhat.com>
4762
4763 * restore.c: Make the code of caller0 correspond to its comment.
4764
66c756c6
MS
47652001-05-03 Michael Snyder <msnyder@redhat.com>
4766
4767 * config/sid.exp (gdb_target_sid): Check for error messages.
4768 On error or timeout, don't make expect exit (which will terminate
4769 all subsequent tests); instead just make gdb exit.
d63a86f8 4770 (gdb_load): Check for error messages. On error or timeout,
66c756c6
MS
4771 return a negative value.
4772
a966fde5
JB
47732001-04-24 Jim Blandy <jimb@redhat.com>
4774
851c18e0
JB
4775 * gdb.c++/templates.exp: If we see the prompt for the overload
4776 list, but we haven't recognized any of the longer patterns,
4777 arrange for this test to fail, not hang.
4778
a966fde5
JB
4779 * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
4780 variations.
4781
db144853
MC
47822001-04-22 Michael Chastain <chastain@redhat.com>
4783
4784 * gdb.c++/local.exp: Use the 'runto' library function.
4785 * gdb.c++/namespace.exp: Likewise.
4786 * gdb.c++/overload.exp: Likewise.
4787
3207ec21
KB
47882001-03-26 Kevin Buettner <kevinb@redhat.com>
4789
4790 * gdb.base/Makefile.in (EXECUTABLES): Add step-line.
4791 * gdb.base/step-line.exp: New file. Test step/next in presence of
4792 #line directives.
4793 * gdb.base/step-line.c: New file. Test program for the above.
4794 * gdb.base/step-line.inp: New file. We pretend that this file has
4795 been transformed by some other tool into step-line.c.
4796
13b57657
JB
47972001-03-21 Jim Blandy <jimb@redhat.com>
4798
4799 * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
4800 unmangled operator names.
4801
754cbe1c
JB
48022001-03-20 Jim Blandy <jimb@redhat.com>
4803
4804 * gdb.threads/linux-dp.exp: Recognize an additional message
4805 generated by GDB when it doesn't understand how to debug threads
4806 on the target system.
4807
177495c9
AC
48082001-03-19 Andrew Cagney <ac131313@redhat.com>
4809
4810 * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
4811
f266096b
MC
48122001-03-12 Michael Chastain <chastain@redhat.com>
4813
4814 * gdb.c++/derivation.exp: Use the 'runto' library function.
4815
cac3c2ff
MC
48162001-03-12 Michael Chastain <chastain@redhat.com>
4817
4818 * gdb.c++/annota2.exp: Fix regular expression for "post-query".
4819
b6c11a24
MC
48202001-02-24 Michael Chastain <chastain@redhat.com>
4821
4822 * gdb.c++/ref-types.exp: Change handwritten code to library
4823 function 'runto'.
4824
6bae5bce
OF
48252001-03-16 Orjan Friberg <orjanf@axis.com>
4826
4827 * gdb.base/signals.exp: Set count to 0 explicitly.
4828
0015fd9a
MS
48292001-03-15 Mark Salter <msalter@redhat.com>
4830
4831 * config/monitor.exp (gdb_target_cmd): Add explicit error return.
4832 (gdb_target_monitor): Add check of gdb_target_cmd return value.
880a15ee
MS
4833 (gdb_load): Add support for additional target_info: gdb_download_size
4834 and gdb_load_timeout.
0015fd9a 4835
fc33412a
DT
4836Thu Mar 8 16:06:00 2001 David Taylor <taylor@redhat.com>
4837
4838 * gdb.base/annota1.exp: Move test of isnative to earlier in the
4839 file -- to prevent failing when the compile fails but we have no
4840 intention of running the tests anyway.
4841
4842 * gdb.base/long_long.exp: Test target_info for no_long_long, skip
4843 tests if set.
4844
4845 * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
4846 integers.
4847
4848 * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
4849 * gdb.c++/namespace.exp: Ditto.
4850
115f06de
OF
48512001-03-07 Orjan Friberg <orjanf@axis.com>
4852
4853 * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
4854 * gdb.base/pointers.exp: Relax pattern match of decimals.
4855
b6ba6518
KB
48562001-03-06 Kevin Buettner <kevinb@redhat.com>
4857
4858 * Makefile.in, config/abug.exp, config/cfdbug.exp,
4859 config/cpu32bug.exp, config/dve.exp, config/est.exp,
4860 config/gdbserver.exp, config/hmsirom.exp, config/hppro.exp,
4861 config/i960.exp, config/m32r.exp, config/mn10300-eval.exp,
4862 config/monitor.exp, config/proelf.exp, config/rom68k.exp,
4863 config/sh.exp, config/sid.exp, config/slite.exp,
4864 config/sparclet.exp, config/udi.exp, config/unknown.exp,
4865 config/vr4300.exp, config/vr5000.exp, config/vx.exp,
4866 config/vxworks.exp, config/vxworks29k.exp,
4867 gdb.asm/asm-source.exp, gdb.base/a2-run.exp,
4868 gdb.base/all-bin.exp, gdb.base/annota1.exp,
4869 gdb.base/arithmet.exp, gdb.base/assign.exp,
4870 gdb.base/async.exp, gdb.base/attach.exp,
4871 gdb.base/bitfields.exp, gdb.base/bitops.exp,
4872 gdb.base/break.exp, gdb.base/call-ar-st.exp,
4873 gdb.base/call-rt-st.exp, gdb.base/call-strs.exp,
4874 gdb.base/callfuncs.exp, gdb.base/callfwmall.exp,
4875 gdb.base/commands.exp, gdb.base/completion.exp,
4876 gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
4877 gdb.base/constvars.exp, gdb.base/corefile.exp,
4878 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
4879 gdb.base/display.exp, gdb.base/ena-dis-br.exp,
4880 gdb.base/ending-run.exp, gdb.base/environ.exp,
4881 gdb.base/eval-skip.exp, gdb.base/exprs.exp,
4882 gdb.base/finish.exp, gdb.base/foll-exec.exp,
4883 gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp,
4884 gdb.base/funcargs.exp, gdb.base/help.exp,
4885 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp,
4886 gdb.base/logical.exp, gdb.base/long_long.exp,
4887 gdb.base/maint.exp, gdb.base/mips_pro.exp,
4888 gdb.base/miscexprs.exp, gdb.base/nodebug.exp,
4889 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp,
4890 gdb.base/pointers.exp, gdb.base/printcmds.exp,
4891 gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp,
4892 gdb.base/regs.exp, gdb.base/relational.exp,
4893 gdb.base/remote.exp, gdb.base/reread.exp,
4894 gdb.base/restore.exp, gdb.base/return2.exp,
4895 gdb.base/scope.exp, gdb.base/sect-cmd.exp,
4896 gdb.base/selftest.exp, gdb.base/setshow.exp,
4897 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
4898 gdb.base/sigall.exp, gdb.base/signals.exp,
4899 gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp,
4900 gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
4901 gdb.base/step-test.exp, gdb.base/structs.c,
4902 gdb.base/structs.exp, gdb.base/structs2.exp,
4903 gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp,
4904 gdb.base/volatile.exp, gdb.base/watchpoint.exp,
4905 gdb.base/whatis-exp.exp, gdb.base/whatis.exp,
4906 gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
4907 gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.exp,
4908 gdb.c++/derivation.exp, gdb.c++/inherit.exp,
4909 gdb.c++/local.exp, gdb.c++/member-ptr.exp, gdb.c++/method.exp,
4910 gdb.c++/misc.exp, gdb.c++/namespace.exp, gdb.c++/overload.exp,
4911 gdb.c++/ref-types.exp, gdb.c++/templates.exp,
4912 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp,
4913 gdb.disasm/am33.exp, gdb.disasm/hppa.exp,
4914 gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp,
4915 gdb.fortran/types.exp, gdb.java/jmisc.exp,
4916 gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
4917 gdb.stabs/weird.exp, gdb.threads/linux-dp.exp,
4918 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
4919 gdb.trace/circ.exp, gdb.trace/collection.exp,
4920 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
4921 gdb.trace/limits.exp, gdb.trace/packetlen.exp,
4922 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp,
4923 gdb.trace/report.exp, gdb.trace/save-trace.exp,
4924 gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
4925 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
4926 lib/gdb.exp, lib/mi-support.exp: Update/correct copyright
4927 notices.
4928
dc96c6c7 49292001-02-27 Michael Snyder <msnyder@cygnus.com>
d8f92b1f
MS
4930
4931 * gdb.base/varargs.c (find_max_double): Fix printf format string:
4932 first arg is int not float.
4933
dc96c6c7 49342001-02-22 Michael Snyder <msnyder@cygnus.com>
40f33b9b
MS
4935
4936 * gdb.base/reread.exp: Unsupported for non-native targets;
4937 doesn't work for remote debugging.
4938
9b0c4aeb
FN
49392001-02-19 Fernando Nasser <fnasser@redhat.com>
4940
4941 From Drew Moseley <dmoseley@redhat.com>
4942 * gdb.base/ending-run.exp: Properly handle the BSP state when
4943 stepping past the end of main.
4944
02aa71d5
MC
49452001-02-19 John Moore <jmoore@redhat.com>
4946
4947 * gdb.base/commands.exp (infrun_breakpoint_command_test):
4948 Converted HPUX fix for non-expected items following multiple
4949 step commands into general solution for all platforms.
4950
1fa449a4
MC
49512001-02-18 Michael Chastain <chastain@redhat.com>
4952
4953 * gdb.c++/classes.exp (do_tests): Change runto statements
4954 from "runto 'foo(void)'" to "runto 'foo'". This makes the
4955 statements demangler agnostic.
4956 * gdb.c++/virtfunc.exp (do_tests): Likewise.
4957 (gdb_virtfunc_restart): Likewise.
4958
b2f9ec70
MC
49592001-02-14 Michael Chastain <chastain@redhat.com>
4960
4961 * gdb.c++/inherit.exp (do_tests): Change runto statements
4962 from "runto 'foo(void)'" to "runto 'foo'". This makes the
4963 statements demangler agnostic.
4964
cf74b8ca
AC
4965Sun Feb 4 17:32:21 2001 Andrew Cagney <cagney@redhat.com>
4966
4967 * gdb.threads/pthreads.exp: Unify pass/fail messages for
4968 ``continue to bkpt at common_routine in thread 2'' and ``stopped
4969 before calling common_routine 15 times'' tests.
4970
99f78f56
MC
49712001-02-11 Michael Chastain <chastain@redhat.com>
4972
4973 * gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
4974 Helps the test script figure out which demangler is in use.
4975 (dm_type_foo_ref): Ditto.
4976 (dm_type_int_star): Ditto.
4977 (dm_type_long_star): Ditto.
4978 (dm_type_unsigned_int): Ditto.
4979 (dm_type_void): Ditto.
4980 (dm_type_void_star): Ditto.
99707966 4981 * gdb.base/cplusfuncs.exp (probe_demangler): New function.
99f78f56
MC
4982 Probe the gdb demangler and set variables to accommodate
4983 formatting differences.
4984 (info_func_regexp): New function. Same as info_func, but
4985 matches against a regexp.
4986 (info_func): Match against a literal string.
4987 (print_addr_2): New function. Match against a literal string,
4988 which can be different from the input to gdb.
4989 (print_addr): Simply call print_addr_2 with the same argument twice.
4990 (test_lookup_operator_functions): Use demangler formatting variables.
4991 Blow away the xfails and workarounds for gnats gdb bug gdb/18. Sort
4992 the tests in the same order as the C++ class declaration.
4993 (test_paddr_operator_functions): Ditto.
4994 (test_paddr_overloaded_functions): Ditto.
4995 (test_paddr_hairy_functions): Use demangler formatting variables.
4996 Add reference to gdb/19 for related tests.
4997 (do_tests): Call probe_demangler.
4998
1de8f023
KB
49992001-01-30 Kevin Buettner <kevinb@redhat.com>
5000
5001 * gdb.c++/templates.cc (printf): Remove unused function definition.
5002
ca3f91ed
MS
50032001-01-26 Felix Lee <flee@redhat.com>
5004
5005 * sid.exp (sid_exit): Pass host, not target, to remote_close.
5006
50072001-01-25 matthew green <mrg@redhat.com>
5008
5009 * config/sid.exp (sid_start): Call `remote_push_conn' after firing
5010 up sid.
5011 (sid_exit): Call `remote_pop_conn' after GDB is gone.
5012
50132001-01-25 matthew green <mrg@redhat.com>
5014
5015 * config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.'
d63a86f8 5016 Deprecate $sid_spawn_id.
ca3f91ed
MS
5017 (sid_exit): Remove code necessary only for `spawn.'
5018
50192001-01-25 matthew green <mrg@redhat.com>
5020
5021 * config/sid.exp (sid_start): Handle sim,protocol of `sid.'
5022
fb18ec4a
MC
50232001-01-28 Michael Chastain <chastain@redhat.com>
5024
5025 * gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
5026 to call when tests fail. It takes gdb out of the overloaded
5027 function choice menu back to the main prompt, so that the test
5028 program stays synchronized.
5029 (set_bp_overloaded): New proc to collect all the common
5030 code for setting a breakpoint on an overloaded name. Calls
5031 take_gdb_out_of_choice_menu when needed.
5032 (menu_overload1arg): New variable to collect the repeated
5033 instances of the expected menu for an overloaded name. Change
5034 the regular expression to handle changes in g++ type encoding:
5035 "void" can be either "void" or "", and "unsigned int" can be
5036 either "unsigned int" or "unsigned".
5037 (continue_to_bp_overloaded): Change regular expressions to handle
5038 changes in g++ type encoding.
5039 (no proc): Call take_gdb_out_of_choice_menu when needed.
5040 Remove redundant calls to "info break". Accept either "canceled"
5041 or "cancelled". Change regular expressions in "info break"
5042 calls to handle changes in g++ type encoding. Give all tests
5043 unique strings.
5044
9c646a6e
BE
50452001-01-17 Ben Elliston <bje@redhat.com>
5046
5047 * config/sid.exp: New file.
5048
9549d9c1
AC
5049Fri Jan 12 18:29:01 2001 Andrew Cagney <cagney@b1.cygnus.com>
5050
5051 * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
5052
dc96c6c7 50532000-12-21 Michael Snyder <msnyder@cygnus.com>
315f8b0e
MS
5054
5055 * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
5056 Add a RE to accept a non-ascii char if one is ever presented.
5057
b4df4f68
FN
50582000-12-20 Fernando Nasser <fnasser@redhat.com>
5059
297dd0fd 5060 * lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
b4df4f68 5061
dc96c6c7 50622000-12-18 Michael Snyder <msnyder@cygnus.com>
49c890fc 5063
d63a86f8 5064 * gdb.base/setvar.exp: Use double '\\' to quote curly braces
49c890fc
MS
5065 in regexp. One '\' does not suffice on Linux.
5066
4a7bddb6
MC
50672000-12-09 Michael Chastain <chastain@redhat.com>
5068
5069 * gdb.base/break.exp (test_clear_command): Use a marker function
5070 rather than 'main' for the test function. Also move this
5071 test to an execution point where the marker function names are
5072 guaranteed to be bound to functions. (Executing tests after a
5073 'finish' from main runs into name conflicts with local names
5074 in __libc_start_main).
5075
dc96c6c7 50762000-12-07 Michael Snyder <msnyder@cygnus.com>
efb66345
MS
5077
5078 * gdb.base/finish.exp: New test for gdb's "finish" command.
5079 * gdb.base/return2.exp: New test for gdb's "return" command.
5080 * gdb.base/return2.c: New source file for above.
5081
dc96c6c7 50822000-12-05 Michael Snyder <msnyder@cygnus.com>
3c077de9
MS
5083
5084 * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
5085 * gdb.base/miscexprs.exp: Ditto.
5086 * gdb.base/pointers.exp: Ditto.
5087 * gdb.c++/derivation.exp: Ditto.
5088 * gdb.c++/local.exp: Ditto.
5089 * gdb.c++/namespace.exp: Ditto.
5090 * gdb.c++/overload.exp: Ditto.
5091 * gdb.c++/ref-types.exp: Ditto.
5092
dc96c6c7 50932000-12-05 Michael Snyder <msnyder@cygnus.com>
660fd469
MS
5094
5095 * gdb.base/constvars.exp: Test result of "up" command.
5096 * gdb.base/miscexprs.exp: Ditto.
5097 * gdb.base/pointers.exp: Ditto.
5098 * gdb.base/scope.exp: Ditto.
5099 * gdb.c++/derivation.exp: Ditto.
5100 * gdb.c++/local.exp: Ditto.
5101 * gdb.c++/namespace.exp: Ditto.
5102 * gdb.c++/overload.exp: Ditto.
5103 * gdb.c++/ref-types.exp: Ditto.
5104
44097287
FN
51052000-11-22 Michael Chastain <chastain@redhat.com>
5106
5107 * mips_pro.exp: Accept either "middle -> top -> main" or
5108 "middle -> main" in the backtrace, because gcc can optimize
5109 tail calls to jumps. Remove setup_xfail for the hppa case.
5110 Add a comment with the original warning messages from PR 3016,
5111 which was filed in 1993, to preserve them for posterity.
5112
9d2e1bab
ND
51132000-11-17 Nick Duffek <nsd@redhat.com>
5114
5115 * lib/gdb.exp (gdb_test): Override timeout with board info.
5116
1aca8eb7
ND
51172000-11-17 Nick Duffek <nsd@redhat.com>
5118
5119 * gdb.base/display.exp: Don't kill running stub. Add "again" to
5120 the second kill and detach messages.
5121
93076499
ND
51222000-11-17 Nick Duffek <nsd@redhat.com>
5123
5124 * configure.in: Add AC_EXEEXT.
5125 * configure: Regenerate.
5126 * Makefile.in (just-check): Export EXEEXT.
5127 * lib/gdb.exp ($EXEEXT): Import from environment.
5128 * gdb.base/maint.exp: Expect $EXEEXT in executable name. Don't
5129 expect "maint dump-me" on Cygwin.
5130 * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
5131 $EXEEXT.
5132
30e87cd3
ND
51332000-11-17 Nick Duffek <nsd@redhat.com>
5134
5135 * gdb.base/break.exp: Test backtrace and finish from called
5136 function on all platforms, not just HP-UX.
5137
dc96c6c7 51382000-11-03 Michael Snyder <msnyder@cygnus.com>
08e706b1
MS
5139
5140 * config/monitor.exp (gdb_target_cmd): Abstracts some of the
5141 code from gdb_target_monitor, so it can be used independantly
5142 for gdbserver. Also comment out an unnecessary PUTS.
d63a86f8 5143
dc96c6c7 51442000-11-03 Michael Snyder <msnyder@cygnus.com>
958a4e4c
MS
5145
5146 * gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
5147 * gdb.base/corefile.exp: Expect the message "Program is being
5148 debugged already" when we send the "corefile" command, since
5149 the preceeding gdb_load may have connected gdb to a remote target.
5150 * gdb.base/display.exp: Disable hardware watchpoints if new
5151 board info variable "no_hardware_watchpoints" is true.
5152 Replace single-letter commands with more readable ones.
5153 * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
5154 if new board info variable "no_hardware_watchpoints" is true.
5155 * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
5156 to see if stdio (printf) testing is possible.
5157 * gdb.base/watchpoint.exp: Disable hardware watchpoints if new
5158 board info variable "no_hardware_watchpoints" is true. Use new
5159 proc "gdb_skip_stdio_tests" to see if printf tests are possible.
5160
39124dea
FN
51612000-11-13 Fernando Nasser <fnasser@redhat.com>
5162
5163 From Orjan Friberg <orjanf@axis.com>:
5164 * gdb.base/printcmds.exp: Escape curly braces followed by a number
5165 in array print pattern match.
5166
a9e2e984
FN
51672000-11-09 Fernando Nasser <fnasser@redhat.com>
5168
5169 * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
5170 spelling "cancelled" to U.S. spelling "canceled" to match changes
5171 made to gdb.
5172 * gdb.c++/ovldbreak.exp: Ditto.
5173
c7db355b
PS
51742000-11-06 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
5175
5176 * gdb.base/callfuncs.c (main): Moved to end of file, call
5177 t_double_values to initialize the FPU before inferior calls are made.
5178 * gdb.base/callfuncs.exp: Test for register preservation after calling
5179 inferior functions. Add tests for continuining, finishing and
5180 returning from a stop in a call dummy.
5181
dc96c6c7 51822000-10-24 Michael Snyder <msnyder@cygnus.com>
42f5c13f
MS
5183
5184 * gdb.base/commands.exp: Break up long lines, and re-indent.
5185
dc96c6c7 51862000-10-19 Michael Snyder <msnyder@cygnus.com>
ae0323a8
MS
5187
5188 * config/gdbserver.exp: Rewritten from the ground up, to make it
5189 compatible with the current dejagnu tree, and to make it work with
5190 the new "gdbserver" in libremote.
5191
dc96c6c7 51922000-10-16 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
5193
5194 * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
5195 * gdb.base/varargs.exp: Skip entire test if no printf support.
5196 * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
5197 * gdb.base/shlib-call.exp: Skip several tests if no printf support.
5198
dc96c6c7 51992000-10-13 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
5200
5201 * lib/gdb.exp (gdb_skip_float_test): New proc. Skip test if
5202 no floating point support.
5203 (gdb_skip_stdio_test): New proc. Skip test if no stdio support.
5204 * gdb.base/call-ar-st.exp: Use above procs to skip tests.
5205 * gdb.base/call-rt-st.exp: Ditto.
5206 * gdb.base/call-strs.exp: Ditto.
5207
bac5fc66
JG
52082000-08-02 Jimmy Guo <guo@hpcleara.cup.hp.com>
5209
5210 * gdb.base/sizeof.c: include <stdio.h>.
5211
5212 * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
5213 'finish', otherwise uncaptured gdb_prompt would potentially
5214 throw remaining test points out of sync.
5215
b22a6027
SB
52162000-07-26 Scott Bambrough <scottb@netwinder.org>
5217
5218 * gdb.base/recurse.exp: Run tests for all targets.
5219 * gdb.base/so-impl-ld.exp: Added wildcard to handle the
5220 gnu-oldld case on ARM.
5221 * gdb.base/watchpoint.exp (test_stepping): Clear xfail
5222 for ARM targets.
d63a86f8 5223
d8231941
AG
5224Mon Jul 24 07:46:02 CDT 2000 Clinton Popetz <cpopetz@cygnus.com>
5225
5226 * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
5227 * gdb.java/configure: Rebuild.
5228
8caabe69
AG
5229Sun Jul 23 21:42:34 2000 Anthony Green <green@redhat.com>
5230
5231 * gdb.java/jv-exp.exp: New file.
5232
9d273ca3
AG
5233Sun Jul 23 21:02:42 2000 Anthony Green <green@redhat.com>
5234
5235 * configure: Rebuilt.
5236 * configure.in (configdirs): Add gdb.java.
5237 * gdb.java/jmisc.java: New file.
5238 * gdb.java/jmisc.exp: New file.
5239 * gdb.java/Makefile.in: New file.
5240 * gdb.java/configure: Rebuilt.
5241 * gdb.java/configure.in: New file.
5242 * lib/java.exp: New file.
5243
4f823a66
AC
5244Wed Jul 12 18:14:29 2000 Andrew Cagney <cagney@b1.cygnus.com>
5245
5246 * gdb.base/exprs.exp: Test casts to a pointer including over and
5247 underflow.
5248
2391e11d
AC
5249Thu Jul 13 11:52:53 2000 Andrew Cagney <cagney@b1.cygnus.com>
5250
5251 * gdb.base/sizeof.exp, gdb.base/sizeof.c: New files. Compare GDB
5252 and the compilers sizes.
5253
54602222
ND
52542000-07-09 Nick Duffek <nsd@redhat.com>
5255
5256 * gdb.c++/misc.cc (class ClassParam, class_param): Define.
5257 (use_methods): New function.
5258 (main): Call use_methods().
5259 * gdb.c++/classes.exp (test_method_param_class): New procedure.
5260 (do_tests): Call test_method_param_class.
5261
2bec0572
ND
52622000-07-09 Nick Duffek <nsd@redhat.com>
5263
5264 * gdb.c++/classes.exp (test_nonexistant_members): Fix name
5265 spelling.
5266 (test_enums): New procedure. Move enum tests from end of script
5267 to here. Set breakpoint on function name instead of line number.
5268 * gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
5269 (enums2): New marker function.
5270 (enums1): New function.
5271 (main): Call enums1(). Move enum tests to enums1().
5272
78492fde
AC
5273Tue Jul 4 03:43:49 2000 Andrew Cagney <cagney@b1.cygnus.com>
5274
5275 * gdb.asm/asm-source.exp: Use raw AS/LD instead of CC to
5276 compile/link program. Update line numbers.
5277 * gdb.asm/d10v.inc: Define ``startup''.
5278 * gdb.asm/asmsrc1.s: Add definition of _start.
d63a86f8 5279
49a2cef8
AC
5280Fri Jun 23 17:45:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
5281
5282 * gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
5283
3e6c8688
EZ
52842000-06-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5285
5286 * gdb.base/maint.exp: Add 'maint print architecture' item to output
5287 of 'help maint print' command.
5288
9ff5cbe9
AC
5289Fri Jun 16 18:22:05 2000 Andrew Cagney <cagney@b1.cygnus.com>
5290
5291 * gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
5292 they use gdb_expect_list.
5293
17c579bd
AC
5294Wed Jun 7 13:02:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
5295
5296 * gdb.base/commands.exp: Use ``set remote
5297 memory-read-packet-size'' instead of ``set endian big'' to test
5298 long commands.
5299
e6d71bf3
DB
53002000-06-03 Daniel Berlin <dan@cgsoftware.com>
5301
5302 * gdb.c++/templates.exp (do_tests): Make all of these work under
d63a86f8 5303 g++, and stop skipping them.
e6d71bf3
DB
5304
5305 * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
5306 work under g++.
5307
d63a86f8 5308 * gdb.c++/misc.cc: Fix ambiguous initialization with correct
e5f9ba7b
MS
5309 initialization.
5310
dc96c6c7 53112000-06-02 Michael Snyder <msnyder@cygnus.com>
7346e70f
MS
5312
5313 * gdb.base/annota1.exp (run until main breakpoint): Loosen up
5314 the regular expression: accept an (almost) arbitrary sequence of
5315 "frames-invalid" and "breakpoints-invalid" messages both before
5316 and after the "starting" message.
5317
dc96c6c7 53182000-06-02 Michael Snyder <msnyder@cygnus.com>
e5f9ba7b
MS
5319
5320 * gdb.c++/local.exp: This test has never been known to work with g++.
e6d71bf3 5321
dc96c6c7 53222000-05-18 Michael Snyder <msnyder@cygnus.com>
0a791409
MS
5323
5324 * gdb.base/annota1.exp (annotate-signal-handler-caller):
5325 Relax the regular expression a little, make it pass on Solaris 8.
5326
8216cda9
KB
53272000-05-12 Kevin Buettner <kevinb@redhat.com>
5328
5329 * gdb.base/step-test.exp: On IA-64 targets, when stepping out of
d63a86f8 5330 a call, do not require that gdb stop on the line after the call.
8216cda9
KB
5331 Instead, it is permissible for gdb to stop on the line of the
5332 call itself.
5333
1a570b2f
MS
53342000-05-12 Michael Snyder <msnyder@.cygnus.com>
5335
5336 * gdb.base/break.exp (bp on small function, optimized file):
5337 Add a second pass pattern. The behavior differs here between stabs
5338 and dwarf for one-line functions. Stabs preserves two line symbols
5339 (one before the prologue and one after) with the same line number,
5340 but dwarf regards these as duplicates and discards one of them.
5341 Therefore the address after the prologue (where the breakpoint is)
5342 has no exactly matching line symbol, and GDB reports the breakpoint
5343 as if it were in the middle of a line rather than at the beginning.
5344
dc96c6c7 53452000-05-08 Michael Snyder <msnyder@cygnus.com>
89cb06a2 5346
d63a86f8 5347 * gdb.base/interrupt.exp: Make "pass" message say "send"
89cb06a2
MS
5348 rather than "send_gdb" (for consistancy).
5349
7d418785
AC
5350Mon May 1 15:37:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
5351
5352 From 2000-04-28 Andreas Jaeger <aj@suse.de>:
5353 * gdb.c++/templates.cc: Properly check for GCC version number.
5354 * lib/compiler.cc: Likewise
5355
dc96c6c7 53562000-04-28 Michael Snyder <msnyder@cygnus.com>
e919ea79 5357
d63a86f8 5358 * gdb.base/break.exp: When compiled with -O2 optimization,
e919ea79
MS
5359 gdb may not stop at the first line of main, due to code motion.
5360
dc96c6c7 53612000-04-26 Michael Snyder <msnyder@cygnus.com>
1960c400
MS
5362
5363 * gdb.base/call-ar-st.exp: Bail out if target is sparclet.
5364 This test depends on parsing the printf output from the target.
5365 Since the sparclet stub doesn't do stdio, this will never work.
5366 * gdb.base/call-rt-st.exp: ditto.
5367 * gdb.base/call-strs: ditto.
5368
dc96c6c7 53692000-04-24 Michael Snyder <msnyder@cygnus.com>
b84b7669
MS
5370
5371 * gdb.base/miscexprs.exp: make sizeof long array test portable.
5372
5373 * gdb.base/ending-run.exp: After connecting to a remote target,
5374 but before running, the target will appear to be in a random
5375 location. Specify both a file and a line for breakpoints.
5376 Also, the function that calls main may be called 'init'
5377 rather than 'start'.
5378
a5a51225
EZ
53792000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5380
5381 * gdb.base/help.exp: Update output for add-symbol-file command.
5382
7930cc7c
FN
53832000-04-10 Fernando Nasser <fnasser@cygnus.com>
5384
5385 From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
5386 * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
5387
23e37ab1
C
53882000-04-07 J.T. Conklin <jtc@redback.com>
5389
e93c542c
C
5390 * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
5391
23e37ab1
C
5392 * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
5393
591b8fa3
PDM
5394Thu Mar 30 13:26:19 2000 Philippe De Muyter <phdm@macqel.be>
5395
5396 * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
5397 values that can be represented exactly.
5398 * gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
5399 above change, and to not check against the directory part of the source
5400 file name.
5401 (step into print_long_arg_list): Likewise.
5402 (print print_small_structs from print_long_arg_list): Likewise.
5403 (print print_long_arg_list): Likewise.
5404
7a495180
EZ
54052000-03-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5406
30b53638 5407 * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
7a495180 5408
beb998c6
AC
5409Mon Mar 27 14:46:37 2000 Andrew Cagney <cagney@b1.cygnus.com>
5410
5411 * ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
5412
1c689132
DB
54132000-03-25 Daniel Berlin <dan@cgsoftware.com>
5414
5415 * gdb.base/commands.exp (deprecated_command_test): Add test for
5416 deprecate with no arguments.
5417
c1790a9d
JL
54182000-03-24 Jonathan Larmour <jlarmour@redhat.co.uk>
5419
5420 * gdb.base/break.exp: Add new test for setting breakpoints on
5421 optimized code so we can test breakpoints work even when function
5422 prologues may be optimized away
5423
003ba290
FN
54242000-03-23 Fernando Nasser <fnasser@totem.to.cygnus.com>
5425
5426 From David Whedon <dwhedon@gordian.com>
5427 * gdb.base/commands.exp : Added command deprecator tests.
5428
6837a0a2
DB
54292000-03-22 Daniel Berlin <dan@cgsoftware.com>
5430
5431 * gdb.base/help.exp: Added test for new apropos command.
5432
b9593231
KB
54332000-03-21 Kevin Buettner <kevinb@redhat.com>
5434
5435 * gdb.base/pointers.c (usevar): New function.
5436 (main): Make sure that global variables v_int_pointer2, rptr,
5437 and y are all referenced someplace in the program by calling
5438 usevar() on them. [Some linkers delete symbols which are
5439 never referenced. The space remains, but there's no way to
5440 get a (symbolic) handle on the variable from the debugger.]
5441
751a959b
EZ
54422000-03-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5443
5444 * gdb.base/printcmds.c: Add typedeffed arrays.
5445
5446 * gdb.base/printcmds.exp (test_print_typedef_arrays): New
5447 procedure to test arrays that are typedef'd.
5448
73a93a32
JI
54492000-03-13 James Ingham <jingham@leda.cygnus.com>
5450
5451 * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
d63a86f8 5452 the library directories.
73a93a32 5453
fb40c209
AC
5454Mon Feb 21 13:05:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
5455
5456 * configure.in (configdirs): Add sub directory gdb.mi.
5457 * configure: Re-generate.
5458
5459 * gdb.mi: New directory.
d63a86f8 5460
ee4dd2c9
AC
54612000-02-25 Scott Bambrough <scottb@netwinder.org>
5462
5463 * gdb.base/long_long.exp: Correct test suite failure when printing
5464 a long long value as a double on ARM platforms.
5465
70f0cc22
JB
54662000-02-16 Jim Blandy <jimb@redhat.com>
5467
5468 * gdb.base/break.exp ("breakpoint line number"): Make sure the
5469 default source file is set properly before running this test.
5470
853819b8
EZ
54712000-02-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5472
5473 * lib/gdb.exp: Tell the testsuite that now gdbtk is in the
5474 gdbtk/library directory, not in gdbtcl2.
5475
dfcd3bfb
JM
54762000-02-04 Jim Blandy <jimb@redhat.com>
5477
5478 * gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
5479 backslash from regexp pattern.
5480
5481 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): New
5482 procedure. Use it to run all the "continue to bp overloaded"
5483 tests. Note that this changes the names of the tests slightly.
5484 If the breakpoint hit message includes a hex PC value, because
5485 GCC's Dwarf 2 line info doesn't help us distinguish the prologue
5486 from the real source code, still consider that a pass.
5487
5488 * gdb.base/condbreak.exp ("run until breakpoint at marker2"):
5489 XFAIL here if the breakpoint message contains a hex address. Note
5490 similar change on 1999-11-02.
5491
5492 * gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
5493
5494 * gdb.base/ptype.exp: Establish a default source file before
5495 calling get_debug_format.
5496
54972000-02-03 Fernando Nasser <fnasser@totem.to.cygnus.com>
5498
5499 * gdb.base/watchpoint.exp: Remove duplication of test messages.
5500
8b93c638
JM
55012000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
5502
5503 * gdb.base/step-test.exp: Fix the steps to enter a callee by means
5504 of successive stepi commands -- while in the prologue we should see
5505 the function entry bracket.
5506
55072000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
5508
5509 * gdb.base/ending-run.exp: Add ARM in thumb mode case, where we
5510 reach __change_mode() when stepping through the end of main().
5511
c5394b80
JM
55122000-01-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
5513
5514 * gdb.base/default.exp: Fix expected pattern.
5515 * gdb.base/help.exp: Same.
5516
0d06e24b
JM
55172000-01-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5518
5519 * gdb.base/so-indr-cl.exp: Don't execute the test if not on HPUX.
5520 Don't use xfail's because that affects only the following test.
d63a86f8 5521
0d06e24b
JM
5522 * gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
5523 solaris or linux.
5524
5525 * gdb.base/selftest.exp: Update to reflect changes to main.c.
5526
dc96c6c7 55272000-01-07 Michael Snyder <msnyder@cygnus.com>
0d06e24b 5528
d63a86f8 5529 * gdb.base/display.exp: Some yacc parsers like to say
0d06e24b
JM
5530 "A syntax error" rather than "A parse error". Accept both.
5531
55322000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
5533
5534 * gdb.base/default.exp: Remove OS dependent string from "target
5535 remote" test.
5536 * gdb.base/help.exp: Same for "help target remote" test.
5537
c3f6f71d
JM
55382000-01-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5539
5540 From Jim Kingdon <kingdon@redhat.com>:
5541
5542 * gdb.c++/annota2.exp: Fix "delete bps" test to wait for the
5543 prompt (cleanup rather than necessity, but still might keep output
5544 from spilling to next test).
5545
55462000-01-02 Fred Fish <fnf@cygnus.com>
5547
5548 * gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
5549 AIX, which defines them in <sys/types.h>.
5550
ed9a39eb 55511999-12-16 Stan Shebs <shebs@andros.cygnus.com>
c4093a6a 5552
ed9a39eb
JM
5553 * gdb.base/default.exp: Match arm* etc instead of arm in "info
5554 float" test.
5555
55561999-12-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
c4093a6a 5557
ed9a39eb 5558 * gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
c4093a6a
JM
5559
5560 * gdb.base/break.exp: Add missing anchor to reg exp on "finish from
5561 outermost frame disallowed".
5562
55631999-12-09 Fernando Nasser <fnasser@totem.to.cygnus.com>
5564
5565 * gdb.base/setvar.exp: New tests for setting the value of a struct
5566 with a constant list.
5567
55681999-12-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
5569
5570 * gdb.base/setvar.exp: Remove pair os tests that expected gdb to
5571 require the user to type a cast before setting the value of a struct.
5572
de57eccd
JM
55731999-12-06 Jim Blandy <jimb@cygnus.com>
5574
5575 * gdb.base/default.exp: Expect the new 'info float' command on
5576 all i386 platforms.
5577
5578 * gdb.threads/linux-dp.exp: Expand our ability to recognize
5579 LinuxThreads libraries that don't support debugging.
5580
c2d11a7d
JM
5581Sat Dec 4 15:21:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
5582
5583 * gdb.base/remote.c: Fill the buffer with truely random data.
5584 Change the buffer type to ``unsigned char'' to simplify size
5585 arithmetic.
5586
5587 * gdb.base/remote.exp: Reduce download numbers by one. Typical
5588 stub only handles 400-1 byte packets. Verify that the download
5589 worked.
5590
55911999-11-30 Fernando Nasser <fnasser@totem.to.cygnus.com>
5592
5593 * lib/gdb.exp (gdb_expect_list): FAIL only once on multiple pattern
5594 tests, using UNRESOLVED for the untested cases. Also, does not wait
5595 for a timeout if the prompt was received before a recognizable pattern.
5596
55971999-11-29 Fernando Nasser <fnasser@totem.to.cygnus.com>
5598
5599 * lib/gdb.exp (gdb_expect_list): Fix spelling.
5600
56011999-11-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5602
5603 * gdb.base/watchpoint.exp: Add tests cases for the hit count of
5604 watchpoints.
5605
56061999-11-24 Jason Merrill <jason@casey.cygnus.com>
5607
5608 * gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
5609
5610 * gdb.c++/local.exp: Be more flexible in recognizing local class
5611 name mangling. Don't allow horribly truncated method names.
5612 * gdb.c++/derivation.exp: Expect protected inheritance.
5613 * gdb.c++/inherit.exp: Be more flexible in recognizing vbase pointers.
5614 * gdb.c++/virtfunc.exp: Likewise.
5615 * gdb.c++/classes.exp: Likewise. Don't require the enclosing scope
5616 when printing a nested enum.
5617
56181999-11-22 Jim Blandy <jimb@cygnus.com>
5619
5620 * gdb.base/step-test.exp: Properly await GDB's response to setting
5621 a breakpoint on the call to large_struct_by_value.
5622
5623 * gdb.base/ending-run.exp ("step to end of run 1"): Don't fail
5624 just because we have debug info for the `start' function.
5625
56261999-11-19 Jim Blandy <jimb@zenia.red-bean.com>
5627
5628 * gdb.threads/linux-dp.exp ("create philosopher"): Recognize the
5629 "Unknown signal" messages, which indicate (on LinuxThreads) that
5630 GDB doesn't know how to debug threads on this system. This is
5631 better than hanging while philosopher 0 dumps chatter into gdb.log.
5632
56331999-11-18 Tom Tromey <tromey@cygnus.com>
5634
5635 * gdb.trace/deltrace.exp: Updated test to reflect new error text.
5636
56371999-11-18 Fred Fish <fnf@cygnus.com>
5638
5639 * gdb.base/coremaker2.c: Add sample program for generating
5640 cores that is more self contained than coremaker.c. Eventually
5641 I'll add more code to this and tie it into the testsuite.
5642
4ce44c66
JM
56431999-11-12 Stan Shebs <shebs@andros.cygnus.com>
5644
5645 * gdb.base/dollar.exp: Remove, now in gdb.hp.
5646
56471999-11-10 Jimmy Guo <guo@cup.hp.com>
5648
5649 * gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
5650 from $srcdir/lib/.
5651 * lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
5652 and gdb.c++/.
5653
5654 * gdb.c++/derivation.exp: remove redundant get compiler info code.
5655
d63a86f8 5656 * gdb.base/commands.exp: add '$gdb_prompt $' anchor to
4ce44c66
JM
5657 'continue with watch' test point.
5658
56591999-11-08 Jim Blandy <jimb@zenia.red-bean.com>
5660
5661 Merged from p2linux-990323-branch:
d63a86f8 5662
4ce44c66
JM
5663 * lib/gdb.exp (gdb_continue_to_breakpoint): New function.
5664
11cf8741
JM
5665Mon Nov 8 23:07:09 1999 Andrew Cagney <cagney@amy.cygnus.com>
5666
5667 * gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
5668 {limit,fixed}''. Test ``set download-write-size''.
5669
5670Sun Nov 7 17:37:01 1999 Andrew Cagney <cagney@b1.cygnus.com>
5671
5672 * gdb.base/funcargs.exp: Rewrite stack traceback checks using
5673 gdb_expect_list.
5674
5675Fri Nov 5 18:40:52 1999 Andrew Cagney <cagney@b1.cygnus.com>
5676
5677 * lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
5678
56791999-11-03 Mark Salter <msalter@cygnus.com>
5680
5681 * gdb.base/break.exp: Fix "stub continue" pattern.
5682
56831999-11-03 Jim Blandy <jimb@zwingli.cygnus.com>
5684
5685 * gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
5686
56871999-11-02 Jim Blandy <jimb@zwingli.cygnus.com>
5688
5689 * gdb.base/display.exp ("finish"): Add timeout clause.
5690
5691 * gdb.base/condbreak.exp ("run until breakpoint at marker1"): Add
5692 plain prompt clause, so this doesn't have to time out in order to
5693 fail.
5694
5695 * gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
5696 breakpoint hit messages include an address.
5697
5698 * gdb.base/display.exp: Don't forget to escape parens in regular
5699 expressions. Unix regexp notatation sucks.
5700
57011999-11-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5702
5703 * gdb.base/annota1.exp: Test for annotate-signalled: change output
5704 order for 'signalled' message.
5705
5c44784c
JM
57061999-11-01 Stan Shebs <shebs@andros.cygnus.com>
5707
5708 From Jimmy Guo <guo@cup.hp.com>:
5709 * gdb.base/annota1.exp: Add tests for annotate ignore count change.
5710 * gdb.base/annota1.c: Add code for tests to work with.
5711
57121999-10-26 Frank Ch. Eigler <fche@cygnus.com>
5713
5714 * gdb.base/remote.exp: New test for remote downloading settings.
5715 * gdb.base/remote.c: New file with large .data.
5716
917317f4
JM
57171999-10-18 Jim Blandy <jimb@zwingli.cygnus.com>
5718
5719 * gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
5720 for LinuxThreads support, merged from the Code Fusion branch.
5721
5722Mon Oct 11 13:57:21 1999 Andrew Cagney <cagney@amy.cygnus.com>
5723
5724 * lib/gdb.exp (gdb_run_cmd): Break complicated gdb_expect
5725 containing exp_continue into a while within an expect. Don't
5726 attempt a start more than three times. Check return value from
5727 gdb_load.
d63a86f8 5728
2df3850c
JM
5729Wed Oct 6 12:05:58 1999 Andrew Cagney <cagney@b1.cygnus.com>
5730
5731 * gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
5732 a pass case.
5733
2acceee2
JM
57341999-10-01 Kevin Buettner <kevinb@cygnus.com>
5735
5736 * gdb.base/break.c (main): Added a statement that we can step
5737 off of.
5738 * gdb.base/break.exp: Added tests for setting a breakpoint
5739 at an offset and stepping onto a breakpoint.
5740
57411999-10-01 Fred Fish <fnf@cygnus.com>
5742
d63a86f8 5743 * gdb.base/help.exp (help add-symbol-file): Update to match current
2acceee2
JM
5744 gdb output.
5745
c2c6d25f
JM
57461999-09-18 Jim Blandy <jimb@cris.red-bean.com>
5747
5748 * gdb.base/break.exp: Code locations are in hex, don't forget!
5749 (For HP-UX.)
5750
57511999-09-17 Stan Shebs <shebs@andros.cygnus.com>
5752
5753 * condbreak.exp: Use break.c as test program.
5754 * condbreak.c: Remove, redundant with break.c.
5755
57561999-09-15 Stan Shebs <shebs@andros.cygnus.com>
5757
5758 * config/monitor.exp (gdb_target_monitor): Disable X- and
5759 Z-packets if the target needs it.
5760
57611999-09-13 James Ingham <jingham@leda.cygnus.com>
5762
5763 * gdb.c++/overload.exp: Added tests for listing overloaded
5764 functions with function pointers in the arg, explicitly calling
5765 out the version you want.
5766
cff3e48b
JM
57671999-09-09 Stan Shebs <shebs@andros.cygnus.com>
5768
5769 * long_long.exp: Add variations of test cases that work for
5770 targets with 16-bit ints and 32-bit doubles.
5771
d4f3574e
SS
57721999-09-08 Stan Shebs <shebs@andros.cygnus.com>
5773
5774 * break.c (main): Compare a possibly-uninitialized argc with an
5775 unlikely value that fits in 16 bits.
5776
57771999-09-07 Stan Shebs <shebs@andros.cygnus.com>
5778
5779 * gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
5780 0xfeeb, don't want negative numbers if ints are 16 bits.
5781
5782 * lib/gdb.exp (skip_cplus_tests): New proc.
5783 * gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
5784 gdb.c++/anon-union.exp, gdb.c++/classes.exp,
5785 gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
5786 gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
5787 gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
5788 gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
5789 gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
5790 gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
5791
5792 * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
5793
5794Fri Sep 3 15:37:12 1999 Kevin Buettner <kevinb@cygnus.com>
5795
5796 * gdb.base/corefile.exp (up): Allow a parameter to appear
5797 in the frame that we're going up to.
5798
5799 From Jim Blandy <jimb@cygnus.com>:
5800
5801 * gdb.base/default.exp (info float): Expect some output now.
5802
5803 * gdb.base/callfuncs.exp (do_function_calls): We no longer expect
5804 returning floating-point values to fail on the x86.
5805 * gdb.base/callfwmall.exp (do_function_calls): Same.
5806
5807 * gdb.base/list.exp (test_listsize): Correct expectations for
5808 listing line 1 with listsize 2. Also, listing a single line
5809 works now, as does listing three lines. [Kevin's note: There
5810 were a number of other cases fixed too where the expectations
5811 differed...]
5812
58131999-09-02 Stan Shebs <shebs@andros.cygnus.com>
5814
5815 * gdb.base/selftest.exp: Add case for when version prints as
5816 constant string instead of char pointer.
5817
104c1213
JM
58181999-08-25 Stan Shebs <shebs@andros.cygnus.com>
5819
5820 * gdb.base/ending-run.exp: Add Solaris case for what happens when
5821 stepping out of main.
5822
5823 * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
5824 G++ used.
5825
5826 * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
5827 always, expect ptype InnerLocal::NestedInnerLocal to fail always.
5828
5829 * gdb.c++/ovldbreak.exp: Update match string in test that
5830 includes a warning of multiple breakpoints.
5831
58321999-08-24 Stan Shebs <shebs@andros.cygnus.com>
5833
5834 * gdb.base/display.exp: Improve precision of step-after-finish
5835 added yesterday.
5836
5837 * gdb.base/signals.exp: Add extra wildcard to "handle all print"
5838 test.
5839
5840 * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
5841 configs when using G++, not just hppa*.
5842
58431999-08-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5844
5845 * gdb.base/async.c: New file.
5846 * gdb.base/async.exp: New file.
5847
5848Tue Aug 24 03:24:53 1999 Jeffrey A Law (law@cygnus.com)
5849
5850 * gdb.base/break.exp: Tweak PA specific tests to properly handle
5851 PA64.
5852
53a5351d
JM
5853Mon Aug 23 10:25:20 1999 Jeffrey A Law (law@cygnus.com)
5854
104c1213
JM
5855 * gdb.base/display.exp: "finish" can leave us mid-line on many
5856 targets, deal with it. Add a small constant to main, instead of
5857 1000 since main+1000 may not be a valid address in the target.
5858
53a5351d
JM
5859 * gdb.base/dollar.exp: Do not run for PA processors in wide mode
5860 on hpux11.
5861
5862 * gdb.base/attach.exp: Handle another hpux11 error message variant
5863 when attaching to a process that does not exist.
5864
58651999-08-19 J.T. Conklin <jtc@redback.com>
5866
5867 * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
5868 characters in 'continue to 1241' test.
5869
58701999-08-17 Stan Shebs <shebs@andros.cygnus.com>
5871
5872 * gdb.base/call-ar-st.exp: Add a shorter match case for the
5873 stop in print_long_arg_list, define and use a whitespace
5874 variable in print_small_structs test, add an XFAIL for Solaris.
5875 * gdb.base/dbx.exp: XFAIL func commands until somebody is
5876 interested enough to fix.
5877
7be570e7
JM
58781999-08-13 Keith Seitz <keiths@cygnus.com>
5879
5880 * gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
5881 (dbx_gdb_load): Remove. Use gdb_load instead, since that
5882 proc knows about targets other than the natives.
5883 (test_assign): Use "gdb_run_cmd" to "run" the target.
5884 Check that we've actually hit the breakpoint at main.
5885 When we attempt to assign a value to a local variable, check
5886 that the variable is in the current scope, i.e., don't use
5887 a test with an empty result.
5888
5889Tue Aug 10 15:25:16 1999 Andrew Cagney <cagney@b1.cygnus.com>
5890
5891 * gdb.base/maint.exp: Add test of ``maintenance internal-error''
5892 command.
5893
58941999-08-09 Stan Shebs <shebs@andros.cygnus.com>
5895
5896 From Jimmy Guo <guo@cup.hp.com> and others at HP:
5897 gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
5898 gdb.compat, gdb.threads-hp.
5899 gdb.hp/configure, gdb.hp/configure.in: New files.
5900 gdb.hp/Makefile.in: Recurse into new subdirs.
5901 gdb.hp/gdb.defects: New directory, tests for HP bug reports.
5902 gdb.hp/gdb.objdbg: New directory, tests for debugging info
5903 in object files.
5904 gdb.hp/tools: New directory, aux tools for HP-specific tests.
5905
96baa820
JM
59061999-08-05 Stan Shebs <shebs@andros.cygnus.com>
5907
5908 * gdb.base/display.exp: Help expect by putting a newline in the
5909 funky printf, remove a bogus p/a test.
5910
59111999-08-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5912
5913 * gdb.base/display.exp: Make sure that when we say 'run', we are
5914 connected to the target. This is necessary when running not
5915 natively.
5916
59171999-08-03 Stan Shebs <shebs@andros.cygnus.com>
5918
5919 * gdb.base/step-test.exp: Removed some extraneous messages.
5920
5921 * gdb.base/long_long.exp: Don't run memory examination tests
5922 on little-endian targets (they will need a different set of
5923 results to match).
5924
59251999-08-02 Stan Shebs <shebs@andros.cygnus.com>
5926
5927 * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
5928 until somebody decides to fix GDB.
5929
5930 * gdb.base/long_long.c: Stop compiler complaint by specifying long
5931 constant as "ULL".
5932 * gdb.base/long_long.exp: Loosen x/c test, add partial result
5933 matches for a couple x/2 commands.
5934
a0b3c4fd
JM
59351999-07-30 Stan Shebs <shebs@andros.cygnus.com>
5936
5937 * gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
5938 by merging in ref-types2 tests.
5939 * gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
5940
5941 From Jimmy Guo <guo@cup.hp.com> and others at HP:
5942 * gdb.c++/Makefile.in: Add standard actions.
5943 (EXECUTABLES): Rename from PROGS, update list.
5944 * gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
5945 from gdb.hp.
5946 * gdb.c++/anon-union.cc: Don't use anonymous struct, make
5947 foo and bar locals.
5948 * gdb.c++/anon-union.exp: Fix tests to match.
5949 * gdb.c++/classes.exp: Run if HP compiler used, add extra
5950 expect matches to handle output variations.
5951 * gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
5952 * gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
5953 output, add HP alternatives for new and delete prints.
5954 * gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
5955 gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
5956 * gdb.c++/demangle.exp: Use $style when reporting failure.
5957 * gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
5958 * gdb.c++/inherit.exp: Run if HP compiler used, add some
5959 match alternatives.
5960 * gdb.c++/local.exp: Add match alternatives or xfails for HP
5961 compilers.
5962 * gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
5963 * gdb.c++/method.exp: Add match alternatives.
5964 * gdb.c++/misc.cc: Add bool types.
5965 * gdb.c++/misc.exp: Add tests for bool types.
5966 * gdb.c++/overload.exp: Add xfails.
5967 * gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
5968 * gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
5969 add some more template parameter tests (only for HP currently).
5970 * gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
5971 * gdb.c++/virtfunc.cc: Add return type and value for main.
5972 * gdb.c++/virtfunc.exp: Run if HP compiler used, add some
5973 match alternatives.
d63a86f8 5974
a0b3c4fd
JM
59751999-07-30 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5976
5977 * gdb.base/display.exp: Fix output of 'p/a &&j' test.
5978
59791999-07-29 Jim Blandy <jimb@savonarola.red-bean.com>
5980
5981 * gdb.base/signals.exp: Don't expect getting a backtrace from
5982 within a signal handler to fail on Linux.
5983
59841999-07-29 Stan Shebs <shebs@andros.cygnus.com>
5985
5986 From Jimmy Guo <guo@cup.hp.com> and others at HP:
5987 * lib/gdb.exp: Remove some gratuitious semicolons.
5988 (delete_breakpoints): Increase timeout.
5989 (gdb_expect): Add -notransfer option.
5990 (gdb_test): Use -notransfer option.
5991 (get_compiler_info): Add f77 case.
5992 (get_compiler): New proc, split out from gdb_preprocess, add f77
5993 case.
5994 (gdb_preprocess): Call get_compiler.
5995
5996 * gdb.base/Makefile.in (EXECUTABLES): Update the list.
5997 * gdb.base/attach.exp, gdb.base/display.exp,
5998 gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
5999 gdb.base/long_long.exp, gdb.base/printcmds.exp,
6000 gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
6001 third arg to gdb_test.
6002 * gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
6003 * gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
6004 HP-UX xfails, add others.
6005 * gdb.base/completion.exp: Reflect name change of self-test.
6006 * gdb.base/condbreak.exp, gdb.base/corefile.exp,
6007 gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
6008 gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
6009 HP failure number.
6010 * gdb.base/foll-vfork.exp: Loosen matches slightly, remove
6011 useless HP-UX 10.30 references.
6012 * gdb.base/maint.exp: Loosen matches.
6013 * gdb.base/pointers.c (main): Declare more_code.
6014 * gdb.base/pointers.exp: Match on output of a `next'.
6015 * gdb.base/structs.c: Add prototypes.
6016 * gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
6017 * gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
6018
60191999-07-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
6020
6021 * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
6022 command.
6023
60241999-07-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
6025
6026 * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
6027 Fix run to main failures. Watchpoint can be hardware watchpoint.
d63a86f8
RM
6028
6029 * gdb.base/annota1.exp: Clean up some more, in case printf has
a0b3c4fd
JM
6030 debug info. Deal with lack of signal hanlder info in stack.
6031
6032 From Jim Kingdon <kingdon@redhat.com>:
6033 * gdb.base/annota1.exp: If printf has debug info, deal with it.
6034
5a2468f5
JM
60351999-07-19 Stan Shebs <shebs@andros.cygnus.com>
6036
6037 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
6038 gdb.base/foll-vfork.exp: Don't run for crosses.
6039
adf40b2e
JM
6040Tue Jul 13 23:37:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
6041
6042 * gdb.base/configure.in: Check for gdbvars.exp instead of
6043 a1-selftest.exp.
6044 * gdb.base/configure: Re-generate.
6045
60461999-07-12 Stan Shebs <shebs@andros.cygnus.com>
6047
6048 * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
6049 in trying to run first and name is too long.
6050
6051 * gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
6052 pointers2.c and pointers2.exp, respectively.
6053 * gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
6054 doschk happier.
6055
43e526b9
JM
60561999-07-08 Stan Shebs <shebs@andros.cygnus.com>
6057
6058 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
6059 callfuncs2.c and callfuncs2.exp.
6060
6061 * gdb.base/list.exp: Remove mistaken xfails.
6062 * gdb.base/list0.h: Add optional prototypes.
6063
9846de1b
JM
6064Wed Jul 7 00:27:35 1999 Andrew Cagney <cagney@amy.cygnus.com>
6065
6066 * gdb.base/setvar.exp: Increase the time-out on tests indirectly
6067 calling malloc.
6068 * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
6069 * ptype.exp: Move test for get_debug_format to before its first
6070 use.
6071
60721999-07-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
6073
6074 * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
6075 * gdb.base/annota2.cc, annota2.exp: Move from here.
6076 * gdb.c++/annota2.cc, annota2.exp: To here.
6077 * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
6078
43ff13b4
JM
6079Tue Jun 29 11:56:06 1999 Andrew Cagney <cagney@b1.cygnus.com>
6080
6081 * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
6082 a consistent format.
6083
085dd6e6
JM
60841999-06-25 Stan Shebs <shebs@andros.cygnus.com>
6085
6086 From Jimmy Guo <guo@cup.hp.com> and others at HP:
6087 * lib/gdb.exp (get_compiler_info): Add detection for assorted
6088 HP compilers, also set the globals $true and $false.
6089
6090 * gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
6091 call-rt-st.c, call-strs.c, callfuncs.c, callfuncs2.c, condbreak.c,
6092 coremaker.c, ending-run.c, exprs.c, funcargs.c, interrupt.c,
6093 jump.c, langs0.c, langs1.c, langs2.c, list0.c, list1.c,
6094 long_long.c, mips_pro.c, nodebug.c, opaque0.c, opaque1.c,
6095 printcmds.c, ptype.c, recurse.c, restore.c, return.c, run.c,
6096 scope0.c, scope1.c, setshow.c, setvar.c, shmain.c, shr1.c, shr2.c,
6097 sigall.c, signals.c, so-impl-ld.c, so-indr-cl.c, solib.c,
6098 solib1.c, solib2.c, step-test.c, twice.c, varargs.c, watchpoint.c,
6099 whatis.c} Add C++ compatible function definitions and return
6100 types, add includes for library functions.
6101 * gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
6102 * gdb.base/step-test.c (myglob): Rename from glob.
6103 * gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
6104 foll-exec.c, foll-fork.c, foll-vfork.c, sum.c, vforked-prog.c: New
6105 files, move here from gdb.hp.
6106 * gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
6107 commands.exp, condbreak.exp, define.exp, ena-dis-br.exp,
6108 ending-run.exp, jump.exp. list.exp, long_long.exp, so-impl-ld.exp:
6109 Adjust line numbers in regexps.
6110
6111 * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
6112 miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
6113 instead of 0/1.
6114
6115 * gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
6116 foll-vfork.exp: New files, move here from gdb.hp.
6117 * gdb.base/page.exp: New file, test of pagination command.
6118
6119 * gdb.base/watchpoint.c (recurser): New function, for watchpoint
6120 recursion test.
6121 * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
6122
6123 * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
6124 gdb.base/solib.exp: Fix compiler invocation process.
6125
6126 * gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
6127 HP-UX 11, turn off overload resolution explicitly.
6128 * gdb.base/commands.exp: Set argument list explicitly, add
6129 watchpoint test.
6130 * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
6131 them work.
6132 * gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
6133 expressions properly.
6134 * gdb.base/corefile.exp: Loosen the match slightly.
6135 * gdb.base/default.exp: Allow "Error accessing memory" message
6136 also.
6137 * gdb.base/display.exp: Skip over x/0 j if PA64.
6138 * gdb.base/funcargs.exp: Add xfails for HP-UX.
6139 * gdb.base/interrupt.exp: Ditto.
6140 * gdb.base/langs.exp: Add symbolic matches governed by compiler
6141 in use.
6142 * gdb.base/list.exp: Add xfails for HP-UX.
6143 * gdb.base/long_long.exp: Refine some of the numeric matches.
6144 * gdb.base/mips_pro.exp: Xfail on HP-UX.
6145 * gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
6146 * gdb.base/nodebug.exp: Succeed on more varieties of output.
6147 * gdb.base/opaque.exp: Remove some HP-UX xfails.
6148 * gdb.base/ptype.exp: Succeed on more varieties of output.
6149 * gdb.base/scope.exp: Add xfails for HP-UX.
6150 * gdb.base/sect-cmd.exp: Add more cases.
6151 * gdb.base/setvar.exp: Add xfails for HP-UX.
6152 * gdb.base/shlib-call.exp: Loosen some matches slightly.
6153 * gdb.base/signals.exp: Match on void symbolically.
6154 * gdb.base/step-test.exp: Add case for PA64.
6155 * gdb.base/term.exp: Add exit and restart.
6156 * gdb.base/twice.exp: Clean up after self.
6157 * gdb.base/varargs.exp: Disable overload resolution explicitly.
6158 * gdb.base/whatis.exp: Allow more ways to pass tests.
6159
6160 * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
6161 no longer useful.
6162
6163Fri Jun 25 19:27:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
6164
6165 * lib/gdb.exp (proc gdb_expect_list): New procedure. Matches a
6166 list of patterns.
6167 * gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
6168 print_double_array(double_array)", "continuing to breakpoint
6169 1018", "print print_double_array(array_d)" and "continuing to
6170 1034" tests.
d63a86f8 6171
085dd6e6
JM
61721999-06-24 Jason Molenda (jsm@bugshack.cygnus.com)
6173
6174 * Makefile.in: Add empty html and install-html targets.
6175
61761999-06-24 Stan Shebs <shebs@andros.cygnus.com>
6177
6178 * config/mt-*: Remove, these haven't been used since 1996.
6179
61801999-06-22 Stan Shebs <shebs@andros.cygnus.com>
6181
6182 * gdb.base/call-strs.c, gdb.base/ending-run.c,
6183 gdb.base/step-test.c: Include stdlib.h and string.h as needed.
6184 * gdb.c++/member-ptr.exp: Skip over these tests if using G++.
6185
9e0b60a8
JM
61861999-06-18 Stan Shebs <shebs@andros.cygnus.com>
6187
6188 * gdb.c++/overload.exp: XFAIL everything if using G++, add a
6189 simpler match case for the ptype of the big class.
6190
61911999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
6192
6193 * gdb.exp: Fix test for gdb_prompt existence.
6194
61951999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
6196
6197 * gdb.exp (gdb_test): Add fail after calls to perror.
6198
61991999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
6200
6201 * gdb.exp (gdb_test): Accept variations of Undefined command messages.
6202
62031999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
6204
6205 * gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
6206
0f71a2f6
JM
6207Fri Jun 11 12:56:50 1999 Andrew Cagney <cagney@b1.cygnus.com>
6208
6209 * gdb.base/call-strs.c (link_malloc): New function. Ensure that
6210 malloc() is linked in.
6211
62121999-06-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
6213
6214 * gdb.base/ending-run.exp: Make sure we fail and do not timeout at
6215 step at end.
6216
6217 * gdb.base/annota1.exp: Increase match_max to prevent timeout.
6218
62191999-06-08 Jim Blandy <jimb@zwingli.cygnus.com>
6220
6221 * gdb.java/jv-print.exp: New file. (Our first Java test!)
6222
cce74817
JM
6223Fri Jun 4 10:47:46 1999 Jeffrey A Law (law@cygnus.com)
6224
6225 * gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
6226 * gdb.base/mips_pro.exp: Likewise.
6227
62281999-06-02 Keith Seitz <keiths@cygnus.com>
6229
6230 * gdb.c++/templates.cc: Change all "new" operators to throw
6231 an exception.
6232 * gdb.c++/cplusfuncs.cc: Likewise.
6233
6234 * gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
6235
6236Wed Jun 2 17:37:05 1999 Andrew Cagney <cagney@b1.cygnus.com>
6237
6238 * gdb.base/condbreak.exp: Use rerun_to_main to start the program.
6239 * gdb.base/ending-run.exp: When stepping out of main, accept a
6240 step into an arbitrary assembler file.
6241
392a587b
JM
62421999-05-20 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
6243
d63a86f8 6244 * gdb.base/annota1.exp: Allow any number of "frames-invalid" and
392a587b 6245 "breakpoint-invalid" to be printed.
d63a86f8 6246 * gdb.base/annota2.exp: Revise line number for main breakpoint. Allow any
392a587b
JM
6247 number of "frames-invalid" and "breakpoint-invalid" to be printed.
6248 * gdb.base/annota2.cc: Initialize a.x to 0.
6249
9e086581
JM
62501999-05-17 Keith Seitz <keiths@cygnus.com>
6251
6252 * gdb.base/call-ar-st.exp: Skip "print print_double_array (double_array)"
6253 when "skip_float_tests" set.
6254 Ditto for "print print_double_array(array_d)", "print print_small_structs",
6255 "print print_ten_doubles", and "step into print_long_arg_list".
6256 Don't assume we can step into "print_long_arg_list": we could step into memcpy.
6257 * gdb.base/call-rt-st.exp: Don't run float-related tests when "skip_float_tests"
6258 is set: "print print_one_double(*d1)" and "print print_two_floats(*f3)".
6259 * gdb.base/funcargs.exp: Don't run "float_and_integral_args" when
6260 "skip_float_tests" is set.
6261 * gdb.base/varargs.exp: Skip "print find_max_double(5,1.0,17.0,2.0,3.0,4.0)"
6262 when "skip_float_tests" set.
d63a86f8 6263
cd0fc7c3
SS
62641999-05-06 Keith Seitz <keiths@cygnus.com>
6265
6266 * gdb.base/annota2.cc: Include stdio.h.
6267
6268Wed May 5 17:44:31 1999 Stan Shebs <shebs@andros.cygnus.com>
6269
6270 * gdb.base/crossload.exp: Remove, this has been disabled ever
6271 since BFD stopped including all targets, and cross-GDB gets
6272 plenty of testing anyway.
6273 * gdb.base/i486-elf.u, gdb.base/m68k-aout.u, gdb.base/m68k-elf.u,
6274 gdb.base/sparc-aout.u, gdb.base/i860-elf.u, gdb.base/m68k-aout2.u,
6275 gdb.base/mips-ecoff.u, gdb.base/sparc-elf.u: Remove.
6276 * gdb.base/README: Remove, was doc for this.
6277 * gdb.base/Makefile.in (CROSS_EXECUTABLES): Remove, no longer
6278 needed.
6279
b83266a0
SS
62801999-05-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
6281
6282 * gdb.base/call-ar-st.exp: Fix one regular expression in test
6283 output.
6284
6285 * gdb.base/annota1.exp: New file. Annotation level 2 tests.
6286 * gdb.base/annota2.exp: New file. More annotation tests.
6287 * gdb.base/annota1.c: New file. Source file for annota1.exp.
6288 * gdb.base/annota2.cc: New file. Source file for annota2.exp.
6289
62901999-04-23 Angela Marie Thomas <angela@cygnus.com>
6291
6292 * config/cfdbug.exp: New file.
6293
7a292a7a
SS
62941999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
6295
6296 * gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
6297 Marcus Daniel's and Dale Hawkins's demangler crashes.
6298
6299 * gdb.c++/demangle.exp (test_gnu_style_demangling,
6300 test_lucid_style_demangling, test_arm_style_demangling,
6301 test_hp_style_demangling): Try Tom Tromey's core-dumping
6302 identifier under each demangling style.
6303
63041999-04-07 Jim Blandy <jimb@zwingli.cygnus.com>
6305
6306 * gdb.c++/demangle.exp: Include the current demangling style
6307 in all test names.
6308 (current_demangling_style): New global variable.
6309 (set_demangling_style, test_demangling_core, test_demangling,
6310 test_demangling_exact): New functions.
6311 (test_gnu_style_demangling, test_lucid_style_demangling,
6312 test_arm_style_demangling, test_hp_style_demangling): Use those,
6313 instead of calling gdb_test and gdb_test_exact directly.
6314 (catch_demangling_errors): New function, which reports errors
6315 signalled by the demangling test functions in an orderly way.
6316 (do_tests): Use catch_demangling_errors.
6317
63181999-04-06 Jim Blandy <jimb@zwingli.cygnus.com>
6319
6320 * gdb.base/signals.exp (test_handle_all_print): Use () for
6321 grouping in expressions, not {}.
6322
6323 * gdb.base/smoke.exp: Test value of x, not y. The latter isn't
6324 initialized yet.
6325
63261999-04-01 Stan Shebs <shebs@andros.cygnus.com>
6327
6328 * gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
6329 are listed.
6330
63311999-03-26 Stan Shebs <shebs@andros.cygnus.com>
6332
6333 * gdb.stabs/weird.exp: Test for CC being defined before
6334 looking at its value.
6335
63361999-03-25 Stan Shebs <shebs@andros.cygnus.com>
6337
6338 * gdb.base/call-ar-st.exp: Remove stray '#'.
6339 * gdb.base/miscexprs.exp: Allow "short" and "long" as well as
6340 "short int" and "long int".
6341 * gdb.c++/overload.cc: Cast the string added in the previous
6342 change, to mollify finicky HP compiler.
6343 * gdb.hp/reg-test.exp (testfile): Fix file name.
6344 * gdb.stabs/weird.exp: Don't try to run if HP compiler in use.
d63a86f8 6345
7a292a7a
SS
6346 * gdb.c++/misc.cc (main): Initialize obj_with_enum.
6347 * gdb.c++/classes.exp: Fix test of obj_with_enum values, allow
6348 alternate form of enum ptype.
6349
c906108c
SS
63501999-03-23 Stan Shebs <shebs@andros.cygnus.com>
6351
7a292a7a
SS
6352 * lib/gdb.exp (skip_hp_tests): Remove gcc_used argument.
6353 * gdb.hp/*.exp: Change all to run compiler probe only after
6354 passing skip_hp_tests, so as not to waste time on guaranteed
6355 failure.
6356
c906108c
SS
6357 * gdb.c++/overload.cc: Pass string instead of char addr, always
6358 init ccpfoo.
6359 * gdb.c++/templates.cc: Fix syntax error.
6360
7a292a7a
SS
6361Tue Mar 23 14:56:36 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
6362
6363 * gdb.base/commands.exp: Add test for correct position of '>'
d63a86f8 6364 when issuing the 'commands' command after a 'while' or 'if'
7a292a7a
SS
6365 command.
6366
63671999-03-18 James Ingham <jingham@cygnus.com>
6368
6369 * gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
6370
6371 * gdb.c++/method.exp: It was testing an uninitialized int on the
6372 stack and assuming it was positive.
6373
6374 * gdb.base/watchpoint.exp: Use gdb_continue_to_end.
6375
6376 * gdb.base/step-test.exp: Catch a case where finish is broken and
d63a86f8 6377 keep it from killing the rest of the tests.
7a292a7a
SS
6378 Use gdb_continue_to_end.
6379
6380 * gdb.base/sigall.exp: use gdb_continue_to_end.
6381
6382 * gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
6383
6384 * gdb.base/display.exp: use runto_main, not run.
6385
d63a86f8
RM
6386 * gdb.base/default.exp: Check for the current error message in the
6387 r abbreviation test.
7a292a7a
SS
6388 Add strongarm to the targets that know info float.
6389
d63a86f8 6390 * gdb.base/condbreak.exp: Use the gdb_run command rather than just
7a292a7a
SS
6391 run which doesn't work with monitors.
6392
6393 * gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to 1034 test.
6394
6395 * gdb.base/break.exp: use the gdb_continue_to_end proc.
6396
6397 * lib/gdb.exp: I had added gdb_continue_to_end used to run to the end of a
d63a86f8
RM
6398 program. Traps the case (in Cygmon) when the program never really
6399 exits. Same as Mark's continue_to_exit, but I had put it in a lot
7a292a7a
SS
6400 more places, so I used my name. Sorry Mark...
6401
6402 * config/monitor.exp (gdb_target_monitor): added another
6403 target_info parameter: remotebinarydownload. This will set the
6404 remotebinarydownload flag if this is causing some boards trouble.
6405
64061999-03-18 Mark Salter <msalter@cygnus.com>
6407
6408 * lib/gdb.exp (continue_to_exit): New function.
6409
6410 * gdb.base/ena-dis-br.exp: Clean up for remote targets.
6411 * gdb.base/ending-run.exp: Ditto.
6412 * gdb.base/step-test.exp: Ditto.
6413
64141999-03-16 Stan Shebs <shebs@andros.cygnus.com>
6415
6416 * gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
6417 (suggested by Art Haas <ahaas@neosoft.com>).
6418
64191999-03-16 Jim Blandy <jimb@zwingli.cygnus.com>
6420
6421 * gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
6422
6423Fri Mar 12 18:06:21 1999 Stan Shebs <shebs@andros.cygnus.com>
6424
6425 * gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
6426 descriptions of types (short unsigned int vs unsigned short, etc).
6427
64281999-03-12 Jim Blandy <jimb@zwingli.cygnus.com>
6429
6430 * gdb.base/call-strs.exp: Don't assume that `step' will step over
6431 a call to strlen; sometimes we do have sources.
6432
64331999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
c906108c
SS
6434
6435 * gdb.base/call-ar-st.c (main): Terminate char_array with a null
6436 character, so GDB won't print garbage after its end.
d63a86f8 6437
c906108c
SS
6438 * gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
6439 breakpoint there instead. Sometimes GCC emits memcpy to handle
6440 the large structures being passed by value, so we step into that
6441 instead of sum_array_print, which obscures what we're really testing.
6442 * gdb.base/step-test.exp: However, we do want a test that notices
6443 the bizarre steps into memcpy, so do that here. Add check for
6444 stepping into function calls that pass large structures by value.
6445 ("Is that a noun clause, or are you just happy to see me?")
6446 Remove all references to specific line numbers.
6447 * gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
6448 New type and function.
6449 (main): Call large_struct_by_value, passing it a large struct by value.
6450 * lib/gdb.exp (gdb_get_line_number): New function.
6451
6452 * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
6453 more portable.
6454
7a292a7a
SS
64551999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
6456
c906108c
SS
6457 * lib/gdb.exp: Doc fixes.
6458
7a292a7a
SS
64591999-03-05 Nick Clifton <nickc@cygnus.com>
6460
d63a86f8 6461 * gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
7a292a7a
SS
6462
64631999-03-04 Jim Blandy <jimb@zwingli.cygnus.com>
6464
c906108c
SS
6465 * gdb.base/display.exp: Don't exercise the "detach" and "kill"
6466 commands. They're not germane to this test, and they don't work
6467 that way on remote targets.
6468
3fc11d3e
JM
64691999-03-01 James Ingham <jingham@cygnus.com>
6470
6471 * Changelog entries merged over from gdb development branch.
6472
3fc11d3e
JM
6473 Tue Jan 5 12:33:47 1999 Keith Seitz <keiths@cygnus.com>
6474
6475 * lib/gdb.exp (gdbtk_analyze_results): Generic function
6476 for outputting results of test run.
6477
2d4a1622 6478 1998-12-07 Martin M. Hunt <hunt@cygnus.com>
3fc11d3e
JM
6479
6480 * lib/gdb.exp (gdbtk_start): Fix path for itcl library.
3fc11d3e 6481
7a292a7a
SS
64821999-02-25 Felix Lee <flee@cygnus.com>
6483
6484 * lib/gdb.exp (debug_format): initialize
6485
c906108c
SS
64861999-02-25 Jason Molenda (jsm@bugshack.cygnus.com)
6487
6488 * gdb.base/call-ar-st.c: Include string.h, not strings.h.
6489 * gdb.base/call-rt-st.c: Ditto.
6490
c906108c
SS
64911999-02-13 Jim Blandy <jimb@zwingli.cygnus.com>
6492
6493 * gdb.threads/pthreads.exp (horiz): New variable.
6494 (test_startup): Fix regexps that capture thread numbers.
6495
64961999-02-10 Jason Molenda (jsm@bugshack.cygnus.com)
6497
6498 * gdb.base/smoke.exp: Disambiguate two test case names (both
6499 called ``print'').
6500
6501Fri Feb 5 12:42:56 1999 Stan Shebs <shebs@andros.cygnus.com>
6502
6503 * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
6504 compilation.
6505
65061999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
6507
6508 * gdb.base/miscexprs.exp: Change patterns to match GDB's
6509 actual output formatting.
6510 * gdb.base/smoke.exp: GDB removes leading 0's.
6511 * gdb.base/volatile.exp: Don't check type of remuneration;
6512 that variable is no longer defined in constvars.c.
6513 * gdb.base/step-test.c (main): Exit with explicit exit code.
6514 * gdb.base/step-test.exp: Remove two nexti checks--they are
6515 not portable.
6516
65171999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
6518
6519 * gdb.base/help.exp ("help delete display"): Fix test to match
6520 gdb's output.
6521
6522 * gdb.base/long_long.c (known_types): Initialize values to zero.
6523 * gdb.base/long_long.exp: Step one more line
6524 so 'dec' is initialized in "get to known place". GDB removes
d63a86f8 6525 leading zeros. Explicitly ask for hex formatting. Use
c906108c
SS
6526 unique test case names.
6527
6528Tue Feb 2 10:16:08 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
6529
d63a86f8 6530 * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
c906108c
SS
6531
6532 * gdb.c++/method.exp: Add missing close brace.
6533
65341999-01-30 Jim Blandy <jimb@zwingli.cygnus.com>
6535
6536 * gdb.base/maint.exp: Use 'set height 0' to disable page
6537 prompting, not 'set height 400'.
6538
6539 Fix a bunch of timeouts.
6540 * gdb.base/maint.exp ("maint print objfiles"): Break this up into
6541 four separate tests, so expect doesn't take forever to match a ton
6542 of text against a regexp with lots of .* forms.
6543 ("maint print psymbols", "maint print symbols"): Make some of
6544 these greps more selective, so that expect doesn't try to wade
6545 through huge piles of output and time out.
6546
6547 * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
6548
6549 * gdb.base/maint.exp ("maint info breakpoints"): Split into two
6550 tests: one which doesn't expect shlib events to be reported, and
6551 another which does, but is XFAIL for all platforms other than
6552 HP/UX.
6553
6554 * gdb.base/break.exp: Teach the test suite that the `catch
6555 fork', `catch vfork', and `catch exec' commands produce error
6556 messages on platforms that don't provide these features.
6557
6558Mon Jan 25 18:35:56 1999 Stan Shebs <shebs@andros.cygnus.com>
6559
6560 * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
6561 so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
6562 (shortening names from solib_threshold.exp etc), won't run on
6563 anything but HP-UX for the foreseeable future.
6564 * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
6565 reflect move.
6566
6567Thu Jan 21 15:46:49 1999 Stan Shebs <shebs@andros.cygnus.com>
6568
6569 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
6570 gdb.trace/Makefile.in (clean): Remove all test executables.
6571
6572Tue Jan 19 17:20:09 1999 David Taylor <taylor@texas.cygnus.com>
6573
6574 * gdb.base/shlib-call.exp: add test cases to verify that gdb
6575 successfully re-sets breakpoints in shared libraries.
6576 * gdb.base/shmain.c (main): return 0, don't fall off the end.
6577
6578Fri Jan 15 14:04:57 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
6579
d63a86f8
RM
6580 * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
6581 and compiled w/o GCC.
c906108c
SS
6582
6583 * gdb.hp/watch-cmd.exp: ditto.
6584
6585 * gdb.hp/watch-hp.exp: ditto.
6586
6587 * gdb.hp/xdb1.exp: ditto.
6588
6589 * gdb.hp/xdb2.exp: ditto.
6590
6591 * gdb.hp/dbx.exp: ditto.
6592
6593Thu Jan 14 18:36:48 1999 Stan Shebs <shebs@andros.cygnus.com>
6594
6595 * constvars.c: Remove C++-isms.
6596 * constvars.exp: Use gdb_test everywhere, add xfails if compiled
6597 with GCC.
6598
6599Mon Jan 11 10:08:03 1999 David Taylor <taylor@texas.cygnus.com>
6600
6601 The following changes are part of the HP merge.
6602
6603 * gdb.base/break.exp: new tests to verify that catchpoints for
6604 fork, vfork, and exec don't trigger inappropriately.
6605
6606 * gdb.base/opaque.exp: compile one file at a time, then link.
6607
6608 * gdb.base/signals.exp: be more restrictive about which hppa
6609 systems receive a setup_xfail. new tests.
6610
6611 * gdb.base/solib_threshold.build: new file.
6612 * gdb.base/solib_threshold.exp: new file.
6613 * gdb.base/solib_threshold.link_opts: new file.
6614 * gdb.base/solib_threshold.mk: new file.
6615 * gdb.base/gen_solib_threshold.c: new file.
6616
6617 * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
6618 tests. New tests for enums inside classes.
6619
6620 * gdb.c++/compiler.cc: indicate support of template debugging.
6621
6622 * gdb.c++/demangle.exp: run hp style demangling tests.
6623
6624 * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
6625 tests.
6626
6627 * gdb.c++/misc.cc: changes to support new tests.
6628
6629 * gdb.c++/templates.cc: changes to support HP's compiler; changes
6630 to support new tests.
6631
6632 * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
6633 gcc, then skip these tests.
6634
6635Sun Jan 10 23:44:11 1999 David Taylor <taylor@texas.cygnus.com>
6636
6637 The following files are part of the HP merge; some had longer
6638 names at HP, but have been renamed to be no more than 14
6639 characters in length.
6640
6641 * gdb.hp/ambiguous.cc: new file.
6642 * gdb.hp/ambiguous.exp: new file.
6643 * gdb.hp/attach.exp: new file.
6644 * gdb.hp/attach2.exp: new file.
6645 * gdb.hp/classes-hp.exp: new file.
6646 * gdb.hp/ctti.exp: new file.
6647 * gdb.hp/ctti-add.cc: new file.
6648 * gdb.hp/ctti-add1.cc: new file.
6649 * gdb.hp/ctti-add2.cc: new file.
6650 * gdb.hp/ctti-add3.cc: new file.
6651 * gdb.hp/dbx.exp: new file.
6652 * gdb.hp/exception.cc: new file.
6653 * gdb.hp/exception.exp: new file.
6654 * gdb.hp/foll-exec.c: new file.
6655 * gdb.hp/foll-exec.exp: new file.
6656 * gdb.hp/foll-fork.c: new file.
6657 * gdb.hp/foll-fork.exp: new file.
6658 * gdb.hp/foll-vfork.c: new file.
6659 * gdb.hp/foll-vfork.exp: new file.
6660 * gdb.hp/inherit-hp.exp: new file.
6661 * gdb.hp/more-steps.exp: new file.
6662 * gdb.hp/namespace.cc: new file.
6663 * gdb.hp/namespace.exp: new file.
6664 * gdb.hp/optimize.exp: new file.
6665 * gdb.hp/pxdb.c: new file.
6666 * gdb.hp/pxdb.exp: new file.
6667 * gdb.hp/quicksort.exp: new file.
6668 * gdb.hp/reg-test.exp: new file.
6669 * gdb.hp/reg-test.s: new file.
6670 * gdb.hp/sized-enum.c: new file.
6671 * gdb.hp/sized-enum.exp: new file.
6672 * gdb.hp/start-stop.exp: new file.
6673 * gdb.hp/templ-hp.cc: new file.
6674 * gdb.hp/templ-hp.exp: new file.
6675 * gdb.hp/thr-lib.c: new file.
6676 * gdb.hp/thr-lib.exp: new file.
6677 * gdb.hp/thr-lib.h: new file.
6678 * gdb.hp/thr-liblib.c: new file.
6679 * gdb.hp/virtfun-hp.c: new file.
6680 * gdb.hp/virtfun-hp.exp: new file.
6681 * gdb.hp/watch-cmd.exp: new file.
6682 * gdb.hp/watch-hp.exp: new file.
6683 * gdb.hp/xdb1.exp: new file.
6684 * gdb.hp/xdb2.exp: new file.
6685 * gdb.hp/xdb3.exp: new file.
6686
6687Wed Jan 6 18:41:15 1999 David Taylor <taylor@texas.cygnus.com>
6688
6689 The following files are part of the HP merge; some had longer
6690 names at HP, but have been renamed to be no more than 14
6691 characters in length.
6692
6693 * gdb.base/ss.h: new file.
6694 * gdb.base/call-ar-st.c: new file.
6695 * gdb.base/call-ar-st.exp: new file.
6696 * gdb.base/call-rt-st.c: new file.
6697 * gdb.base/call-rt-st-exp: new file.
6698 * gdb.base/call-strs.exp: new file.
6699 * gdb.base/ena-dis-br.exp: new file.
6700 * gdb.base/environ.exp: new file.
6701 * gdb.base/long_long.exp: new file.
6702 * gdb.base/sect-cmd.exp: new file.
6703 * gdb.base/shlib-cl2.exp: new file.
6704 * gdb.base/smoke.exp: new file.
6705 * gdb.base/so-impl-ld.c: new file.
6706 * gdb.base/so-impl-ld.exp: new file.
6707 * gdb.base/so-indr-cl.c: new file.
6708 * gdb.base/so-indr-cl.exp: new file.
6709 * gdb.base/varargs.exp: new file.
6710 * gdb.base/volatile.exp: new file.
6711 * gdb.base/whatis-exp.exp: new file.
7a292a7a 6712 * gdb.base/display.exp: new file.
c906108c
SS
6713 * gdb.c++/derivation.exp: new file.
6714 * gdb.c++/local.exp: new file.
6715 * gdb.c++/member-ptr.exp: new file.
6716 * gdb.c++/overload.exp: new file.
6717 * gdb.c++/ovldbreak.exp: new file.
6718 * gdb.c++/ref-types.exp: new file.
6719 * gdb.c++/ref-types2.exp: new file.
6720 * gdb.c++/userdef.exp: new file.
d63a86f8 6721
c906108c
SS
6722Wed Jan 6 13:50:57 1999 Stan Shebs <shebs@andros.cygnus.com>
6723
6724 * gdb.base/default.exp: Reflect wording change in remote.c.
6725
dc96c6c7 6726Tue Jan 5 19:14:51 1999 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6727
6728 * gdb.base/help.exp: Update to reflect current text.
6729
6730Tue Jan 5 13:05:32 1999 David Taylor <taylor@texas.cygnus.com>
6731
6732 * gdb.c++/anon-union.cc: make foo and bar global, otherwise
6733 they're stack variables and contain garbage.
6734 * gdb.c++/anon-union.exp: new file.
6735
6736 The following changes were made by David Taylor
6737 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
6738 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
6739 in changes by HP.
6740
6741 * gdb.base/bitops.exp: new file.
6742 * gdb.base/default.exp: change expected messages for catch and
6743 info catch tests to reflect HP merge changes.
6744 * gdb.base/enable-disable-break.exp
6745 * gdb.base/ending-run.c: new file.
6746 * gdb.base/long_long.c: new file.
6747 * gdb.base/maint.exp: new file.
6748 * gdb.base/pointers2.exp: new file.
6749 * gdb.base/shlib-call2.exp: new file.
6750 * gdb.base/solib.exp: new file.
6751 * gdb.base/step-test.c: new file.
6752 * gdb.c++/anon-union.cc: new file.
6753 * gdb.c++/local.cc: new file.
6754 * gdb.c++/member-pointer.cc: new file.
6755 * gdb.c++/method.cc: new file.
6756 * gdb.c++/ref-types.cc: new file.
6757 * gdb.c++/ref-types2.cc: new file.
6758 * gdb.c++/userdef.cc: new file.
d63a86f8 6759
c906108c
SS
6760 * gdb.base/scope.exp: compile one file at a time, then link.
6761 * gdb.base/langs.exp: ditto.
6762 * gdb.base/list.exp: ditto.
d63a86f8 6763
c906108c
SS
6764Mon Jan 4 10:06:43 1999 David Taylor <taylor@texas.cygnus.com>
6765
6766 The following changes were made by David Taylor
6767 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
6768 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
6769 in changes by HP.
d63a86f8 6770
c906108c
SS
6771 * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
6772 skip tests. When compiling pass c++ flag to gdb_compile.
6773 * gdb.c++/
d63a86f8 6774
c906108c
SS
6775 * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
6776 test for on hppa*-*-hpux*; use args to see if c++ was specified.
6777 (skip_hp_tests): new function.
6778 (gdb_preprocess): new function.
6779
6780 * configure.in (hpdir): decide whether to configure gdb.hp.
6781 * configure: regenerated.
6782
6783 * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
6784 to delete on clean.
6785 (EXECUTABLES): update to reflect new additions.
6786 * gdb.base/commands.exp: update message expected.
6787 * gdb.base/default.exp: add copyright notice.
6788 * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
6789 * gdb.base/help.exp: update messages to reflect current text.
6790 * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
6791 targets for recurse tests.
6792 * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
6793 skip this file.
6794
6795 * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
6796 * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
6797 compilation.
6798 * gdb.c++/misc.exp: ditto.
6799 * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
6800 run the tests. tell gdb_compile that it's a c++ compilation.
6801
6802 * gdb.threads/pthreads.exp: fix typo in message.
d63a86f8 6803
c906108c
SS
6804 * gdb.base/all-bin.exp: new file.
6805 * gdb.base/arithmet.exp: new file.
6806 * gdb.base/assign.exp: new file.
6807 * gdb.base/completion.exp: new file.
6808 * gdb.base/cond-expr.exp: new file.
6809 * gdb.base/condbreak.exp: new file.
6810 * gdb.base/define.exp: new file.
6811 * gdb.base/dollar.exp: new file.
6812 * gdb.base/environment.exp: new file.
6813 * gdb.base/eval-skip.exp: new file.
6814 * gdb.base/jump.exp: new file.
6815 * gdb.base/logical.exp: new file.
6816 * gdb.base/pointers.exp: new file.
6817 * gdb.base/relational.exp: new file.
6818 * gdb.base/section_command.exp: new file.
6819 * gdb.base/whatis-expr.exp: new file.
6820
6821 * gdb.base/all-types.c: new file.
6822 * gdb.base/call-array-struct.c: new file.
6823 * gdb.base/call-return-struct.c: new file.
6824 * gdb.base/call-strings.c: new file.
6825 * gdb.base/callfuncs2.c: new file.
6826 * gdb.base/condbreak.c: new file.
6827 * gdb.base/constvars.c: new file.
6828 * gdb.base/display.c: new file.
6829 * gdb.base/int-type.c: new file.
6830 * gdb.base/jump.c: new file.
6831 * gdb.base/miscexprs.c: new file.
6832 * gdb.base/pointers.c: new file.
6833 * gdb.base/pointers2.c: new file.
6834 * gdb.base/shmain.c: new file.
6835 * gdb.base/shr1.c: new file.
6836 * gdb.base/shr2.c: new file.
6837 * gdb.base/solib.c: new file.
6838 * gdb.base/solib1.c: new file.
6839 * gdb.base/solib2.c: new file.
6840 * gdb.base/varargs.c: new file.
6841 * gdb.c++/derivation.cc: new file.
6842 * gdb.c++/overload.cc: new file.
6843 * gdb.c++/ovldbreak.cc: new file.
6844 * gdb.hp/attach.c: new file.
6845 * gdb.hp/attach2.c: new file.
6846 * gdb.hp/average.c: new file.
6847 * gdb.hp/compiler.c: new file.
6848 * gdb.hp/compiler.cc: new file.
6849 * gdb.hp/execd-program.c: new file.
6850 * gdb.hp/follow-exec.c: new file.
6851 * gdb.hp/follow-fork.c: new file.
6852 * gdb.hp/follow-vfork-and-exec.c: new file.
6853 * gdb.hp/misc-hp.cc: new file.
6854 * gdb.hp/more-steps.c: new file.
6855 * gdb.hp/optimize.c: new file.
6856 * gdb.hp/quicksort.c: new file.
6857 * gdb.hp/run-hp.c: new file.
6858 * gdb.hp/start-stop.c: new file.
6859 * gdb.hp/sum.c: new file.
6860 * gdb.hp/templates-hp.cc: new file.
6861 * gdb.hp/thread-local-in-lib.c: new file.
6862 * gdb.hp/thread-local-in-lib.h: new file.
6863 * gdb.hp/thread-local-in-lib.lib.c: new file.
6864 * gdb.hp/vforked-program.c: new file.
6865 * gdb.hp/virtfunc-hp.cc: new file.
6866 * gdb.hp/watchpoint-hp.c: new file.
6867 * gdb.hp/xdb.c: new file.
6868 * gdb.hp/xdb0.c: new file.
6869 * gdb.hp/xdb0.h: new file.
6870 * gdb.hp/xdb1.c: new file.
6871
6872Mon Dec 21 14:08:38 1998 David Taylor <taylor@texas.cygnus.com>
6873
6874 The following change was made by Edith Epstein
6875 <eepstein@cygnus.com> as part of a project to merge in changes
6876 originally made by HP; HP did not create ChangeLog entries.
6877
6878 * gdb.c++/demangle.exp: changed the expected output for some
6879 ARM-style mangling -- removed second reference to datatype.
6880 For example, maint demangle __dt__11T1__pt__2_cFv
6881 T1<char>::~T1<char>(void)
6882 becomes,
6883 maint demangle __dt__11T1__pt__2_cFv
6884 T1<char>::~T1(void)
6885
6886 (test_hp_style_demangling): new hp specific demangling test cases.
d63a86f8 6887
c906108c
SS
6888Mon Dec 14 15:07:03 1998 Jeffrey A Law (law@cygnus.com)
6889
6890 * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
6891 * gdb.trace/backtrace.exp: Likewise.
6892 * gdb.trace/circ.exp: Likewise.
6893 * gdb.trace/collection.exp: Likewise.
6894 * gdb.trace/deltrace.exp: Likewise.
6895 * gdb.trace/infotrace.exp: Likewise.
6896 * gdb.trace/limits.exp: Likewise.
6897 * gdb.trace/packetlen.exp: Likewise.
6898 * gdb.trace/passc-dyn.exp: Likewise.
6899 * gdb.trace/passcount.exp: Likewise.
6900 * gdb.trace/report.exp: Likewise.
6901 * gdb.trace/save-trace.exp: Likewise.
6902 * gdb.trace/tfind.exp: Likewise.
6903 * gdb.trace/tracecmd.exp: Likewise.
6904 * gdb.trace/while-dyn.exp: Likewise.
6905 * gdb.trace/while-stepping.exp: Likewise.
6906
69071998-12-07 Jim Blandy <jimb@zwingli.cygnus.com>
6908
6909 * gdb.base/restore.exp, gdb.base/restore.c: New tests.
6910
6911Wed Dec 2 20:03:53 1998 Stan Shebs <shebs@andros.cygnus.com>
6912
6913 From Brendan Kehoe:
6914 * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
6915 int return types.
6916
6917Sat Oct 24 18:04:22 1998 Felix Lee <flee@cygnus.com>
6918
6919 * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
6920 remote dos host testing right.
6921
6922Mon Oct 19 01:31:59 1998 Felix Lee <flee@cygnus.com>
6923
6924 * gdb.base/corefile.exp: remove some xfails.
6925
6926Thu Oct 15 10:04:38 1998 Andrew Cagney <cagney@b1.cygnus.com>
6927
6928 * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
6929 have different timestamps.
6930
6931Thu Oct 1 20:56:14 1998 Andrew Cagney <cagney@b1.cygnus.com>
6932
6933 * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
6934 gdb.base/default.exp: Replace "exec" with "executable".
6935
6936Tue Sep 29 15:06:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
6937
6938 * gdb.base/default.exp: Change else if to elseif from previous
6939 delta.
6940
6941Mon Sep 28 13:21:43 1998 Nick Clifton <nickc@cygnus.com>
6942
6943 * gdb.base/default.exp: Add brace missing from previous delta.
6944
6945Mon Sep 21 14:39:27 1998 Nick Clifton <nickc@cygnus.com>
6946
6947 * gdb.base/default.exp: Support test for info float for all
6948 varieties of arm toolchain.
6949
dc96c6c7 6950Fri Sep 18 14:07:44 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6951
6952 * gdb.trace/*.exp: remove "remote_download" command.
6953
dc96c6c7 6954Wed Sep 16 11:38:21 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6955
6956 * gdb.trace/*.exp: remove -gdwarf from compile.
6957
6958Wed Sep 16 01:23:11 1998 Felix Lee <flee@cygnus.com>
6959
6960 * gdb.trace/configure.in(AC_INIT): typo
6961 * gdb.trace/configure: regenerated
6962
dc96c6c7 6963Mon Sep 14 20:00:04 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6964
6965 * config/m68k-emc.exp: New file.
6966 * lib/<emc-support.exp trace-support.exp}: New files.
6967 * configure.in: add new test directory gdb.trace.
6968 * gdb.trace/{configure configure.in Makefile.in}: New files.
6969 * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
6970 * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
6971 * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
6972 * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
6973 * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
6974 * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
6975 * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
d63a86f8 6976
dc96c6c7 6977Fri Sep 11 13:58:02 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6978
6979 * gdb.c++/classes.exp: Change all regular expressions to match
6980 arbitrary combinations of newline/carriage-return, so that they
6981 will work equally well on Unix and Windows.
6982 * gdb.c++/inherit.exp: ditto.
6983 * gdb.c++/virtfunc.exp: ditto.
6984
69851998-08-11 Dawn Perchik <dawn@cygnus.com>
6986
6987 * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
6988
c2d11a7d
JM
6989Fri Jul 24 15:51:34 1998 Jeffrey A Law (law@cygnus.com)
6990
6991 * gdb.disasm/am33.s: Add tests for autoincrement instructions.
6992 * gdb.disasm/am33.exp: Run time. Update tests which use r8-r15
6993 to use a0-a3/d0-d3 as needed.
6994
6995Thu Jul 16 18:20:46 1998 Jeffrey A Law (law@cygnus.com)
6996
6997 * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
6998 * gdb.disasm/am33.exp: Corresponding changes.
6999
c906108c
SS
70001998-07-11 Felix Lee <flee@cygnus.com>
7001
7002 * gdb.base/callfuncs.exp: add cmp10 test.
7003 * gdb.base/callfuncs.c (cmp10): new function.
7004
7005Thurs Jul 9 11:08:31 1998 Dawn Perchik <dawn@cygnus.com>
7006
d63a86f8 7007 * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
c906108c
SS
7008 into two parts to get around a synchronization problem in expect.
7009
3fc11d3e
JM
7010Fri Jun 26 14:27:13 1998 Keith Seitz <keiths@cygnus.com>
7011
7012 * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
7013
7014 * configure.in: Add options for gdbtk testsuite.
7015
7016 * configure: Regenerate.
7017
7018 * gdb.gdbtk: New directory to hold gdbtk tests.
7019
c906108c
SS
7020Fri Jun 26 14:52:47 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
7021
7022 * gdb.fortran/types.exp: Escape brackets in expect patterns
7023 for test_float_literal_types_accepted tests.
7024 * gdb.base/scope.exp: Remove extraneous newline in filelocal_bss
7025 before run test.
7026
c2d11a7d
JM
7027Fri Jun 26 11:12:17 1998 Jeffrey A Law (law@cygnus.com)
7028
7029 * am33.exp: Just compile, do not link the testcase.
7030 * am33.s: Add ".am33" pseudoop to force am33 mode.
7031
c906108c
SS
70321998-06-25 Felix Lee <flee@cygnus.com>
7033
7034 * gdb.base/setshow.exp: make sure $pc is sane.
7035
7036 * gdb.stabs/weird.exp: split expect patterns properly.
7037
c2d11a7d
JM
7038Wed Jun 24 13:03:15 1998 Jeffrey A Law (law@cygnus.com)
7039
7040 * gdb.disasm/am33.s: New disassembler testfile for the am33.
7041 * gdb.disasm/am33.exp: Run it.
7042
dc96c6c7 7043Tue Jun 23 11:45:01 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
7044
7045 * gdb.base/funcargs.exp: simplify expect strings to ease pattern
7046 match processing (and eliminate spurious timeouts when running).
7047
dc96c6c7 7048Fri Jun 12 17:28:22 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
7049
7050 * gdb.base/signals.exp (test_handle_all_print): put back Mach
7051 exception test, but conditionalize it on target [mach | gnu].
7052
dc96c6c7 7053Wed Jun 10 10:40:03 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
7054
7055 * gdb.base/overlays.exp: fixup compile line for linker script.
7056
7057Thu Jun 4 21:54:15 1998 Felix Lee <flee@zog.cygnus.com>
7058
7059 * gdb.fortran/types.exp: don't guess at float size.
7060
7061Thu May 21 02:28:37 1998 Felix Lee <flee@zog.cygnus.com>
7062
7063 * gdb.base/exprs.exp: delete test that depends on int size.
7064
7065Sun May 17 17:10:22 1998 Bob Manson <manson@charmed.cygnus.com>
7066
7067 * config/sim.exp: Removed checks for target triplets.
7068 (gdb_target_sim): Use gdb,target_sim_options.
7069
7070Sat May 16 23:43:35 1998 Mark Alexander <marka@cygnus.com>
7071
7072 * gdb.base/reread.exp: New file.
7073 * gdb.base/reread1.c: New file.
7074 * gdb.base/reread2.c: New file.
7075
7076Sat May 16 23:22:09 1998 Mark Alexander <marka@cygnus.com>
7077
7078 * config/sim.exp: Use 'target sim -sparclite' when running
7079 SPARClite programs.
7080
7081Sat May 16 18:48:08 1998 Doug Evans <devans@canuck.cygnus.com>
7082
7083 * gdb.base/structs2.exp: New file.
7084 * gdb.base/structs2.c: New file.
7085
7086Wed May 13 13:36:14 1998 Doug Evans <devans@canuck.cygnus.com>
7087
7088 * gdb.asm/common.inc: New file.
7089 * gdb.asm/d10v.inc: New file.
7090 * asm-source.exp: Pass -I's to gas to find .inc files.
7091 Update line numbers in expected output.
7092 * asmsrc1.s: Rewrite.
7093 * asmsrc2.s: Rewrite.
7094 * configure.in: Create arch.inc symlink.
7095 * configure: Regenerate.
7096 * Makefile.in (distclean): Delete arch.inc.
7097
7098Wed May 6 10:30:54 1998 John Metzler <jmetzler@cygnus.com>
7099
7100 * callfuncs.c (t_enum_value1) : Cleanup return value warnings
7101 (t_enum_value2): ditto
7102 (t_enum_value3): ditto
7103 (main): ditto
7104Fri May 1 09:33:37 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
7105
7106 * gdb.base/break.exp: Remove xfail for `deleting all breakpoints
7107 when none' unexpected prompt case, fixed by breakpoint.c:delete_command
7108 change.
7109 Use gdb_test instead of send_gdb/gdb_expect sequences.
7110
7111Thu Apr 23 12:56:19 1998 Jason Molenda (crash@bugshack.cygnus.com)
7112
7113 * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
7114 not void.
7115
7116Thu Apr 16 10:52:34 1998 John Metzler <jmetzler@cygnus.com>
7117
7118 * gdb.base/branches.c: Code with lots of loops and
7119 subroutines. Used to test gdbs ability to single step through PC
7120 changes, especially to test mips-tdep.c:mips_next_pc
7121
7122Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
7123
7124 * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
7125 more rigorous EGCS C++ error checking.
7126
7127Fri Apr 10 22:38:12 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7128
7129 * gdb.base/help.exp: Clean up `help set args' and `help show args'
d63a86f8 7130 tests.
c906108c 7131 * gdb.base/interrupt.exp: Add "i*86-*-solaris2*" xfail for calling
d63a86f8 7132 function when asleep.
c906108c 7133 * gdb.base/signals.exp: Add "i*86-*-solaris2*" xfails. Add comment
d63a86f8
RM
7134 for i*86 Linux and SVR4 signal handling problems.
7135 Remove linux xfail for `next to handler in signals_tests_1', fixed
7136 by recent infrun.c change.
c906108c 7137 Limit backtrace to 10 frames to avoid timeout problems with infinite
d63a86f8 7138 stack backtraces.
c906108c
SS
7139 Adjust expect pattern in `handle all print' test to match Apr 28 1997
7140 target.[ch] change.
7141
7142Tue Mar 31 00:40:32 1998 Bob Manson <manson@charmed.cygnus.com>
7143
7144 * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
7145 for a newline from gdb before continuing.
7146 (default_gdb_exit): Just look for y or n.
7147 (gdb_test): Detect abnormal exit from GDB running on DOS; if
7148 it does, fail the rests of the tests in the file.
7149
7150Tue Mar 24 22:44:52 1998 Bob Manson <manson@charmed.cygnus.com>
7151
7152 * config/cygmon.exp: New file.
7153
7154Mon Mar 16 21:39:11 1998 Bob Manson <manson@charmed.cygnus.com>
7155
7156 * gdb.base/list.exp: Fix problem with "list default lines around
7157 main" test on remote targets.
7158
7159 * gdb.base/scope.exp: Fix problem with filelocal_bss before
7160 run test on remote targets.
7161
7162Thu Mar 12 16:23:00 1998 Doug Evans <devans@canuck.cygnus.com>
7163
7164 * gdb.asm: New directory.
7165 * configure.in: Configure it.
7166 * configure: Regenerate.
7167 * gdb.asm/{Makefile.in,configure.in,configure}: New files.
7168 * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
7169
7170Mon Feb 23 08:22:44 1998 Mark Alexander <marka@cygnus.com>
7171
7172 * config/mn10300-eval.exp: New file to support MN10300 eval board.
7173
dc96c6c7 7174Wed Feb 18 16:43:46 1998 Michael Snyder (msnyder@cygnus.com)
d63a86f8 7175
c906108c
SS
7176 * gdb.base/overlays (several files): Merge the two overlay
7177 managers into one. Change variables (foox, barx, bazx, grbxx)
7178 back into ints but force them to load in their proper sections.
7179
7180Thu Feb 12 13:49:30 1998 Andrew Cagney <cagney@b1.cygnus.com>
7181
7182 * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
7183 on-chip insn memory and IMAP1 to upper 128k.
7184 (D10VCopy): Handle memory regions crossing 16k boundaries.
7185 (D10VCopy): Transfer data in 32 bit chunks.
7186
7187Tue Feb 10 17:23:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
7188
7189 * gdb.base/overlays.c (main): Exit normally when result is
7190 correct.
7191
7192 * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
7193 map. Include space for printf in .text segment.
7194
7195 * gdb.base/d10vovly.c (D10VTranslate): New function, handle
7196 updated d10v memory VMA/LMA map.
7197 (D10VCopy): Call D10VTranslate.
d63a86f8 7198
c906108c
SS
7199Fri Feb 6 14:13:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
7200
7201 * gdb.base/m32rovly.c: Force variable _novlys into .data section.
7202
7203 * gdb.base/bar.c (barx, bar): Change variable to small array so
7204 that it won't be put into the .sdata - small data -
7205 section. Update reference.
7206 * gdb.base/baz.c (bazx, baz): Ditto.
7207 * gdb.base/foo.c (foox, foo): Ditto.
7208 * gdb.base/grbx.c (grbxx, grbx): Ditto.
7209
7210 * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
7211 to be arrays.
d63a86f8 7212
dc96c6c7 7213Thu Jan 29 14:48:19 1998 Michael Snyder (msnyder@cygnus.com)
d63a86f8 7214
c906108c
SS
7215 * gdb.base/overlays.exp: fix up and get working again.
7216 Add tests for backtraces from an overlay function.
d63a86f8 7217
c906108c
SS
7218Fri Jan 23 07:52:45 1998 Fred Fish <fnf@cygnus.com>
7219
7220 * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
7221 "calling function with watchpoint enabled".
7222
7223Thu Jan 22 14:23:29 1998 Fred Fish <fnf@cygnus.com>
7224
7225 * gdb.base/break.exp (test_next_with_recursion): Remove
7226 gdb_suppress_tests for d10v-*-*.
7227 * lib/gdb.exp (gdb_suppress_tests): Disable this function
7228 pending review of whether it is useful or not.
7229
7230Tue Jan 20 13:02:09 1998 Mark Alexander <marka@cygnus.com>
7231
7232 * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
7233
7234Mon Jan 19 08:53:04 1998 Mark Alexander <marka@cygnus.com>
7235
7236 * gdb.base/break.exp: Increase timeout for slow TX39 boards.
7237 * config/dve.exp: New file to support Densan boards.
7238
7239Mon Dec 15 22:38:05 1997 Andrew Cagney <cagney@b1.cygnus.com>
7240
7241 * gdb.base/interrupt.exp: Document problem of simulators, signals,
7242 reads and BSD.
7243
7244Wed Nov 26 22:29:18 1997 Bob Manson <manson@charmed.cygnus.com>
7245
7246 * config/monitor.exp: Be a bit less picky about the "Remote debugging"
7247 response.
7248
7249 * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
7250
7251Tue Nov 25 12:46:36 1997 Andrew Cagney <cagney@b1.cygnus.com>
7252
7253 * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
7254 test.
7255
7256 * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
7257 target_sizeof_long and target_bigendian_p.
7258 (structs_by_value, structs_by_reference): Check values according
7259 to targets word size and endianess.
d63a86f8 7260
c906108c
SS
7261Mon Nov 24 16:37:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
7262
7263 * gdb.base/langs.exp: For "continue to exit" ignore any trailing
7264 output.
7265
7266Fri Oct 17 13:24:43 1997 Stan Shebs <shebs@andros.cygnus.com>
7267
7268 * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
7269 Update test of set args help to match source change.
7270
7271Fri Sep 26 17:36:20 1997 Jason Molenda (crash@pern.cygnus.com)
7272
7273 * gdb.base/default.exp: Expect help system output to be in
7274 alphabetical order.
7275 * gdb.base/help.exp: Ditto.
7276
7277Wed Sep 24 13:08:14 1997 Bob Manson <manson@charmed.cygnus.com>
7278
7279 * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
7280 "i*86-pc-linux-gnu*".
7281 * gdb.base/interrupt.exp: Ditto.
7282 * gdb.base/corefile.exp: Ditto.
7283
7284 * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
7285 define vxworks when building the testcase.
7286
7287 * gdb.base/ptype.exp: Fix testnames to be unique.
7288 * gdb.base/radix.exp: Ditto.
7289 * gdb.base/term.exp: Ditto.
7290 * gdb.base/whatis.exp: Ditto.
7291 * gdb.c++/classes.exp: Ditto.
7292
7293Tue Sep 16 22:21:48 1997 Bob Manson <manson@charmed.cygnus.com>
7294
7295 * gdb.base/callfuncs.exp: Fix indentation.
7296
7297 * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
7298 suppress_flag has been set.
7299 (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
7300 target feature.
7301
7302Mon Sep 15 15:43:17 1997 Bob Manson <manson@charmed.cygnus.com>
7303
7304 * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
7305 the testcase.
7306
7307 * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
7308 set_debug_traps() and breakpoint().
7309 * gdb.c++/misc.cc (main): Ditto.
7310 * gdb.c++/templates.cc (main): Ditto.
7311 * gdb.c++/virtfunc.cc (main): Ditto.
7312
7313Fri Sep 12 16:56:38 1997 Bob Manson <manson@charmed.cygnus.com>
7314
7315 * lib/gdb.exp(gdb_step_for_stub): New function.
7316 (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
7317 exists, reload the executable and do a "continue" instead of
7318 doing a jump.
7319 (runto_main): Use gdb_step_for_stub.
d63a86f8 7320
c906108c
SS
7321 * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
7322 tests to have unique names.
7323 * gdb.base/callfuncs.exp: Ditto.
7324 * gdb.base/commands.exp: Ditto.
7325 * gdb.base/default.exp: Ditto.
7326 * gdb.base/help.exp: Ditto.
7327 * gdb.base/list.exp: Ditto.
7328 * gdb.base/opaque.exp: Ditto.
7329 * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
7330 similar tests.
d63a86f8 7331
c906108c
SS
7332 * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
7333 * gdb.c++/cplusfuncs.cc: Ditto.
7334 * gdb.c++/virtfunc.cc: Ditto.
7335
7336 * config/monitor.exp: Keep track of the last file we saw, rather
7337 than trying to get the info from gdb.
7338
7339 * gdb.fortran/types.exp: Move comment to previous line.
7340
7341Tue Sep 2 19:55:34 1997 Bob Manson <manson@charmed.cygnus.com>
7342
7343 * config/sparclet.exp: Detect gratuitous change to sparclet gdb
7344 target mode.
7345
7346Mon Jul 28 12:14:47 1997 Stan Shebs <shebs@andros.cygnus.com>
7347
7348 From Bob Manson:
7349 * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
7350 string from GDB when it connects.
7351
7352 * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
7353
7354Thu Jul 3 15:35:12 1997 Bob Manson <manson@charmed.cygnus.com>
7355
7356 * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
7357 if we can't get a debug format from GDB (we may be testing an
7358 older GDB). Use a 10 second timeout when checking for the format.
7359
7360 * gdb.stabs/weird.exp: Fix quoting.
7361
7362 * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
7363
7364Mon Jun 30 18:31:43 1997 Bob Manson <manson@charmed.cygnus.com>
7365
7366 * config/arm-ice.exp: New file.
7367
7368Sun Jun 29 16:43:30 1997 Bob Manson <manson@charmed.cygnus.com>
7369
7370 * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
7371 until it has been modified to work with the new testsuite.
7372
99707966 7373 * gdb.*/*.exp: Instead of causing 1 unresolved test when the
c906108c
SS
7374 testcase won't compile, cause all of the testcases in the file to
7375 fail instead.
7376
7377 * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
7378 (gdb_clear_suppressed): New procedure.
7379 (gdb_stop_suppressing_tests): Only clear suppress_flag if
7380 it contains a positive value.
7381
7382Sat Jun 28 13:31:11 1997 Bob Manson <manson@charmed.cygnus.com>
7383
7384 * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
7385
7386 * gdb.c++/virtfunc.exp: Remove setting of libs variable.
7387
7388Fri Jun 27 07:44:25 1997 Fred Fish <fnf@cygnus.com>
7389
7390 * lib/gdb.exp (setup_xfail_format): New function.
7391 (get_debug_format): New function to get debug format.
7392 (debug_format): New global variable to hold last value set
7393 by get_debug_format.
7394 * gdb.base/list.exp: Call get_debug_format and expect some
7395 tests to fail for DWARF 1 and COFF formats.
7396 * gdb.c++/ptype.exp: Ditto.
7397 * gdb.c++/classes.exp: Ditto.
7398 * gdb.c++/cplusfuncs.exp: Ditto.
7399 * gdb.c++/inherit.exp: Ditto.
7400 * gdb.c++/templates.exp: Ditto.
7401 * gdb.c++/virtfunc.exp: Ditto.
d63a86f8 7402
c906108c
SS
7403Wed Jun 25 09:08:51 1997 Bob Manson <manson@charmed.cygnus.com>
7404
7405 * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
7406 host doesn't have a currently-open connection.
7407
7408 * config/sparclet.exp: Cleanups and fixes to make it generic for
7409 any gdb stub target. Handle cases where gdb doesn't respond when
7410 interrupted in a sane fashion.
7411
7412 * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
7413 same thing in a totally different way.
7414
7415 * config/monitor.exp: Pass in timeouts to gdb_expect instead of
7416 setting "timeout".
7417 (gdb_start): We set the global gdb_prompt variable in
7418 default_gdb_init now.
7419
7420Sun Jun 22 09:11:02 1997 Fred Fish <fnf@cygnus.com>
7421
7422 * gdb.base/printcmds.exp: Fix "check for floating addition"
7423 regexp to accept results within approx +/- .01 of exact value.
7424 * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
7425
7426Wed Jun 18 11:11:39 1997 Bob Manson <manson@charmed.cygnus.com>
7427
7428 * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
7429 properly.
7430 (gdb_expect): Add optional timeout parameter, and add timeout
7431 value to various calls.
7432 (gdb_suppress_tests): Only give one warning message per group.
7433
7434Tue Jun 17 13:10:10 1997 Bob Manson <manson@charmed.cygnus.com>
7435
7436 * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
7437 global variables. Handle getting a value for $timeout more
7438 gracefully.
7439
7440Sat Jun 14 09:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
7441
7442 * lib/gdb.exp: Close connection to remote host if gdb doesn't
7443 initialize.
7444 (default_gdb_init): New procedure; allow gdb_init to be overridden
7445 by a target configuration file.
7446 (gdb_expect): Pass the timeout to remote_expect.
7447
7448 * config/monitor.exp(gdb_load): Fix typo in regexp.
7449
7450Thu Jun 12 20:57:12 1997 Bob Manson <manson@charmed.cygnus.com>
7451
7452 * gdb.base/funcargs.exp: Remove spurious suppress tests call.
7453
7454Tue Jun 3 15:20:20 1997 Bob Manson <manson@charmed.cygnus.com>
7455
7456 * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
7457 here. Call gdb_target_exec before rebooting the target, to make
7458 sure the connection to the target is closed.
7459 (gdb_load): Pass the name of the executable to gdb_target_monitor.
7460 Don't call gdb_file_cmd here; let gdb_target_monitor do it.
7461 Also detect "Timeout reading from remote" error.
7462
7463 * config/gdbserver.exp: Pass the executable being loaded to
7464 gdb_target_monitor. Don't call gdb_file_cmd here; let
7465 gdb_target_monitor do it.
7466
7467 * gdb.disasm/hppa.exp: Don't use exec_output.
7468
7469Fri May 23 13:28:29 1997 Bob Manson <manson@charmed.cygnus.com>
7470
7471 * gdb.base/list.exp: If we're debugging a non-native target,
7472 try to set the pc register to point to the start of the
7473 program before doing the first list command.
7474
7475 * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
7476 test_calls after restarting.
7477
7478 * lib/gdb.exp(gdb_run_cmd): Send jump command again after
7479 reloading.
7480
7481 * gdb.base/watchpoint.exp: Fix typo.
7482
7483 * gdb.base/setshow.exp: Check for use_gdb_stub.
7484
7485 * gdb.base/break.exp: Fix continue until exit test for the gdb
7486 stub case.
7487 * gdb.base/langs.exp: Ditto.
7488
7489 * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
7490 gdb_load_offset. If we weren't given a file to load, figure out
7491 what the current file is and use it.
7492
7493 * config/i386-bozo.exp: New file.
7494
7495Thu May 22 18:51:32 1997 Bob Manson <manson@charmed.cygnus.com>
7496
7497 * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
7498 feature.
7499
7500 * config/proelf.exp: New entry.
7501
7502Wed May 21 21:23:16 1997 Bob Manson <manson@charmed.cygnus.com>
7503
7504 * lib/gdb.exp: Remove spurious .* patterns at the beginning
7505 of regexps.
7506
7507 * gdb.base/watchpoint.exp: Don't run the test_stepping
7508 tests if gdb can't call functions on the target.
7509
7510 * gdb.base/setshow.exp: Don't run the set prompt tests if
7511 the board has gdb_prompt set.
7512
7513Tue May 20 08:58:49 1997 Jeffrey A Law (law@cygnus.com)
7514
7515 * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
7516 * gdb.base/commands.exp: Likewise.
7517 * gdb.base/setshow.exp: Likewise.
7518
7519Mon May 19 15:37:50 1997 Bob Manson <manson@charmed.cygnus.com>
7520
7521 * config/monitor.exp(gdb_start): Look for gdb_prompt target
7522 feature.
7523
7524 * config/i960.exp: New file.
7525
7526Thu May 1 18:01:50 1997 Bob Manson <manson@charmed.cygnus.com>
7527
7528 * gdb.base/funcargs.exp: Check for gdb,short_int target
7529 feature instead of looking for explicit target triplets.
7530
dc96c6c7 7531Mon Apr 28 17:27:40 1997 Michael Snyder <msnyder@cygnus.com>
c906108c 7532
d63a86f8 7533 * gdb.base/printcmds.exp: add a couple more tests a la
c906108c
SS
7534 "p 123DEADBEEF", to check parse_number.
7535 * top.c: change "to enable to enable" to "to enable" in a couple
7536 of help strings.
7537
7538Thu Apr 24 14:38:18 1997 Jeffrey A Law (law@cygnus.com)
7539
7540 * gdb.base/callfuncs.exp: Mark some tests as expected to fail
7541 on the mn10300.
d63a86f8 7542
c906108c
SS
7543Mon Apr 21 15:05:42 1997 Fred Fish <fnf@cygnus.com>
7544
7545 * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
7546 where the test executable is run with explicit args.
7547 * gdb.base/default.exp: Handle arm-*-coff case for "info float".
7548
7549Mon Apr 21 13:38:58 1997 Fred Fish <fnf@cygnus.com>
7550
7551 * gdb.base/run.c: Use FAKEARGV to build test executable that
7552 does not require a command line arg, since most simulators
7553 don't currently support passing such an arg into the simulated
7554 program.
7555 * gdb.base/commands.exp: Change tests to insert the proper
7556 value as the arg to the first recursive factorial call. Change
7557 compilation line to define FAKEARGV at compile time.
7558
7559Wed Apr 9 11:12:36 1997 Jeffrey A Law (law@cygnus.com)
7560
7561 * gdb.base/recurse.exp: Enable these tests for the mn10300.
7562 * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
7563 function with watchpoint enabled" test.
7564
7565Tue Apr 8 19:33:20 1997 Bob Manson <manson@charmed.cygnus.com>
7566
7567 * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
7568 Don't call gdb_test when the command doesn't return to a gdb prompt.
7569
7570 * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
7571 "Tests restarted" messages.
7572
7573Tue Apr 8 16:38:46 1997 Jeffrey A Law (law@cygnus.com)
7574
7575 * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
7576
dc96c6c7 7577Thu Apr 3 15:21:26 1997 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
7578
7579 * gdb.base/help.exp: update help msg for INFO ADDR; add help test
7580 for INFO SYMBOL; add help tests for OVERLAY commands.
7581 * gdb.base/default.exp: add tests for INFO SYMBOL command;
7582 add tests for OVERLAY commands
7583 * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
7584 d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
7585 * gdb.base/sigall.c: add usestubs code frag
7586 * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
d63a86f8 7587
c906108c
SS
7588Thu Apr 3 09:38:53 1997 Bob Manson <manson@charmed.cygnus.com>
7589
7590 * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
7591 failures.
7592 (gdb_stop_suppressing_tests): Note that tests have restarted.
7593
7594Wed Apr 2 19:04:20 1997 Bob Manson <manson@charmed.cygnus.com>
7595
7596 * config/h8300.exp: New file.
7597
7598Sun Mar 30 13:38:25 1997 Bob Manson <manson@charmed.cygnus.com>
7599
7600 * gdb.base/setshow.exp: Check for the existence of a
7601 feature, not its value.
7602
7603Sat Mar 29 11:19:46 1997 Bob Manson <manson@charmed.cygnus.com>
7604
7605 * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
7606
7607 * gdb.base/scope.exp: It's now init0(), not init().
7608
7609 * gdb.base/scope0.c: For now, change init() to be init0().
7610
7611 * config/monitor.exp: Use gdb_serial in preference to serial
7612 or netport.
7613
7614 * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
7615 and it's not already set.
7616
7617Fri Mar 28 19:54:18 1997 Bob Manson <manson@charmed.cygnus.com>
7618
7619 * gdb.base/setshow.exp: Only test the run command if the target
7620 isn't using a stub and if it supports argument passing.
7621
7622Sat Mar 22 19:50:25 1997 Bob Manson <manson@charmed.cygnus.com>
7623
7624 * config/udi.exp(gdb_start): Make sure UDICONF is set
7625 properly before starting gdb.
7626
7627Mon Mar 24 14:40:33 1997 Jeffrey A Law (law@cygnus.com)
7628
7629 * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
7630 * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
7631 * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
7632
7633Tue Mar 11 11:42:58 1997 Bob Manson <manson@charmed.cygnus.com>
7634
7635 * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
7636 specialized code to reboot the board, use remote_reboot instead.
7637
7638 * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
7639
7640 * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
7641
7642 * config/monitor.exp: Make sure we disconnect from the target.
7643 Also, try a reboot/reload cycle instead of failing if the
7644 load fails.
7645
7646Fri Mar 7 13:48:30 1997 Bob Manson <manson@charmed.cygnus.com>
7647
7648 * gdb.base/default.exp: Don't set match_max.
7649 * gdb.base/help.exp: Ditto.
7650 * gdb.base/list.exp: Ditto.
7651 * gdb.base/signals.exp: Ditto.
7652
7653 * config/monitor.exp(gdb_load): If gdb,use_standard_load is
7654 set, use remote_ld to download the testcase instead of
7655 the GDB loader.
7656
7657Wed Mar 5 00:00:43 1997 Bob Manson <manson@charmed.cygnus.com>
7658
7659 * config/vr5000.exp: New file.
7660
7661 * config/monitor.exp(gdb_target_monitor): Add pattern for
7662 "Ending remote" to detect errors in connecting.
7663
7664 * gdb.base/setshow.exp: Add .* within auto language test.
7665
7666 * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
7667 target feature.
7668
7669 * config/monitor.exp(gdb_load): Check for a failure when loading,
7670 and reboot the board if necessary.
7671
7672 * gdb.base/setvar.exp(test_set): Handle multiple prints within
7673 a set of tests. Remove print.* from the patterns being checked.
7674
7675Mon Mar 3 11:57:43 1997 Bob Manson <manson@charmed.cygnus.com>
7676
7677 * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
7678 refer to gdb_spawn_id.
7679
7680 * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
7681 longer used.
7682 * config/sparclet.exp: Ditto.
7683 * config/sparclet-old.exp: Ditto.
7684 * config/slite.exp: Ditto.
7685 * config/sim.exp: Ditto.
7686 * gdb.base/funcargs.exp: Ditto.
7687
7688 * lib/gdb.exp:Remove references to gdb_spawn_id.
7689 (gdb_expect): Move to remote.exp.
7690
7691Fri Feb 28 20:47:39 1997 Bob Manson <manson@charmed.cygnus.com>
7692
7693 * config/monitor.exp: Detect the "Couldn't establish connection"
7694 message from GDB.
7695
7696Tue Feb 25 14:08:55 1997 Bob Manson <manson@charmed.cygnus.com>
7697
7698 * gdb.base/bitfields.exp: Use runto instead of explicit
7699 gdb_run_cmd/gdb_expect sequences.
7700
7701 * gdb.base/break.exp(text_next_with_recursion): Add match for
7702 gdb_expect call.
7703
7704 * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
7705 We also need to handle the "A program is being debugged already"
7706 prompt from gdb. Use gdb_test to set the baud rate.
7707
7708 * lib/gdb.exp(gdb_init): Increase the default expect buffer size
7709 to 20000. Really. I mean it.
7710
7711Mon Feb 24 13:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
7712
7713 * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
7714 fails. If suppress_flag is set, skip perror message about not
7715 being able to send to GDB.
7716 (send_gdb): If suppress_flag is set, don't try to send commands to
7717 GDB.
7718 (gdb_expect): If suppress_flag is set, always fail immediately.
7719 (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
7720 (gdb_init): Call gdb_stop_suppressing_tests.
7721 (default_gdb_exit): Ditto.
7722 (default_gdb_start): Ditto.
7723
7724 * gdb.base/bitfields.exp: Call gdb_suppress_tests and
7725 gdb_stop_suppressing_tests as appropriate.
7726 * gdb.base/break.exp: Ditto.
7727 * gdb.base/callfuncs.exp: Ditto.
7728 * gdb.base/commands.exp: Ditto.
7729 * gdb.base/exprs.exp: Ditto.
7730 * gdb.base/funcargs.exp: Ditto.
7731 * gdb.base/list.exp: Ditto.
7732 * gdb.base/recurse.exp: Ditto.
7733 * gdb.base/scope.exp: Ditto.
7734 * gdb.base/structs.exp: Ditto.
7735 * gdb.c++/inherit.exp: Ditto.
7736
7737Sun Feb 23 19:56:02 1997 Bob Manson <manson@charmed.cygnus.com>
7738
7739 * config/vr4300.exp: New file.
7740
99707966 7741 * gdb.*/*.exp: Call gdb_expect instead of expect.
d63a86f8 7742
99707966 7743 * lib/gdb.exp(gdb_expect): New function.
c906108c
SS
7744
7745Thu Feb 20 13:57:01 1997 Bob Manson <manson@charmed.cygnus.com>
7746
7747 * lib/gdb.exp(gdb_init): New function.
7748
7749 * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
7750 for each individual variable set.
7751
7752 * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
7753 name.
7754
7755 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
7756
7757 * gdb.base/scope.exp: Use gdb_test.
7758
7759 * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
7760 aborting; the testsuite driver will do that for us (see
7761 gdb_finish). Also, use gdb_test in a few more places.
7762
7763Thu Feb 20 13:32:24 1997 Stan Shebs <shebs@andros.cygnus.com>
7764
7765 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
7766
7767Thu Feb 20 10:34:21 1997 Jeffrey A Law (law@cygnus.com)
7768
7769 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
7770 and "add_tests" are not at the same address.
7771
7772Fri Feb 14 18:47:23 1997 Bob Manson <manson@charmed.cygnus.com>
7773
7774 * gdb.base/ptype.exp: Use gdb_test.
7775
7776Thu Feb 13 16:09:36 1997 Jeffrey A Law (law@cygnus.com)
7777
7778 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
7779 * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
7780 left in. No longer expect them to fail.
7781
7782 * gdb.stabs/*.mt; Deleted, no longer used.
7783 * gdb.stabs/configure.in: Remove references to target makefile
7784 frags.
7785 * gdb.stabs/configure: Rebuilt.
7786
7787 * gdb.disasm/*.mt: Deleted, no longer used.
7788 * gdb.disasm/configure.in: Remove references to target makefile
7789 frags. Use "sh3.s" as the unique filename for this directory.
7790 * gdb.disasm/configure: Rebuilt.
7791
7792 * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
7793 * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
7794 * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
7795
7796Tue Feb 11 16:57:58 1997 Bob Manson <manson@charmed.cygnus.com>
7797
7798 * config/udi.exp: Use mondfe,name instead of remote_host.
7799
7800Tue Feb 11 11:22:36 1997 Jeffrey A Law (law@cygnus.com)
7801
7802 * gdb.base/watchpoint.exp: Don't expect a failure when calling
7803 a function with a watchpoint enabled on the mn10200.
7804
7805 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
7806 before trying to create it!
7807
7808Mon Feb 10 16:40:47 1997 Bob Manson <manson@charmed.cygnus.com>
7809
7810 * config/vx.exp: Use hostname instead of netport.
7811
7812 * config/vxworks.exp: New file.
7813
7814 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
7815
7816 * config/monitor.exp(gdb_target_monitor): Look for a prompt from
7817 gdb before assuming everything worked. Send a ^C if a timeout
7818 occurs.
7819
7820 * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
7821 $gdb_spawn_id directly.
7822 (gdb_run_cmd): Try _start as well as start. Use the target feature
7823 gdb,start_symbol as the symbol to start from when jumping.
7824
7825Mon Feb 10 11:26:59 1997 Jeffrey A Law (law@cygnus.com)
7826
7827 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
7828 redundant) test.
7829
7830 * gdb.base/recurse.exp: Relax final value test for 'b' so that
7831 it doesn't lose for 16bit integer systems.
7832
7833Fri Feb 7 09:31:21 1997 Jeffrey A Law (law@cygnus.com)
7834
7835 * gdb.fortran/types.exp: If the target doesn't support "double"
7836 data types, then expect "real" types to only be 4 bytes.
7837
7838 * gdb.c++/virtfunc.exp: Expect failure for virtual function
7839 call tests if the target doesn't support inferior function calls.
7840
7841 * gdb.base/printcmds.exp: Allow minor deviation in FP values
7842 in printf tests.
7843
7844Thu Feb 6 12:46:14 1997 Jeffrey A Law (law@cygnus.com)
7845
7846 * gdb.base/help.exp: Disable "help set", "help show", and
7847 "help support". Simplify regexp for "help stack".
7848
7849 * gdb.base/default.exp: Set match_max to 5000 and the timeout
7850 to 60 seconds. Temporarily set match_max to 15000 around the
7851 "info copying" test.
7852
7853 * gdb.base/nodebug.exp: Don't try to do an inferior function
7854 call if the target doesn't support them.
7855 * gdb.base/printcmds.exp: Likewise.
7856 * gdb.base/setvar.exp: Likewise.
7857 * gdb.base/structs.exp: Likewise.
7858 * gdb.c++/templates.exp: Likewise.
7859 * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
7860
7861 * gdb.base/recurse.exp: Enable for the mn10200.
7862
7863 * configure.in: Do configure gdb.stabs directory for *-*-elf
7864 targets.
7865 * configure: Rebuilt.
7866
7867 * gdb.base/break.exp: Check for gdb,noresults before testing
7868 exit status and/or results from the target.
7869 * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
7870 * lib/gdb.exp: Remove old (now bogus) initialization of
7871 noinferior, noargs, noresults and nosignals.
7872
7873Tue Feb 4 21:52:17 1997 Bob Manson <manson@charmed.cygnus.com>
7874
7875 * config/sh.exp: New file.
7876
7877 * config/slite.exp: Try to connect multiple times to the board
7878 before rebooting. Only send a "monitor run" if need_monitor_run
7879 is set.
7880
7881 * gdb.base/break.exp: Don't do the "stub continue" test if
7882 the target has gdb_stub set.
7883
7884 * gdb.base/callfuncs.exp: Increase the timeout.
7885
7886 * gdb.base/interrupt.exp: Don't even try to compile the testcase
7887 if the target has gdb,noinferiorio set.
7888
7889 * gdb.base/list.exp: Increase match_max to 10000 characters.
7890
7891 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
7892
7893 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
7894 target.
7895
7896 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
7897
7898Mon Feb 3 12:09:37 1997 Bob Manson <manson@charmed.cygnus.com>
7899
7900 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
7901 trying to delete the copy of gdb. Catch the file delete so we
7902 don't die if the delete fails; also, the file should be copied to
7903 the host, not to the build.
7904
7905Sun Feb 2 00:55:14 1997 Bob Manson <manson@charmed.cygnus.com>
7906
7907 * lib/gdb.exp(gdb_test): Surround the result pattern with
7908 parenthesis in case it contains multiple regexps separated
7909 with |.
7910
7911 * gdb.base/watchpoint.exp: Use gdb_test.
7912 * gdb.base/default.exp: Ditto.
7913
7914Sat Feb 1 23:51:01 1997 Bob Manson <manson@charmed.cygnus.com>
7915
99707966 7916 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
d63a86f8 7917
c906108c
SS
7918 * gdb.base/scope.exp: Use gdb_test.
7919 * gdb.c++/classes.exp: Ditto.
7920 * gdb.c++/inherit.exp: Ditto.
7921
7922Fri Jan 31 13:09:12 1997 Bob Manson <manson@charmed.cygnus.com>
7923
7924 * gdb.base/crossload.exp: Don't use execute_anywhere, use
7925 remote_exec instead.
7926 * gdb.base/corefile.exp: Don't be ridiculous.
7927 * gdb.base/*.c: Add missing stub invocations.
7928
7929Thu Jan 30 16:49:25 1997 Bob Manson <manson@charmed.cygnus.com>
7930
7931 * config/slite.exp: Miscellaneous fixes.
7932
7933 * lib/gdb.exp: Fix runto.
7934
7935 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
7936 the target.
7937
7938 * gdb.base/watchpoint.exp: Fix regexp.
7939
7940 * lib/gdb.exp(default_gdb_exit): Add a catch to the
7941 close and wait commands, as the descriptor may now be
7942 invalid. Always call "remote_close host".
7943
7944Tue Jan 28 14:42:31 1997 Bob Manson <manson@charmed.cygnus.com>
7945
7946 Major rewrite for testsuite revision.
d63a86f8 7947
c906108c
SS
7948 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
7949 TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
7950 instead of relying on spawn_id to always contain a valid
7951 spawn id.
7952 (get_compiler_info): New procedure to build the ${binfile}.ci
7953 file, instead of replicating this in N different places.
7954 (gdb_compile): New procedure.
d63a86f8 7955
c906108c
SS
7956 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
7957 appropriate arguments) instead of compile. Use gdb_test in a lot
7958 more places. Use send_gdb instead of send. Always run gdb_start
7959 at the start of a testcase, as this is no longer done magically.
7960
7961 config/*-gdb.exp: Rename without the -gdb suffix.
7962
7963 config/mips.exp: Use remote_close instead of exit_remote_shell.
7964 config/monitor.exp: Use target_info instead of looking at
7965 baud, timeout, etc.
7966 config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
7967
7968Sat Dec 14 00:43:57 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7969
7970 * gdb.c++/templates.exp (test_ptype_of_templates),
7971 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
7972 Update expect patterns for destructors and assignment operators
7973 to match corresponding c-typeprint.c changes.
7974 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
7975 to destructor breakpoint test, GDB should be able to set the
7976 destructor breakpoint without specifying arguments.
7977
7978Tue Dec 3 20:17:52 1996 Fred Fish <fnf@cygnus.com>
7979
7980 * gdb.threads/pthreads.exp: Change result for failure to compile due
7981 to lack of pthreads runtime support from an error to simply an
7982 unsupported test, per dejagnu standards.
7983
7984Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7985
7986 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
7987 where GDB exits to reduce pattern match time.
7988 (skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
7989
7990 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
7991
dc96c6c7 7992Tue Nov 26 18:29:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
7993
7994 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
7995 * gdb.base/default.exp: ditto.
7996 * gdb.base/nodebug.exp: ditto.
7997 * gdb.base/printcmds.exp: ditto.
7998 * gdb.base/ptype.exp: ditto.
7999 * gdb.base/setvar.exp: ditto.
8000 * gdb.base/structs.exp: ditto.
8001 * gdb.base/setshow.c: Guard against uninitialized values of argc.
8002
8003Tue Nov 26 17:23:28 1996 Ian Lance Taylor <ian@cygnus.com>
8004
8005 * configure, */configure: Rebuild with autoconf 2.12.
8006
8007Sat Nov 23 13:32:15 1996 Fred Fish <fnf@cygnus.com>
8008
8009 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
8010 use new i*86-pc-linux*-gnu quads.
8011 * gdb.base/corefile.exp: Ditto.
8012 * gdb.base/signals.exp: Ditto.
8013 * gdb.base/sigall.exp: Ditto.
8014 * gdb.base/interrupt.exp: Ditto.
8015
8016 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
8017 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
8018 RedHat 4.0.
d63a86f8 8019
c906108c
SS
8020 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
8021 linux. This allows the test case to at least compile on latest
8022 linux, but still not run due to missing the threads runtime library.
8023
8024Fri Nov 22 10:13:29 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8025
8026 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
8027 directory to search gdb directory. Accept and step over conditional
8028 stack alignment code. Consume $prompt in failure cases.
8029 Reset timeout to $oldtimeout instead of some arbitrary value.
8030 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
8031 timeout problems with infinite stack backtraces.
8032 * gdb.base/ptype.exp (ptype struct link, union tu_link):
8033 Accept function parameters for linkfunc member.
8034
8035Thu Nov 21 09:17:19 1996 Fred Fish <fnf@cygnus.com>
8036
8037 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
8038 (CXXFLAGS): Remove, unreferenced.
8039 (B_OPTIONS): Add for -B options and add code to initialize with
8040 previous -B options and also add -B option to pick up cross compiled
8041 runtime.
8042 (TARGET_INCLUDES): Add for -I options and add code to initialize when
8043 doing cross compiles.
8044 (target_alias): Declare global.
8045 (xgcc): Set variable to full path of gcc in build tree. Use findfile
8046 to verify that gcc exists in build tree, and if so set CC to that
8047 gcc and to use B_OPTIONS and TARGET_INCLUDES.
d63a86f8 8048
c906108c
SS
8049Tue Nov 12 16:20:13 1996 Fred Fish <fnf@cygnus.com>
8050
8051 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
8052 ptype test for anonymous union. Fixup testcase to match
8053 current gcc debug output.
8054
8055Mon Nov 11 14:12:06 1996 Jeffrey A Law (law@cygnus.com)
8056
8057 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
8058 force argument to an unsigned long type.
8059
8060Mon Nov 11 10:27:55 1996 Fred Fish <fnf@cygnus.com>
8061
8062 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
8063 tests and anonymous union print/ptype tests.
8064 * gdb.base/list.exp (test_forward-search): Increase timeout by
8065 5 minutes for the "search extremely long line" case.
8066 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
8067 completely optional and that the pass/fail messages use the command as
8068 the message if that third arg is a null string.
8069 (gdb_test_exact): Arrange that a null string pattern means match a
8070 null string output rather than any output, which might include random
8071 errors.
8072 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
8073 backtrace test.
8074 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
8075 always failing and failure is now exposed by gdb.exp changes.
8076
8077Sat Nov 9 11:13:24 1996 Fred Fish <fnf@cygnus.com>
8078
8079 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
8080 weren't being noted.
8081
8082Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8083
8084 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
8085 * gdb.stabs/weird.exp: Remove v_comb xfails.
8086
dc96c6c7 8087Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
8088
8089 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
8090 list.exp scope.exp watchpoint.exp]
8091 Make all timeout error msgs explicitly say "(timeout)".
d63a86f8 8092
dc96c6c7 8093Mon Nov 4 12:03:06 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
8094
8095 * config/monitor.exp: Increase download timeout to 1000 seconds.
8096
dc96c6c7 8097Mon Nov 4 12:02:26 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
8098
8099 * config/m32r.exp: Increase timeout to 120 seconds.
8100
8101Sun Nov 3 14:37:05 1996 Fred Fish <fnf@cygnus.com>
8102
8103 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
8104 and accept older ordering as obsolescent gcc or gdb.
8105 * gdb.c++/templates.exp: Ditto.
8106 * gdb.c++/virtfunc.exp: Ditto.
8107
8108Fri Nov 1 11:56:09 1996 Fred Fish <fnf@cygnus.com>
8109
8110 * gdb.base/coremaker.c: Add code to mmap some data so we
8111 can check that it ends up in the core file.
8112 * gdb.base/corefile.exp: Add test to read mmapped data
8113 from core file.
8114
dc96c6c7 8115Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
8116
8117 * config/m32r.exp: New file.
8118
8119Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
8120
8121 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
8122 that cflags can contains -gstabs, and work correctly for other tests.
8123
dc96c6c7 8124Mon Oct 21 14:00:37 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
8125
8126 * gdb.base/setshow.exp: New file, tests show and set.
8127 * gdb.base/setshow.c: New file, tests show and set.
8128 * gdb.base/help.exp: Add test for help set|show annotate.
8129 * gdb.base/default.exp: Add test for set|show annotate.
8130
8131Wed Oct 16 19:03:54 1996 Stu Grossman (grossman@critters.cygnus.com)
8132
8133 * testsuite/gdb.base/break.exp: Make backtrace from factorial
8134 errors unique.
8135 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
8136 explicitly.
8137
8138Tue Oct 15 16:45:02 1996 Stu Grossman (grossman@critters.cygnus.com)
8139
8140 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
8141 and width commands. This is done elsewhere.
8142 * (gdb_start): Don't call gdb_start_sim here. That's already
8143 done in gdb_load. This fixes lots of failures in default.exp.
8144
8145Sun Oct 13 10:40:23 1996 Fred Fish <fnf@cygnus.com>
8146
8147 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
8148 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
8149 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
8150 in the same we we treat other failures (since it may be an expected
8151 condition), rather than as an error.
8152 * gdb.base/signals.exp (test_handle_all_print): Revert back to
8153 old test format.
8154
8155Fri Oct 11 17:05:22 1996 Fred Fish <fnf@cygnus.com>
8156
8157 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
8158 (distclean maintainer-clean realclean): No need to remove files
8159 twice. Nuke the duplicates.
8160 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
d63a86f8 8161 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
c906108c
SS
8162 Remove config.h along with other config files.
8163
8164Mon Sep 30 20:16:22 1996 Fred Fish <fnf@cygnus.com>
8165
8166 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
8167 "p func1 ()" and note that rests of tests are skipped.
8168 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
8169 setup_xfails for "print func2::coremaker_local".
8170 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
8171 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
8172 affected by the previous run test.
8173 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
8174 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
8175 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
8176 "pass int powerset tuple" and "pass modeless int powerset tuple".
8177 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
8178 "real write 4" and "real write 8".
8179 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
8180 setup_xfails for "print vs1 after tuple assign 2",
8181 "print \$i after tuple assign 2", and
8182 "print vs2 after tuple assign 2".
8183 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
8184 meaningful error message and return -1 so the caller can
8185 suppress further tests and avoid a cascade of errors.
d63a86f8 8186
c906108c
SS
8187Fri Sep 27 10:34:51 1996 Fred Fish <fnf@cygnus.com>
8188
8189 * gdb.base/a1-selftest.exp: Tweak tests to account for new
8190 format for printing version.
8191 * gdb.base/default.exp: Ditto.
8192 * gdb.base/interrupt.exp: Fix problem with cascade of
8193 errors if child process dies while calling a function.
d63a86f8 8194
c906108c
SS
8195Fri Sep 13 21:43:48 1996 Fred Fish <fnf@cygnus.com>
8196
8197 * Makefile.in (VPATH): Add
8198 * Makefile.in (Makefile, config.status): Fix rules so things get
8199 remade when necessary.
8200
8201Fri Sep 13 18:16:10 1996 Fred Fish <fnf@cygnus.com>
8202
8203 * Makefile.in (just-check): Add path to sibling expect dir
8204 to environment variable specified by RPATH_ENVVAR.
8205
8206Fri Sep 13 12:05:34 1996 Fred Fish <fnf@cygnus.com>
8207
8208 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
8209 (just-check): Add shared library paths for libstdc++, tk,
8210 tcl, bfd, and opcodes to the environment variable specified
8211 in RPATH_ENVVAR.
8212 * configure.in: Add support to recognize --enable-shared flag
8213 and generate correct value for RPATH_ENVVAR.
8214 * configure: Regenerated with autoconf.
8215
8216Mon Sep 2 06:36:02 1996 Fred Fish <fnf@cygnus.com>
8217
8218 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
8219 include all osf versions.
8220 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
8221 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
8222 when target is linux. When failing to build pthreads test
8223 executable, give more meaningful message.
8224 * gdb.threads/pthreads.c: Hpux also uses old definition of second
8225 arg for pthread_create.
d63a86f8 8226
c906108c
SS
8227Mon Aug 19 09:58:59 1996 Fred Fish <fnf@cygnus.com>
8228
8229 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
8230 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
8231 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
8232 and -lpthreads (everybody else).
8233 (test_startup): Fail gracefully if threads are not supported.
8234 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
8235 "p/c array_index("abcdef",2)" when not gcc compiled.
8236 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
8237 "print func2::coremaker_local" when not gcc compiled.
8238 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
8239 "ptype on opaque struct tagname (statically)",
8240 "ptype on opaque struct tagname (dynamically) 1", and
8241 "ptype on opaque struct tagname (dynamically) 2"
8242 for not compiled with gcc.
8243 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
8244 backtrace when compiled with gcc.
d63a86f8 8245 * lib/gdb.exp (runto_main): Return result of "runto main" rather
c906108c
SS
8246 than always return success.
8247
8248Sat Aug 17 13:28:00 1996 Fred Fish <fnf@cygnus.com>
8249
8250 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
8251
8252Tue Aug 13 10:26:10 1996 Jeffrey A Law (law@cygnus.com)
8253
8254 * gdb.base/structs.exp: Undo last change.
8255
8256Mon Aug 12 15:29:08 1996 Fred Fish <fnf@cygnus.com>
8257
8258 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
8259 encapsulate all the steps/nexts done during self test, starting
8260 at main, and makes them less sensitive to optimization issues.
8261 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
8262 signal handler" test.
8263 * gdb.threads/pthreads.exp: Only run this for native configs.
8264 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
8265 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
8266 tests.
8267 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
8268 for "runto test_calls(void)" test.
d63a86f8 8269
c906108c
SS
8270Sun Aug 11 13:11:24 1996 Fred Fish <fnf@cygnus.com>
8271
8272 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
8273 and don't expect address info in breakpoint confirmations.
8274
8275Wed Aug 7 20:47:43 1996 Fred Fish <fnf@cygnus.com>
8276
8277 * gdb.base/list.exp (test_forward_search): Increase timeout
8278 temporarily by 60 seconds for searching extremely long line,
8279 and then reset to old value when done. Increase expect input
8280 buffer to 10000.
8281
8282Wed Aug 7 15:34:22 1996 Fred Fish <fnf@cygnus.com>
8283
8284 * gdb.base/list.exp (test_forward_search): Fix to handle very
8285 long source line without overflowing expect's input buffer.
8286
8287Wed Aug 7 12:03:25 1996 Tom Tromey <tromey@creche.cygnus.com>
8288
8289 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
8290 "buffer_full".
8291
8292 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
8293 "buffer_full".
8294
8295 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
8296 "buffer_full".
8297
8298 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
8299 "buffer_full".
8300
8301Wed Aug 7 11:05:47 1996 Fred Fish <fnf@cygnus.com>
8302
8303 * configure.in (configdirs): Add gdb.threads.
8304 * configure: Regenerated with autoconf.
8305 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
8306 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
8307 * gdb.threads/configure: New, generated with autoconf.
d63a86f8 8308
c906108c
SS
8309Tue Aug 6 10:23:04 1996 Tom Tromey <tromey@rtl.cygnus.com>
8310
8311 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
8312
8313Mon Aug 5 18:11:53 1996 Fred Fish <fnf@cygnus.com>
8314
8315 * gdb.base/signals.exp (test_handle_all_print): Test separately for
8316 each signal's status in the output of "handle all print".
8317 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
8318 the \r\n sequence that immediately precedes the gdb prompt.
8319 * gdb.base/a1-selftest.exp: Save original timeout and restore
8320 after test.
8321
8322Sun Aug 4 10:20:50 1996 Jeffrey A Law (law@cygnus.com)
8323
8324 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
8325 symbol.
8326
8327Fri Aug 2 17:37:26 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
8328
8329 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
8330
8331Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
8332
8333 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
8334 timeout by 60 seconds.
8335
8336Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
8337
8338 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
8339 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
8340 error return.
8341
8342Thu Jun 27 10:54:58 1996 Fred Fish <fnf@cygnus.com>
8343
8344 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
8345 gdb initialization, also report how long dejagnu waited. Restore
8346 old timeout before doing error return. Temporarily increase timeout
8347 by 3 minutes to allow for slow startups over heavy NFS use.
8348
8349Tue Jun 25 19:59:17 1996 Fred Fish <fnf@cygnus.com>
8350
8351 * lib/gdb.exp: Report timeout value for verbosity level 2.
8352 * config/gdbserver.exp: Ditto.
8353 * config/hppro.exp: Ditto.
8354 * config/mips-gdb.exp: Ditto.
8355 * config/monitor.exp: Ditto.
8356 * config/netware.exp: Ditto.
8357 * config/sim-gdb.exp: Ditto.
8358 * config/slite-gdb.exp: Ditto.
8359 * config/udi-gdb.exp: Ditto.
8360 * config/unix-gdb.exp: Ditto.
8361 * config/vx-gdb.exp: Ditto.
8362 * gdb.base/a1-selftest.exp: Ditto.
8363 * gdb.base/a2-run.exp: Ditto.
8364 * gdb.base/break.exp: Ditto.
8365 * gdb.base/corefile.exp: Ditto.
8366 * gdb.base/list.exp: Ditto.
8367 * gdb.base/recurse.exp: Ditto.
8368 * gdb.base/scope.exp: Ditto.
8369 * gdb.base/signals.exp: Ditto.
8370
8371Tue Jun 25 23:16:58 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
8372
8373 * gdb.threads/Makefile.in (docdir): Removed.
8374
8375Tue Jun 25 17:02:39 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
8376
8377 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
d63a86f8 8378 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
c906108c 8379 @srcdir@.
d63a86f8 8380 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
c906108c
SS
8381 autoconf 2.5 or higher.
8382 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
8383
8384Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
8385
8386 * configure: Regenerated.
8387 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
8388 avoid name clashes with SunOS headers.
8389
8390Wed Jun 5 16:43:27 1996 Jeffrey A Law (law@cygnus.com)
8391
8392 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
8393
8394Thu May 30 11:35:11 1996 Jeffrey A Law (law@cygnus.com)
8395
8396 * gdb.base/callfuncs.exp: Finish last change -- make sure the
8397 prototype information ends up in the compiler info file.
8398
8399Thu May 23 12:48:41 1996 Fred Fish <fnf@cygnus.com>
8400
8401 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
8402 attempting to regenerate it. Eliminate use of a temporary file
8403 and just generate the info file directly. Source it immediately,
8404 for consistency of use.
8405 * gdb.base/corefile.exp: Ditto
8406 * gdb.base/exprs.exp: Ditto.
8407 * gdb.base/funcargs.exp: Ditto.
8408 * gdb.base/langs.exp: Ditto.
8409 * gdb.base/list.exp: Ditto.
8410 * gdb.base/mips_pro.exp: Ditto.
8411 * gdb.base/nodebug.exp: Ditto.
8412 * gdb.base/opaque.exp: Ditto.
8413 * gdb.base/ptype.exp: Ditto.
8414 * gdb.base/scope.exp: Ditto.
8415 * gdb.base/setvar.exp: Ditto.
8416 * gdb.base/signals.exp: Ditto.
8417 * gdb.base/whatis.exp: Ditto.
8418 * gdb.c++/templates.exp: Ditto.
8419 * gdb.c++/virtfunc.exp: Ditto.
8420 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
8421 whether or not to add -lstdc++ to the compile command line args.
8422
8423Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8424
8425 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
8426 it got fixed by the recent lookup_minimal_symbol_by_pc change.
8427 Increase timeout, a lot of single stepping might be needed if the
8428 target has no hardware watchpoints.
8429
8430Wed May 15 08:47:42 1996 Jeffrey A Law (law@cygnus.com)
8431
8432 * gdb.base/break.exp: Ignore compiler warnings when compiling
8433 break.c.
8434 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
8435 * gdb.base/default.exp: Add h8300 xfails. Handle messages
8436 from remote-sim.
8437 * gdb.base/exprs.exp: Add h8300 xfails.
8438 * gdb.base/funcargs.exp: Likewise.
8439 * gdb.base/nodebug.exp: Likewise.
8440 * gdb.base/printcmds.exp: Likewise.
8441 * gdb.base/ptype.exp: Likewise.
8442 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
8443 h8300 xfails.
d63a86f8 8444 * gdb.base/return.exp: Handle float/double precision problems
c906108c
SS
8445 on the h8300.
8446 * gdb.base/funcargs.c: Explicitly make last constant argument to
8447 call_after_alloca_subr an unsigned long type.
8448 * gdb.base/return.c: Include stdio.h.
8449
8450Tue May 7 22:01:12 1996 Rob Savoye <rob@chinadoll.cygnus.com>
8451
8452 * config/abug.exp: New file for the older Motorola Bug monitor
8453 that runs on the mvme13x series VME boards.
8454 * config/monitor.exp: Use the new config array for target settings
8455 if they exist.
8456
8457Fri May 3 16:02:55 1996 Stan Shebs <shebs@andros.cygnus.com>
8458
8459 * sim-gdb.exp: Make the SH simulator allocate less space when
8460 it is targeted.
8461
8462Thu May 2 12:31:56 1996 Jeffrey A Law (law@cygnus.com)
8463
8464 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
8465 test.
8466
8467Wed Mar 20 08:48:03 1996 Fred Fish <fnf@cygnus.com>
8468
8469 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
8470 "rs6000-*-*" for "list function in include file" when gcc compiled.
8471 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
8472 for "p ctable1[120]".
8473 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
8474 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
8475 Remove setup_xfail for "rs6000-*-*" for
8476 "print 'scope0.c'::filelocal before run".
8477 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
8478 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
8479 since some compilers don't allow both options to be given
8480 on the same command line. Create object file and move it.
d63a86f8 8481
c906108c
SS
8482Tue Mar 19 23:49:31 1996 Fred Fish <fnf@cygnus.com>
8483
8484 * gdb.base/corefile.exp: Always regenerate the core file, since
8485 we always regenerate the coremaker program. Detect special case
8486 where registers cannot be read from core file.
d63a86f8 8487
c906108c
SS
8488Tue Mar 19 16:52:49 1996 Fred Fish <fnf@cygnus.com>
8489
8490 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
8491 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
8492 * gdb.c++/templates.exp: Only match on basename of file since
8493 some formats like xcoff don't encode directory information.
8494 * gdb.stabs/weird.exp: Use the right sed script for powerpc
8495 and rs6000 AIX xcoff targets.
8496 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
8497 * configure: Regenerate.
8498 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
8499 here, rather than in distclean.
d63a86f8 8500
c906108c
SS
8501Sun Mar 17 13:35:31 1996 Fred Fish <fnf@cygnus.com>
8502
8503 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
8504 defined, and use it to compile the test case with -O2. The
8505 native compilation still uses no optimization.
8506 * gdb.base/mips_pro.c: Remove inline assembly code since
8507 it is compiled PIC by default, which results in assembler
8508 warnings that make the testsuite think the compilation
8509 was unsuccessful.
8510
8511Sat Mar 16 15:02:24 1996 Fred Fish <fnf@cygnus.com>
8512
8513 * gdb.c++/misc.exp: Add note to message for
8514 "print s.a for foo struct" that this is a known gcc 2.7.2
8515 and earlier bug.
8516
8517Fri Mar 15 17:49:57 1996 Fred Fish (fnf@cygnus.com)
8518
8519 * gdb.base/break.exp: Fix pattern for matching "Delete all
8520 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
8521 setup_xfail for deleting all breakpoints test. Fix various
8522 timeout messages to include "(timeout)".
8523 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
8524 for "p t_float_values2(3.14159,float_val2)".
8525 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
8526 for "continue to call2g" when gcc compiled.
8527 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
8528 "up to foo in langs.exp", "show language at foo in langs.exp",
8529 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
8530 and "show language at fsub in langs.exp".
8531 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
8532 "list line 1 in include file", "list message for lines past EOF",
8533 "list function in include file", "list list0.h:foo", and
8534 "list filename:function; nonexistant function".
8535 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
8536 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
8537 and "ptype t_char_array" to be for native cc only.
d63a86f8 8538
c906108c
SS
8539Fri Mar 15 16:17:22 1996 Fred Fish <fnf@cygnus.com>
8540
d63a86f8 8541 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
c906108c
SS
8542 setup_xfail for "print coremaker_bss", "print coremaker_ro",
8543 "print func2::coremaker_local", and "backtrace in corefile.exp".
8544
8545Wed Mar 13 14:54:11 1996 Fred Fish <fnf@cygnus.com>
8546
8547 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
8548 "bt in signals.exp". This problem only appears when running
8549 the testsuite, and then only intermittently.
8550
8551Tue Mar 12 15:00:16 1996 Stan Shebs <shebs@andros.cygnus.com>
8552
8553 * gdb.base/return.exp (return_tests): Differentiate between
8554 two tests of continuing.
8555
8556Tue Mar 5 14:33:33 1996 Stan Shebs <shebs@andros.cygnus.com>
8557
8558 * */Makefile.in (maintainer-clean): Remove config.log.
8559 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
8560 * gdb.c++/Makefile.in (PROGS): Add inherit.
8561 (clean): Remove *.ci.
8562
8563Tue Feb 20 16:36:10 1996 Fred Fish <fnf@cygnus.com>
8564
8565 * gdb.c++/misc.cc: Add test code from Mike Stump.
8566 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
8567
8568Sun Feb 18 11:39:12 1996 Fred Fish <fnf@cygnus.com>
8569
8570 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
8571 to "alpha-*-osf2*" and add comment.
8572 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
8573 setup_xfail for "step over execarg initialization" and
8574 "step over corearg initialization".
8575 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
8576 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
8577 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
8578 gcc compiled for "print coremaker_bss", "print coremaker_ro",
8579 "print func2::coremaker_local", and "backtrace in corefile.exp".
8580 * gdb.base/signals.exp: Build and source signals.ci.
8581 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
8582 to be for gcc only.
8583 * lib/gdb.exp: Move verbose statements outside conditionals.
d63a86f8 8584
c906108c
SS
8585Sat Feb 17 02:22:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8586
8587 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
8588 Feb 3 procfs.c change.
8589
8590Fri Feb 16 13:25:31 1996 Fred Fish <fnf@cygnus.com>
8591
8592 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
8593
8594Thu Feb 15 08:12:55 1996 Fred Fish <fnf@cygnus.com>
8595
8596 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
8597 from dejagnu's apparent default of 10 seconds, which gives random
8598 results when running the tests over NFS on moderately loaded systems.
8599 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
8600
8601Mon Feb 12 16:50:28 1996 Fred Fish <fnf@cygnus.com>
8602
8603 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
8604 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
8605 result reports.
8606
8607Fri Feb 9 15:56:51 1996 Fred Fish <fnf@cygnus.com>
8608
8609 * configure.in (CY_AC_PATH_TCLH): Remove.
8610 * configure: Regenerate.
8611
8612Fri Feb 9 08:21:31 1996 Fred Fish <fnf@cygnus.com>
8613
8614 * gdb.c++/Makefile.in (clean): Add missing '{'.
8615
8616Fri Feb 2 10:19:40 1996 Jeffrey A Law (law@cygnus.com)
8617
8618 * lib/gdb.exp: Provide a default value for noinferior.
8619
8620 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
8621 Load libgloss.exp.
8622
8623Thu Feb 1 20:20:14 1996 Jeffrey A Law (law@cygnus.com)
8624
8625 * gdb.disasm/hppa.exp: Compile directly into an executable, use
8626 the executable, not the .o to run the tests from.
8627
8628Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com)
8629
8630 * gdb.base/break.exp: Don't test for program exit or exit status
8631 if $noresults if nonzero.
8632 * gdb.base/langs.exp: Likewise.
8633 * gdb.base/watchpoint.exp: Likewise.
8634
8635 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
8636 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
8637 trying to compile the testcase.
8638
8639Wed Jan 24 23:42:39 1996 Doug Evans <dje@charmed.cygnus.com>
8640
8641 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
8642 * gdb.base/signals.exp (continue to handler): Likewise.
8643
8644Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
8645
8646 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
8647
8648 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
8649
8650Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
8651
8652 * gdb.base/corefile.exp: Recognize "not found" as failure
8653 when trying to determine if a core file was generated.
8654 If no core file was generate the first time, try again without
8655 the ulimit -c to work around braindamaged shells.
8656
8657Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
8658
8659 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
8660 [] tests with "test" and enclose string in quotes.
8661 * gdb.stabs/configure: Rebuild
d63a86f8 8662
c906108c
SS
8663Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
8664
8665 Changes in sync with expect:
8666 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
8667 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
8668 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
8669 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
8670 argument to AC_REQUIRE.
8671 * configure: Regenerated.
8672
8673Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
8674
8675 * gdb.base/corefile.exp: When generating a core, discard any
8676 error messages about ulimit not found and the "core dumped"
8677 message from the shell that runs the coredumper.
8678
8679Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
8680
8681 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
8682
8683 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
8684 which sed script to run. Expect failure for v_comb test
8685 on PA targets too.
d63a86f8 8686
c906108c
SS
8687Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
8688
8689 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
8690 "print func2::coremaker_local" and for "backtrace in corefile.exp"
8691
8692Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
8693
8694 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
8695 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
8696 "sparc-sun-solaris*" xfails for "p v_comb".
8697 * lib/gdb.exp (default_gdb_start): Fix typo.
8698 * gdb.base/corefile.exp: Allow "Core was generated by ..."
8699 messages to not include the full program name that caused
8700 the core dump since some systems (such as solaris) apparently
8701 truncate this path to about 80 characters.
8702 When generating a core file first try increasing the core file
8703 size limit to unlimited since some systems may default it to
8704 zero, and it is harmless to try it. Move the test for failing
8705 to generate a core file to where it will actually get executed.
8706 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
8707 new gdb result from g++ debug info improvements and make old
8708 pattern obsolescent. Also account for size_t differences
8709 (may be int or long).
8710 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
8711 initialization before function call is placed in the delay slot
8712 and thus appears to be skipped over by commands such as "next".
8713
8714Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
8715
8716 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
8717
8718Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
8719
8720 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
8721 input source file; fix code to compile test to deal with this
8722 convention.
8723 * gdb.c++/*.exp: Likewise.
8724
8725Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
8726
8727 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
8728 "bt in signals.exp".
8729
8730Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
8731
8732 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
8733 "step over execarg initialization" and
8734 "step over corearg initialization".
8735
8736Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
8737
8738 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
8739 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
8740
8741Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
8742
8743 From Rob Savoye (rob@poseidon.cygnus.com)
8744 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
8745 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
8746 configure.in}, gdb.disasm/{Makefile.in, configure.in},
8747 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
8748 configure.in}: Major reworking for autoconfig.
8749 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
8750 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
8751 New files.
8752 * config/unix-gdb.exp: Make GDB global.
8753 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
8754 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
8755 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
8756 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
8757 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
8758 term.exp, twice.exp, watchpoint.exp, whatis.exp},
8759 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
8760 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
8761 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
8762 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
8763 pr-8136.exp, result.exp, string.exp, tuples.exp},
8764 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
8765 to returns as necessary, arrange for test to compile own testcase
8766 executable.
8767 * lib/gdb.exp: Changes for testsuite to compile own test cases.
d63a86f8 8768
c906108c
SS
8769Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
8770
8771 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
8772 clear_xfail at end of test which might not call either pass or fail.
8773 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
8774 "backtrace through signal handler".
8775
8776Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8777
8778 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
8779 continuing from a job control stop signal.
8780 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
8781
8782Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
8783
8784 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
8785 * gdb.base/corefile.exp: Likewise.
8786 * gdb.base/funcargs.exp: Likewise.
8787
8788Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
8789
8790 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
8791 * config/monitor.exp: Add support for setting baud rate.
8792
8793Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
8794
8795 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
8796 i*86-*-linux* xfails for "backtrace through signal handler".
8797 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
8798 "print func2::coremaker_local".
8799 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
8800 alpha-dec-osf2* xfail for
8801 "delete all breakpoints when none".
8802
8803Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
8804
8805 * gdb.base/break.exp: Change test that deletes all breakpoints
8806 when no user breakpoints are installed. A post 4.15 change
8807 causes gdb to no longer prompt in this case.
8808
8809Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
8810
8811 * gdb.base/return.exp (return_tests): Change xfail for test
8812 "correct value returned double test" to stop xfailing at
8813 Solaris 2.5. Apparently the bug has been fixed.
8814
8815Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
8816
8817 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
8818 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
8819
8820Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
8821
8822 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
8823 * gdb.disasm/hppa.s: Corresponding changes.
8824
8825Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
8826
8827 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
8828 makefile fragment.
8829 * config/mt-hpux: Deleted.
8830
8831Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
8832
d63a86f8 8833 * Many files: When warning about suppressed tests due to a
c906108c
SS
8834 nonexistant test binary, avoid incrementing the warning count.
8835
8836Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
8837
8838 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
d63a86f8 8839
c906108c
SS
8840Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8841
8842 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
8843 "sparc-*-solaris2*".
8844
8845Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8846
8847 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
8848 Add global and local variables and initialize them.
8849 * gdb.base/corefile.exp: Test correct mapping of corefile sections
8850 by printing variables. Remove rs6000 and powerpc xfails, BFD now
8851 extracts the file name and terminating signal from the core file.
8852 * TODO: Remove note about tests for correct mapping of corefile.
8853 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
8854 from optimizing it away.
8855 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
8856 handles common blocks.
8857
8858Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
8859
8860 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
8861 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
8862
8863Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
8864
8865 * Makefile.in (maintainer-clean): New target, synonym for
8866 realclean.
8867 * gdb.base/Makefile.in (maintainer-clean): Likewise.
8868 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
8869 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
8870 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
8871 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
8872 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
8873
8874Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
8875
8876 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
8877 xfails when not gcc compiled for "print foo::funclocal".
8878 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
8879 "print foo::funclocal at foo",
8880 "print 'scope1.c'::foo::funclocal at foo",
8881 "print foo::funclocal_bss at foo",
8882 "print 'scope1.c'::foo::funclocal_bss at foo",
8883 "print foo::funclocal_ro at foo",
8884 "print 'scope1.c'::foo::funclocal_ro at foo",
8885 "print bar::funclocal at foo" and
8886 "print 'scope1.c'::bar::funclocal at foo".
8887 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
8888 gcc compiled for "print foo::funclocal at bar".
8889 Expand all messages to ensure that they identify that
8890 the test is at bar().
8891 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
8892 gcc compiled for:
8893 "ptype on opaque struct pointer (statically)",
8894 "ptype on opaque struct tagname (statically)",
8895 "ptype on opaque struct pointer (dynamically) 1",
8896 "ptype on opaque struct tagname (dynamically) 1",
8897 "ptype on opaque struct pointer (dynamically) 2" and
8898 "ptype on opaque struct tagname (dynamically) 2
8899 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
8900 gcc compiled for:
8901 "p datalocal"
8902 "whatis datalocal",
8903 "ptype datalocal",
8904 "p bsslocal",
8905 "whatis bsslocal", and
8906 "ptype bsslocal".
8907 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
8908 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
8909 when not gcc compiled.
8910 * gdb.base/funcargs.exp (float_and_integral_args): Add
8911 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
8912 compiled.
8913 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
8914 "backtrace from call6a" when not gcc compiled.
8915 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
8916 "backtrace from call7a" when not gcc compiled.
8917 * gdb.base/callfuncs.exp (do_function_calls):
8918 Add "hppa*-*-hpux*" xfail when not gcc compiled for
8919 "p t_char_array_values(char_array_val2,char_array_val1)",
8920 "p t_char_array_values(char_array_val1,char_array_val2)",
8921 "p t_char_array_values("carray 1","carray 2")",
8922 "p t_char_array_values("carray 1",char_array_val2)",
8923 "p t_char_array_values(char_array_val1,"carray 2")",
8924 "p sum_args(1,{2})",
8925 "p sum_args(2,{2,3})",
8926 "p sum_args(3,{2,3,4})",
8927 "p sum_args(4,{2,3,4,5})"
8928 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
8929 "backtrace in corefile.exp" when not gcc compiled.
8930
8931Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8932
8933 * gdb.base/signals.exp: Rewrite `handle all print' test as
8934 a procedure. Accept blanks or TABs as whitespace, increase
8935 timeout and expect input buffer size for the large output
8936 from the command. Remove "i*86-*-bsdi2.0" xfail.
8937
8938Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8939
8940 * gdb.base/setvar.exp: Add new testcases for truncation when
8941 assigning invalid values to bitfields.
8942
8943Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
8944
d63a86f8 8945 * gdb.base/callfuncs.exp (do_function_calls): Remove
c906108c
SS
8946 mips-sgi-irix* xfail for
8947 "call inferior func with struct - returns char *"
8948 and fix test so that an optional (unsigned char *) cast is
8949 accepted in the result.
8950
8951Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
8952
8953 * gdb.base/funcargs.exp (float_and_integral_args): Remove
8954 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
8955 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
8956 * gdb.base/signals.exp: Remove duplicate "handle all print" test
8957 that accidentally got checked in.
8958
8959Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
8960
d63a86f8 8961 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
c906108c
SS
8962 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
8963 compiled test.
8964 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
8965 Add mips-sgi-irix5* xfail for not gcc compiled.
8966 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
8967 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc compiled for
8968 "p top", "whatis top", "p middle", and "whatis middle".
8969 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
8970 "whatis signed char" for not gcc compiled.
8971 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
8972 "set variable signed char=-1 (-1)" and
8973 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
8974 * gdb.base/funcargs.exp (float_and_integral_args):
8975 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
8976 Add mips-sgi-irix* xfail when not gcc compiled for
8977 "continue to call2b".
8978 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
8979 "continue to call2g".
8980 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc compiled for
8981 "backtrace from call6a"
8982 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc compiled for
8983 "backtrace from call7k".
8984 Add mips-sgi-irix5* xfail when not gcc compiled for
8985 "backtrace from call7a".
8986 (localvars_after_alloca): Fix gdb_test cmds for
8987 "print * after runto ...".
8988 Remove rs6000-*-* xfails for
8989 "print i after runto localvars_after_alloca" and
8990 "print l after runto localvars_after_alloca"
8991 for all compilers.
8992 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
8993 when not compiled with gcc, for:
8994 "print signed char == (minus)",
8995 "print signed char != (minus)",
8996 "print signed char < (minus)",
8997 "print signed char > (minus)".
8998 * gdb.base/callfuncs.exp (do_function_calls):
8999 Add mips-sgi-irix* xfail, when compiled with native compiler, for
9000 "call inferior func with struct - returns char *".
d63a86f8 9001 * gdb.base/return.exp (return_tests): Change xfail for
c906108c
SS
9002 "correct value returned double test" to include Solaris 2.4.
9003 * gdb.base/funcargs.exp (float_and_integral_args):
9004 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
d63a86f8 9005
c906108c
SS
9006Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9007
9008 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
9009 enumeration bitfields if compiling with GNU C.
9010 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
9011 to empty' prompt.
9012
9013Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
9014
9015 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
9016 test for PRO targets.
9017
9018 * gdb.base/funcargs.exp: Avoid ever setting more than 8
9019 breakpoints in the inferior at any given time by making
9020 two groups of breakpoints for call2*, call6* and call7*
9021 tests.
9022
9023Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9024
9025 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
9026 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
9027 from optimizing it away.
9028 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
9029 "call inferior func with struct".
9030
9031Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
9032
9033 * configure.in: Only configure gdb.chill for particular targets.
9034
9035Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
9036
9037 * gdb.base/Makefile.in: Add action to .c.o transformation
9038 rule that generates a .ci file for each .o file and remove
9039 explicit .c.o rules except for callfuncs.o.
9040 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
9041 generates a .ci file for each .o file and remove explicit
9042 .cc.o rules.
9043 (clean): Remove *.tmp *.ci files.
9044 (EXECUTABLES): Remove templ-info.exp.
9045 * gdb.base/compiler.c: New file.
9046 * gdb.c++/compiler.cc: New file
9047 * gdb.base/scope.exp: Source gdb.base/scope.ci.
9048 Change rs6000-*-* xfail for
9049 "print 'scope0.c'::filelocal_ro" and
9050 "print 'scope1.c'::filelocal" and
9051 "print 'scope1.c'::filelocal_bss" and
9052 "print 'scope1.c'::filelocal_ro" and
9053 "print 'scope1.c'::foo::funclocal" and
9054 "print 'scope1.c'::foo::funclocal_ro" and
9055 "print 'scope1.c'::bar::funclocal" and
9056 "print 'scope0.c'::filelocal_ro" and
9057 "print 'scope1.c'::filelocal at foo" and
9058 "print 'scope1.c'::filelocal_bss at foo" and
9059 "print 'scope1.c'::filelocal_ro at foo" and
9060 "print 'scope1.c'::foo::funclocal at foo" and
9061 "print 'scope1.c'::foo::funclocal_bss at foo" and
9062 "print 'scope1.c'::foo::funclocal_ro at foo" and
9063 "print 'scope1.c'::bar::funclocal at foo" and
9064 "print 'scope0.c'::filelocal_ro" and
9065 "print 'scope1.c'::filelocal" and
9066 "print 'scope1.c'::filelocal_bss" and
9067 "print 'scope1.c'::filelocal_ro" and
9068 "print 'scope1.c'::foo::funclocal" and
9069 "print 'scope1.c'::foo::funclocal_bss" and
9070 "print 'scope1.c'::foo::funclocal_ro" and
9071 "print 'scope1.c'::bar::funclocal" and
9072 "print 'scope1.c'::bar::funclocal_bss"
9073 to only be xfail'd when not compiled with gcc.
d63a86f8 9074 Add rs6000-*-* xfail for
c906108c
SS
9075 "print 'scope0.c'::filelocal_bss before run"
9076 when compiled with gcc.
9077 (test_at_main): Add rs6000-*-* xfail for
9078 "print filelocal_ro in test_at_main"
9079 when compiled with gcc.
9080 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
d63a86f8 9081 Add rs6000-*-aix* xfail for
c906108c
SS
9082 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
9083 "ptype t_char_array", not compiled with gcc.
9084 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
9085 xfail for "list foo (in include file)" when gcc compiled.
9086 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
9087 (integral_args): Add rs6000-*-* xfail for
9088 "run to call0a" if not compiled with gcc.
9089 (unsigned_integral_args): Add rs6000-*-* xfail for
9090 "run to call1a" if not compiled with gcc.
9091 (float_and_integral_args): Add rs6000-*-* xfail for
9092 "run to call2a" if not compiled with gcc and for
9093 "continue to call2b" for any compiler.
9094 Add rs6000-*-* xfail to
9095 "print f1 after run to call2a" for gcc compiled.
9096 (discard_and_shuffle): Add rs6000-*-* xfail for
9097 "run to call6a".
9098 (shuffle_round_robin): Add rs6000-*-* xfail for
9099 "backtrace from call7a" if not compiled with gcc.
9100 Add rs6000-*-* xfail for
9101 "backtrace from call7b" if compiled with gcc.
9102 (call_after_alloca): Add rs6000-*-* xfail for
9103 "print c in call_after_alloca" and
9104 "print s in call_after_alloca" and
9105 "backtrace from call_after_alloca_subr"
9106 if not compiled with gcc.
9107 (localvars_in_indirect_call): Add rs6000-*-* xfail for
9108 "print c in localvars_in_indirect_call" and
9109 "print c in localvars_in_indirect_call" and
9110 "backtrace in indirectly called function" and
9111 "stepping into indirectly called function"
9112 if not compiled with gcc.
9113 (localvars_after_alloca): Add rs6000-*-* xfail for
9114 "print c after runto localvars_after_alloca" and
9115 "print s after runto localvars_after_alloca" and
9116 "print i after runto localvars_after_alloca" and
9117 "print l after runto localvars_after_alloca"
9118 for all compilers.
9119 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
9120 than whatis-info.exp.
9121 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
9122 than opaque-info.exp.
9123 Setup rs6000-*-* xfail for
d63a86f8 9124 "ptype on opaque struct pointer (statically)" and
c906108c
SS
9125 "ptype on opaque struct pointer (dynamically)" when
9126 not compiled with gcc.
9127 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
9128 rather than callf-info.exp.
9129 (do_function_calls): Add clear_xfail for rs6000-*-* for
9130 "p t_float_values2(3.14159,float_val2)". Seems to work
9131 fine there, both with xlc and gcc. Need to find out what
9132 it is doing right and fix other platforms.
9133 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
9134 "call inferior func with struct - returns int",
9135 "call inferior func with struct - returns long",
9136 "call inferior func with struct - returns float",
9137 "call inferior func with struct - returns double",
9138 "call inferior func with struct - returns char *",
9139 but only if not gcc compiled (presumes xlc compiled).
9140 Change rs6000-*-* xfails for
9141 "call inferior func with struct - returns char" and
9142 " call inferior func with struct - returns short" to only
9143 xfail if not using gcc.
9144 (clean mostlyclean): Remove *.ci and *.tmp files.
9145 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
9146 than templ-info.exp.
9147 * gdb.base/langs.exp: Source gdb.base/langs.ci.
9148 Add rs6000-*-* xfail for "up to foo in langs.exp"
9149 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
9150 when not gcc compiled.
d63a86f8 9151
c906108c
SS
9152Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
9153
9154 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
9155 * gdb.base/corefile.exp: Likewise.
9156 * gdb.base/list.exp: Likewise.
9157 * gdb.base/scope.exp: Likewise.
9158 * gdb.base/siganls.exp: Likewise.
9159
9160 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
9161 compiler output.
9162 * gdb.base/whatis.exp: Likewise.
9163
9164Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
9165
9166 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
9167 failure (opcode table has been fixed to match reality).
9168
9169Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
9170
9171 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
9172 "call inferior func with struct - returns char",
9173 "call inferior func with struct - returns short"
9174
9175 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
9176 "print 'scope0.c'::filelocal at main",
9177 "print 'scope0.c'::filelocal_bss in test_at_main",
9178 "print 'scope0.c'::filelocal at foo",
9179 "print 'scope0.c'::filelocal_bss in test_at_foo",
9180 "print 'scope0.c'::filelocal at bar",
9181 "print 'scope0.c'::filelocal_bss in test_at_bar"
d63a86f8 9182
c906108c
SS
9183 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
9184 in source file 1". This bug seems to have been fixed with both
9185 gcc and native cc (was native assembler bug?).
9186
9187Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
9188
9189 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
9190 "backtrace through signal handler" to "i*86-*-sysv4*".
9191 * gdb.base/signals.exp: Add xfail for "'next' behaved as
9192 continue" case. Add "known SVR4 bug" to fail message.
9193 Add "i*86-*-bsdi2.0" xfail for "handle all print".
9194 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
9195 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
9196 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
9197 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
9198 "up to foo in langs.exp", "show language at foo in
9199 langs.exp", "up to cppsub_ in langs.exp", "show
9200 language at cppsub_ in langs.exp", "up to fsub in
9201 langs.exp", and "show language at fsub in langs.exp".
9202 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
9203 "bactrace in corefile.exp".
9204 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
9205 "call inferior function with struct - returns float" and
9206 "call inferior function with struct - returns double".
d63a86f8 9207
c906108c
SS
9208Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
9209
9210 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
9211 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
9212 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
9213 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
9214
9215Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
9216
9217 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
9218 (or overriden) "CHILL" macro rather then bare "gcc".
9219 Also look for ../../gcc/xgcc since that is what we will
9220 actually need, not "Makefile". Remove following assignment
9221 of CHILL to CHILL_FOR_TARGET because that results in
9222 recursive definition.
9223
9224Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
9225
9226 * gdb.base/corefile.exp: Change xfail for backtrace in
9227 corefile.exp from linuxaout to all linux.
9228 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
9229 cases where we miss the breakpoint at the signal handler
9230 for some reason. Setup xfail for linuxoldld/linuxaout and
9231 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
9232 hitting SIGURG breakpoint.
9233 * gdb.base/signals.exp: Setup xfail for "next" acting like
9234 continue to add linuxoldld. Setup xfail for all linux for
9235 "next to handler in signals_tests_1", "backtrace in
9236 signals_tests_1", "continue to func1", "pass SIGUSR1",
9237 and continue to handler".
9238
9239Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
9240
9241 * Update all FSF addresses except those in COPYING* files.
9242
9243Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
9244
9245 * gdb.base/a2-run.exp: Change messages to be more explicit about
9246 the status of args, and quote binfile in results.
9247
9248Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
9249
9250 * gdb.base/callfuncs.exp: Add tests for passing structs to
9251 inferior functions and return various types.
9252 * gdb.base/callfuncs.c: Add functions to receive a struct
9253 and return a member of the struct, in various types.
9254
9255Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9256
9257 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
9258
9259Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
9260
9261 * config/vxworks29k.exp: New file, sources vxworks.exp.
9262
9263Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
9264
9265 * config/gdbremote.exp: New file. Testing framework using
9266 gdbserver.
9267
9268Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
9269
9270 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
9271 "call function when asleep" and "send end of file".
9272 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
9273 for "backtrace in corefile.exp".
9274 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
9275 for "backtrace through signal handler".
9276 * gdb.base/corefile.exp: Make sure we actually generate a core file
9277 before trying the core tests. Some systems allow the user to suppress
9278 generation of core files and default to that (linux for example).
9279 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
9280 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
9281
9282Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
9283
9284 * gdb.threads: New directory with some crude multi-threaded
9285 gdb tests (step.exp and step2.exp).
9286 * config/mt-lynx (STEP_EXECUTABLE): Define.
9287 (THREADFLAGS): Define.
9288
9289Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
9290
9291 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
9292
9293 * gdb.base/signals.exp: Disable whole file for lynx until
9294 further notice.
9295
9296 * gdb.base/signals.exp: xfail test where "next" acts like
9297 "continue" for lynx.
9298
9299 * gdb.base/interrupt.exp: xfail test for calling function while
9300 inferior is asleep for lynx.
9301
9302 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
9303 than one cr-lf after each command.
9304
9305Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9306
9307 * configure.in: Reinstate setting of stabsdirs variable, fix
9308 typo in setting up configdirs for native builds.
9309
9310 * gdb.base/return.exp: Fix typo in return double test.
9311 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
9312 compiler from optimizing them away.
9313
9314Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
9315
9316 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
9317 sequences to be echo'd by gdb when using gdb_test.
9318 * gdb.chill/chexp.exp: Likewise.
9319 * gdb.fortran/exprs.exp: Likewise
9320
9321Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
9322
9323 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
9324 after the inferior gdb has started.
9325
9326 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
9327 after each command.
9328 * gdb.base/funcargs.exp: Likewise.
9329 * gdb.base/gdbvars.exp: Likewise.
9330 * gdb.base/interrupt.exp: Likewise.
9331 * gdb.base/list.exp: Likewise.
9332 * gdb.base/watchpoint.exp: Likewise.
9333 * gdb.c++/demangle.exp: Likewise.
9334 * gdb.c++/inherit.exp: Likewise.
9335 * gdb.chill/chexp.exp: Likewise.
9336 * gdb.fortran/exprs.exp: Likewise.
9337
9338 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
9339 test if we can't handle IO to/from the inferior.
9340
9341 * gdb.c++/misc.exp: Always check for a program already being
9342 started after sending a "run" command to gdb.
9343
9344 * gdb.base/twice.exp: Start with a fresh gdb.
9345
9346 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
9347 only depend on gdb's expression code, not the chill runtime.
9348
9349 * gdb.base/return.c: Put return values into variables so we
9350 can have gdb print them rather than depending on the program
9351 to print them.
9352 * gdb.base/return.exp: Corresponding changes.
9353
9354 * lib/gdb.exp: Provide default value for noinferiorio.
9355 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
9356 the inferior.
9357
9358 * gdb.base/break.exp: Always check for a program already being
9359 started after sending a "run" command to gdb.
9360 (text_next_with_recursion): Don't check the output from the
9361 program's printf statement. Instead just make sure the program
9362 exited.
9363
9364 * gdb.base/commands.exp: Protect tests which need arguments with
9365 $noargs conditionals.
9366
9367Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9368
9369 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
9370 of structure member arrays to match gdb/valops.c:value_addr change.
9371
9372Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
9373
9374 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
9375 cases.
9376
9377Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
9378
9379 * configure.in (configdirs): Remove gdb.chill from default list
9380 of subdirs and then add it back in only if doing a native build.
9381 The current chill compiler does not yet work in any cross build.
9382 * Revert all signal changes from Jul 6.
9383 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
9384 for sh-hms targets, allowing these tests to link, with no other
9385 changes. Testing is suppressed by setting "nosignals" in site.exp.
9386
9387Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
9388
9389 * configure.in (signaldirs): Define and add to configdirs for all
9390 targets except some specific ones that are known to not support signals.
9391 Also clean up formatting.
9392 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
9393 (signals, sigall): Remove rules to build.
9394 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
9395 Moved to new gdb.signals directory.
9396 * gdb.signals: New test directory.
9397 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
9398 signals.c signals.exp}: New or moved files.
9399
9400Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
9401
9402 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
9403
9404Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
9405
9406 * gdb.base/return.exp: Xfail `return double' test failure
9407 on at least Solaris 2.3 and handle future/past versions on
9408 a case by case basis as appropriate. Also update message
9409 to include i*86 failures.
9410
9411Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9412
9413 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
9414
9415 * lib/gdb.exp: Fix comment which erroneously identified
9416 gdb_file_cmd as gdb_load (the 19 May change was in fact to
9417 gdb_file_cmd not gdb_load).
9418 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
9419
9420 * gdb.base/setvar.exp: Make test names consistent between pass and
9421 fail cases. Use gdb_test more.
9422
9423Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9424
9425 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
9426
9427Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9428
9429 * gdb.base/help.exp: Fix expected help string for `show commands'.
9430
9431Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
9432
9433 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
9434
9435 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
9436 of a text section.
9437
9438Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
9439
9440 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
9441 that loop eventually terminates. Fix Connection refused logic so
9442 that testsuite will expire nicely.
9443
9444Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
9445
9446 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
9447 config/rom68k.exp: New tcl glue for the appropriate monitors.
9448 These all just end up calling monitor.exp.
9449 * config/monitor.exp (gdb_target_monitor): Handle `Connection
9450 refused' by retrying. Cleanup some timeout issues.
9451 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
9452 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
9453 callers don't have to set/restore global timeout variable.
9454
9455 * The following set of changes centralizes management of the global
9456 timeout variable. This way, it can be set in one target dependent
9457 place instead of dozens of places scattered throughout the test suite.
9458 If you need to lengthen a timeout, then you should either set timeout
9459 in one of the config/{target}.exp files, or multiply it by a factor.
9460 Setting it to an absolute value is always going to lose for some
9461 targets.
9462 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
9463 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
9464 * gdb.base/funcargs.exp: Don't set timeout.
9465 * gdb.base/list.exp (test_forward_search): Only use local timeout.
9466 * gdb.base/printcmds.exp (test_print_string_constants
9467 test_print_array_constants): Don't set timeout.
9468 * gdb.base/ptype.exp: Don't set timeout.
9469 * gdb.base/recurse.exp: Don't set timeout.
9470 * gdb.base/return.exp: Don't set timeout.
9471 * gdb.base/watchpoint.exp: Don't set timeout.
9472 * gdb.c++/classes.exp (do_tests): Don't set timeout.
9473 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
9474
9475Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
9476
9477 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
9478
9479Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9480
9481 * lib/gdb.exp: Disable chill tests for irix5.
9482
9483Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9484
9485 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
9486 each test pass or fail.
9487
9488Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9489
9490 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
9491 xlc not gcc.
9492
9493Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
9494
9495 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
9496
9497Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
9498
9499 * config/est.exp: Fix copyright and comments. Remove dead code.
9500 Use targetname, serialport and baud variables instead of fixed
9501 constants.
9502 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
9503 * config/cpu32bug.exp: New file to support cpu32bug monitors.
9504
9505Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9506
9507 * gdb.base/watchpoint.exp: Don't run
9508 test_watchpoint_triggered_in_syscall for sunos.
9509
9510Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9511
9512 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
9513 they don't seem to exist. Do include stdio.h.
9514
9515Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9516
9517 * gdb.base/a1-selftest.exp: Add alpha xfail.
9518
9519Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9520
9521 * gdb.base/watchpoint.c (main): Prompt before calling read().
9522 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
9523 Revise accordingly. Remove cruft about sending "123" several
9524 times, until it gets noticed. Clean up the "print buf[0]" stuff
9525 so that it passes or fails, and waits for prompts in the usual way.
9526
9527Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9528
9529 * gdb.base/recurse.exp: Fix comment.
9530
9531 * TODO: Remove item about printing variables in nodebug.exp. Add
9532 item about enabling tests which are only run on some targets.
9533
9534 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
9535 fail, make test names unique, use new gdb_test convention
9536 regarding pattern, use gdb_test more, etc.).
9537
9538 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
9539 fail, make test names unique, etc.).
9540
9541Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9542
9543 * gdb.base/nodebug.c: Change return type of top and middle to
9544 short.
9545 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
9546 are fixed by the recent mdebugread.c changes. Allow `short ()'
9547 as type for top and middle.
9548
9549Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9550
9551 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
9552 nearly as I can tell, the whole thing was an accident in Stu's
9553 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
9554 to replace a send/expect pair with gdb_test, but ended up only
9555 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
9556 of 30 Mar 1995 took care of it, but left this vestigial comment
9557 which I am now nuking.
9558
9559Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9560
9561 * gdb.base/break.exp: Look for different line number for
9562 breakpoint at main depending on usestubs.
9563
9564Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9565
9566 * gdb.base/list.exp: Adjust some alternate expect patterns to
9567 match recent list0.c change. Add alternate expect pattern for
9568 output from `list default lines around main' for optimizing
9569 compilers.
9570
9571Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9572
9573 * lib/gdb.exp: If nosignals is not set, set it to 0.
9574
9575Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
9576
9577 * config/slite-gdb.exp: Responds to load symbol table prompt.
9578 * gdb.base/break.exp: Adjust line number, fix rerun.
9579 * gdb.base/langs0.c: Add #ifdef usestubs.
9580
9581Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
9582
9583 * gdb.base/list.exp: Adjust line contents after adding new lines in
9584 list0.c. Also fix a syntax error.
9585
9586 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
9587 * gdb.base/break.exp: ditto.
9588 * gdb.base/list.exp: ditto.
9589 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
9590 * gdb.base/run.c: ditto.
9591 * gdb.base/list0.c: ditto.
9592 * gdb.base/funcargs.c: ditto.
9593
9594Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
9595
9596 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
9597 $targetname, $serialport and $baud instead of hardwired variables.
9598 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
9599 target doesn't support signals.
9600
9601Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
9602
9603 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
9604
9605Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9606
9607 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
9608 Don't rely on the value of an auto variable before it has been
9609 initialized. Use gdb_test more.
9610
9611Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9612
9613 * lib/gdb.exp (default_gdb_version): A version number must start
9614 with a digit, but other than that contains all characters up to
9615 the first whitespace character.
9616
9617Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9618
9619 * gdb.base/commands.exp (breakpoint_command_test): New tests.
9620
9621Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9622
9623 * gdb.c++/*.exp: Warn if executable does not exist. The original
9624 reason for skipping the warning was that configure.in sometimes
9625 intentionally skipped building the executables but the tcl code
9626 had no way of knowing. That (a) was always bogus with respect to
9627 error handling, (b) is no longer true (right now there is no way
9628 to skip C++ tests).
9629
9630 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
9631
9632Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9633
9634 * gdb.base/list.exp: Add expect patterns for output from
9635 SunPRO compiled executables.
9636 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
9637 types.
9638
9639Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9640
9641 * gdb.base/break.exp (test_next_with_recursion): Accept any line
9642 number (we are already testing that the correct source line text
9643 gets printed).
9644
9645 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
9646 that is what is intended, but something needed to be done to get
9647 sunos4 native working again.
9648
9649 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
9650
9651 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
9652 apparently went with a (very) old xfail.
9653
9654Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
9655
9656 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
9657 runto_main is a proc in gdb.exp that will do 'step' for target use
9658 stubs.
9659 * gdb.base/exprs.exp: ditto.
9660 * gdb.base/interrupt.exp: ditto.
9661 * gdb.base/opaque.exp: ditto.
9662 * gdb.base/printcmds.exp: ditto.
9663 * gdb.base/ptype.exp: ditto.
9664 * gdb.base/scope.exp: ditto.
9665 * gdb.base/setvar.exp: ditto.
9666 * gdb.base/signals.exp: ditto.
9667 * gdb.base/twice.exp: ditto.
9668 * gdb.c++/classes.exp: ditto.
9669 * gdb.c++/inherit.exp: ditto.
9670 * gdb.c++/templates.exp: ditto.
9671 * gdb.base/break.exp: no run and hit main for stubs. Change line
9672 numbers for breakpoints and info breakpoint.
9673 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
9674 breakpoint().
9675 * gdb.base/callfuncs.c: ditto.
9676 * gdb.base/exprs: ditto.
9677 * gdb.base/interrupt.c: ditto.
9678 * gdb.base/opaque0.c: ditto.
9679 * gdb.base/printcmds.c: ditto.
9680 * gdb.base/ptype.c: ditto.
9681 * gdb.base/scope0.c: ditto.
9682 * gdb.base/setvar.c: ditto.
9683 * gdb.base/signals.c: ditto.
9684 * gdb.base/twice.c: ditto.
9685 * gdb.c++/misc.cc: ditto.
9686 * gdb.c++/templates.cc: ditto.
9687
9688Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9689
9690 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
9691
9692 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
9693 somewhere between `read' and `main.c'. I'm pretty sure the
9694 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
9695 and it isn't particularly useful.
9696
9697 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
9698
9699Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9700
9701 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
9702
9703Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
9704
9705 * config/mt-slite: add LIBS and -nostdlib.
9706 * config/slite-gdb.exp: add this new file to support sparclite target.
9707
9708Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
9709
9710 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
9711
9712 * gdb.base/a2-run.exp: Change argument to istarget from
9713 "*-*-vxworks" to "*-*-vxworks*".
9714 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
9715
9716Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
9717
9718 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
9719 will not runto main but do a 'step' to step out of breakpoint().
9720 * config/mt-slite: add -Dusestubs.
9721
9722Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9723
9724 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
9725 instead of just @.
9726
9727 * gdb.base/signals.exp: Add test for "handle all print".
9728 * TODO: Remove "handle all print". Also remove item about
9729 checking copyright date (I don't like the idea of a spurious FAIL
9730 based on when we run the tests).
9731
9732 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
9733 for SunOS4 (reason for failure not investigated). Remove
9734 redundant test for $binfile.
9735
9736 * gdb.base/nodebug.c (array_index): Call malloc.
9737
9738 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
9739
9740Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
9741
9742 * gdb.base/recurse.exp: Update gdb_test invocation to use new
9743 conventions and slightly simplify the matching regexp.
9744
9745Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9746
9747 * gdb.base/break.exp: Update gdb_test invocation to use new
9748 convention.
9749
9750 * lib/gdb.exp: If noargs is not set, set it to 0.
9751
9752 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
9753 tests unique.
9754
9755 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
9756
9757Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9758
9759 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
9760 one argument of type "<non-float parameter>".
9761
9762Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
9763
9764 * config/rom68k.exp: New file to support Motorola IDP board.
9765 * gdb.base/a2-run.exp: Skip this file if noargs is set.
9766 * gdb.base/break.c: Change things around so that this program
9767 doesn't depend upon args. This is necessary to make remote
9768 targets work (in general, they can't take args).
9769 * gdb.base/break.exp: Don't try to send args to program. Don't
9770 expect output. Also, replace lots of code with gdb_test.
9771
9772Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9773
9774 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
9775 printing of '\'' (which is what the comment says we are testing,
9776 even though we were not), not '''.
9777 (test_integer_literals_rejected): Test that printing ''' is an error.
9778
9779 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
9780 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
9781 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
9782 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
9783 Use gdb_test not test_print_accept.
9784 * lib/gdb.exp: Remove test_print_accept.
9785
9786 * gdb.base/signals.exp (signal_tests_1): Make pass message
9787 consistent with fail message.
9788
9789 * gdb.base/whatis.exp: Remove xfails for printing char vs.
9790 unsigned char; the bug (PR 1821) is fixed.
9791
9792 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
9793
9794 * gdb.base/scope.exp (test_at_localscopes): Call pass for
9795 successful tests--makes xfailing them work right.
9796
9797Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9798
9799 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
9800 only \r\n, not .*. The test can pass .* as the last thing in
9801 $pattern if that is what it wants. In addition to providing this
9802 flexibility, this change should speed up pattern matching in cases
9803 where the pattern already ended with .* (there were a number of
9804 them). This change also helps catch bad patterns--in the old
9805 scheme the typo "char \*" instead of "char \\*" would pass. Now
9806 it is caught.
9807 * Many .exp files: Update callers.
9808
9809 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
9810 clearer and does not spuriously match multiple ('s. Likewise for
9811 ) and *.
9812
9813 * gdb.base/nodebug.exp: Test ability to call a function and pass
9814 it a string (even with no debugging info).
9815
9816 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
9817 "p '\'", which is the same as "p ''" once tcl gets done with
9818 quoting, to "p '\\'", which I suspect is what is intended (one
9819 backslash gets sent to GDB).
9820
9821 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
9822
9823Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9824
9825 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
9826 1817) was fixed literally years ago.
9827
9828Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9829
9830 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
9831 test, it causes stepping out of call_after_alloca_subr with
9832 optimizing compilers.
9833 (localvars_in_indirect_call): Consume GDB prompt if `finish'
9834 fails.
9835
9836 * gdb.c++/templates.exp: Source templ-info.exp only if
9837 the templates executable exists.
9838
9839 * gdb.c++/misc.cc (class Contains_static_instance,
9840 class Contains_nested_static_instance),
9841 gdb.c++/classes.exp (test_static_members): Test printing of
9842 a class that contains a static instance of the class.
9843
9844Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9845
9846 * gdb.base/langs2.c (cppsub_): Don't prototype.
9847 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
9848 only, I believe).
9849
9850Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9851
9852 * lib/gdb.exp (skip_chill_tests): New procedure.
9853
9854 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
9855
9856Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
9857
9858 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
9859 each expect pattern. Cuts runtime from 12 to about 4 seconds.
9860
9861Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9862
9863 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
9864
9865 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
9866 disassemble 8, not 16, instructions for part 4.
9867
9868 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
9869 support the latter anymore.
9870
9871 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
9872 -DNO_PROTOTYPES.
9873 * gdb.base/callfuncs.c: Control use of prototypes based on
9874 NO_PROTOTYPES, not __STDC__.
9875 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
9876 t_float_values2 tests if prototypes in use.
9877
9878 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
9879 t_double_values): When checking differences against DELTA, check
9880 that difference is within the range (-DELTA,DELTA), not just
9881 (-infinity,DELTA).
9882
9883Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
9884
9885 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
9886 'file' command firts, then 'target', then 'load', this is due to gdb
9887 target set up.
9888 * config/mips-gdb.exp: Fix a couple regular exp bugs.
9889
9890Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
9891
9892 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
9893 FP load/store variants.
9894 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
9895
9896Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
9897
9898 * gdb.base/term.exp: Do not give a warning if not native, it is
9899 not an abnormal condition.
9900
9901Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
9902
9903 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
9904 t_char_array".
9905
9906Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
9907
9908 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
9909 are getting the version number.
9910
9911 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
9912 if not native, it is not an abnormal condition.
9913
9914Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9915
9916 * lib/gdb.exp: Just use "file exists", rather than undocumented
9917 dejagnu procedure "findfile".
9918
9919Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
9920
9921 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
9922 (LDFLAGS): Set to -Xlinker -Ur.
9923
9924 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
9925 Removed, these values are set by lib/gdb.exp.
9926
9927 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
9928
9929Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
9930
9931 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
9932 of replicating gdb startup code.
9933
9934 * config/mt-vxworks (LDFLAGS): Set to -r.
9935 (CFLAGS_FOR_TARGET): Removed.
9936
9937 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
9938 (gdb) and gdb for vxworks uses (vxgdb).
9939
9940 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
9941 executable is not in the tree and host != target, use sed and
9942 program_transform_name to determine the gdb name used by the
9943 target.
9944
9945 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
9946 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
9947
9948Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9949
9950 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
9951 floats, chars, and shorts where there are ANSI-style function
9952 definitions.
9953
9954 * gdb.base/langs.exp, gdb.base/langs*: New test.
9955 * gdb.base/Makefile.in: Build it.
9956 * TODO: Remove item about checking that C names don't get C++
9957 demangling applied; this test tests it.
9958
9959Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9960
9961 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
9962 went with the const70 xfail. The xfail went away a year ago.
9963
9964 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
9965
9966 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
9967 for hp300.
9968
9969 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
9970
9971 * gdb.base/a1-selftest.exp: Don't run on hp300.
9972
9973Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9974
9975 * Makefile.in (site.exp): Set host_alias and target_alias as well
9976 as host_triplet and target_triplet.
9977
9978Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9979
9980 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
9981
9982 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
9983 places as other ecoff systems).
9984
9985 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
9986 ultrix.
9987
9988Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9989
9990 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
9991 remove them.
9992 * gdb.base/nodebug.exp: Accept "function" in addition to "text
9993 variable and "variable" in addition to "data variable".
9994 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
9995
9996 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
9997 2.
9998 * gdb.base/list1.c (long_line): Add additional statement at start
9999 of function.
10000 * gdb.base/list.exp (test_forward_search): Update line number to
10001 reflect new statement.
10002
10003Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10004
10005 * gdb.base/signals.exp: Reinitialize searched source directories
10006 after gdb_start call.
10007
10008Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
10009
10010 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
10011 * gdb.stabs/Makefile.in: Likewise.
10012
10013 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
10014 change. Instead split the tests into smaller pieces.
10015 * gdb.disasm/hppa.s: Corresponding changes.
10016
10017Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10018
10019 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
10020 Quote ^C when passing it to stty. For some shells ^ is a pipe.
10021
10022 * gdb.base/funcargs.exp: Modify many tests so that every test
10023 either passes or fails. Make some test names unique.
10024
10025Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10026
10027 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
10028 Call stty to set interrupt character.
10029
10030 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
10031 for HP assembler versus GNU assembler based on actual behavior of
10032 $(CC), rather than assuming that $(AS) is always the GNU assembler.
10033
10034 * TODO: Suggest a few more stepping tests.
10035
10036Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
10037
10038 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
10039 restart GDB for h8300 after a continue.
10040 (return): Add pattern to match a29k-udi behavior.
10041 * gdb.base/nodebug.exp: Remove obsolete comment.
10042 * gdb.base/regs.exp: New file, testing of register displays.
10043 * gdb.base/return.exp: Fix typo in reference to $objdir.
10044 * gdb.base/whatis.exp: Always start with a fresh GDB.
10045
10046Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10047
10048 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
10049 higher, these tests generate a lot of output.
10050
10051Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10052
10053 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
10054 code following the catch silently ignored some errors; without the
10055 catch they should be thrown like any other tcl error. Also, the
10056 catch used "" instead of {} which meant all the callers who wanted
10057 to include one of the characters "[]$ had to quote it an extra time.
10058 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
10059 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
10060 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
10061 Remove extra quoting.
10062
10063Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
10064
10065 * gdb.base/commands.exp: Make test names unique; every test either
10066 passes or fails. Update some comments.
10067
10068 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
10069
10070Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10071
10072 The following fixes a FAIL caused by the fact that the alpha stabs
10073 configuration didn't use the ".if alpha" code in weird.def.
10074 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
10075 bit pointer, so the 32 bit version works even on the alpha.
10076 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
10077 Remove the stuff which allowed us to have separate versions for
10078 alpha and everything else.
10079
10080 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
10081 regexp which "info func operator\[\](" is supposed to match. Fix
10082 string to send to GDB. Note that GDB still doesn't work right. Add a
10083 new test for "info func .perator\[\](" which GDB does handle correctly.
10084
10085 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
10086
10087Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10088
10089 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
10090 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
10091 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
10092 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
10093 it makes the tests harder to understand and confuses test-o-matic.
10094 The preferred style is that each test provides a PASS or a FAIL,
10095 and has a unique message (e.g. "continue #54" not just "continue")
10096 which is the same for the pass and the fail.
10097 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
10098 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
10099 to lib/gdb.exp.
10100 * gdb.base/printcmds.exp: Use test_print_accept. Remove
10101 prt_accept which was basically the same thing. Likewise for
10102 test_print_reject and prt_reject.
10103 * lib/gdb.exp (test_print_reject): Add some more error message
10104 patterns to match from the former printcmds.exp (prt_reject).
10105 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
10106 One defect of the passcount stuff is that some of it failed to
10107 report XPASS where appropriate.
10108 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
10109 stuff before and after arg in expected pattern.
10110 (test_paddr_operator_functions): Re-do test without print_addr_of;
10111 this is the only test which seems to want extra stuff there.
10112
10113Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
10114
10115 * gdb.base/nodebug.exp: Update new tests to reflect improved
10116 wording of gdb output.
10117
10118 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
10119 and "ptype" work on variables in files compiled without -g.
10120 Replaces commented out "maint print msymbol" tests.
10121
10122Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
10123
10124 * gdb.base/setvar.c (dummy): Call malloc.
10125
10126 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
10127 losing with the irix4 sed.
10128
10129 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
10130 ALRM" on irix4.
10131
10132Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
10133
10134 * TODO: Remove items about corefile.exp testing new exec-file and
10135 backtrace; both are now done. Add items about printing enums.
10136
10137Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
10138
10139 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
10140 "get signal $thissig" test fails.
10141
10142 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
10143
10144Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
10145
10146 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
10147 compiler warning with dec alpha compiler.
10148
10149 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
10150 extra \n from gdb_test call (this explains why the prompt test
10151 that I removed yesterday was there).
10152 (user_defined_command_test): Remove extra \n and prompt test.
10153
10154 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
10155 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
10156 doesn't exist.
10157 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
10158 Also remove alpha workaround, which turns out to be because
10159 SIGABRT == SIGLOST.
10160
10161 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
10162
10163 * gdb.base/help.exp: Don't test "help show".
10164
10165Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
10166
10167 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
10168 "set print address" is on.
10169 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
10170 pass prompt to gdb_test; gdb_test already looks for the prompt.
10171
10172 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
10173
10174 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
10175 was a vestige of the manual TESTSTRATEGY, and the purpose of it
10176 was to make sure that gdb can read a core file. But (a) the "read
10177 the corefile" part didn't make it to a1-selftest.exp, we just
10178 delete the corefile after creating it, and (b) we test reading
10179 corefiles in corefile.exp anyway. Also, this test left around a
10180 xgdb process on Solaris.
10181
10182 * gdb.base/corefile.exp: Also test backtrace.
10183
10184Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
10185
10186 * gdb.base/commands.exp: Test a simple user defined command with
10187 arguments and if/while statements; verify the full user command is
10188 printed by "show user".
10189
10190 * gdb.base/commands.exp: Test if/while commands as part of a
10191 breakpoint command list; verify they appear in breakpoint
10192 information.
10193
10194Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
10195
10196 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
10197 than by dividing by zero.
10198
10199Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
10200
10201 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
10202 performing an inferior call with watchpoints enabled.
10203 * gdb.base/watchpoint.c (main): Delete second unnecessary read
10204 call.
10205
10206Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
10207
10208 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
10209 of "file" command.
10210
10211 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
10212 Add additional pattern for when "int operator int(void);" appears
10213 in a different order.
10214
10215Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
10216
10217 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
10218
10219 * gdb.base/help.exp: Replace most of docstrings for "info signals"
10220 and "signal" with ".*".
10221
10222Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10223
10224 * TODO: Add note about "handle all nostop".
10225
10226 * gdb.base/{sigall.c, sigall.exp}: New test.
10227 * gdb.base/Makefile.in: Add it.
10228
10229Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
10230
10231 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
10232 when invoking GDB, suppresses any windowing interface.
10233
10234Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
10235
10236 * config/sim-gdb: New file, simulator testing support.
10237
10238Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
10239
10240 * gdb.base/interrupt.exp: Test calling func1 twice.
10241
10242Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
10243
10244 * gdb.base/list.exp (test_forward_search): Set timeout higher
10245 when we'll be getting lots of output from gdb.
10246
10247 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
10248 "init_malloc" to after the expect statement. Run it if that
10249 regexp is taken, but also for two others which happen if source
10250 cannot be found.
10251
10252Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10253
10254 * gdb.base/printcmds.exp: New test, for printing register before
10255 program is running.
10256
10257Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10258
10259 * gdb.base/list.exp: Correct some alternate expect patterns
10260 to reflect changes in list1.c.
10261
10262Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10263
10264 * TODO: Add item regarding large frames.
10265
10266 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
10267
10268 * TODO: Remove item about enabling return.exp; it
10269 is enabled. Suggest a few more "return" tests.
10270
10271Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10272
10273 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
10274 anonymous unions.
10275
10276Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10277
10278 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
10279 and pr-5646.o, so "make" is the same as "make all", not "make
10280 pr-4975.o".
10281
10282Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
10283
10284 * gdb.base/list.exp: Adjust expectations to reflect changes in
10285 list1.c.
10286 (test_forward_search): New test proc.
10287 * gdb.base/list1.c (long_line): New function, has long source line.
10288
10289Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
10290
10291 * gdb.base/a1-selftest.exp: Change initial stepping to know about
10292 additional line of code that was added.
10293
10294Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
10295
10296 * gdb.disasm/hppa.s: Break the large branching tests into smaller
10297 tests so as not to overflow expect's input buffers.
10298 * gdb.disasm/hppa.exp: Corresponding changes.
10299
10300Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10301
10302 Beginnings of template debugging tests.
10303 * gdb.c++/templ-info.cc: New file to test for template
10304 debugging capability of the compiler.
10305 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
10306 templ-info.cc.
10307 * gdb.c++/templates.cc: Add explicit template instantiations
10308 to enable compiling with -fno-implicit-templates. Add destructor
10309 and 'value' method to T5 class for template tests.
10310 * gdb.c++/templates.exp: Add testcases for printing of template
10311 types, setting breakpoints on template methods and calling a
d63a86f8 10312 template method.
c906108c
SS
10313
10314Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
10315
10316 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
10317 branch target since some assemblers (gas-2.5) may emit a
10318 relocation for the branch instead of resolving it in the
10319 assembler.
10320
10321Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10322
10323 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
10324 through signal handler.
10325
10326Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
10327
10328 * configure.in (*-*-netware): Use config/mt-netware.
10329
10330 * config/mt-netware: New file.
10331 * config/mt-i386-netware: Removed, separate configs for different
10332 netware architectures are no longer needed now that we have
10333 --with-headers.
10334
10335Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10336
10337 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
10338 by the recent changes to use ANSI C arithmetic conversions.
10339
10340Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10341
10342 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
10343 bug involving using inferior_pid to figure out whether to select a
10344 frame.
10345
10346Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
10347
10348 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
10349 match the current disassembler output.
10350
10351Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
10352
10353 * gdb.fortran/exprs.exp: Expect VOID instead of void.
10354 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
10355 types, expect "int" as type of integer values (for now).
10356
10357Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
10358
10359 * gdb.base/commands.exp: New tests for if/while commands.
10360
10361Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
10362
10363 * lib/gdb.exp (runto): Replace sub-pattern for hex value
10364 by .*, since hex values have different syntax in Chill mode.
10365
10366Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10367
10368 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
10369 linefeed from expect pattern for repeated types with indices > 9.
10370
10371Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
10372
10373 First part of Fortran test suite.
10374 * gdb.fortran: New directory.
10375 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
10376
10377Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10378
10379 * gdb.base/default.exp: Update expect pattern for load command
10380 without arguments.
10381
10382Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
10383
10384 * configure.in: Change i386 to i[345]86.
10385 * gdb.base/configure.in: Likewise.
10386 * gdb.c++/configure.in: Likewise.
10387 * gdb.chill/configure.in: Likewise.
10388
10389Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
10390
10391 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
10392 patterns, since that is not a valid context for comments.
10393
10394Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
10395
10396 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
10397 repeated types and repeated types with indices > 9.
10398
10399Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
10400
10401 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
10402 2417; old bug has been fixed.
10403
10404Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
10405
10406 * gdb.base/interrupt.exp: When trying to wake up the inferior,
10407 send the newline ourselves instead of assuming gdb_test will do
10408 so when passed an empty input string.
10409
10410 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
10411 stabs testcode.
10412
10413Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
10414
10415 * lib/gdb.exp (gdb_test): Don't send anything if the first
10416 argument is an empty string. This makes cases where we want to
10417 match output that is already in expect's buffers (for example,
10418 matching a breakpoint after gdb_run_cmd has been called) work
10419 reliably.
10420
10421Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
10422
10423 * config/netware.exp: New file.
10424
10425Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
10426
10427 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
10428 the -B and -L prefixes so we can find the debugging stub.
10429
10430 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
10431 there and we are using the gcc from the tree.
10432
10433 * gdb.base/types.c: Removed.
10434
10435 * gdb.base/configure.in: Look for makefile fragments in ../config.
10436 Recognize i386-*-netware.
10437 * gdb.c++/configure.in: Likewise.
10438
10439Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10440
10441 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
10442 the correct TCL syntax.
10443
10444Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
10445
10446 * gdb.base/opaque.exp: use runto instead of messing around with
10447 breakpoints. Simplify by using gdb_test.
10448
10449 * gdb.base/bitfields.exp: restart between tests on netware targets
10450 because breakpoints aren't relocated after target death. Run
10451 processes to completion.
10452
10453 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
10454
10455Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
10456
10457 * Makefile.in: Remove extra tabs that confuse some versions
10458 of "make". Use the newly built gdb to test with by default,
10459 rather than the first one in the tester's search path.
10460
10461Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
10462
10463 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
10464
10465 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
10466 condition help.
10467
10468Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
10469
10470 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
10471
10472 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
10473 running.
10474 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
10475 * gdb.base/funcargs.exp: Likewise.
10476
10477 * gdb.base/bitfields.exp: Simplify by using gdb_test.
10478 * gdb.base/funcargs.exp: Likewise.
10479
10480 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
10481 message is "".
10482
10483Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
10484
10485 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
10486 return,signals,twice}.exp: Handle non-existant binaries
10487 consistantly.
10488
10489 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
10490 * gdb.base/Makefile.in: Don't try to generate a core dump, we
10491 might testing a cross development system.
10492
10493Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
10494
10495 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
10496 runtest script is relative to ${srcdir}, not ${rootdir}.
10497
10498Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
10499
10500 * gdb.base/signals.exp: Allow for optionality of breakpoint
10501 address.
10502
10503Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10504
10505 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
10506
10507Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
10508
10509 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
10510 for size_t definition.
10511 * gdb.c++/templates.cc: Likewise
10512
10513 * config/mt-i386-netware: New file.
10514
10515 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
10516 defined.
10517
10518 * gdb.base/Makefile.in: Added support for systems that name core
10519 files by appending "core" to the program name.
10520 * gdb.base/a1-selftest.exp: Likewise.
10521
10522Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10523
10524 * gdb.base/return.exp: Add comment and message for `return double'
10525 test failure on Sparc Solaris.
10526
10527Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
10528
10529 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
10530
10531Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10532
10533 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
10534 from optimizing them away.
10535 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
10536 patterns to include default constructors and assignment operators,
10537 to match gcc versions beyond 2.5.8. Accept any cplus demangling
10538 character in the output of the virtual base pointer.
10539
10540Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10541
10542 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
10543 expression match in print_addr_of to avoid unintented matches.
10544 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
10545 versions up to 2.5.8.
10546
10547Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10548
10549 * gdb.base/list.exp: Tweak alternate pattern for listing of an
10550 included file to run under newer versions of expect.
10551 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
10552 consecutive >'s in templates to accomodate recent cplus-dem.c change.
10553 Remove xfail for the virtual table of BDDHookV.
10554
10555Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
10556
10557 * lib/gdb.exp (string_to_regexp): Set a default result.
10558 (default_gdb_start): Fix misleading message.
10559
10560Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
10561
10562 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
10563 Remove all CC, etc definitions.
10564 * config/mt-hpux: New file.
10565 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
10566 (CFLAGS, LDFLAGS): Define.
10567 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
10568
10569 * Makefile.in (site.exp): Don't insert host_os, etc.
10570 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
10571 (distclean): Check existence of subdir.
10572 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
10573 * gdb.base/Makefile.in: General cleanup and simplification.
10574 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
10575 to build executables. Use default rule to build .o files.
10576 (EXPECT, RUNTEST, CC): Fix relative pathname.
10577 (site.exp): Don't insert host_os, etc.
10578 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
10579 and/or SIGUSR1 defined.
10580 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
10581 * gdb.c++/Makefile.in: General cleanup and simplification.
10582 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
10583 (CFLAGS): Remove.
10584 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
10585
10586Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
10587
10588 * gdb.base/recurse.exp: Misc changes to get tests running again
10589 after Kung's changes to the watchpoint code.
10590 * gdb.base/watchpoint.exp: Likewise.
10591
10592Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
10593
10594 * lib/gdb.exp (string_to_regexp): Convert {\} also.
10595
10596Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
10597
10598 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
10599 * lib/gdb.exp (default_gdb_start): Define.
10600 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
10601 gdb.base/funcargs.exp, gdb.base/opaque.exp,
10602 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
10603 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
10604 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
10605 Don't call gdb_target_udi in between tests.
10606
10607Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10608
10609 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
10610 (which was basically just a local version of the same thing). In
10611 addition to avoiding duplication, gdb_test_exact is faster.
10612 * lib/gdb.exp (gdb_test_exact): Fix typo.
10613
10614 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
10615 don't give an error.
10616
10617 * gdb.base/term.exp: Call delete_breakpoints before starting.
10618
10619 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
10620 (t10): Add comment.
10621
10622Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
10623
10624 Reorganization of the GDB Test Suite.
10625
10626 * gdb.base: New directory, contains all the basic tests.
10627 * gdb.c++: New directory, tests specific to C++.
10628 * gdb.chill: New directory, tests specific to Chill.
10629 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
10630 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
10631 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
10632 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
10633 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
10634 t30-31 to chill).
10635 * */gdbme.*: Rename to match appropriate expect scripts.
10636 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
10637 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
10638 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
10639 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
10640 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
10641 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
10642 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
10643 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
10644 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
10645 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
10646 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
10647 gdb.c++/virtfunc.cc: New names of C++ files.
10648 * gdb.chill/chillvars.ch: New name of Chill file.
10649 * gdb.base/configure.in, gdb.c++/configure.in,
10650 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
10651 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
10652 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
10653 * configure.in (configdirs): Update to reflect directory changes.
10654 (target_abbrev): No longer define for any configuration.
10655 * Makefile.in: Cosmetic improvements to header comments.
10656
10657Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
10658
10659 Various changes to gdb.t31:
10660
10661 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
10662 * gdbme.ch: Make all key-words and predefineds be upper-case.
10663 * chillvars.exp: Expect key-words and predefinds in upper-case.
10664
10665 * chillvars.exp: Use gdb_test_exact many places.
10666 Change expected output for arrays (which now includes index labels).
10667
10668 * pr-5020.exp, gdme.ch (module PR_5020):
10669 New test, for PR-5020.
10670
10671Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
10672
10673 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
10674 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
10675
10676Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
10677
10678 * Makefile.in: Fix bit-rot in definitions of CHILL,
10679 CHILL_FOR_TARGET and Chill_LIB.
10680 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
10681 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
10682 CHILL, and CHILL_LIB.
10683
10684Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
10685
10686 * Revert the previous changes. Please see Rob's directory
10687 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
10688
10689Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
10690
10691 * Makefile.in, configure.in, config/mips-gdb.exp,
10692 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
10693 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
10694 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
10695 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
10696 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
10697 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
10698 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
10699 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
10700 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
10701 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
10702 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
10703 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
10704 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
10705 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
10706 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
10707 changes from 94Q1.
10708
10709Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
10710
10711 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
10712 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
10713 Rob's new testing fragments.
10714
10715Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
10716
10717 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
10718 lib/gdb.exp: Replace error proc calls with perror.
10719
10720Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
10721
10722 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
10723 version also, match on casted version strings, and match on
10724 gdb startup case where the line numbers might be messed up.
10725
10726Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
10727
10728 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
10729 (CFLAGS): Delete it from here.
10730
10731Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
10732
10733 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
10734
10735Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
10736
10737 * Makefile.in (RUNTEST): Default to just "runtest".
10738
10739Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10740
10741 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
10742 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
10743 the code has been restructured.
10744
10745Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10746
10747 * gdb.t00/default.exp (set write): Allow any number of \r and/or
10748 \n, not just one of each.
10749
10750 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
10751 /bin/cc gives a warning if you do.
10752
10753Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
10754
d63a86f8 10755 * gdb.t24/demangle.exp: change expect pattern of
c906108c
SS
10756 __t10ListS_link1ZUiRCUiPT0
10757
10758Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10759
10760 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
10761 on local variables in recursive functions.
10762
10763 * gdb.t07/Makefile.in: Build the new test.
10764
10765Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10766
10767 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
10768 directly. Instead compare the return values from actual calls.
10769
10770Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
10771
10772 * Makefile.in (check): Set TCL_LIBRARY for runtest.
10773
10774Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10775
10776 * From Peter Schauer with minor modifications.
10777 * gdb.t15/return.exp (return_tests): Handle targets where "return"
10778 stops in mid-line in the caller. Add xfail for returning a float
10779 value on X86 targets.
10780
10781Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10782
10783 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
10784 to avoid expect lossage.
10785 (fmem_LRbug_tests): Likewise.
10786 * gdb.disasm/hppa.s: Corresponding changes.
10787
10788 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
10789 conditions to work with latest dejagnu/expect.
10790
10791 * gdb.t15/funcargs.exp (finish from indirect call): No longer
10792 expected to fail on the PA.
10793 (backtrace in call with trampolines): Explicitly require main
10794 to be frame #1 (no trampolines should show up in backtrace).
10795
10796 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
10797 "continue -expect".
10798 * gdb.t06/break.exp: Likewise.
10799 * gdb.t07/watchpoint.exp: Likewise.
10800 * gdb.t13/bitfields.exp: Likewise.
10801 * gdb.t15/{funcargs,return}.exp: Likewise.
10802 * gdb.stabs/weird.exp: Likewise.
10803 * config/{mips,udi}-gdb.exp: Likewise.
10804
10805 * hppa.sed: Enclose comments within a sed command to avoid
10806 losing with the old OSF1 sed.
10807
10808Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10809
10810 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
10811 sequent dynix.
10812 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
10813 * gdb.t15/funcargs.exp: Conditionally step again to really
10814 finish from marker_call_with_trampolines. Handle the case where
10815 the first step from within call_with_trampolines already steps
10816 us back to main.
10817 * gdb.t15/gdbme.c: Add comment to closing brace of
10818 call_with_trampolines for funcargs.exp.
10819
10820Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10821
d63a86f8 10822 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
c906108c
SS
10823 Fix typo(s).
10824
10825Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10826
10827 * gdb.t07/gdbme.c: More code for watchpoint testing.
10828
10829 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
10830 "Hardware watchpoint" throughout file.
10831 (test_watchpoint_triggered_in_syscall): New test.
10832 (test_complex_watchpoint): New test.
10833
10834Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10835
10836 * gdbme.c (call_with_trampolines): New function to try and step
10837 into. Tests trampoline problems on the PA.
10838
10839 * funcargs.exp (localvars_in_indirect_call): No longer expect
10840 stepping into indirect call to fail on PAs.
10841 (test_stepping_over_trampolines): New test.
10842
10843Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10844
10845 * TODO: Add suggestions for static member function tests, and
10846 completion tests.
10847
10848Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10849
10850 * TODO: Add suggestions for "p/a" tests.
10851
10852 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
10853 (default_gdb_exit): Replace all the hair with sending "quit" to
10854 the process with a simple close.
10855
10856Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10857
10858 * TODO: Add suggestions for shared library tests.
10859
10860Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10861
10862 * TODO: Add suggestions for x/s tests.
10863
10864Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10865
10866 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
10867 "enable once", and "enable breakpoints once" with ".*".
10868
10869Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10870
10871 * TODO: Add suggestions about structure passing tests.
10872
10873Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10874
10875 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
10876 the primary1 test, use work around if __GNUC__ < 2.
10877 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
10878 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
10879 Test for bad output rather than waiting for timeout. Issue
10880 second continue only if first continue failed.
10881
10882Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
10883
10884 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
10885 operator[] test with gdb_test because the old code didn't seem to
10886 be getting the quoting right with the new dejagnu.
10887
10888Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
10889
10890 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
10891 one from the path.
10892 * Makefile.in: Use a fresh expect if there is one, use runtest
10893 from the src tree if there is one.
d63a86f8 10894
c906108c
SS
10895Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
10896
10897 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
10898 next over recursive call. Revise the tests from that point on
10899 (which had been skipped) to match GDB's actual (correct) output.
10900
10901 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
10902 with next over a breakpoint whose condition is false.
10903
10904 * gdb.t00/help.exp: Comment out "help set print" tests just like
10905 (and for same reason as) "help set" test.
10906
10907Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10908
10909 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
10910 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
10911
10912Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10913
10914 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
10915 necessary gdb_target_udi.
10916
10917 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
10918
10919 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
10920 1838 and 2417; they are fixed.
10921
10922 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
10923 gdb.t03/ptype.exp (ptype structure, ptype union):
10924 Remove xfails; the test is looser than when the xfails were added.
10925
10926 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
10927 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
10928
10929 * gdb.t01/run.exp: Only run shell test if isnative.
10930
10931 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
10932 since "run" automatically loads if necessary. Call gdb_target_udi
10933 after the "file" since "file" kills any execution target.
10934
10935 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
10936 GDB. GDB doesn't work that way (not anymore at least) on UDI.
10937 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
10938 argument for UDI.
10939
10940Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
10941
10942 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
10943
10944 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
10945
10946Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10947
10948 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
10949 properly quoting regexps. This makes the second argument to
10950 demangle a fixed string, which matches the callers, instead of a
10951 shell-style pattern which is what the previous implementation
10952 used. Update some of the callers.
10953
10954Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10955
10956 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
10957 (comib_nullified_tests): Fix typo.
10958 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
10959 strings. No longer expected to fail.
10960
10961 * gdb.disasm/hppa.s (addib_tests): Fix typo.
10962 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
10963 strings. No longer expected to fail.
10964
10965 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
10966 string. No longer expected to fail.
10967
10968Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10969
10970 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
10971 No longer expected to fail.
10972
10973 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
10974 string. No longer expected to fail.
10975
10976Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10977
10978 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
10979 only in the names (I probably got most of them). I was even
10980 generous with some which differed in underscores in names, and
10981 probably missed a few, and I *still* was able to remove almost a
10982 third of the file with almost no impact on testsuite coverage.
10983
10984Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10985
10986 * gdb.t00/default.exp: Match udi_attach error message as well as
10987 the one from child_attach.
10988
10989 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
10990
10991 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
10992
10993 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
10994 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
10995
10996 * Move test with enums and partial symbols back to
10997 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
10998 Reverts the change of 26 May 93. Per today's change to
10999 stabs.texinfo, the behavior that weird.exp was expecting was
11000 unreasonable; what is important is that the compiler+gdb get
11001 things right, which happens with a recent gcc. Also fix the test
11002 to deal with native compilers which put out the stab gdb can't
11003 deal with.
11004
11005Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
11006
11007 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
11008 in the names. The main thing these accomplish is to slow things down.
11009 Many more such duplicates surely remain.
11010
11011 * gdb.t00/help.exp: Comment out "help support" test just like
11012 (and for same reason as) "help set" test.
11013
11014Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
11015
11016 * gdb.t06/break.exp: Remove setup_xfails for
11017 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
11018 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
11019 about known bug in gcc to include up through 2.5.8.
11020 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
11021 well as "_vb$".
11022 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
11023 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
11024 with latest gcc and gdb.
11025 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
11026 well as "_vb$".
11027
11028Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
11029
11030 * configure.in (hppa*-*-*): Also configure and build stabs-only
11031 tests.
11032
11033Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
11034
11035 * gdb.t10/hppa.mt: A makefile fragment for the PA.
11036 * gdb.t10/configure.in (hppa*-*-*): Use it.
11037
11038Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11039
11040 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
11041
11042Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11043
11044 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
11045 versions prior to 1.13.5.
11046
11047Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
11048
11049 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
11050 the prompt is at the start of a line.
11051
11052Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
11053
11054 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
11055 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
11056 in the copr tests now.
11057 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
11058 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
11059 expected to fail.
11060
11061Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
11062
11063 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
11064 gdb.t31/chillvars.exp, lib/gdb.exp:
11065 Tweak to run under either version of expect.
11066 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
11067 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
11068 * gdb.t11/list.exp: Remove extraneous whitespace.
11069
11070Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
11071
11072 * gdb.t16/printcmds.exp (test_print_strings): Accept
11073 "(unsigned char *) " before the string.
11074
11075 * TODO: Add notes about printing of fancy types and GDB expressions.
11076
11077Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
11078
11079 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
11080 * gdb.t06/configure.in: Don't try to compile signals test program
d63a86f8 11081 if doing mips-idt-ecoff.
c906108c
SS
11082
11083Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
11084
11085 * Most .exp files: Tweak to run under either version of expect.
11086
11087Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
11088
11089 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
11090 xfails; I'm not sure why they are failing, but not because of PR 1806.
11091
11092Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
11093
11094 * config/unix-gdb.exp: Remove gdb_unload cause it's already
11095 defined in lib/gdb.exp.
11096
11097Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11098
11099 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
11100 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
11101 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
11102 have to be typeless.
11103
11104Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
11105
11106 * TODO: Add suggestion for copyright year test.
11107
11108Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
11109
11110 * configure.in (*-*-lynxos*): Add stabs tests.
11111
11112Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
11113
11114 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
11115 so insert a tab before any assembler directive in column zero.
11116
11117 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
11118 stores.
11119 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
11120 stores.
11121 (fpu_short_memory_tests): Likewise.
11122
11123Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11124
11125 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
11126 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
11127 .stabs directives in comments.
11128
11129Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11130
11131 * TODO: New file, describing tests we could write.
11132 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
11133
11134Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11135
11136 * gdb.t06/signals.exp: Add kludge to force re-sync.
11137
11138 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
11139 to xgdb instead of gdb, get out of gdb.
11140
11141Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
11142
11143 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
11144 for info.
11145
11146Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
11147
11148 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
11149 * gdb.stabs/configure.in (hppa*-*-*): Use it.
11150 * gdb.stabs/hppa.sed: New sed script for the PA.
11151
11152Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11153
11154 * gdb.stabs: Re-write weird.def and configuration to use sed
11155 instead of cpp. sed is portable and POSIX; cpp is neither.
11156
11157Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11158
11159 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
11160
11161Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11162
11163 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
11164
11165Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11166
11167 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
11168 "_vb$".
11169 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
11170 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
11171
11172Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11173
11174 * lib/gdb.exp: Comment out code which depends on non-existent
11175 `transform' procedure.
11176
11177Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
11178
11179 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
11180 * lib/gdb.exp: Transform tool name.
11181 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
11182 1.1's new error handling system.
11183
11184Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11185
11186 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
11187
11188Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11189
11190 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
11191 They made pattern matching so slow that timeouts happened on
11192 heavily loaded systems. Now any output from "show print" which
11193 gets us back to the GDB prompt is a PASS.
11194
11195Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
11196
11197 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
11198
11199Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11200
11201 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
11202
11203 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
11204 It is not from PR 3220.
11205
11206Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11207
11208 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
11209 just started failing because they depended on the order the
11210 subcommands are presented, or exact docstring text. This kind of
11211 test is a pain and has minimal benefit.
11212
11213Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11214
11215 * gdb.t09/corefile.exp: At end of test, use "core" command with
11216 no arguments.
11217
11218Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
11219
11220 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
11221 17}/Makefile.in: Make it possible to run the testsuite with Sun
11222 make and CC = cross gcc by adding explicit build rules for .o
11223 files.
11224
11225Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11226
11227 * gdb.t15/funcargs.exp: Don't put comments on same line as
11228 setup_xfail (@#$*%& tcl braindamage!).
d63a86f8 11229
c906108c
SS
11230Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11231
11232 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
11233
11234Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
11235
11236 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
11237 * gdb.t20/inherit.exp: remove three dumplicate entries.
11238
11239Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11240
11241 * gdb.t06/break.exp: For "next over recursive call", fail on any
11242 incorrect output, not just on "factorial (value=2)".
11243
11244Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11245
11246 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
11247 working now. Add an xfail if accesing a bss variable causes
11248 a memory error if the target is not yet run.
11249
11250Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11251
11252 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
11253 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
11254 name of __st* demangling (2 strings). Did Kung really get the
11255 more than 95 others right without testing them?
11256
11257Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
11258
11259 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
11260
11261Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
11262
11263 * configure.in (configdirs): Add gdb.disasm
11264 * gdb.disasm: New directory for GDB disassembler tests.
11265 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
11266
11267Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11268
11269 * gdb.t00/help.exp: Don't test "help set".
11270
11271 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
11272 from within expect statements. None of these happen anymore and
11273 they cause regressions to be silently unnoticed.
11274
11275 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
11276 messages) about known failures with gcc cygnus-2.4.5-930417.
11277
11278 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
11279 comp-info.exp so it gets built if it doesn't exist.
11280
11281 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
11282 it is no longer used.
11283 * gdb.t13/comp-info.c: Removed.
11284
11285Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
11286
11287 * gdb.t06/signals.exp: Add xfail for sun3.
11288
11289Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11290
11291 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
11292 relevant because ^C doesn't get sent but failure can be reproduced
11293 interactively).
11294
11295Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11296
11297 * gdb.stabs/alpha.mt: New configuration file for alpha.
11298 * gdb.stabs/configure.in: Use it.
11299 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
11300 sharing with alpha.mt, redefine long to word via preprocessor.
11301 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
11302 for alpha.
11303 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
11304 native cc.
11305 * gdb.t00/teststrategy.exp: Change expect string so that we
11306 consume the `(xgdb)' from the command echo and from the gdb prompt.
11307 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
11308 gdb currently compares all values as long, so this failure probably
11309 applies to any configuration where LONGEST is bigger than a target int.
11310 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
11311 with gcc.
11312 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
11313 to handle opaque pointers, gcc is.
11314 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
11315 as first argument. Include <sys/types.h> and change all operator
11316 new definitions to use size_t.
11317 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
11318 now that we use size_t.
11319
11320Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11321
11322 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
11323 a long or float array cast all array members to the same type.
11324 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
11325 with 64 bit longs.
11326 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
11327 on alpha.
11328 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
11329
11330Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11331
11332 * gdb.t24 (demangle.exp): Constructors of templates have names like
11333 vector<int>::vector(int) not vector<int>::vector<int>(int). See
11334 section 14.6 of the ARM.
11335
11336 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
11337 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
11338 accomplish little and slow down the testsuite.
11339
11340 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
11341 Accept spaces various places.
11342
11343Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11344
11345 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
11346 with watchpoint enabled.
11347
11348 * Makefile.in: Remove definition of CC and remove the second
11349 definition of CXX (the "CXX = gcc" one remains). These definitions
11350 were causing backquotes to be expanded within backquotes, which
11351 doesn't work.
11352
11353Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
11354
11355 * gdb.t17/callfuncs.exp: Add "return 0" to end.
11356
11357Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11358
11359 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
11360 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
11361 by mips cc and contains no stabs entries.
11362
11363Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
11364
11365 * config/vx-gdb.exp: Use fake device to load files rather than
11366 NFS.
11367 * lib/gdb.exp: New proc to do "file" command.
11368 * config/unix-gdb.exp: Use new "file" proc.
11369
11370Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
11371
11372 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
11373 Rework board rebooting slightly.
11374 (gdb_exit): Don't exit from the remote shell; there isn't one.
11375 * gdb.stabs/weird.exp: If a program is being debugged already,
11376 kill it.
11377 * gdb.t04/setvar.exp: Stop and restart gdb.
11378 * gdb.t05/expr.exp: Likewise.
11379 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
11380 restart gdb and reload the program.
11381 * gdb.t08/opaque.exp: Likewise.
11382 * gdb.t12/scope.exp: Likewise.
11383 * gdb.t13/bitfields.exp: Likewise.
11384 * gdb.t15/funcargs.exp: Likewise.
11385 * gdb.t20/classes.exp: Likewise.
11386 * gdb.t03/ptype.exp: Increase timeout.
11387 * gdb.t16/printcmds.exp (test_print_string_constants,
11388 test_print_array_constants): Likewise.
11389 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
11390 * gdb.t20/classes.exp (do_tests): Likewise.
11391 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
11392
11393Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
11394
11395 * gdb.stabs: Renamed *wierd* to *weird*.
11396
11397Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
11398
11399 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
11400 for timeout. Add "known gcc 2.4.5 bug" to failure message.
11401
11402Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
11403
11404 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
11405 (do_tests): Remove xfail for whatis on one_var and two_var.
11406
11407Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
11408
11409 * Makefile.in: Made cross building work better by adding
11410 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
11411
11412Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11413
11414 * gdb.t15/{return.c,return.exp,Makefile.in}:
11415 New test, currently commented out.
11416
11417Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
11418
11419 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
11420 still running and removes the leftover named socket so GDb can do
11421 clean restarts.
11422
11423Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
11424
11425 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
11426 console, not GDB.
11427 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
11428 cross testing works better with "make check"
11429 * config/unix-gdb: Use default procedures for exit and version.
11430 * config/vx-gdb.exp: Cleaned up and massaged back to working order
11431 with the newest VxWorks.
11432
11433Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11434
11435 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
11436 old form.
11437
11438 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
11439 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
11440
11441 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
11442
11443 * config/unix-gdb.exp: Remove this version of gdb_exit
11444 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
11445 Rob says he'll look at it when he gets back to testing boards.
11446
11447Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
11448
11449 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
11450 an expected fail for certain ptype commands.
11451
11452 * gdb.t20/classes.exp: Update expected results of "ptype class
11453 Base1" to account for the constructor that now appears in the type.
11454
11455Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
11456
11457 * configure.in (configdirs): Restore gdb.t04, which mysteriously
11458 disappeared from list.
11459 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
11460 "alldone" proc with call to cleanup and exit.
11461 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
11462 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
11463 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
11464 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
11465 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
11466 "alldone" proc with simple returns that suppress remaining
11467 tests. The alldone proc went away many months ago.
11468
11469Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11470
11471 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
11472
11473 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
11474
11475Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11476
11477 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
11478 as vax gdb will display them.
11479
11480Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11481
11482 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
11483 optimizers.
11484
11485 * scope.exp: Change "bad value for localval" messages so each one
11486 is unique.
11487
11488 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
11489 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
11490
11491 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
11492
11493Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11494
11495 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
11496 doesn't exist (due to optimization).
11497
11498Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11499
11500 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
11501 contains \r because the filename is long.
11502
11503 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
11504 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
11505
11506Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11507
11508 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
11509 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
11510 Ultrix.
11511 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
11512 int tests.
11513 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
11514
11515Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
11516
11517 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
11518
11519 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
d63a86f8 11520 to match does not match the passing case but still matches the
c906108c
SS
11521 failing case.
11522
11523Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11524
11525 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
11526
11527Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
11528
11529 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
11530 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
11531 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
11532 Remove various versions of gdb_exit.
11533 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
11534 gdb_exit.
11535 * config/unix-gdb.exp: gdb_exit remains here, and should override
11536 the generic version, since it's doing a lot of wierd stuff that
11537 the other versions aren't. FIXME, fold it in, or abandon this
11538 version.
11539
11540Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11541
11542 * gdb.t24/demangle.exp: Add tests for PR 3220.
11543
11544Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11545
11546 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
11547
11548Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
11549
11550 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
11551 "i386-*-*". Works for i486 as well.
11552
11553 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
11554 bug, and expand domain of xfail to all SVR4 systems, since the
11555 actual problem is likely to be in generic SVR4 /proc support.
11556
11557Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11558
11559 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
11560
11561Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
11562
11563 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
11564 xfails for other systems. Match a missing 'Continuing.' as an
11565 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
11566
11567 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
11568 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
11569 Only issue warning for missing executables if -all option is used.
11570
11571 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
11572 file if -all option is used. It's like an unpredictable XFAIL.
11573
11574Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11575
11576 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
11577 for dynamically linked binaries.
11578
11579 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
11580
11581Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11582
11583 * gdb.t20/inherit.exp: Change message for "print tagless struct"
11584 to state that this is a known bug in old versions of g++.
11585
11586Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11587
11588 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
11589 while waiting for `Continuing'.
11590
11591Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
11592
11593 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
11594 in text, data, and bss.
11595 * gdb.t10/nodebug.c: Add local and global test variables for
11596 initialized and uninitialized data.
11597
11598Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11599
11600 * config/unix-gdb.exp (gdb_exit): Add "wait".
11601
11602Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11603
11604 * gdb.t06/signals.exp: xfail the continue from the handler for all
11605 targets.
11606
11607 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
11608 function with watchpoints enabled, the i386 call dummy starts with
11609 a call.
11610
11611 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
11612 386 bsd names its corefiles.
11613
11614Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
11615
11616 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
11617 compilers don't grok it.
11618 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
11619 with small octal ints rather than character constants, which
11620 are signed and might not fit if first promoted to int.
11621
11622Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
11623
11624 * gdb.t09/Makefile.in (clean): Remove corefile.
11625
11626Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11627
11628 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
11629
11630Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11631 and Jim Kingdon (kingdon@cygnus.com)
11632
11633 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
11634 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
11635 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
11636
11637Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11638
11639 * gdb.t17/interrupt.exp: Add xfail for hppa.
11640
11641Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11642
11643 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
11644 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
11645 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
11646 to determine signed-ness of bitfields and use the result to setup
11647 the xfail.
11648 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
11649 * gdb.t15/funcargs.exp: Use them to step until the second indirect
11650 call line is reached if necessary.
11651
11652Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11653
11654 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
11655
11656Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11657
11658 * gdb.t06/break.exp: Also test `clear' command.
11659
11660Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
11661
11662 * gdb.t00/teststrategy.exp: Remove extra quote.
11663
11664 * gdb.t07/watchpoint.exp: Change xfail for calling function with
11665 watchpoint enabled to be for all non-68k machines.
11666
11667 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
11668
11669Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11670
11671 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
11672 targets use aout.mt instead of ecoff.mt as gas understands
11673 standard aout format.
11674
11675Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
11676
11677 * lib/gdb.exp (runto): Don't insist that function we are running to
11678 was compiled with -g.
11679
11680 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
11681
11682 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
11683 to get back into the read system call.
11684 Accept leading newline in case where we woke it up.
11685
11686Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11687
11688 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
11689 to make the stabs test work on ecoff systems using gcc and -with-stabs.
11690 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
11691 enable ecoff configuration.
11692
11693Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11694
11695 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
11696
11697Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11698
11699 * gdb.t16/printcmds.exp: Add another printf test.
11700
11701Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
11702
11703 * configure.in: If configured -with-stabs on any target, add
11704 stabsdirs to configdirs.
11705
11706Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11707
11708 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
11709 fun" so pattern does not match the command itself.
11710
11711Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11712
11713 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
11714
11715Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11716
11717 * gdb.t17/interrupt.exp: Test for more things.
11718
11719Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11720
11721 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
11722 compiler arranges the code and line numbers.
11723
11724 * gdb.t17/interrupt.exp: Don't send \n after ^C.
11725
11726Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11727
11728 * gdb.t00/help.exp: Increase expect input buffer size.
11729
11730Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11731
11732 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
11733
11734 * gdb.t07/watchpoint.exp: Add xfail for hppa.
11735
11736 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
11737
11738 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
11739 [0-9]*, not just [0-9].
11740
11741Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11742
11743 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
11744
11745 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
11746
11747Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11748
11749 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
11750
11751Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11752
11753 * gdb.t06/signals.c: Add xfails for sun3.
11754
11755 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
11756
11757 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
11758 test_stepping tests.
11759
11760Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11761
11762 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
11763
11764 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
11765
11766 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
11767 rather than actually putting it through cpp twice.
11768
11769 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
11770
11771Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
11772
11773 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
11774 no longer needed.
11775
11776Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11777
11778 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
11779
11780 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
11781 C++ features prints as "struct", make it a pass, not an xfail.
11782
11783Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11784
11785 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
11786 Don't require VA to print as "class" rather than "struct".
11787
11788Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
11789
11790 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
11791
11792Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11793
11794 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
11795
11796Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11797
11798 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
11799 order.
11800
11801Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11802
11803 * gdb.t16/printcmds.exp: Add printf tests.
11804
11805 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
11806
11807 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
11808
11809Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
11810
11811 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
11812 pass counts, to counteract any existing or future setup_xfails.
11813
11814Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11815
11816 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
11817 {BEGIN,END}_COMMON for common block instead of STAB.
11818 * gdb.stabs/wierd.exp: Add xfail for rs6000.
11819
11820 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
11821 intp_var should be N_GSYM not N_LSYM.
11822 wierd-aout.S: Use a label for the value of the N_SO.
11823 wierd.def: Remove all backslashes.
11824 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
11825
11826Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11827
11828 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
11829 get the expected next to inheritance3.
11830
11831Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11832
11833 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
11834 now that gcc-2.4 gets it right.
11835
11836Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11837
11838 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
11839
11840 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
11841 generating comp-info.exp which works for cross-compilation.
11842
11843Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
11844
11845 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
11846 "*-*-sysv4.*".
11847
11848Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
11849
11850 * gdb.t01/run.exp: Start with a fresh gdb.
11851 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
11852 SVR4.x.
11853
11854Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
11855
11856 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
11857 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
11858 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
11859 Makefile.in (distclean, realclean): Remove gdbme.c from list of
11860 things to remove.
11861
11862Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
11863
11864 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
11865 test cases from bug reports.
11866
11867Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
11868
11869 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
11870 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
11871 avoid spurious xfails.
11872 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
11873 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
11874 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
11875
11876Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
11877
11878 * gdb.t00/teststrategy.exp: Rework to provide more useful
11879 description of each test, fix problem with systems that define
11880 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
11881 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
11882 results for "next over recursive call" so timeouts aren't taken
11883 by error.
11884
11885Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
11886
11887 * gdb.t12/scope.exp: Test printing of variables before run.
11888
11889 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
11890 printed in wrong order due to sorting.
11891
11892Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
11893
11894 * gdb.t00/teststrategy.exp: Fix expected results for printing
11895 user entered string constant. Is array of char, prints with no
11896 address.
11897
11898 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
11899 commands.
11900 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
11901 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
11902 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
11903 of struct of char arrays.
11904 * gdb.t00/radix.exp: New tests for radix commands.
11905
11906Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
11907
11908 * gdb.t16/printcmd.exp: Print a variable before running program
11909 (with xfail for AIX).
11910
11911Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
11912
11913 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
11914
11915 * gdb.t16/printcmd.exp: Don't print variables before running program.
11916
11917 * gdb.t06/break.exp: Don't require envp argument to main.
11918
11919 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
11920
11921 * gdb.t02/whatis.exp, gdb.t11/list.exp:
11922 Add xfails for rs6000.
11923
11924 * gdb.t02/whatis.exp: Change other tests not to re-test something
11925 we already tested.
11926
11927 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
11928 each type used has a variable of that type.
11929
11930Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
11931
11932 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
11933
11934Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
11935
11936 * configure.in: change srctrigger to be a file, not a directory
11937
11938Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
11939
11940 * configure.in (mips-idt-ecoff*): Added trailing '*'.
11941
11942 * gdb.t11/list.exp: Fixed a couple of typos.
11943
11944Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
11945
11946 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
11947 is fixed and PR is closed.
11948 * gdb.t16 (gdbme.c): Add simple test string variable.
11949 * gdb.t16 (printcmds.exp): Add tests with simple test string
11950 variable, primarily for boundaries on "set print elements".
11951
11952Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
11953
11954 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
11955 Make leading 0's optional and don't expect a tab in the middle
11956 of the number.
11957
11958 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
11959
11960 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
11961 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
11962 don't end command passed to gdb_test with newline.
11963
11964 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
11965 signed keyword away, don't expect signed bitfields to be signed.
11966
11967 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
11968 printing with only as many 1's as are in the field as well as printing
11969 with 32 1's (see comment).
11970
11971Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
11972
11973 * gdb.t00/default.exp: Start with a fresh gdb.
11974 * configure.in (configdirs): Remove gdb.t31 until the chill
11975 compiler works again. It no longer is able to find chillrt0
11976 since it isn't in libchill.a anymore.
11977 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
11978 wierd.o, make more modular.
11979 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
11980 spurious newlines that caused problems.
11981
11982Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11983
11984 * Move test with enums and partial symbols from gdb.t03/ptype.exp
11985 to gdb.stabs/wierd.exp since GCC has worked around the bug.
11986 gdb.stabs/wierd.{exp,def}: Many new tests.
11987
11988 * gdb.t00/default.exp: update info line for new message.
11989
11990 * gdb.t02/{whatis.exp,gdbme.c}:
11991 Test that "char *" doesn't print as "caddr_t".
11992
11993Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11994
11995 * gdb.t00/help.exp: Use .* in place of some help messages which
11996 just changed.
11997 gdb.t00/default.exp: Update "info frame" test for new message.
11998 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
11999 Remove some xfails
12000
12001Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12002
12003 * gdb.t03/{gdbme.c,ptype.exp}:
12004 Add tests for typedef'd struct and union without tags.
12005 Also check "whatis" on a variable of a typedef'd enum without a tag.
12006
12007 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
12008 PRMS 1823; the bug still exists but isn't reproduced by this test
12009 anymore), and remove rs6000 XFAIL (the bug is fixed).
12010
12011 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
12012 duplicated from whatis.exp. For those that are left, accept
12013 "long", "long int", or "int" for long variables (whatis.exp already
12014 has an XFAIL for "int", so no need to fail it here).
12015
12016 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
12017 Deal with GCC's names for types now that GDB uses the compiler's names.
12018
12019 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
12020 setup_xfail's for sunos4. If we #defined the signed keyword away,
12021 don't expect GDB to know that char it is signed.
12022
12023 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
12024
12025Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
12026
12027 * configure.in (configdirs): Add gdb.t24 for C++ tests that
12028 should work on any system, regardless of debugging format.
12029 * gdb.t21/demangle.exp: Move to gdb.t24.
12030 * gdb.t24/demangle.exp: Move from gdb.t21.
12031 * gdb.t24/{Makefile.in, configure.in}: New files.
12032
12033Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12034
12035 * configure.in: Do gdb.stabs and C++ tests only for stabs.
12036 * gdb.stabs: New directory.
12037
12038Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12039
12040 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
12041 not just "Quit anyway?".
12042
12043Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
12044
12045 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
12046 that all setup_xfails are immediately followed by clear_xfails.
12047
12048Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
12049
12050 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
12051 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
12052 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
12053 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
12054 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
12055 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
12056 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
12057 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
12058 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
12059 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
12060 gdb.t31/chillvars.exp, lib/gdb.exp:
12061 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
12062 bug-gdb@prep.ai.mit.edu.
12063
12064Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
12065
12066 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
12067 with 0.0, not integer 0.
12068
12069Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
12070
12071 * gdb.t06/break.exp: Update for "Kill the program" message change.
12072
12073Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
12074
12075 * Makefile.in (GDBFLAGS): Set to -nx.
12076 * Makefile.in (site.exp): Use GDBFLAGS.
12077
12078Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
12079
12080 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
12081 Makefiles.
12082 (check): depend on just-check.
12083 (just-check): added so that tests can be run without a noop
12084 build pass.
12085
12086Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
12087
12088 Switch to using configure's configdirs.
12089 * Makefile.in (Makefile): add configure.in dependency.
12090 (SUBDIRS): removed redundant assignment.
12091 * configure.in: switch subdirs assignment to configdirs.
12092 * gdb.t*/configure.in: new files.
12093
12094Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
12095
12096 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
12097 works.
12098
12099Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
12100
12101 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
12102 in explicit rules. Apparently this is not supported by some makes.
12103
12104Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
12105
12106 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
12107
12108Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12109
12110 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
12111 disappeared.
12112
12113Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
12114
12115 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
12116
12117Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
12118
12119 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
12120 watchpoint problem that is now fixed.
12121 * gdb.t30/chexp.exp: Remove setup_xfail for printing
12122 uninitialized convenience variables.
12123 * gdb.t31/chillvars.exp: Fix expected patterns for printing
12124 structures.
12125
12126Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12127
12128 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
12129 which causes expect to get out of sync with gdb on long output
12130 from help set.
12131 * gdb.t09/corefile.exp: Make expected pattern for core file
12132 failing signal and frame output format less sun specific.
12133
12134Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
12135
12136 * gdb.t31/chillvars.exp: Add and remove initial dummy
12137 breakpoint, so that symbol table is forced in.
12138 (Needed at least on Sunos4, though it seems not SVR4.)
12139 * gdb.t31/chillvars.exp: Update for changed output format.
12140
12141Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
12142
12143 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
12144
12145Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
12146
12147 * Makefile.in: Added --srcdir when invoking runtest, removed the
12148 need for a local config file. (optional now)
12149
12150Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
12151
12152 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
12153 failure count used to force early termination. Add some more
12154 expected failures for gnu style demangling.
12155
12156Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12157
12158 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
12159 pmi variable from gdb.t20/gdbme to get optimized away.
12160 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
12161 Check for written corefile upon timeout _and_ eof.
12162
12163Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12164
12165 * config/unix-gdb.exp: Add missing return 0.
12166
12167Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12168
12169 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
12170 test termination.
12171
12172Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
12173
12174 * configure.in (subdirs): Put back gdb.t17 which mysteriously
12175 disappeared.
12176
12177Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
12178
12179 * gdb.t10/crossload.exp: Disable the i860-elf test until such
12180 time as i860 support works.
12181
d63a86f8 12182 * gdb.t15/funcargs.exp: Fix expected outputs to include
c906108c
SS
12183 "backtrace 100\r" rather than just "backtrace\r", to match last
12184 change.
12185
12186Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
12187
12188 * config/udi-gdb.exp (gdb_exit): Remove close command.
12189 (gdb_target_udi): New procedure to set the UDI target.
12190 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
12191 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
12192 Added waits for prompts after several question responses. Added
12193 some more responses used by a29k-amd-udi-gdb.
12194 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
12195 pass different arguments, restart UDI connection after program
12196 completion.
12197 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
12198 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
12199 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
12200 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
12201 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
12202 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
12203 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
12204 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
12205 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
12206 after program completion.
12207 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
12208 compiled with a SELECT_VECS setting.
12209 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
12210 infinite recursion.
12211
12212 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
12213 Added checks for COFF results, and made them expected failures for
12214 all targets. It would be better to make them expected failures
12215 for COFF targets only.
12216
12217Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
12218
12219 * Makefile.in: add null dvi target, don't bother to recurse
12220 through test directories for info and install-info; rename
12221 $(datadir) to be dejagnu instead of deja-gnu
12222
12223Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
12224
12225 * gdb.t31/gdbme.ch: Re-enable code that previously caused
12226 compiler to coredump.
12227 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
12228 code.
12229
12230Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
12231
12232 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
12233 coredump.
12234 * gdb.t31/chillvars.exp: Comment out tests that depend on that
12235 code.
12236
12237Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
12238
12239 * gdb.t03/ptype.exp: tests for return code from gdb_test.
12240 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
12241 which in a shell. Deletes xgdb when done.
12242 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
12243 Tests the return from the "set height" or "set width" commands.
12244 Added a few return codes where needed.
12245
12246Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
12247
12248 * Makefile.in (SUBDIRS): Add gdb.t17.
12249 * configure.in (subdirs): Add gdb.t17.
12250 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
12251 files to test gdb's calling of functions in the inferior with
12252 the correct arguments and gdb's ability to retrieve any
12253 result returned.
12254
12255Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
12256
12257 * config/unix-gdb.exp (gdb_exit): Remove close commands that
12258 may be called after gdb goes away. Previous versions of expect
12259 needed these to avoid file descriptor leaks, but they cause
12260 errors with the current revision of expect.
12261 * gdb.t00/gdbvars.exp: Use -re on expected output after
12262 setting sevenbit-strings.
12263 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
12264 to set sevenbit-strings consistent across tests.
12265 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
12266 set sevenbit-strings consistent across tests.
12267
12268Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
12269
12270 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
12271 expected output to match current "expect" expectations.
12272
12273Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
12274
12275 * gdb.t00/default.exp: Change expected output for default "source"
12276 command, to match new gdb behavior which requires a filename to
12277 source.
12278
12279Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
12280
12281 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
12282 expected fail for i486-*-* that misses the marker2 function.
12283 * gdb.t10/crossload.exp (bfddefault): Allow successful
12284 recognition of a format to pass even if no symbols are found.
12285 Explicitly catch failures where the format is not recognized
12286 or is ambiguous, and add the reason to the fail message.
12287 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
12288 the cause is and invalid target and add reason to failure message.
12289 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
12290 elf32-i386, elf32-sparc, and elf32-i860.
12291 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
12292 Set up expected failure for 'filename'::variable scope resolution,
12293 which is now apparently broken on all targets.
12294 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
12295 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
12296 gdb.t23/templates.exp: Change failure for missing binfile into
12297 just a warning.
12298 gdb.t21/demangle.exp: Change all cfront references to 'arm'
12299 references.
12300
12301Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
12302
12303 * gdb.t00/default.exp: Add expected output for default "source"
12304 command, to match new gdb behavior.
12305 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
12306
12307Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
12308
12309 * config/*-gdb.exp: returns an error, rather than exiting on
12310 internal errors.
12311
12312Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
12313
12314 * gdb.t03/gdbme.c: Add pointer to struct variable.
12315 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
12316 referencing struct members.
12317
12318Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
12319
12320 * configure.in (mips-idt-ecoff): New target.
12321 * config/mips-gdb.exp: New file for remote board using MIPS remote
12322 debugging protocol.
12323
12324 * Redid configuration scheme. Removed gdb.t*/configure.in.
12325 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
12326 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
12327 distclean targets. Built executables via .o files. Adjusted
12328 tests to account for source files in $(srcdir) rather than
12329 $(objdir).
12330 * lib/gdb.exp (runto): Don't expect () after the function name,
12331 because it may have arguments.
12332
12333Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
12334
12335 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
12336 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
12337 expected failures for mips-idt-* and mips-sgi-*.
12338 * gdb.t00/default.exp (attach): Kill process if requested.
12339 * gdb.t00/help.exp (help target core, help target): Accept a gdb
12340 that does not read core files.
12341 * gdb.t01/run.exp: Removed checks for exit status code.
12342 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
12343 it is linked in.
12344 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
12345 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
12346 appropriate, rather than doing it by hand.
12347 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
12348 execution.
12349 * gdb.t10/crossload.exp: Kill existing program if needed.
12350 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
12351 appropriate, rather than doing it by hand. Always increase
12352 timeout for this test, not just for VxWorks.
12353
12354Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
12355
12356 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
12357 of Chill STRUCT types and STRUCT values.
12358 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
12359 than "char".
12360 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
d63a86f8 12361 struct2): New struct definitions and initializations to test
c906108c
SS
12362 simple Chill STRUCT types.
12363
12364Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
12365
12366 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
12367 the null byte at the end of strings.
12368 * gdb.t00/default.exp: Make show version insensitive to copyright
12369 date.
12370 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
12371 to avoid dependencies on target char signedness.
12372 * gdb.t16/printcmds.exp: Update expected results for explicitly
12373 unsigned char.
12374 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
12375 now work.
12376 * gdb.t21/demangle.exp: Add many more patterns for template
12377 demangling, most of them being expected failures.
12378 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
12379 string we are matching for, to match on the whole string.
12380 * gdb.t21/demangle.exp: Add many new test strings to demangle,
12381 and fix a whole bunch that had incorrect expected output but were
12382 passing anyway because of the bug in "proc demangle".
12383 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
12384 type.
12385 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
12386
12387Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
12388
12389 * gdb/testsuite: made modifications to testcases, etc., to allow
12390 them to work properly given the reorganization of deja-gnu and the
12391 relocation of the testcases from deja-gnu to a "tool" subdirectory.
12392
12393Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
12394
12395 * gdb/testsuite: Initial creation of gdb/testsuite.
12396 Migrated dejagnu testcases and support files for testing nm to
12397 gdb/testsuite from deja-gnu. These files were moved "as is"
12398 with no modifications. This migration is part of a major overhaul
12399 of dejagnu. The modifications to these testcases, etc., which
12400 will allow them to work with the new version of dejagnu will be
12401 made in a future update.
48efe704
AC
12402
12403For additional changes see gdb.mi/ChangeLog-1999-2003.
c906108c
SS
12404\f
12405Local Variables:
ef043731 12406mode: change-log
c906108c
SS
12407left-margin: 8
12408fill-column: 74
12409version-control: never
12410End: