2004-07-31 Michael Chastain <mec.gnu@mindspring.com>
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
9366563b
MC
12004-07-31 Michael Chastain <mec.gnu@mindspring.com>
2
3 * gdb.cp/classes.exp: Accept more varieties of ptype output.
4 Accept more values of vtbl pointer. Remove some messages
5 about "obsolete gcc or gdb".
6
2fc1f950
MC
72004-07-30 Michael Chastain <mec.gnu@mindspring.com>
8
9 * gdb.cp/classes.exp: Accept more varieties of ptype output.
10
c724d49b
MC
112004-07-30 Michael Chastain <mec.gnu@mindspring.com>
12
13 * gdb.base/asm-source.exp: Properly convert target board
14 debug flags from gcc format to binutils format.
15
736b0fce
MK
162004-07-28 Mark Kettenis <kettenis@gnu.org>
17
18 * gdb.arch/i386-prologue.exp: Remove KFAIL of "backtrace in
19 gdb1718". PR backtrace/1718 partially fixed.
20
5633ea5c
JJ
212004-07-27 Jeff Johnston <jjohnstn@redhat.com>
22
23 * gdb.threads/watchthreads.exp: New test for threaded watchpoints.
24
575eebb1
NC
252004-07-26 Nick Clifton <nickc@redhat.com>
26
27 * gdb.asm/asm-source.exp (debug-flags): New variable. If a known
28 good default value for a specific architecture is available then
29 set it to that value. Otherwise default to the -gstabs switch.
30 Remove the -g... switches from the asm-flags variable. Allow the
31 target board info to override the value if it wants to. Pass the
32 switch on the assembler command line.
33
62104619
MK
342004-07-23 Mark Kettenis <kettenis@gnu.org>
35
36 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1718.
37 * gdb.arch/i386-prologue.c (gdb1718): New prototype and function.
38 (main): Call new function.
39
4a1135b8
MC
402004-07-22 Michael Chastain <mec.gnu@mindspring.com>
41
42 Test for PR exp/1715.
43 * gdb.base/radix.exp: Refactor common procedures. Make all
44 test names unique. Change XFAIL to KFAIL.
45
8a12c1f0
MC
462004-07-20 Michael Chastain <mec.gnu@mindspring.com>
47
48 * gdb.ada/gnat_ada.gpr.in: Rename from here ...
49 * gdb.ada/gnat_ada.gin: ... to here.
50 * configure.in: Use gnat_ada.gin.
51 * configure: Regenerate.
52
23b451cf
AC
532004-07-20 Andrew Cagney <cagney@gnu.org>
54
55 * gdb.base/signals.exp: Replace send_gdb and gdb_expect with
56 gdb_test and gdb_test_multiple. Delete bash_bug. Delete suspect
57 XFAILs. Clean up test messages and comments. Check backtraces.
58 Delete re-sync code.
59
ab618a02
MC
602004-07-19 Michael Chastain <mec.gnu@mindspring.com>
61
62 Fix PR cli/740.
63 * gdb.base/annota1.exp: Honor gdb,nosignals.
64 * gdb.base/annota3.exp: Likewise.
65
46dad340
MC
662004-07-19 Michael Chastain <mec.gnu@mindspring.com>
67
68 * lib/java.exp: Update copyright notice.
69
756d8c70
AC
702004-07-19 Andrew Cagney <cagney@gnu.org>
71
72 * gdb.base/selftest.exp: Copy file from here ...
73 * gdb.gdb/selftest.exp: ... to here.
74
586027e6
AC
752004-07-16 Andrew Cagney <cagney@redhat.com>
76
77 * lib/insight-support.exp: Delete file.
78 * lib/java.exp (java_init): Fix copyright.
79
029d2200
AC
802004-07-16 Andrew Cagney <cagney@gnu.org>
81
82 * gdb.base/restore.c: Append "prologue" to comments marking the a
83 function's prologue.
84 * gdb.base/restore.exp: Update copyright, re-indent.
85 (restore_tests): Use gdb_test_multiple. Add "calleeN calls
86 callerN" prefix where needed. Update patterns that match a
87 function's prologue.
88
653b62c5
MC
892004-07-16 Michael Chastain <mec.gnu@mindspring.com>
90
91 * gdb.base/restore.c: Add copyright notice.
92
f7d690e5
AC
932004-07-16 Andrew Cagney <cagney@gnu.org>
94
95 * gdb.base/logical.exp: Update copyright.
96 (evaluate): New procedure. Use to re-implement tests using
97 several tables.
98
d629a7cb
MH
992004-07-14 Martin Hunt <hunt@redhat.com>
100
101 * lib/insight-support.exp (gdbtk_start): Unset TCL_LIBRARY
102 which fixes some problems where init.tcl was not found.
103
9c7bb332
AC
1042004-07-13 Andrew Cagney <cagney@gnu.org>
105
6bf46641
AC
106 * gdb.base/sizeof.exp: Skip test when no inferior I/O.
107 (check_sizeof, check_valueof): Do not include the output in the
108 test name. Use gdb_test.
109 (get_valueof): Use gdb_test_multiple.
110
c4ffd4c0
AC
111 * gdb.base/step-test.exp: Update copyright. Use
112 gdb_test_multiple. Ensure that test names do not include
113 architecture dependent output.
114
ab89363a
AC
115 * gdb.gdb/observer.exp: Update copyright.
116 (setup_test): Use gdb_test_multiple.
117 (attach_first_observer, attach_second_observer)
118 (attach_third_observer, detach_first_observer)
119 (detach_second_observer, detach_third_observer)
120 (reset_counters, check_counters): Make $message a prefix.
121 (test_normal_stop_notifications): Add "args" parameter - a list of
122 init functions to be called. Make $message a prefix,
123 (test_observer_normal_stop): Change the message prefixes so that
124 they are unique, pass the attach / detach procedures to
125 test_normal_stop_notifications.
126
ec58997a
AC
127 * gdb.base/signull.exp (test_segv): Prefix all tests with
128 "${name}". Clean up test messages.
129
b475183b
AC
130 * gdb.base/annota3.exp, gdb.base/annota1.exp: Update copyright.
131
9c7bb332
AC
132 * gdb.base/ena-dis-br.exp: Update copyright.
133 (break_at): New function. Replace send_gdb with gdb_test,
134 break_at, and gdb_test_multiple. Replace XFAIL of "continue with
135 ignore count, not stopped at bpt", with KFAIL.
136
2dd95497
CV
1372004-07-13 Corinna Vinschen <vinschen@redhat.com>
138
139 * gdb.base/attach.exp: Remove cleanupfile handling.
140
419e626b
AC
1412004-07-12 Andrew Cagney <cagney@gnu.org>
142
143 * gdb.base/annota1.exp: Cleanup corefile test name.
144 * gdb.base/annota3.exp: Ditto.
145
8b1b3228
AC
1462004-07-12 Andrew Cagney <cagney@gnu.org>
147
78650829
AC
148 * gdb.base/signals.exp: Clean up copyright, re-indent.
149
8b1b3228
AC
150 * gdb.base/attach.exp: Replace send_gdb and gdb_expect with
151 gdb_test and gdb_test_multiple.
152
935c2760
JJ
1532004-07-08 Jeff Johnston <jjohnstn@redhat.com>
154
155 * gdb.java/jmain.exp: Fix expected line number for main to
156 break at. Set XFAIL for break at main test since gcj does not
157 provide line number info for first statement in main.
158
1544280f
AC
1592004-07-08 Andrew Cagney <cagney@gnu.org>
160
1279f4ff
AC
161 * gdb.base/attach.exp: Cleanup copyright. Re-indent.
162
1544280f
AC
163 * gdb.base/sigbpt.exp: Make the common part of each test name a
164 prefix instead of suffix.
165
bcc82369
BR
1662004-07-07 Bob Rossi <bob_rossi@cox.net>
167
168 * gdb.mi/mi2-file.exp: Revert to version 1.1, except changed name of
169 test from test_tbreak_creation_and_listing to
170 test_file_list_exec_source_file
171 * gdb.mi/mi-file.exp: Add test for -file-list-exec-source-files
172 Changed name of test from test_tbreak_creation_and_listing to
173 test_file_list_exec_source_file
174
23f4b0aa
JJ
1752004-07-07 Jeff Johnston <jjohnstn@redhat.com>
176
177 * gdb.java/jmisc.exp: Fix expected output of ptype to look for
178 the jmisc() constructor instead of <init>.
179 * gdb.java/jmisc1.exp: Ditto.
180
56401cd5
AC
1812004-07-07 Andrew Cagney <cagney@gnu.org>
182
183 * gdb.base/sigbpt.exp (stepi_out): Check for a single step
184 corrupting the PC.
185
44ae2f6a
MC
1862004-07-06 Michael Chastain <mec.gnu@mindspring.com>
187
188 * gdb.cp/templates.exp: Accept whitespace change in demangler
189 output.
190
45a83408
AC
1912004-07-06 Andrew Cagney <cagney@gnu.org>
192
193 * gdb.base/sigbpt.exp, gdb.base/sigbpt.c: New test.
194
d205ad70
MC
1952004-07-02 Michael Chastain <mec.gnu@mindspring.com>
196
197 * lib/compiler.c: Accept __HP_CXD_SPP for old hp ansi c compiler.
198 * lib/compiler.cc: Likewise.
199
06ea1a61
MC
2002004-06-30 Michael Chastain <mec.gnu@mindspring.com>
201
202 * lib/compiler.cc: Work around string preprocessing problem
203 with old hp c++ compiler.
204 * lib/compiler.c: Likewise.
205
daab1251
CV
2062004-06-29 Corinna Vinschen <vinschen@redhat.com>
207
208 * gdb.arch/i386-prologue.c: Add copyright header. Use preprocessor
209 directives to conditionalize symbol prefixing.
210 * gdb.arch/i386-prologue.exp: Allow symbol prefixing by adding
211 additional_flags handling. Add underscore prefix for Cygwin.
212 * gdb.arch/i386-unwind.c: Use preprocessor directives to
213 conditionalize symbol prefixing.
214 * gdb.arch/i386-unwind.exp: Allow symbol prefixing by adding
215 additional_flags handling. Add underscore prefix for Cygwin.
216
cc984116
CV
2172004-06-29 Corinna Vinschen <vinschen@redhat.com>
218
219 * gdb.base/bigcore.exp: Skip test on Cygwin.
220
c279b077
MC
2212004-06-28 Michael Chastain <mec.gnu@mindspring.com>
222
223 * gdb.hp/gdb.base-hp/reg.exp: Accept both old and new gdb output
224 formats for "info register". Use gdb_test_multiple. Fix
225 the "invalid register" test.
226
0e915747
CV
2272004-06-28 Corinna Vinschen <vinschen@redhat.com>
228
229 * gdb.base/attach.exp: Fix copyright date. Set testpid to Windows
230 PID for Cygwin. Add Cygwin specific strings to check for in some
231 tests.
232 (do_attach_tests): Add a test for user interaction when attaching
233 to a process with no matching symbol table already loaded.
234
11422c86
AC
2352004-06-26 Andrew Cagney <cagney@gnu.org>
236
237 Test PR java/1567 and PR java/1565.
238 * gdb.java/jmain.exp, gdb.java/jmain.java: New files.
239 * gdb.java/jmisc2.exp: Delete file.
240
cefbce26
MC
2412004-06-26 Michael Chastain <mec.gnu@mindspring.com>
242
243 * gdb.hp/gdb.base-hp/reg.exp: Update copyright notice.
244
e19f872c
CV
2452004-06-25 Corinna Vinschen <vinschen@redhat.com>
246
247 * gdb.base/attach.exp (do_attach_tests): Don't forget to kill second
248 attach process.
249
d931ba3b
MC
2502004-06-23 Michael Chastain <mec.gnu@mindspring.com>
251
252 * gdb.cp/pr-1553.exp: Remove.
253
aef68c48
MC
2542004-06-22 Michael Chastain <mec.gnu@mindspring.com>
255
256 * gdb.cp/pr-1553.cc: Remove.
257 * gdb.cp/pr-1553.exp: Disable this test.
258
8d5df71a
JB
2592004-06-20 Jim Blandy <jimb@redhat.com>
260
261 Fix PR testsuite/1680.
262 * gdb.arch/i386-sse.exp: Properly quote curly braces in
263 regular expressions.
264
4ac6f39d
MC
2652004-06-19 Michael Chastain <mec.gnu@mindspring.com>
266
267 Fix PR testsuite/1679.
268 * gdb.arch/i386-sse.exp: Do not call gdb_suppress_entire_file.
269 Issue an UNSUPPORTED result instead.
270
1b413552
JB
2712004-06-18 Jim Blandy <jimb@redhat.com>
272
273 * gdb.base/charset.exp: Only send a control-C if we see a new
274 prompt and incomplete command.
275
6daa6ebd
MC
2762004-06-18 Michael Chastain <mec.gnu@mindspring.com>
277
278 * gdb.cp/pr-574.cc: Add copyright notice.
279
51fa4ae0
JB
2802004-06-17 Jim Blandy <jimb@redhat.com>
281
282 * gdb.base/charset.exp: Don't refer to $expect_out(1,string) in
283 cases where the regexp has no groups; this grabs random text from
284 the previous test suite, whatever that was.
285
8fea26c5
MC
2862004-06-17 Michael Chastain <mec.gnu@mindspring.com>
287
288 * gdb.cp/printmethod.cc: Add copyright notice.
289
1e3aeb41
MC
2902004-06-16 Michael Chastain <mec.gnu@mindspring.com>
291
292 * gdb.cp/psmang1.cc, gdb.cp/psmang2.cc: Add copyright notice.
293
9d9030bc
AC
2942004-06-16 Andrew Cagney <cagney@gnu.org>
295
296 * gdb.base/signull.c: Update copyright. Include <string.h>.
297 (bowler): Replace data_pointer with data_read
298 and data_write cases. Add code_descriptor case.
299 (zero, desc): New array and pointer.
300 (data, code): Change to simple pointers.
301 * gdb.base/signull.exp: Fix probe pattern matching a function
302 descriptor SIGSEGV. Replace data_pointer with data_read and
303 data_write tests.
304
acd4ad44
AC
3052004-06-16 Andrew Cagney <cagney@gnu.org>
306
307 * gdb.base/long_long.exp, gdb.base/long_long.c: Rewrite.
308
08fd625c
MC
3092004-06-15 Michael Chastain <mec.gnu@mindspring.com>
310
311 * gdb.base/long_long.c: Add copyright notice.
312
1903502c
MC
3132004-06-15 Michael Chastain <mec.gnu@mindspring.com>
314
315 * gdb.base/long_long.exp: Remove reference to
316 bug-gdb@prep.ai.mit.edu. Change line-number-specific breakpoint
317 to gdb_breakpoint and gdb_continue_to_breakpoint.
318
83313cb1
JB
3192004-06-14 Jim Blandy <jimb@redhat.com>
320
321 * gdb.arch/e500-regs.exp: Fix up 'print' pattern for the little-
322 endian case.
323
1bf404ef
AC
3242004-06-14 Andrew Cagney <cagney@gnu.org>
325
326 * gdb.base/gcore.exp (capture_command_output): Delete the always
327 passing tests containing inferior values.
328 * gdb.base/ending-run.exp: Do not include the breakpoint address
329 in the test message. Update copyright.
330 * gdb.base/sizeof.exp (check_sizeof): Do not include the type's
331 size in the test name, use gdb_test_multiple. Update copyright.
332
ef220b33
MC
3332004-06-14 Michael Chastain <mec.gnu@mindspring.com>
334
335 * gdb.cp/ref-types.cc: Add copyright notice.
336
4f70a4c9
MC
3372004-06-14 Michael Chastain <mec.gnu@mindspring.com>
338
339 * lib/compiler.c: Remove gcc_compiled, hp_cc_compiler,
340 hp_aCC_compiler.
341 * lib/compiler.cc: Likewise.
342 * lib/gdb.exp (get_compiler_info): Eval lines only if they are
343 'set' commands. Log diagnostics for other lines. Set
344 gcc_compiled, hp_cc_compiler, and hp_aCC_compiler.
345
335928ac
MC
3462004-06-13 Michael Chastain <mec.gnu@mindspring.com>
347
348 * gdb.cp/try_catch.cc: Add copyright notice.
349
2efb12e8
MC
3502004-06-12 Michael Chastain <mec.gnu@mindspring.com>
351
352 * gdb.cp/userdef.cc: Add copyright notice.
353
0bbed51a
MC
3542004-06-11 Michael Chastain <mec.gnu@mindspring.com>
355
356 * gdb.cp/virtfunc.cc: Add copyright notice.
357
e12a46c9
RC
3582004-06-11 Randolph Chung <tausq@debian.org>
359
360 * gdb.base/structs2.exp: Mark two tests as xfail because of a compiler
361 problem.
362
338e05af
AC
3632004-06-10 Andrew Cagney <cagney@gnu.org>
364
365 * lib/compiler.cc, lib/compiler.c: Append either
366 __GNUC_PATCHLEVEL__, or "unknown" to the compiler_info.
367 * gdb.base/structs.exp (test_struct_calls): Check for gcc-3-3-*
368 instead of gcc-3-3.
369
dc3f10cb
AC
3702004-06-09 Andrew Cagney <cagney@gnu.org>
371
b4d946af
AC
372 * gdb.base/structs.exp (test_struct_calls): Fix KFAIL for
373 gdb/1455, bug is specific to "long long" and "double".
374
dc3f10cb
AC
375 * gdb.base/structs.exp (test_struct_returns, test_struct_returns)
376 (test_struct_calls): Remove KFAIL of "long double" on i*86-*-*,
377 x86_64-*-*, sparc64-*-*, and sparc*-*-solaris2*. PR tdep/1447
378 fixed.
379
b5c0bfa2
AC
3802004-06-09 Andrew Cagney <cagney@gnu.org>
381
382 * gdb.base/structs.exp (test_struct_returns): Replace
383 "return_value_unknown" and "finish_value_unknown" by
384 "return_value_known" and "finish_value_known". Instead of
385 "return_value_unknown" iff "finish_value_unknown", check
386 "return_value_known" implies "finish_value_known".
387
caeb605f
MH
3882004-06-08 Martin Hunt <hunt@redhat.com>
389
390 * gdb.base/float.exp: Add pattern for mips targets.
391
c892bb64
RC
3922004-06-08 Randolph Chung <tausq@debian.org>
393
394 * gdb.base/float.exp: Add pattern for hppa*-* target; make the failure
395 message for unknown architectures more clear.
396
48306d3e
JB
3972004-06-08 Joel Brobecker <brobecker@gnat.com>
398
399 * gdb.ada/null_record.exp: Use "start" instead of "begin" to
400 start the execution of the program.
401
83ecb59f
JB
4022004-06-07 Jim Blandy <jimb@redhat.com>
403
404 * gdb.arch/i386-sse.exp, gdb.arch/i386-sse.c: New tests.
405 * gdb.arch/i386-cpuid.h: New helper file.
406
55264cb4
RC
4072004-06-07 Randolph Chung <tausq@debian.org>
408
409 * gdb.base/shlib-call.exp: Allow breakpoint to be added after inferior
410 has started.
411
23cadb28
RM
4122004-06-04 Roland McGrath <roland@redhat.com>
413
414 Fix PR gdb/1647.
415 * gdb.base/auxv.exp (fetch_auxv): Revert last change and fix it
416 differently to be robust to output buffering differences.
417
51d01eda
MC
4182004-06-04 Michael Chastain <mec.gnu@mindspring.com>
419
420 * gdb.threads/pthreads.exp: Update copyright years.
421 (check_control_c): Change asynchronous 'after' to synchronous.
422
f4fc3b93
RM
4232004-06-04 Roland McGrath <roland@redhat.com>
424
425 * gdb.base/auxv.exp (fetch_auxv): Consume output fully through
426 next gdb prompt.
427
4013522b
MC
4282004-06-02 Michael Chastain <mec.gnu@mindspring.com>
429
430 Fix PR gdb/1636.
431 * gdb.threads/manythreads.exp: Change asynchronous 'after'
432 calls to synchronous.
433
7a8f1e6b
JB
4342004-05-26 Jim Blandy <jimb@redhat.com>
435
436 * gdb.arch/e500-prologue.exp, gdb.arch/e500-prologue.c: New tests.
437
81bb3443
RC
4382004-05-24 Randolph Chung <tausq@debian.org>
439
440 * gdb.asm/asm-source.exp: Enable test for hppa-linux target.
441 * gdb.asm/pa.inc: New file.
442
8f5a3103
MK
4432004-05-22 Mark Kettenis <kettenis@gnu.org>
444
445 * gdb.base/signull.c: Use sigjmp_buf instead of jmp_buf.
446
734b8fe8
JB
4472004-05-21 Joel Brobecker <brobecker@gnat.com>
448 Daniel Jacobowitz <drow@mvista.com>
449
450 * lib/gdb.exp (gdb_test_multiple): Improve regexp matching the
451 GDB prompt.
452
725603e1
UW
4532004-05-20 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
454
f4fc3b93 455 * gdb.base/signull.c: Use sigsetjmp/siglongjmp instead of
725603e1
UW
456 setjmp/longjmp. Use sigaction instead of signal.
457
8b923272
JB
4582004-05-19 J. Brobecker <brobecker@gnat.com>
459 Michael Snyder <msnyder@redhat.com>
460
461 * gdb.threads/pthread_cond_wait.c: New file.
462 * gdb.threads/pthread_cond_wait.exp: New testcase.
463
8bfabb04
AC
4642004-05-13 Andrew Cagney <cagney@redhat.com>
465
466 * gdb.base/signull.exp, gdb.base/signull.c: New files.
467 * gdb.base/gdb1476.c, gdb.base/gdb1476.exp: Delete files.
468
42edda50
AC
4692004-05-11 Andrew Cagney <cagney@redhat.com>
470
471 * gdb.base/sigstep.exp (advancei): Update KFAILs. gdb/1613 is
472 fixed but revealed gdb/1639.
473
d303a6c7
AC
4742004-05-10 Andrew Cagney <cagney@redhat.com>
475
476 * gdb.base/signals.exp (signal_tests_1): Simplify "continue to
477 func1" and "next to 2nd alarm", kernel bug avoided.
478
bf08c2a1
DJ
4792004-05-10 Daniel Jacobowitz <dan@debian.org>
480
481 PR external/1568
482 * gdb.base/bigcore.exp: Check the size of the dumped core file.
483 XFAIL if it is smaller than bytes_allocated.
484 * gdb.base/bigcore.c (bytes_allocated): Make static and unsigned.
485 (main): Make chunks_allocated unsigned. Correct comment.
486
c0586a34
JB
4872004-05-07 Joel Brobecker <brobecker@gnat.com>
488
489 * gdb.arch/powerpc-aix-prologue.c: New file.
490 * gdb.arch/powerpc-aix-prologue.exp: New file.
491
f2785d12
JB
4922004-05-07 Jim Blandy <jimb@redhat.com>
493
494 * gdb.base/lineinc.exp, gdb.base/lineinc1.h, gdb.base/lineinc2.h,
495 gdb.base/lineinc3.h, gdb.base/lineinc.c: New tests.
496
bd7f6e30
JB
4972004-05-06 Joel Brobecker <brobecker@gnat.com>
498
499 * gdb.base/sep.exp: No longer setup_kfail when the program was
500 built with dwarf2.
501
0a5e7efe
JI
5022004-05-05 Jim Ingham <jingham@apple.com>
503
504 * gdb.base/pending.exp: Make sure pending breakpoints
505 preserve the ignore count.
f4fc3b93 506
a8958849
MK
5072004-04-27 Jerome Guitton <guitton@gnat.com>
508
509 * i386-prologue.exp: Add testcase for jump instruction as first
510 instruction of the real code.
511 * i386-prologue.c (jump_at_beginning): New function.
512
7e103f5b
MK
5132004-04-28 Mark Kettenis <kettenis@gnu.org>
514
515 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1624 on
516 x86_64-*-*.
517
5d38b224
MK
5182004-04-28 Mark Kettenis <kettenis@gnu.org>
519
520 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1623 on
521 i*86-*-*.
522
0ef32fd9
MK
5232004-04-25 Mark Kettenis <kettenis@gnu.org>
524
525 * gdb.base/call-sc.exp (start_scalars_test): Fix regular
526 expression that checks the return type.
527
71d7dd7c
AC
5282004-04-23 Andrew Cagney <cagney@redhat.com>
529
530 * gdb.base/call-sc.exp: New test of scalar call/return values.
531 * gdb.base/call-sc.c: Ditto.
532
1e9f977e
JJ
5332004-04-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
534
535 * gdb.threads/manythreads.c: Reduce thread stack size.
536
899d9e3a
JJ
5372004-04-23 Jeff Johnston <jjohnstn@redhat.com>
538
539 * gdb.threads/manythreads.c: Add copyright notice.
540
61bcae62
AC
5412004-04-23 Andrew Cagney <cagney@redhat.com>
542
543 * gdb.base/siginfo.exp: Better handle step out of signal.
544 * gdb.base/sigstep.exp: Ditto.
545
7339a42e
JJ
5462004-04-22 Jeff Johnston <jjohnstn@redhat.com>
547 Daniel Jacobowitz <drow@mvista.com>
548
549 * gdb.threads/manythreads.c: New testcase.
550 * gdb.threads/manythreads.exp: Ditto.
551
5c98409b
JB
5522004-04-22 Jim Blandy <jimb@redhat.com>
553
554 * gdb.stabs/exclfwd.exp, gdb.stabs/exclfwd1.c,
555 gdb.stabs/exclfwd2.c, gdb.stabs/exclfwd.h: New test.
556
3b611f1a
MC
5572004-04-21 Michael Chastain <mec.gnu@mindspring.com>
558
559 * gdb.stabs/weird.exp: Accept full pathname for $binfile.
560
f0fd9238
AC
5612004-04-21 Andrew Cagney <cagney@redhat.com>
562
563 * gdb.base/sigstep.c: New file.
564 * gdb.base/sigstep.exp: New file.
565
90990674
JB
5662004-04-16 Joel Brobecker <brobecker@gnat.com>
567
568 * gdb.gdb/observer.exp (test_normal_stop_notifications): Update
569 call to observer_notify_normal_stop.
570
78cef34b
AC
5712004-04-15 Andrew Cagney <cagney@redhat.com>
572
573 * gdb.base/siginfo.c: New file.
574 * gdb.base/siginfo.exp: New file.
575
d2343407
JB
5762004-04-12 J. Brobecker <brobecker@gnat.com>
577
578 * gdb.base/sep.exp: Fix typo in comment.
579
a2dba3c8
JB
5802004-04-12 J. Brobecker <brobecker@gnat.com>
581
582 * gdb.base/sep.c: New file.
583 * gdb.base/sep-proc.c: New file.
584 * gdb.base/sep.exp: New testcase.
585
15f7b60e
MK
5862004-04-09 Mark Kettenis <kettenis@gnu.org>
587
588 * gdb.base/bigcore.exp: Disable on Solaris; no sparse core file
589 support.
590
44f4de1a
AC
5912004-04-05 Andrew Cagney <cagney@redhat.com>
592
593 * gdb.base/sigaltstack.c: New file.
594 * gdb.base/sigaltstack.exp: New file.
595
ef04f396
JB
5962004-04-04 Joel Brobecker <brobecker@gnat.com>
597
598 * gdb.base/foll-fork.exp: Update the expected output for
599 "help set follow-fork-mode", to match a change that was made
600 to the help of this variable on 2004-01-13.
601
d40d2c92
JB
6022004-04-01 Joel Brobecker <brobecker@gnat.com>
603
604 * lib/ada.exp: Add copyright notice.
605 * bar.ads: Likewise.
606 * bar.adb: Likewise.
607 * null_record.adb: Likewise.
608 * null_record.exp: Likewise.
609 * gnat_ada.gpr.in: Likewise. Fix typo in a comment, clarify another.
610
f86ef5a3
JB
6112004-04-01 Joel Brobecker <brobecker@gnat.com>
612
613 * configure.in: Generate gdb.ada/Makefile and gdb.ada/gnat_ada.gpr.
614 * configure: Regenerate.
615
414e70e3
JB
6162004-04-01 Joel Brobecker <brobecker@gnat.com>
617
618 * lib/ada.exp (gdb_compile_ada): Emit UNSUPPORTED if we failed
619 to build the application. Remove the message printed when in
620 verbose mode, redundant with the UNSUPPORTED message above.
621
f0aaee49
JB
6222004-03-31 Joel Brobecker <brobecker@gnat.com>
623
624 * gdb.ada (bar.ads, bar.adb, null_record.adb): New files.
625 * gdb.ada (null_record.exp): New testcase.
626
ac81cb54
JB
6272004-03-31 Joel Brobecker <brobecker@gnat.com>
628
629 * Makefile.in (ALL_SUBDIRS) Add gdb.ada.
630
854af2f7
JB
6312004-03-31 Joel Brobecker <brobecker@gnat.com>
632
633 * gdb.ada: New subdirectory.
634 * gdb.ada/Makefile.in: New file.
635 * gdb.ada/gnat_ada.gpr.in: New file.
636
034cb681
JB
6372004-03-31 Joel Brobecker <brobecker@gnat.com>
638
639 * lib/ada.exp: New file.
640
78a1a894
DJ
6412004-03-24 Daniel Jacobowitz <drow@mvista.com>
642
643 * gdb.base/gdb1250.exp: Use runto {allow-pending}.
644 * lib/gdb.exp (runto, gdb_breakpoint): Support {allow-pending}.
645
4b2b3b3e
AC
6462004-03-22 Andrew Cagney <cagney@redhat.com>
647
648 * gdb.base/watchpoint.exp (test_stepping): Delete bogus XFAILs
649 hiding problems with DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET.
650 Problem identified by Ulrich Weigand.
651
23c73aa3
DC
6522004-03-17 David Carlton <carlton@kealia.com>
653
654 * gdb.cp/classes.exp (test_enums): Refer to PR c++/1588 instead of
655 PR c++/826.
656
d63a86f8
RM
6572004-03-16 Roland McGrath <roland@redhat.com>
658
659 * gdb.base/auxv.exp: New file.
660 * gdb.base/auxv.c: New file, copied verbatim from coremaker2.c.
661
0e02aa50
DC
6622004-03-12 David Carlton <carlton@kealia.com>
663
664 * gdb.cp/pr-1553.exp: New. Tests for PR c++/1553.
665 * gdb.cp/pr-1553.cc: Ditto.
666 * gdb.cp/local.exp (ptype NestedInnerLocal): Add comment, third
667 pass branch.
668
c20b71be
MC
6692004-03-12 Michael Chastain <mec.gnu@mindspring.com>
670
671 * gdb.cp/templates.exp: Accept more template types.
672
c7414a01
MC
6732004-03-09 Michael Chastain <mec.gnu@mindspring.com>
674
675 From Corinna Vinschen with modifications.
676 * gdb.cp/classes.cc (enums1): Add a line to extend scope of
677 local variable obj_with_enum.
678 * gdb.cp/classes.exp (test_enums): Remove TODO note about FAIL
679 results with obj_with_enum.
680
ed69573c
MC
6812004-03-09 Michael Chastain <mec.gnu@mindspring.com>
682
683 * gdb.cp/classes.cc: New file, copied from misc.cc.
684 * gdb.cp/classes.exp: Use classes.cc rather than misc.cc.
685
28301461
MC
6862004-03-09 Michael Chastain <mec.gnu@mindspring.com>
687
688 * gdb.cp/misc.cc: Add copyright notice.
689
1198ecbe
DC
6902004-03-05 David Carlton <carlton@kealia.com>
691
692 * gdb.cp/rtti.exp: Add 'print *obj3' test.
693 * gdb.cp/rtti.h: Update copyright.
694 (namespace n2::n3): New.
695 * gdb.cp/rtti1.cc: (refer_to (n2::n3::C3 *)): New.
696 (n2::n3::func3): New.
697 (main): Call n2::n3::func3.
698 * gdb.cp/rtti2.cc: Update copyright.
699 (n2::create3): New.
700
9e08c470
MK
7012004-03-04 Mark Kettenis <kettenis@gnu.org>
702
703 * gdb.asm/openbsd.inc: Fix typo.
704
4bebc3aa
FF
7052004-03-03 Fred Fish <fnf@redhat.com>
706
707 * gdb.base/pc-fp.exp (get_valueofx): Fix apparent typo to now set
708 "val" instead of unused "size". Update copyright year.
709
6ea9fb37
DJ
7102004-02-29 Daniel Jacobowitz <drow@mvista.com>
711
712 * gdb.cp/ctti.exp: Handle unsigned char type. Expect templates
713 to use unsigned char.
714 * gdb.cp/cttiadd.c, gdb.cp/cttiadd1.c, gdb.cp/cttiadd2.c,
715 gdb.cp/cttiadd3.c: Change type of variable to unsigned char.
716
23b23974
DJ
7172004-02-29 Daniel Jacobowitz <drow@mvista.com>
718
719 * config/gdbserver.exp (gdbserver_gdb_load): Wait for a complete
720 line of output.
721
7574fd53
DJ
7222004-02-28 Daniel Jacobowitz <drow@mvista.com>
723
724 * gdb.base/relocate.c (dummy): Initialize.
725
a195357f
DJ
7262004-02-28 Daniel Jacobowitz <drow@mvista.com>
727
728 * gdb.base/chng-syms.exp: Anchor exit pattern. Allow
729 a breakpoint at exit.
730
72fd54a9
FF
7312004-02-27 Fred Fish <fnf@redhat.com>
732
733 * gdb.base/chng-syms.exp: Add expect condition to match failing
734 case that isn't a timeout.
735
b9d23137
AC
7362004-02-27 Andrew Cagney <cagney@redhat.com>
737
738 * gdb.base/bigcore.exp: Disable on HP/UX, no sparse corefile
739 support.
740
15d208f6 7412004-02-26 Fred Fish <fnf@redhat.com>
d63a86f8 742
15d208f6
FF
743 * gdb.arch/gdb1431.c: Remove.
744 * gdb.arch/gdb1431.s: New file, copy of gdb1291.s
745 * gdb.arch/gdb1431.exp: Use "advance" correctly instead
746 of "until" incorrectly.
747
98f9cd2d
JB
7482004-02-26 J. Brobecker <brobecker@gnat.com>
749
750 * gdb.cp/class2.cc (empty): New class.
751 (refer): New function.
752 (main): Declare an object of type empty and use it.
753 * gdb.cp/class2.exp: Print the value of an object of type empty.
754
9b50c11b
JJ
7552004-02-26 Jeff Johnston <jjohnstn@redhat.com>
756
757 * gdb.base/langs.exp: Update query string to match the
758 new nquery format used for pending breakpoints.
759
0dcd613f
AC
7602004-02-26 Andrew Cagney <cagney@redhat.com>
761
762 Fix PR i18n/1570.
763 * gdb.base/charset.c: Update copyright notice.
764 (main, init_string): Remove the escape character '\e' tests.
765 * gdb.base/printcmds.exp (test_print_all_chars): Ditto.
766 * gdb.base/charset.exp (valid_host_charset): Ditto.
767 * gdb.base/setvar.exp: Ditto.
768
b8a56647
AC
7692004-02-24 Andrew Cagney <cagney@redhat.com>
770
90d59e34
AC
771 * gdb.base/corefile.exp: Use gdb_test_multiple, make "accessing
772 mmapped data in core file" PASS and FAIL messages consistent.
773
b8a56647
AC
774 * gdb.java/jmisc.exp: Use the fully quallified name of "main" when
775 setting a breakpoint. Work around PR java/1565.
776
9f27c604
JJ
7772004-02-23 Jeff Johnston <jjohnstn@redhat.com>
778
779 * lib/gdb.exp (gdb_breakpoint): Update query string to match
780 new nquery format.
781 * gdb.base/pending.exp: Ditto.
782
3224a706
MK
7832004-02-22 Mark Kettenis <kettenis@gnu.org>
784
785 * configure.in: Run stabs tests on *BSD.
786 * configure: Regenerated.
787
41e0a9ca
MK
7882004-02-21 Mark Kettenis <kettenis@gnu.org>
789
790 * gdb.base/bigcore.exp: Bail out on *BSD instead of only NetBSD.
791
1e1b3428
FF
7922004-02-20 Fred Fish <fnf@redhat.com>
793
794 * gdb.base/callfuncs.exp (do_function_calls): Remove extraneous
795 blank in test for "returns short", for consistency with other
796 "returns xxx" tests. Update copyright year.
797
f9a7572a
FF
7982004-02-19 Fred Fish <fnf@redhat.com>
799
800 New testcase for PR breakpoint/1558.
801 * gdb.arch/gdb1558.exp: New file.
802 * gdb.arch/gdb1558.c: New file.
803
b2ce2854
EZ
8042004-02-19 Elena Zannoni <ezannoni@redhat.com>
805
806 * gdb.base/nodebug.exp: Fix typo.
807
e7c9ff01
JB
8082004-02-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
809
810 Committed by Jim Blandy <jimb@redhat.com>.
811
62f4b920
JB
812 * gdb.objc/basicclass.exp: Adapt to fixed return type of printHi.
813
2db536a1
JB
814 * gdb.base/dump.exp: Handle negative offsets in decimal, not hex.
815
e7c9ff01
JB
816 * gdb.base/float.exp: Support s390*-*-* targets.
817
f3205b34
AF
8182004-02-17 Adam Fedor <fedor@gnu.org>
819
820 * gdb.base/gdb1555.exp: New file.
821 * gdb.base/gdb1555-main.c, gdb.base/gdb1555.c: New files.
822
9d62932d
EZ
8232004-02-17 Elena Zannoni <ezannoni@redhat.com>
824
825 * gdb.base/selftest.exp (do_steps_and_nexts): Add comment.
826
344c9711
FF
8272004-02-16 Fred Fish <fnf@redhat.com>
828
829 * gdb.arch/gdb1291.c: Remove
830 * gdb.arch/gdb1291.s: New test input file.
831 * gdb.arch/gdb1291.exp: Expand test to check case that should not
832 fail. Test for correct result, known incorrect result, other
833 failures and timeouts.
834
2d822687
AC
8352004-02-16 Andrew Cagney <cagney@redhat.com>
836
837 * gdb.base/bigcore.exp: New file.
838 * gdb.base/bigcore.c: New file.
839
dac15b66
AC
8402004-02-13 Andrew Cagney <cagney@redhat.com>
841
842 * gdb.mi/mi1-basics.exp, gdb.mi/mi1-break.exp: Delete file.
843 * gdb.mi/mi1-console.exp, gdb.mi/mi1-disassemble.exp: Delete file.
844 * gdb.mi/mi1-eval.exp, gdb.mi/mi1-hack-cli.exp: Delete file.
845 * gdb.mi/mi1-pthreads.exp, gdb.mi/mi1-read-memory.exp: Delete file.
846 * gdb.mi/mi1-regs.exp, gdb.mi/mi1-return.exp: Delete file.
847 * gdb.mi/mi1-simplerun.exp, gdb.mi/mi1-stack.exp: Delete file.
848 * gdb.mi/mi1-stepi.exp, gdb.mi/mi1-symbol.exp: Delete file.
849 * gdb.mi/mi1-until.exp, gdb.mi/mi1-var-block.exp: Delete file.
850 * gdb.mi/mi1-var-child.exp, gdb.mi/mi1-var-cmd.exp: Delete file.
851 * gdb.mi/mi1-var-display.exp, gdb.mi/mi1-watch.exp: Delete file.
852
6bdfc2c4
JJ
8532004-02-11 Jeff Johnston <jjohnstn@redhat.com>
854
855 * gdb.asm/ia64.inc (gdbasm_startup): Make sure first instruction
856 executed is an alloc instruction.
857
87b3ede8
DC
8582004-02-11 David Carlton <carlton@kealia.com>
859
860 * gdb.cp/breakpoint.exp: New.
861 * gdb.cp/breakpoint.cc: New.
862
6e19e2bf
MC
8632004-02-11 Michael Chastain <mec.gnu@mindspring.com>
864
865 Partial fix for PR gdb/1543.
866 * gdb.cp/ambiguous.exp, gdb.cp/annota2.exp, gdb.cp/annota3.exp,
867 gdb.cp/anon-union.exp, gdb.cp/casts.exp, gdb.cp/classes.exp,
868 gdb.cp/cplusfuncs.exp, gdb.cp/ctti.exp, gdb.exp/demangle.exp,
869 gdb.cp/derivation.exp, gdb.cp/exception.exp, gdb.cp/hang.exp,
870 gdb.cp/inherit.exp, gdb.cp/local.exp, gdb.cp/maint.exp,
871 gdb.cp/member-ptr.exp, gdb.cp/method.exp, gdb.cp/misc.exp,
872 gdb.cp/namespace.exp, gdb.cp/overload.exp, gdb.cp/ovldbreak.exp,
873 gdb.cp/psmang.exp, gdb.cp/ref-types.exp, gdb.cp/templates.exp,
874 gdb.cp/userdef.exp, gdb.cp/virtfunc.exp: Remove reference
875 to bug-gdb@prep.ai.mit.edu .
876 * gdb.cp/bs15503.cc, gdb.cp/class2.cc, gdb.cp/cttiadd.cc,
877 gdb.cp/cttiadd1.cc, gdb.cp/cttiadd2.cc, gdb.cp/cttiadd3.cc,
878 gdb.cp/exception.cc, gdb.cp/member-ptr.cc, gdb.cp/namespace1.cc:
879 Likewise.
880
5c5455dc
AC
8812004-02-10 Andrew Cagney <cagney@redhat.com>
882
883 * lib/gdb.exp (gdb_expect_list): Recover from internal-errors
884 using gdb_internal_error_resync.
885
9cf689d7
DJ
8862004-02-09 Daniel Jacobowitz <drow@mvista.com>
887
888 * gdb.threads/thread-specific.exp: Stop early if no threads are
889 found.
890
d2dc51db
MC
8912004-02-09 Michael Chastain <mec.gnu@mindspring.com>
892
893 * gdb.base/pending.exp: Remove extra \n from gdb_test calls.
894
14b1a056
DJ
8952004-02-08 Daniel Jacobowitz <drow@mvista.com>
896
897 * lib/gdb.exp (gdb_breakpoint): Fail on unexpected pending
898 breakpoints.
899
83f66e8f
DJ
9002004-02-07 Daniel Jacobowitz <drow@mvista.com>
901
902 * config/sim.exp (gdb_load): Handle $arg == "".
903 * lib/gdb.exp (gdb_run_cmd): Honor gdb,do_reload_on_run.
904 * gdb.objc/basicclass.exp: Use gdb_run_cmd.
905
30fc0091
EZ
9062004-02-07 Elena Zannoni <ezannoni@redhat.com>
907
908 * gdb.base/maint.exp: Update test to reflect
909 obstack changes.
910
4d806929
JJ
9112004-02-04 Jeff Johnston <jjohnstn@redhat.com>
912
913 * gdb.base/pendshr.c (pendfunc): New function that calls
914 pendfunc1.
915 * gdb.base/pending.c: Call pendfunc instead of pendfunc1.
916
7bfdd688
FF
9172004-02-04 Fred Fish <fnf@redhat.com>
918
919 * gdb.arch/gdb1431.c: Add underbar prefixed version of global
920 function symbols and update copyright years.
921 * gdb.arch/gdb1291.c: Ditto.
922
aaa08ee4
MC
9232004-02-03 Michael Chastain <mec.gnu@mindspring.com>
924
925 * gdb.cp/virtfunc.exp: Accept both "ctor()" and "ctor(void)".
926
dbad7755
MC
9272004-02-03 Michael Chastain <mec.gnu@mindspring.com>
928
929 * gdb.cp/inherit.exp: Accept both "ctor()" and "ctor(void)".
930
ec4646ef
MC
9312004-02-03 Michael Chastain <mec.gnu@mindspring.com>
932
933 * gdb.cp/inherit.exp: Accept output with gcc 3.2-7-rh.
934
1b802196
FF
9352004-02-02 Fred Fish <fnf@redhat.com>
936
937 * gdb.base/bang.exp: Use gdb_run_cmd so this tests works with
938 remote targets. Update copyright years.
939
18fe2033
JJ
9402004-02-02 Jeff Johnston <jjohnstn@redhat.com>
941
942 * lib/gdb.exp (gdb_breakpoint): Add pending breakpoint
943 support.
944 * gdb.base/langs.exp: Fix test which attempts to create
945 breakpoint on non-existent function to handle new pending
946 support.
947 * gdb.base/shlib-call.exp: Use gdb_breakpoint to set
948 a breakpoint.
949 * gdb.base/pending.exp: New test.
950 * gdb.base/pending.c: New file.
951 * gdb.base/pendshr.c: Ditto.
952
8d577d32
DC
9532004-02-02 David Carlton <carlton@kealia.com>
954
955 * gdb.cp/overload.exp: Add overloadNamespace tests.
956 * gdb.cp/overload.cc (dummyClass, dummyInstance): New.
957 (overloadNamespace, XXX): New.
958 (main): Call XXX::marker2.
959
3ad13771
FF
9602004-02-01 Fred Fish <fnf@redhat.com>
961
962 * gdb.base/dump.exp: Use runto_main instead of "runto main".
963 * gdb.base/finish.exp: Ditto.
964 * gdb.base/gcore.exp: Ditto.
965 * gdb.base/huge.exp: Ditto.
966 * gdb.base/info-proc.exp: Ditto.
967 * gdb.base/return2.exp: Ditto.
968 * gdb.threads/gcore-thread.exp: Ditto.
969
44c75849
DJ
9702004-02-01 Daniel Jacobowitz <drow@mvista.com>
971
972 * gdb.threads/thread-specific.exp: Add missing anchor to regexp.
973
005bc093
MK
9742004-02-01 Mark Kettenis <kettenis@gnu.org>
975
976 * gdb.base/fileio.c (test_open): Replace O_RDONLY with O_RDWR such
977 that opening the file succeeds on OpenBSD.
978
c47cebdb
DJ
9792004-02-01 Daniel Jacobowitz <drow@mvista.com>
980
981 * gdb.threads/thread-specific.c: New file.
982 * gdb.threads/threads-specific.exp: New test script.
983 * lib/gdb.exp (gdb_test_multiple): Allow user patterns access
984 to expect_out.
985
5a01311c
MK
9862004-02-01 Mark Kettenis <kettenis@gnu.org>
987
988 * gdb.base/call-ar-st.exp: Call get_debug_format. Remove xfail on
989 sparc*-*-solaris* into a kfail PR gdb/1539 on sparc-*-* for stabs
990 only on the "print_small_structs from print_long_arg_list" test.
991
ce22a4f1
DJ
9922004-02-01 Daniel Jacobowitz <drow@mvista.com>
993
994 * gdb.base/completion.exp: Kill a stray backslash.
995
996 From Jim Ingham <jingham@apple.com>:
997 * gdb.base/completion.exp: Test that "complete file ./gdb.base/compl"
998 agrees with the result from sending a tab.
999
abbab9d3
DJ
10002004-01-31 Daniel Jacobowitz <drow@mvista.com>
1001
1002 * gdb.base/chng-syms.exp: Remove stray newline.
1003
53904d1e
MK
10042004-01-31 Mark Kettenis <kettenis@gnu.org>
1005
1006 * gdb.asm/asm-source.exp: Set asm-note to "openbsd" for
1007 *-*-openbsd*.
1008 * gdb.asm/openbsd.inc: New file.
1009
3a4b3aac
MK
10102004-01-30 Mark Kettenis <kettenis@gnu.org>
1011
1012 * gdb.asm/asm-source.exp: Strip -Wl, from link-flags. Don't
1013 append -static to link-flags for *-*-freebsd*, *-*netbsd* and
1014 *-*solaris2*. Remove commented out default settings for
1015 asm-flags. Replace gdb_compile with target_link.
1016
ebac27b4
MC
10172004-01-29 Michael Chastain <mec.gnu@mindspring.com>
1018
1019 * gdb.cp/inherit.exp: Rewrite. Use gdb_test_multiple and gdb
1020 for all tests. Remove old hp-ux and cygnus xfail cases.
1021
d8679d84
PH
10222004-01-29 Paul N. Hilfinger <Hilfinger@gnat.com>
1023
1024 * gdb.base/chng-syms.exp: New file.
1025 * gdb.base/chng-syms.c: New file.
1026
0a55bc22
MC
10272004-01-24 Michael Chastain <mec.gnu@mindspring.com>
1028
1029 * gdb.cp/local.exp: Rewrite "ptype Local". Add "ptype l".
1030 Provide arms for current output in all my configurations.
1031
94b8e876
MC
10322004-01-24 Michael Chastain <mec.gnu@mindspring.com>
1033
1034 * lib/compiler.c: Add hp_cc_compiler and hp_aCC_compiler.
1035 * lib/compiler.cc: Likewise.
1036 * lib/gdb.exp (get_compiler_info): Always call gdb_compile to
1037 get the right preprocessor. Eval the output directly. Remove
1038 special tests for hp_cc_compiler and hp_aCC_compiler. Remove
1039 hp_f77_compiler and hp_f90_compiler completely.
1040 (gdb_preprocess): Delete.
1041 (get_compiler): Delete.
1042
7cf03d44
MK
10432004-01-24 Mark Kettenis <kettenis@gnu.org>
1044
1045 * gdb.base/charset.c, gdb.base/dump.c, gdb.base/huge.c: Include
1046 <string.h>.
1047
68b6dce9
NR
10482004-01-24 Nick Roberts <nick@nick.uklinux.net>
1049
1050 * gdb.mi/mi-stack.exp: Update copyright.
1051
b368761e
DC
10522004-01-23 David Carlton <carlton@kealia.com>
1053
1054 * gdb.cp/rtti.exp: Don't include full path in ${srcfile}. Add
1055 test for cp_lookup_transparent_type.
1056 * gdb.cp/rtti1.cc: Update copyright. Add n2::func and refer_to;
1057 call them.
1058
f2061b53
DJ
10592004-01-23 Daniel Jacobowitz <drow@mvista.com>
1060
1061 * gdb.mi/mi-var-child.exp: Update copyright year. Move new test
1062 after -var-update.
1063
37fc574a
DC
10642004-01-23 David Carlton <carlton@kealia.com>
1065
1066 * gdb.cp/namespace.cc (C::ensureRefs): New.
1067 * gdb.cp/namespace1.cc (C::ensureOtherRefs): New.
1068
8e94b928
NR
10692004-01-20 Nick Roberts <nick@nick.uklinux.net>
1070
1071 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Test for
1072 case "-stack-list-locals 2".
1073 * gdb.mi/mi-var-child.exp: Test for case
1074 "-var-list-children --all-values NAME".
1075
997b0952
MC
10762004-01-18 Michael Chastain <mec.gnu@mindspring.com>
1077
1078 * gdb.cp/local.exp: Accept correct output for gcc v3 -gstabs+.
1079
52470da3
MK
10802004-01-18 Mark Kettenis <kettenis@gnu.org>
1081
7049b4b8
MK
1082 * gdb.base/fileio.exp: Add "$gdb_prompt $" anchors to patterns
1083 used with gdb_test_multiple.
1084
52470da3
MK
1085 * gdb.base/gdb1476.exp: Accept alternat pattern for failed memory
1086 read at address 0. This fixes PR testsuite/1504.
1087
da6012e5
DJ
10882004-01-18 Daniel Jacobowitz <drow@mvista.com>
1089
1090 * config/gdbserver.exp (gdbserver_gdb_load): Rename from gdb_load.
1091 Remove downloading, guessing the host executable, the calls to
1092 gdb_file_cmd and gdb_target_cmd, and "load" support.
1093 (infer_host_exec): New function broken out from gdb_load.
1094 (gdb_load): New wrapper for gdbserver_gdb_load.
1095 * lib/mi-support.exp (mi_gdb_target_cmd): New function, based on
1096 gdb_target_cmd. Use -target-select.
1097 (mi_gdb_file_cmd): New function, broken out from mi_gdb_load.
1098 Download binaries to the host. Clear last_mi_remote_file when
1099 we load a new binary.
1100 (mi_gdb_load): Call mi_gdb_file_cmd. If gdbserver.exp is loaded,
1101 call gdbserver_gdb_load and mi_gdb_target_cmd.
1102
32c70722
MC
11032004-01-17 Michael Chastain <mec.gnu@mindspring.com>
1104
1105 * gdb.cp/templates.exp: Accept more spaces with "<foo, ?bar>"
1106 type patterns.
1107
b0cecf36
MC
11082004-01-17 Michael Chastain <mec.gnu@mindspring.com>
1109
1110 * gdb.cp/templates.exp: Fix typo in test name of
1111 "print Foo<volatile char*>::foo".
1112
4120d7e6
MC
11132004-01-15 Michael Chastain <mec.gnu@mindspring.com>
1114
1115 * gdb.base/setvar.exp: Remove setup_xfail for hppa*-*-*11*.
1116
f679e530
BE
11172004-01-16 Ben Elliston <bje@wasabisystems.com>
1118
1119 * gdb.arch/Makefile.in (MISCELLANEOUS): Remove.
1120 (clean mostlyclean): Remove empty rm.
1121
091c48f6
MC
11222004-01-15 Michael Chastain <mec.gnu@mindspring.com>
1123
1124 * gdb.base/setvar.exp: Add copyright years.
1125
3e5fc8d2
DC
11262004-01-14 David Carlton <carlton@bactrian.org>
1127
1128 * gdb.cp/rtti.exp: Update copyright. KFAIL test with repect to
1129 PR c++/1511 and update coment.
1130 * gdb.cp/templates.exp: Update patterns to match current output.
1131 If changes involve something other than whitespace, KFAIL
1132 w.r.t. PR c++/1512 or PR c++/931 as appropriate.
1133
63d06c5c
DC
11342004-01-14 David Carlton <carlton@kealia.com>
1135
1136 * gdb.cp/namespace.exp: Add tests involving classes defined within
1137 namespaces.
1138 * gdb.cp/namespace.cc (C::CClass): New.
1139 * gdb.cp/namespace1.cc (C::OtherFileClass): New.
1140
a51dab88
EZ
11412004-01-14 Elena Zannoni <ezannoni@redhat.com>
1142
1143 * gdb.base/sepdebug.exp: Bail out of the test if we don't know
1144 what debug info we have. Print a better message if something goes
1145 wrong while producing the separate debug info file.
1146
a476ccc9
MC
11472004-01-14 Michael Chastain <mec.gnu@mindspring.com>
1148
1149 * gdb.base/callfuncs.c: Remove explicit declaration of malloc.
1150
f453692c
MC
11512004-01-14 Michael Chastain <mec.gnu@mindspring.com>
1152
1153 * gdb.base/callfuncs.c: Add copyright notice.
1154
f40063a5
MC
11552004-01-13 Michael Chastain <mec.gnu@mindspring.com>
1156
1157 * gdb.cp/derivation.exp: Add XFAIL for bug with protected
1158 inheritance. PR gdb/1498, PR gcc/13539.
1159
19ac3974
EZ
11602004-01-13 Elena Zannoni <ezannoni@redhat.com>
1161
1162 * gdb.threads/gcore-thread.exp: Prefix name of binary with
1163 test specific name.
1164 * gdb.mi/gdb669.exp: Ditto.
1165 * gdb.mi/mi-pthreads.exp: Ditto.
1166 * gdb.mi/mi1-pthreads.exp: Ditto.
1167 * gdb.mi/mi2-pthreads.exp: Ditto.
1168
56c97c6e
MC
11692004-01-12 Michael Chastain <mec.gnu@mindspring.com>
1170
1171 * gdb.cp/member-ptr.cc: Add copyright notice.
1172
a0644324
MC
11732004-01-12 Michael Chastain <mec.gnu@mindspring.com>
1174
1175 * gdb.cp/member-ptr.exp: Use gdb_test, gdb_test_multiple. Add
1176 some patterns for recent versions of gcc and hpacc. Delete
1177 calls to setup_xfail for hppa*-*-*. Delete redundant tests.
1178 Delete tests that access a NULL pointer-to-member-data. This
1179 script is still disabled for gcc.
1180
32fabe09
EZ
11812004-01-12 Elena Zannoni <ezannoni@redhat.com>
1182
1183 * gdb.mi/mi2-basics.exp: Make sure that full pathnames are
1184 escaped correctly.
1185
1f8a6abb
EZ
11862004-01-12 Elena Zannoni <ezannoni@redhat.com>
1187
1188 * gdb.base/sepdebug.exp: New file.
1189 * gdb.base/sepdebug.c: New file.
1190 * lib/gdb.exp (separate_debug_filename): New procedure.
1191 (gdb_gnu_strip_debug): New procedure.
1192
48efe704
AC
11932004-01-12 Andrew Cagney <cagney@redhat.com>
1194
1195 * gdb.mi/ChangeLog: Delete file. Renamed to ...
1196 * gdb.mi/ChangeLog-1999-2003: New file.
1197
a9415475
AC
11982004-01-12 Andrew Cagney <cagney@redhat.com>
1199
1200 * gdb.base/fileio.exp: Update copyright year. On GNU/Linux, for
1201 "Renaming a directory to a non-empty directory returns ENOTEMPTY
1202 or EEXIST", treat EBUSY as an XFAIL.
1203
83b8cf9d
MC
12042004-01-11 Michael Chastain <mec.gnu@mindspring.com>
1205
1206 * gdb.base/scope.exp: Remove obsolete setup_xfail for
1207 hp_cc_compiler.
1208
9939d2a8
MC
12092004-01-10 Michael Chastain <mec.gnu@mindspring.com>
1210
1211 * gdb.cp/classes.exp: Remove old "(obsolescent gcc or gdb)"
1212 decorations.
1213
1ff8cadf
MC
12142004-01-10 Michael Chastain <mec.gnu@mindspring.com>
1215
1216 * gdb.cp/virtfunc.exp: Remove old "(obsolescent gcc or gdb)"
1217 and "(aCC)" decorations. Remove obsolete doco about old
1218 test results.
1219
6fa9022e
MC
12202004-01-09 Michael Chastain <mec.gnu@mindspring.com>
1221
1222 * gdb.cp/exception.exp: Fix typo in doco.
1223
209721fe
MK
12242004-01-09 Mark Kettenis <kettenis@gnu.org>
1225
1226 * gdb.base/gdb1476.exp: Fix typo.
1227
ef11303e
MC
12282004-01-09 Michael Chastain <mec.gnu@mindspring.com>
1229
1230 * gdb.hp/gdb.aCC/exception.exp: Re-create as a nearly empty
1231 file.
1232
041ab88c
MC
12332004-01-09 Michael Chastain <mec.gnu@mindspring.com>
1234
1235 * gdb.cp/exception.cc: Change <iostream.h> to <iostream>.
1236 * gdb.cp/exception.exp: Use gdb test, gdb_test_multiple.
1237 Use gdb_compile. Remove restriction on gcc. Add some patterns
1238 for recent version of gdb. Delete second half, which was a copy
1239 of the first half with different build flags. This test is
1240 still disabled because it is still not ready for production.
1241
e36d075a
MC
12422004-01-08 Michael Chastain <mec.gnu@mindspring.com>
1243
1244 * gdb.cp/exception.cc: Add copyright notice.
1245 * gdb.cp/exception.exp: Add a notice that this file is broken
1246 because of line number changes caused by addition of copyright
1247 notice.
1248
42b190ad
MC
12492004-01-08 Michael Chastain <mec.gnu@mindspring.com>
1250
1251 * gdb.cp/exception.cc: Renamed from gdb.hp/gdb.aCC/exception.cc.
1252 * gdb.cp/exception.exp: Renamed from gdb.hp/gdb.aCC/exception.exp.
1253
8f25f06b
MC
12542004-01-08 Michael Chastain <mec.gnu@mindspring.com>
1255
1256 * gdb.cp/classes.exp: Accept gnu abi 2.
1257 * gdb.cp/derivation.exp: Likewise.
1258 * gdb.cp/overload.exp: Likewise.
1259 * gdb.cp/virtfunc.exp: Likewise.
1260
06ded8b8
MC
12612004-01-08 Michael Chastain <mec.gnu@mindspring.com>
1262
1263 * gdb.mi/pthreads.c (done_making_threads): Remove extraneous
1264 semicolon after end of function.
1265
77c26ae3
MC
12662004-01-07 Michael Chastain <mec.gnu@mindspring.com>
1267
1268 * gdb.cp/bs15503.cc: Include <iostream>, not <iostream.h>.
1269 * gdb.cp/bs15503.exp: Remove hp-only restriction. Use modern
1270 boilerplate code for compiling and running the program under
1271 test. Add some string method tests.
1272
20757486
MC
12732004-01-07 Michael Chastain <mec.gnu@mindspring.com>
1274
1275 * gdb.cp/bs15503.cc: Add copyright notice.
1276 * gdb.cp/bs15503.exp: Adjust line number.
1277
0fd3b503
MC
12782004-01-07 Michael Chastain <mec.gnu@mindspring.com>
1279
1280 * gdb.hp/gdb.defects/bs15503.exp: Renamed to gdb.cp/bs15503.exp.
1281 * gdb.hp/gdb.defects/bs15503.cc: Renamed to gdb.cp/bs15503.cc.
1282
10d1bea8
MC
12832004-01-07 Michael Chastain <mec.gnu@mindspring.com>
1284
1285 * gdb.base/funcargs.exp: Remove obsolete setup_xfail for
1286 hp_cc_compiler.
1287
2789202a
MC
12882004-01-07 Michael Chastain <mec.gnu@mindspring.com>
1289
1290 * gdb.cp/cttiadd.c: Add a marker for gdb_get_line_number.
1291 * gdb.cp/ctti.exp: Use the marker instead of "next".
1292 With gcc, run further before bailing.
1293
b862f14c
MC
12942004-01-07 Michael Chastain <mec.gnu@mindspring.com>
1295
1296 * gdb.cp/cttiadd.cc: Add copyright notice.
1297 * gdb.cp/cttiadd1.cc: Likewise.
1298 * gdb.cp/cttiadd2.cc: Likewise.
1299 * gdb.cp/cttiadd3.cc: Likewise.
1300
96da2469
MC
13012004-01-07 Michael Chastain <mec.gnu@mindspring.com>
1302
1303 * gdb.cp/ctti.exp: Partial rewrite. Call gdb_compile properly.
1304 Use gdb_test, gdb_test_multiple. Use floating-point values that
1305 have exact representations in IEEE-ish formats.
1306
053248ff
MC
13072004-01-07 Michael Chastain <mec.gnu@mindspring.com>
1308
1309 * gdb.base/constvars.exp: Do not force lang=c++ if using HP
1310 compilers. Delete duplicate call to get_compiler_info.
1311 (local_compiler_xfail_check): setup_xfail if $hp_cc_compiler.
1312 * gdb.base/volatile.exp: Likewise.
1313
84acecdd
MK
13142004-01-07 Mark Kettenis <kettenis@gnu.org>
1315
1316 * gdb.base/gdb1476.exp: Only run the tests if we can't read the
1317 memory at address 0.
1318
fe11a27f
MC
13192004-01-07 Michael Chastain <mec.gnu@mindspring.com>
1320
1321 * gdb.stabs/weird.exp: Use hp_cc_compiler and hp_aCC_compiler
1322 to test for hp-ux assembler. Fix copyright years.
1323
60ad077b
AC
13242004-01-07 Andrew Cagney <cagney@redhat.com>
1325
1326 * gdb.base/fileio.c (strerrno): Add "EBUSY".
1327
1c9b8f33
AC
13282004-01-07 Andrew Cagney <cagney@redhat.com>
1329
1330 * gdb.base/fileio.c (test_open): Do not pass S_IWUSR to "open"
1331 when creating the read-only file. From analysis by Roland McGrath
1332 and Elena Zannoni.
1333
753ccc7a
MC
13342004-01-06 Michael Chastain <mec.gnu@mindspring.com>
1335
1336 * gdb.cp/namespace.exp: Call get_compiler_info with "c++".
1337
eca3e36b
MC
13382004-01-06 Michael Chastain <mec.gnu@mindspring.com>
1339
1340 * gdb.base/cvexpr.c: Be type-safe with function pointers and
1341 data pointers.
1342
f8d4bac4
MC
13432004-01-06 Michael Chastain <mec.gnu@mindspring.com>
1344
1345 * gdb.cp/m-static.exp: Compile one source file at a time.
1346 Delete unused call to get_compiler_info.
1347
9b4e0f94
MC
13482004-01-06 Michael Chastain <mec.gnu@mindspring.com>
1349
1350 * gdb.base/call-ar-st.exp: Delete explicit reference to ${binfile}.ci.
1351 * gdb.base/call-rt-st.exp: Likewise.
1352 * gdb.base/nodebug.exp: Likewise.
1353 * gdb.base/volatile.exp: Likewise.
1354 * gdb.cp/ref-types.exp: Likewise.
1355 * gdb.cp/templates.exp: Likewise.
1356
023c1024
MK
13572004-01-05 Mark Kettenis <kettenis@gnu.org>
1358
1359 * gdb.base/gdb1476.exp, gdb.base/gdb1476.c: New files.
1360
19703c4a
MC
13612004-01-05 Michael Chastain <mec.gnu@mindspring.com>
1362
1363 * gdb.cp/funcargs.exp: Delete special timeout of 240 seconds for
1364 hppa*-hp-hpux*.
1365
18b67037
MK
13662004-01-04 Mark Kettenis <kettenis@gnu.org>
1367
ba6219c8
MK
1368 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
1369 x86_64-*-*.
1370
18b67037
MK
1371 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
1372 sparc64-*-* and sparc*-solaris2*.
1373
1bfbbb9d
MK
13742004-01-04 Mark Kettenis <kettenis@gnu.org>
1375
1376 * gdb.base/structs.exp: Remove ${testfile} from "zed L<n> for
1377 return ${tests}" test. The ${tests} already mentions the
1378 filename.
1379
06846494
MC
13802004-01-02 Michael Chastain <mec.gnu@mindspring.com>
1381
1382 * gdb.cp/local.exp: Accept gcc abi 2.
1383
3b0cb202
MC
13842004-01-02 Michael Chastain <mec.gnu@mindspring.com>
1385
1386 * gdb.cp/templates.exp: Accept gcc abi 2.
1387
0643ec3f
MC
13882004-01-02 Michael Chastain <mec.gnu@mindspring.com>
1389
1390 * lib/compiler.cc: Remove supports_template_debugging.
1391 * gdb.cp/templates.exp: Do not test supports_template_debugging.
1392
d231d0b1
MC
13932004-01-01 Michael Chastain <mec.gnu@mindspring.com>
1394
1395 * gdb.cp/namespace.exp: Accept gcc abi 2.
1396
44ffb27c
MC
13972004-01-01 Michael Chastain <mec.gnu@mindspring.com>
1398
1399 * gdb.cp/method.exp: Accept gcc abi 2.
1400
184ad485
MC
14012004-01-01 Michael Chastain <mec.gnu@mindspring.com>
1402
1403 * gdb.cp/classes.exp: Generate identical results as old version.
1404 * gdb.cp/derivation.exp: Likewise.
1405 * gdb.cp/overload.exp: Likewise.
1406 * gdb.cp/virtfunc.exp: Likewise.
1407
116f09e7
MC
14082004-01-01 Michael Chastain <mec.gnu@mindspring.com>
1409
1410 * gdb.cp/virtfunc.exp: Modify some patterns to avoid a
1411 mysterious bug with sourceware version of expect.
1412
b1379776
MC
14132004-01-01 Michael Chastain <mec.gnu@mindspring.com>
1414
1415 * gdb.cp/overload.exp: Rewrite. Clean up patterns to match
1416 current versions of gcc, including gcc abi 2. Remove gratuitous
1417 restart of test program. Use gdb_test_multiple and gdb_test for
1418 all tests. Add patterns to xfail missing "const" in "const char *"
1419 and kfail PR gdb/1155.
1420
6b7a4c0e
MC
14212004-01-01 Michael Chastain <mec.gnu@mindspring.com>
1422
1423 * gdb.cp/derivation.exp: Rewrite. Clean up patterns to match
1424 current versions of gcc, including gcc abi 2. Remove gratuitous
1425 restart of test program. Use gdb_test_multiple and gdb_test for
1426 all tests. Add patterns to kfail PR gdb/1498.
1427
51615d72
MC
14282003-12-31 Michael Chastain <mec.gnu@mindspring.com>
1429
1430 * gdb.cp/virtfunc.exp: Rewrite. Clean up patterns to match
1431 current versions of gcc, including gcc abi 2. Use "breakpoint"
1432 and "continue" instead of restarting the target program. Use
1433 gdb_test_multiple and gdb_test for all tests.
1434
7b79a9d7
MK
14352004-01-01 Mark Kettenis <kettenis@gnu.org>
1436
1437 * gdb.asm/asm-source.exp: Update copyright year. Link statically
1438 for *-*-solaris2*.
1439
1cd3489f
MC
14402003-12-31 Michael Chastain <mec.gnu@mindspring.com>
1441
1442 * gdb.cp/classes.exp: Rewrite. Clean up patterns to match
1443 current versions of gcc, including gcc abi 2. Use "breakpoint"
1444 and "continue" instead of restarting the target program several
1445 times. Use gdb_test_multiple and gdb_test for all tests.
1446
850742db
MC
14472003-12-18 Michael Chastain <mec.gnu@mindspring.com>
1448
1449 * gdb.base/sect-cmd.exp: Handle compiling test case from multiple
1450 source files.
1451
eb4bbda8
MC
14522003-12-16 Michael Chastain <mec.gnu@mindspring.com>
1453
1454 * gdb.base/environ.exp: Handle compiling test case from multiple
1455 source files.
1456
e42c7771
MC
14572003-12-16 Michael Chastain <mec.gnu@mindspring.com>
1458
1459 * gdb.base/structs.exp: Call gdb_exit as well as gdb_start.
1460
80e4b428
JB
14612003-12-17 Jim Blandy <jimb@redhat.com>
1462
5f06973a
JB
1463 * gdb.base/freebpcmd.c: Add copyright notice.
1464
80e4b428
JB
1465 * gdb.base/freebpcmd.exp: Mark the interesting failure as known.
1466
0ab84fb7
MC
14672003-12-16 Michael Chastain <mec.gnu@mindspring.com>
1468
1469 * gdb.base/maint.exp: Add generic FAIL patterns to prevent timeouts.
1470
1b3bb3d0
JB
14712003-12-13 Jim Blandy <jimb@redhat.com>
1472
1473 * gdb.base/freebpcmd.exp, gdb.base/freebpcmd.c: New test.
1474
3a4c9371
KB
14752003-12-12 Kevin Buettner <kevinb@redhat.com>
1476
1477 * gdb.asm/frv.inc: New file.
1478 * gdb.asm/asm-source.exp: Add frv-*-* as a supported target.
1479
a1dea79a
FF
14802003-12-09 Fred Fish <fnf@redhat.com>
1481
1482 * gdb.base/break.c (marker1, marker2, marker3, marker4): Move
1483 functions to break1.c and leave prototypes behind. Add more
1484 "set breakpoint NN here" comments.
1485 * gdb.base/break1.c: New file.
1486
1487 * gdb.base/break.exp: Handle compiling test case from multiple
1488 source files and change source file references as needed.
1489 * gdb.base/completion.exp: Ditto.
1490 * gdb.base/condbreak.exp: Ditto.
1491 * gdb.base/define.exp: Ditto.
1492 * gdb.base/ena-dis-br.exp: Ditto.
1493 * gdb.base/info-proc.exp: Ditto.
1494 * gdb.base/maint.exp: Ditto.
1495 * gdb.base/until.exp: Ditto.
1496
1497 * gdb.base/condbreak.exp: Use bp_locationNN variables instead of
1498 hardcoded line numbers.
1499 * gdb.base/define.exp: Ditto.
1500 * gdb.base/ena-dis-br.exp: Ditto.
1501 * gdb.base/maint.exp: Ditto.
1502 * gdb.base/until.exp: Ditto.
1503
1504 * gdb.base/completion.exp: Use "break1" for completion tests since
1505 "break" is no longer a unique prefix.
1506
5266b69c
AC
15072003-12-06 Andrew Cagney <cagney@redhat.com>
1508
1509 * gdb.base/structs.exp (test_struct_returns): When applicable, set
1510 "return_value_unimplemented". When an unimplemented struct return
1511 architecture, report incorrect values as a KFAIL
1512
374451f0
MC
15132003-12-05 Michael Chastain <mec.gnu@mindspring.com>
1514
1515 * gdb.cp/rtti.exp: Accept new wording of warning from
1516 cp_lookup_rtti_type.
1517
ba9b20a7
MC
15182003-12-05 Michael Chastain <mec.gnu@mindspring.com>
1519
1520 Partial fix for PR testsuite/1456.
1521 * gdb.base/scope.exp (test_at_main): Replace references to
1522 gcc_compiled with calls to test_compiler_info.
1523 (test_at_foo): Likewise.
1524 (test_at_bar): Likewise.
1525
b74b6d0b
MC
15262003-12-04 Michael Chastain <mec.gnu@mindspring.com>
1527
1528 Partial fix for PR testsuite/1456.
1529 * gdb.base/so-impl-ld.exp: Replace reference to gcc_compiled with call
1530 to test_compiler_info.
1531
ccfa3402
MC
15322003-12-03 Michael Chastain <mec.gnu@mindspring.com>
1533
1534 * gdb.base/so-impl-ld.exp: Update copyright notice.
1535
f6246aba
MC
15362003-12-02 Michael Chastain <mec.gnu@mindspring.com>
1537
1538 Partial fix for PR testsuite/1456.
1539 * gdb.base/mips_pro.exp: Replace references to gcc_compiled with calls
1540 to test_compiler_info.
1541
13ae734a
MC
15422003-11-28 Michael Chastain <mec.gnu@mindspring.com>
1543
1544 * gdb.objc/objcdecode.exp: Match and KFAIL the output that comes
1545 from current versions of gdb. Clean up regular expressions.
1546 Delete redundant timeout case.
1547
d8e1cdee
MC
15482003-11-28 Michael Chastain <mec.gnu@mindspring.com>
1549
1550 * gdb.objc/nondebug.exp: Match and KFAIL the output that comes
1551 from current versions of gdb. Clean up regular expressions.
1552 Delete redundant timeout case.
1553
96457b64
MC
15542003-12-01 Michael Chastain <mec.gnu@mindspring.com>
1555
1556 Partial fix for PR testsuite/1456.
1557 * gdb.base/callfuncs.exp (do_function_calls): Replace reference to
1558 gcc_compiled with call to test_compiler_info.
1559
f35309fc
MC
15602003-11-30 Michael Chastain <mec.gnu@mindspring.com>
1561
1562 Partial fix for PR testsuite/1456.
1563 * gdb.base/list.exp (test_list_function): Delete unused declaration
1564 of gcc_compiled.
1565
d7afdf9b
MC
15662003-11-29 Michael Chastain <mec.gnu@mindspring.com>
1567
1568 Partial fix for PR testsuite/1456.
1569 * gdb.base/complex.exp: Replace reference to gcc_compiled with
1570 call to test_compiler_info.
1571
71507b56
MK
15722003-11-29 Mark Kettenis <kettenis@gnu.org>
1573
1574 * gdb.asm/asm-source.exp: Initialize asm-note to "empty". Set
1575 asm-note to "netbsd" for *-*-netbsdelf* and x86_64-*-netbsd*. Use
1576 it to create the appropriate note.inc.
1577 * gdb.asm/asmsrc1.s: Include "note.inc".
1578 * gdb.asm/netbsd.inc: New file.
1579 * gdb.asm/empty.inc: New file.
1580
f81f93f7
MC
15812003-11-28 Michael Chastain <mec.gnu@mindspring.com>
1582
1583 Partial fix for PR testsuite/1456.
1584 * gdb.base/constvars.exp: Replace references to gcc_compiled with
1585 calls to test_compiler_info.
1586
9a77938e
MC
15872003-11-27 Michael Chastain <mec.gnu@mindspring.com>
1588
1589 Partial fix for PR testsuite/1456.
1590 * gdb.base/volatile.exp: Replace references to gcc_compiled with
1591 calls to test_compiler_info.
1592
e8367dc7
MK
15932003-11-27 Mark Kettenis <kettenis@gnu.org>
1594
1595 * gdb.base/structs.exp: Use i*86-*-* instead of i686-*-* as a
1596 pattern for the KFAILs.
1597
526c61ee
AF
15982003-11-25 Adam Fedor <fedor@gnu.org>
1599
1600 * gdb.objc/objcdecode.exp: Test for PR objc/1238.
1601 * gdb.objc/objcdecode.m: New file.
1602
28f2d600
AF
16032003-11-25 Adam Fedor <fedor@gnu.org>
1604
1605 * gdb.objc/nondebug.exp: Test for PR objc/1236.
1606 * gdb.objc/nondebug.m: New file.
1607
a3895cee
BE
16082003-11-26 Ben Elliston <bje@wasabisystems.com>
1609
1610 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
1611 NetBSD as it does on FreeBSD. Modelled on a similar change by
1612 Mark Kettenis on 2003-05-30.
1613 (link-flags): Set to "--entry _start" regardless of target.
1614 Special linker flags are to be appended to $link-flags.
1615 * gdb.asm/mips.inc (gdbasm_startup): Remove __start label.
1616
c9f2c8a3
MC
16172003-11-25 Michael Chastain <mec.gnu@mindspring.com>
1618
1619 * gdb.cp/method.exp: Accept output of new demangler.
1620
15a0587a 16212003-11-25 Michael Chastain <mec.gnu@mindspring.com>
f4e8b6f3
MC
1622
1623 * gdb/class2.exp: New file.
1624 * gdb/class2.cc: New file.
1625
3c00b570
MC
16262003-11-25 Michael Chastain <mec.gnu@mindspring.com>
1627
1628 * gdb.cp/templates.exp (test_ptype_of_templates): Accept output
1629 of new demangler.
1630
7027acc7
MK
16312003-11-23 Mark Kettenis <kettenis@gnu.org>
1632
1633 * gdb.arch/i386-unwind.exp: Use gdb_run_cmd and gdb_expect instead
1634 of gdb_test "run".
1635
b0e1598a
MK
16362003-11-23 Mark Kettenis <kettenis@gnu.org>
1637
1638 * gdb.arch/i386-unwind.exp: Don't use runto_main. Change
1639 "continue" into "run".
1640
4d9eda44
MC
16412003-11-23 Michael Chastain <mec.gnu@mindspring.com>
1642
1643 Partial fix for PR testsuite/1456.
1644 * gdb.cp/ambiguous.exp: Replace reference to gcc_compiled with
1645 call to test_compiler_info.
1646 * gdb.cp/ctti.exp: Likewise.
1647 * gdb.cp/derivation.exp: Likewise.
1648 * gdb.cp/member-ptr.exp: Likewise.
1649 * gdb.cp/virtfunc.exp (test_virtual_calls): Remove unused
1650 reference to gcc_compiled.
1651
16522003-11-23 Michael Chastain <mec.gnu@mindspring.com>
b729099e
MC
1653
1654 Fix PR testsuite/1463.
1655 * gdb.base/structs.exp (start_structs_test): Call
1656 get_debug_format before using the debug format.
1657
d422fe19
AC
16582003-11-22 Andrew Cagney <cagney@redhat.com>
1659
1660 * lib/gdb.exp (gdb_test_multiple): Add simple example.
1661 * gdb.base/structs.exp: Use gdb_test_multiple.
1662
039cf96d
AC
16632003-11-20 Andrew Cagney <cagney@redhat.com>
1664
6882279b
AC
1665 * gdb.base/structs.exp: Handle and recover from internal errors.
1666 Replace "foo${n}" with "foo<n>" in test messages.
1667
e53890ae
AC
1668 * gdb.base/structs.exp: Update copyright. Rewrite.
1669 * gdb.base/structs.c: Update copyright. Rewrite.
1670
2b211c59
AC
1671 * lib/gdb.exp (gdb_internal_error_resync): Issue a perror when the
1672 resync count exceeded.
d63a86f8 1673
039cf96d
AC
1674 * gdb.base/maint.exp: Use gdb_internal_error_resync to recover
1675 from the internal error.
1676 * lib/gdb.exp (gdb_internal_error_resync): New procedure.
1677 Original from Jim Blandy.
1678 (gdb_test_multiple): Use gdb_internal_error_resync.
2b211c59 1679
eac98b22
AC
16802003-11-19 Andrew Cagney <cagney@redhat.com>
1681
1682 * gdb.base/callfuncs.exp: Change the XFAILed descriptor test to a
1683 KFAIL.
1684
67455b2a
MK
16852003-11-17 Mark Kettenis <kettenis@gnu.org>
1686
1687 New testcase for PR backtrace/1435.
1688 * gdb.arch/i386-unwind.exp: New file.
1689 * gdb.arch/i386-unwind.c: New file.
1690
853d6e5b
AC
16912003-11-17 Andrew Cagney <cagney@redhat.com>
1692
1693 * lib/gdb.exp (compiler_info): New global.
1694 (test_compiler_info): New function.
1695 (get_compiler_info): Set compiler_info.
1696 * lib/compiler.c, lib/compiler.cc: Add copyright. When GNUC, set
1697 "compiler_info" to gcc-<major>-<minor>.
1698
38cf6e11
MC
16992003-11-15 Michael Chastain <mec.gnu@mindspring.com>
1700
1701 * gdb.trace/configure: Remove.
1702
a50d3602
EZ
17032003-11-13 Elena Zannoni <ezannoni@redhat.com>
1704
1705 * gdb.base/break.c: Add comments to aid finding line numbers for
d63a86f8 1706 breakpoints.
a50d3602
EZ
1707 * gdb.base/break.exp: Remove all references to explicit line
1708 numbers.
1709
d9407aaa
NC
17102003-11-11 Nick Clifton <nickc@redhat.com>
1711
1712 * gdb.base/shreloc.exp: Do not run for targets which do not
1713 support shared objects.
1714
db488fc1
CV
17152003-11-10 Corinna Vinschen <vinschen@redhat.com>
1716
1717 * gdb.base/fileio.exp: Drop tests for nointerrupts and noinferiorio.
1718 Don't run tests if nofileio flag is given.
1719
6a90a18e
EZ
17202003-11-07 Elena Zannoni <ezannoni@redhat.com>
1721
1722 * gdb.cp/annota3.exp: Make sure we can match 'Hardware watchpoint'
1723 as well as 'Watchpoint'.
1724
0b915e9c
EZ
17252003-11-06 Elena Zannoni <ezannoni@redhat.com>
1726
1727 Reported by Jim Ingham <jingham@apple.com>:
1728 * gdb.base/annota1.exp: Match at least one occurrence of the
1729 signal handler annotation.
1730
d7e4b55f
EZ
17312003-11-06 Elena Zannoni <ezannoni@redhat.com>
1732
1733 * gdb.cp/annota2.exp: Make sure we can match 'Hardware watchpoint'
1734 as well as 'Watchpoint'.
1735
2fe4e8d0
MC
17362003-11-05 Michael Chastain <mec@shout.net>
1737
1738 * gdb.mi/pthreads.c (routine): Handle early return from sleep.
1739
6ef88553
KW
17402003-11-03 Kris Warkentin <kewarken@qnx.com>
1741
1742 * gdb.arch/gdb1291.c: New test file.
1743 * gdb.arch/gdb1291.exp: New test script.
1744 * gdb.arch/gdb1431.c: New test file.
1745 * gdb.arch/gdb1431.exp: New test script.
1746
ae7dc4d8
MC
17472003-10-22 Michael Chastain <mec@shout.net>
1748
1749 * gdb.mi/pthreads.c: Add copyright notice.
1750
c39d7427
MC
17512003-10-22 Michael Chastain <mec@shout.net>
1752
1753 * gdb.threads/pthreads.c: Add copyright notice.
1754
8b7d96c1
MC
17552003-10-20 Michael Chastain <mec@shout.net>
1756
1757 * gdb.base/gdb1056.exp: New test script.
1758
d1d69fdd
DJ
17592003-10-13 Daniel Jacobowitz <drow@mvista.com>
1760
1761 * gdb.threads/killed.exp: Use gdb_run_cmd.
1762
7d605576
DJ
17632003-10-13 Daniel Jacobowitz <drow@mvista.com>
1764
1765 * gdb.base/gcore.exp: Issue an UNSUPPORTED and exit if we can't
1766 create a core file.
1767 * gdb.threads/gcore-thread.exp: Likewise.
1768
618ec112
CV
17692003-10-13 Corinna Vinschen <vinschen@redhat.com>
1770
1771 * gdb.base/call-rt-st.c (struct bit_flags_char_t): New bitfield
1772 type, based on char type.
1773 (struct bit_flags_short_t): New bitfield type, based on short type.
1774 (init_bit_flags_char): New fuction.
1775 (init_bit_flags_short): Ditto.
1776 (print_bit_flags_char): Ditto.
1777 (print_bit_flags_short): Ditto.
1778 (main): Add handling for bit_flags_char_t and bit_flags_short_t.
1779
9367a73c
MC
17802003-10-11 Michael Chastain <mec@shout.net>
1781
1782 * gdb.base/call-rt-st.exp: Update copyright year.
1783
1decf120
KI
17842003-10-10 Kei Sakamoto <sakamoto.kei@renesas.com>
1785
1786 * config/hmsirom.exp: Replace "Hitachi" with "Renesas".
1787 * gdb.disasm/sh3.s: Ditto.
1788
5445b2ae
DJ
17892003-10-07 Daniel Jacobowitz <drow@mvista.com>
1790
1791 * gdb.threads/switch-threads.exp: New test.
1792 * gdb.threads/switch-threads.c: New source file.
1793
aec24853
CV
17942003-10-07 Corinna Vinschen <vinschen@redhat.com>
1795
1796 * gdb.base/ending-run.exp: Add sh specific case.
1797
adc7428d
AC
17982003-10-06 Andrew Cagney <cagney@redhat.com>
1799
1800 * gdb.base/watchpoint.exp: Delete obsolete clear_xfail.
1801 * gdb.disasm/mn10200.exp: Delete obsolete file.
1802
c9d37158
DJ
18032003-09-29 Daniel Jacobowitz <drow@mvista.com>
1804
1805 * ChangeLog: Correct an entry command.exp -> commands.exp.
1806 * gdb.base/commands.exp (bp_deleted_in_command_test)
1807 (temporary_breakpoint_commands): Check noargs.
1808
79c2c32d
DC
18092003-09-25 David Carlton <carlton@kealia.com>
1810
1811 * gdb.cp/namespace.exp: Tweak comments. Add non-quoted versions
1812 of some print tests, where appropriate. Add tests for C::D::cd,
1813 E::ce, F::cXfX, G::XgX.
1814 * gdb.cp/namespace.cc: Add XgX, cXfX, ce.
1815
594e6d67
RE
18162003-09-25 Richard Earnshaw <rearnsha@arm.com>
1817
1818 * lib/java.exp (java_init): Import target_alias before using it.
1819
10f0d451
DC
18202003-09-25 David Carlton <carlton@kealia.com>
1821
1822 * gdb.base/corefile.exp: Delete obsolete setup_xfail.
1823
274bcba0
EZ
18242003-09-23 Elena Zannoni <ezannoni@redhat.com>
1825
d63a86f8 1826 * gdb.base/selftest.exp: Accomodate more instruction reordering
274bcba0
EZ
1827 weirdness.
1828
cdbf20f7
MC
18292003-09-17 Michael Chastain <mec@shout.net>
1830
1831 * gdb.cp/gdb1355.exp: New file.
1832 * gdb.cp/gdb1355.c: New file.
1833
71e06f80
CV
18342003-09-15 Corinna Vinschen <vinschen@redhat.com>
1835
1836 * gdb.asm/asm-source.exp: Add sh*-*-* as supported target.
1837 * gdb.asm/sh.inc: New file.
1838
5c4e30ca
DC
18392003-09-11 David Carlton <carlton@kealia.com>
1840
bd45b7af
DC
1841 * gdb.cp/namespace.exp: Add tests for namespace types.
1842 * gdb.cp/maint.exp (test_help): Test 'help maint cp namespace'.
5c4e30ca
DC
1843 (test_namespace): New.
1844
1c199746
EZ
18452003-09-11 Elena Zannoni <ezannoni@redhat.com>
1846
1847 * gdb.base/relocate.exp: Handle new gdb output at startup.
3fcf0ced 1848 * gdb.stabs/weird.exp: Ditto.
1c199746 1849
04ed252f
MC
18502003-09-08 Michael Chastain <mec@shout.net>
1851
1852 * gdb.base/gdb1250.c: Rename 'gamma' to 'my_gamma'.
1853
d8a2d9e7
MC
18542003-09-07 Michael Chastain <mec@shout.net>
1855
1856 * gdb.cp/classes.exp: Accommodate both 'syntax error' and
1857 'parse error'.
1858
161afb24
MK
18592003-09-07 Mark Kettenis <m.kettenis@osp.nl>
1860
1861 * gdb.arch/i386-prologue.exp: Add checks for saved registers.
1862
49f2741a
MC
18632003-08-30 Michael Chastain <mec@shout.net>
1864
1865 * gdb.base/selftest.exp: Remove support for m68k*-*-hpux.
1866 * gdb.gdb/observer.exp: Ditto.
1867 * gdb.gdb/xfullpath.exp: Ditto.
1868
8afa723e
MK
18692003-08-29 Mark Kettenis <kettenis@gnu.org>
1870
1871 * gdb.base/interrupt.exp: XFAIL "call function when asleep" for
1872 *-*-*bsd*.
1873
f31dfe3b
JJ
18742003-08-28 Jeff Johnston <jjohnstn@redhat.com>
1875
1876 * gdb.base/dump.exp: Skip for ia64.
1877
4630e498
JJ
18782003-08-25 Jeff Johnston <jjohnstn@redhat.com>
1879
1880 * gdb.asm/asm-source.exp: Add ia64 support.
1881 * gdb.asm/ia64.inc: New file.
1882
1105b7ef
MC
18832003-08-22 Michael Chastain <mec@shout.net>
1884
1885 * gdb.cp: New directory.
1886 * gdb.cp/*: Copy from gdb.c++/*.
1887 * gdb.c++/*: Remove.
1888 * Makefile.in: Change gdb.c++ to gdb.cp.
1889 * configure.in: Ditto.
1890 * configure: Regnerate.
1891
c945b932
MK
18922003-08-18 Mark Kettenis <kettenis@gnu.org>
1893
1894 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1338.
1895 * gdb.arch/i386-prologue.c (gdb1338): Add function.
1896
2b66634b
DJ
18972003-08-17 Daniel Jacobowitz <drow@mvista.com>
1898
1899 * mi-var-display.exp (-var-list-children weird): Accept function
1900 pointers with argument types.
1901 * mi1-var-display.exp (-var-list-children weird): Likewise.
1902 * mi2-var-display.exp (-var-list-children weird): Likewise.
1903
a356f73b
DJ
19042003-08-17 Daniel Jacobowitz <drow@mvista.com>
1905
1906 * gdb.base/annota3.exp: Add missing newline.
1907
483417b8
MC
19082003-08-06 Michael Chastain <mec@shout.net>
1909
1910 * gdb.java/jmisc1.exp: Add test for pr gdb/1322.
1911
c99c59c3
MS
19122003-08-12 Michael Snyder <msnyder@redhat.com>
1913
1914 * gdb.base/float.exp: Add test for SH.
1915
55ed7501
MK
19162003-08-10 Mark Kettenis <kettenis@gnu.org>
1917
1918 * gdb.arch/i386-prologue.c, gdb.arch/i386-prologue.exp: New files.
1919
1a371f2e
EZ
19202003-08-07 Elena Zannoni <ezannoni@redhat.com>
1921
1922 * gdb.base/completion.exp: Remove reduntant completion test
1923 on filename.
1924
e0f353ce
EZ
19252003-08-07 Elena Zannoni <ezannoni@redhat.com>
1926
1927 * gdb.base/attach.exp, gdb.base/detach.exp, gdb.base/gcore.exp,
1928 gdb.mi/mi-basics.exp, gdb.threads/gcore-thread.exp,
1929 gdb.trace/save-trace.exp: Make sure that full pathnames are
1930 escaped correctly.
1931
5710a1af 19322003-08-07 Elena Zannoni <ezannoni@redhat.com>
d63a86f8 1933
5710a1af
EZ
1934 * configure.in: Don't generate config.h from config.hin.
1935 * configure: Regenerate.
1936 * config.hin: Remove file.
1937 * gdb.mi/pthreads.c: Remove include of config.h, and other ifdefs.
1938 * gdb.threads/pthreads.c: Ditto.
1939
dcd81ce9
DJ
19402003-08-07 Daniel Jacobowitz <drow@mvista.com>
1941
1942 From Kei Sakamoto <sakamoto.kei@renesas.com>:
1943 * gdb.asm/asm-source.exp : Add -lgloss to link-flags.
1944 * gdb.asm/m32r.inc : Remove an illegal nop after bl instruction.
1945 Replace ld24 with seth/add3.
1946
6009d884
AC
19472003-08-02 Andrew Cagney <cagney@redhat.com>
1948
1949 * gdb.base/annota3.exp: New file.
1950 * gdb.base/annota3.c: New file.
1951 * gdb.c++/annota3.exp: New file.
1952 * gdb.c++/annota3.cc: New file.
1953
51514e06
MC
19542003-07-29 Michael Chastain <mec@shout.net>
1955
1956 * gdb.threads/tls.c (spin): Check errno only if sem_wait
1957 actually failed.
1958 (do_pass): Likewise.
1959 * gdb.threads/tls.exp: Always initialize no_of_threads.
1960
4ee6625b
DJ
19612003-07-27 Daniel Jacobowitz <drow@mvista.com>
1962
1963 * gdb.threads/print-threads.exp (test_all_threads): Loosen KFAIL
1964 pattern.
1965 * gdb.threads/tls-shared.exp: Don't use gdb_suppress_entire_file.
1966 * gdb.threads/tls.exp: Recognize one case of the host library not
1967 supporting TLS.
1968
225f2bf6
AC
19692003-07-27 Andrew Cagney <cagney@redhat.com>
1970
1971 * gdb.base/fileio.exp: Use SH when running commands using
1972 remote_exec.
1973
bcb27c9f
DJ
19742003-07-24 Daniel Jacobowitz <drow@mvista.com>
1975
1976 From Kei Sakamoto <sakamoto.kei@renesas.com>:
1977 * gdb.base/relocate.c (dummy): New padding array.
1978
3d67be83
MS
19792003-07-22 Michael Snyder <msnyder@redhat.com>
1980
d63a86f8 1981 * gdb.disasm/8300s.s: Fix syntax of bsr insn.
3d67be83
MS
1982
1983 * gdb.disasm/h8300s.exp : Minor changes in disassembler output require
1984 patterns to be more general, accepting old and new output.
1985 Some output chars (such as '+') also must be quoted.
d63a86f8 1986 Some addresses are displayed numerically instead of
3d67be83
MS
1987 symbolically.
1988
57ba3b85
MS
19892003-07-23 Michael Snyder <msnyder@redhat.com>
1990
686d097c
MS
1991 * gdb.base/return2.exp: Don't test long-long return.
1992
57ba3b85
MS
1993 * gdb.disasm/t01_mov.s: New file, h8300sx disassembly tests.
1994 * gdb.disasm/t01_mov.exp: Ditto.
1995 * gdb.disasm/t02_mova.s: Ditto.
1996 * gdb.disasm/t02_mova.exp: Ditto.
1997 * gdb.disasm/t03_add.s: Ditto.
1998 * gdb.disasm/t03_add.exp: Ditto.
1999 * gdb.disasm/t04_sub.s: Ditto.
2000 * gdb.disasm/t04_sub.exp: Ditto.
2001 * gdb.disasm/t05_cmp.s: Ditto.
2002 * gdb.disasm/t05_cmp.exp: Ditto.
2003 * gdb.disasm/t06_ari2.s: Ditto.
2004 * gdb.disasm/t06_ari2.exp: Ditto.
2005 * gdb.disasm/t07_ari3.s: Ditto.
2006 * gdb.disasm/t07_ari3.exp: Ditto.
2007 * gdb.disasm/t08_or.s: Ditto.
2008 * gdb.disasm/t08_or.exp: Ditto.
2009 * gdb.disasm/t09_xor.s: Ditto.
2010 * gdb.disasm/t09_xor.exp: Ditto.
2011 * gdb.disasm/t10_and.s: Ditto.
2012 * gdb.disasm/t10_and.exp: Ditto.
2013 * gdb.disasm/t11_logs.s: Ditto.
2014 * gdb.disasm/t11_logs.exp: Ditto.
2015 * gdb.disasm/t12_bit.s: Ditto.
2016 * gdb.disasm/t12_bit.exp: Ditto.
2017 * gdb.disasm/t13_otr.s: Ditto.
2018 * gdb.disasm/t13_otr.exp: Ditto.
2019
e00759ef
EZ
20202003-07-22 Elena Zannoni <ezannoni@redhat.com>
2021
2022 * gdb.threads/tls.exp :Add kfail for 'info address' case.
2023
8bc2021f
EZ
20242003-07-22 Elena Zannoni <ezannoni@redhat.com>
2025
2026 * gdb.threads/tls.c : New file.
2027 * gdb.threads/tls.exp : New file.
2028 * gdb.threads/tls-main.c : New file.
2029 * gdb.threads/tls-shared.c : New file.
2030 * gdb.threads/tls-shared.exp : New file.
2031
89320c4c
AS
20322003-07-22 Andreas Schwab <schwab@suse.de>
2033
2034 * gdb.asm/powerpc.inc (gdbasm_startup): Force alignment.
2035
180dea7c
AS
20362003-07-20 Andreas Schwab <schwab@suse.de>
2037
2038 * gdb.base/selftest.exp (do_steps_and_nexts): Add more patterns
2039 due to insn reordering.
2040
0714963c
AC
20412003-07-15 Andrew Cagney <cagney@redhat.com>
2042
2043 * gdb.asm/asm-source.exp: Do not allow "start" in the backtrace.
2044
98a23b3f
MC
20452003-07-15 Michael Chastain <mec@shout.net>
2046
2047 * gdb.base/gdb1250.exp: New file.
2048 * gdb.base/gdb1250.c: New file.
2049
27e417a2
ML
20502003-07-09 Michal Ludvig <mludvig@suse.cz>
2051
2052 * gdb.c++/templates.exp (test_ptype_of_templates): Recognize
2053 expansion of size_t to 'unsigned long', not only to 'unsigned'.
2054
8bc2021f
EZ
20552003-07-09 Elena Zannoni <ezannoni@redhat.com>
2056
2057 * gdb.threads/tls.c: New file.
2058 * gdb.threads/tls.exp: New file.
2059 * gdb.threads/tls-main.c: New file.
2060 * gdb.threads/tls-shared.c: New file.
2061 * gdb.threads/tls-shared.exp: New file.
2062
d99968dc
EZ
20632003-07-09 Elena Zannoni <ezannoni@redhat.com>
2064
2065 * gdb.base/annota1.exp: Make sure that we properly escape the
2066 full path of the source file. Xfail more permissive patterns,
d63a86f8 2067 due to a compiler debug info problem.
d99968dc 2068
83876b3b
AS
20692003-07-07 Andreas Schwab <schwab@suse.de>
2070
2705e972
AS
2071 * gdb.asm/m68k.inc: New file.
2072 * gdb.asm/asm-source.exp: Use it for m68k-*-*.
2073
83876b3b
AS
2074 * gdb.objc/basicclass.exp ("Call an Objective-C method with no
2075 arguments"): Also match negative number.
2076
2077 * gdb.base/float.exp ("info float"): Add test for m68k-*-*.
2078
3a871b37
DJ
20792003-07-03 Daniel Jacobowitz <drow@mvista.com>
2080
2081 * gdb.base/store.c (charest): New typedef.
2082 (add_char): Rename to add_charest, update.
2083 (wack_char): Rename to wack_charest, update types. Return l + r
2084 to keep r live across the call.
2085 (wack_short, wack_int, wack_long, wack_longest, wack_float)
2086 (wack_double, wack_doublest): Return l + r to keep r live across
2087 the call.
2088 * gdb.base/store.exp: Accomodate store.c changes.
2089
b2a7f303
DC
20902003-06-30 David Carlton <carlton@kealia.com>
2091
2092 * gdb.c++/maint.exp (test_invalid_name): New.
2093 (test_first_component): Add tests for invalid names.
2094
3c6cb4a1
MC
20952003-06-29 Michael Chastain <mec@shout.net>
2096
2097 * gdb.c++/inherit.exp (test_print_svi_classes): Accept gdb
2098 output of '<VTT for class>' for virtual base classes.
2099
f1c2644b
DJ
21002003-06-29 Daniel Jacobowitz <drow@mvista.com>
2101
2102 * gdb.base/completion.exp: Tab-complete "complet" instead of
2103 "compl".
2104 * gdb.base/complex.exp, gdb.base/complex.c: New files.
2105
18080350
DJ
21062003-06-29 Daniel Jacobowitz <drow@mvista.com>
2107
2108 * gdb.base/constvars.exp: Remove most xfails for GCC 3.x.
2109 * gdb.base/volatile.exp: Likewise.
2110
f56973f8
DJ
21112003-06-29 Daniel Jacobowitz <drow@mvista.com>
2112
2113 * gdb.threads/print-threads.exp (test_all_threads): Add kfail for
2114 gdb/1265.
2115
21162003-06-28 Michael Chastain <mec@shout.net>
48fe539f
DJ
2117 Daniel Jacobowitz <drow@mvista.com>
2118
2119 * gdb.base/selftest.exp (do_steps_and_nexts): Increase maximum
2120 initial line count of 'captured_main' from 26 to 32.
2121 (test_with_self): Allow xmalloc call to be interleaved with the
2122 preceding two lines.
2123
e766d4d6
JB
21242003-06-24 Joel Brobecker <brobecker@gnat.com>
2125
2126 * gdb.base/bang.exp: New testcase.
2127
f125c9a4
JB
21282003-06-23 Joel Brobecker <brobecker@gnat.com>
2129
2130 * gdb.base/langs.exp: Add some tests for the "minimal" language
2131 support.
2132
6e25beaf
EZ
21332003-06-23 Elena Zannoni <ezannoni@redhat.com>
2134
2135 * gdb.objc/basicclass.exp: Return -1 if we cannot compile
2136 the testcase.
2137
2f816dda
DJ
21382003-06-22 Daniel Jacobowitz <drow@mvista.com>
2139
2140 * gdb.base/relocate.exp: Test add-symbol-file with a variable
2141 offset.
2142
db5a5748
DJ
21432003-06-22 Daniel Jacobowitz <drow@mvista.com>
2144
2145 * gdb.c++/pr-1210.cc: New file.
2146 * gdb.c++/pr-1210.exp: New file.
2147
1df0c130
DJ
21482003-06-21 Daniel Jacobowitz <drow@mvista.com>
2149
2150 * lib/mi-support.exp (mi_run_cmd): Expect an MI response to
2151 000-exec-continue.
2152
a92feac0
MK
21532003-06-15 Mark Kettenis <kettenis@gnu.org>
2154
2155 * gdb.base/attach.exp: Use -1 for the ID of a nonexistent process
2156 on *-*-*bsd* instead of *-*-freebsd*.
2157
81a58f5b
AC
21582003-06-14 Andrew Cagney <cagney@redhat.com>
2159
2160 * gdb.base/store.exp: Test longest and doublest. Test all
2161 parameters. Weaken return statement match.
2162 * gdb.base/store.c: Add longest and doublest - aka long long and
2163 long double functions. Put all parameters into local register
2164 variables. Use negative values.
2165
b257a0d3
AC
21662003-06-14 Andrew Cagney <cagney@redhat.com>
2167
2168 * gdb.base/fileio.c: Include <errno.h>, and <sys/wait.h>. Gag
2169 -Wformat errors. Add lost line. Use WEXITSTATUS to get system
2170 exit status.
2171 * gdb.base/fileio.exp: Disable target when nointerrupts and
2172 noinferiorio, instead of limiting it to remote. Use remote_exec
2173 instead of system.
d63a86f8 2174
21c38304
JJ
21752003-06-12 Jeff Johnston <jjohnstn@redhat.com>
2176
2177 * gdb.base/float.exp: Add ia64 support.
2178
1bcdb424
CV
21792003-06-12 Corinna Vinschen <vinschen@redhat.com>
2180
2181 * gdb.base/fileio.exp: Run only on remote targets.
2182
6aeb981f
CV
21832003-06-10 Corinna Vinschen <vinschen@redhat.com>
2184
2185 * gdb.base/fileio.c: New file, testing File-I/O.
2186 * gdb.base/fileio.exp: Ditto.
2187
53df362e
RG
21882003-06-09 Raoul Gough <RaoulGough@yahoo.co.uk>
2189
2190 * gdb.base/shreloc.exp: New file, check symbol values obtained from
2191 shared objects after relocation at load time (gdb PR/1132).
2192 * gdb.base/shreloc.c, gdb.base/shreloc1.c, gdb.base/shreloc2.c:
2193 as above, part of the shared object relocation test.
2194
ffee1b46
MK
21952003-06-08 Mark Kettenis <kettenis@gnu.org>
2196
b5ca3722
MK
2197 * gdb.base/readline.exp: Add tests for operate-and-get-next with a
2198 fully filled history list.
2199 * gdb.base/gdb_history: New file.
2200
03ed860d
MK
2201 * gdb.base/signals.exp: XFAIL "continue to func1" on
2202 i*86-*-freebsd*.
2203
ffee1b46
MK
2204 * gdb.base/attach.exp: When trying to attach to a nonexistent
2205 process, make it possible to specify the PID based on the target,
2206 and do so for *-*-freebsd*.
2207
d80dbb52
RH
22082003-06-02 Richard Henderson <rth@redhat.com>
2209
2210 * gdb.base/float.exp: Add expected regexp for alpha-*-*.
2211
6dd77b81
RH
22122003-06-02 Richard Henderson <rth@redhat.com>
2213
2214 * gdb.base/selftest.exp: Next over lim_at_start initialization.
2215
f6347e16
RH
22162003-06-02 Richard Henderson <rth@redhat.com>
2217
2218 * gdb.base/dump.exp [alpha*-*-*]: Add -taso linker switch.
2219
2c161407
DJ
22202003-06-01 Daniel Jacobowitz <drow@mvista.com>
2221
2222 * gdb.asm/asm-source.exp: Dissassemble from &globalvar instead
2223 of globalvar.
2224
572eb746
MK
22252003-06-01 Mark Kettenis <kettenis@gnu.org>
2226
2227 * gdb.asm/asm-source.exp: Check for memory read errors in
2228 disassembler test on *BSD too.
2229
9e9617a5
RH
22302003-06-01 Richard Henderson <rth@redhat.com>
2231
2232 * gdb.asm/alpha.inc (gdbasm_enter): Use numeric register names
2233 for .frame.
2234 (gdbasm_call): Lose ldgp.
2235 (gdbasm_startup): Add frame information.
2236 * gdb.asm/asm-source.exp (alpha*-*): Add -no-mdebug to asm-flags.
2237
7b34ad4e
MK
22382003-05-31 Mark Kettenis <kettenis@gnu.org>
2239
2240 * gdb.base/float.exp: Expect similar output for x86_64-*-* as for
2241 i?86-*-*.
2242
10059fdf
MK
22432003-05-30 Mark Kettenis <kettenis@gnu.org>
2244
2245 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
2246 FreeBSD.
2247
acf4b816
RH
22482003-05-29 Richard Henderson <rth@redhat.com>
2249
2250 * gdb.asm/alpha.inc: New file.
2251 * gdb.asm/asm-source.exp: Use it.
2252
e9ecd949
JB
22532003-05-29 Jim Blandy <jimb@redhat.com>
2254
2255 * gdb.base/corefile.exp: Find corefiles on Linux, which names them
2256 'core.PID'.
2257
e3e5a4f3
JB
22582003-05-22 Jim Blandy <jimb@redhat.com>
2259
2260 * gdb.base/corefile.exp: Tolerate stuff after argument parens in
2261 backtrace.
d63a86f8 2262
72fe3d25
DC
22632003-05-20 David Carlton <carlton@math.stanford.edu>
2264
2265 * gdb.c++/namespace1.cc: Actually do 'cvs add' before committing
2266 this time.
2267
58da2eb2
DC
22682003-05-19 David Carlton <carlton@bactrian.org>
2269
2270 * gdb.c++/rtti.exp: New file, containing tests for PR c++/488.
2271 * gdb.c++/rtti.h, gdb.c++/rtti1.cc, gdb.c++/rtti2.cc: Ditto.
2272
1fcb5155
DC
22732003-05-19 David Carlton <carlton@bactrian.org>
2274
2275 * gdb.c++/namespace.exp: Add namespace scope and anonymous
2276 namespace tests.
2277 Bump copyright date.
2278 * gdb.c++/namespace.cc: Add anonymous namespace and namespace C.
2279 (main): Call C::D::marker2.
2280 * gdb.c++/namespace1.cc: New file.
2281
85e85163
JJ
22822003-05-14 Jeff Johnston <jjohnstn@redhat.com>
2283
2284 Roland McGrath <roland@redhat.com>
d63a86f8 2285 * gdb.threads/linux-dp.exp: Account for fact that in nptl model
85e85163
JJ
2286 there is no manager thread.
2287
a25fbfec
JJ
22882003-05-08 Jeff Johnston <jjohnstn@redhat.com>
2289
d63a86f8
RM
2290 * gdb.threads/schedlock.exp: Remove assumption that all threads
2291 will run in a particular small time slice. Also ensure we break
a25fbfec
JJ
2292 in one of the child threads rather than the main thread.
2293
be375bae
JB
22942003-05-07 Jim Blandy <jimb@redhat.com>
2295
09bf6082
JB
2296 Add support for assembly source testing on the s390x.
2297 * gdb.asm/asm-source.exp: Add a case for the s390x-*-*
2298 architecture.
2299 * gdb.asm/s390x.inc: New file.
2300
be375bae
JB
2301 * gdb.asm/asm-source.exp: Use a 'switch -glob' statement, not a
2302 succession of 'if' statements.
2303
00905d52
AC
23042003-05-05 Andrew Cagney <cagney@redhat.com>
2305
2306 * gdb.base/maint.exp: Add tests for "maint print dummy-frames".
2307
b1e29e33
AC
23082003-05-05 Andrew Cagney <cagney@redhat.com>
2309
2310 * gdb.base/watchpoint.exp: Rename CALL_DUMMY_BREAKPOINT_OFFSET to
2311 DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET in comments.
2312
e33d66ec
EZ
23132003-05-02 Elena Zannoni <ezannoni@redhat.com>
2314
2315 * gdb.base/charset.exp: Update based on new behavior of set/show
2316 charset commands.
2317
2b6fd0d8
AC
23182003-05-01 Andrew Cagney <cagney@redhat.com>
2319
2320 * gdb.asm/asm-source.exp: Check that "disassm" and "x/i" of a
2321 variable do not give memory errors.
2322
130cacce
AF
23232003-04-30 Adam Fedor <fedor@gnu.org>
2324
2325 * Makefile.in (ALL_SUBDIRS): Add gdb.objc
2326 * configure.in (AC_OUTPUT): Add gdb.objc/Makefile
2327 * gdb.objc/Makefile.in, gdb.objc/basicclass.exp,
2328 gdb.objc/basicclass.m: : New files
2329
2330 * lib/gdb.exp (gdb_compile_objc): New procedure.
2331
bea71854
DJ
23322003-04-27 Daniel Jacobowitz <drow@mvista.com>
2333
2334 * gdb.base/signals.exp: Make backtrace tests more specific.
2335
0f20eeea
DC
23362003-04-23 David Carlton <carlton@bactrian.org>
2337
2338 * gdb.c++/maint.exp (test_first_component): Add tests for
2339 'operator' in more locations.
2340
c8c4d8dc
KB
23412003-04-16 Kevin Buettner <kevinb@redhat.com>
2342
2343 * gdb.base/args.exp: Invoke gdb_load for simulator targets.
2344
3fe60e3c
EZ
23452003-04-16 Elena Zannoni <ezannoni@redhat.com>
2346
2347 * gdb.base/completion.exp: Make 'info func mark' complete on 'info
2348 func marke' instead. Update test name.
2349
9219021c
DC
23502003-04-15 David Carlton <carlton@math.stanford.edu>
2351
2352 * gdb.c++/maint.exp: New file.
2353
5dd55bdd
EZ
23542003-04-14 Elena Zannoni <ezannoni@redhat.com>
2355
2356 * gdb.threads/schedlock.c: Change type of thread function argument
2357 to long, to avoid warnings on 64-bit platforms.
2358
00890572
EZ
23592003-04-14 Elena Zannoni <ezannoni@redhat.com>
2360
2361 * gdb.base/attach.exp: Add new message from ptrace in case of
2362 attaching to nonexistent process.
d63a86f8 2363
93201743
JB
23642003-04-11 Jim Blandy <jimb@redhat.com>
2365
2366 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
2367 gdb.c++/userdef.cc: Place comments on the lines to which the
2368 marker function might return.
2369 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
2370 gdb.c++/userdef.exp: Look for those comments to check that we've
2371 returned to the right place, instead of checking line numbers.
2372
2a11c64d
EZ
23732003-04-11 Elena Zannoni <ezannoni@redhat.com>
2374
2375 * gdb.threads/pthreads.exp (test_startup): When setting a breakpoint
2376 match on sourcefile name, instead of directory name.
2377
68ab8fc5
EZ
23782003-04-10 Elena Zannoni <ezannoni@redhat.com>
2379
d63a86f8 2380 * gdb.base/completion.exp: Use string_to_regexp to match the
68ab8fc5
EZ
2381 working directory name.
2382
5624293a
JB
23832003-04-09 Jim Blandy <jimb@redhat.com>
2384
2385 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
2386 gdb.c++/userdef.exp: If GDB fails to restore the selected frame
2387 after an inferior function call, report the failure, but allow the
2388 test to continue.
2389
f1f02ee4
SC
23902003-04-05 Stephane Carrez <stcarrez@nerim.fr>
2391
2392 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
2393 with -DPROTOTYPES.
2394
6eb79af0
SC
23952003-04-05 Stephane Carrez <stcarrez@nerim.fr>
2396
2397 * gdb.base/break.exp: Revert last patch.
2398
8dfb4cf0
SC
23992003-04-04 Stephane Carrez <stcarrez@nerim.fr>
2400
2401 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
2402 with -DPROTOTYPES.
2403
ed4c619a
AC
24042003-04-02 Andrew Cagney <cagney@redhat.com>
2405
2406 * gdb.base/callfuncs.exp: Make "print add" messages unique.
2407 * gdb.base/ending-run.exp: Put spaces around "breakpoint" to stop
2408 matching directories by the name breakpoint.
2409 * gdb.base/pointers.exp: Make "ptype pppC" message consistent.
2410 Make "continue to marker1" consistent.
2411 * gdb.base/call-rt-st.exp: Make "finish out from loop_count"
2412 message consistent.
2413 * lib/gdb.exp: Put "the program is no longer running", and "the
2414 program exited" in parenthesis.
2415 * lib/mi-support.exp: Ditto.
d63a86f8 2416
4e35d5f0 24172003-04-02 Bob Rossi <bob_rossi@cox.net>
d63a86f8 2418
4e35d5f0
BR
2419 * gdb.mi/mi-file.exp: New file for -file-list-exec-source-file.
2420
71900fe8
AC
24212003-03-29 Andrew Cagney <cagney@redhat.com>
2422
2423 * gdb.base/sizeof.c (main): Print the value of '\377'.
2424 * gdb.base/sizeof.exp: Check the sign of '\377'.
2425
c0655a16
MC
24262003-03-27 Michael Chastain <mec@shout.net>
2427
2428 * gdb.base/gdb1090.exp: New file.
2429 * gdb.base/gdb1090.cc: New file.
2430
5b2a3989
JB
24312003-03-27 J. Brobecker <brobecker@gnat.com>
2432
2433 * gdb.gdb/observer.exp: New regression test.
2434
79876890
MC
24352003-03-27 Michael Chastain <mec@shout.net>
2436
2437 * gdb.base/list.exp: Remove setup_xfail_format for DWARF 1.
2438 * gdb.base/ptype.exp: Likewise.
2439
6eac95e3
CV
24402003-03-27 Corinna Vinschen <vinschen@redhat.com>
2441
2442 * gdb.c++/casts.exp: Fix startup to run also on embedded targets.
2443
e8c71839
MC
24442003-03-26 Michael Chastain <mec@shout.net>
2445
2446 * gdb.base/ptype.exp: Actually use some typedef'd types.
2447
71b10041
SC
24482003-03-21 Stephane Carrez <stcarrez@nerim.fr>
2449
2450 * gdb.asm/asm-source.exp: Set asm-arch for m6811 and m6812.
2451 * gdb.asm/m68hc11.inc: New file for HC11/HC12 macros.
2452
2512cf80
CV
24532003-03-20 Corinna Vinschen <vinschen@redhat.com>
2454
2455 * gdb.base/default.exp: Fix regular expression.
2456
0d195a4f
CV
24572003-03-20 Corinna Vinschen <vinschen@redhat.com>
2458
2459 * gdb.base/args.exp: Fix regular expression.
2460
8a2dbca8
CV
24612003-03-20 Corinna Vinschen <vinschen@redhat.com>
2462
2463 * gdb.base/help.exp: Allow Win32 child process.
2464
bf028682
CV
24652003-03-20 Corinna Vinschen <vinschen@redhat.com>
2466
2467 * gdb.base/ending-run.exp: Check for Cygwin specific wrapper function
2468 when stepping out of main().
2469
182dbe85
CV
24702003-03-20 Corinna Vinschen <vinschen@redhat.com>
2471
2472 * gdb.base/default.exp: Check for win32 specific message when calling
2473 "run" without executable.
2474
d67a6ba5
CV
24752003-03-20 Corinna Vinschen <vinschen@redhat.com>
2476
2477 * gdb.base/args.exp: Expect .exe in output.
2478
a955b5bb
CV
24792003-03-20 Corinna Vinschen <vinschen@redhat.com>
2480
2481 * gdb.asm/asm-source.exp: Add appropriate --entry linker flag for
2482 Cygwin native.
2483
bf6bad4b
AC
24842003-03-17 Andrew Cagney <cagney@redhat.com>
2485
2486 From Elena Zannoni <ezannoni@redhat.com>. Test e500 abi and
2487 vector registes.
2488 * gdb.arch/e500-regs.c, gdb.arch/e500-regs.exp: New files.
2489 * gdb.arch/e500-abi.c, gdb.arch/e500-abi.exp: New files.
2490
293e9a31
DC
24912003-03-17 David Carlton <carlton@math.stanford.edu>
2492
2493 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): New
2494 test, for PR breakpoints/38.
2495 Call test_watchpoint_and_breakpoint.
2496 * gdb.base/watchpoint.c (func3): New function.
2497 (main): Call func3.
2498
5330f2db
DC
24992003-03-04 David Carlton <carlton@math.stanford.edu>
2500
2501 * gdb.c++/templates.exp (do_tests): Accept valid const in "print
2502 Garply<Garply<char> >:: garply".
2503 (test_ptype_of_templates): KFAIL "ptype T5<int>" and "ptype t5i"
2504 with respect to PR c++/1111; note also PR c++/1113.
2505 (test_template_breakpoints): KFAIL "constructor breakpoint" with
2506 respect to PR c++/1062.
2507 KFAIL "destructor breakpoint" with respect to PR c++/1112.
2508
6ece72da
DC
25092003-03-03 David Carlton <carlton@math.stanford.edu>
2510
2511 * gdb.c++/classes.exp (test_enums): KFAIL "ptype obj_with_enum"
2512 with respect to PR c++/57.
2513 KFAIL "print (ClassWithEnum::PrivEnum) 42" with respect to PR
2514 c++/826.
2515 Create "print ('ClassWithEnum::PrivEnum') 42"; KFAIL it with
2516 respect to PR c++/57.
2517
85ca1584
DC
25182003-03-03 David Carlton <carlton@math.stanford.edu>
2519
2520 * gdb.c++/templates.exp (do_tests): Convert the KFAILs with
2521 respect to PR c++/33 into FAILs.
2522
98e9c5b8
MC
25232003-03-03 Michael Chastain <mec@shout.net>
2524
7bedbf27
MC
2525 * configure.in: Update copyright years.
2526
25272003-03-03 Michael Chastain <mec@shout.net>
2528
2529 * Makefile.in: Update copyright years.
98e9c5b8 2530
f683e100
DC
25312003-02-28 David Carlton <carlton@math.stanford.edu>
2532
2533 * gdb.c++/classes.exp (test_ptype_class_objects): Accept it if we
2534 print class instead of struct and/or superfluous protection
2535 specifiers, as long as the resulting output is equivalent to the
2536 source code.
2537 Delete FIXME from end of messages on tests that don't need
2538 fixing.
2539
a9e0cf2c
DC
25402003-02-28 David Carlton <carlton@math.stanford.edu>
2541
2542 * gdb.c++/templates.exp (do_tests): Allow const in the two
2543 Foo<volatile char *>::foo tests.
2544
e8d359df
MS
25452003-02-27 Michael Snyder <msnyder@redhat.com>
2546
d63a86f8 2547 * gdb.base/restore.c (main): Return zero, so exit code
e8d359df
MS
2548 will be consistant.
2549
0b71dc91
DC
25502003-02-26 David Carlton <carlton@math.stanford.edu>
2551
2552 * gdb.c++/templates.exp (do_tests): KFAIL the "print Foo<volatile
2553 char *>::foo" test with respect to PR c++/33. Create a new test
2554 which is identical to that one except that it doesn't put the
2555 space between the "char" and the "*"; KFAIL it, too.
2556
dd14ab43
DC
25572003-02-26 David Carlton <carlton@math.stanford.edu>
2558
2559 * gdb.c++/templates.exp (do_tests): Convert XFAILs about printing
2560 template types into either PASSes or KFAILs (corresponding to PR
2561 c++/57). Tweak indentation. Update copyright.
2562
1146c7f1
SC
25632003-02-23 Stephane Carrez <stcarrez@nerim.fr>
2564
2565 * lib/gdb.exp: Don't execute C++ tests on m6811/m6812 targets.
2566
74641dfb
MC
25672003-02-13 Michael Chastain <mec@shout.net>
2568
2569 * gdb.base/exprs.exp: Remove i960 remnants.
2570 * gdb.base/funcargs.exp: Likewise.
2571 * gdb.base/list.exp: Likewise.
2572 * gdb.base/ptype.exp: Likewise.
2573
559cd2d0
DC
25742003-02-14 David Carlton <carlton@math.stanford.edu>
2575
2576 * gdb.c++/virtfunc.exp (test_virtual_calls): Change 'print
2577 pEe->D::vg()" from XFAIL to KFAIL.
2578
c4f90d87
JM
25792003-02-13 Jason Molenda (jmolenda@apple.com)
2580
2581 * gdb.base/maint.exp: Update maint print statistics regexp to include
2582 new entries.
2583
cbc4d97c
MC
25842003-02-13 Michael Chastain <mec@shout.net>
2585
2586 * gdb.c++/inherit.exp: Remove call to get_debug_format.
2587
40f235b7
MC
25882003-02-12 Michael Chastain <mec@shout.net>
2589
2590 * gdb.c++/classes.exp: Remove setup_xfail_format for DWARF 1.
2591 * gdb.c++/inherit.exp: Likewise.
2592 * gdb.c++/cplusfuncs.exp: Remove suppression logic for DWARF 1.
2593 * gdb.c++/templates.exp: Likewise.
2594 * gdb.c++/virtfunc.exp: Likewise.
2595
c56716b0
JM
25962003-02-06 Jason Molenda (jason-cl@molenda.com)
2597
2598 * gdb.mi/mi-syn-frame.c (subroutine): Add a comment explaining
2599 why the code is written that way.
2600
070afcf8
MC
26012003-02-05 Michael Chastain <mec@shout.net>
2602
2603 * gdb.base/dump.exp: Add missing copyright line.
2604
5d0331e5
JM
26052003-02-05 Jason Molenda (jason-cl@molenda.com)
2606
f7ae6d3e 2607 * gdb.mi/mi-syn-frame.c (subroutine): Add an extra statement
5d0331e5
JM
2608 at the beginning so the breakpoint doesn't get set on the loop.
2609
92851186
MC
26102003-02-05 Michael Chastain <mec@shout.net>
2611
2612 * gdb.c++/local.exp: Relax the test for PR gdb/825 to accept
2613 output for configurations with gcc 2.95.3.
2614
cbf1e085
AC
26152003-02-05 Keith Seitz <keiths@redhat.com>
2616 Andrew Cagney <ac131313@redhat.com>
2617
2618 * gdb.mi/mi-cli.exp: New file.
d63a86f8 2619
29518e1e
MC
26202003-02-04 Michael Chastain <mec@shout.net>
2621
2622 * gdb.c++/anon-union.exp: Do not call gdb_suppress_entire_file.
2623 Call perror and then continue.
2624
5af1d5f3
MC
26252003-02-03 Michael Chastain <mec@shout.net>
2626
2627 * gdb.c++/pr-1023.cc: New file.
2628 * gdb.c++/pr-1023.exp: New file.
2629
6b549786
JB
26302003-02-05 Jim Blandy <jimb@redhat.com>
2631
2632 * gdb.c++/local.exp: Don't expect Local to be in scope in main;
2633 it's local to foobar. Check for it there, and check that it's not
2634 present in main.
2635 * gdb.c++/local.cc (marker2): New function.
2636 (foobar): Call marker1.
2637 (main): Call marker2 instead of marker1.
2638
67f16606
AC
26392003-02-04 Andrew Cagney <ac131313@redhat.com>
2640
2641 * gdb.disasm/mn10200.exp: Obsolete file.
2642 * gdb.trace/Makefile.in (clean mostlyclean): Remove mn10200.
2643 * gdb.disasm/Makefile.in (clean mostlyclean): Remove mn10200.
2644 * gdb.base/watchpoint.exp: Mark the mn10200 xfails as obsolete.
2645
1c5cb38e
DC
26462003-02-04 David Carlton <carlton@math.stanford.edu>
2647
2648 * gdb.c++/overload.exp: Test intToChar(1).
2649 * gdb.c++/overload.cc (intToChar): New.
2650 (main): Call intToChar.
2651
d1fe6965
DC
26522003-02-03 David Carlton <carlton@math.stanford.edu>
2653
2654 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): Add
2655 'might_kfail' arg.
2656 KFAIL some of the continue_to_bp_overloaded calls, according to
2657 PR c++/1025.
2658
9ba61c5d
MC
26592003-02-01 Michael Chastain <mec@shout.net>
2660
2661 * gdb.base/advance.c (marker1): New marker function.
2662 * gdb.base/advance.exp: When the 'advance' command lands on the
2663 return breakpoint, it can legitimately stop on either the
2664 current line or the next line. Accommodate both outcomes.
2665 * gdb.base/until.exp: Likewise.
2666
e7494ffb
AC
26672003-02-02 Andrew Cagney <ac131313@redhat.com>
2668
2669 2002-11-10 Jason Molenda (jason-cl@molenda.com):
2670 * gdb.mi/mi-var-child.exp: -var-list-children's CHILDREN field is
2671 now a list, not a tuple.
2672 * gdb.mi/mi-var-display.exp: Ditto.
2673 * gdb.mi/gdb792.exp: Ditto.
2674
075559bc
AC
26752003-02-01 Andrew Cagney <ac131313@redhat.com>
2676
2677 From 2002-11-09 Jason Molenda (jason-cl@molenda.com):
2678 * gdb.mi/mi-syn-frame.exp: New tests for synthetic frames in
2679 stack backtraces.
2680 * gdb.mi/mi-syn-frame.c: Part of same.
2681
2bd4c7b1
MK
26822003-02-01 Mark Kettenis <kettenis@gnu.org>
2683
2684 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
2685 gdb.mi/mi1-pthreads.exp: Return instead of calling
2686 gdb_suppress_entire_file.
2687
eabd8992
MS
26882003-02-01 Mark Salter <msalter@redhat.com>
2689
2690 * gdb.asm/arm.inc (gdbasm_startup): Clear frame pointer, not sp.
2691
71469e2f
MS
26922003-01-31 Mark Salter <msalter@redhat.com>
2693
2694 * lib/mi-support.exp (mi_gdb_load): Support remote targets.
2695 Support empty arg.
2696
38a94d44
MC
26972003-01-30 Michael Chastain <mec@shout.net>
2698
2699 * lib/gdb.exp: Revert patch of 2003-01-06, which set LC_ALL.
2700 This was a workaround for a UTF-8 bug in readline 4.3. The bug
2701 has been fixed in gdb/readline on 2003-01-09.
2702
19ea9e73
MS
27032003-01-29 Michael Snyder <msnyder@redhat.com>
2704
e8d359df
MS
2705 * gdb.base/maint.exp: Allow for leading underscore in symbol.
2706 * gdb.base/display.exp: Allow for leading underscore in symbol.
19ea9e73
MS
2707 * gdb.base/args.exp: Skip if target does not support args passing.
2708
2307bd6a
DJ
27092003-01-22 Daniel Jacobowitz <drow@mvista.com>
2710
19ea9e73 2711 * lib/gdb.exp (gdb_test_multiple): New function, cloned from
2307bd6a
DJ
2712 gdb_test. Accept a list of expect arguments as the third
2713 parameter.
2714 (gdb_test): Use it.
2715
f2dd3617
EZ
27162003-01-20 Elena Zannoni <ezannoni@redhat.com>
2717
2718 * gdb.arch/altivec-abi.exp: Set variable 'srcfile' differently, to
2719 allow for different test tree configurations. Update some
2720 tescases accordingly.
2721 * gdb.arch/altivec-regs.exp: Ditto.
2722 * gdb.asm/asm-source.exp: Ditto.
2723 * gdb.base/advance.exp: Ditto.
2724 * gdb.base/display.exp: Ditto.
d63a86f8 2725 * gdb.base/long_long.exp: Ditto.
f2dd3617
EZ
2726 * gdb.base/mips_pro.exp: Ditto.
2727 * gdb.base/overlays.exp: Ditto.
2728 * gdb.base/relocate.exp: Ditto.
2729 * gdb.base/setshow.exp: Ditto.
2730 * gdb.base/step-line.exp: Ditto.
2731 * gdb.base/step-test.exp: Ditto.
2732 * gdb.base/until.exp: Ditto.
2733 * gdb.c++/virtfunc.exp: Get rid of variable 'src'.
2734
c71cdefd
DC
27352003-01-17 David Carlton <carlton@math.stanford.edu>
2736
2737 * gdb.c++/demangle.exp (test_lucid_style_demangling): KFAIL test
2738 corresponding to PR c++/945.
2739 Update copyright.
2740
fdba05d7
DC
27412003-01-17 David Carlton <carlton@math.stanford.edu>
2742
2743 * gdb.c++/inherit.exp (test_print_mi_members): KFAIL tests
2744 corresponding to PR c++/68.
2745
27462003-01-17 David Carlton <carlton@math.stanford.edu>
d2b29e01
DC
2747
2748 * gdb.c++/cplusfuncs.exp (print_addr_2_kfail): New procedure.
2749 (test_paddr_hairy_functions): Call print_addr_2_kfail for
2750 hairyfunc5 through hairyfunc7. KFAIL for PR c++/19.
2751
c362c33a
EZ
27522003-01-15 Elena Zannoni <ezannoni@redhat.com>
2753
0fbc361c
EZ
2754 * gdb.base/break.exp: Fix change of default location, because of
2755 removal of until tests.
2756 * gdb.base/help.exp: Update test for new 'until' help message.
2757 Add test for help on 'advance'.
c362c33a
EZ
2758 * gdb.base/args.exp: Fix foobar with GDBFLAGS global.
2759
dabf8a35
MK
27602003-01-15 Mark Kettenis <kettenis@gnu.org>
2761
2762 * gdb.base/default.exp: Adapt "info float" test for recent changes
2763 to that command. Add test for "info vector".
2764 * gdb.base/float.exp: New file. Add test for "info float" that
2765 resembles the old test in gdb.base/default.exp.
2766
a1769aca
DC
27672003-01-15 David Carlton <carlton@math.stanford.edu>
2768
2769 * gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot.
2770
82025e13
EZ
27712003-01-15 Elena Zannoni <ezannoni@redhat.com>
2772
2773 * gdb.base/break.exp: Move the tests of until command from here...
2774 * gdb.base/until.exp: ... to here. New file. Add other tests.
2775 * gdb.base/advance.c: New file.
2776 * gdb.base/advance.exp: New file.
2777
8f9ab801
EZ
27782003-01-14 Elena Zannoni <ezannoni@redhat.com>
2779
2780 * gdb.base/args.c: New file.
2781 * gdb.base/args.exp: New file.
2782
9ae66589
DJ
27832003-01-14 Daniel Jacobowitz <drow@mvista.com>
2784
2785 * gdb.c++/virtfunc.exp: Remove fixed XFAIL.
2786
8d77e5c3
DJ
27872003-01-14 Daniel Jacobowitz <drow@mvista.com>
2788
2789 * gdb.threads/killed.exp: Use KFAIL for gdb/568.
2790
12d2f0a1
DJ
27912003-01-14 Daniel Jacobowitz <drow@mvista.com>
2792
2793 * gdb.base/constvars.exp: Remove two extra XFAILs. Update copyright
2794 dates.
2795
6ca37014
DJ
27962003-01-13 Daniel Jacobowitz <drow@mvista.com>
2797
2798 * gdb.c++/printmethod.exp (print virtual method): Accept "(void)".
2799
b0023472
DJ
28002003-01-13 Daniel Jacobowitz <drow@mvista.com>
2801
2802 * gdb.base/printcmds.exp: Enable setup_kfail for gdb/538
2803 (ptype &*"foo").
2804 * gdb.c++/local.exp: Enable setup_kfail for gdb/482.
2805
d6abaea5
DJ
28062002-01-13 Daniel Jacobowitz <drow@mvista.com>
2807
2808 * gdb.mi/mi-console.exp: Remove extra "(known bug)".
2809 * gdb.mi/mi1-console.exp: Likewise.
2810
dfd536a7
DJ
28112002-01-13 Daniel Jacobowitz <drow@mvista.com>
2812
2813 * gdb.mi/mi-console.exp: Add KFAIL for "Hello message (known bug)".
2814 * gdb.mi/mi1-console.exp: Likewise.
2815
a1fb14a2
DJ
28162003-01-13 Daniel Jacobowitz <drow@mvista.com>
2817
2818 * gdb.c++/overload.exp: Remove some fixed XFAILs.
2819
c4cf40b7
DJ
28202003-01-09 Daniel Jacobowitz <drow@mvista.com>
2821
2822 * gdb.base/detach.exp: New test.
2823
696d5a5b
DJ
28242003-01-09 Daniel Jacobowitz <drow@mvista.com>
2825
2826 * Makefile.in (ALL_SUBDIRS): New variable.
2827 (subdirs, clean, distclean): Use it.
2828 * gdb.arch/Makefile.in: Clean up Makefile. Remove rules for
2829 regenerating Makefile, since it is generated from the top level.
2830 * gdb.asm/Makefile.in: Likewise.
2831 * gdb.base/Makefile.in: Likewise.
2832 * gdb.c++/Makefile.in: Likewise.
2833 * gdb.disasm/Makefile.in: Likewise.
2834 * gdb.java/Makefile.in: Likewise.
2835 * gdb.mi/Makefile.in: Likewise.
2836 * gdb.threads/Makefile.in: Likewise.
2837 * gdb.trace/Makefile.in: Likewise.
2838
754533e4
DC
28392003-01-09 David Carlton <carlton@math.stanford.edu>
2840
2841 * gdb.c++/annota2.exp: KFAIL "watch triggered on a.x".
2842 Add copyright year 2003.
2843
d8b3e9ee
MC
28442003-01-06 Michael Chastain <mec@shout.net>
2845
2846 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set):
2847 When selecting a thread, 'line' and 'file' are optional.
2848 * gdb.mi/mi1-pthreads.exp: Likewise.
2849
8e9e0fe6
AS
28502003-01-06 Andreas Schwab <schwab@suse.de>
2851
2852 * lib/gdb.exp: Set LC_ALL to "C" to avoid spurious testsuite
2853 failures.
2854
b5ab8ff3
DJ
28552003-01-04 Daniel Jacobowitz <drow@mvista.com>
2856
2857 Fix PR gdb/844
2858 * lib/gdb.exp (gdb_compile): Handle "quiet" option.
2859 (gdb_compile_pthreads): Pass "quiet" to gdb_compile.
2860
2861 * gdb.threads/gcore-thread.exp: Use gdb_compile_pthreads. Return
2862 instead of calling gdb_suppress_entire_file.
2863 * gdb.threads/print-threads.exp: Likewise.
2864 * gdb.threads/schedlock.exp: Likewise.
2865
2866 * gdb.threads/killed.exp: Return instead of calling
2867 gdb_suppress_entire_file.
2868 * gdb.threads/linux-dp.exp: Likewise.
2869 * gdb.threads/pthreads.exp: Likewise.
2870
1e698235
DJ
28712003-01-04 Daniel Jacobowitz <drow@mvista.com>
2872
2873 * gdb.base/callfuncs.exp: Don't XFAIL unprototyped functions for
2874 stabs.
2875 * gdb.base/completion.exp: Allow marker1(void) as well as marker1().
2876 * gdb.base/whatis.exp: Always allow (void) after function names.
2877
147ff08c
DJ
28782003-01-04 Daniel Jacobowitz <drow@mvista.com>
2879
2880 * gdb.c++/casts.exp: Correct regexp.
2881
dc62bfc2
MK
28822003-01-04 Mark Kettenis <kettenis@gnu.org>
2883
2884 * configure.in: Call AC_CONFIG_HEADER. Don't call
2885 AC_CONFIG_SUBDIRS on gdb.arch, gdb.asm, gdb.base gdb.c++ gdb.java,
2886 gdb.disasm, gdb.mi, gdb.threads and gdb.trace. Call
2887 AC_CHECK_HEADERS on pthread.h. Put Makefiles in the
2888 aforementioned directories in the AC_OUPUT call.
2889 * config.hin: New file.
2890 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
2891 gdb.mi/mi1-pthreads.exp, gdb.threads/gcore-thread.exp,
2892 gdb.threads/killed.exp, gdb.threads/print-threads.exp,
2893 gdb.threads/pthreads.exp, gdb.threads/schedlock.exp: Make sure we
2894 pass -I$objdir instead of -I$objdir/$subdir in compilation.
2895 * gdb.arch/configure.in, gdb.arch/configure, gdb.asm/configure.in,
2896 gdb.asm/configure, gdb.base/configure.in, gdb.base/configure,
2897 gdb.c++/configure.in, gdb.c++/configure, gdb.disasm/configure.in,
2898 gdb.disasm/configure, gdb.java/configure.in, gdb.java/configure,
2899 gdb.mi/configure.in, gdb.mi/configure, gdb.mi/config.in,
2900 gdb.threads/configure.in, gdb.threads/configure,
2901 gdb.threads/config.in, gdb.trace/configure.in,
2902 gdb.trace/configure: Removed.
2903
77afa639
MC
29042003-01-03 Michael Chastain <mec@shout.net>
2905
2906 * gdb.base/miscexprs.c: Fix PR gdb/697, "buglet in
2907 testsuite/gdb.base/miscexprs.c, off-by-1 array reference".
2908
7634bb6e
DJ
29092003-01-03 Daniel Jacobowitz <drow@mvista.com>
2910
2911 * gdb.base/store.exp: Fix regular expressions.
2912
b39c905e
MK
29132002-12-28 Mark Kettenis <kettenis@gnu.org>
2914
2915 * configure.in: Rewrite.
2916 * configure: Regenerated.
2917
0a8551dd
DC
29182003-01-03 David Carlton <carlton@math.stanford.edu>
2919
2920 * gdb.base/psymtab.exp: New file.
2921 * gdb.base/psymtab1.c: Ditto.
2922 * gdb.base/psymtab2.c: Ditto.
2923
c60b7188
AF
29242002-12-23 Adam Fedor <fedor@gnu.org>
2925
2926 * gdb.base/maint.exp: Update expect output to include 'ObjC'.
2927
ee73db83
DC
29282002-12-23 David Carlton <carlton@math.stanford.edu>
2929
2930 * gdb.base/selftest.exp (do_steps_and_nexts): Allow initial brace
2931 and current_directory initialization.
2932
d6c1774e
JB
29332002-12-22 Jim Blandy <jimb@redhat.com>
2934
f0a847b8
JB
2935 * gdb.trace/tfind.exp: Pass '-O1' flag via the 'optimize' option,
2936 rather than as part of the output file name.
2937
d6c1774e
JB
2938 * gdb.base/attach.exp: There's no need to copy the test program to
2939 /tmp; that was only ever necessary on HP/UX, and this test is
2940 entirely disabled there anyway.
2941
f0708dbb
JB
29422002-12-21 Jim Blandy <jimb@redhat.com>
2943
4c2acfea
JB
2944 * gdb.c++/psmang.exp: Doc fix.
2945
f0708dbb
JB
2946 * gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: New
2947 test.
2948
9579e000
DC
29492002-12-20 David Carlton <carlton@math.stanford.edu>
2950
2951 * gdb.c++/annota2.exp: KFAIL annotate-quit.
2952
d1810171
MC
29532002-12-18 Michael Chastain <mec@shout.net>
2954
2955 * gdb.c++/annota2.exp: Add copyright year 2002.
2956
76565097
DC
29572002-12-17 David Carlton <carlton@math.stanford.edu>
2958
2959 * gdb.c++/try_catch.cc: Add marker comments.
2960 * gdb.c++/try_catch.exp: Get line numbers from marker comments.
2961 * gdb.c++/m-data.cc: Delete namespace __gnu_test.
2962 * gdb.c++/m-static.cc: Ditto.
2963 * gdb.c++/m-static1.cc: Ditto.
2964 * gdb.c++/try_catch.cc: Ditto.
2965
da81390b
JJ
29662002-12-16 Jeff Johnston <jjohnstn@redhat.com>
2967
2968 * lib/mi-support.exp (mi_reinitialize_dir): Check mi level
2969 to see whether we are using the new -environment-directory
2970 command which resets via -r or the old version of the command
2971 which may prompt the user. Part of fix for gdb/741.
2972
b304d130
AC
29732002-12-13 Andrew Cagney <ac131313@redhat.com>
2974
2975 * gdb.fortran/types.exp: Update obsolete comment.
2976 * gdb.fortran/exprs.exp: Ditto.
2977 * lib/gdb.exp: Delete obsolete code.
2978 * gdb.chill/ChangeLog, gdb.chill/Makefile.in: Delete.
2979 * gdb.chill/builtins.ch, gdb.chill/builtins.exp: Delete.
2980 * gdb.chill/callch.ch, gdb.chill/callch.exp: Delete.
2981 * gdb.chill/chexp.exp, gdb.chill/chillvars.ch: Delete.
2982 * gdb.chill/chillvars.exp, gdb.chill/configure: Delete.
2983 * gdb.chill/configure.in, gdb.chill/enum.ch: Delete.
2984 * gdb.chill/enum.exp, gdb.chill/func1.ch: Delete.
2985 * gdb.chill/gch1041.ch, gdb.chill/gch1041.exp: Delete.
2986 * gdb.chill/gch1272.ch, gdb.chill/gch1272.exp: Delete.
2987 * gdb.chill/gch1280.ch, gdb.chill/gch1280.exp: Delete.
2988 * gdb.chill/gch922.ch, gdb.chill/gch922.exp: Delete.
2989 * gdb.chill/gch981.ch, gdb.chill/gch981.exp: Delete.
2990 * gdb.chill/misc.ch, gdb.chill/misc.exp: Delete.
2991 * gdb.chill/powerset.ch, gdb.chill/powerset.exp: Delete.
2992 * gdb.chill/pr-4975-grt.ch, gdb.chill/pr-4975.ch: Delete.
2993 * gdb.chill/pr-4975.exp, gdb.chill/pr-5016.ch: Delete.
2994 * gdb.chill/pr-5016.exp, gdb.chill/pr-5020.ch: Delete.
2995 * gdb.chill/pr-5020.exp, gdb.chill/pr-5022.ch: Delete.
2996 * gdb.chill/pr-5022.exp, gdb.chill/pr-5646-grt.ch: Delete.
2997 * gdb.chill/pr-5646.ch, gdb.chill/pr-5646.exp: Delete.
2998 * gdb.chill/pr-5984.ch, gdb.chill/pr-5984.exp: Delete.
2999 * gdb.chill/pr-6292.ch, gdb.chill/pr-6292.exp: Delete.
3000 * gdb.chill/pr-6632-grt.ch, gdb.chill/pr-6632.ch: Delete.
3001 * gdb.chill/pr-6632.exp, gdb.chill/pr-8134.exp: Delete.
3002 * gdb.chill/pr-8136.ch, gdb.chill/pr-8136.exp: Delete.
3003 * gdb.chill/pr-8405.ch, gdb.chill/pr-8405.exp: Delete.
3004 * gdb.chill/pr-8742.ch, gdb.chill/pr-8742.exp: Delete.
3005 * gdb.chill/pr-8894-grt.ch, gdb.chill/pr-8894.ch: Delete.
3006 * gdb.chill/pr-8894.exp, gdb.chill/pr-9095.ch: Delete.
3007 * gdb.chill/pr-9095.exp, gdb.chill/pr-9946.ch: Delete.
3008 * gdb.chill/pr-9946.exp, gdb.chill/result.ch: Delete.
3009 * gdb.chill/result.exp, gdb.chill/string.ch: Delete.
3010 * gdb.chill/string.exp, gdb.chill/tests1.ch: Delete.
3011 * gdb.chill/tests1.exp, gdb.chill/tests2.ch: Delete.
3012 * gdb.chill/tests2.exp, gdb.chill/tuples.ch: Delete.
3013 * gdb.chill/tuples.exp, gdb.chill/xstruct-grt.ch: Delete.
3014 * gdb.chill/xstruct.ch, gdb.chill/xstruct.exp: Delete.
3015
a23b6e6a
DC
30162002-12-11 David Carlton <carlton@math.stanford.edu>
3017
3018 * gdb.c++/m-data.exp: Add test for members that shadow global
3019 variables: see PR gdb/804.
3020 * gdb.c++/m-data.cc: Ditto.
3021
6604731b
DJ
30222002-12-10 Daniel Jacobowitz <drow@mvista.com>
3023
3024 * gdb.base/foll-vfork.exp: Re-enable test on HP/UX.
3025
de46ecd7
DC
30262002-12-06 David Carlton <carlton@math.stanford.edu>
3027
3028 * gdb.base/store.c: Don't declare functions static.
3029
27e829d0
AC
30302002-12-04 Andrew Cagney <ac131313@redhat.com>
3031
3032 * gdb.base/store.exp, gdb.base/store.c: New files.
3033
92806416
DJ
30342002-12-03 Daniel Jacobowitz <drow@mvista.com>
3035
3036 * gdb.base/selftest.exp: Update for current gdb.
3037
3bcbaac5
DJ
30382002-12-03 Daniel Jacobowitz <drow@mvista.com>
3039
3040 * gdb.base/maint.exp: Only dump symbols from one source file
3041 or objfile.
3042
f4f00b1f
DJ
30432002-12-03 Daniel Jacobowitz <drow@mvista.com>
3044
3045 * gdb.base/step-test.exp: Allow MIPS to return to the line of a
3046 function call.
3047
f1c8a949
JB
30482002-11-25 Jim Blandy <jimb@redhat.com>
3049
3050 * lib/mi-support.exp (mi_delete_breakpoints): Change name of
3051 function appearing in error message.
3052
9e297a97
DJ
30532002-11-21 Daniel Jacobowitz <drow@mvista.com>
3054
3055 * gdb.base/maint.exp (help maint dump-me): Update with typo fix.
3056
1f312e79
JJ
30572002-11-08 Jeff Johnston <jjohnstn@redhat.com>
3058
d63a86f8
RM
3059 * lib/mi-support.exp (mi_gdb_start): Verify the startup message
3060 for mi1 and current mi is in correct format. New mi startup message
1f312e79
JJ
3061 should be in mi console format. This is part of fix for PR gdb/604.
3062
83c31e7d
FN
30632002-09-18 Fernando Nasser <fnasser@redhat.com>
3064
3065 * gdb.asm/asm-source.exp: Adjust patter to new disassembler routine
3066 which explicitly prints the zero offset as "+0".
3067
322b3f65
DJ
30682002-10-22 Daniel Jacobowitz <drow@mvista.com>
3069
3070 * gdb.threads/schedlock.c (args): Make unsigned.
3071
30722002-10-21 Daniel Jacobowitz <drow@mvista.com>
3073
3074 * gdb.asm/asm-source.exp: Add "mips*-*" pattern. Update line
3075 numbers. Allow "foo2|selected stack frame".
3076 * gdb.asm/asmsrc1.s: Use gdbasm_declare and gdbasm_end.
3077 * gdb.asm/asmsrc2.s: Likewise.
3078 * gdb.asm/common.inc: Define gdbasm_declare and gdbasm_end. Update
3079 comments.
3080 * gdb.asm/mips.inc: New file.
3081
5e2fe5b8
AF
30822002-10-18 Adam Fedor <fedor@gnu.org>
3083
3084 * gdb.base/default.exp: Update expected output to include 'ObjC'.
3085 * gdb.base/help.exp: Likewise.
3086
abe1a5d0
KB
30872002-10-17 Kevin Buettner <kevinb@redhat.com>
3088
3089 * gdb.base/constvars.c (struct crass, struct crisp): New structs.
3090 * gdb.base/constvars.exp (ptype crass, ptype crisp): New tests.
3091
10abb1d4
JB
30922002-10-02 Jim Blandy <jimb@redhat.com>
3093
3094 * gdb.c++/casts.cc, gdb.c++/casts.exp: New test.
3095
1f609b42
AC
30962002-10-01 Andrew Cagney <ac131313@redhat.com>
3097
3098 * mi1-basics.exp: Copy of mi1-basics.exp MIFLAGS set "-i=mi1".
3099 * mi1-break.exp, mi1-console.exp, mi1-disassemble.exp: Ditto.
3100 * mi1-eval.exp, mi1-hack-cli.exp, mi1-pthreads.exp: Ditto.
3101 * mi1-read-memory.exp, mi1-regs.exp, mi1-return.exp: Ditto.
3102 * mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp: Ditto.
3103 * mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp: Ditto.
3104 * mi1-var-cmd.exp, mi1-var-display.exp, mi1-watch.exp: Ditto.
3105
0aee02e4
AC
31062002-09-29 Andrew Cagney <ac131313@redhat.com>
3107
3108 * mi0-basics.exp, mi0-break.exp, mi0-console.exp: Delete.
3109 * mi0-disassemble.exp, mi0-eval.exp: Delete.
3110 * mi0-hack-cli.exp, mi0-read-memory.exp: Delete.
3111 * mi0-regs.exp, mi0-return.exp, mi0-simplerun.exp: Delete.
3112 * mi0-stack.exp, mi0-stepi.exp, mi0-until.exp: Delete.
3113 * mi0-var-block.exp, mi0-var-child.exp: Delete.
3114 * mi0-var-cmd.exp, mi0-var-display.exp, mi0-watch.exp: Delete.
d63a86f8 3115
6fde09ad
KB
31162002-09-27 Kevin Buettner <kevinb@redhat.com>
3117
3118 * gdb.base/annota1.exp (info break): Make directory components of
3119 path optional since not all compilers emit this debug information.
3120
3121 * gdb.base/shlib-call.exp (step inside shr2): Don't fail if first
3122 step ends up stepping out of the function instead of stopping on
3123 the epilogue.
3124
9e8aab75
KS
31252002-09-26 Keith Seitz <keiths@redhat.com>
3126
3127 * lib/insight-support.exp (gdbtk_start): Figure out where
3128 the insight executable is based on where gdb is. Use this
3129 executable to start insight instead of gdb.
3130
e36180d7
AC
31312002-09-25 Andrew Cagney <cagney@redhat.com>
3132
3133 * gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
3134
9dd34b2b
AC
31352002-09-24 Andrew Cagney <ac131313@redhat.com>
3136
3137 * gdb.gdb/complaints.exp (test_initial_complaints): Rename
3138 test_isolated_complaints.
3139 (test_empty_complaint): New function.
3140 (test_empty_complaints): New function. Check no output when no
3141 complaints.
d63a86f8 3142
dea97812
KB
31432002-09-19 Jim Blandy <jimb@redhat.com>
3144
3145 * gdb.base/charset.exp, gdb.base/charset.c: New files.
3146
54951bd7
AC
31472002-09-19 Andrew Cagney <ac131313@redhat.com>
3148
3149 * gdb.gdb/complaints.exp: New file.
3150
dec43320
AC
31512002-09-18 Andrew Cagney <ac131313@redhat.com>
3152
3153 * gdb.base/maint.exp: Check `help maint internal-warning'.
3154
e70d6e3f
DC
31552002-09-18 David Carlton <carlton@math.stanford.edu>
3156
3157 * gdb.c++/m-static.exp: Remove breakpoints depending on line
3158 numbers, and replace them by a single breakpoint after the
3159 constructors are all finished.
3160 Add test 4.
3161 * gdb.c++/m-static.cc: Add test 4.
3162 * gdb.c++/m-static.h: New file.
3163 * gdb.c++/m-static1.cc: New file.
3164
3165 * gdb.c++/printmethod.exp: New file.
3166 * gdb.c++/printmethod.cc: New file.
3167
3168 * gdb.c++/pr-574.exp: New file.
3169 * gdb.c++/pr-574.cc: New file.
3170
afb5c968
CV
31712002-09-18 Corinna Vinschen <vinschen@redhat.com>
3172
3173 * gdb.base/ending-run.exp: Add handling of "step to end of run" for
3174 embedded targets which never actually exit.
3175
31e45dee
FN
31762002-09-18 Fernando Nasser <fnasser@redhat.com>
3177
3178 * gdb.base/ending-run.exp: Properly mark "continue after exit" and
3179 "don't step after run" as unresolved or unsupported, instead of xfail.
3180
a283c5a1
CV
31812002-09-18 Corinna Vinschen <vinschen@redhat.com>
3182
3183 * gdb.base/ending-run.exp: Fix expected string for _wrap_main to
3184 allow correct handling of #ifdef UNDERSCORES from dejagnu/testglue.c.
3185 Add newline to expected string in "step out of main (status wrapper)"
3186 case.
3187
11350d2a
CV
31882002-09-18 Corinna Vinschen <vinschen@redhat.com>
3189
3190 * lib/gdb.exp (rerun_to_main): Allow restarting application.
3191 * gdb.base/ena-dis-br.exp (rerun_to_main): Eliminate.
3192
0deec7d6
TT
31932002-09-17 Tom Tromey <tromey@redhat.com>
3194
3195 * gdb.base/printcmds.exp (test_print_string_constants): Expect
3196 \000, not \0, in double-quoted string.
3197
b2b4a1b5
CV
31982002-09-14 Corinna Vinschen <vinschen@redhat.com>
3199
c9d37158 3200 * gdb.base/commands.exp: Don't expect a "Program exited normally"
b2b4a1b5
CV
3201 string after running the commands execution on breakpoint tests.
3202
1c56143a
CV
32032002-09-13 Corinna Vinschen <vinschen@redhat.com>
3204
3205 * lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.
3206
37f8da45
JB
32072002-09-12 Joel Brobecker <brobecker@gnat.com>
3208
3209 * gdb.base/call-strs.exp: Fix a small typo in one of the comments.
3210
08b468e0
KS
32112002-09-10 Keith Seitz <keiths@redhat.com>
3212
3213 * lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
3214 runto proc.
3215 (mi_run_to_main): Use mi_runto.
3216 (mi_execute_to): Renamed from mi_run_to. Changed all callers.
3217
dc360f58
KS
32182002-09-10 Keith Seitz <keiths@redhat.com>
3219
3220 * lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
3221 regexp for stopping at main. Could have multiple event notifications.
3222 Don't assume that main was declared with no parameters.
3223 (mi_next): Use mi_step_to.
3224 (mi_step): Use mi_next_to.
3225
ce3abcfb
CV
32262002-09-09 Corinna Vinschen <vinschen@redhat.com>
3227
3228 * gdb.base/default.exp: Fix expected string in `info float' test.
3229
d1f5b980
BE
32302002-09-09 Ben Elliston <bje@redhat.com>
3231
3232 * config/mips.exp: Update comments.
3233 * config/mips-idt.exp: Likewise.
3234 * config/nind.exp: Likewise.
3235 * config/slite.exp: Likewise.
3236 * config/sparclet.exp: Likewise.
3237 * config/udi.exp: Likewise.
3238 * config/vx.exp: Likewise.
3239 * config/vxworks29k.exp: Likewise.
3240
2f71430b
JB
32412002-09-05 Jim Blandy <jimb@redhat.com>
3242
3243 * gdb.threads/killed.exp: Fix test failure message.
3244
7ddebc7e
KS
32452002-09-04 Keith Seitz <keiths@redhat.com>
3246
3247 * lib/mi-support.exp: Update copyright.
3248 (mi_gdb_test): Increase the priority of the expected pattern
3249 so that it matches gdb_test.
3250
0ae67eb3
KS
32512002-09-03 Keith Seitz <keiths@redhat.com>
3252
3253 * lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
3254 Use integer comparison instead of string comparison for testing
3255 whether binary was built.
3256
38fc42c8
JB
32572002-09-03 Jim Blandy <jimb@redhat.com>
3258
3259 * gdb.threads/killed.exp, gdb.threads/killed.c: New test.
3260
b6ff0e81
JB
32612002-08-29 Jim Blandy <jimb@redhat.com>
3262
3263 * gdb.threads/pthreads.exp: Move the portable thread compilation
3264 code into a function in lib/gdb.exp, and call that from here.
3265 * lib/gdb.exp (gdb_compile_pthreads): New function.
3266
07c98896
KS
32672002-08-29 Keith Seitz <keiths@redhat.com>
3268
3269 * lib/mi-support.exp (mi_gdb_test): Add global declaration for
3270 expect_out so that callers can get at it.
3271
0312286c
DJ
32722002-08-23 Daniel Jacobowitz <drow@mvista.com>
3273
3274 * gdb.threads/print-threads.c: New file.
3275 * gdb.threads/print-threads.exp: New file.
3276 * gdb.threads/schedlock.c: New file.
3277 * gdb.threads/schedlock.exp: New file.
3278
dd039bc4
EZ
32792002-08-22 Elena Zannoni <ezannoni@redhat.com>
3280
3281 * gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
3282 not altivec.c.
3283
1f36144c
MK
32842002-08-17 Mark Kettenis <kettenis@gnu.org>
3285
3286 * gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
3287 targets. The problem should be fixed now.
3288
16057ec7 32892002-08-15 Mark Kettenis <kettenis@gnu.org>
5415e7c5
MK
3290
3291 * gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
3292 2002-07-24 change that removes final dots from error messages.
3293
3c1499ad
TT
32942002-08-13 Tom Tromey <tromey@redhat.com>
3295
3296 * gdb.base/readline.exp: New file.
3297
a20ce2c3
AC
32982002-08-01 Andrew Cagney <ac131313@redhat.com>
3299
3300 * lib/gdb.exp (gdb_expect_list): Only print one pass, fail, or
3301 supress message.
3302
db034ac5
AC
33032002-08-01 Andrew Cagney <cagney@redhat.com>
3304
3305 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL,
3306 CHILL_FOR_TARGET and CHILL_LIB.
3307 * configure.in (configdirs): Remove gdb.chill.
3308 * configure: Regenerate.
3309 * lib/gdb.exp: Obsolete references to chill.
3310 * gdb.fortran/types.exp: Ditto.
3311 * gdb.fortran/exprs.exp: Ditto.
3312
3e000b18
KB
33132002-07-30 Kevin Buettner <kevinb@redhat.com>
3314
3315 * gdb.base/shlib-call.exp (additional_flags): Conditionally
3316 set Irix-specific compile and link flags.
3317
28f4966b
KB
33182002-07-29 Kevin Buettner <kevinb@redhat.com>
3319
3320 * lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
3321 source files. The ``-o'' option doesn't work with the ``-E'' option
3322 when using the Irix compiler.
3323
46c0d5a6
DJ
33242002-07-19 Daniel Jacobowitz <drow@mvista.com>
3325
3326 * config/gdbserver.exp (gdb_load): Don't use TCL varargs.
3327 Improve support for reusing an exec file. Copy exec file
3328 to target, and run gdbserver on the target instead of on the host.
3329
eecf4bed
JB
33302002-07-18 Jim Blandy <jimb@redhat.com>
3331
0f815cdf
JB
3332 * gdb.base/ending-run.exp: Don't expect to see the program end in
3333 some orderly fashion when we're running on a real stand-alone
3334 board.
3335
eecf4bed
JB
3336 * gdb.base/interrupt.exp: Correct logic for skipping tests on
3337 targets that don't support interrupts.
3338
52d309e4
JB
33392002-07-10 Paul N. Hilfinger <hilfingr@otisco.mckusick.com>
3340
3341 * gdb.base/attach.exp: Add patterns to match output from /proc-based
3342 systems.
3343 Move comments in expect statements to inside the actions, so that they
3344 don't get matched against.
3345
ff683d9e
MK
33462002-07-10 Mark Kettenis <kettenis@gnu.org>
3347
3348 * gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
3349 function when asleep" test.
3350
b5356753
AC
33512002-07-10 Andrew Cagney <ac131313@redhat.com>
3352
3353 * gdb.base/page.exp: Rewrite to handle problems with very long
3354 `info set' output. Update copyright.
3355
6aa4d13a
AC
33562002-06-26 Andrew Cagney <ac131313@redhat.com>
3357
3358 * gdb.hp/configure.in (AC_CONFIG_SUBDIRS): Do not try to configure
3359 gdb.threads-hp.
3360 * gdb.hp/configure: Regenerate.
3361 * gdb.hp/gdb.threads-hp/configure.in: Delete file.
3362 * gdb.hp/gdb.threads-hp/configure: Delete file.
3363 * gdb.hp/gdb.threads-hp/Makefile.in: Delete file.
3364
8cf8c2b8
AC
33652002-06-22 Andrew Cagney <ac131313@redhat.com>
3366
3367 * gdb.base/selftest.exp (do_stes_and_next): Skip calls to
3368 setlocale, bindtextdomain and textdomain.
3369
6827a8f8
JB
33702002-06-11 Jim Blandy <jimb@redhat.com>
3371
919d772c
JB
3372 * lib/gdb.exp (get_debug_format): Tolerate message saying whether
3373 preprocessor macro information is present.
3374
6827a8f8
JB
3375 * macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: New
3376 tests.
3377
c15b0d21
MS
33782002-06-06 Michael Snyder <msnyder@redhat.com>
3379
c5984d70
MS
3380 * gdb.base/overlays.exp: Record addresses of overlay
3381 functions in TCL variables rather than in GDB variables,
3382 to avoid having GDB convert them to pointers (with loss
3383 of information).
3384
d63a86f8 3385 * gdb.base/d10v.ld: Merge in several years worth of
99a8512b 3386 default linker script changes.
c15b0d21
MS
3387 * gdb.base/long_long.exp: Add check for sizeof (long double).
3388
be26fe0d
ML
33892002-06-06 Michal Ludvig <mludvig@suse.cz>
3390
3391 * gdb.asm/asm-source.exp: Add x86-64 target.
3392 * gdb.asm/x86_64.inc: New.
d63a86f8 3393
258093ca 33942002-05-30 Michael Chastain <mec@shout.net>
258093ca 3395
4b3153f1 3396 From Benjamin Kosnik <bkoz@redhat.com>:
258093ca
MC
3397 * gdb.c++/m-static.cc: New file.
3398 * gdb.c++/m-static.exp: New file.
3399
241264c6
MS
34002002-05-28 Michael Snyder <msnyder@redhat.com>
3401
3402 * gdb.base/call-ar-st.exp: Allow for reduced floating point
3403 precision.
3404
9bba8c8f 34052002-05-27 Michael Chastain <mec@shout.net>
71ea1be0 3406
4b3153f1 3407 From Benjamin Kosnik <bkoz@redhat.com>:
71ea1be0
MC
3408 * gdb.c++/m-data.cc: New file.
3409 * gdb.c++/m-data.exp: New file.
3410
34112002-05-27 Michael Chastain <mec@shout.net>
9bba8c8f 3412
4b3153f1 3413 From Benjamin Kosnik <bkoz@redhat.com>:
9bba8c8f 3414 * gdb.c++/try_catch.cc: New file.
d63a86f8 3415 * gdb.c++/try_catch.exp: New file.
9bba8c8f 3416
def1b996
MC
34172002-05-27 Michael Chastain <mec@shout.net>
3418
3419 * gdb.c++/local.exp: Accept more nested types in output.
3420
522ba268
MC
34212002-05-26 Michael Chastain <mec@shout.net>
3422
3423 * gdb.base/call-rt-st.exp: Fix typo in brace quoting.
3424
277254ba
MS
34252002-05-15 Nick Clifton <nickc@cambridge.redhat.com>
3426
3427 * lib/gdb.exp (gdb_wrapper_init): Just because
3428 gdb_wrapper_file exists, this does not mean that the file
3429 should not be rebuilt. That is what gdb_wrapper_initialized
3430 is for.
3431 (default_gdb_init): Reset gdb_wrapper_initialized.
3432
b61a8733
MS
34332002-05-23 Michael Snyder <msnyder@redhat.com>
3434
d63a86f8 3435 * gdb.base/all-bin.exp: Revise previous patch by just reducing
5bdb6d01
MS
3436 the precision of the floating point test results.
3437 * gdb.base/call-rt-st.exp: Ditto.
3438
b61a8733
MS
3439 * gdb.base/all-bin.exp: Allow for reduced floating point precision.
3440 * gdb.base/call-rt-st.exp: Ditto.
3441
56f6e910
MC
34422002-05-19 Michael Chastain <mec@shout.net>
3443
3444 * gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
3445
ad0b0016
EZ
34462002-05-19 Elena Zannoni <ezannoni@redhat.com>
3447
3448 * configure.in (configdirs): Add gdb.arch.
3449 * configure: Regenerate.
3450
f617d2b6
JB
34512002-05-17 Jim Blandy <jimb@redhat.com>
3452
3453 * gdb.base/completion.exp: Recognize the more detailed error
3454 messages produced by the macro expander's lexical analyzer.
3455
eac2a696
EZ
34562002-05-14 Elena Zannoni <ezannoni@redhat.com>
3457
3458 * gdb.arch/altivec-abi.c: New file.
3459 * gdb.arch/altivec-abi.exp: New file.
3460 * gdb.arch/altivec-regs.c: New file.
3461 * gdb.arch/altivec-regs.exp: New file.
3462
2fdde8f8
DJ
34632002-05-14 Daniel Jacobowitz <drow@mvista.com>
3464
3465 * gdb.base/maint.exp (maint print type): Update for new type
3466 structure.
d63a86f8 3467
e31f1a7c
EZ
34682002-05-14 Elena Zannoni <ezannoni@redhat.com>
3469
3470 * gdb.arch: New directory.
3471 * gdb.arch/configure.in: New file.
3472 * gdb.arch/configure: New file.
3473 * gdb.arch/Makefile.in: New file.
3474
db589741
CV
34752002-05-13 Corinna Vinschen <vinschen@redhat.com>
3476
3477 * gdb.asm/asm-source.exp: Add v850 as supported target.
3478 * gdb.asm/v850.inc: New file.
3479
8ce2a7dc
DJ
34802002-05-13 Daniel Jacobowitz <drow@mvista.com>
3481
3482 * gdb.c++/annota2.exp (annotate-quit): Add comment.
3483
df763c7f
DJ
34842002-05-12 Daniel Jacobowitz <drow@mvista.com>
3485
3486 * gdb.base/break.exp: Check 'break "marker2"'.
3487
377daeed
MS
34882002-05-10 Michael Snyder <msnyder@redhat.com>
3489
3490 * gdb.base/long_long.exp: Fix typo.
3491
c4b7bc2b
JB
34922002-05-10 Jim Blandy <jimb@redhat.com>
3493
ecac9a4e
JB
3494 * gdb.base/printcmds.exp: Don't xfail the ptype command. This is
3495 a bug.
3496
c4b7bc2b
JB
3497 * gdb.base/printcmds.exp (test_integer_literals_rejected):
3498 Recognize more detailed error message produced by the macro
3499 expander's lexical analyzer.
3500 * lib/gdb.exp (test_print_reject): Same.
3501
e71019a1
MK
35022002-05-09 Mark Kettenis <kettenis@gnu.org>
3503
3504 * gdb.c++/method.exp: Fix typo.
3505
fedfc8e6
MS
35062002-05-08 Michael Snyder <msnyder@redhat.com>
3507
166a1957
MS
3508 * gdb.mi/mi-var-child.exp: Accept (void) as well as ().
3509 * gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
fedfc8e6 3510 * gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
35928259
MS
3511 * gdb.base/long_long.exp: Merge clauses for arm and xscale.
3512 Add iftarget clause for strongarm.
d63a86f8 3513
f1c47eb2
MS
35142002-05-06 Michael Snyder <msnyder@redhat.com>
3515
cb9a9d3e
MS
3516 * lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
3517 (gdb_continue_to_end): Accept output from status wrapper.
3518 * gdb.base/ending-run.exp: Add case for output from status wrapper.
3519 Clean up fail messages to match pass messages.
3520
f1c47eb2
MS
3521 Enable the "needs_status_wrapper" testsuite feature.
3522 * lib/gdb.exp (gdb_wrapper_init): New procedure.
3523 (gdb_compile): Conditionally call gdb_wrapper_init.
3524 * gdb.base/a2-run.exp: Recognize output from status wrapper.
3525 * gdb.c++/method.exp: Recognize output from status wrapper.
3526
6079c749
BE
35272002-05-06 Ben Elliston <bje@redhat.com>
3528From Graydon Hoare <graydon@redhat.com>
3529
3530 * config/sid.exp: Include support for "rawsid" protocol.
3531
188baff3
JB
35322002-05-03 Jim Blandy <jimb@redhat.com>
3533
3534 * gdb.c++/hang.exp: Check for corruption of the cv_type chain.
3535 * gdb.c++/hang3.C: New file.
3536
b9c07f0f
AC
35372002-05-04 Andrew Cagney <ac131313@redhat.com>
3538
3539 * gdb.base/default.exp: Remove obsolete code.
3540 * gdb.c++/misc.exp: Ditto. Update copyright.
3541 * gdb.c++/cplusfuncs.exp: Ditto. Update copyright.
3542 * gdb.base/whatis.exp: Ditto. Update copyright.
3543 * gdb.base/scope.exp: Ditto. Update copyright.
3544 * gdb.base/ptype.exp: Ditto. Update copyright.
3545 * gdb.base/printcmds.exp: Ditto. Update copyright.
3546 * gdb.base/opaque.exp: Ditto. Update copyright.
3547 * gdb.base/list.exp: Ditto.
3548 * gdb.base/funcargs.exp: Ditto. Update copyright.
3549 * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
3550 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
3551 * gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
3552 * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
3553 * gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
3554 * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
3555
5c7a0397
MS
35562002-05-02 Michael Snyder <msnyder@redhat.com>
3557
d6dcc264 3558 * gdb.base/watchpoint.exp: Add xscale target.
5c7a0397
MS
3559 * gdb.base/long_long.exp: Add xscale target.
3560 * gdb.base/default.exp: Add xscale target.
3561
eb7f1c48
JB
35622002-05-01 Jim Blandy <jimb@redhat.com>
3563
3564 * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
3565 gdb.c++/hang.exp: New test.
3566
a6befae8
FF
35672002-05-01 Fred Fish <fnf@redhat.com>
3568
3569 * gdb.base/completion.exp: Handle completions of "./Make" for
3570 more than one completion possibility, as is the case when we
3571 build and test in the source tree.
3572
0a310277
AG
35732002-04-29 Anthony Green <green@redhat.com>
3574
3575 * gdb.java/jmisc1.exp: New file.
3576 * gdb.java/jmisc2.exp: New file.
3577
6ff9af88
DJ
35782002-04-24 Daniel Jacobowitz <drow@mvista.com>
3579
3580 * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
3581
96b3d632
EZ
35822002-04-23 Elena Zannoni <ezannoni@redhat.com>
3583
3584 * gdb.base/help.exp: Change 'help status' to allow for target
3585 dependent output differences.
3586
5019bb54
MC
35872002-04-22 Michael Chastain <mec@shout.net>
3588
3589 * gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
3590
a805a116
MC
35912002-04-22 Michael Chastain <mec@shout.net>
3592
3593 * gdb.c++/method.exp: Fix syntax of reference to gdb/277.
3594
a1706bfd
DM
35952002-04-17 David S. Miller <davem@redhat.com>
3596
3597 * gdb.asm/sparc64.inc: New file.
3598 * gdb.asm/asm-source.exp: Handle sparc64-*-*.
3599
a73a20a2
EZ
36002002-04-19 Elena Zannoni <ezannoni@redhat.com>
3601
3602 * gdb.asm/asm-source.exp: Don't use a symlink, just copy the
3603 instruction file directly into the build tree. Clean up at end of
3604 test.
3605
ba678339
DM
36062002-04-18 David S. Miller <davem@redhat.com>
3607
3608 * gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
3609 handle 64-bit platforms correctly.
3610 * gdb.base/maint.exp: Likewise.
3611
b03399da
KB
36122002-04-18 Kevin Buettner <kevinb@redhat.com>
3613
3614 * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
3615 ``-fpic'' when compiling files comprising a shared library, but
3616 it does need additional linker flags in order to find shared
3617 libraries at run time.
3618
e2004992
KB
36192002-04-18 Kevin Buettner <kevinb@redhat.com>
3620
3621 * gdb.base/cvexpr.c (use): New function.
3622 (main): Invoke use() on all global variables to prevent
3623 some linkers from deleting these otherwise unused symbols.
3624
d8937120
MC
36252002-04-17 Michael Chastain <mec@shout.net>
3626From David S. Miller <davem@redhat.com>
3627
3628 * gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
3629 handle 64-bit platforms correctly.
3630
ffd61a58
MS
36312002-04-12 Michael Snyder <msnyder@redhat.com>
3632From Jim Blandy <jimb@redhat.com>
3633 * gdb.base/foo.c (foox): Remove section attribute; the linker
3634 script can handle this instead.
3635 * gdb.base/bar.c (barx): Same.
3636 * gdb.base/baz.c (bazx): Same.
3637 * gdb.base/grbx.c (grbxx): Same.
3638
3639 * gdb.base/overlays.exp: New test: check that GDB's manual overlay
3640 manager doesn't automatically unmap overlays unnecessarily.
3641
6b8426a6
MH
36422002-04-10 Martin M. Hunt <hunt@redhat.com>
3643
3644 * gdb.base/ending-run.exp: Fix pattern for Mips targets
3645 stepping out of main.
3646
34af4875
MC
36472002-04-09 Michael Chastain <mec@shout.net>
3648
3649 * gdb.c++/local.cc (main): Move call to marker1() inside nested
3650 scope so that the nested scope tests will make sense.
3651 * gdb.c++/local.exp: Write patterns that actually work with gcc
3652 (the HP patterns "were never known to work with gcc").
3653 Keep the old aCC patterns too.
3654
2d1676a0
DJ
36552002-04-09 Daniel Jacobowitz <drow@mvista.com>
3656
3657 * gdb.base/attach.exp: Correct target board test.
3658
3a63e3f9
MC
36592002-04-08 Michael Chastain <mec@shout.net>
3660
3661 * gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
3662 in a const method. Add some xfail and fail cases for configurations
3663 that do not emit the "const ...".
3664
f18dabd2
MC
36652002-04-07 Michael Chastain <mec@shout.net>
3666
3667 * gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
3668 Accept "A * const" and "const A * const" as type of "this".
3669 Fix spelling of getFunky throughout. Make messages uniform.
3670
0fcddd82
EZ
36712002-04-07 Elena Zannoni <ezannoni@redhat.com>
3672
3673 Work around for PR gdb/285:
3674 * gdb.asm/asm-source.exp: Bail out if multilibs are detected.
3675
16a8534a
EZ
36762002-04-07 Elena Zannoni <ezannoni@redhat.com>
3677
3678 * gdb.asm/asm-source.exp: Build symbolic link to arch specific
3679 instructions file at run time instead of configure time.
3680 Sometimes we run the test in a directory that is not the one we
3681 configured in.
3682 * gdb.asm/configure.in: Delete creation of symlink.
3683 * gdb.asm/configure: Regenerate.
3684
24181d81
JB
36852002-04-05 J. Brobecker <brobecker@gnat.com>
3686
3687 * gdb.gdb/xfullpath.exp: New test, to exercise the new
3688 xfullpath () function.
3689
7cdb7107
DJ
36902002-04-04 Daniel Jacobowitz <drow@mvista.com>
3691
3692 * gdb.asm/Makefile.in: Correct dependencies.
3693
3694 * gdb.asm/powerpc.inc: New file.
3695 * gdb.asm/asm-source.exp: Add PowerPC.
3696 * gdb.asm/configure.in: Likewise.
3697 * gdb.asm/configure: Regenerated.
3698
a7d17088
DJ
36992002-04-04 Daniel Jacobowitz <drow@mvista.com>
3700
3701 * gdb.base/relocate.exp: New file.
3702 * gdb.base/relocate.c: New file.
3703
cd721503
FF
37042002-04-04 Fred Fish <fnf@redhat.com>
3705
3706 * gdb.base/step-test.exp: Update comment regarding stopping in
3707 memcpy/bcopy calls inserted as part of the compiler runtime.
3708
b22ad7a7
MS
37092002-04-04 Michael Snyder <msnyder@redhat.com>
3710
3711 * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
3712
5f279fa6
DJ
37132002-04-03 Daniel Jacobowitz <drow@mvista.com>
3714
3715 * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
3716 (gdb_expect): Remove $notransfer hack.
3717
dd0fd3ce
DJ
37182002-04-02 Daniel Jacobowitz <drow@mvista.com>
3719
3720 * gdb.c++/classes.exp ("calling method for small class"): Match
3721 updated register output.
3722
1e50cda1
DJ
37232002-03-30 Daniel Jacobowitz <drow@mvista.com>
3724
3725 Fix PR gdb/452
3726 * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
3727 when finished. Make gdb_file_cmd send "exec-file" when
3728 appropriate.
3729
24015922
DJ
37302002-03-30 Daniel Jacobowitz <drow@mvista.com>
3731
3732 * gdb.base/attach.exp: Remove extra setup_xfail.
3733
dd7dfd64
MS
37342002-03-26 Michael Snyder <msnyder@redhat.com>
3735
3736 * gdb.base/default.exp: Add tests for dump, append, and restore.
3737 * gdb.base/help.exp: Add tests for dump, append, and restore.
3738 * gdb.base/dump.exp: New file, test dump, append and restore.
3739 * gdb.base/dump.c: New file.
3740
48b2f8d7
MS
37412002-03-27 Michael Snyder <msnyder@redhat.com>
3742
d63a86f8 3743 * gdb.base/help.exp: Modify expect strings to reflect
48b2f8d7
MS
3744 clean-ups in help messages.
3745
05b4d525
FF
37462002-03-26 Fred Fish <fnf@redhat.com>
3747
3748 * gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
3749 have debugging info for those functions and the compiler uses them
3750 internally to copy structs around.
3751
d7679631
FF
37522002-03-26 Fred Fish <fnf@redhat.com>
3753
3754 * gdb.base/list.exp: Revert the change made yesterday and add note
3755 about why we don't list the default lines for remote targets.
3756
523ac3f9
MS
37572002-03-25 Michael Snyder <msnyder@redhat.com>
3758
3759 * gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
3760
754b2b8d
FF
37612002-03-25 Fred Fish <fnf@redhat.com>
3762
3763 * gdb.base/list.exp: This test works on remote targets so remove
3764 the short circuit for remote targets. Update copyright.
3765
33c3e192
FF
37662002-03-25 Fred Fish <fnf@redhat.com>
3767
3768 * gdb.base/attach.exp: Fix logic error that was suppressing this
3769 test for all non hppa*-*-hpux* targets, instead of the hp target.
3770 Move comments closer to the suppression point. Also now need to
3771 check that we are running natively.
3772
d43e73ee
MS
37732002-03-22 Michael Snyder <msnyder@redhat.com>
3774
882c8f02
MS
3775 * gdb.base/default.exp: Add test for gcore. Update copyright.
3776 * gdb.base/help.exp: Add test for gcore. Update copyright.
d43e73ee 3777
04c12f60
FF
37782002-03-06 Fred Fish <fnf@redhat.com>
3779
3780 * gdb.base/funcargs.c: Remove extraneous ';' character.
3781 * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
3782
b43df995
MC
37832002-03-04 Michael Chastain <mec@shout.net>
3784
3785 * gdb.mi/mi-var-cmd.exp: In test "create local variable func",
3786 accommodate gcc v3 function signature.
3787 * gdb.mi/mi0-var-cmd-exp: Ditto.
3788
92362027
AC
37892002-02-24 Andrew Cagney <ac131313@redhat.com>
3790
3791 * testsuite/gdb.base/huge.c: Replace ``Linux'' with either
3792 ``GNU/Linux'' or ``Linux kernel''
3793 * testsuite/gdb.threads/pthreads.c: Ditto.
3794
258ad32d
MC
37952002-02-24 Michael Chastain <mec@shout.net>
3796
3797 * gdb.threads/pthreads.c (thread1): Add a return statement.
3798 (thread2): Likewise.
3799 (foo): Likewise.
3800
04c3b3d4
MC
38012002-02-23 Michael Chastain <mec@shout.net>
3802
3803 * gdb.threads/linux-dp.c (philosopher): Add a return statement
3804 to placate gcc.
3805
5a2a0a20
MC
38062002-02-23 Michael Chastain <mec@shout.net>
3807
3808 * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
3809 test "ptype bint". The test passes on all my stabs configurations.
3810
a640f7fc
JB
38112002-02-21 Jim Blandy <jimb@redhat.com>
3812
27924826
JB
3813 * gdb.asm/asm-source.exp: Parse the output from `info sources' one
3814 filename at a time, and watch for the ones we want to see.
3815
a640f7fc
JB
3816 * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
3817 types of pointers to prototyped functions.
3818
edcc8c75
AC
38192002-02-20 Andrew Cagney <ac131313@redhat.com>
3820
3821 * gdb.base/sizeof.c (main): Call fill_structs. Print value of
3822 signed, unsigned and straight char.
3823 (padding_char, padding_short, padding_int, padding_long,
3824 padding_long_long, padding_float, padding_double,
3825 padding_long_double): New global variables.
3826 (fill, fill_structs): New functions.
3827
3828 * gdb.base/sizeof.exp: Check for signed and unsigned char. Check
3829 for correctly sized writes. Update copyright.
3830 (get_valueof): New procedure.
3831 (get_sizeof): Call get_valueof.
3832 (check_valueof): New procedure.
3833 (check_padding): New procedure.
3834
ac57ea44
MC
38352002-02-20 Michael Chastain <mec@shout.net>
3836
3837 * gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
3838 to setup_xfail. Document some of the remaining calls.
3839
7a10c941
MC
38402002-02-18 Michael Chastain <mec@shout.net>
3841
3842 * gdb.c++/userdef.exp: Update copyright year.
3843
fb8acdcc
DJ
38442002-02-18 Daniel Jacobowitz <drow@mvista.com>
3845
3846 * gdb.c++/userdef.exp: Test overloaded operators properly.
3847 Remove xfails.
3848
fda6ae12
MS
38492002-02-14 Michael Snyder <msnyder@redhat.com>
3850
3851 * gdb.base/gcore.exp: Relax recognition of function breakpoint.
3852
676a0442
DJ
38532002-02-14 Daniel Jacobowitz <drow@mvista.com>
3854
3855 * gdb.base/a2-run.exp: Check for a remote target properly.
3856 * gdb.base/annota1.exp: Likewise.
3857 * gdb.base/list.exp: Likewise.
3858 * gdb.base/reread.exp: Likewise.
3859 * gdb.base/scope.exp: Likewise.
3860 * gdb.base/shlib-call.exp: Likewise.
3861 * gdb.base/term.exp: Likewise.
3862 * gdb.c++/annota2.exp: Likewise.
3863
78b4f468
RE
38642002-02-13 Richard Earnshaw <rearnsha@arm.com>
3865
3866 * gdb.base/watchpoint.exp: Restore previous timeout at end of test.
3867
9a81ba51
MC
38682002-02-10 Michael Chastain <mec@shout.net>
3869
3870 * gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
3871 (call_after_alloca): Ditto.
3872
004af6c7
DJ
38732002-02-10 Daniel Jacobowitz <drow@mvista.com>
3874
3875 * gdb.base/ending-run.exp: Guard "cont" test with
3876 gdb_skip_stdio_test.
3877
37225f62
JB
38782002-02-06 Jim Blandy <jimb@redhat.com>
3879
3880 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
3881 from here...
3882 * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
3883 To here. Disable this test on non-HP platforms. Add big comment.
3884
fe6fdd96
MS
38852002-02-04 Michael Snyder <msnyder@redhat.com>
3886
3887 * gdb.base/ovlymgr.c (ovly_copy): Generalize for targets
3888 other than d10v and m32r.
3889
036fad3f
RE
38902002-02-02 Richard Earnshaw <rearnsha@arm.com>
3891
3892 * gdb.base/default.exp: Rewrite test patterns to reduce time
3893 taken to match them.
3894
7148ab62
DJ
38952002-01-30 Daniel Jacobowitz <drow@mvista.com>
3896
3897 * gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
3898 Allow a start function above main.
3899 * gdb.threads/linux-dp.exp: Fix copyright date.
3900
396cc255
DJ
39012002-01-30 Daniel Jacobowitz <drow@mvista.com>
3902
3903 * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
3904 (check_philosopher_stack): Check for manager thread before checking
3905 for a just-starting thread.
3906
f038d31b
DJ
39072002-01-30 Daniel Jacobowitz <drow@mvista.com>
3908
3909 From Neil Booth <neil@daikokuya.demon.co.uk>:
3910 * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
3911 warnings.
3912
b3ff9d9a
FF
39132002-01-21 Fred Fish <fnf@redhat.com>
3914
3915 * gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
3916 not caller.
3917
39ad761d
JB
39182002-01-21 Jim Blandy <jimb@redhat.com>
3919
3920 * gdb.base/reread.exp: Check that GDB properly re-reads the
3921 executable file when it changes while no inferior is running.
3922
aaf320fa
FF
39232002-01-21 Fred Fish <fnf@redhat.com>
3924
3925 * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
3926 optionally accept the "shlib events" variation.
3927
808a31f5
JB
39282002-01-21 Jim Blandy <jimb@redhat.com>
3929
3930 * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
3931 call `fflush' after every `printf', so that the output is produced
3932 at predictable points, regardless of whatever buffering does (or
3933 doesn't) take place.
3934 * gdb.base/ending-run.exp: Adjust tests to expect output to appear
3935 at different points.
3936
4420d5e2
DJ
39372002-01-20 Daniel Jacobowitz <drow@mvista.com>
3938
3939 * gdb.c++/inherit.exp: Update copyright years.
3940 * gdb.c++/method.exp: Likewise.
3941
3e36a0f4
DJ
39422002-01-20 Daniel Jacobowitz <drow@mvista.com>
3943
3944 * gdb.c++/classes.exp: Update for improved v3 support and skipping
3945 artificial methods/arguments.
3946 * gdb.c++/derivation.exp: Likewise.
3947 * gdb.c++/inherit.exp: Likewise.
3948 * gdb.c++/method.exp: Likewise.
3949 * gdb.c++/virtfunc.exp: Likewise.
3950
b4ceaee6
AC
39512002-01-18 Andrew Cagney <ac131313@redhat.com>
3952
3953 * gdb.hp/gdb.threads-hp/usrthfork.exp: Mark as obsolete.
3954 * gdb.hp/gdb.threads-hp/usrthcore.exp: Ditto.
3955 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Ditto.
3956 * gdb.hp/gdb.threads-hp/usrthfork.c: Ditto.
3957 * gdb.hp/gdb.threads-hp/usrthbasic.c: Ditto.
3958 * gdb.hp/gdb.threads-hp/usrthcore.c: Ditto.
3959
ecace851
JB
39602002-01-17 Jim Blandy <jimb@redhat.com>
3961
3962 * gdb.asm/asm-source.exp (info symbol): Take another shot at
3963 anchoring the pattern matching the entry point symbol's name.
3964
375fc983
AC
39652002-01-17 Andrew Cagney <ac131313@redhat.com>
3966
3967 * gdb.base/maint.exp: Update ``maint internal-error'' to match
3968 continue/quit query. Update copyright.
3969
fe6fdd96
MS
39702002-01-14 Michael Snyder <msnyder@redhat.com>
3971
3972 * gdb.base/gcore.exp: Remove extra debugging output.
3973
e017c81f
DJ
39742002-01-13 Daniel Jacobowitz <drow@mvista.com>
3975
3976 * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
3977 for slightly dubious v2 mangled string.
3978
37ab3bf8
DJ
39792002-01-13 Daniel Jacobowitz <drow@mvista.com>
3980
3981 * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
3982
1bc05c3a 39832002-01-10 Jason Merrill <jason@redhat.com>
7b2ac63b 3984
1bc05c3a 3985 * gdb.c++/namespace.exp: Accept trailing const for 'this'.
7b2ac63b 3986
1bc05c3a
JM
3987 * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
3988 constructors.
3989 * gdb.c++/derivation.exp: Likewise.
3990 * gdb.c++/templates.exp: Likewise.
3991 * gdb.c++/virtfunc.exp: Likewise.
ffcb195b 3992
1bc05c3a
JM
39932002-01-10 Michael Snyder <msnyder@redhat.com>
3994
3995 * gdb.c++/namespace.exp: Accept both '\0' and '\000'.
ffcb195b 3996
a911c360
MS
39972002-01-08 Michael Snyder <msnyder@redhat.com>
3998
3999 * gdb.base/gcore.exp: New test for generate-core-file command.
4000 * gdb.base/gcore.c: Testcase for above.
4001 * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
4002
ea2119ec
JM
40032002-01-08 Jason Merrill <jason@redhat.com>
4004
4005 * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
4006
68203136
FF
40072002-01-07 Fred Fish <fnf@redhat.com>
4008
4009 * gdb.c++/overload.exp: Remove unconditional xfails for:
4010 print foo_instance1.overloadargs(1)
4011 print foo_instance1.overloadargs(1, 2)
4012 print foo_instance1.overloadargs(1, 2, 3)
4013 print foo_instance1.overloadargs(1, 2, 3, 4)
4014 print foo_instance1.overloadargs(1, 2, 3, 4, 5)
4015 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
4016 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
4017 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
4018 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
4019 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
4020 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
4021 print foo_instance1.overload1arg()
4022 print foo_instance1.overload1arg((char)arg2)
4023 print foo_instance1.overload1arg((signed char)arg3)
4024 print foo_instance1.overload1arg((unsigned char)arg4)
4025 print foo_instance1.overload1arg((int)arg7)
4026 print foo_instance1.overload1arg((unsigned int)arg8)
4027 print foo_instance1.overload1arg((float)arg11)
4028 print foo_instance1.overload1arg((double)arg12)
d63a86f8 4029
21b9b5b1
MS
40302002-01-07 Michael Snyder <msnyder@redhat.com>
4031
4032 * gdb.base/huge.exp: New test. Print a very large target data object.
4033 (skip_huge_test): New test variable. Define if you want to skip this
4034 test. The test reads an 8 megabyte data object from the target, so it
4035 might be very time consuming on remote targets with a slow connection.
4036 * gdb.base/huge.c: New file. Test case for above.
4037
725f922e
FF
40382002-01-07 Fred Fish <fnf@redhat.com>
4039
4040 * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
4041 g_instance.bfoo, and g_instance.cfoo.
4042
634d57ec
JL
4043Mon Jan 7 12:22:18 2002 Jeffrey A Law (law@redhat.com)
4044
f286b2c3
JL
4045 * gdb.base/break.c (multi_line_if_conditional): New function.
4046 (multi_ilne_while_conditional): Likewise.
4047 * gdb.base/break.exp: Verify that a breakpoint on a multi-line
4048 IF or WHILE condition puts the breakpoint at the start of
4049 the condition.
4050
634d57ec
JL
4051 * gdb.base/selftest.exp (backtrace through signal handler): Remove
4052 hppa*-*-hpux* expected failure.
4053 * gdb.base/structs.exp (do_function_calls): Similarly.
4054
4055 * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
4056 watchpoints.
4057
9fbfe2dc
AC
40582002-01-06 Andrew Cagney <ac131313@redhat.com>
4059
4060 Fix PR gdb/66.
4061 * gdb.base/structs.exp: Replace skip for a29k with skip for
4062 gdb,cannot_call_functions.
4063 * gdb.base/call-ar-st.exp: Remove references to a29k in comments.
4064 * gdb.base/callfuncs.exp: Ditto.
4065 * gdb.base/call-rt-st.exp: Ditto.
4066 * gdb.base/call-strs.exp: Ditto.
4067 * gdb.base/callfwmall.exp: Ditto.
4068 * gdb.base/scope.exp: Obsolete xfail a29k.
4069 * gdb.c++/misc.exp: Ditto.
4070 * gdb.c++/cplusfuncs.exp: Ditto.
4071 * gdb.base/ptype.exp: Ditto.
4072 * gdb.base/printcmds.exp: Ditto.
4073 * gdb.base/opaque.exp: Ditto.
4074 * gdb.base/list.exp: Ditto.
4075 * gdb.base/funcargs.exp: Ditto.
4076 * gdb.base/default.exp: Ditto.
4077
8ddad156
MS
40782002-01-04 Michael Snyder <msnyder@redhat.com>
4079
ca4976a6 4080 * gdb.base/info-proc.exp: New file, test for "info proc" cmd.
8ddad156
MS
4081 * gdb.base/maint.exp: Add tests for maint info sections options.
4082
1b074332
JL
4083Fri Dec 21 09:42:11 2001 Jeffrey A Law (law@redhat.com)
4084
4085 * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
4086
7d159115
CV
40872001-12-20 Corinna Vinschen <vinschen@redhat.com>
4088
4089 * gdb.asm/arm.inc: New file.
4090 * gdb.asm/asm-source.exp: Add arm targets.
4091 * gdb.asm/configure.in: Ditto.
4092 * gdb.asm/configure: Recreated from configure.in.
4093
8fb87725
JL
4094Thu Dec 20 09:54:36 2001 Jeffrey A Law (law@redhat.com)
4095
afabe08c
JL
4096 * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
4097 with HP's compiler.
4098 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
4099 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
4100 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
4101 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
4102
4103 * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
4104 either HP's compilers or GCC.
4105
db521deb
JL
4106 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
4107 a SIGBUS or SIGSEGV.
4108
4109 * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
4110
4111 * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
4112 can be compiled with either HP's compiler or GCC.
4113
cfa88ab7
JL
4114 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
4115 * gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
4116 * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
4117
ca344dff
JL
4118 * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
4119 to match current gdb output. Update due to using auto-solib-limit
4120 for limiting instead of overloading auto-solib-add.
4121 * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
4122 test program.
4123
3f3c6e55 4124 * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
ca344dff
JL
4125 * gdb.hp/gdb.base-hp/dollar.exp: Likewise
4126 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
4127 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
4128 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
4129 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
4130 * gdb.hp/gdb.defects/bs15503.exp: Likewise.
4131 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
4132 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
4133 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
4134 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
4135 * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
4136 * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
3f3c6e55 4137
8fb87725
JL
4138 * gdb.base/annota1.exp: Expect failure for hpux11 when posting
4139 a SIGTRAP to the inferior.
4140
cf599fa7
CV
41412001-12-19 Corinna Vinschen <vinschen@redhat.com>
4142
4143 * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
4144 Substitute call to target_link by call to gdb_compile.
4145
2cd045cd
JL
4146Wed Dec 19 14:10:57 2001 Jeffrey A Law (law@redhat.com)
4147
4148 * gdb.base/break.exp: Fix HP specific search string when testing
4149 backtracing in a called function.
4150
d63a86f8 4151 * gdb.base/constvars.exp: Only set lang to C++ if we're
2cd045cd
JL
4152 compiling the test with HP's compilers.
4153 * gdb.base/volatile.exp: Similarly.
4154
99ebe9ac
JB
41552001-12-19 Jim Blandy <jimb@redhat.com>
4156
4157 * gdb.base/printcmds.exp: Expect the null character to be printed
4158 as '\0', and the '\013' to be printed as '\v'.
4159 * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
4160 * gdb.base/setvar.exp: Same.
4161
b9891b29
JB
41622001-12-17 Jim Blandy <jimb@redhat.com>
4163
0eba65ab
JB
4164 * gdb.base/completion.exp: Rather than completing very long
4165 filenames, which can make the readline library produce output we
4166 don't recognize, cd to the directory first, and then complete
4167 using nice, short relative paths.
4168
6970b5b1
JB
4169 * gdb.base/completion.exp: On some systems, there is, in fact, a
4170 variable named `b' in scope, since GDB treats all static
4171 variables as being in scope. So use `no_var_named_this'
4172 instead of `b'.
4173
b9891b29
JB
4174 * gdb.base/corefile.exp: Recognize the message saying that GDB
4175 can't find the core file's registers as a failure.
4176
e6ccd35f
JSC
41772001-12-13 Jackie Smith Cashion <jsmith@redhat.com>
4178
4179 * gdb.base/commands.exp (user_defined_command_test): Make "show user"
4180 test expect string more specific.
4181
105ba819
CV
41822001-12-13 Corinna Vinschen <vinschen@redhat.com>
4183
4184 * gdb.asm/asm-source.exp: Add support for xstormy16.
4185 * gdb.asm/configure.in: Ditto.
4186 * gdb.asm/configure: Rebuild.
4187 * gdb.asm/xstormy16.inc: New file.
4188
e9e79dd9
FF
41892001-12-10 Fred Fish <fnf@redhat.com>
4190
4191 * gdb.base/maint.exp: Update to match changes in type dumping code.
4192
347dc97d
JB
41932001-12-10 Jim Blandy <jimb@redhat.com>
4194
4195 * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
4196 matching the entry point symbol's name at the beginning of the
4197 line.
4198
5178b9d6
DJ
41992001-12-07 Daniel Jacobowitz <drow@mvista.com>
4200
4201 * gdb.c++/classes.exp, gdb.c++/derivation.exp,
4202 gdb.c++/inherit.exp, gdb.c++/method.exp,
4203 gdb.c++/namespace.exp, gdb.c++/templates.exp,
4204 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
4205 and class layout support.
4206
af890c52
DJ
42072001-12-07 Daniel Jacobowitz <drow@mvista.com>
4208
4209 * gdb.c++/classes.exp: Add test for static member function.
4210 * gdb.c++/misc.cc: Add class with static member function.
4211
7a345fb3
JB
42122001-12-07 Jim Blandy <jimb@redhat.com>
4213
f2e54a80 4214 If GDB says it can't find the struct the function returned, report
8032bf31
JB
4215 those tests as `unsupported'.
4216 * gdb.base/call-rt-st.exp (print_struct_call): New function.
4217 Rewrite subsequent tests to use it.
4218
4219 If GDB says it can't find the struct the function returned, report
f2e54a80
JB
4220 those tests as `unsupported'.
4221 * gdb.base/structs.exp (call_struct_func): New function.
4222 (do_function_calls): Use call_struct_func to call the functions
4223 returning structs.
4224
0bc69509
JB
4225 * gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
4226 whether functions are prototyped or not, so we can't possibly pass
4227 arguments to t_float_values2 properly.
4228
7a345fb3
JB
4229 * gdb.base/break.exp: (test_next_with_recursion): Don't change the
4230 value of `timeout' for targets other than the mips*tx39-*.
4231
edb6ede1
MS
42322001-12-06 Michael Snyder <msnyder@redhat.com>
4233
d63a86f8 4234 * gdb.asm/asm-source.exp: Add tests for info target, info symbol,
edb6ede1
MS
4235 and detect whether the start symbol has a leading underscore.
4236
2d842f13
JB
42372001-12-04 Jim Blandy <jimb@redhat.com>
4238
4239 * gdb.base/completion.exp: Clarify indentation.
4240
68550daf
JB
42412001-12-03 Jim Blandy <jimb@redhat.com>
4242
4243 * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
4244 variables on the S/390, not `.word'.
4245
cd5195a8
JB
42462001-11-30 Jim Blandy <jimb@redhat.com>
4247
4248 Add assembly-source tests for s390-ibm-linux.
4249 * gdb.asm/s390.inc: New file.
4250 * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
4251 the S/390 architecture.
4252 * gdb.asm/configure: Regenerated.
4253
ca9efc90
MS
42542001-11-30 Michael Snyder <msnyder@redhat.com>
4255
4256 * gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
4257 next, info source, info sources, info line, global and static
4258 variables, and static functions.
4259 * gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
4260 * gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
4261 * gdb.asm/asmsrc1.s: Add a static function and some variables.
4262 * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
4263 * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
4264 (gdbasm_leave): Restore frame pointer.
4265 (gdbasm_startup): Copy stack set-up from crt0.S.
4266
d0e66976
FN
42672001-11-26 Fernando Nasser <fnasser@redhat.com>
4268
4269 From 2001-11-12 Jackie Smith Cashion <jsmith@redhat.com>:
4270 * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
4271 to a local (non-static) variable. Copy tstruct.a to a static buffer
4272 and return a pointer to that buffer.
4273 * gdb.base/callfwmall.c (t_structs_a): Ditto.
4274
e2334072
MK
42752001-11-24 Mark Kettenis <kettenis@gnu.org>
4276
4277 * gdb.asm/configure.in: Fix recognition of ix86 target.
4278 * gdb.asm/configure: Regenerate.
4279
756caa3d
MS
42802001-11-21 Michael Snyder <msnyder@redhat.com>
4281
4282 * gdb.asm/sparc.inc: New file.
4283 * gdb.asm/asm-source.exp: Recognize sparc target.
4284 * gdb.asm/configure.in: Recognize sparc target.
4285 * gdb.asm/configure: Regenerate.
d63a86f8 4286
9a4d72d5
MS
42872001-11-21 Michael Snyder <msnyder@redhat.com>
4288
4289 * gdb.asm/m32r.inc: New file.
4290 * gdb.asm/asm-source.exp: Recognize m32r target.
4291 * gdb.asm/configure.in: Recognize m32r target.
4292 * gdb.asm/configure: Regenerate.
4293
a773d1cd
MS
42942001-11-20 Michael Snyder <msnyder@redhat.com>
4295
017ac23d
MS
4296 * gdb.asm/i386.inc: New file.
4297 * gdb.asm/asm-source.exp: Recognize ix86 target.
4298 * gdb.asm/configure.in: Recognize ix86 target.
4299 * gdb.asm/configure: Regenerate.
4300
a773d1cd
MS
4301 * gdb.c++/namespace.exp: Fix quotes in output messages.
4302
bb632afb
MS
43032001-11-14 Michael Snyder <msnyder@redhat.com>
4304
25d559ca 4305 * gdb.base/code-expr.exp: New file. Tests use of the "@code"
bb632afb
MS
4306 qualifier in a type cast expression, to designate an address
4307 in the instruction space (Harvard architecture).
4308
4749e309
MS
43092001-11-13 Michael Snyder <msnyder@redhat.com>
4310
4311 * gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
4312 Tests for expressions using 'const' and 'volatile'.
4313
25050984
CV
43142001-11-13 Corinna Vinschen <vinschen@redhat.com>
4315
4316 * gdb.asm/asm-sources.exp: Allow defining linker flags.
4317
1902c51f
DJ
43182001-11-12 Daniel Jacobowitz <drow@mvista.com>
4319
4320 * lib/mi-support.exp (mi_run_to_helper): Move comments
4321 outside of gdb_expect.
4322
dcf95b47
DJ
43232001-11-11 Daniel Jacobowitz <drow@mvista.com>
4324
4325 * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
4326 mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
4327 mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
4328 mi0_run_to): New functions.
4329 * gdb.mi/mi-simplerun.exp: Use them.
4330 * gdb.mi/mi0-simplerun.exp: Likewise.
4331 * gdb.mi/mi-var-cmd.exp: Likewise.
4332 * gdb.mi/mi0-var-cmd.exp: Likewise.
d63a86f8 4333
45b074e1
AC
43342001-11-10 Andrew Cagney <ac131313@redhat.com>
4335
4336 * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
4337 * gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
4338
bf50d346
AC
43392001-11-09 Andrew Cagney <ac131313@redhat.com>
4340
4341 * gdb.base/restore.exp: Include $expected value in restored test
4342 message.
4343
9383332c
AC
43442001-11-09 Andrew Cagney <ac131313@redhat.com>
4345
4346 * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
4347 implemented.
4348
db62520a
MS
43492001-11-08 Michael Snyder <msnyder@redhat.com>
4350
4351 * gdb.base/callfuncs.exp: Add tests for nested call dummies.
4352 Add pass/fail message for stop at breakpoint in call dummy function.
4353
b5703437
MS
43542001-11-07 Michael Snyder <msnyder@redhat.com>
4355
d63a86f8
RM
4356 * gdb.c++/templates.exp (test_template_breakpoints):
4357 If we get an overload menu, but it does not match what
760f6330 4358 we expect, we still need to issue the "cancel" command.
3b2a7ae5
MS
4359 * gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
4360 making the whitespace optional. Argument for "new" may be
4361 "unsigned" as well as "unsigned int/long".
d63a86f8 4362 * gdb.c++/templates.exp: Replace "const &" with "const ?&",
eef747c0
MS
4363 making the whitespace optional. Also replace "(void) with
4364 "((void|)), making the keyword "void" optional.
d63a86f8 4365 * gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
63f50499
MS
4366 making the whitespace optional. Also replace "(void) with
4367 "((void|)), making the keyword "void" optional.
3bf40917
MS
4368 * gdb.base/callfuncs.c (t_float_values): This function must
4369 _not_ be prototyped, and the following function (t_float_values2)
d63a86f8 4370 must be prototyped (if the compiler supports it), so that GDB
3bf40917
MS
4371 can be tested against both cases. Usually one case involves
4372 promotion of float to double, while the other does not.
4373 * gdb.base/callfwmall.c: Ditto.
b5703437
MS
4374 * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
4375 includes a stack frame for "start".
4376
c8ab4e6d
JB
43772001-11-05 Jim Blandy <jimb@redhat.com>
4378
4379 * gdb.stabs/weird.exp: Delete "p v_comb" test. It assumes that
4380 pointers are 32 bits long, and that offsets of relocs are always
4381 stored in the data (REL-style), and not in the reloc entry itself
4382 (RELA-style).
4383 * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
4384 stabs.
4385
3f08ced9
MS
43862001-11-01 Michael Snyder <msnyder@redhat.com>
4387
4388 * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
4389 and regular expression operators by using quoting.
4390
cbfa24cd
MS
43912001-10-31 Michael Snyder <msnyder@redhat.com>
4392
4393 * gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
4394 depending on what the symbol table contains.
4395 * gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
4396 the output of the ptype command. Similarly, accept both "const &"
4397 and "const&".
4398
aaa68313
CV
43992001-10-31 Corinna Vinschen <vinschen@redhat.com>
4400
4401 * gdb.base/miscexprs.c (main): Add usage of preprocessor
4402 symbol `STORAGE' to allow to choose the storage class of
4403 the local datastructures.
4404 * gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
4405 compiler directive.
4406
91740388
MS
44072001-10-30 Michael Snyder <msnyder@redhat.com>
4408
4409 * gdb.base/jump.exp: Allow it to run for all targets.
4410
1b7c05e7
CV
44112001-10-29 Corinna Vinschen <vinschen@redhat.com>
4412
4413 * gdb.base/call-ar-st.c (print_double_array): Match for loop
4414 with new double_array size.
4415 (main): Change storage class of all local variables to static.
4416 Reduce size of double_array to 9.
4417 * gdb.base/call-ar-st.exp: Increase timeout value.
4418 Change expected output for double array to match new size in
4419 call-ar-st.c.
4420
36a22261
CV
44212001-10-29 Corinna Vinschen <vinschen@redhat.com>
4422
4423 * gdb.base/ending-run.exp: Create identical output when passing
4424 `step to end of run' case. Add regular expression branch satisfying
d63a86f8 4425 Stormy16 target.
36a22261 4426
92b8ae91
MK
44272001-10-28 Mark Kettenis <kettenis@gnu.org>
4428
4429 * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
4430 that we catch the expected failure under Linux/x86.
4431
cb135b83
OF
44322001-10-29 Orjan Friberg <orjanf@axis.com>
4433
4434 * gdb.base/setvar.exp: Escape curly braces.
4435 * gdb.stabs/weird.exp: Ditto.
4436
6884aa54
DJ
44372001-10-27 Daniel Jacobowitz <drow@mvista.com>
4438
4439 * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
4440 * gdm.mi/mi0-hack-cli.exp: Likewise.
4441
0398c9aa
AC
44422001-10-25 Andrew Cagney <ac131313@redhat.com>
4443
4444 * gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
4445 messages.
4446
d20bf2e8
AC
44472001-10-21 Andrew Cagney <ac131313@redhat.com>
4448
4449 * lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
4450 checking MI enabled.
4451
03dd63aa
CV
44522001-10-09 Corinna Vinschen <vinschen@redhat.com>
4453
4454 * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
4455
1d9d99f3
FCE
44562001-10-04 Frank Ch. Eigler <fche@redhat.com>
4457
4458 * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
4459 if gdb child process crashes, just signal an error.
4460
838ae6c4
JB
44612001-10-02 Jim Blandy <jimb@redhat.com>
4462
4463 * lib/gdb.exp (test_xfail_format): Simplify.
4464
4465 * lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
4466 front of the variable name `format'. Simplify `if'.
4467
8f0cbc1c
DJ
44682001-10-01 Daniel Jacobowitz <drow@mvista.com>
4469
4470 * gdb.threads/pthreads.exp: Wait for output and delay
4471 before sending ^C.
4472
1f08dafd
DJ
44732001-10-01 Daniel Jacobowitz <drow@mvista.com>
4474
4475 * gdb.mi/mi-var-display.exp (continue to incr_a): Recognize
4476 some incorrect output instead of timing out.
4477 * gdb.mi/mi-var-display.exp (continue to incr_a): Likewise.
4478
674f90ff
CV
44792001-09-28 Corinna Vinschen <vinschen@redhat.com>
4480
4481 * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
4482 check to allow additional `int'.
4483
9b284272
DJ
44842001-09-27 Daniel Jacobowitz <drow@mvista.com>
4485
4486 * gdb.base/completion.exp: Remove incorrect 'p "a' test.
4487 Add tests for 'p "break' (pass) and 'p "break.' (xfail).
4488
b55a4771
MS
44892001-09-27 Michael Snyder <msnyder@redhat.com>
4490
4491 * lib/gdb.exp (test_debug_format): New proc.
4492 (setup_xfail_format): Use new proc test_debug_format.
4493 * gdb.base/constvars.exp (local_compiler_xfail_check): New
4494 proc; use new service proc test_debug_format.
4495 Replace all other "gcc_compiled" tests with this test.
4496 * gdb.base/volatile.exp (local_compiler_xfail_check): New
4497 proc; use new service proc test_debug_format.
4498 Replace all other "gcc_compiled" tests with this test.
4499
45002001-09-27 Michael Snyder <msnyder@redhat.com>
4501
4502 * gdb.base/cvexpr.exp: New file.
4503 * gdb.base/cvexpr.c: New file
4504 Test for expressions using const and volatile keywords.
4505
4e6667ac
CV
45062001-09-26 Corinna Vinschen <vinschen@redhat.com>
4507
4508 * gdb.base/constvars.exp: Check for different orders of keywords
4509 and additional "int" strings in output.
4510
4f337972
AC
45112001-09-22 Andrew Cagney <ac131313@redhat.com>
4512
4513 * gdb.base/maint.exp: Add "maintenance set/show" to list of valid
4514 responses from "help maint".
4515
2015650d
FCE
45162001-09-19 Frank Ch. Eigler <fche@redhat.com>
4517
4518 * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
4519 to localhost:NNN instead of :NNN, in case Xvfb is listening
4520 only on TCP.
4521
f3bcedc1
CV
45222001-09-19 Corinna Vinschen <vinschen@redhat.com>
4523
4524 * gdb.base/recurse.exp: When checking leaving the watchpoint
4525 scope, recognize when gdb is in function's epilogue and pass.
4526
6b819c92
KS
45272001-09-18 Keith Seitz <keiths@redhat.com>
4528
4529 * lib/insight-support.exp (_gdbtk_export_target_info): Add
4530 support for running tests against sid targets.
4531 (gdbtk_done): Ditto.
4532
a10c9419
CV
45332001-09-18 Corinna Vinschen <vinschen@redhat.com>
4534
4535 * gdb.base/ending-run.c (main): Set stdout buffersize
4536 to the same reasonable value for any target.
4537 * gdb.base/ending-run.exp: Add a regular expression
4538 to make testsuite happy on Sanyo Stormy16 target.
4539
739d0d99
CV
45402001-09-17 Corinna Vinschen <vinschen@redhat.com>
4541
4542 * gdb.base/display.c (do_loops): Add float variable `f'.
4543 Increment f in loop.
4544 * gdb.base/display.exp: Increment timeout by 60 seconds.
4545 Change float display test to use variable `f'.
4546
1b8947f0
JB
45472001-09-17 Jim Blandy <jimb@redhat.com>
4548
4549 * gdb.base/restore.exp: Use temporary breakpoints, to avoid
4550 overflowing the limited breakpoint tables on some ROM monitors
4551 (like the ROM68K).
4552
9890ac81
FCE
45532001-09-15 Frank Ch. Eigler <fche@redhat.com>
4554
4555 * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
4556 the "-ac" (disable access control) flag.
4557
6db765ea
JH
45582001-08-30 Jeff Holcomb <jeffh@redhat.com>
4559
4560 * gdb.base/remote.c: Use a small buffer for targets with 16-bit
4561 ints.
4562
4c32cc04
KS
45632001-08-30 Keith Seitz <keiths@redhat.com>
4564
4565 * lib/gdb.exp: Move all insight-related functionality into
4566 separate file.
4567 * lib/insight-support.exp: New file.
4568
8d6e6f81
FCE
45692001-08-29 Frank Ch. Eigler <fche@redhat.com>
4570
4571 * config/sid.exp (sid_start): Never set sid verbosity; disable
4572 expect_background {} that consumed its stdout; tolerate </dev/null.
4573 Attempt to set endianness override in "sid" protocol mode. Cleanup.
4574
6a90e1d0
AC
45752001-08-18 Andrew Cagney <ac131313@redhat.com>
4576
4577 * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
4578 CLI jump command to start it.
4579 (mi_run_to_main): Fail immediatly when unexpected output.
4580
1759b3c3
AC
45812001-08-18 Andrew Cagney <ac131313@redhat.com>
4582
4583 * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
4584 beginning of function. Fix PR gdb/191.
4585
61d11d80
FCE
45862001-08-16 Frank Ch. Eigler <fche@redhat.com>
4587
4588 * config/sid.exp (sid_start): Don't warn if we cannot figure out
4589 what to force sid endianness to.
4590
942a4df2
KS
45912001-08-15 Keith Seitz <keiths@redhat.com>
4592
4593 * lib/gdb.exp (gdbtk_start): Don't set environment
4594 variables for TCL_LIBRARY and friends. Insight will
4595 now figure these out for itself.
4596
0521c418
MS
45972001-08-02 Michael Snyder <msnyder@redhat.com>
4598
4599 * gdb.base/completion.exp: Remove the symbol "a64l" from
4600 the expect string; this is target-specific, and not related
4601 to what is being tested.
4602
74a9a58a
DB
46032001-08-02 Dave Brolley <brolley@redhat.com>
4604
4605 * config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
4606
c70819fa
MS
46072001-07-25 Michael Snyder <msnyder@redhat.com>
4608
c2b8fa57
MS
4609 * gdb.base/consecutive.exp: New file. Test stepping over
4610 breakpoints on consecutive instructions.
4611 * gdb.base/consecutive.c: New file.
4612
c70819fa
MS
4613 * gdb.base/call-rt-st.exp: Use double-backslash to quote
4614 curly braces in regular expressions.
4615
2b1a1355
MS
46162001-07-25 Michael Snyder <msnyder@redhat.com>
4617
4618 * gdb.base/ending-run.exp: Accept "Program exited normally" as
4619 legitimate output from stepping out of main.
4620
413eca6f
KS
46212001-07-22 Keith Seitz <keiths@redhat.com>
4622
4623 * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
4624 the empty string, do not run the tests.
4625
7e5a9322
SC
46262001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
4627
4628 * gdb.base/long_long.exp: Detect size of pointer. Take into
4629 account 2-byte pointers when testing for p/a results.
4630
de58f10f
SC
46312001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
4632
d63a86f8 4633 * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
de58f10f
SC
4634 and defined to 1K for m68hc11.
4635 (random_data): Reduce table to 1K for embedded platforms (68hc11).
4636 * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
4637 (sizeof_random_data): New variable to tell the size of the data table;
4638 don't test past this size; always run to main.
4639
d6f5fea1
SC
46402001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
4641
4642 * gdb.base/return2.exp: return of long long and double fails for
4643 68HC11; don't execute these tests on that platform.
4644 * gdb.base/return.exp: Return of a double fails for 68hc11.
4645
c477543d
SC
46462001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
4647
4648 * call-ar-st.exp: Use gdb_skip_float_test to avoid executing
4649 tests that print a float.
4650 * call-rt-st.exp: Likewise.
4651
63cf1c79
MK
46522001-07-12 Mark Kettenis <kettenis@gnu.org>
4653
4654 * gdb.base/so-impl-ld.exp: Remove stray space that prevented
4655 running this test on Linux.
4656
112f9ab5
MC
46572001-06-24 Michael Chastain <chastain@redhat.com>
4658
4659 * gdb.base/arithmet.exp: Remove some tests to make all test names
4660 unique.
4661
4970cb0f
MS
46622001-07-03 Michael Snyder <msnyder@redhat.com>
4663
4664 * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
4665 the output of the ptype command.
4666
d85da69f
MS
46672001-07-02 Michael Snyder <msnyder@redhat.com>
4668
4c8a82de
MS
4669 * gdb.base/completion.exp: Don't assume that break.c is the only
4670 source file that may contain functions named "marker".
d85da69f
MS
4671 * gdb.base/corefile.exp: Quote the curly braces in regexp.
4672
8afc772b
AC
46732001-06-28 Andrew Cagney <ac131313@redhat.com>
4674
4675 * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
4676 of files to delete.
4677
4678 From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
4679 * gdb.disasm/h8300s.exp: New file.
4680 gdb.disasm/h8300s.s: Likewise.
4681
cff22675
AC
46822001-06-27 Andrew Cagney <ac131313@redhat.com>
4683
4684 * lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format
4685 empty breakpoint tables.
4686
68c81b54
AC
46872001-06-25 Andrew Cagney <ac131313@redhat.com>
4688
4689 * lib/mi-support.exp: Update args=... part of stop-reason
4690 patterns. Accept either a list or a tuple.
4691
2dd62704
AC
46922001-06-23 Andrew Cagney <ac131313@redhat.com>
4693
4694 * lib/mi-support.exp: Remove local emacs variable defining
4695 change-log-default-name.
4696
b4127474
MC
46972001-06-22 Michael Chastain <chastain@redhat.com>
4698
4699 * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
4700 This is operationally compatible with the previous version.
4701
8dbfb380
JB
47022001-06-13 Jim Blandy <jimb@redhat.com>
4703
4704 * lib/gdb.exp (gdb_test): Doc fix.
4705
f2d8c86d
MC
47062001-06-10 Michael Chastain <chastain@redhat.com>
4707
4708 * gdb.base/exprs.exp: Remove a duplicate test.
4709
81564d34
JB
47102001-06-06 Jim Blandy <jimb@redhat.com>
4711
4712 * gdb.base/return2.exp (main): Use values to test float and double
4713 returns that are not NaN's, to avoid being confused by IEEE
4714 comparison rules.
4715
da55addb
MS
47162001-06-04 Michael Snyder <msnyder@redhat.com>
4717
4718 * gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
d63a86f8 4719 non-zero if control_c fails. Terminate the test on failure,
da55addb
MS
4720 rather than wait for 12 more tests to time out.
4721
42c65987
JB
47222001-06-06 Jim Blandy <jimb@redhat.com>
4723
b18bced9 4724 * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
d63a86f8 4725 Don't forget to match the GDB prompt.
b18bced9 4726
42c65987
JB
4727 * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
4728
5b41e5f0
JB
47292001-06-04 Jim Blandy <jimb@redhat.com>
4730
4731 * gdb.base/help.exp: Update pattern to exclude `print-load-map'
4732 command.
4733
015e046f
KB
47342001-05-31 Kevin Buettner <kevinb@redhat.com>
4735
4736 * gdb.base/annota1.exp (info break): Match four or more spaces
4737 after "Address".
4738
fb1ffbbe
MC
47392001-05-31 Michael Chastain <chastain@redhat.com>
4740
4741 * gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
4742 (dm_type_int_star): Likewise.
4743 (dm_type_long_star): Likewise.
4744 (dm_type_void_star): Likewise.
4745
5ea2a32c
KB
47462001-05-29 Kevin Buettner <kevinb@redhat.com>
4747
4748 * gdb.base/completion.exp (INPUTRC): Set this environment variable
4749 to a known value in order to get consistent results regardless
4750 of the setting of INPUTRC or the presence or contents of .inputrc.
4751
ae23c492
MS
47522001-05-24 Michael Snyder <msnyder@redhat.com>
4753
ac55707e
MS
4754 * gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
4755 Don't require that the main thread and the manager thread are the
4756 first in the list.
4757
ae23c492
MS
4758 * gdb.threads/pthreads.exp (test_startup): Relax test for thread
4759 debugging. If test fails, issue an "unsupported" not a "fail".
4760
400071f1
JB
47612001-05-24 Jim Blandy <jimb@redhat.com>
4762
4763 Don't assume that short is shorter than int.
4764 * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
4765 assume that shorts are smaller than ints. On a 16-bit machine,
d63a86f8 4766 this isn't true.
400071f1
JB
4767 ("print unsigned char == (~0)"): Add test that verifies that ~0,
4768 an int, is not equal to ~0 stored in an unsigned char. This tests
4769 the same thing that the previous test meant to, but works on
4770 16-bit machines, too.
4771 ("print unsigned char != (~0)"): Same test, complemented.
4772
0816a3e5
MS
47732001-05-24 Michael Snyder <msnyder@redhat.com>
4774
4775 * gdb.threads/pthreads.exp (all_threads_running): Add an explicit
d63a86f8 4776 test for (full_coverage == 0). This makes the test run faster,
0816a3e5
MS
4777 and prevents dejagnu getting out of step.
4778
f6dc23a9
KB
47792001-05-23 Kevin Buettner <kevinb@redhat.com>
4780
4781 * gdb.base/finish.exp (finish_void): Revise pattern for
4782 stopping on the call statement to not permit stopping at
4783 the start of the instructions comprising the call sequence.
4784
7dbd117d
MC
47852001-05-19 Michael Chastain <chastain@redhat.com>
4786
4787 * gdb.base/callfuncs.exp: Make all test names unique.
4788 * gdb.base/commands.exp: Make all test names unique.
4789 * gdb.base/condbreak.exp: Make all test names unique.
4790 * gdb.base/dbx.exp: Make all test names unique.
4791 * gdb.base/default.exp: Make all test names unique.
4792 * gdb.base/define.exp: Make all test names unique. Conform some FAIL
4793 and TIMEOUT messages to their corresponding PASS message.
4794 * gdb.base/ending-run.exp: Make all test names unique.
4795 * gdb.base/long_long.exp: Remove duplicate test.
4796
6b0b0a9e
KB
47972001-05-21 Kevin Buettner <kevinb@redhat.com>
4798
4799 * gdb.base/finish.exp (finish_void): Allow "finish" command to
4800 stop on the call statement as well as the statement after the
4801 call.
4802
2caa35cb
MS
48032001-05-21 Michael Snyder <msnyder@redhat.com>
4804
4805 * gdb.base/long_long.exp: Allow for targets with 4-byte short.
4806
40713331
EZ
48072001-05-10 Elena Zannoni <ezannoni@redhat.com>
4808
4809 * gdb.base/completion.exp: Revamp test. Make it execute on all
4810 platforms.
4811
c2c1be8d
EZ
48122001-05-10 Elena Zannoni <ezannoni@redhat.com>
4813
2c9cd303
EZ
4814 * config/gdbserver.exp (gdb_load): Handle the case
4815 in which the arguments to gdbserver are given in the
4816 baseboard configuration file.
4817 Also handle the case in which the server needs to do a
4818 load.
4819
9671de48
KS
48202001-05-07 Keith Seitz <keiths@cygnus.com>
4821
4822 * lib/gdb.exp (gdbtk_initialize_display): New proc which will
4823 set up the display for testing.
4824 (gdbtk_start): Convert all paths to paths that tcl will like.
4825 Export target information to environment.
4826 (_gdbtk_xvfb_init): New proc to start Xvfb if available and
4827 necessary.
4828 (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
4829 (to_tcl_path): New proc to convert a given pathname into
4830 a path acceptible as an argument to a tcl command.
4831 (_gdbtk_export_target_info): New proc to export target info
4832 into the environment for gdbtk testing.
4833 (gdbtk_done): New proc to signal end-of-test.
4834
5a360f47
JB
48352001-05-06 Jim Blandy <jimb@redhat.com>
4836
4837 * restore.c: Make the code of caller0 correspond to its comment.
4838
66c756c6
MS
48392001-05-03 Michael Snyder <msnyder@redhat.com>
4840
4841 * config/sid.exp (gdb_target_sid): Check for error messages.
4842 On error or timeout, don't make expect exit (which will terminate
4843 all subsequent tests); instead just make gdb exit.
d63a86f8 4844 (gdb_load): Check for error messages. On error or timeout,
66c756c6
MS
4845 return a negative value.
4846
a966fde5
JB
48472001-04-24 Jim Blandy <jimb@redhat.com>
4848
851c18e0
JB
4849 * gdb.c++/templates.exp: If we see the prompt for the overload
4850 list, but we haven't recognized any of the longer patterns,
4851 arrange for this test to fail, not hang.
4852
a966fde5
JB
4853 * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
4854 variations.
4855
db144853
MC
48562001-04-22 Michael Chastain <chastain@redhat.com>
4857
4858 * gdb.c++/local.exp: Use the 'runto' library function.
4859 * gdb.c++/namespace.exp: Likewise.
4860 * gdb.c++/overload.exp: Likewise.
4861
3207ec21
KB
48622001-03-26 Kevin Buettner <kevinb@redhat.com>
4863
4864 * gdb.base/Makefile.in (EXECUTABLES): Add step-line.
4865 * gdb.base/step-line.exp: New file. Test step/next in presence of
4866 #line directives.
4867 * gdb.base/step-line.c: New file. Test program for the above.
4868 * gdb.base/step-line.inp: New file. We pretend that this file has
4869 been transformed by some other tool into step-line.c.
4870
13b57657
JB
48712001-03-21 Jim Blandy <jimb@redhat.com>
4872
4873 * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
4874 unmangled operator names.
4875
754cbe1c
JB
48762001-03-20 Jim Blandy <jimb@redhat.com>
4877
4878 * gdb.threads/linux-dp.exp: Recognize an additional message
4879 generated by GDB when it doesn't understand how to debug threads
4880 on the target system.
4881
177495c9
AC
48822001-03-19 Andrew Cagney <ac131313@redhat.com>
4883
4884 * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
4885
f266096b
MC
48862001-03-12 Michael Chastain <chastain@redhat.com>
4887
4888 * gdb.c++/derivation.exp: Use the 'runto' library function.
4889
cac3c2ff
MC
48902001-03-12 Michael Chastain <chastain@redhat.com>
4891
4892 * gdb.c++/annota2.exp: Fix regular expression for "post-query".
4893
b6c11a24
MC
48942001-02-24 Michael Chastain <chastain@redhat.com>
4895
4896 * gdb.c++/ref-types.exp: Change handwritten code to library
4897 function 'runto'.
4898
6bae5bce
OF
48992001-03-16 Orjan Friberg <orjanf@axis.com>
4900
4901 * gdb.base/signals.exp: Set count to 0 explicitly.
4902
0015fd9a
MS
49032001-03-15 Mark Salter <msalter@redhat.com>
4904
4905 * config/monitor.exp (gdb_target_cmd): Add explicit error return.
4906 (gdb_target_monitor): Add check of gdb_target_cmd return value.
880a15ee
MS
4907 (gdb_load): Add support for additional target_info: gdb_download_size
4908 and gdb_load_timeout.
0015fd9a 4909
fc33412a
DT
4910Thu Mar 8 16:06:00 2001 David Taylor <taylor@redhat.com>
4911
4912 * gdb.base/annota1.exp: Move test of isnative to earlier in the
4913 file -- to prevent failing when the compile fails but we have no
4914 intention of running the tests anyway.
4915
4916 * gdb.base/long_long.exp: Test target_info for no_long_long, skip
4917 tests if set.
4918
4919 * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
4920 integers.
4921
4922 * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
4923 * gdb.c++/namespace.exp: Ditto.
4924
115f06de
OF
49252001-03-07 Orjan Friberg <orjanf@axis.com>
4926
4927 * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
4928 * gdb.base/pointers.exp: Relax pattern match of decimals.
4929
b6ba6518
KB
49302001-03-06 Kevin Buettner <kevinb@redhat.com>
4931
4932 * Makefile.in, config/abug.exp, config/cfdbug.exp,
4933 config/cpu32bug.exp, config/dve.exp, config/est.exp,
4934 config/gdbserver.exp, config/hmsirom.exp, config/hppro.exp,
4935 config/i960.exp, config/m32r.exp, config/mn10300-eval.exp,
4936 config/monitor.exp, config/proelf.exp, config/rom68k.exp,
4937 config/sh.exp, config/sid.exp, config/slite.exp,
4938 config/sparclet.exp, config/udi.exp, config/unknown.exp,
4939 config/vr4300.exp, config/vr5000.exp, config/vx.exp,
4940 config/vxworks.exp, config/vxworks29k.exp,
4941 gdb.asm/asm-source.exp, gdb.base/a2-run.exp,
4942 gdb.base/all-bin.exp, gdb.base/annota1.exp,
4943 gdb.base/arithmet.exp, gdb.base/assign.exp,
4944 gdb.base/async.exp, gdb.base/attach.exp,
4945 gdb.base/bitfields.exp, gdb.base/bitops.exp,
4946 gdb.base/break.exp, gdb.base/call-ar-st.exp,
4947 gdb.base/call-rt-st.exp, gdb.base/call-strs.exp,
4948 gdb.base/callfuncs.exp, gdb.base/callfwmall.exp,
4949 gdb.base/commands.exp, gdb.base/completion.exp,
4950 gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
4951 gdb.base/constvars.exp, gdb.base/corefile.exp,
4952 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
4953 gdb.base/display.exp, gdb.base/ena-dis-br.exp,
4954 gdb.base/ending-run.exp, gdb.base/environ.exp,
4955 gdb.base/eval-skip.exp, gdb.base/exprs.exp,
4956 gdb.base/finish.exp, gdb.base/foll-exec.exp,
4957 gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp,
4958 gdb.base/funcargs.exp, gdb.base/help.exp,
4959 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp,
4960 gdb.base/logical.exp, gdb.base/long_long.exp,
4961 gdb.base/maint.exp, gdb.base/mips_pro.exp,
4962 gdb.base/miscexprs.exp, gdb.base/nodebug.exp,
4963 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp,
4964 gdb.base/pointers.exp, gdb.base/printcmds.exp,
4965 gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp,
4966 gdb.base/regs.exp, gdb.base/relational.exp,
4967 gdb.base/remote.exp, gdb.base/reread.exp,
4968 gdb.base/restore.exp, gdb.base/return2.exp,
4969 gdb.base/scope.exp, gdb.base/sect-cmd.exp,
4970 gdb.base/selftest.exp, gdb.base/setshow.exp,
4971 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
4972 gdb.base/sigall.exp, gdb.base/signals.exp,
4973 gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp,
4974 gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
4975 gdb.base/step-test.exp, gdb.base/structs.c,
4976 gdb.base/structs.exp, gdb.base/structs2.exp,
4977 gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp,
4978 gdb.base/volatile.exp, gdb.base/watchpoint.exp,
4979 gdb.base/whatis-exp.exp, gdb.base/whatis.exp,
4980 gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
4981 gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.exp,
4982 gdb.c++/derivation.exp, gdb.c++/inherit.exp,
4983 gdb.c++/local.exp, gdb.c++/member-ptr.exp, gdb.c++/method.exp,
4984 gdb.c++/misc.exp, gdb.c++/namespace.exp, gdb.c++/overload.exp,
4985 gdb.c++/ref-types.exp, gdb.c++/templates.exp,
4986 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp,
4987 gdb.disasm/am33.exp, gdb.disasm/hppa.exp,
4988 gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp,
4989 gdb.fortran/types.exp, gdb.java/jmisc.exp,
4990 gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
4991 gdb.stabs/weird.exp, gdb.threads/linux-dp.exp,
4992 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
4993 gdb.trace/circ.exp, gdb.trace/collection.exp,
4994 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
4995 gdb.trace/limits.exp, gdb.trace/packetlen.exp,
4996 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp,
4997 gdb.trace/report.exp, gdb.trace/save-trace.exp,
4998 gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
4999 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
5000 lib/gdb.exp, lib/mi-support.exp: Update/correct copyright
5001 notices.
5002
dc96c6c7 50032001-02-27 Michael Snyder <msnyder@cygnus.com>
d8f92b1f
MS
5004
5005 * gdb.base/varargs.c (find_max_double): Fix printf format string:
5006 first arg is int not float.
5007
dc96c6c7 50082001-02-22 Michael Snyder <msnyder@cygnus.com>
40f33b9b
MS
5009
5010 * gdb.base/reread.exp: Unsupported for non-native targets;
5011 doesn't work for remote debugging.
5012
9b0c4aeb
FN
50132001-02-19 Fernando Nasser <fnasser@redhat.com>
5014
5015 From Drew Moseley <dmoseley@redhat.com>
5016 * gdb.base/ending-run.exp: Properly handle the BSP state when
5017 stepping past the end of main.
5018
02aa71d5
MC
50192001-02-19 John Moore <jmoore@redhat.com>
5020
5021 * gdb.base/commands.exp (infrun_breakpoint_command_test):
5022 Converted HPUX fix for non-expected items following multiple
5023 step commands into general solution for all platforms.
5024
1fa449a4
MC
50252001-02-18 Michael Chastain <chastain@redhat.com>
5026
5027 * gdb.c++/classes.exp (do_tests): Change runto statements
5028 from "runto 'foo(void)'" to "runto 'foo'". This makes the
5029 statements demangler agnostic.
5030 * gdb.c++/virtfunc.exp (do_tests): Likewise.
5031 (gdb_virtfunc_restart): Likewise.
5032
b2f9ec70
MC
50332001-02-14 Michael Chastain <chastain@redhat.com>
5034
5035 * gdb.c++/inherit.exp (do_tests): Change runto statements
5036 from "runto 'foo(void)'" to "runto 'foo'". This makes the
5037 statements demangler agnostic.
5038
cf74b8ca
AC
5039Sun Feb 4 17:32:21 2001 Andrew Cagney <cagney@redhat.com>
5040
5041 * gdb.threads/pthreads.exp: Unify pass/fail messages for
5042 ``continue to bkpt at common_routine in thread 2'' and ``stopped
5043 before calling common_routine 15 times'' tests.
5044
99f78f56
MC
50452001-02-11 Michael Chastain <chastain@redhat.com>
5046
5047 * gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
5048 Helps the test script figure out which demangler is in use.
5049 (dm_type_foo_ref): Ditto.
5050 (dm_type_int_star): Ditto.
5051 (dm_type_long_star): Ditto.
5052 (dm_type_unsigned_int): Ditto.
5053 (dm_type_void): Ditto.
5054 (dm_type_void_star): Ditto.
99707966 5055 * gdb.base/cplusfuncs.exp (probe_demangler): New function.
99f78f56
MC
5056 Probe the gdb demangler and set variables to accommodate
5057 formatting differences.
5058 (info_func_regexp): New function. Same as info_func, but
5059 matches against a regexp.
5060 (info_func): Match against a literal string.
5061 (print_addr_2): New function. Match against a literal string,
5062 which can be different from the input to gdb.
5063 (print_addr): Simply call print_addr_2 with the same argument twice.
5064 (test_lookup_operator_functions): Use demangler formatting variables.
5065 Blow away the xfails and workarounds for gnats gdb bug gdb/18. Sort
5066 the tests in the same order as the C++ class declaration.
5067 (test_paddr_operator_functions): Ditto.
5068 (test_paddr_overloaded_functions): Ditto.
5069 (test_paddr_hairy_functions): Use demangler formatting variables.
5070 Add reference to gdb/19 for related tests.
5071 (do_tests): Call probe_demangler.
5072
1de8f023
KB
50732001-01-30 Kevin Buettner <kevinb@redhat.com>
5074
5075 * gdb.c++/templates.cc (printf): Remove unused function definition.
5076
ca3f91ed
MS
50772001-01-26 Felix Lee <flee@redhat.com>
5078
5079 * sid.exp (sid_exit): Pass host, not target, to remote_close.
5080
50812001-01-25 matthew green <mrg@redhat.com>
5082
5083 * config/sid.exp (sid_start): Call `remote_push_conn' after firing
5084 up sid.
5085 (sid_exit): Call `remote_pop_conn' after GDB is gone.
5086
50872001-01-25 matthew green <mrg@redhat.com>
5088
5089 * config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.'
d63a86f8 5090 Deprecate $sid_spawn_id.
ca3f91ed
MS
5091 (sid_exit): Remove code necessary only for `spawn.'
5092
50932001-01-25 matthew green <mrg@redhat.com>
5094
5095 * config/sid.exp (sid_start): Handle sim,protocol of `sid.'
5096
fb18ec4a
MC
50972001-01-28 Michael Chastain <chastain@redhat.com>
5098
5099 * gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
5100 to call when tests fail. It takes gdb out of the overloaded
5101 function choice menu back to the main prompt, so that the test
5102 program stays synchronized.
5103 (set_bp_overloaded): New proc to collect all the common
5104 code for setting a breakpoint on an overloaded name. Calls
5105 take_gdb_out_of_choice_menu when needed.
5106 (menu_overload1arg): New variable to collect the repeated
5107 instances of the expected menu for an overloaded name. Change
5108 the regular expression to handle changes in g++ type encoding:
5109 "void" can be either "void" or "", and "unsigned int" can be
5110 either "unsigned int" or "unsigned".
5111 (continue_to_bp_overloaded): Change regular expressions to handle
5112 changes in g++ type encoding.
5113 (no proc): Call take_gdb_out_of_choice_menu when needed.
5114 Remove redundant calls to "info break". Accept either "canceled"
5115 or "cancelled". Change regular expressions in "info break"
5116 calls to handle changes in g++ type encoding. Give all tests
5117 unique strings.
5118
9c646a6e
BE
51192001-01-17 Ben Elliston <bje@redhat.com>
5120
5121 * config/sid.exp: New file.
5122
9549d9c1
AC
5123Fri Jan 12 18:29:01 2001 Andrew Cagney <cagney@b1.cygnus.com>
5124
5125 * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
5126
dc96c6c7 51272000-12-21 Michael Snyder <msnyder@cygnus.com>
315f8b0e
MS
5128
5129 * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
5130 Add a RE to accept a non-ascii char if one is ever presented.
5131
b4df4f68
FN
51322000-12-20 Fernando Nasser <fnasser@redhat.com>
5133
297dd0fd 5134 * lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
b4df4f68 5135
dc96c6c7 51362000-12-18 Michael Snyder <msnyder@cygnus.com>
49c890fc 5137
d63a86f8 5138 * gdb.base/setvar.exp: Use double '\\' to quote curly braces
49c890fc
MS
5139 in regexp. One '\' does not suffice on Linux.
5140
4a7bddb6
MC
51412000-12-09 Michael Chastain <chastain@redhat.com>
5142
5143 * gdb.base/break.exp (test_clear_command): Use a marker function
5144 rather than 'main' for the test function. Also move this
5145 test to an execution point where the marker function names are
5146 guaranteed to be bound to functions. (Executing tests after a
5147 'finish' from main runs into name conflicts with local names
5148 in __libc_start_main).
5149
dc96c6c7 51502000-12-07 Michael Snyder <msnyder@cygnus.com>
efb66345
MS
5151
5152 * gdb.base/finish.exp: New test for gdb's "finish" command.
5153 * gdb.base/return2.exp: New test for gdb's "return" command.
5154 * gdb.base/return2.c: New source file for above.
5155
dc96c6c7 51562000-12-05 Michael Snyder <msnyder@cygnus.com>
3c077de9
MS
5157
5158 * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
5159 * gdb.base/miscexprs.exp: Ditto.
5160 * gdb.base/pointers.exp: Ditto.
5161 * gdb.c++/derivation.exp: Ditto.
5162 * gdb.c++/local.exp: Ditto.
5163 * gdb.c++/namespace.exp: Ditto.
5164 * gdb.c++/overload.exp: Ditto.
5165 * gdb.c++/ref-types.exp: Ditto.
5166
dc96c6c7 51672000-12-05 Michael Snyder <msnyder@cygnus.com>
660fd469
MS
5168
5169 * gdb.base/constvars.exp: Test result of "up" command.
5170 * gdb.base/miscexprs.exp: Ditto.
5171 * gdb.base/pointers.exp: Ditto.
5172 * gdb.base/scope.exp: Ditto.
5173 * gdb.c++/derivation.exp: Ditto.
5174 * gdb.c++/local.exp: Ditto.
5175 * gdb.c++/namespace.exp: Ditto.
5176 * gdb.c++/overload.exp: Ditto.
5177 * gdb.c++/ref-types.exp: Ditto.
5178
44097287
FN
51792000-11-22 Michael Chastain <chastain@redhat.com>
5180
5181 * mips_pro.exp: Accept either "middle -> top -> main" or
5182 "middle -> main" in the backtrace, because gcc can optimize
5183 tail calls to jumps. Remove setup_xfail for the hppa case.
5184 Add a comment with the original warning messages from PR 3016,
5185 which was filed in 1993, to preserve them for posterity.
5186
9d2e1bab
ND
51872000-11-17 Nick Duffek <nsd@redhat.com>
5188
5189 * lib/gdb.exp (gdb_test): Override timeout with board info.
5190
1aca8eb7
ND
51912000-11-17 Nick Duffek <nsd@redhat.com>
5192
5193 * gdb.base/display.exp: Don't kill running stub. Add "again" to
5194 the second kill and detach messages.
5195
93076499
ND
51962000-11-17 Nick Duffek <nsd@redhat.com>
5197
5198 * configure.in: Add AC_EXEEXT.
5199 * configure: Regenerate.
5200 * Makefile.in (just-check): Export EXEEXT.
5201 * lib/gdb.exp ($EXEEXT): Import from environment.
5202 * gdb.base/maint.exp: Expect $EXEEXT in executable name. Don't
5203 expect "maint dump-me" on Cygwin.
5204 * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
5205 $EXEEXT.
5206
30e87cd3
ND
52072000-11-17 Nick Duffek <nsd@redhat.com>
5208
5209 * gdb.base/break.exp: Test backtrace and finish from called
5210 function on all platforms, not just HP-UX.
5211
dc96c6c7 52122000-11-03 Michael Snyder <msnyder@cygnus.com>
08e706b1
MS
5213
5214 * config/monitor.exp (gdb_target_cmd): Abstracts some of the
5215 code from gdb_target_monitor, so it can be used independantly
5216 for gdbserver. Also comment out an unnecessary PUTS.
d63a86f8 5217
dc96c6c7 52182000-11-03 Michael Snyder <msnyder@cygnus.com>
958a4e4c
MS
5219
5220 * gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
5221 * gdb.base/corefile.exp: Expect the message "Program is being
5222 debugged already" when we send the "corefile" command, since
5223 the preceeding gdb_load may have connected gdb to a remote target.
5224 * gdb.base/display.exp: Disable hardware watchpoints if new
5225 board info variable "no_hardware_watchpoints" is true.
5226 Replace single-letter commands with more readable ones.
5227 * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
5228 if new board info variable "no_hardware_watchpoints" is true.
5229 * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
5230 to see if stdio (printf) testing is possible.
5231 * gdb.base/watchpoint.exp: Disable hardware watchpoints if new
5232 board info variable "no_hardware_watchpoints" is true. Use new
5233 proc "gdb_skip_stdio_tests" to see if printf tests are possible.
5234
39124dea
FN
52352000-11-13 Fernando Nasser <fnasser@redhat.com>
5236
5237 From Orjan Friberg <orjanf@axis.com>:
5238 * gdb.base/printcmds.exp: Escape curly braces followed by a number
5239 in array print pattern match.
5240
a9e2e984
FN
52412000-11-09 Fernando Nasser <fnasser@redhat.com>
5242
5243 * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
5244 spelling "cancelled" to U.S. spelling "canceled" to match changes
5245 made to gdb.
5246 * gdb.c++/ovldbreak.exp: Ditto.
5247
c7db355b
PS
52482000-11-06 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
5249
5250 * gdb.base/callfuncs.c (main): Moved to end of file, call
5251 t_double_values to initialize the FPU before inferior calls are made.
5252 * gdb.base/callfuncs.exp: Test for register preservation after calling
5253 inferior functions. Add tests for continuining, finishing and
5254 returning from a stop in a call dummy.
5255
dc96c6c7 52562000-10-24 Michael Snyder <msnyder@cygnus.com>
42f5c13f
MS
5257
5258 * gdb.base/commands.exp: Break up long lines, and re-indent.
5259
dc96c6c7 52602000-10-19 Michael Snyder <msnyder@cygnus.com>
ae0323a8
MS
5261
5262 * config/gdbserver.exp: Rewritten from the ground up, to make it
5263 compatible with the current dejagnu tree, and to make it work with
5264 the new "gdbserver" in libremote.
5265
dc96c6c7 52662000-10-16 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
5267
5268 * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
5269 * gdb.base/varargs.exp: Skip entire test if no printf support.
5270 * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
5271 * gdb.base/shlib-call.exp: Skip several tests if no printf support.
5272
dc96c6c7 52732000-10-13 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
5274
5275 * lib/gdb.exp (gdb_skip_float_test): New proc. Skip test if
5276 no floating point support.
5277 (gdb_skip_stdio_test): New proc. Skip test if no stdio support.
5278 * gdb.base/call-ar-st.exp: Use above procs to skip tests.
5279 * gdb.base/call-rt-st.exp: Ditto.
5280 * gdb.base/call-strs.exp: Ditto.
5281
bac5fc66
JG
52822000-08-02 Jimmy Guo <guo@hpcleara.cup.hp.com>
5283
5284 * gdb.base/sizeof.c: include <stdio.h>.
5285
5286 * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
5287 'finish', otherwise uncaptured gdb_prompt would potentially
5288 throw remaining test points out of sync.
5289
b22a6027
SB
52902000-07-26 Scott Bambrough <scottb@netwinder.org>
5291
5292 * gdb.base/recurse.exp: Run tests for all targets.
5293 * gdb.base/so-impl-ld.exp: Added wildcard to handle the
5294 gnu-oldld case on ARM.
5295 * gdb.base/watchpoint.exp (test_stepping): Clear xfail
5296 for ARM targets.
d63a86f8 5297
d8231941
AG
5298Mon Jul 24 07:46:02 CDT 2000 Clinton Popetz <cpopetz@cygnus.com>
5299
5300 * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
5301 * gdb.java/configure: Rebuild.
5302
8caabe69
AG
5303Sun Jul 23 21:42:34 2000 Anthony Green <green@redhat.com>
5304
5305 * gdb.java/jv-exp.exp: New file.
5306
9d273ca3
AG
5307Sun Jul 23 21:02:42 2000 Anthony Green <green@redhat.com>
5308
5309 * configure: Rebuilt.
5310 * configure.in (configdirs): Add gdb.java.
5311 * gdb.java/jmisc.java: New file.
5312 * gdb.java/jmisc.exp: New file.
5313 * gdb.java/Makefile.in: New file.
5314 * gdb.java/configure: Rebuilt.
5315 * gdb.java/configure.in: New file.
5316 * lib/java.exp: New file.
5317
4f823a66
AC
5318Wed Jul 12 18:14:29 2000 Andrew Cagney <cagney@b1.cygnus.com>
5319
5320 * gdb.base/exprs.exp: Test casts to a pointer including over and
5321 underflow.
5322
2391e11d
AC
5323Thu Jul 13 11:52:53 2000 Andrew Cagney <cagney@b1.cygnus.com>
5324
5325 * gdb.base/sizeof.exp, gdb.base/sizeof.c: New files. Compare GDB
5326 and the compilers sizes.
5327
54602222
ND
53282000-07-09 Nick Duffek <nsd@redhat.com>
5329
5330 * gdb.c++/misc.cc (class ClassParam, class_param): Define.
5331 (use_methods): New function.
5332 (main): Call use_methods().
5333 * gdb.c++/classes.exp (test_method_param_class): New procedure.
5334 (do_tests): Call test_method_param_class.
5335
2bec0572
ND
53362000-07-09 Nick Duffek <nsd@redhat.com>
5337
5338 * gdb.c++/classes.exp (test_nonexistant_members): Fix name
5339 spelling.
5340 (test_enums): New procedure. Move enum tests from end of script
5341 to here. Set breakpoint on function name instead of line number.
5342 * gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
5343 (enums2): New marker function.
5344 (enums1): New function.
5345 (main): Call enums1(). Move enum tests to enums1().
5346
78492fde
AC
5347Tue Jul 4 03:43:49 2000 Andrew Cagney <cagney@b1.cygnus.com>
5348
5349 * gdb.asm/asm-source.exp: Use raw AS/LD instead of CC to
5350 compile/link program. Update line numbers.
5351 * gdb.asm/d10v.inc: Define ``startup''.
5352 * gdb.asm/asmsrc1.s: Add definition of _start.
d63a86f8 5353
49a2cef8
AC
5354Fri Jun 23 17:45:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
5355
5356 * gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
5357
3e6c8688
EZ
53582000-06-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5359
5360 * gdb.base/maint.exp: Add 'maint print architecture' item to output
5361 of 'help maint print' command.
5362
9ff5cbe9
AC
5363Fri Jun 16 18:22:05 2000 Andrew Cagney <cagney@b1.cygnus.com>
5364
5365 * gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
5366 they use gdb_expect_list.
5367
17c579bd
AC
5368Wed Jun 7 13:02:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
5369
5370 * gdb.base/commands.exp: Use ``set remote
5371 memory-read-packet-size'' instead of ``set endian big'' to test
5372 long commands.
5373
e6d71bf3
DB
53742000-06-03 Daniel Berlin <dan@cgsoftware.com>
5375
5376 * gdb.c++/templates.exp (do_tests): Make all of these work under
d63a86f8 5377 g++, and stop skipping them.
e6d71bf3
DB
5378
5379 * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
5380 work under g++.
5381
d63a86f8 5382 * gdb.c++/misc.cc: Fix ambiguous initialization with correct
e5f9ba7b
MS
5383 initialization.
5384
dc96c6c7 53852000-06-02 Michael Snyder <msnyder@cygnus.com>
7346e70f
MS
5386
5387 * gdb.base/annota1.exp (run until main breakpoint): Loosen up
5388 the regular expression: accept an (almost) arbitrary sequence of
5389 "frames-invalid" and "breakpoints-invalid" messages both before
5390 and after the "starting" message.
5391
dc96c6c7 53922000-06-02 Michael Snyder <msnyder@cygnus.com>
e5f9ba7b
MS
5393
5394 * gdb.c++/local.exp: This test has never been known to work with g++.
e6d71bf3 5395
dc96c6c7 53962000-05-18 Michael Snyder <msnyder@cygnus.com>
0a791409
MS
5397
5398 * gdb.base/annota1.exp (annotate-signal-handler-caller):
5399 Relax the regular expression a little, make it pass on Solaris 8.
5400
8216cda9
KB
54012000-05-12 Kevin Buettner <kevinb@redhat.com>
5402
5403 * gdb.base/step-test.exp: On IA-64 targets, when stepping out of
d63a86f8 5404 a call, do not require that gdb stop on the line after the call.
8216cda9
KB
5405 Instead, it is permissible for gdb to stop on the line of the
5406 call itself.
5407
1a570b2f
MS
54082000-05-12 Michael Snyder <msnyder@.cygnus.com>
5409
5410 * gdb.base/break.exp (bp on small function, optimized file):
5411 Add a second pass pattern. The behavior differs here between stabs
5412 and dwarf for one-line functions. Stabs preserves two line symbols
5413 (one before the prologue and one after) with the same line number,
5414 but dwarf regards these as duplicates and discards one of them.
5415 Therefore the address after the prologue (where the breakpoint is)
5416 has no exactly matching line symbol, and GDB reports the breakpoint
5417 as if it were in the middle of a line rather than at the beginning.
5418
dc96c6c7 54192000-05-08 Michael Snyder <msnyder@cygnus.com>
89cb06a2 5420
d63a86f8 5421 * gdb.base/interrupt.exp: Make "pass" message say "send"
89cb06a2
MS
5422 rather than "send_gdb" (for consistancy).
5423
7d418785
AC
5424Mon May 1 15:37:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
5425
5426 From 2000-04-28 Andreas Jaeger <aj@suse.de>:
5427 * gdb.c++/templates.cc: Properly check for GCC version number.
5428 * lib/compiler.cc: Likewise
5429
dc96c6c7 54302000-04-28 Michael Snyder <msnyder@cygnus.com>
e919ea79 5431
d63a86f8 5432 * gdb.base/break.exp: When compiled with -O2 optimization,
e919ea79
MS
5433 gdb may not stop at the first line of main, due to code motion.
5434
dc96c6c7 54352000-04-26 Michael Snyder <msnyder@cygnus.com>
1960c400
MS
5436
5437 * gdb.base/call-ar-st.exp: Bail out if target is sparclet.
5438 This test depends on parsing the printf output from the target.
5439 Since the sparclet stub doesn't do stdio, this will never work.
5440 * gdb.base/call-rt-st.exp: ditto.
5441 * gdb.base/call-strs: ditto.
5442
dc96c6c7 54432000-04-24 Michael Snyder <msnyder@cygnus.com>
b84b7669
MS
5444
5445 * gdb.base/miscexprs.exp: make sizeof long array test portable.
5446
5447 * gdb.base/ending-run.exp: After connecting to a remote target,
5448 but before running, the target will appear to be in a random
5449 location. Specify both a file and a line for breakpoints.
5450 Also, the function that calls main may be called 'init'
5451 rather than 'start'.
5452
a5a51225
EZ
54532000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5454
5455 * gdb.base/help.exp: Update output for add-symbol-file command.
5456
7930cc7c
FN
54572000-04-10 Fernando Nasser <fnasser@cygnus.com>
5458
5459 From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
5460 * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
5461
23e37ab1
C
54622000-04-07 J.T. Conklin <jtc@redback.com>
5463
e93c542c
C
5464 * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
5465
23e37ab1
C
5466 * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
5467
591b8fa3
PDM
5468Thu Mar 30 13:26:19 2000 Philippe De Muyter <phdm@macqel.be>
5469
5470 * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
5471 values that can be represented exactly.
5472 * gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
5473 above change, and to not check against the directory part of the source
5474 file name.
5475 (step into print_long_arg_list): Likewise.
5476 (print print_small_structs from print_long_arg_list): Likewise.
5477 (print print_long_arg_list): Likewise.
5478
7a495180
EZ
54792000-03-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5480
30b53638 5481 * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
7a495180 5482
beb998c6
AC
5483Mon Mar 27 14:46:37 2000 Andrew Cagney <cagney@b1.cygnus.com>
5484
5485 * ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
5486
1c689132
DB
54872000-03-25 Daniel Berlin <dan@cgsoftware.com>
5488
5489 * gdb.base/commands.exp (deprecated_command_test): Add test for
5490 deprecate with no arguments.
5491
c1790a9d
JL
54922000-03-24 Jonathan Larmour <jlarmour@redhat.co.uk>
5493
5494 * gdb.base/break.exp: Add new test for setting breakpoints on
5495 optimized code so we can test breakpoints work even when function
5496 prologues may be optimized away
5497
003ba290
FN
54982000-03-23 Fernando Nasser <fnasser@totem.to.cygnus.com>
5499
5500 From David Whedon <dwhedon@gordian.com>
5501 * gdb.base/commands.exp : Added command deprecator tests.
5502
6837a0a2
DB
55032000-03-22 Daniel Berlin <dan@cgsoftware.com>
5504
5505 * gdb.base/help.exp: Added test for new apropos command.
5506
b9593231
KB
55072000-03-21 Kevin Buettner <kevinb@redhat.com>
5508
5509 * gdb.base/pointers.c (usevar): New function.
5510 (main): Make sure that global variables v_int_pointer2, rptr,
5511 and y are all referenced someplace in the program by calling
5512 usevar() on them. [Some linkers delete symbols which are
5513 never referenced. The space remains, but there's no way to
5514 get a (symbolic) handle on the variable from the debugger.]
5515
751a959b
EZ
55162000-03-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5517
5518 * gdb.base/printcmds.c: Add typedeffed arrays.
5519
5520 * gdb.base/printcmds.exp (test_print_typedef_arrays): New
5521 procedure to test arrays that are typedef'd.
5522
73a93a32
JI
55232000-03-13 James Ingham <jingham@leda.cygnus.com>
5524
5525 * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
d63a86f8 5526 the library directories.
73a93a32 5527
fb40c209
AC
5528Mon Feb 21 13:05:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
5529
5530 * configure.in (configdirs): Add sub directory gdb.mi.
5531 * configure: Re-generate.
5532
5533 * gdb.mi: New directory.
d63a86f8 5534
ee4dd2c9
AC
55352000-02-25 Scott Bambrough <scottb@netwinder.org>
5536
5537 * gdb.base/long_long.exp: Correct test suite failure when printing
5538 a long long value as a double on ARM platforms.
5539
70f0cc22
JB
55402000-02-16 Jim Blandy <jimb@redhat.com>
5541
5542 * gdb.base/break.exp ("breakpoint line number"): Make sure the
5543 default source file is set properly before running this test.
5544
853819b8
EZ
55452000-02-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5546
5547 * lib/gdb.exp: Tell the testsuite that now gdbtk is in the
5548 gdbtk/library directory, not in gdbtcl2.
5549
dfcd3bfb
JM
55502000-02-04 Jim Blandy <jimb@redhat.com>
5551
5552 * gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
5553 backslash from regexp pattern.
5554
5555 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): New
5556 procedure. Use it to run all the "continue to bp overloaded"
5557 tests. Note that this changes the names of the tests slightly.
5558 If the breakpoint hit message includes a hex PC value, because
5559 GCC's Dwarf 2 line info doesn't help us distinguish the prologue
5560 from the real source code, still consider that a pass.
5561
5562 * gdb.base/condbreak.exp ("run until breakpoint at marker2"):
5563 XFAIL here if the breakpoint message contains a hex address. Note
5564 similar change on 1999-11-02.
5565
5566 * gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
5567
5568 * gdb.base/ptype.exp: Establish a default source file before
5569 calling get_debug_format.
5570
55712000-02-03 Fernando Nasser <fnasser@totem.to.cygnus.com>
5572
5573 * gdb.base/watchpoint.exp: Remove duplication of test messages.
5574
8b93c638
JM
55752000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
5576
5577 * gdb.base/step-test.exp: Fix the steps to enter a callee by means
5578 of successive stepi commands -- while in the prologue we should see
5579 the function entry bracket.
5580
55812000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
5582
5583 * gdb.base/ending-run.exp: Add ARM in thumb mode case, where we
5584 reach __change_mode() when stepping through the end of main().
5585
c5394b80
JM
55862000-01-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
5587
5588 * gdb.base/default.exp: Fix expected pattern.
5589 * gdb.base/help.exp: Same.
5590
0d06e24b
JM
55912000-01-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5592
5593 * gdb.base/so-indr-cl.exp: Don't execute the test if not on HPUX.
5594 Don't use xfail's because that affects only the following test.
d63a86f8 5595
0d06e24b
JM
5596 * gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
5597 solaris or linux.
5598
5599 * gdb.base/selftest.exp: Update to reflect changes to main.c.
5600
dc96c6c7 56012000-01-07 Michael Snyder <msnyder@cygnus.com>
0d06e24b 5602
d63a86f8 5603 * gdb.base/display.exp: Some yacc parsers like to say
0d06e24b
JM
5604 "A syntax error" rather than "A parse error". Accept both.
5605
56062000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
5607
5608 * gdb.base/default.exp: Remove OS dependent string from "target
5609 remote" test.
5610 * gdb.base/help.exp: Same for "help target remote" test.
5611
c3f6f71d
JM
56122000-01-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5613
5614 From Jim Kingdon <kingdon@redhat.com>:
5615
5616 * gdb.c++/annota2.exp: Fix "delete bps" test to wait for the
5617 prompt (cleanup rather than necessity, but still might keep output
5618 from spilling to next test).
5619
56202000-01-02 Fred Fish <fnf@cygnus.com>
5621
5622 * gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
5623 AIX, which defines them in <sys/types.h>.
5624
ed9a39eb 56251999-12-16 Stan Shebs <shebs@andros.cygnus.com>
c4093a6a 5626
ed9a39eb
JM
5627 * gdb.base/default.exp: Match arm* etc instead of arm in "info
5628 float" test.
5629
56301999-12-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
c4093a6a 5631
ed9a39eb 5632 * gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
c4093a6a
JM
5633
5634 * gdb.base/break.exp: Add missing anchor to reg exp on "finish from
5635 outermost frame disallowed".
5636
56371999-12-09 Fernando Nasser <fnasser@totem.to.cygnus.com>
5638
5639 * gdb.base/setvar.exp: New tests for setting the value of a struct
5640 with a constant list.
5641
56421999-12-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
5643
5644 * gdb.base/setvar.exp: Remove pair os tests that expected gdb to
5645 require the user to type a cast before setting the value of a struct.
5646
de57eccd
JM
56471999-12-06 Jim Blandy <jimb@cygnus.com>
5648
5649 * gdb.base/default.exp: Expect the new 'info float' command on
5650 all i386 platforms.
5651
5652 * gdb.threads/linux-dp.exp: Expand our ability to recognize
5653 LinuxThreads libraries that don't support debugging.
5654
c2d11a7d
JM
5655Sat Dec 4 15:21:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
5656
5657 * gdb.base/remote.c: Fill the buffer with truely random data.
5658 Change the buffer type to ``unsigned char'' to simplify size
5659 arithmetic.
5660
5661 * gdb.base/remote.exp: Reduce download numbers by one. Typical
5662 stub only handles 400-1 byte packets. Verify that the download
5663 worked.
5664
56651999-11-30 Fernando Nasser <fnasser@totem.to.cygnus.com>
5666
5667 * lib/gdb.exp (gdb_expect_list): FAIL only once on multiple pattern
5668 tests, using UNRESOLVED for the untested cases. Also, does not wait
5669 for a timeout if the prompt was received before a recognizable pattern.
5670
56711999-11-29 Fernando Nasser <fnasser@totem.to.cygnus.com>
5672
5673 * lib/gdb.exp (gdb_expect_list): Fix spelling.
5674
56751999-11-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5676
5677 * gdb.base/watchpoint.exp: Add tests cases for the hit count of
5678 watchpoints.
5679
56801999-11-24 Jason Merrill <jason@casey.cygnus.com>
5681
5682 * gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
5683
5684 * gdb.c++/local.exp: Be more flexible in recognizing local class
5685 name mangling. Don't allow horribly truncated method names.
5686 * gdb.c++/derivation.exp: Expect protected inheritance.
5687 * gdb.c++/inherit.exp: Be more flexible in recognizing vbase pointers.
5688 * gdb.c++/virtfunc.exp: Likewise.
5689 * gdb.c++/classes.exp: Likewise. Don't require the enclosing scope
5690 when printing a nested enum.
5691
56921999-11-22 Jim Blandy <jimb@cygnus.com>
5693
5694 * gdb.base/step-test.exp: Properly await GDB's response to setting
5695 a breakpoint on the call to large_struct_by_value.
5696
5697 * gdb.base/ending-run.exp ("step to end of run 1"): Don't fail
5698 just because we have debug info for the `start' function.
5699
57001999-11-19 Jim Blandy <jimb@zenia.red-bean.com>
5701
5702 * gdb.threads/linux-dp.exp ("create philosopher"): Recognize the
5703 "Unknown signal" messages, which indicate (on LinuxThreads) that
5704 GDB doesn't know how to debug threads on this system. This is
5705 better than hanging while philosopher 0 dumps chatter into gdb.log.
5706
57071999-11-18 Tom Tromey <tromey@cygnus.com>
5708
5709 * gdb.trace/deltrace.exp: Updated test to reflect new error text.
5710
57111999-11-18 Fred Fish <fnf@cygnus.com>
5712
5713 * gdb.base/coremaker2.c: Add sample program for generating
5714 cores that is more self contained than coremaker.c. Eventually
5715 I'll add more code to this and tie it into the testsuite.
5716
4ce44c66
JM
57171999-11-12 Stan Shebs <shebs@andros.cygnus.com>
5718
5719 * gdb.base/dollar.exp: Remove, now in gdb.hp.
5720
57211999-11-10 Jimmy Guo <guo@cup.hp.com>
5722
5723 * gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
5724 from $srcdir/lib/.
5725 * lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
5726 and gdb.c++/.
5727
5728 * gdb.c++/derivation.exp: remove redundant get compiler info code.
5729
d63a86f8 5730 * gdb.base/commands.exp: add '$gdb_prompt $' anchor to
4ce44c66
JM
5731 'continue with watch' test point.
5732
57331999-11-08 Jim Blandy <jimb@zenia.red-bean.com>
5734
5735 Merged from p2linux-990323-branch:
d63a86f8 5736
4ce44c66
JM
5737 * lib/gdb.exp (gdb_continue_to_breakpoint): New function.
5738
11cf8741
JM
5739Mon Nov 8 23:07:09 1999 Andrew Cagney <cagney@amy.cygnus.com>
5740
5741 * gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
5742 {limit,fixed}''. Test ``set download-write-size''.
5743
5744Sun Nov 7 17:37:01 1999 Andrew Cagney <cagney@b1.cygnus.com>
5745
5746 * gdb.base/funcargs.exp: Rewrite stack traceback checks using
5747 gdb_expect_list.
5748
5749Fri Nov 5 18:40:52 1999 Andrew Cagney <cagney@b1.cygnus.com>
5750
5751 * lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
5752
57531999-11-03 Mark Salter <msalter@cygnus.com>
5754
5755 * gdb.base/break.exp: Fix "stub continue" pattern.
5756
57571999-11-03 Jim Blandy <jimb@zwingli.cygnus.com>
5758
5759 * gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
5760
57611999-11-02 Jim Blandy <jimb@zwingli.cygnus.com>
5762
5763 * gdb.base/display.exp ("finish"): Add timeout clause.
5764
5765 * gdb.base/condbreak.exp ("run until breakpoint at marker1"): Add
5766 plain prompt clause, so this doesn't have to time out in order to
5767 fail.
5768
5769 * gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
5770 breakpoint hit messages include an address.
5771
5772 * gdb.base/display.exp: Don't forget to escape parens in regular
5773 expressions. Unix regexp notatation sucks.
5774
57751999-11-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5776
5777 * gdb.base/annota1.exp: Test for annotate-signalled: change output
5778 order for 'signalled' message.
5779
5c44784c
JM
57801999-11-01 Stan Shebs <shebs@andros.cygnus.com>
5781
5782 From Jimmy Guo <guo@cup.hp.com>:
5783 * gdb.base/annota1.exp: Add tests for annotate ignore count change.
5784 * gdb.base/annota1.c: Add code for tests to work with.
5785
57861999-10-26 Frank Ch. Eigler <fche@cygnus.com>
5787
5788 * gdb.base/remote.exp: New test for remote downloading settings.
5789 * gdb.base/remote.c: New file with large .data.
5790
917317f4
JM
57911999-10-18 Jim Blandy <jimb@zwingli.cygnus.com>
5792
5793 * gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
5794 for LinuxThreads support, merged from the Code Fusion branch.
5795
5796Mon Oct 11 13:57:21 1999 Andrew Cagney <cagney@amy.cygnus.com>
5797
5798 * lib/gdb.exp (gdb_run_cmd): Break complicated gdb_expect
5799 containing exp_continue into a while within an expect. Don't
5800 attempt a start more than three times. Check return value from
5801 gdb_load.
d63a86f8 5802
2df3850c
JM
5803Wed Oct 6 12:05:58 1999 Andrew Cagney <cagney@b1.cygnus.com>
5804
5805 * gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
5806 a pass case.
5807
2acceee2
JM
58081999-10-01 Kevin Buettner <kevinb@cygnus.com>
5809
5810 * gdb.base/break.c (main): Added a statement that we can step
5811 off of.
5812 * gdb.base/break.exp: Added tests for setting a breakpoint
5813 at an offset and stepping onto a breakpoint.
5814
58151999-10-01 Fred Fish <fnf@cygnus.com>
5816
d63a86f8 5817 * gdb.base/help.exp (help add-symbol-file): Update to match current
2acceee2
JM
5818 gdb output.
5819
c2c6d25f
JM
58201999-09-18 Jim Blandy <jimb@cris.red-bean.com>
5821
5822 * gdb.base/break.exp: Code locations are in hex, don't forget!
5823 (For HP-UX.)
5824
58251999-09-17 Stan Shebs <shebs@andros.cygnus.com>
5826
5827 * condbreak.exp: Use break.c as test program.
5828 * condbreak.c: Remove, redundant with break.c.
5829
58301999-09-15 Stan Shebs <shebs@andros.cygnus.com>
5831
5832 * config/monitor.exp (gdb_target_monitor): Disable X- and
5833 Z-packets if the target needs it.
5834
58351999-09-13 James Ingham <jingham@leda.cygnus.com>
5836
5837 * gdb.c++/overload.exp: Added tests for listing overloaded
5838 functions with function pointers in the arg, explicitly calling
5839 out the version you want.
5840
cff3e48b
JM
58411999-09-09 Stan Shebs <shebs@andros.cygnus.com>
5842
5843 * long_long.exp: Add variations of test cases that work for
5844 targets with 16-bit ints and 32-bit doubles.
5845
d4f3574e
SS
58461999-09-08 Stan Shebs <shebs@andros.cygnus.com>
5847
5848 * break.c (main): Compare a possibly-uninitialized argc with an
5849 unlikely value that fits in 16 bits.
5850
58511999-09-07 Stan Shebs <shebs@andros.cygnus.com>
5852
5853 * gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
5854 0xfeeb, don't want negative numbers if ints are 16 bits.
5855
5856 * lib/gdb.exp (skip_cplus_tests): New proc.
5857 * gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
5858 gdb.c++/anon-union.exp, gdb.c++/classes.exp,
5859 gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
5860 gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
5861 gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
5862 gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
5863 gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
5864 gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
5865
5866 * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
5867
5868Fri Sep 3 15:37:12 1999 Kevin Buettner <kevinb@cygnus.com>
5869
5870 * gdb.base/corefile.exp (up): Allow a parameter to appear
5871 in the frame that we're going up to.
5872
5873 From Jim Blandy <jimb@cygnus.com>:
5874
5875 * gdb.base/default.exp (info float): Expect some output now.
5876
5877 * gdb.base/callfuncs.exp (do_function_calls): We no longer expect
5878 returning floating-point values to fail on the x86.
5879 * gdb.base/callfwmall.exp (do_function_calls): Same.
5880
5881 * gdb.base/list.exp (test_listsize): Correct expectations for
5882 listing line 1 with listsize 2. Also, listing a single line
5883 works now, as does listing three lines. [Kevin's note: There
5884 were a number of other cases fixed too where the expectations
5885 differed...]
5886
58871999-09-02 Stan Shebs <shebs@andros.cygnus.com>
5888
5889 * gdb.base/selftest.exp: Add case for when version prints as
5890 constant string instead of char pointer.
5891
104c1213
JM
58921999-08-25 Stan Shebs <shebs@andros.cygnus.com>
5893
5894 * gdb.base/ending-run.exp: Add Solaris case for what happens when
5895 stepping out of main.
5896
5897 * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
5898 G++ used.
5899
5900 * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
5901 always, expect ptype InnerLocal::NestedInnerLocal to fail always.
5902
5903 * gdb.c++/ovldbreak.exp: Update match string in test that
5904 includes a warning of multiple breakpoints.
5905
59061999-08-24 Stan Shebs <shebs@andros.cygnus.com>
5907
5908 * gdb.base/display.exp: Improve precision of step-after-finish
5909 added yesterday.
5910
5911 * gdb.base/signals.exp: Add extra wildcard to "handle all print"
5912 test.
5913
5914 * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
5915 configs when using G++, not just hppa*.
5916
59171999-08-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5918
5919 * gdb.base/async.c: New file.
5920 * gdb.base/async.exp: New file.
5921
5922Tue Aug 24 03:24:53 1999 Jeffrey A Law (law@cygnus.com)
5923
5924 * gdb.base/break.exp: Tweak PA specific tests to properly handle
5925 PA64.
5926
53a5351d
JM
5927Mon Aug 23 10:25:20 1999 Jeffrey A Law (law@cygnus.com)
5928
104c1213
JM
5929 * gdb.base/display.exp: "finish" can leave us mid-line on many
5930 targets, deal with it. Add a small constant to main, instead of
5931 1000 since main+1000 may not be a valid address in the target.
5932
53a5351d
JM
5933 * gdb.base/dollar.exp: Do not run for PA processors in wide mode
5934 on hpux11.
5935
5936 * gdb.base/attach.exp: Handle another hpux11 error message variant
5937 when attaching to a process that does not exist.
5938
59391999-08-19 J.T. Conklin <jtc@redback.com>
5940
5941 * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
5942 characters in 'continue to 1241' test.
5943
59441999-08-17 Stan Shebs <shebs@andros.cygnus.com>
5945
5946 * gdb.base/call-ar-st.exp: Add a shorter match case for the
5947 stop in print_long_arg_list, define and use a whitespace
5948 variable in print_small_structs test, add an XFAIL for Solaris.
5949 * gdb.base/dbx.exp: XFAIL func commands until somebody is
5950 interested enough to fix.
5951
7be570e7
JM
59521999-08-13 Keith Seitz <keiths@cygnus.com>
5953
5954 * gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
5955 (dbx_gdb_load): Remove. Use gdb_load instead, since that
5956 proc knows about targets other than the natives.
5957 (test_assign): Use "gdb_run_cmd" to "run" the target.
5958 Check that we've actually hit the breakpoint at main.
5959 When we attempt to assign a value to a local variable, check
5960 that the variable is in the current scope, i.e., don't use
5961 a test with an empty result.
5962
5963Tue Aug 10 15:25:16 1999 Andrew Cagney <cagney@b1.cygnus.com>
5964
5965 * gdb.base/maint.exp: Add test of ``maintenance internal-error''
5966 command.
5967
59681999-08-09 Stan Shebs <shebs@andros.cygnus.com>
5969
5970 From Jimmy Guo <guo@cup.hp.com> and others at HP:
5971 gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
5972 gdb.compat, gdb.threads-hp.
5973 gdb.hp/configure, gdb.hp/configure.in: New files.
5974 gdb.hp/Makefile.in: Recurse into new subdirs.
5975 gdb.hp/gdb.defects: New directory, tests for HP bug reports.
5976 gdb.hp/gdb.objdbg: New directory, tests for debugging info
5977 in object files.
5978 gdb.hp/tools: New directory, aux tools for HP-specific tests.
5979
96baa820
JM
59801999-08-05 Stan Shebs <shebs@andros.cygnus.com>
5981
5982 * gdb.base/display.exp: Help expect by putting a newline in the
5983 funky printf, remove a bogus p/a test.
5984
59851999-08-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5986
5987 * gdb.base/display.exp: Make sure that when we say 'run', we are
5988 connected to the target. This is necessary when running not
5989 natively.
5990
59911999-08-03 Stan Shebs <shebs@andros.cygnus.com>
5992
5993 * gdb.base/step-test.exp: Removed some extraneous messages.
5994
5995 * gdb.base/long_long.exp: Don't run memory examination tests
5996 on little-endian targets (they will need a different set of
5997 results to match).
5998
59991999-08-02 Stan Shebs <shebs@andros.cygnus.com>
6000
6001 * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
6002 until somebody decides to fix GDB.
6003
6004 * gdb.base/long_long.c: Stop compiler complaint by specifying long
6005 constant as "ULL".
6006 * gdb.base/long_long.exp: Loosen x/c test, add partial result
6007 matches for a couple x/2 commands.
6008
a0b3c4fd
JM
60091999-07-30 Stan Shebs <shebs@andros.cygnus.com>
6010
6011 * gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
6012 by merging in ref-types2 tests.
6013 * gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
6014
6015 From Jimmy Guo <guo@cup.hp.com> and others at HP:
6016 * gdb.c++/Makefile.in: Add standard actions.
6017 (EXECUTABLES): Rename from PROGS, update list.
6018 * gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
6019 from gdb.hp.
6020 * gdb.c++/anon-union.cc: Don't use anonymous struct, make
6021 foo and bar locals.
6022 * gdb.c++/anon-union.exp: Fix tests to match.
6023 * gdb.c++/classes.exp: Run if HP compiler used, add extra
6024 expect matches to handle output variations.
6025 * gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
6026 * gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
6027 output, add HP alternatives for new and delete prints.
6028 * gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
6029 gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
6030 * gdb.c++/demangle.exp: Use $style when reporting failure.
6031 * gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
6032 * gdb.c++/inherit.exp: Run if HP compiler used, add some
6033 match alternatives.
6034 * gdb.c++/local.exp: Add match alternatives or xfails for HP
6035 compilers.
6036 * gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
6037 * gdb.c++/method.exp: Add match alternatives.
6038 * gdb.c++/misc.cc: Add bool types.
6039 * gdb.c++/misc.exp: Add tests for bool types.
6040 * gdb.c++/overload.exp: Add xfails.
6041 * gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
6042 * gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
6043 add some more template parameter tests (only for HP currently).
6044 * gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
6045 * gdb.c++/virtfunc.cc: Add return type and value for main.
6046 * gdb.c++/virtfunc.exp: Run if HP compiler used, add some
6047 match alternatives.
d63a86f8 6048
a0b3c4fd
JM
60491999-07-30 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
6050
6051 * gdb.base/display.exp: Fix output of 'p/a &&j' test.
6052
60531999-07-29 Jim Blandy <jimb@savonarola.red-bean.com>
6054
6055 * gdb.base/signals.exp: Don't expect getting a backtrace from
6056 within a signal handler to fail on Linux.
6057
60581999-07-29 Stan Shebs <shebs@andros.cygnus.com>
6059
6060 From Jimmy Guo <guo@cup.hp.com> and others at HP:
6061 * lib/gdb.exp: Remove some gratuitious semicolons.
6062 (delete_breakpoints): Increase timeout.
6063 (gdb_expect): Add -notransfer option.
6064 (gdb_test): Use -notransfer option.
6065 (get_compiler_info): Add f77 case.
6066 (get_compiler): New proc, split out from gdb_preprocess, add f77
6067 case.
6068 (gdb_preprocess): Call get_compiler.
6069
6070 * gdb.base/Makefile.in (EXECUTABLES): Update the list.
6071 * gdb.base/attach.exp, gdb.base/display.exp,
6072 gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
6073 gdb.base/long_long.exp, gdb.base/printcmds.exp,
6074 gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
6075 third arg to gdb_test.
6076 * gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
6077 * gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
6078 HP-UX xfails, add others.
6079 * gdb.base/completion.exp: Reflect name change of self-test.
6080 * gdb.base/condbreak.exp, gdb.base/corefile.exp,
6081 gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
6082 gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
6083 HP failure number.
6084 * gdb.base/foll-vfork.exp: Loosen matches slightly, remove
6085 useless HP-UX 10.30 references.
6086 * gdb.base/maint.exp: Loosen matches.
6087 * gdb.base/pointers.c (main): Declare more_code.
6088 * gdb.base/pointers.exp: Match on output of a `next'.
6089 * gdb.base/structs.c: Add prototypes.
6090 * gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
6091 * gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
6092
60931999-07-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
6094
6095 * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
6096 command.
6097
60981999-07-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
6099
6100 * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
6101 Fix run to main failures. Watchpoint can be hardware watchpoint.
d63a86f8
RM
6102
6103 * gdb.base/annota1.exp: Clean up some more, in case printf has
a0b3c4fd
JM
6104 debug info. Deal with lack of signal hanlder info in stack.
6105
6106 From Jim Kingdon <kingdon@redhat.com>:
6107 * gdb.base/annota1.exp: If printf has debug info, deal with it.
6108
5a2468f5
JM
61091999-07-19 Stan Shebs <shebs@andros.cygnus.com>
6110
6111 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
6112 gdb.base/foll-vfork.exp: Don't run for crosses.
6113
adf40b2e
JM
6114Tue Jul 13 23:37:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
6115
6116 * gdb.base/configure.in: Check for gdbvars.exp instead of
6117 a1-selftest.exp.
6118 * gdb.base/configure: Re-generate.
6119
61201999-07-12 Stan Shebs <shebs@andros.cygnus.com>
6121
6122 * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
6123 in trying to run first and name is too long.
6124
6125 * gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
6126 pointers2.c and pointers2.exp, respectively.
6127 * gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
6128 doschk happier.
6129
43e526b9
JM
61301999-07-08 Stan Shebs <shebs@andros.cygnus.com>
6131
6132 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
6133 callfuncs2.c and callfuncs2.exp.
6134
6135 * gdb.base/list.exp: Remove mistaken xfails.
6136 * gdb.base/list0.h: Add optional prototypes.
6137
9846de1b
JM
6138Wed Jul 7 00:27:35 1999 Andrew Cagney <cagney@amy.cygnus.com>
6139
6140 * gdb.base/setvar.exp: Increase the time-out on tests indirectly
6141 calling malloc.
6142 * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
6143 * ptype.exp: Move test for get_debug_format to before its first
6144 use.
6145
61461999-07-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
6147
6148 * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
6149 * gdb.base/annota2.cc, annota2.exp: Move from here.
6150 * gdb.c++/annota2.cc, annota2.exp: To here.
6151 * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
6152
43ff13b4
JM
6153Tue Jun 29 11:56:06 1999 Andrew Cagney <cagney@b1.cygnus.com>
6154
6155 * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
6156 a consistent format.
6157
085dd6e6
JM
61581999-06-25 Stan Shebs <shebs@andros.cygnus.com>
6159
6160 From Jimmy Guo <guo@cup.hp.com> and others at HP:
6161 * lib/gdb.exp (get_compiler_info): Add detection for assorted
6162 HP compilers, also set the globals $true and $false.
6163
6164 * gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
6165 call-rt-st.c, call-strs.c, callfuncs.c, callfuncs2.c, condbreak.c,
6166 coremaker.c, ending-run.c, exprs.c, funcargs.c, interrupt.c,
6167 jump.c, langs0.c, langs1.c, langs2.c, list0.c, list1.c,
6168 long_long.c, mips_pro.c, nodebug.c, opaque0.c, opaque1.c,
6169 printcmds.c, ptype.c, recurse.c, restore.c, return.c, run.c,
6170 scope0.c, scope1.c, setshow.c, setvar.c, shmain.c, shr1.c, shr2.c,
6171 sigall.c, signals.c, so-impl-ld.c, so-indr-cl.c, solib.c,
6172 solib1.c, solib2.c, step-test.c, twice.c, varargs.c, watchpoint.c,
6173 whatis.c} Add C++ compatible function definitions and return
6174 types, add includes for library functions.
6175 * gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
6176 * gdb.base/step-test.c (myglob): Rename from glob.
6177 * gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
6178 foll-exec.c, foll-fork.c, foll-vfork.c, sum.c, vforked-prog.c: New
6179 files, move here from gdb.hp.
6180 * gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
6181 commands.exp, condbreak.exp, define.exp, ena-dis-br.exp,
6182 ending-run.exp, jump.exp. list.exp, long_long.exp, so-impl-ld.exp:
6183 Adjust line numbers in regexps.
6184
6185 * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
6186 miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
6187 instead of 0/1.
6188
6189 * gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
6190 foll-vfork.exp: New files, move here from gdb.hp.
6191 * gdb.base/page.exp: New file, test of pagination command.
6192
6193 * gdb.base/watchpoint.c (recurser): New function, for watchpoint
6194 recursion test.
6195 * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
6196
6197 * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
6198 gdb.base/solib.exp: Fix compiler invocation process.
6199
6200 * gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
6201 HP-UX 11, turn off overload resolution explicitly.
6202 * gdb.base/commands.exp: Set argument list explicitly, add
6203 watchpoint test.
6204 * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
6205 them work.
6206 * gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
6207 expressions properly.
6208 * gdb.base/corefile.exp: Loosen the match slightly.
6209 * gdb.base/default.exp: Allow "Error accessing memory" message
6210 also.
6211 * gdb.base/display.exp: Skip over x/0 j if PA64.
6212 * gdb.base/funcargs.exp: Add xfails for HP-UX.
6213 * gdb.base/interrupt.exp: Ditto.
6214 * gdb.base/langs.exp: Add symbolic matches governed by compiler
6215 in use.
6216 * gdb.base/list.exp: Add xfails for HP-UX.
6217 * gdb.base/long_long.exp: Refine some of the numeric matches.
6218 * gdb.base/mips_pro.exp: Xfail on HP-UX.
6219 * gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
6220 * gdb.base/nodebug.exp: Succeed on more varieties of output.
6221 * gdb.base/opaque.exp: Remove some HP-UX xfails.
6222 * gdb.base/ptype.exp: Succeed on more varieties of output.
6223 * gdb.base/scope.exp: Add xfails for HP-UX.
6224 * gdb.base/sect-cmd.exp: Add more cases.
6225 * gdb.base/setvar.exp: Add xfails for HP-UX.
6226 * gdb.base/shlib-call.exp: Loosen some matches slightly.
6227 * gdb.base/signals.exp: Match on void symbolically.
6228 * gdb.base/step-test.exp: Add case for PA64.
6229 * gdb.base/term.exp: Add exit and restart.
6230 * gdb.base/twice.exp: Clean up after self.
6231 * gdb.base/varargs.exp: Disable overload resolution explicitly.
6232 * gdb.base/whatis.exp: Allow more ways to pass tests.
6233
6234 * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
6235 no longer useful.
6236
6237Fri Jun 25 19:27:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
6238
6239 * lib/gdb.exp (proc gdb_expect_list): New procedure. Matches a
6240 list of patterns.
6241 * gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
6242 print_double_array(double_array)", "continuing to breakpoint
6243 1018", "print print_double_array(array_d)" and "continuing to
6244 1034" tests.
d63a86f8 6245
085dd6e6
JM
62461999-06-24 Jason Molenda (jsm@bugshack.cygnus.com)
6247
6248 * Makefile.in: Add empty html and install-html targets.
6249
62501999-06-24 Stan Shebs <shebs@andros.cygnus.com>
6251
6252 * config/mt-*: Remove, these haven't been used since 1996.
6253
62541999-06-22 Stan Shebs <shebs@andros.cygnus.com>
6255
6256 * gdb.base/call-strs.c, gdb.base/ending-run.c,
6257 gdb.base/step-test.c: Include stdlib.h and string.h as needed.
6258 * gdb.c++/member-ptr.exp: Skip over these tests if using G++.
6259
9e0b60a8
JM
62601999-06-18 Stan Shebs <shebs@andros.cygnus.com>
6261
6262 * gdb.c++/overload.exp: XFAIL everything if using G++, add a
6263 simpler match case for the ptype of the big class.
6264
62651999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
6266
6267 * gdb.exp: Fix test for gdb_prompt existence.
6268
62691999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
6270
6271 * gdb.exp (gdb_test): Add fail after calls to perror.
6272
62731999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
6274
6275 * gdb.exp (gdb_test): Accept variations of Undefined command messages.
6276
62771999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
6278
6279 * gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
6280
0f71a2f6
JM
6281Fri Jun 11 12:56:50 1999 Andrew Cagney <cagney@b1.cygnus.com>
6282
6283 * gdb.base/call-strs.c (link_malloc): New function. Ensure that
6284 malloc() is linked in.
6285
62861999-06-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
6287
6288 * gdb.base/ending-run.exp: Make sure we fail and do not timeout at
6289 step at end.
6290
6291 * gdb.base/annota1.exp: Increase match_max to prevent timeout.
6292
62931999-06-08 Jim Blandy <jimb@zwingli.cygnus.com>
6294
6295 * gdb.java/jv-print.exp: New file. (Our first Java test!)
6296
cce74817
JM
6297Fri Jun 4 10:47:46 1999 Jeffrey A Law (law@cygnus.com)
6298
6299 * gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
6300 * gdb.base/mips_pro.exp: Likewise.
6301
63021999-06-02 Keith Seitz <keiths@cygnus.com>
6303
6304 * gdb.c++/templates.cc: Change all "new" operators to throw
6305 an exception.
6306 * gdb.c++/cplusfuncs.cc: Likewise.
6307
6308 * gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
6309
6310Wed Jun 2 17:37:05 1999 Andrew Cagney <cagney@b1.cygnus.com>
6311
6312 * gdb.base/condbreak.exp: Use rerun_to_main to start the program.
6313 * gdb.base/ending-run.exp: When stepping out of main, accept a
6314 step into an arbitrary assembler file.
6315
392a587b
JM
63161999-05-20 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
6317
d63a86f8 6318 * gdb.base/annota1.exp: Allow any number of "frames-invalid" and
392a587b 6319 "breakpoint-invalid" to be printed.
d63a86f8 6320 * gdb.base/annota2.exp: Revise line number for main breakpoint. Allow any
392a587b
JM
6321 number of "frames-invalid" and "breakpoint-invalid" to be printed.
6322 * gdb.base/annota2.cc: Initialize a.x to 0.
6323
9e086581
JM
63241999-05-17 Keith Seitz <keiths@cygnus.com>
6325
6326 * gdb.base/call-ar-st.exp: Skip "print print_double_array (double_array)"
6327 when "skip_float_tests" set.
6328 Ditto for "print print_double_array(array_d)", "print print_small_structs",
6329 "print print_ten_doubles", and "step into print_long_arg_list".
6330 Don't assume we can step into "print_long_arg_list": we could step into memcpy.
6331 * gdb.base/call-rt-st.exp: Don't run float-related tests when "skip_float_tests"
6332 is set: "print print_one_double(*d1)" and "print print_two_floats(*f3)".
6333 * gdb.base/funcargs.exp: Don't run "float_and_integral_args" when
6334 "skip_float_tests" is set.
6335 * gdb.base/varargs.exp: Skip "print find_max_double(5,1.0,17.0,2.0,3.0,4.0)"
6336 when "skip_float_tests" set.
d63a86f8 6337
cd0fc7c3
SS
63381999-05-06 Keith Seitz <keiths@cygnus.com>
6339
6340 * gdb.base/annota2.cc: Include stdio.h.
6341
6342Wed May 5 17:44:31 1999 Stan Shebs <shebs@andros.cygnus.com>
6343
6344 * gdb.base/crossload.exp: Remove, this has been disabled ever
6345 since BFD stopped including all targets, and cross-GDB gets
6346 plenty of testing anyway.
6347 * gdb.base/i486-elf.u, gdb.base/m68k-aout.u, gdb.base/m68k-elf.u,
6348 gdb.base/sparc-aout.u, gdb.base/i860-elf.u, gdb.base/m68k-aout2.u,
6349 gdb.base/mips-ecoff.u, gdb.base/sparc-elf.u: Remove.
6350 * gdb.base/README: Remove, was doc for this.
6351 * gdb.base/Makefile.in (CROSS_EXECUTABLES): Remove, no longer
6352 needed.
6353
b83266a0
SS
63541999-05-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
6355
6356 * gdb.base/call-ar-st.exp: Fix one regular expression in test
6357 output.
6358
6359 * gdb.base/annota1.exp: New file. Annotation level 2 tests.
6360 * gdb.base/annota2.exp: New file. More annotation tests.
6361 * gdb.base/annota1.c: New file. Source file for annota1.exp.
6362 * gdb.base/annota2.cc: New file. Source file for annota2.exp.
6363
63641999-04-23 Angela Marie Thomas <angela@cygnus.com>
6365
6366 * config/cfdbug.exp: New file.
6367
7a292a7a
SS
63681999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
6369
6370 * gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
6371 Marcus Daniel's and Dale Hawkins's demangler crashes.
6372
6373 * gdb.c++/demangle.exp (test_gnu_style_demangling,
6374 test_lucid_style_demangling, test_arm_style_demangling,
6375 test_hp_style_demangling): Try Tom Tromey's core-dumping
6376 identifier under each demangling style.
6377
63781999-04-07 Jim Blandy <jimb@zwingli.cygnus.com>
6379
6380 * gdb.c++/demangle.exp: Include the current demangling style
6381 in all test names.
6382 (current_demangling_style): New global variable.
6383 (set_demangling_style, test_demangling_core, test_demangling,
6384 test_demangling_exact): New functions.
6385 (test_gnu_style_demangling, test_lucid_style_demangling,
6386 test_arm_style_demangling, test_hp_style_demangling): Use those,
6387 instead of calling gdb_test and gdb_test_exact directly.
6388 (catch_demangling_errors): New function, which reports errors
6389 signalled by the demangling test functions in an orderly way.
6390 (do_tests): Use catch_demangling_errors.
6391
63921999-04-06 Jim Blandy <jimb@zwingli.cygnus.com>
6393
6394 * gdb.base/signals.exp (test_handle_all_print): Use () for
6395 grouping in expressions, not {}.
6396
6397 * gdb.base/smoke.exp: Test value of x, not y. The latter isn't
6398 initialized yet.
6399
64001999-04-01 Stan Shebs <shebs@andros.cygnus.com>
6401
6402 * gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
6403 are listed.
6404
64051999-03-26 Stan Shebs <shebs@andros.cygnus.com>
6406
6407 * gdb.stabs/weird.exp: Test for CC being defined before
6408 looking at its value.
6409
64101999-03-25 Stan Shebs <shebs@andros.cygnus.com>
6411
6412 * gdb.base/call-ar-st.exp: Remove stray '#'.
6413 * gdb.base/miscexprs.exp: Allow "short" and "long" as well as
6414 "short int" and "long int".
6415 * gdb.c++/overload.cc: Cast the string added in the previous
6416 change, to mollify finicky HP compiler.
6417 * gdb.hp/reg-test.exp (testfile): Fix file name.
6418 * gdb.stabs/weird.exp: Don't try to run if HP compiler in use.
d63a86f8 6419
7a292a7a
SS
6420 * gdb.c++/misc.cc (main): Initialize obj_with_enum.
6421 * gdb.c++/classes.exp: Fix test of obj_with_enum values, allow
6422 alternate form of enum ptype.
6423
c906108c
SS
64241999-03-23 Stan Shebs <shebs@andros.cygnus.com>
6425
7a292a7a
SS
6426 * lib/gdb.exp (skip_hp_tests): Remove gcc_used argument.
6427 * gdb.hp/*.exp: Change all to run compiler probe only after
6428 passing skip_hp_tests, so as not to waste time on guaranteed
6429 failure.
6430
c906108c
SS
6431 * gdb.c++/overload.cc: Pass string instead of char addr, always
6432 init ccpfoo.
6433 * gdb.c++/templates.cc: Fix syntax error.
6434
7a292a7a
SS
6435Tue Mar 23 14:56:36 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
6436
6437 * gdb.base/commands.exp: Add test for correct position of '>'
d63a86f8 6438 when issuing the 'commands' command after a 'while' or 'if'
7a292a7a
SS
6439 command.
6440
64411999-03-18 James Ingham <jingham@cygnus.com>
6442
6443 * gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
6444
6445 * gdb.c++/method.exp: It was testing an uninitialized int on the
6446 stack and assuming it was positive.
6447
6448 * gdb.base/watchpoint.exp: Use gdb_continue_to_end.
6449
6450 * gdb.base/step-test.exp: Catch a case where finish is broken and
d63a86f8 6451 keep it from killing the rest of the tests.
7a292a7a
SS
6452 Use gdb_continue_to_end.
6453
6454 * gdb.base/sigall.exp: use gdb_continue_to_end.
6455
6456 * gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
6457
6458 * gdb.base/display.exp: use runto_main, not run.
6459
d63a86f8
RM
6460 * gdb.base/default.exp: Check for the current error message in the
6461 r abbreviation test.
7a292a7a
SS
6462 Add strongarm to the targets that know info float.
6463
d63a86f8 6464 * gdb.base/condbreak.exp: Use the gdb_run command rather than just
7a292a7a
SS
6465 run which doesn't work with monitors.
6466
6467 * gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to 1034 test.
6468
6469 * gdb.base/break.exp: use the gdb_continue_to_end proc.
6470
6471 * lib/gdb.exp: I had added gdb_continue_to_end used to run to the end of a
d63a86f8
RM
6472 program. Traps the case (in Cygmon) when the program never really
6473 exits. Same as Mark's continue_to_exit, but I had put it in a lot
7a292a7a
SS
6474 more places, so I used my name. Sorry Mark...
6475
6476 * config/monitor.exp (gdb_target_monitor): added another
6477 target_info parameter: remotebinarydownload. This will set the
6478 remotebinarydownload flag if this is causing some boards trouble.
6479
64801999-03-18 Mark Salter <msalter@cygnus.com>
6481
6482 * lib/gdb.exp (continue_to_exit): New function.
6483
6484 * gdb.base/ena-dis-br.exp: Clean up for remote targets.
6485 * gdb.base/ending-run.exp: Ditto.
6486 * gdb.base/step-test.exp: Ditto.
6487
64881999-03-16 Stan Shebs <shebs@andros.cygnus.com>
6489
6490 * gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
6491 (suggested by Art Haas <ahaas@neosoft.com>).
6492
64931999-03-16 Jim Blandy <jimb@zwingli.cygnus.com>
6494
6495 * gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
6496
6497Fri Mar 12 18:06:21 1999 Stan Shebs <shebs@andros.cygnus.com>
6498
6499 * gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
6500 descriptions of types (short unsigned int vs unsigned short, etc).
6501
65021999-03-12 Jim Blandy <jimb@zwingli.cygnus.com>
6503
6504 * gdb.base/call-strs.exp: Don't assume that `step' will step over
6505 a call to strlen; sometimes we do have sources.
6506
65071999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
c906108c
SS
6508
6509 * gdb.base/call-ar-st.c (main): Terminate char_array with a null
6510 character, so GDB won't print garbage after its end.
d63a86f8 6511
c906108c
SS
6512 * gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
6513 breakpoint there instead. Sometimes GCC emits memcpy to handle
6514 the large structures being passed by value, so we step into that
6515 instead of sum_array_print, which obscures what we're really testing.
6516 * gdb.base/step-test.exp: However, we do want a test that notices
6517 the bizarre steps into memcpy, so do that here. Add check for
6518 stepping into function calls that pass large structures by value.
6519 ("Is that a noun clause, or are you just happy to see me?")
6520 Remove all references to specific line numbers.
6521 * gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
6522 New type and function.
6523 (main): Call large_struct_by_value, passing it a large struct by value.
6524 * lib/gdb.exp (gdb_get_line_number): New function.
6525
6526 * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
6527 more portable.
6528
7a292a7a
SS
65291999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
6530
c906108c
SS
6531 * lib/gdb.exp: Doc fixes.
6532
7a292a7a
SS
65331999-03-05 Nick Clifton <nickc@cygnus.com>
6534
d63a86f8 6535 * gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
7a292a7a
SS
6536
65371999-03-04 Jim Blandy <jimb@zwingli.cygnus.com>
6538
c906108c
SS
6539 * gdb.base/display.exp: Don't exercise the "detach" and "kill"
6540 commands. They're not germane to this test, and they don't work
6541 that way on remote targets.
6542
3fc11d3e
JM
65431999-03-01 James Ingham <jingham@cygnus.com>
6544
6545 * Changelog entries merged over from gdb development branch.
6546
3fc11d3e
JM
6547 Tue Jan 5 12:33:47 1999 Keith Seitz <keiths@cygnus.com>
6548
6549 * lib/gdb.exp (gdbtk_analyze_results): Generic function
6550 for outputting results of test run.
6551
2d4a1622 6552 1998-12-07 Martin M. Hunt <hunt@cygnus.com>
3fc11d3e
JM
6553
6554 * lib/gdb.exp (gdbtk_start): Fix path for itcl library.
3fc11d3e 6555
7a292a7a
SS
65561999-02-25 Felix Lee <flee@cygnus.com>
6557
6558 * lib/gdb.exp (debug_format): initialize
6559
c906108c
SS
65601999-02-25 Jason Molenda (jsm@bugshack.cygnus.com)
6561
6562 * gdb.base/call-ar-st.c: Include string.h, not strings.h.
6563 * gdb.base/call-rt-st.c: Ditto.
6564
c906108c
SS
65651999-02-13 Jim Blandy <jimb@zwingli.cygnus.com>
6566
6567 * gdb.threads/pthreads.exp (horiz): New variable.
6568 (test_startup): Fix regexps that capture thread numbers.
6569
65701999-02-10 Jason Molenda (jsm@bugshack.cygnus.com)
6571
6572 * gdb.base/smoke.exp: Disambiguate two test case names (both
6573 called ``print'').
6574
6575Fri Feb 5 12:42:56 1999 Stan Shebs <shebs@andros.cygnus.com>
6576
6577 * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
6578 compilation.
6579
65801999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
6581
6582 * gdb.base/miscexprs.exp: Change patterns to match GDB's
6583 actual output formatting.
6584 * gdb.base/smoke.exp: GDB removes leading 0's.
6585 * gdb.base/volatile.exp: Don't check type of remuneration;
6586 that variable is no longer defined in constvars.c.
6587 * gdb.base/step-test.c (main): Exit with explicit exit code.
6588 * gdb.base/step-test.exp: Remove two nexti checks--they are
6589 not portable.
6590
65911999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
6592
6593 * gdb.base/help.exp ("help delete display"): Fix test to match
6594 gdb's output.
6595
6596 * gdb.base/long_long.c (known_types): Initialize values to zero.
6597 * gdb.base/long_long.exp: Step one more line
6598 so 'dec' is initialized in "get to known place". GDB removes
d63a86f8 6599 leading zeros. Explicitly ask for hex formatting. Use
c906108c
SS
6600 unique test case names.
6601
6602Tue Feb 2 10:16:08 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
6603
d63a86f8 6604 * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
c906108c
SS
6605
6606 * gdb.c++/method.exp: Add missing close brace.
6607
66081999-01-30 Jim Blandy <jimb@zwingli.cygnus.com>
6609
6610 * gdb.base/maint.exp: Use 'set height 0' to disable page
6611 prompting, not 'set height 400'.
6612
6613 Fix a bunch of timeouts.
6614 * gdb.base/maint.exp ("maint print objfiles"): Break this up into
6615 four separate tests, so expect doesn't take forever to match a ton
6616 of text against a regexp with lots of .* forms.
6617 ("maint print psymbols", "maint print symbols"): Make some of
6618 these greps more selective, so that expect doesn't try to wade
6619 through huge piles of output and time out.
6620
6621 * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
6622
6623 * gdb.base/maint.exp ("maint info breakpoints"): Split into two
6624 tests: one which doesn't expect shlib events to be reported, and
6625 another which does, but is XFAIL for all platforms other than
6626 HP/UX.
6627
6628 * gdb.base/break.exp: Teach the test suite that the `catch
6629 fork', `catch vfork', and `catch exec' commands produce error
6630 messages on platforms that don't provide these features.
6631
6632Mon Jan 25 18:35:56 1999 Stan Shebs <shebs@andros.cygnus.com>
6633
6634 * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
6635 so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
6636 (shortening names from solib_threshold.exp etc), won't run on
6637 anything but HP-UX for the foreseeable future.
6638 * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
6639 reflect move.
6640
6641Thu Jan 21 15:46:49 1999 Stan Shebs <shebs@andros.cygnus.com>
6642
6643 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
6644 gdb.trace/Makefile.in (clean): Remove all test executables.
6645
6646Tue Jan 19 17:20:09 1999 David Taylor <taylor@texas.cygnus.com>
6647
6648 * gdb.base/shlib-call.exp: add test cases to verify that gdb
6649 successfully re-sets breakpoints in shared libraries.
6650 * gdb.base/shmain.c (main): return 0, don't fall off the end.
6651
6652Fri Jan 15 14:04:57 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
6653
d63a86f8
RM
6654 * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
6655 and compiled w/o GCC.
c906108c
SS
6656
6657 * gdb.hp/watch-cmd.exp: ditto.
6658
6659 * gdb.hp/watch-hp.exp: ditto.
6660
6661 * gdb.hp/xdb1.exp: ditto.
6662
6663 * gdb.hp/xdb2.exp: ditto.
6664
6665 * gdb.hp/dbx.exp: ditto.
6666
6667Thu Jan 14 18:36:48 1999 Stan Shebs <shebs@andros.cygnus.com>
6668
6669 * constvars.c: Remove C++-isms.
6670 * constvars.exp: Use gdb_test everywhere, add xfails if compiled
6671 with GCC.
6672
6673Mon Jan 11 10:08:03 1999 David Taylor <taylor@texas.cygnus.com>
6674
6675 The following changes are part of the HP merge.
6676
6677 * gdb.base/break.exp: new tests to verify that catchpoints for
6678 fork, vfork, and exec don't trigger inappropriately.
6679
6680 * gdb.base/opaque.exp: compile one file at a time, then link.
6681
6682 * gdb.base/signals.exp: be more restrictive about which hppa
6683 systems receive a setup_xfail. new tests.
6684
6685 * gdb.base/solib_threshold.build: new file.
6686 * gdb.base/solib_threshold.exp: new file.
6687 * gdb.base/solib_threshold.link_opts: new file.
6688 * gdb.base/solib_threshold.mk: new file.
6689 * gdb.base/gen_solib_threshold.c: new file.
6690
6691 * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
6692 tests. New tests for enums inside classes.
6693
6694 * gdb.c++/compiler.cc: indicate support of template debugging.
6695
6696 * gdb.c++/demangle.exp: run hp style demangling tests.
6697
6698 * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
6699 tests.
6700
6701 * gdb.c++/misc.cc: changes to support new tests.
6702
6703 * gdb.c++/templates.cc: changes to support HP's compiler; changes
6704 to support new tests.
6705
6706 * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
6707 gcc, then skip these tests.
6708
6709Sun Jan 10 23:44:11 1999 David Taylor <taylor@texas.cygnus.com>
6710
6711 The following files are part of the HP merge; some had longer
6712 names at HP, but have been renamed to be no more than 14
6713 characters in length.
6714
6715 * gdb.hp/ambiguous.cc: new file.
6716 * gdb.hp/ambiguous.exp: new file.
6717 * gdb.hp/attach.exp: new file.
6718 * gdb.hp/attach2.exp: new file.
6719 * gdb.hp/classes-hp.exp: new file.
6720 * gdb.hp/ctti.exp: new file.
6721 * gdb.hp/ctti-add.cc: new file.
6722 * gdb.hp/ctti-add1.cc: new file.
6723 * gdb.hp/ctti-add2.cc: new file.
6724 * gdb.hp/ctti-add3.cc: new file.
6725 * gdb.hp/dbx.exp: new file.
6726 * gdb.hp/exception.cc: new file.
6727 * gdb.hp/exception.exp: new file.
6728 * gdb.hp/foll-exec.c: new file.
6729 * gdb.hp/foll-exec.exp: new file.
6730 * gdb.hp/foll-fork.c: new file.
6731 * gdb.hp/foll-fork.exp: new file.
6732 * gdb.hp/foll-vfork.c: new file.
6733 * gdb.hp/foll-vfork.exp: new file.
6734 * gdb.hp/inherit-hp.exp: new file.
6735 * gdb.hp/more-steps.exp: new file.
6736 * gdb.hp/namespace.cc: new file.
6737 * gdb.hp/namespace.exp: new file.
6738 * gdb.hp/optimize.exp: new file.
6739 * gdb.hp/pxdb.c: new file.
6740 * gdb.hp/pxdb.exp: new file.
6741 * gdb.hp/quicksort.exp: new file.
6742 * gdb.hp/reg-test.exp: new file.
6743 * gdb.hp/reg-test.s: new file.
6744 * gdb.hp/sized-enum.c: new file.
6745 * gdb.hp/sized-enum.exp: new file.
6746 * gdb.hp/start-stop.exp: new file.
6747 * gdb.hp/templ-hp.cc: new file.
6748 * gdb.hp/templ-hp.exp: new file.
6749 * gdb.hp/thr-lib.c: new file.
6750 * gdb.hp/thr-lib.exp: new file.
6751 * gdb.hp/thr-lib.h: new file.
6752 * gdb.hp/thr-liblib.c: new file.
6753 * gdb.hp/virtfun-hp.c: new file.
6754 * gdb.hp/virtfun-hp.exp: new file.
6755 * gdb.hp/watch-cmd.exp: new file.
6756 * gdb.hp/watch-hp.exp: new file.
6757 * gdb.hp/xdb1.exp: new file.
6758 * gdb.hp/xdb2.exp: new file.
6759 * gdb.hp/xdb3.exp: new file.
6760
6761Wed Jan 6 18:41:15 1999 David Taylor <taylor@texas.cygnus.com>
6762
6763 The following files are part of the HP merge; some had longer
6764 names at HP, but have been renamed to be no more than 14
6765 characters in length.
6766
6767 * gdb.base/ss.h: new file.
6768 * gdb.base/call-ar-st.c: new file.
6769 * gdb.base/call-ar-st.exp: new file.
6770 * gdb.base/call-rt-st.c: new file.
6771 * gdb.base/call-rt-st-exp: new file.
6772 * gdb.base/call-strs.exp: new file.
6773 * gdb.base/ena-dis-br.exp: new file.
6774 * gdb.base/environ.exp: new file.
6775 * gdb.base/long_long.exp: new file.
6776 * gdb.base/sect-cmd.exp: new file.
6777 * gdb.base/shlib-cl2.exp: new file.
6778 * gdb.base/smoke.exp: new file.
6779 * gdb.base/so-impl-ld.c: new file.
6780 * gdb.base/so-impl-ld.exp: new file.
6781 * gdb.base/so-indr-cl.c: new file.
6782 * gdb.base/so-indr-cl.exp: new file.
6783 * gdb.base/varargs.exp: new file.
6784 * gdb.base/volatile.exp: new file.
6785 * gdb.base/whatis-exp.exp: new file.
7a292a7a 6786 * gdb.base/display.exp: new file.
c906108c
SS
6787 * gdb.c++/derivation.exp: new file.
6788 * gdb.c++/local.exp: new file.
6789 * gdb.c++/member-ptr.exp: new file.
6790 * gdb.c++/overload.exp: new file.
6791 * gdb.c++/ovldbreak.exp: new file.
6792 * gdb.c++/ref-types.exp: new file.
6793 * gdb.c++/ref-types2.exp: new file.
6794 * gdb.c++/userdef.exp: new file.
d63a86f8 6795
c906108c
SS
6796Wed Jan 6 13:50:57 1999 Stan Shebs <shebs@andros.cygnus.com>
6797
6798 * gdb.base/default.exp: Reflect wording change in remote.c.
6799
dc96c6c7 6800Tue Jan 5 19:14:51 1999 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6801
6802 * gdb.base/help.exp: Update to reflect current text.
6803
6804Tue Jan 5 13:05:32 1999 David Taylor <taylor@texas.cygnus.com>
6805
6806 * gdb.c++/anon-union.cc: make foo and bar global, otherwise
6807 they're stack variables and contain garbage.
6808 * gdb.c++/anon-union.exp: new file.
6809
6810 The following changes were made by David Taylor
6811 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
6812 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
6813 in changes by HP.
6814
6815 * gdb.base/bitops.exp: new file.
6816 * gdb.base/default.exp: change expected messages for catch and
6817 info catch tests to reflect HP merge changes.
6818 * gdb.base/enable-disable-break.exp
6819 * gdb.base/ending-run.c: new file.
6820 * gdb.base/long_long.c: new file.
6821 * gdb.base/maint.exp: new file.
6822 * gdb.base/pointers2.exp: new file.
6823 * gdb.base/shlib-call2.exp: new file.
6824 * gdb.base/solib.exp: new file.
6825 * gdb.base/step-test.c: new file.
6826 * gdb.c++/anon-union.cc: new file.
6827 * gdb.c++/local.cc: new file.
6828 * gdb.c++/member-pointer.cc: new file.
6829 * gdb.c++/method.cc: new file.
6830 * gdb.c++/ref-types.cc: new file.
6831 * gdb.c++/ref-types2.cc: new file.
6832 * gdb.c++/userdef.cc: new file.
d63a86f8 6833
c906108c
SS
6834 * gdb.base/scope.exp: compile one file at a time, then link.
6835 * gdb.base/langs.exp: ditto.
6836 * gdb.base/list.exp: ditto.
d63a86f8 6837
c906108c
SS
6838Mon Jan 4 10:06:43 1999 David Taylor <taylor@texas.cygnus.com>
6839
6840 The following changes were made by David Taylor
6841 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
6842 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
6843 in changes by HP.
d63a86f8 6844
c906108c
SS
6845 * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
6846 skip tests. When compiling pass c++ flag to gdb_compile.
6847 * gdb.c++/
d63a86f8 6848
c906108c
SS
6849 * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
6850 test for on hppa*-*-hpux*; use args to see if c++ was specified.
6851 (skip_hp_tests): new function.
6852 (gdb_preprocess): new function.
6853
6854 * configure.in (hpdir): decide whether to configure gdb.hp.
6855 * configure: regenerated.
6856
6857 * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
6858 to delete on clean.
6859 (EXECUTABLES): update to reflect new additions.
6860 * gdb.base/commands.exp: update message expected.
6861 * gdb.base/default.exp: add copyright notice.
6862 * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
6863 * gdb.base/help.exp: update messages to reflect current text.
6864 * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
6865 targets for recurse tests.
6866 * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
6867 skip this file.
6868
6869 * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
6870 * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
6871 compilation.
6872 * gdb.c++/misc.exp: ditto.
6873 * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
6874 run the tests. tell gdb_compile that it's a c++ compilation.
6875
6876 * gdb.threads/pthreads.exp: fix typo in message.
d63a86f8 6877
c906108c
SS
6878 * gdb.base/all-bin.exp: new file.
6879 * gdb.base/arithmet.exp: new file.
6880 * gdb.base/assign.exp: new file.
6881 * gdb.base/completion.exp: new file.
6882 * gdb.base/cond-expr.exp: new file.
6883 * gdb.base/condbreak.exp: new file.
6884 * gdb.base/define.exp: new file.
6885 * gdb.base/dollar.exp: new file.
6886 * gdb.base/environment.exp: new file.
6887 * gdb.base/eval-skip.exp: new file.
6888 * gdb.base/jump.exp: new file.
6889 * gdb.base/logical.exp: new file.
6890 * gdb.base/pointers.exp: new file.
6891 * gdb.base/relational.exp: new file.
6892 * gdb.base/section_command.exp: new file.
6893 * gdb.base/whatis-expr.exp: new file.
6894
6895 * gdb.base/all-types.c: new file.
6896 * gdb.base/call-array-struct.c: new file.
6897 * gdb.base/call-return-struct.c: new file.
6898 * gdb.base/call-strings.c: new file.
6899 * gdb.base/callfuncs2.c: new file.
6900 * gdb.base/condbreak.c: new file.
6901 * gdb.base/constvars.c: new file.
6902 * gdb.base/display.c: new file.
6903 * gdb.base/int-type.c: new file.
6904 * gdb.base/jump.c: new file.
6905 * gdb.base/miscexprs.c: new file.
6906 * gdb.base/pointers.c: new file.
6907 * gdb.base/pointers2.c: new file.
6908 * gdb.base/shmain.c: new file.
6909 * gdb.base/shr1.c: new file.
6910 * gdb.base/shr2.c: new file.
6911 * gdb.base/solib.c: new file.
6912 * gdb.base/solib1.c: new file.
6913 * gdb.base/solib2.c: new file.
6914 * gdb.base/varargs.c: new file.
6915 * gdb.c++/derivation.cc: new file.
6916 * gdb.c++/overload.cc: new file.
6917 * gdb.c++/ovldbreak.cc: new file.
6918 * gdb.hp/attach.c: new file.
6919 * gdb.hp/attach2.c: new file.
6920 * gdb.hp/average.c: new file.
6921 * gdb.hp/compiler.c: new file.
6922 * gdb.hp/compiler.cc: new file.
6923 * gdb.hp/execd-program.c: new file.
6924 * gdb.hp/follow-exec.c: new file.
6925 * gdb.hp/follow-fork.c: new file.
6926 * gdb.hp/follow-vfork-and-exec.c: new file.
6927 * gdb.hp/misc-hp.cc: new file.
6928 * gdb.hp/more-steps.c: new file.
6929 * gdb.hp/optimize.c: new file.
6930 * gdb.hp/quicksort.c: new file.
6931 * gdb.hp/run-hp.c: new file.
6932 * gdb.hp/start-stop.c: new file.
6933 * gdb.hp/sum.c: new file.
6934 * gdb.hp/templates-hp.cc: new file.
6935 * gdb.hp/thread-local-in-lib.c: new file.
6936 * gdb.hp/thread-local-in-lib.h: new file.
6937 * gdb.hp/thread-local-in-lib.lib.c: new file.
6938 * gdb.hp/vforked-program.c: new file.
6939 * gdb.hp/virtfunc-hp.cc: new file.
6940 * gdb.hp/watchpoint-hp.c: new file.
6941 * gdb.hp/xdb.c: new file.
6942 * gdb.hp/xdb0.c: new file.
6943 * gdb.hp/xdb0.h: new file.
6944 * gdb.hp/xdb1.c: new file.
6945
6946Mon Dec 21 14:08:38 1998 David Taylor <taylor@texas.cygnus.com>
6947
6948 The following change was made by Edith Epstein
6949 <eepstein@cygnus.com> as part of a project to merge in changes
6950 originally made by HP; HP did not create ChangeLog entries.
6951
6952 * gdb.c++/demangle.exp: changed the expected output for some
6953 ARM-style mangling -- removed second reference to datatype.
6954 For example, maint demangle __dt__11T1__pt__2_cFv
6955 T1<char>::~T1<char>(void)
6956 becomes,
6957 maint demangle __dt__11T1__pt__2_cFv
6958 T1<char>::~T1(void)
6959
6960 (test_hp_style_demangling): new hp specific demangling test cases.
d63a86f8 6961
c906108c
SS
6962Mon Dec 14 15:07:03 1998 Jeffrey A Law (law@cygnus.com)
6963
6964 * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
6965 * gdb.trace/backtrace.exp: Likewise.
6966 * gdb.trace/circ.exp: Likewise.
6967 * gdb.trace/collection.exp: Likewise.
6968 * gdb.trace/deltrace.exp: Likewise.
6969 * gdb.trace/infotrace.exp: Likewise.
6970 * gdb.trace/limits.exp: Likewise.
6971 * gdb.trace/packetlen.exp: Likewise.
6972 * gdb.trace/passc-dyn.exp: Likewise.
6973 * gdb.trace/passcount.exp: Likewise.
6974 * gdb.trace/report.exp: Likewise.
6975 * gdb.trace/save-trace.exp: Likewise.
6976 * gdb.trace/tfind.exp: Likewise.
6977 * gdb.trace/tracecmd.exp: Likewise.
6978 * gdb.trace/while-dyn.exp: Likewise.
6979 * gdb.trace/while-stepping.exp: Likewise.
6980
69811998-12-07 Jim Blandy <jimb@zwingli.cygnus.com>
6982
6983 * gdb.base/restore.exp, gdb.base/restore.c: New tests.
6984
6985Wed Dec 2 20:03:53 1998 Stan Shebs <shebs@andros.cygnus.com>
6986
6987 From Brendan Kehoe:
6988 * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
6989 int return types.
6990
6991Sat Oct 24 18:04:22 1998 Felix Lee <flee@cygnus.com>
6992
6993 * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
6994 remote dos host testing right.
6995
6996Mon Oct 19 01:31:59 1998 Felix Lee <flee@cygnus.com>
6997
6998 * gdb.base/corefile.exp: remove some xfails.
6999
7000Thu Oct 15 10:04:38 1998 Andrew Cagney <cagney@b1.cygnus.com>
7001
7002 * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
7003 have different timestamps.
7004
7005Thu Oct 1 20:56:14 1998 Andrew Cagney <cagney@b1.cygnus.com>
7006
7007 * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
7008 gdb.base/default.exp: Replace "exec" with "executable".
7009
7010Tue Sep 29 15:06:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
7011
7012 * gdb.base/default.exp: Change else if to elseif from previous
7013 delta.
7014
7015Mon Sep 28 13:21:43 1998 Nick Clifton <nickc@cygnus.com>
7016
7017 * gdb.base/default.exp: Add brace missing from previous delta.
7018
7019Mon Sep 21 14:39:27 1998 Nick Clifton <nickc@cygnus.com>
7020
7021 * gdb.base/default.exp: Support test for info float for all
7022 varieties of arm toolchain.
7023
dc96c6c7 7024Fri Sep 18 14:07:44 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
7025
7026 * gdb.trace/*.exp: remove "remote_download" command.
7027
dc96c6c7 7028Wed Sep 16 11:38:21 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
7029
7030 * gdb.trace/*.exp: remove -gdwarf from compile.
7031
7032Wed Sep 16 01:23:11 1998 Felix Lee <flee@cygnus.com>
7033
7034 * gdb.trace/configure.in(AC_INIT): typo
7035 * gdb.trace/configure: regenerated
7036
dc96c6c7 7037Mon Sep 14 20:00:04 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
7038
7039 * config/m68k-emc.exp: New file.
7040 * lib/<emc-support.exp trace-support.exp}: New files.
7041 * configure.in: add new test directory gdb.trace.
7042 * gdb.trace/{configure configure.in Makefile.in}: New files.
7043 * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
7044 * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
7045 * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
7046 * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
7047 * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
7048 * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
7049 * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
d63a86f8 7050
dc96c6c7 7051Fri Sep 11 13:58:02 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
7052
7053 * gdb.c++/classes.exp: Change all regular expressions to match
7054 arbitrary combinations of newline/carriage-return, so that they
7055 will work equally well on Unix and Windows.
7056 * gdb.c++/inherit.exp: ditto.
7057 * gdb.c++/virtfunc.exp: ditto.
7058
70591998-08-11 Dawn Perchik <dawn@cygnus.com>
7060
7061 * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
7062
c2d11a7d
JM
7063Fri Jul 24 15:51:34 1998 Jeffrey A Law (law@cygnus.com)
7064
7065 * gdb.disasm/am33.s: Add tests for autoincrement instructions.
7066 * gdb.disasm/am33.exp: Run time. Update tests which use r8-r15
7067 to use a0-a3/d0-d3 as needed.
7068
7069Thu Jul 16 18:20:46 1998 Jeffrey A Law (law@cygnus.com)
7070
7071 * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
7072 * gdb.disasm/am33.exp: Corresponding changes.
7073
c906108c
SS
70741998-07-11 Felix Lee <flee@cygnus.com>
7075
7076 * gdb.base/callfuncs.exp: add cmp10 test.
7077 * gdb.base/callfuncs.c (cmp10): new function.
7078
7079Thurs Jul 9 11:08:31 1998 Dawn Perchik <dawn@cygnus.com>
7080
d63a86f8 7081 * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
c906108c
SS
7082 into two parts to get around a synchronization problem in expect.
7083
3fc11d3e
JM
7084Fri Jun 26 14:27:13 1998 Keith Seitz <keiths@cygnus.com>
7085
7086 * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
7087
7088 * configure.in: Add options for gdbtk testsuite.
7089
7090 * configure: Regenerate.
7091
7092 * gdb.gdbtk: New directory to hold gdbtk tests.
7093
c906108c
SS
7094Fri Jun 26 14:52:47 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
7095
7096 * gdb.fortran/types.exp: Escape brackets in expect patterns
7097 for test_float_literal_types_accepted tests.
7098 * gdb.base/scope.exp: Remove extraneous newline in filelocal_bss
7099 before run test.
7100
c2d11a7d
JM
7101Fri Jun 26 11:12:17 1998 Jeffrey A Law (law@cygnus.com)
7102
7103 * am33.exp: Just compile, do not link the testcase.
7104 * am33.s: Add ".am33" pseudoop to force am33 mode.
7105
c906108c
SS
71061998-06-25 Felix Lee <flee@cygnus.com>
7107
7108 * gdb.base/setshow.exp: make sure $pc is sane.
7109
7110 * gdb.stabs/weird.exp: split expect patterns properly.
7111
c2d11a7d
JM
7112Wed Jun 24 13:03:15 1998 Jeffrey A Law (law@cygnus.com)
7113
7114 * gdb.disasm/am33.s: New disassembler testfile for the am33.
7115 * gdb.disasm/am33.exp: Run it.
7116
dc96c6c7 7117Tue Jun 23 11:45:01 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
7118
7119 * gdb.base/funcargs.exp: simplify expect strings to ease pattern
7120 match processing (and eliminate spurious timeouts when running).
7121
dc96c6c7 7122Fri Jun 12 17:28:22 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
7123
7124 * gdb.base/signals.exp (test_handle_all_print): put back Mach
7125 exception test, but conditionalize it on target [mach | gnu].
7126
dc96c6c7 7127Wed Jun 10 10:40:03 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
7128
7129 * gdb.base/overlays.exp: fixup compile line for linker script.
7130
7131Thu Jun 4 21:54:15 1998 Felix Lee <flee@zog.cygnus.com>
7132
7133 * gdb.fortran/types.exp: don't guess at float size.
7134
7135Thu May 21 02:28:37 1998 Felix Lee <flee@zog.cygnus.com>
7136
7137 * gdb.base/exprs.exp: delete test that depends on int size.
7138
7139Sun May 17 17:10:22 1998 Bob Manson <manson@charmed.cygnus.com>
7140
7141 * config/sim.exp: Removed checks for target triplets.
7142 (gdb_target_sim): Use gdb,target_sim_options.
7143
7144Sat May 16 23:43:35 1998 Mark Alexander <marka@cygnus.com>
7145
7146 * gdb.base/reread.exp: New file.
7147 * gdb.base/reread1.c: New file.
7148 * gdb.base/reread2.c: New file.
7149
7150Sat May 16 23:22:09 1998 Mark Alexander <marka@cygnus.com>
7151
7152 * config/sim.exp: Use 'target sim -sparclite' when running
7153 SPARClite programs.
7154
7155Sat May 16 18:48:08 1998 Doug Evans <devans@canuck.cygnus.com>
7156
7157 * gdb.base/structs2.exp: New file.
7158 * gdb.base/structs2.c: New file.
7159
7160Wed May 13 13:36:14 1998 Doug Evans <devans@canuck.cygnus.com>
7161
7162 * gdb.asm/common.inc: New file.
7163 * gdb.asm/d10v.inc: New file.
7164 * asm-source.exp: Pass -I's to gas to find .inc files.
7165 Update line numbers in expected output.
7166 * asmsrc1.s: Rewrite.
7167 * asmsrc2.s: Rewrite.
7168 * configure.in: Create arch.inc symlink.
7169 * configure: Regenerate.
7170 * Makefile.in (distclean): Delete arch.inc.
7171
7172Wed May 6 10:30:54 1998 John Metzler <jmetzler@cygnus.com>
7173
7174 * callfuncs.c (t_enum_value1) : Cleanup return value warnings
7175 (t_enum_value2): ditto
7176 (t_enum_value3): ditto
7177 (main): ditto
7178Fri May 1 09:33:37 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
7179
7180 * gdb.base/break.exp: Remove xfail for `deleting all breakpoints
7181 when none' unexpected prompt case, fixed by breakpoint.c:delete_command
7182 change.
7183 Use gdb_test instead of send_gdb/gdb_expect sequences.
7184
7185Thu Apr 23 12:56:19 1998 Jason Molenda (crash@bugshack.cygnus.com)
7186
7187 * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
7188 not void.
7189
7190Thu Apr 16 10:52:34 1998 John Metzler <jmetzler@cygnus.com>
7191
7192 * gdb.base/branches.c: Code with lots of loops and
7193 subroutines. Used to test gdbs ability to single step through PC
7194 changes, especially to test mips-tdep.c:mips_next_pc
7195
7196Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
7197
7198 * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
7199 more rigorous EGCS C++ error checking.
7200
7201Fri Apr 10 22:38:12 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7202
7203 * gdb.base/help.exp: Clean up `help set args' and `help show args'
d63a86f8 7204 tests.
c906108c 7205 * gdb.base/interrupt.exp: Add "i*86-*-solaris2*" xfail for calling
d63a86f8 7206 function when asleep.
c906108c 7207 * gdb.base/signals.exp: Add "i*86-*-solaris2*" xfails. Add comment
d63a86f8
RM
7208 for i*86 Linux and SVR4 signal handling problems.
7209 Remove linux xfail for `next to handler in signals_tests_1', fixed
7210 by recent infrun.c change.
c906108c 7211 Limit backtrace to 10 frames to avoid timeout problems with infinite
d63a86f8 7212 stack backtraces.
c906108c
SS
7213 Adjust expect pattern in `handle all print' test to match Apr 28 1997
7214 target.[ch] change.
7215
7216Tue Mar 31 00:40:32 1998 Bob Manson <manson@charmed.cygnus.com>
7217
7218 * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
7219 for a newline from gdb before continuing.
7220 (default_gdb_exit): Just look for y or n.
7221 (gdb_test): Detect abnormal exit from GDB running on DOS; if
7222 it does, fail the rests of the tests in the file.
7223
7224Tue Mar 24 22:44:52 1998 Bob Manson <manson@charmed.cygnus.com>
7225
7226 * config/cygmon.exp: New file.
7227
7228Mon Mar 16 21:39:11 1998 Bob Manson <manson@charmed.cygnus.com>
7229
7230 * gdb.base/list.exp: Fix problem with "list default lines around
7231 main" test on remote targets.
7232
7233 * gdb.base/scope.exp: Fix problem with filelocal_bss before
7234 run test on remote targets.
7235
7236Thu Mar 12 16:23:00 1998 Doug Evans <devans@canuck.cygnus.com>
7237
7238 * gdb.asm: New directory.
7239 * configure.in: Configure it.
7240 * configure: Regenerate.
7241 * gdb.asm/{Makefile.in,configure.in,configure}: New files.
7242 * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
7243
7244Mon Feb 23 08:22:44 1998 Mark Alexander <marka@cygnus.com>
7245
7246 * config/mn10300-eval.exp: New file to support MN10300 eval board.
7247
dc96c6c7 7248Wed Feb 18 16:43:46 1998 Michael Snyder (msnyder@cygnus.com)
d63a86f8 7249
c906108c
SS
7250 * gdb.base/overlays (several files): Merge the two overlay
7251 managers into one. Change variables (foox, barx, bazx, grbxx)
7252 back into ints but force them to load in their proper sections.
7253
7254Thu Feb 12 13:49:30 1998 Andrew Cagney <cagney@b1.cygnus.com>
7255
7256 * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
7257 on-chip insn memory and IMAP1 to upper 128k.
7258 (D10VCopy): Handle memory regions crossing 16k boundaries.
7259 (D10VCopy): Transfer data in 32 bit chunks.
7260
7261Tue Feb 10 17:23:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
7262
7263 * gdb.base/overlays.c (main): Exit normally when result is
7264 correct.
7265
7266 * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
7267 map. Include space for printf in .text segment.
7268
7269 * gdb.base/d10vovly.c (D10VTranslate): New function, handle
7270 updated d10v memory VMA/LMA map.
7271 (D10VCopy): Call D10VTranslate.
d63a86f8 7272
c906108c
SS
7273Fri Feb 6 14:13:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
7274
7275 * gdb.base/m32rovly.c: Force variable _novlys into .data section.
7276
7277 * gdb.base/bar.c (barx, bar): Change variable to small array so
7278 that it won't be put into the .sdata - small data -
7279 section. Update reference.
7280 * gdb.base/baz.c (bazx, baz): Ditto.
7281 * gdb.base/foo.c (foox, foo): Ditto.
7282 * gdb.base/grbx.c (grbxx, grbx): Ditto.
7283
7284 * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
7285 to be arrays.
d63a86f8 7286
dc96c6c7 7287Thu Jan 29 14:48:19 1998 Michael Snyder (msnyder@cygnus.com)
d63a86f8 7288
c906108c
SS
7289 * gdb.base/overlays.exp: fix up and get working again.
7290 Add tests for backtraces from an overlay function.
d63a86f8 7291
c906108c
SS
7292Fri Jan 23 07:52:45 1998 Fred Fish <fnf@cygnus.com>
7293
7294 * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
7295 "calling function with watchpoint enabled".
7296
7297Thu Jan 22 14:23:29 1998 Fred Fish <fnf@cygnus.com>
7298
7299 * gdb.base/break.exp (test_next_with_recursion): Remove
7300 gdb_suppress_tests for d10v-*-*.
7301 * lib/gdb.exp (gdb_suppress_tests): Disable this function
7302 pending review of whether it is useful or not.
7303
7304Tue Jan 20 13:02:09 1998 Mark Alexander <marka@cygnus.com>
7305
7306 * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
7307
7308Mon Jan 19 08:53:04 1998 Mark Alexander <marka@cygnus.com>
7309
7310 * gdb.base/break.exp: Increase timeout for slow TX39 boards.
7311 * config/dve.exp: New file to support Densan boards.
7312
7313Mon Dec 15 22:38:05 1997 Andrew Cagney <cagney@b1.cygnus.com>
7314
7315 * gdb.base/interrupt.exp: Document problem of simulators, signals,
7316 reads and BSD.
7317
7318Wed Nov 26 22:29:18 1997 Bob Manson <manson@charmed.cygnus.com>
7319
7320 * config/monitor.exp: Be a bit less picky about the "Remote debugging"
7321 response.
7322
7323 * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
7324
7325Tue Nov 25 12:46:36 1997 Andrew Cagney <cagney@b1.cygnus.com>
7326
7327 * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
7328 test.
7329
7330 * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
7331 target_sizeof_long and target_bigendian_p.
7332 (structs_by_value, structs_by_reference): Check values according
7333 to targets word size and endianess.
d63a86f8 7334
c906108c
SS
7335Mon Nov 24 16:37:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
7336
7337 * gdb.base/langs.exp: For "continue to exit" ignore any trailing
7338 output.
7339
7340Fri Oct 17 13:24:43 1997 Stan Shebs <shebs@andros.cygnus.com>
7341
7342 * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
7343 Update test of set args help to match source change.
7344
7345Fri Sep 26 17:36:20 1997 Jason Molenda (crash@pern.cygnus.com)
7346
7347 * gdb.base/default.exp: Expect help system output to be in
7348 alphabetical order.
7349 * gdb.base/help.exp: Ditto.
7350
7351Wed Sep 24 13:08:14 1997 Bob Manson <manson@charmed.cygnus.com>
7352
7353 * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
7354 "i*86-pc-linux-gnu*".
7355 * gdb.base/interrupt.exp: Ditto.
7356 * gdb.base/corefile.exp: Ditto.
7357
7358 * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
7359 define vxworks when building the testcase.
7360
7361 * gdb.base/ptype.exp: Fix testnames to be unique.
7362 * gdb.base/radix.exp: Ditto.
7363 * gdb.base/term.exp: Ditto.
7364 * gdb.base/whatis.exp: Ditto.
7365 * gdb.c++/classes.exp: Ditto.
7366
7367Tue Sep 16 22:21:48 1997 Bob Manson <manson@charmed.cygnus.com>
7368
7369 * gdb.base/callfuncs.exp: Fix indentation.
7370
7371 * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
7372 suppress_flag has been set.
7373 (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
7374 target feature.
7375
7376Mon Sep 15 15:43:17 1997 Bob Manson <manson@charmed.cygnus.com>
7377
7378 * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
7379 the testcase.
7380
7381 * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
7382 set_debug_traps() and breakpoint().
7383 * gdb.c++/misc.cc (main): Ditto.
7384 * gdb.c++/templates.cc (main): Ditto.
7385 * gdb.c++/virtfunc.cc (main): Ditto.
7386
7387Fri Sep 12 16:56:38 1997 Bob Manson <manson@charmed.cygnus.com>
7388
7389 * lib/gdb.exp(gdb_step_for_stub): New function.
7390 (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
7391 exists, reload the executable and do a "continue" instead of
7392 doing a jump.
7393 (runto_main): Use gdb_step_for_stub.
d63a86f8 7394
c906108c
SS
7395 * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
7396 tests to have unique names.
7397 * gdb.base/callfuncs.exp: Ditto.
7398 * gdb.base/commands.exp: Ditto.
7399 * gdb.base/default.exp: Ditto.
7400 * gdb.base/help.exp: Ditto.
7401 * gdb.base/list.exp: Ditto.
7402 * gdb.base/opaque.exp: Ditto.
7403 * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
7404 similar tests.
d63a86f8 7405
c906108c
SS
7406 * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
7407 * gdb.c++/cplusfuncs.cc: Ditto.
7408 * gdb.c++/virtfunc.cc: Ditto.
7409
7410 * config/monitor.exp: Keep track of the last file we saw, rather
7411 than trying to get the info from gdb.
7412
7413 * gdb.fortran/types.exp: Move comment to previous line.
7414
7415Tue Sep 2 19:55:34 1997 Bob Manson <manson@charmed.cygnus.com>
7416
7417 * config/sparclet.exp: Detect gratuitous change to sparclet gdb
7418 target mode.
7419
7420Mon Jul 28 12:14:47 1997 Stan Shebs <shebs@andros.cygnus.com>
7421
7422 From Bob Manson:
7423 * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
7424 string from GDB when it connects.
7425
7426 * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
7427
7428Thu Jul 3 15:35:12 1997 Bob Manson <manson@charmed.cygnus.com>
7429
7430 * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
7431 if we can't get a debug format from GDB (we may be testing an
7432 older GDB). Use a 10 second timeout when checking for the format.
7433
7434 * gdb.stabs/weird.exp: Fix quoting.
7435
7436 * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
7437
7438Mon Jun 30 18:31:43 1997 Bob Manson <manson@charmed.cygnus.com>
7439
7440 * config/arm-ice.exp: New file.
7441
7442Sun Jun 29 16:43:30 1997 Bob Manson <manson@charmed.cygnus.com>
7443
7444 * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
7445 until it has been modified to work with the new testsuite.
7446
99707966 7447 * gdb.*/*.exp: Instead of causing 1 unresolved test when the
c906108c
SS
7448 testcase won't compile, cause all of the testcases in the file to
7449 fail instead.
7450
7451 * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
7452 (gdb_clear_suppressed): New procedure.
7453 (gdb_stop_suppressing_tests): Only clear suppress_flag if
7454 it contains a positive value.
7455
7456Sat Jun 28 13:31:11 1997 Bob Manson <manson@charmed.cygnus.com>
7457
7458 * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
7459
7460 * gdb.c++/virtfunc.exp: Remove setting of libs variable.
7461
7462Fri Jun 27 07:44:25 1997 Fred Fish <fnf@cygnus.com>
7463
7464 * lib/gdb.exp (setup_xfail_format): New function.
7465 (get_debug_format): New function to get debug format.
7466 (debug_format): New global variable to hold last value set
7467 by get_debug_format.
7468 * gdb.base/list.exp: Call get_debug_format and expect some
7469 tests to fail for DWARF 1 and COFF formats.
7470 * gdb.c++/ptype.exp: Ditto.
7471 * gdb.c++/classes.exp: Ditto.
7472 * gdb.c++/cplusfuncs.exp: Ditto.
7473 * gdb.c++/inherit.exp: Ditto.
7474 * gdb.c++/templates.exp: Ditto.
7475 * gdb.c++/virtfunc.exp: Ditto.
d63a86f8 7476
c906108c
SS
7477Wed Jun 25 09:08:51 1997 Bob Manson <manson@charmed.cygnus.com>
7478
7479 * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
7480 host doesn't have a currently-open connection.
7481
7482 * config/sparclet.exp: Cleanups and fixes to make it generic for
7483 any gdb stub target. Handle cases where gdb doesn't respond when
7484 interrupted in a sane fashion.
7485
7486 * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
7487 same thing in a totally different way.
7488
7489 * config/monitor.exp: Pass in timeouts to gdb_expect instead of
7490 setting "timeout".
7491 (gdb_start): We set the global gdb_prompt variable in
7492 default_gdb_init now.
7493
7494Sun Jun 22 09:11:02 1997 Fred Fish <fnf@cygnus.com>
7495
7496 * gdb.base/printcmds.exp: Fix "check for floating addition"
7497 regexp to accept results within approx +/- .01 of exact value.
7498 * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
7499
7500Wed Jun 18 11:11:39 1997 Bob Manson <manson@charmed.cygnus.com>
7501
7502 * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
7503 properly.
7504 (gdb_expect): Add optional timeout parameter, and add timeout
7505 value to various calls.
7506 (gdb_suppress_tests): Only give one warning message per group.
7507
7508Tue Jun 17 13:10:10 1997 Bob Manson <manson@charmed.cygnus.com>
7509
7510 * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
7511 global variables. Handle getting a value for $timeout more
7512 gracefully.
7513
7514Sat Jun 14 09:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
7515
7516 * lib/gdb.exp: Close connection to remote host if gdb doesn't
7517 initialize.
7518 (default_gdb_init): New procedure; allow gdb_init to be overridden
7519 by a target configuration file.
7520 (gdb_expect): Pass the timeout to remote_expect.
7521
7522 * config/monitor.exp(gdb_load): Fix typo in regexp.
7523
7524Thu Jun 12 20:57:12 1997 Bob Manson <manson@charmed.cygnus.com>
7525
7526 * gdb.base/funcargs.exp: Remove spurious suppress tests call.
7527
7528Tue Jun 3 15:20:20 1997 Bob Manson <manson@charmed.cygnus.com>
7529
7530 * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
7531 here. Call gdb_target_exec before rebooting the target, to make
7532 sure the connection to the target is closed.
7533 (gdb_load): Pass the name of the executable to gdb_target_monitor.
7534 Don't call gdb_file_cmd here; let gdb_target_monitor do it.
7535 Also detect "Timeout reading from remote" error.
7536
7537 * config/gdbserver.exp: Pass the executable being loaded to
7538 gdb_target_monitor. Don't call gdb_file_cmd here; let
7539 gdb_target_monitor do it.
7540
7541 * gdb.disasm/hppa.exp: Don't use exec_output.
7542
7543Fri May 23 13:28:29 1997 Bob Manson <manson@charmed.cygnus.com>
7544
7545 * gdb.base/list.exp: If we're debugging a non-native target,
7546 try to set the pc register to point to the start of the
7547 program before doing the first list command.
7548
7549 * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
7550 test_calls after restarting.
7551
7552 * lib/gdb.exp(gdb_run_cmd): Send jump command again after
7553 reloading.
7554
7555 * gdb.base/watchpoint.exp: Fix typo.
7556
7557 * gdb.base/setshow.exp: Check for use_gdb_stub.
7558
7559 * gdb.base/break.exp: Fix continue until exit test for the gdb
7560 stub case.
7561 * gdb.base/langs.exp: Ditto.
7562
7563 * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
7564 gdb_load_offset. If we weren't given a file to load, figure out
7565 what the current file is and use it.
7566
7567 * config/i386-bozo.exp: New file.
7568
7569Thu May 22 18:51:32 1997 Bob Manson <manson@charmed.cygnus.com>
7570
7571 * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
7572 feature.
7573
7574 * config/proelf.exp: New entry.
7575
7576Wed May 21 21:23:16 1997 Bob Manson <manson@charmed.cygnus.com>
7577
7578 * lib/gdb.exp: Remove spurious .* patterns at the beginning
7579 of regexps.
7580
7581 * gdb.base/watchpoint.exp: Don't run the test_stepping
7582 tests if gdb can't call functions on the target.
7583
7584 * gdb.base/setshow.exp: Don't run the set prompt tests if
7585 the board has gdb_prompt set.
7586
7587Tue May 20 08:58:49 1997 Jeffrey A Law (law@cygnus.com)
7588
7589 * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
7590 * gdb.base/commands.exp: Likewise.
7591 * gdb.base/setshow.exp: Likewise.
7592
7593Mon May 19 15:37:50 1997 Bob Manson <manson@charmed.cygnus.com>
7594
7595 * config/monitor.exp(gdb_start): Look for gdb_prompt target
7596 feature.
7597
7598 * config/i960.exp: New file.
7599
7600Thu May 1 18:01:50 1997 Bob Manson <manson@charmed.cygnus.com>
7601
7602 * gdb.base/funcargs.exp: Check for gdb,short_int target
7603 feature instead of looking for explicit target triplets.
7604
dc96c6c7 7605Mon Apr 28 17:27:40 1997 Michael Snyder <msnyder@cygnus.com>
c906108c 7606
d63a86f8 7607 * gdb.base/printcmds.exp: add a couple more tests a la
c906108c
SS
7608 "p 123DEADBEEF", to check parse_number.
7609 * top.c: change "to enable to enable" to "to enable" in a couple
7610 of help strings.
7611
7612Thu Apr 24 14:38:18 1997 Jeffrey A Law (law@cygnus.com)
7613
7614 * gdb.base/callfuncs.exp: Mark some tests as expected to fail
7615 on the mn10300.
d63a86f8 7616
c906108c
SS
7617Mon Apr 21 15:05:42 1997 Fred Fish <fnf@cygnus.com>
7618
7619 * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
7620 where the test executable is run with explicit args.
7621 * gdb.base/default.exp: Handle arm-*-coff case for "info float".
7622
7623Mon Apr 21 13:38:58 1997 Fred Fish <fnf@cygnus.com>
7624
7625 * gdb.base/run.c: Use FAKEARGV to build test executable that
7626 does not require a command line arg, since most simulators
7627 don't currently support passing such an arg into the simulated
7628 program.
7629 * gdb.base/commands.exp: Change tests to insert the proper
7630 value as the arg to the first recursive factorial call. Change
7631 compilation line to define FAKEARGV at compile time.
7632
7633Wed Apr 9 11:12:36 1997 Jeffrey A Law (law@cygnus.com)
7634
7635 * gdb.base/recurse.exp: Enable these tests for the mn10300.
7636 * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
7637 function with watchpoint enabled" test.
7638
7639Tue Apr 8 19:33:20 1997 Bob Manson <manson@charmed.cygnus.com>
7640
7641 * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
7642 Don't call gdb_test when the command doesn't return to a gdb prompt.
7643
7644 * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
7645 "Tests restarted" messages.
7646
7647Tue Apr 8 16:38:46 1997 Jeffrey A Law (law@cygnus.com)
7648
7649 * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
7650
dc96c6c7 7651Thu Apr 3 15:21:26 1997 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
7652
7653 * gdb.base/help.exp: update help msg for INFO ADDR; add help test
7654 for INFO SYMBOL; add help tests for OVERLAY commands.
7655 * gdb.base/default.exp: add tests for INFO SYMBOL command;
7656 add tests for OVERLAY commands
7657 * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
7658 d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
7659 * gdb.base/sigall.c: add usestubs code frag
7660 * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
d63a86f8 7661
c906108c
SS
7662Thu Apr 3 09:38:53 1997 Bob Manson <manson@charmed.cygnus.com>
7663
7664 * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
7665 failures.
7666 (gdb_stop_suppressing_tests): Note that tests have restarted.
7667
7668Wed Apr 2 19:04:20 1997 Bob Manson <manson@charmed.cygnus.com>
7669
7670 * config/h8300.exp: New file.
7671
7672Sun Mar 30 13:38:25 1997 Bob Manson <manson@charmed.cygnus.com>
7673
7674 * gdb.base/setshow.exp: Check for the existence of a
7675 feature, not its value.
7676
7677Sat Mar 29 11:19:46 1997 Bob Manson <manson@charmed.cygnus.com>
7678
7679 * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
7680
7681 * gdb.base/scope.exp: It's now init0(), not init().
7682
7683 * gdb.base/scope0.c: For now, change init() to be init0().
7684
7685 * config/monitor.exp: Use gdb_serial in preference to serial
7686 or netport.
7687
7688 * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
7689 and it's not already set.
7690
7691Fri Mar 28 19:54:18 1997 Bob Manson <manson@charmed.cygnus.com>
7692
7693 * gdb.base/setshow.exp: Only test the run command if the target
7694 isn't using a stub and if it supports argument passing.
7695
7696Sat Mar 22 19:50:25 1997 Bob Manson <manson@charmed.cygnus.com>
7697
7698 * config/udi.exp(gdb_start): Make sure UDICONF is set
7699 properly before starting gdb.
7700
7701Mon Mar 24 14:40:33 1997 Jeffrey A Law (law@cygnus.com)
7702
7703 * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
7704 * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
7705 * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
7706
7707Tue Mar 11 11:42:58 1997 Bob Manson <manson@charmed.cygnus.com>
7708
7709 * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
7710 specialized code to reboot the board, use remote_reboot instead.
7711
7712 * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
7713
7714 * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
7715
7716 * config/monitor.exp: Make sure we disconnect from the target.
7717 Also, try a reboot/reload cycle instead of failing if the
7718 load fails.
7719
7720Fri Mar 7 13:48:30 1997 Bob Manson <manson@charmed.cygnus.com>
7721
7722 * gdb.base/default.exp: Don't set match_max.
7723 * gdb.base/help.exp: Ditto.
7724 * gdb.base/list.exp: Ditto.
7725 * gdb.base/signals.exp: Ditto.
7726
7727 * config/monitor.exp(gdb_load): If gdb,use_standard_load is
7728 set, use remote_ld to download the testcase instead of
7729 the GDB loader.
7730
7731Wed Mar 5 00:00:43 1997 Bob Manson <manson@charmed.cygnus.com>
7732
7733 * config/vr5000.exp: New file.
7734
7735 * config/monitor.exp(gdb_target_monitor): Add pattern for
7736 "Ending remote" to detect errors in connecting.
7737
7738 * gdb.base/setshow.exp: Add .* within auto language test.
7739
7740 * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
7741 target feature.
7742
7743 * config/monitor.exp(gdb_load): Check for a failure when loading,
7744 and reboot the board if necessary.
7745
7746 * gdb.base/setvar.exp(test_set): Handle multiple prints within
7747 a set of tests. Remove print.* from the patterns being checked.
7748
7749Mon Mar 3 11:57:43 1997 Bob Manson <manson@charmed.cygnus.com>
7750
7751 * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
7752 refer to gdb_spawn_id.
7753
7754 * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
7755 longer used.
7756 * config/sparclet.exp: Ditto.
7757 * config/sparclet-old.exp: Ditto.
7758 * config/slite.exp: Ditto.
7759 * config/sim.exp: Ditto.
7760 * gdb.base/funcargs.exp: Ditto.
7761
7762 * lib/gdb.exp:Remove references to gdb_spawn_id.
7763 (gdb_expect): Move to remote.exp.
7764
7765Fri Feb 28 20:47:39 1997 Bob Manson <manson@charmed.cygnus.com>
7766
7767 * config/monitor.exp: Detect the "Couldn't establish connection"
7768 message from GDB.
7769
7770Tue Feb 25 14:08:55 1997 Bob Manson <manson@charmed.cygnus.com>
7771
7772 * gdb.base/bitfields.exp: Use runto instead of explicit
7773 gdb_run_cmd/gdb_expect sequences.
7774
7775 * gdb.base/break.exp(text_next_with_recursion): Add match for
7776 gdb_expect call.
7777
7778 * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
7779 We also need to handle the "A program is being debugged already"
7780 prompt from gdb. Use gdb_test to set the baud rate.
7781
7782 * lib/gdb.exp(gdb_init): Increase the default expect buffer size
7783 to 20000. Really. I mean it.
7784
7785Mon Feb 24 13:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
7786
7787 * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
7788 fails. If suppress_flag is set, skip perror message about not
7789 being able to send to GDB.
7790 (send_gdb): If suppress_flag is set, don't try to send commands to
7791 GDB.
7792 (gdb_expect): If suppress_flag is set, always fail immediately.
7793 (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
7794 (gdb_init): Call gdb_stop_suppressing_tests.
7795 (default_gdb_exit): Ditto.
7796 (default_gdb_start): Ditto.
7797
7798 * gdb.base/bitfields.exp: Call gdb_suppress_tests and
7799 gdb_stop_suppressing_tests as appropriate.
7800 * gdb.base/break.exp: Ditto.
7801 * gdb.base/callfuncs.exp: Ditto.
7802 * gdb.base/commands.exp: Ditto.
7803 * gdb.base/exprs.exp: Ditto.
7804 * gdb.base/funcargs.exp: Ditto.
7805 * gdb.base/list.exp: Ditto.
7806 * gdb.base/recurse.exp: Ditto.
7807 * gdb.base/scope.exp: Ditto.
7808 * gdb.base/structs.exp: Ditto.
7809 * gdb.c++/inherit.exp: Ditto.
7810
7811Sun Feb 23 19:56:02 1997 Bob Manson <manson@charmed.cygnus.com>
7812
7813 * config/vr4300.exp: New file.
7814
99707966 7815 * gdb.*/*.exp: Call gdb_expect instead of expect.
d63a86f8 7816
99707966 7817 * lib/gdb.exp(gdb_expect): New function.
c906108c
SS
7818
7819Thu Feb 20 13:57:01 1997 Bob Manson <manson@charmed.cygnus.com>
7820
7821 * lib/gdb.exp(gdb_init): New function.
7822
7823 * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
7824 for each individual variable set.
7825
7826 * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
7827 name.
7828
7829 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
7830
7831 * gdb.base/scope.exp: Use gdb_test.
7832
7833 * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
7834 aborting; the testsuite driver will do that for us (see
7835 gdb_finish). Also, use gdb_test in a few more places.
7836
7837Thu Feb 20 13:32:24 1997 Stan Shebs <shebs@andros.cygnus.com>
7838
7839 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
7840
7841Thu Feb 20 10:34:21 1997 Jeffrey A Law (law@cygnus.com)
7842
7843 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
7844 and "add_tests" are not at the same address.
7845
7846Fri Feb 14 18:47:23 1997 Bob Manson <manson@charmed.cygnus.com>
7847
7848 * gdb.base/ptype.exp: Use gdb_test.
7849
7850Thu Feb 13 16:09:36 1997 Jeffrey A Law (law@cygnus.com)
7851
7852 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
7853 * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
7854 left in. No longer expect them to fail.
7855
7856 * gdb.stabs/*.mt; Deleted, no longer used.
7857 * gdb.stabs/configure.in: Remove references to target makefile
7858 frags.
7859 * gdb.stabs/configure: Rebuilt.
7860
7861 * gdb.disasm/*.mt: Deleted, no longer used.
7862 * gdb.disasm/configure.in: Remove references to target makefile
7863 frags. Use "sh3.s" as the unique filename for this directory.
7864 * gdb.disasm/configure: Rebuilt.
7865
7866 * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
7867 * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
7868 * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
7869
7870Tue Feb 11 16:57:58 1997 Bob Manson <manson@charmed.cygnus.com>
7871
7872 * config/udi.exp: Use mondfe,name instead of remote_host.
7873
7874Tue Feb 11 11:22:36 1997 Jeffrey A Law (law@cygnus.com)
7875
7876 * gdb.base/watchpoint.exp: Don't expect a failure when calling
7877 a function with a watchpoint enabled on the mn10200.
7878
7879 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
7880 before trying to create it!
7881
7882Mon Feb 10 16:40:47 1997 Bob Manson <manson@charmed.cygnus.com>
7883
7884 * config/vx.exp: Use hostname instead of netport.
7885
7886 * config/vxworks.exp: New file.
7887
7888 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
7889
7890 * config/monitor.exp(gdb_target_monitor): Look for a prompt from
7891 gdb before assuming everything worked. Send a ^C if a timeout
7892 occurs.
7893
7894 * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
7895 $gdb_spawn_id directly.
7896 (gdb_run_cmd): Try _start as well as start. Use the target feature
7897 gdb,start_symbol as the symbol to start from when jumping.
7898
7899Mon Feb 10 11:26:59 1997 Jeffrey A Law (law@cygnus.com)
7900
7901 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
7902 redundant) test.
7903
7904 * gdb.base/recurse.exp: Relax final value test for 'b' so that
7905 it doesn't lose for 16bit integer systems.
7906
7907Fri Feb 7 09:31:21 1997 Jeffrey A Law (law@cygnus.com)
7908
7909 * gdb.fortran/types.exp: If the target doesn't support "double"
7910 data types, then expect "real" types to only be 4 bytes.
7911
7912 * gdb.c++/virtfunc.exp: Expect failure for virtual function
7913 call tests if the target doesn't support inferior function calls.
7914
7915 * gdb.base/printcmds.exp: Allow minor deviation in FP values
7916 in printf tests.
7917
7918Thu Feb 6 12:46:14 1997 Jeffrey A Law (law@cygnus.com)
7919
7920 * gdb.base/help.exp: Disable "help set", "help show", and
7921 "help support". Simplify regexp for "help stack".
7922
7923 * gdb.base/default.exp: Set match_max to 5000 and the timeout
7924 to 60 seconds. Temporarily set match_max to 15000 around the
7925 "info copying" test.
7926
7927 * gdb.base/nodebug.exp: Don't try to do an inferior function
7928 call if the target doesn't support them.
7929 * gdb.base/printcmds.exp: Likewise.
7930 * gdb.base/setvar.exp: Likewise.
7931 * gdb.base/structs.exp: Likewise.
7932 * gdb.c++/templates.exp: Likewise.
7933 * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
7934
7935 * gdb.base/recurse.exp: Enable for the mn10200.
7936
7937 * configure.in: Do configure gdb.stabs directory for *-*-elf
7938 targets.
7939 * configure: Rebuilt.
7940
7941 * gdb.base/break.exp: Check for gdb,noresults before testing
7942 exit status and/or results from the target.
7943 * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
7944 * lib/gdb.exp: Remove old (now bogus) initialization of
7945 noinferior, noargs, noresults and nosignals.
7946
7947Tue Feb 4 21:52:17 1997 Bob Manson <manson@charmed.cygnus.com>
7948
7949 * config/sh.exp: New file.
7950
7951 * config/slite.exp: Try to connect multiple times to the board
7952 before rebooting. Only send a "monitor run" if need_monitor_run
7953 is set.
7954
7955 * gdb.base/break.exp: Don't do the "stub continue" test if
7956 the target has gdb_stub set.
7957
7958 * gdb.base/callfuncs.exp: Increase the timeout.
7959
7960 * gdb.base/interrupt.exp: Don't even try to compile the testcase
7961 if the target has gdb,noinferiorio set.
7962
7963 * gdb.base/list.exp: Increase match_max to 10000 characters.
7964
7965 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
7966
7967 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
7968 target.
7969
7970 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
7971
7972Mon Feb 3 12:09:37 1997 Bob Manson <manson@charmed.cygnus.com>
7973
7974 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
7975 trying to delete the copy of gdb. Catch the file delete so we
7976 don't die if the delete fails; also, the file should be copied to
7977 the host, not to the build.
7978
7979Sun Feb 2 00:55:14 1997 Bob Manson <manson@charmed.cygnus.com>
7980
7981 * lib/gdb.exp(gdb_test): Surround the result pattern with
7982 parenthesis in case it contains multiple regexps separated
7983 with |.
7984
7985 * gdb.base/watchpoint.exp: Use gdb_test.
7986 * gdb.base/default.exp: Ditto.
7987
7988Sat Feb 1 23:51:01 1997 Bob Manson <manson@charmed.cygnus.com>
7989
99707966 7990 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
d63a86f8 7991
c906108c
SS
7992 * gdb.base/scope.exp: Use gdb_test.
7993 * gdb.c++/classes.exp: Ditto.
7994 * gdb.c++/inherit.exp: Ditto.
7995
7996Fri Jan 31 13:09:12 1997 Bob Manson <manson@charmed.cygnus.com>
7997
7998 * gdb.base/crossload.exp: Don't use execute_anywhere, use
7999 remote_exec instead.
8000 * gdb.base/corefile.exp: Don't be ridiculous.
8001 * gdb.base/*.c: Add missing stub invocations.
8002
8003Thu Jan 30 16:49:25 1997 Bob Manson <manson@charmed.cygnus.com>
8004
8005 * config/slite.exp: Miscellaneous fixes.
8006
8007 * lib/gdb.exp: Fix runto.
8008
8009 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
8010 the target.
8011
8012 * gdb.base/watchpoint.exp: Fix regexp.
8013
8014 * lib/gdb.exp(default_gdb_exit): Add a catch to the
8015 close and wait commands, as the descriptor may now be
8016 invalid. Always call "remote_close host".
8017
8018Tue Jan 28 14:42:31 1997 Bob Manson <manson@charmed.cygnus.com>
8019
8020 Major rewrite for testsuite revision.
d63a86f8 8021
c906108c
SS
8022 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
8023 TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
8024 instead of relying on spawn_id to always contain a valid
8025 spawn id.
8026 (get_compiler_info): New procedure to build the ${binfile}.ci
8027 file, instead of replicating this in N different places.
8028 (gdb_compile): New procedure.
d63a86f8 8029
c906108c
SS
8030 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
8031 appropriate arguments) instead of compile. Use gdb_test in a lot
8032 more places. Use send_gdb instead of send. Always run gdb_start
8033 at the start of a testcase, as this is no longer done magically.
8034
8035 config/*-gdb.exp: Rename without the -gdb suffix.
8036
8037 config/mips.exp: Use remote_close instead of exit_remote_shell.
8038 config/monitor.exp: Use target_info instead of looking at
8039 baud, timeout, etc.
8040 config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
8041
8042Sat Dec 14 00:43:57 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8043
8044 * gdb.c++/templates.exp (test_ptype_of_templates),
8045 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
8046 Update expect patterns for destructors and assignment operators
8047 to match corresponding c-typeprint.c changes.
8048 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
8049 to destructor breakpoint test, GDB should be able to set the
8050 destructor breakpoint without specifying arguments.
8051
8052Tue Dec 3 20:17:52 1996 Fred Fish <fnf@cygnus.com>
8053
8054 * gdb.threads/pthreads.exp: Change result for failure to compile due
8055 to lack of pthreads runtime support from an error to simply an
8056 unsupported test, per dejagnu standards.
8057
8058Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8059
8060 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
8061 where GDB exits to reduce pattern match time.
8062 (skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
8063
8064 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
8065
dc96c6c7 8066Tue Nov 26 18:29:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
8067
8068 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
8069 * gdb.base/default.exp: ditto.
8070 * gdb.base/nodebug.exp: ditto.
8071 * gdb.base/printcmds.exp: ditto.
8072 * gdb.base/ptype.exp: ditto.
8073 * gdb.base/setvar.exp: ditto.
8074 * gdb.base/structs.exp: ditto.
8075 * gdb.base/setshow.c: Guard against uninitialized values of argc.
8076
8077Tue Nov 26 17:23:28 1996 Ian Lance Taylor <ian@cygnus.com>
8078
8079 * configure, */configure: Rebuild with autoconf 2.12.
8080
8081Sat Nov 23 13:32:15 1996 Fred Fish <fnf@cygnus.com>
8082
8083 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
8084 use new i*86-pc-linux*-gnu quads.
8085 * gdb.base/corefile.exp: Ditto.
8086 * gdb.base/signals.exp: Ditto.
8087 * gdb.base/sigall.exp: Ditto.
8088 * gdb.base/interrupt.exp: Ditto.
8089
8090 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
8091 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
8092 RedHat 4.0.
d63a86f8 8093
c906108c
SS
8094 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
8095 linux. This allows the test case to at least compile on latest
8096 linux, but still not run due to missing the threads runtime library.
8097
8098Fri Nov 22 10:13:29 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8099
8100 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
8101 directory to search gdb directory. Accept and step over conditional
8102 stack alignment code. Consume $prompt in failure cases.
8103 Reset timeout to $oldtimeout instead of some arbitrary value.
8104 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
8105 timeout problems with infinite stack backtraces.
8106 * gdb.base/ptype.exp (ptype struct link, union tu_link):
8107 Accept function parameters for linkfunc member.
8108
8109Thu Nov 21 09:17:19 1996 Fred Fish <fnf@cygnus.com>
8110
8111 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
8112 (CXXFLAGS): Remove, unreferenced.
8113 (B_OPTIONS): Add for -B options and add code to initialize with
8114 previous -B options and also add -B option to pick up cross compiled
8115 runtime.
8116 (TARGET_INCLUDES): Add for -I options and add code to initialize when
8117 doing cross compiles.
8118 (target_alias): Declare global.
8119 (xgcc): Set variable to full path of gcc in build tree. Use findfile
8120 to verify that gcc exists in build tree, and if so set CC to that
8121 gcc and to use B_OPTIONS and TARGET_INCLUDES.
d63a86f8 8122
c906108c
SS
8123Tue Nov 12 16:20:13 1996 Fred Fish <fnf@cygnus.com>
8124
8125 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
8126 ptype test for anonymous union. Fixup testcase to match
8127 current gcc debug output.
8128
8129Mon Nov 11 14:12:06 1996 Jeffrey A Law (law@cygnus.com)
8130
8131 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
8132 force argument to an unsigned long type.
8133
8134Mon Nov 11 10:27:55 1996 Fred Fish <fnf@cygnus.com>
8135
8136 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
8137 tests and anonymous union print/ptype tests.
8138 * gdb.base/list.exp (test_forward-search): Increase timeout by
8139 5 minutes for the "search extremely long line" case.
8140 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
8141 completely optional and that the pass/fail messages use the command as
8142 the message if that third arg is a null string.
8143 (gdb_test_exact): Arrange that a null string pattern means match a
8144 null string output rather than any output, which might include random
8145 errors.
8146 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
8147 backtrace test.
8148 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
8149 always failing and failure is now exposed by gdb.exp changes.
8150
8151Sat Nov 9 11:13:24 1996 Fred Fish <fnf@cygnus.com>
8152
8153 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
8154 weren't being noted.
8155
8156Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8157
8158 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
8159 * gdb.stabs/weird.exp: Remove v_comb xfails.
8160
dc96c6c7 8161Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
8162
8163 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
8164 list.exp scope.exp watchpoint.exp]
8165 Make all timeout error msgs explicitly say "(timeout)".
d63a86f8 8166
dc96c6c7 8167Mon Nov 4 12:03:06 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
8168
8169 * config/monitor.exp: Increase download timeout to 1000 seconds.
8170
dc96c6c7 8171Mon Nov 4 12:02:26 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
8172
8173 * config/m32r.exp: Increase timeout to 120 seconds.
8174
8175Sun Nov 3 14:37:05 1996 Fred Fish <fnf@cygnus.com>
8176
8177 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
8178 and accept older ordering as obsolescent gcc or gdb.
8179 * gdb.c++/templates.exp: Ditto.
8180 * gdb.c++/virtfunc.exp: Ditto.
8181
8182Fri Nov 1 11:56:09 1996 Fred Fish <fnf@cygnus.com>
8183
8184 * gdb.base/coremaker.c: Add code to mmap some data so we
8185 can check that it ends up in the core file.
8186 * gdb.base/corefile.exp: Add test to read mmapped data
8187 from core file.
8188
dc96c6c7 8189Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
8190
8191 * config/m32r.exp: New file.
8192
8193Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
8194
8195 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
8196 that cflags can contains -gstabs, and work correctly for other tests.
8197
dc96c6c7 8198Mon Oct 21 14:00:37 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
8199
8200 * gdb.base/setshow.exp: New file, tests show and set.
8201 * gdb.base/setshow.c: New file, tests show and set.
8202 * gdb.base/help.exp: Add test for help set|show annotate.
8203 * gdb.base/default.exp: Add test for set|show annotate.
8204
8205Wed Oct 16 19:03:54 1996 Stu Grossman (grossman@critters.cygnus.com)
8206
8207 * testsuite/gdb.base/break.exp: Make backtrace from factorial
8208 errors unique.
8209 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
8210 explicitly.
8211
8212Tue Oct 15 16:45:02 1996 Stu Grossman (grossman@critters.cygnus.com)
8213
8214 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
8215 and width commands. This is done elsewhere.
8216 * (gdb_start): Don't call gdb_start_sim here. That's already
8217 done in gdb_load. This fixes lots of failures in default.exp.
8218
8219Sun Oct 13 10:40:23 1996 Fred Fish <fnf@cygnus.com>
8220
8221 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
8222 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
8223 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
8224 in the same we we treat other failures (since it may be an expected
8225 condition), rather than as an error.
8226 * gdb.base/signals.exp (test_handle_all_print): Revert back to
8227 old test format.
8228
8229Fri Oct 11 17:05:22 1996 Fred Fish <fnf@cygnus.com>
8230
8231 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
8232 (distclean maintainer-clean realclean): No need to remove files
8233 twice. Nuke the duplicates.
8234 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
d63a86f8 8235 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
c906108c
SS
8236 Remove config.h along with other config files.
8237
8238Mon Sep 30 20:16:22 1996 Fred Fish <fnf@cygnus.com>
8239
8240 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
8241 "p func1 ()" and note that rests of tests are skipped.
8242 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
8243 setup_xfails for "print func2::coremaker_local".
8244 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
8245 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
8246 affected by the previous run test.
8247 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
8248 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
8249 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
8250 "pass int powerset tuple" and "pass modeless int powerset tuple".
8251 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
8252 "real write 4" and "real write 8".
8253 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
8254 setup_xfails for "print vs1 after tuple assign 2",
8255 "print \$i after tuple assign 2", and
8256 "print vs2 after tuple assign 2".
8257 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
8258 meaningful error message and return -1 so the caller can
8259 suppress further tests and avoid a cascade of errors.
d63a86f8 8260
c906108c
SS
8261Fri Sep 27 10:34:51 1996 Fred Fish <fnf@cygnus.com>
8262
8263 * gdb.base/a1-selftest.exp: Tweak tests to account for new
8264 format for printing version.
8265 * gdb.base/default.exp: Ditto.
8266 * gdb.base/interrupt.exp: Fix problem with cascade of
8267 errors if child process dies while calling a function.
d63a86f8 8268
c906108c
SS
8269Fri Sep 13 21:43:48 1996 Fred Fish <fnf@cygnus.com>
8270
8271 * Makefile.in (VPATH): Add
8272 * Makefile.in (Makefile, config.status): Fix rules so things get
8273 remade when necessary.
8274
8275Fri Sep 13 18:16:10 1996 Fred Fish <fnf@cygnus.com>
8276
8277 * Makefile.in (just-check): Add path to sibling expect dir
8278 to environment variable specified by RPATH_ENVVAR.
8279
8280Fri Sep 13 12:05:34 1996 Fred Fish <fnf@cygnus.com>
8281
8282 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
8283 (just-check): Add shared library paths for libstdc++, tk,
8284 tcl, bfd, and opcodes to the environment variable specified
8285 in RPATH_ENVVAR.
8286 * configure.in: Add support to recognize --enable-shared flag
8287 and generate correct value for RPATH_ENVVAR.
8288 * configure: Regenerated with autoconf.
8289
8290Mon Sep 2 06:36:02 1996 Fred Fish <fnf@cygnus.com>
8291
8292 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
8293 include all osf versions.
8294 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
8295 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
8296 when target is linux. When failing to build pthreads test
8297 executable, give more meaningful message.
8298 * gdb.threads/pthreads.c: Hpux also uses old definition of second
8299 arg for pthread_create.
d63a86f8 8300
c906108c
SS
8301Mon Aug 19 09:58:59 1996 Fred Fish <fnf@cygnus.com>
8302
8303 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
8304 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
8305 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
8306 and -lpthreads (everybody else).
8307 (test_startup): Fail gracefully if threads are not supported.
8308 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
8309 "p/c array_index("abcdef",2)" when not gcc compiled.
8310 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
8311 "print func2::coremaker_local" when not gcc compiled.
8312 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
8313 "ptype on opaque struct tagname (statically)",
8314 "ptype on opaque struct tagname (dynamically) 1", and
8315 "ptype on opaque struct tagname (dynamically) 2"
8316 for not compiled with gcc.
8317 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
8318 backtrace when compiled with gcc.
d63a86f8 8319 * lib/gdb.exp (runto_main): Return result of "runto main" rather
c906108c
SS
8320 than always return success.
8321
8322Sat Aug 17 13:28:00 1996 Fred Fish <fnf@cygnus.com>
8323
8324 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
8325
8326Tue Aug 13 10:26:10 1996 Jeffrey A Law (law@cygnus.com)
8327
8328 * gdb.base/structs.exp: Undo last change.
8329
8330Mon Aug 12 15:29:08 1996 Fred Fish <fnf@cygnus.com>
8331
8332 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
8333 encapsulate all the steps/nexts done during self test, starting
8334 at main, and makes them less sensitive to optimization issues.
8335 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
8336 signal handler" test.
8337 * gdb.threads/pthreads.exp: Only run this for native configs.
8338 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
8339 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
8340 tests.
8341 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
8342 for "runto test_calls(void)" test.
d63a86f8 8343
c906108c
SS
8344Sun Aug 11 13:11:24 1996 Fred Fish <fnf@cygnus.com>
8345
8346 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
8347 and don't expect address info in breakpoint confirmations.
8348
8349Wed Aug 7 20:47:43 1996 Fred Fish <fnf@cygnus.com>
8350
8351 * gdb.base/list.exp (test_forward_search): Increase timeout
8352 temporarily by 60 seconds for searching extremely long line,
8353 and then reset to old value when done. Increase expect input
8354 buffer to 10000.
8355
8356Wed Aug 7 15:34:22 1996 Fred Fish <fnf@cygnus.com>
8357
8358 * gdb.base/list.exp (test_forward_search): Fix to handle very
8359 long source line without overflowing expect's input buffer.
8360
8361Wed Aug 7 12:03:25 1996 Tom Tromey <tromey@creche.cygnus.com>
8362
8363 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
8364 "buffer_full".
8365
8366 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
8367 "buffer_full".
8368
8369 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
8370 "buffer_full".
8371
8372 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
8373 "buffer_full".
8374
8375Wed Aug 7 11:05:47 1996 Fred Fish <fnf@cygnus.com>
8376
8377 * configure.in (configdirs): Add gdb.threads.
8378 * configure: Regenerated with autoconf.
8379 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
8380 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
8381 * gdb.threads/configure: New, generated with autoconf.
d63a86f8 8382
c906108c
SS
8383Tue Aug 6 10:23:04 1996 Tom Tromey <tromey@rtl.cygnus.com>
8384
8385 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
8386
8387Mon Aug 5 18:11:53 1996 Fred Fish <fnf@cygnus.com>
8388
8389 * gdb.base/signals.exp (test_handle_all_print): Test separately for
8390 each signal's status in the output of "handle all print".
8391 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
8392 the \r\n sequence that immediately precedes the gdb prompt.
8393 * gdb.base/a1-selftest.exp: Save original timeout and restore
8394 after test.
8395
8396Sun Aug 4 10:20:50 1996 Jeffrey A Law (law@cygnus.com)
8397
8398 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
8399 symbol.
8400
8401Fri Aug 2 17:37:26 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
8402
8403 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
8404
8405Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
8406
8407 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
8408 timeout by 60 seconds.
8409
8410Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
8411
8412 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
8413 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
8414 error return.
8415
8416Thu Jun 27 10:54:58 1996 Fred Fish <fnf@cygnus.com>
8417
8418 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
8419 gdb initialization, also report how long dejagnu waited. Restore
8420 old timeout before doing error return. Temporarily increase timeout
8421 by 3 minutes to allow for slow startups over heavy NFS use.
8422
8423Tue Jun 25 19:59:17 1996 Fred Fish <fnf@cygnus.com>
8424
8425 * lib/gdb.exp: Report timeout value for verbosity level 2.
8426 * config/gdbserver.exp: Ditto.
8427 * config/hppro.exp: Ditto.
8428 * config/mips-gdb.exp: Ditto.
8429 * config/monitor.exp: Ditto.
8430 * config/netware.exp: Ditto.
8431 * config/sim-gdb.exp: Ditto.
8432 * config/slite-gdb.exp: Ditto.
8433 * config/udi-gdb.exp: Ditto.
8434 * config/unix-gdb.exp: Ditto.
8435 * config/vx-gdb.exp: Ditto.
8436 * gdb.base/a1-selftest.exp: Ditto.
8437 * gdb.base/a2-run.exp: Ditto.
8438 * gdb.base/break.exp: Ditto.
8439 * gdb.base/corefile.exp: Ditto.
8440 * gdb.base/list.exp: Ditto.
8441 * gdb.base/recurse.exp: Ditto.
8442 * gdb.base/scope.exp: Ditto.
8443 * gdb.base/signals.exp: Ditto.
8444
8445Tue Jun 25 23:16:58 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
8446
8447 * gdb.threads/Makefile.in (docdir): Removed.
8448
8449Tue Jun 25 17:02:39 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
8450
8451 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
d63a86f8 8452 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
c906108c 8453 @srcdir@.
d63a86f8 8454 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
c906108c
SS
8455 autoconf 2.5 or higher.
8456 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
8457
8458Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
8459
8460 * configure: Regenerated.
8461 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
8462 avoid name clashes with SunOS headers.
8463
8464Wed Jun 5 16:43:27 1996 Jeffrey A Law (law@cygnus.com)
8465
8466 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
8467
8468Thu May 30 11:35:11 1996 Jeffrey A Law (law@cygnus.com)
8469
8470 * gdb.base/callfuncs.exp: Finish last change -- make sure the
8471 prototype information ends up in the compiler info file.
8472
8473Thu May 23 12:48:41 1996 Fred Fish <fnf@cygnus.com>
8474
8475 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
8476 attempting to regenerate it. Eliminate use of a temporary file
8477 and just generate the info file directly. Source it immediately,
8478 for consistency of use.
8479 * gdb.base/corefile.exp: Ditto
8480 * gdb.base/exprs.exp: Ditto.
8481 * gdb.base/funcargs.exp: Ditto.
8482 * gdb.base/langs.exp: Ditto.
8483 * gdb.base/list.exp: Ditto.
8484 * gdb.base/mips_pro.exp: Ditto.
8485 * gdb.base/nodebug.exp: Ditto.
8486 * gdb.base/opaque.exp: Ditto.
8487 * gdb.base/ptype.exp: Ditto.
8488 * gdb.base/scope.exp: Ditto.
8489 * gdb.base/setvar.exp: Ditto.
8490 * gdb.base/signals.exp: Ditto.
8491 * gdb.base/whatis.exp: Ditto.
8492 * gdb.c++/templates.exp: Ditto.
8493 * gdb.c++/virtfunc.exp: Ditto.
8494 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
8495 whether or not to add -lstdc++ to the compile command line args.
8496
8497Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8498
8499 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
8500 it got fixed by the recent lookup_minimal_symbol_by_pc change.
8501 Increase timeout, a lot of single stepping might be needed if the
8502 target has no hardware watchpoints.
8503
8504Wed May 15 08:47:42 1996 Jeffrey A Law (law@cygnus.com)
8505
8506 * gdb.base/break.exp: Ignore compiler warnings when compiling
8507 break.c.
8508 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
8509 * gdb.base/default.exp: Add h8300 xfails. Handle messages
8510 from remote-sim.
8511 * gdb.base/exprs.exp: Add h8300 xfails.
8512 * gdb.base/funcargs.exp: Likewise.
8513 * gdb.base/nodebug.exp: Likewise.
8514 * gdb.base/printcmds.exp: Likewise.
8515 * gdb.base/ptype.exp: Likewise.
8516 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
8517 h8300 xfails.
d63a86f8 8518 * gdb.base/return.exp: Handle float/double precision problems
c906108c
SS
8519 on the h8300.
8520 * gdb.base/funcargs.c: Explicitly make last constant argument to
8521 call_after_alloca_subr an unsigned long type.
8522 * gdb.base/return.c: Include stdio.h.
8523
8524Tue May 7 22:01:12 1996 Rob Savoye <rob@chinadoll.cygnus.com>
8525
8526 * config/abug.exp: New file for the older Motorola Bug monitor
8527 that runs on the mvme13x series VME boards.
8528 * config/monitor.exp: Use the new config array for target settings
8529 if they exist.
8530
8531Fri May 3 16:02:55 1996 Stan Shebs <shebs@andros.cygnus.com>
8532
8533 * sim-gdb.exp: Make the SH simulator allocate less space when
8534 it is targeted.
8535
8536Thu May 2 12:31:56 1996 Jeffrey A Law (law@cygnus.com)
8537
8538 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
8539 test.
8540
8541Wed Mar 20 08:48:03 1996 Fred Fish <fnf@cygnus.com>
8542
8543 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
8544 "rs6000-*-*" for "list function in include file" when gcc compiled.
8545 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
8546 for "p ctable1[120]".
8547 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
8548 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
8549 Remove setup_xfail for "rs6000-*-*" for
8550 "print 'scope0.c'::filelocal before run".
8551 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
8552 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
8553 since some compilers don't allow both options to be given
8554 on the same command line. Create object file and move it.
d63a86f8 8555
c906108c
SS
8556Tue Mar 19 23:49:31 1996 Fred Fish <fnf@cygnus.com>
8557
8558 * gdb.base/corefile.exp: Always regenerate the core file, since
8559 we always regenerate the coremaker program. Detect special case
8560 where registers cannot be read from core file.
d63a86f8 8561
c906108c
SS
8562Tue Mar 19 16:52:49 1996 Fred Fish <fnf@cygnus.com>
8563
8564 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
8565 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
8566 * gdb.c++/templates.exp: Only match on basename of file since
8567 some formats like xcoff don't encode directory information.
8568 * gdb.stabs/weird.exp: Use the right sed script for powerpc
8569 and rs6000 AIX xcoff targets.
8570 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
8571 * configure: Regenerate.
8572 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
8573 here, rather than in distclean.
d63a86f8 8574
c906108c
SS
8575Sun Mar 17 13:35:31 1996 Fred Fish <fnf@cygnus.com>
8576
8577 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
8578 defined, and use it to compile the test case with -O2. The
8579 native compilation still uses no optimization.
8580 * gdb.base/mips_pro.c: Remove inline assembly code since
8581 it is compiled PIC by default, which results in assembler
8582 warnings that make the testsuite think the compilation
8583 was unsuccessful.
8584
8585Sat Mar 16 15:02:24 1996 Fred Fish <fnf@cygnus.com>
8586
8587 * gdb.c++/misc.exp: Add note to message for
8588 "print s.a for foo struct" that this is a known gcc 2.7.2
8589 and earlier bug.
8590
8591Fri Mar 15 17:49:57 1996 Fred Fish (fnf@cygnus.com)
8592
8593 * gdb.base/break.exp: Fix pattern for matching "Delete all
8594 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
8595 setup_xfail for deleting all breakpoints test. Fix various
8596 timeout messages to include "(timeout)".
8597 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
8598 for "p t_float_values2(3.14159,float_val2)".
8599 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
8600 for "continue to call2g" when gcc compiled.
8601 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
8602 "up to foo in langs.exp", "show language at foo in langs.exp",
8603 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
8604 and "show language at fsub in langs.exp".
8605 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
8606 "list line 1 in include file", "list message for lines past EOF",
8607 "list function in include file", "list list0.h:foo", and
8608 "list filename:function; nonexistant function".
8609 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
8610 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
8611 and "ptype t_char_array" to be for native cc only.
d63a86f8 8612
c906108c
SS
8613Fri Mar 15 16:17:22 1996 Fred Fish <fnf@cygnus.com>
8614
d63a86f8 8615 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
c906108c
SS
8616 setup_xfail for "print coremaker_bss", "print coremaker_ro",
8617 "print func2::coremaker_local", and "backtrace in corefile.exp".
8618
8619Wed Mar 13 14:54:11 1996 Fred Fish <fnf@cygnus.com>
8620
8621 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
8622 "bt in signals.exp". This problem only appears when running
8623 the testsuite, and then only intermittently.
8624
8625Tue Mar 12 15:00:16 1996 Stan Shebs <shebs@andros.cygnus.com>
8626
8627 * gdb.base/return.exp (return_tests): Differentiate between
8628 two tests of continuing.
8629
8630Tue Mar 5 14:33:33 1996 Stan Shebs <shebs@andros.cygnus.com>
8631
8632 * */Makefile.in (maintainer-clean): Remove config.log.
8633 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
8634 * gdb.c++/Makefile.in (PROGS): Add inherit.
8635 (clean): Remove *.ci.
8636
8637Tue Feb 20 16:36:10 1996 Fred Fish <fnf@cygnus.com>
8638
8639 * gdb.c++/misc.cc: Add test code from Mike Stump.
8640 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
8641
8642Sun Feb 18 11:39:12 1996 Fred Fish <fnf@cygnus.com>
8643
8644 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
8645 to "alpha-*-osf2*" and add comment.
8646 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
8647 setup_xfail for "step over execarg initialization" and
8648 "step over corearg initialization".
8649 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
8650 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
8651 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
8652 gcc compiled for "print coremaker_bss", "print coremaker_ro",
8653 "print func2::coremaker_local", and "backtrace in corefile.exp".
8654 * gdb.base/signals.exp: Build and source signals.ci.
8655 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
8656 to be for gcc only.
8657 * lib/gdb.exp: Move verbose statements outside conditionals.
d63a86f8 8658
c906108c
SS
8659Sat Feb 17 02:22:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8660
8661 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
8662 Feb 3 procfs.c change.
8663
8664Fri Feb 16 13:25:31 1996 Fred Fish <fnf@cygnus.com>
8665
8666 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
8667
8668Thu Feb 15 08:12:55 1996 Fred Fish <fnf@cygnus.com>
8669
8670 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
8671 from dejagnu's apparent default of 10 seconds, which gives random
8672 results when running the tests over NFS on moderately loaded systems.
8673 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
8674
8675Mon Feb 12 16:50:28 1996 Fred Fish <fnf@cygnus.com>
8676
8677 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
8678 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
8679 result reports.
8680
8681Fri Feb 9 15:56:51 1996 Fred Fish <fnf@cygnus.com>
8682
8683 * configure.in (CY_AC_PATH_TCLH): Remove.
8684 * configure: Regenerate.
8685
8686Fri Feb 9 08:21:31 1996 Fred Fish <fnf@cygnus.com>
8687
8688 * gdb.c++/Makefile.in (clean): Add missing '{'.
8689
8690Fri Feb 2 10:19:40 1996 Jeffrey A Law (law@cygnus.com)
8691
8692 * lib/gdb.exp: Provide a default value for noinferior.
8693
8694 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
8695 Load libgloss.exp.
8696
8697Thu Feb 1 20:20:14 1996 Jeffrey A Law (law@cygnus.com)
8698
8699 * gdb.disasm/hppa.exp: Compile directly into an executable, use
8700 the executable, not the .o to run the tests from.
8701
8702Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com)
8703
8704 * gdb.base/break.exp: Don't test for program exit or exit status
8705 if $noresults if nonzero.
8706 * gdb.base/langs.exp: Likewise.
8707 * gdb.base/watchpoint.exp: Likewise.
8708
8709 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
8710 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
8711 trying to compile the testcase.
8712
8713Wed Jan 24 23:42:39 1996 Doug Evans <dje@charmed.cygnus.com>
8714
8715 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
8716 * gdb.base/signals.exp (continue to handler): Likewise.
8717
8718Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
8719
8720 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
8721
8722 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
8723
8724Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
8725
8726 * gdb.base/corefile.exp: Recognize "not found" as failure
8727 when trying to determine if a core file was generated.
8728 If no core file was generate the first time, try again without
8729 the ulimit -c to work around braindamaged shells.
8730
8731Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
8732
8733 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
8734 [] tests with "test" and enclose string in quotes.
8735 * gdb.stabs/configure: Rebuild
d63a86f8 8736
c906108c
SS
8737Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
8738
8739 Changes in sync with expect:
8740 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
8741 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
8742 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
8743 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
8744 argument to AC_REQUIRE.
8745 * configure: Regenerated.
8746
8747Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
8748
8749 * gdb.base/corefile.exp: When generating a core, discard any
8750 error messages about ulimit not found and the "core dumped"
8751 message from the shell that runs the coredumper.
8752
8753Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
8754
8755 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
8756
8757 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
8758 which sed script to run. Expect failure for v_comb test
8759 on PA targets too.
d63a86f8 8760
c906108c
SS
8761Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
8762
8763 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
8764 "print func2::coremaker_local" and for "backtrace in corefile.exp"
8765
8766Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
8767
8768 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
8769 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
8770 "sparc-sun-solaris*" xfails for "p v_comb".
8771 * lib/gdb.exp (default_gdb_start): Fix typo.
8772 * gdb.base/corefile.exp: Allow "Core was generated by ..."
8773 messages to not include the full program name that caused
8774 the core dump since some systems (such as solaris) apparently
8775 truncate this path to about 80 characters.
8776 When generating a core file first try increasing the core file
8777 size limit to unlimited since some systems may default it to
8778 zero, and it is harmless to try it. Move the test for failing
8779 to generate a core file to where it will actually get executed.
8780 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
8781 new gdb result from g++ debug info improvements and make old
8782 pattern obsolescent. Also account for size_t differences
8783 (may be int or long).
8784 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
8785 initialization before function call is placed in the delay slot
8786 and thus appears to be skipped over by commands such as "next".
8787
8788Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
8789
8790 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
8791
8792Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
8793
8794 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
8795 input source file; fix code to compile test to deal with this
8796 convention.
8797 * gdb.c++/*.exp: Likewise.
8798
8799Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
8800
8801 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
8802 "bt in signals.exp".
8803
8804Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
8805
8806 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
8807 "step over execarg initialization" and
8808 "step over corearg initialization".
8809
8810Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
8811
8812 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
8813 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
8814
8815Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
8816
8817 From Rob Savoye (rob@poseidon.cygnus.com)
8818 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
8819 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
8820 configure.in}, gdb.disasm/{Makefile.in, configure.in},
8821 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
8822 configure.in}: Major reworking for autoconfig.
8823 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
8824 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
8825 New files.
8826 * config/unix-gdb.exp: Make GDB global.
8827 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
8828 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
8829 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
8830 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
8831 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
8832 term.exp, twice.exp, watchpoint.exp, whatis.exp},
8833 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
8834 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
8835 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
8836 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
8837 pr-8136.exp, result.exp, string.exp, tuples.exp},
8838 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
8839 to returns as necessary, arrange for test to compile own testcase
8840 executable.
8841 * lib/gdb.exp: Changes for testsuite to compile own test cases.
d63a86f8 8842
c906108c
SS
8843Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
8844
8845 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
8846 clear_xfail at end of test which might not call either pass or fail.
8847 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
8848 "backtrace through signal handler".
8849
8850Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8851
8852 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
8853 continuing from a job control stop signal.
8854 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
8855
8856Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
8857
8858 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
8859 * gdb.base/corefile.exp: Likewise.
8860 * gdb.base/funcargs.exp: Likewise.
8861
8862Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
8863
8864 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
8865 * config/monitor.exp: Add support for setting baud rate.
8866
8867Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
8868
8869 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
8870 i*86-*-linux* xfails for "backtrace through signal handler".
8871 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
8872 "print func2::coremaker_local".
8873 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
8874 alpha-dec-osf2* xfail for
8875 "delete all breakpoints when none".
8876
8877Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
8878
8879 * gdb.base/break.exp: Change test that deletes all breakpoints
8880 when no user breakpoints are installed. A post 4.15 change
8881 causes gdb to no longer prompt in this case.
8882
8883Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
8884
8885 * gdb.base/return.exp (return_tests): Change xfail for test
8886 "correct value returned double test" to stop xfailing at
8887 Solaris 2.5. Apparently the bug has been fixed.
8888
8889Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
8890
8891 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
8892 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
8893
8894Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
8895
8896 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
8897 * gdb.disasm/hppa.s: Corresponding changes.
8898
8899Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
8900
8901 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
8902 makefile fragment.
8903 * config/mt-hpux: Deleted.
8904
8905Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
8906
d63a86f8 8907 * Many files: When warning about suppressed tests due to a
c906108c
SS
8908 nonexistant test binary, avoid incrementing the warning count.
8909
8910Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
8911
8912 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
d63a86f8 8913
c906108c
SS
8914Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8915
8916 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
8917 "sparc-*-solaris2*".
8918
8919Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8920
8921 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
8922 Add global and local variables and initialize them.
8923 * gdb.base/corefile.exp: Test correct mapping of corefile sections
8924 by printing variables. Remove rs6000 and powerpc xfails, BFD now
8925 extracts the file name and terminating signal from the core file.
8926 * TODO: Remove note about tests for correct mapping of corefile.
8927 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
8928 from optimizing it away.
8929 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
8930 handles common blocks.
8931
8932Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
8933
8934 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
8935 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
8936
8937Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
8938
8939 * Makefile.in (maintainer-clean): New target, synonym for
8940 realclean.
8941 * gdb.base/Makefile.in (maintainer-clean): Likewise.
8942 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
8943 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
8944 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
8945 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
8946 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
8947
8948Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
8949
8950 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
8951 xfails when not gcc compiled for "print foo::funclocal".
8952 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
8953 "print foo::funclocal at foo",
8954 "print 'scope1.c'::foo::funclocal at foo",
8955 "print foo::funclocal_bss at foo",
8956 "print 'scope1.c'::foo::funclocal_bss at foo",
8957 "print foo::funclocal_ro at foo",
8958 "print 'scope1.c'::foo::funclocal_ro at foo",
8959 "print bar::funclocal at foo" and
8960 "print 'scope1.c'::bar::funclocal at foo".
8961 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
8962 gcc compiled for "print foo::funclocal at bar".
8963 Expand all messages to ensure that they identify that
8964 the test is at bar().
8965 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
8966 gcc compiled for:
8967 "ptype on opaque struct pointer (statically)",
8968 "ptype on opaque struct tagname (statically)",
8969 "ptype on opaque struct pointer (dynamically) 1",
8970 "ptype on opaque struct tagname (dynamically) 1",
8971 "ptype on opaque struct pointer (dynamically) 2" and
8972 "ptype on opaque struct tagname (dynamically) 2
8973 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
8974 gcc compiled for:
8975 "p datalocal"
8976 "whatis datalocal",
8977 "ptype datalocal",
8978 "p bsslocal",
8979 "whatis bsslocal", and
8980 "ptype bsslocal".
8981 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
8982 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
8983 when not gcc compiled.
8984 * gdb.base/funcargs.exp (float_and_integral_args): Add
8985 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
8986 compiled.
8987 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
8988 "backtrace from call6a" when not gcc compiled.
8989 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
8990 "backtrace from call7a" when not gcc compiled.
8991 * gdb.base/callfuncs.exp (do_function_calls):
8992 Add "hppa*-*-hpux*" xfail when not gcc compiled for
8993 "p t_char_array_values(char_array_val2,char_array_val1)",
8994 "p t_char_array_values(char_array_val1,char_array_val2)",
8995 "p t_char_array_values("carray 1","carray 2")",
8996 "p t_char_array_values("carray 1",char_array_val2)",
8997 "p t_char_array_values(char_array_val1,"carray 2")",
8998 "p sum_args(1,{2})",
8999 "p sum_args(2,{2,3})",
9000 "p sum_args(3,{2,3,4})",
9001 "p sum_args(4,{2,3,4,5})"
9002 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
9003 "backtrace in corefile.exp" when not gcc compiled.
9004
9005Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9006
9007 * gdb.base/signals.exp: Rewrite `handle all print' test as
9008 a procedure. Accept blanks or TABs as whitespace, increase
9009 timeout and expect input buffer size for the large output
9010 from the command. Remove "i*86-*-bsdi2.0" xfail.
9011
9012Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9013
9014 * gdb.base/setvar.exp: Add new testcases for truncation when
9015 assigning invalid values to bitfields.
9016
9017Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
9018
d63a86f8 9019 * gdb.base/callfuncs.exp (do_function_calls): Remove
c906108c
SS
9020 mips-sgi-irix* xfail for
9021 "call inferior func with struct - returns char *"
9022 and fix test so that an optional (unsigned char *) cast is
9023 accepted in the result.
9024
9025Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
9026
9027 * gdb.base/funcargs.exp (float_and_integral_args): Remove
9028 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
9029 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
9030 * gdb.base/signals.exp: Remove duplicate "handle all print" test
9031 that accidentally got checked in.
9032
9033Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
9034
d63a86f8 9035 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
c906108c
SS
9036 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
9037 compiled test.
9038 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
9039 Add mips-sgi-irix5* xfail for not gcc compiled.
9040 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
9041 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc compiled for
9042 "p top", "whatis top", "p middle", and "whatis middle".
9043 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
9044 "whatis signed char" for not gcc compiled.
9045 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
9046 "set variable signed char=-1 (-1)" and
9047 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
9048 * gdb.base/funcargs.exp (float_and_integral_args):
9049 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
9050 Add mips-sgi-irix* xfail when not gcc compiled for
9051 "continue to call2b".
9052 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
9053 "continue to call2g".
9054 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc compiled for
9055 "backtrace from call6a"
9056 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc compiled for
9057 "backtrace from call7k".
9058 Add mips-sgi-irix5* xfail when not gcc compiled for
9059 "backtrace from call7a".
9060 (localvars_after_alloca): Fix gdb_test cmds for
9061 "print * after runto ...".
9062 Remove rs6000-*-* xfails for
9063 "print i after runto localvars_after_alloca" and
9064 "print l after runto localvars_after_alloca"
9065 for all compilers.
9066 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
9067 when not compiled with gcc, for:
9068 "print signed char == (minus)",
9069 "print signed char != (minus)",
9070 "print signed char < (minus)",
9071 "print signed char > (minus)".
9072 * gdb.base/callfuncs.exp (do_function_calls):
9073 Add mips-sgi-irix* xfail, when compiled with native compiler, for
9074 "call inferior func with struct - returns char *".
d63a86f8 9075 * gdb.base/return.exp (return_tests): Change xfail for
c906108c
SS
9076 "correct value returned double test" to include Solaris 2.4.
9077 * gdb.base/funcargs.exp (float_and_integral_args):
9078 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
d63a86f8 9079
c906108c
SS
9080Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9081
9082 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
9083 enumeration bitfields if compiling with GNU C.
9084 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
9085 to empty' prompt.
9086
9087Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
9088
9089 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
9090 test for PRO targets.
9091
9092 * gdb.base/funcargs.exp: Avoid ever setting more than 8
9093 breakpoints in the inferior at any given time by making
9094 two groups of breakpoints for call2*, call6* and call7*
9095 tests.
9096
9097Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9098
9099 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
9100 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
9101 from optimizing it away.
9102 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
9103 "call inferior func with struct".
9104
9105Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
9106
9107 * configure.in: Only configure gdb.chill for particular targets.
9108
9109Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
9110
9111 * gdb.base/Makefile.in: Add action to .c.o transformation
9112 rule that generates a .ci file for each .o file and remove
9113 explicit .c.o rules except for callfuncs.o.
9114 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
9115 generates a .ci file for each .o file and remove explicit
9116 .cc.o rules.
9117 (clean): Remove *.tmp *.ci files.
9118 (EXECUTABLES): Remove templ-info.exp.
9119 * gdb.base/compiler.c: New file.
9120 * gdb.c++/compiler.cc: New file
9121 * gdb.base/scope.exp: Source gdb.base/scope.ci.
9122 Change rs6000-*-* xfail for
9123 "print 'scope0.c'::filelocal_ro" and
9124 "print 'scope1.c'::filelocal" and
9125 "print 'scope1.c'::filelocal_bss" and
9126 "print 'scope1.c'::filelocal_ro" and
9127 "print 'scope1.c'::foo::funclocal" and
9128 "print 'scope1.c'::foo::funclocal_ro" and
9129 "print 'scope1.c'::bar::funclocal" and
9130 "print 'scope0.c'::filelocal_ro" and
9131 "print 'scope1.c'::filelocal at foo" and
9132 "print 'scope1.c'::filelocal_bss at foo" and
9133 "print 'scope1.c'::filelocal_ro at foo" and
9134 "print 'scope1.c'::foo::funclocal at foo" and
9135 "print 'scope1.c'::foo::funclocal_bss at foo" and
9136 "print 'scope1.c'::foo::funclocal_ro at foo" and
9137 "print 'scope1.c'::bar::funclocal at foo" and
9138 "print 'scope0.c'::filelocal_ro" and
9139 "print 'scope1.c'::filelocal" and
9140 "print 'scope1.c'::filelocal_bss" and
9141 "print 'scope1.c'::filelocal_ro" and
9142 "print 'scope1.c'::foo::funclocal" and
9143 "print 'scope1.c'::foo::funclocal_bss" and
9144 "print 'scope1.c'::foo::funclocal_ro" and
9145 "print 'scope1.c'::bar::funclocal" and
9146 "print 'scope1.c'::bar::funclocal_bss"
9147 to only be xfail'd when not compiled with gcc.
d63a86f8 9148 Add rs6000-*-* xfail for
c906108c
SS
9149 "print 'scope0.c'::filelocal_bss before run"
9150 when compiled with gcc.
9151 (test_at_main): Add rs6000-*-* xfail for
9152 "print filelocal_ro in test_at_main"
9153 when compiled with gcc.
9154 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
d63a86f8 9155 Add rs6000-*-aix* xfail for
c906108c
SS
9156 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
9157 "ptype t_char_array", not compiled with gcc.
9158 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
9159 xfail for "list foo (in include file)" when gcc compiled.
9160 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
9161 (integral_args): Add rs6000-*-* xfail for
9162 "run to call0a" if not compiled with gcc.
9163 (unsigned_integral_args): Add rs6000-*-* xfail for
9164 "run to call1a" if not compiled with gcc.
9165 (float_and_integral_args): Add rs6000-*-* xfail for
9166 "run to call2a" if not compiled with gcc and for
9167 "continue to call2b" for any compiler.
9168 Add rs6000-*-* xfail to
9169 "print f1 after run to call2a" for gcc compiled.
9170 (discard_and_shuffle): Add rs6000-*-* xfail for
9171 "run to call6a".
9172 (shuffle_round_robin): Add rs6000-*-* xfail for
9173 "backtrace from call7a" if not compiled with gcc.
9174 Add rs6000-*-* xfail for
9175 "backtrace from call7b" if compiled with gcc.
9176 (call_after_alloca): Add rs6000-*-* xfail for
9177 "print c in call_after_alloca" and
9178 "print s in call_after_alloca" and
9179 "backtrace from call_after_alloca_subr"
9180 if not compiled with gcc.
9181 (localvars_in_indirect_call): Add rs6000-*-* xfail for
9182 "print c in localvars_in_indirect_call" and
9183 "print c in localvars_in_indirect_call" and
9184 "backtrace in indirectly called function" and
9185 "stepping into indirectly called function"
9186 if not compiled with gcc.
9187 (localvars_after_alloca): Add rs6000-*-* xfail for
9188 "print c after runto localvars_after_alloca" and
9189 "print s after runto localvars_after_alloca" and
9190 "print i after runto localvars_after_alloca" and
9191 "print l after runto localvars_after_alloca"
9192 for all compilers.
9193 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
9194 than whatis-info.exp.
9195 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
9196 than opaque-info.exp.
9197 Setup rs6000-*-* xfail for
d63a86f8 9198 "ptype on opaque struct pointer (statically)" and
c906108c
SS
9199 "ptype on opaque struct pointer (dynamically)" when
9200 not compiled with gcc.
9201 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
9202 rather than callf-info.exp.
9203 (do_function_calls): Add clear_xfail for rs6000-*-* for
9204 "p t_float_values2(3.14159,float_val2)". Seems to work
9205 fine there, both with xlc and gcc. Need to find out what
9206 it is doing right and fix other platforms.
9207 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
9208 "call inferior func with struct - returns int",
9209 "call inferior func with struct - returns long",
9210 "call inferior func with struct - returns float",
9211 "call inferior func with struct - returns double",
9212 "call inferior func with struct - returns char *",
9213 but only if not gcc compiled (presumes xlc compiled).
9214 Change rs6000-*-* xfails for
9215 "call inferior func with struct - returns char" and
9216 " call inferior func with struct - returns short" to only
9217 xfail if not using gcc.
9218 (clean mostlyclean): Remove *.ci and *.tmp files.
9219 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
9220 than templ-info.exp.
9221 * gdb.base/langs.exp: Source gdb.base/langs.ci.
9222 Add rs6000-*-* xfail for "up to foo in langs.exp"
9223 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
9224 when not gcc compiled.
d63a86f8 9225
c906108c
SS
9226Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
9227
9228 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
9229 * gdb.base/corefile.exp: Likewise.
9230 * gdb.base/list.exp: Likewise.
9231 * gdb.base/scope.exp: Likewise.
9232 * gdb.base/siganls.exp: Likewise.
9233
9234 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
9235 compiler output.
9236 * gdb.base/whatis.exp: Likewise.
9237
9238Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
9239
9240 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
9241 failure (opcode table has been fixed to match reality).
9242
9243Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
9244
9245 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
9246 "call inferior func with struct - returns char",
9247 "call inferior func with struct - returns short"
9248
9249 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
9250 "print 'scope0.c'::filelocal at main",
9251 "print 'scope0.c'::filelocal_bss in test_at_main",
9252 "print 'scope0.c'::filelocal at foo",
9253 "print 'scope0.c'::filelocal_bss in test_at_foo",
9254 "print 'scope0.c'::filelocal at bar",
9255 "print 'scope0.c'::filelocal_bss in test_at_bar"
d63a86f8 9256
c906108c
SS
9257 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
9258 in source file 1". This bug seems to have been fixed with both
9259 gcc and native cc (was native assembler bug?).
9260
9261Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
9262
9263 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
9264 "backtrace through signal handler" to "i*86-*-sysv4*".
9265 * gdb.base/signals.exp: Add xfail for "'next' behaved as
9266 continue" case. Add "known SVR4 bug" to fail message.
9267 Add "i*86-*-bsdi2.0" xfail for "handle all print".
9268 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
9269 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
9270 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
9271 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
9272 "up to foo in langs.exp", "show language at foo in
9273 langs.exp", "up to cppsub_ in langs.exp", "show
9274 language at cppsub_ in langs.exp", "up to fsub in
9275 langs.exp", and "show language at fsub in langs.exp".
9276 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
9277 "bactrace in corefile.exp".
9278 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
9279 "call inferior function with struct - returns float" and
9280 "call inferior function with struct - returns double".
d63a86f8 9281
c906108c
SS
9282Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
9283
9284 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
9285 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
9286 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
9287 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
9288
9289Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
9290
9291 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
9292 (or overriden) "CHILL" macro rather then bare "gcc".
9293 Also look for ../../gcc/xgcc since that is what we will
9294 actually need, not "Makefile". Remove following assignment
9295 of CHILL to CHILL_FOR_TARGET because that results in
9296 recursive definition.
9297
9298Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
9299
9300 * gdb.base/corefile.exp: Change xfail for backtrace in
9301 corefile.exp from linuxaout to all linux.
9302 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
9303 cases where we miss the breakpoint at the signal handler
9304 for some reason. Setup xfail for linuxoldld/linuxaout and
9305 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
9306 hitting SIGURG breakpoint.
9307 * gdb.base/signals.exp: Setup xfail for "next" acting like
9308 continue to add linuxoldld. Setup xfail for all linux for
9309 "next to handler in signals_tests_1", "backtrace in
9310 signals_tests_1", "continue to func1", "pass SIGUSR1",
9311 and continue to handler".
9312
9313Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
9314
9315 * Update all FSF addresses except those in COPYING* files.
9316
9317Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
9318
9319 * gdb.base/a2-run.exp: Change messages to be more explicit about
9320 the status of args, and quote binfile in results.
9321
9322Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
9323
9324 * gdb.base/callfuncs.exp: Add tests for passing structs to
9325 inferior functions and return various types.
9326 * gdb.base/callfuncs.c: Add functions to receive a struct
9327 and return a member of the struct, in various types.
9328
9329Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9330
9331 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
9332
9333Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
9334
9335 * config/vxworks29k.exp: New file, sources vxworks.exp.
9336
9337Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
9338
9339 * config/gdbremote.exp: New file. Testing framework using
9340 gdbserver.
9341
9342Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
9343
9344 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
9345 "call function when asleep" and "send end of file".
9346 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
9347 for "backtrace in corefile.exp".
9348 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
9349 for "backtrace through signal handler".
9350 * gdb.base/corefile.exp: Make sure we actually generate a core file
9351 before trying the core tests. Some systems allow the user to suppress
9352 generation of core files and default to that (linux for example).
9353 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
9354 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
9355
9356Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
9357
9358 * gdb.threads: New directory with some crude multi-threaded
9359 gdb tests (step.exp and step2.exp).
9360 * config/mt-lynx (STEP_EXECUTABLE): Define.
9361 (THREADFLAGS): Define.
9362
9363Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
9364
9365 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
9366
9367 * gdb.base/signals.exp: Disable whole file for lynx until
9368 further notice.
9369
9370 * gdb.base/signals.exp: xfail test where "next" acts like
9371 "continue" for lynx.
9372
9373 * gdb.base/interrupt.exp: xfail test for calling function while
9374 inferior is asleep for lynx.
9375
9376 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
9377 than one cr-lf after each command.
9378
9379Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9380
9381 * configure.in: Reinstate setting of stabsdirs variable, fix
9382 typo in setting up configdirs for native builds.
9383
9384 * gdb.base/return.exp: Fix typo in return double test.
9385 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
9386 compiler from optimizing them away.
9387
9388Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
9389
9390 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
9391 sequences to be echo'd by gdb when using gdb_test.
9392 * gdb.chill/chexp.exp: Likewise.
9393 * gdb.fortran/exprs.exp: Likewise
9394
9395Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
9396
9397 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
9398 after the inferior gdb has started.
9399
9400 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
9401 after each command.
9402 * gdb.base/funcargs.exp: Likewise.
9403 * gdb.base/gdbvars.exp: Likewise.
9404 * gdb.base/interrupt.exp: Likewise.
9405 * gdb.base/list.exp: Likewise.
9406 * gdb.base/watchpoint.exp: Likewise.
9407 * gdb.c++/demangle.exp: Likewise.
9408 * gdb.c++/inherit.exp: Likewise.
9409 * gdb.chill/chexp.exp: Likewise.
9410 * gdb.fortran/exprs.exp: Likewise.
9411
9412 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
9413 test if we can't handle IO to/from the inferior.
9414
9415 * gdb.c++/misc.exp: Always check for a program already being
9416 started after sending a "run" command to gdb.
9417
9418 * gdb.base/twice.exp: Start with a fresh gdb.
9419
9420 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
9421 only depend on gdb's expression code, not the chill runtime.
9422
9423 * gdb.base/return.c: Put return values into variables so we
9424 can have gdb print them rather than depending on the program
9425 to print them.
9426 * gdb.base/return.exp: Corresponding changes.
9427
9428 * lib/gdb.exp: Provide default value for noinferiorio.
9429 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
9430 the inferior.
9431
9432 * gdb.base/break.exp: Always check for a program already being
9433 started after sending a "run" command to gdb.
9434 (text_next_with_recursion): Don't check the output from the
9435 program's printf statement. Instead just make sure the program
9436 exited.
9437
9438 * gdb.base/commands.exp: Protect tests which need arguments with
9439 $noargs conditionals.
9440
9441Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9442
9443 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
9444 of structure member arrays to match gdb/valops.c:value_addr change.
9445
9446Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
9447
9448 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
9449 cases.
9450
9451Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
9452
9453 * configure.in (configdirs): Remove gdb.chill from default list
9454 of subdirs and then add it back in only if doing a native build.
9455 The current chill compiler does not yet work in any cross build.
9456 * Revert all signal changes from Jul 6.
9457 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
9458 for sh-hms targets, allowing these tests to link, with no other
9459 changes. Testing is suppressed by setting "nosignals" in site.exp.
9460
9461Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
9462
9463 * configure.in (signaldirs): Define and add to configdirs for all
9464 targets except some specific ones that are known to not support signals.
9465 Also clean up formatting.
9466 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
9467 (signals, sigall): Remove rules to build.
9468 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
9469 Moved to new gdb.signals directory.
9470 * gdb.signals: New test directory.
9471 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
9472 signals.c signals.exp}: New or moved files.
9473
9474Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
9475
9476 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
9477
9478Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
9479
9480 * gdb.base/return.exp: Xfail `return double' test failure
9481 on at least Solaris 2.3 and handle future/past versions on
9482 a case by case basis as appropriate. Also update message
9483 to include i*86 failures.
9484
9485Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9486
9487 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
9488
9489 * lib/gdb.exp: Fix comment which erroneously identified
9490 gdb_file_cmd as gdb_load (the 19 May change was in fact to
9491 gdb_file_cmd not gdb_load).
9492 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
9493
9494 * gdb.base/setvar.exp: Make test names consistent between pass and
9495 fail cases. Use gdb_test more.
9496
9497Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9498
9499 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
9500
9501Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9502
9503 * gdb.base/help.exp: Fix expected help string for `show commands'.
9504
9505Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
9506
9507 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
9508
9509 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
9510 of a text section.
9511
9512Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
9513
9514 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
9515 that loop eventually terminates. Fix Connection refused logic so
9516 that testsuite will expire nicely.
9517
9518Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
9519
9520 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
9521 config/rom68k.exp: New tcl glue for the appropriate monitors.
9522 These all just end up calling monitor.exp.
9523 * config/monitor.exp (gdb_target_monitor): Handle `Connection
9524 refused' by retrying. Cleanup some timeout issues.
9525 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
9526 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
9527 callers don't have to set/restore global timeout variable.
9528
9529 * The following set of changes centralizes management of the global
9530 timeout variable. This way, it can be set in one target dependent
9531 place instead of dozens of places scattered throughout the test suite.
9532 If you need to lengthen a timeout, then you should either set timeout
9533 in one of the config/{target}.exp files, or multiply it by a factor.
9534 Setting it to an absolute value is always going to lose for some
9535 targets.
9536 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
9537 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
9538 * gdb.base/funcargs.exp: Don't set timeout.
9539 * gdb.base/list.exp (test_forward_search): Only use local timeout.
9540 * gdb.base/printcmds.exp (test_print_string_constants
9541 test_print_array_constants): Don't set timeout.
9542 * gdb.base/ptype.exp: Don't set timeout.
9543 * gdb.base/recurse.exp: Don't set timeout.
9544 * gdb.base/return.exp: Don't set timeout.
9545 * gdb.base/watchpoint.exp: Don't set timeout.
9546 * gdb.c++/classes.exp (do_tests): Don't set timeout.
9547 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
9548
9549Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
9550
9551 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
9552
9553Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9554
9555 * lib/gdb.exp: Disable chill tests for irix5.
9556
9557Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9558
9559 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
9560 each test pass or fail.
9561
9562Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9563
9564 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
9565 xlc not gcc.
9566
9567Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
9568
9569 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
9570
9571Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
9572
9573 * config/est.exp: Fix copyright and comments. Remove dead code.
9574 Use targetname, serialport and baud variables instead of fixed
9575 constants.
9576 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
9577 * config/cpu32bug.exp: New file to support cpu32bug monitors.
9578
9579Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9580
9581 * gdb.base/watchpoint.exp: Don't run
9582 test_watchpoint_triggered_in_syscall for sunos.
9583
9584Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9585
9586 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
9587 they don't seem to exist. Do include stdio.h.
9588
9589Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9590
9591 * gdb.base/a1-selftest.exp: Add alpha xfail.
9592
9593Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9594
9595 * gdb.base/watchpoint.c (main): Prompt before calling read().
9596 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
9597 Revise accordingly. Remove cruft about sending "123" several
9598 times, until it gets noticed. Clean up the "print buf[0]" stuff
9599 so that it passes or fails, and waits for prompts in the usual way.
9600
9601Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9602
9603 * gdb.base/recurse.exp: Fix comment.
9604
9605 * TODO: Remove item about printing variables in nodebug.exp. Add
9606 item about enabling tests which are only run on some targets.
9607
9608 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
9609 fail, make test names unique, use new gdb_test convention
9610 regarding pattern, use gdb_test more, etc.).
9611
9612 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
9613 fail, make test names unique, etc.).
9614
9615Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9616
9617 * gdb.base/nodebug.c: Change return type of top and middle to
9618 short.
9619 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
9620 are fixed by the recent mdebugread.c changes. Allow `short ()'
9621 as type for top and middle.
9622
9623Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9624
9625 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
9626 nearly as I can tell, the whole thing was an accident in Stu's
9627 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
9628 to replace a send/expect pair with gdb_test, but ended up only
9629 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
9630 of 30 Mar 1995 took care of it, but left this vestigial comment
9631 which I am now nuking.
9632
9633Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9634
9635 * gdb.base/break.exp: Look for different line number for
9636 breakpoint at main depending on usestubs.
9637
9638Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9639
9640 * gdb.base/list.exp: Adjust some alternate expect patterns to
9641 match recent list0.c change. Add alternate expect pattern for
9642 output from `list default lines around main' for optimizing
9643 compilers.
9644
9645Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9646
9647 * lib/gdb.exp: If nosignals is not set, set it to 0.
9648
9649Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
9650
9651 * config/slite-gdb.exp: Responds to load symbol table prompt.
9652 * gdb.base/break.exp: Adjust line number, fix rerun.
9653 * gdb.base/langs0.c: Add #ifdef usestubs.
9654
9655Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
9656
9657 * gdb.base/list.exp: Adjust line contents after adding new lines in
9658 list0.c. Also fix a syntax error.
9659
9660 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
9661 * gdb.base/break.exp: ditto.
9662 * gdb.base/list.exp: ditto.
9663 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
9664 * gdb.base/run.c: ditto.
9665 * gdb.base/list0.c: ditto.
9666 * gdb.base/funcargs.c: ditto.
9667
9668Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
9669
9670 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
9671 $targetname, $serialport and $baud instead of hardwired variables.
9672 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
9673 target doesn't support signals.
9674
9675Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
9676
9677 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
9678
9679Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9680
9681 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
9682 Don't rely on the value of an auto variable before it has been
9683 initialized. Use gdb_test more.
9684
9685Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9686
9687 * lib/gdb.exp (default_gdb_version): A version number must start
9688 with a digit, but other than that contains all characters up to
9689 the first whitespace character.
9690
9691Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9692
9693 * gdb.base/commands.exp (breakpoint_command_test): New tests.
9694
9695Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9696
9697 * gdb.c++/*.exp: Warn if executable does not exist. The original
9698 reason for skipping the warning was that configure.in sometimes
9699 intentionally skipped building the executables but the tcl code
9700 had no way of knowing. That (a) was always bogus with respect to
9701 error handling, (b) is no longer true (right now there is no way
9702 to skip C++ tests).
9703
9704 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
9705
9706Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9707
9708 * gdb.base/list.exp: Add expect patterns for output from
9709 SunPRO compiled executables.
9710 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
9711 types.
9712
9713Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9714
9715 * gdb.base/break.exp (test_next_with_recursion): Accept any line
9716 number (we are already testing that the correct source line text
9717 gets printed).
9718
9719 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
9720 that is what is intended, but something needed to be done to get
9721 sunos4 native working again.
9722
9723 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
9724
9725 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
9726 apparently went with a (very) old xfail.
9727
9728Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
9729
9730 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
9731 runto_main is a proc in gdb.exp that will do 'step' for target use
9732 stubs.
9733 * gdb.base/exprs.exp: ditto.
9734 * gdb.base/interrupt.exp: ditto.
9735 * gdb.base/opaque.exp: ditto.
9736 * gdb.base/printcmds.exp: ditto.
9737 * gdb.base/ptype.exp: ditto.
9738 * gdb.base/scope.exp: ditto.
9739 * gdb.base/setvar.exp: ditto.
9740 * gdb.base/signals.exp: ditto.
9741 * gdb.base/twice.exp: ditto.
9742 * gdb.c++/classes.exp: ditto.
9743 * gdb.c++/inherit.exp: ditto.
9744 * gdb.c++/templates.exp: ditto.
9745 * gdb.base/break.exp: no run and hit main for stubs. Change line
9746 numbers for breakpoints and info breakpoint.
9747 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
9748 breakpoint().
9749 * gdb.base/callfuncs.c: ditto.
9750 * gdb.base/exprs: ditto.
9751 * gdb.base/interrupt.c: ditto.
9752 * gdb.base/opaque0.c: ditto.
9753 * gdb.base/printcmds.c: ditto.
9754 * gdb.base/ptype.c: ditto.
9755 * gdb.base/scope0.c: ditto.
9756 * gdb.base/setvar.c: ditto.
9757 * gdb.base/signals.c: ditto.
9758 * gdb.base/twice.c: ditto.
9759 * gdb.c++/misc.cc: ditto.
9760 * gdb.c++/templates.cc: ditto.
9761
9762Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9763
9764 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
9765
9766 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
9767 somewhere between `read' and `main.c'. I'm pretty sure the
9768 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
9769 and it isn't particularly useful.
9770
9771 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
9772
9773Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9774
9775 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
9776
9777Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
9778
9779 * config/mt-slite: add LIBS and -nostdlib.
9780 * config/slite-gdb.exp: add this new file to support sparclite target.
9781
9782Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
9783
9784 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
9785
9786 * gdb.base/a2-run.exp: Change argument to istarget from
9787 "*-*-vxworks" to "*-*-vxworks*".
9788 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
9789
9790Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
9791
9792 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
9793 will not runto main but do a 'step' to step out of breakpoint().
9794 * config/mt-slite: add -Dusestubs.
9795
9796Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9797
9798 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
9799 instead of just @.
9800
9801 * gdb.base/signals.exp: Add test for "handle all print".
9802 * TODO: Remove "handle all print". Also remove item about
9803 checking copyright date (I don't like the idea of a spurious FAIL
9804 based on when we run the tests).
9805
9806 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
9807 for SunOS4 (reason for failure not investigated). Remove
9808 redundant test for $binfile.
9809
9810 * gdb.base/nodebug.c (array_index): Call malloc.
9811
9812 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
9813
9814Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
9815
9816 * gdb.base/recurse.exp: Update gdb_test invocation to use new
9817 conventions and slightly simplify the matching regexp.
9818
9819Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9820
9821 * gdb.base/break.exp: Update gdb_test invocation to use new
9822 convention.
9823
9824 * lib/gdb.exp: If noargs is not set, set it to 0.
9825
9826 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
9827 tests unique.
9828
9829 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
9830
9831Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9832
9833 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
9834 one argument of type "<non-float parameter>".
9835
9836Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
9837
9838 * config/rom68k.exp: New file to support Motorola IDP board.
9839 * gdb.base/a2-run.exp: Skip this file if noargs is set.
9840 * gdb.base/break.c: Change things around so that this program
9841 doesn't depend upon args. This is necessary to make remote
9842 targets work (in general, they can't take args).
9843 * gdb.base/break.exp: Don't try to send args to program. Don't
9844 expect output. Also, replace lots of code with gdb_test.
9845
9846Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9847
9848 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
9849 printing of '\'' (which is what the comment says we are testing,
9850 even though we were not), not '''.
9851 (test_integer_literals_rejected): Test that printing ''' is an error.
9852
9853 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
9854 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
9855 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
9856 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
9857 Use gdb_test not test_print_accept.
9858 * lib/gdb.exp: Remove test_print_accept.
9859
9860 * gdb.base/signals.exp (signal_tests_1): Make pass message
9861 consistent with fail message.
9862
9863 * gdb.base/whatis.exp: Remove xfails for printing char vs.
9864 unsigned char; the bug (PR 1821) is fixed.
9865
9866 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
9867
9868 * gdb.base/scope.exp (test_at_localscopes): Call pass for
9869 successful tests--makes xfailing them work right.
9870
9871Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9872
9873 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
9874 only \r\n, not .*. The test can pass .* as the last thing in
9875 $pattern if that is what it wants. In addition to providing this
9876 flexibility, this change should speed up pattern matching in cases
9877 where the pattern already ended with .* (there were a number of
9878 them). This change also helps catch bad patterns--in the old
9879 scheme the typo "char \*" instead of "char \\*" would pass. Now
9880 it is caught.
9881 * Many .exp files: Update callers.
9882
9883 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
9884 clearer and does not spuriously match multiple ('s. Likewise for
9885 ) and *.
9886
9887 * gdb.base/nodebug.exp: Test ability to call a function and pass
9888 it a string (even with no debugging info).
9889
9890 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
9891 "p '\'", which is the same as "p ''" once tcl gets done with
9892 quoting, to "p '\\'", which I suspect is what is intended (one
9893 backslash gets sent to GDB).
9894
9895 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
9896
9897Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9898
9899 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
9900 1817) was fixed literally years ago.
9901
9902Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9903
9904 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
9905 test, it causes stepping out of call_after_alloca_subr with
9906 optimizing compilers.
9907 (localvars_in_indirect_call): Consume GDB prompt if `finish'
9908 fails.
9909
9910 * gdb.c++/templates.exp: Source templ-info.exp only if
9911 the templates executable exists.
9912
9913 * gdb.c++/misc.cc (class Contains_static_instance,
9914 class Contains_nested_static_instance),
9915 gdb.c++/classes.exp (test_static_members): Test printing of
9916 a class that contains a static instance of the class.
9917
9918Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9919
9920 * gdb.base/langs2.c (cppsub_): Don't prototype.
9921 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
9922 only, I believe).
9923
9924Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9925
9926 * lib/gdb.exp (skip_chill_tests): New procedure.
9927
9928 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
9929
9930Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
9931
9932 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
9933 each expect pattern. Cuts runtime from 12 to about 4 seconds.
9934
9935Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9936
9937 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
9938
9939 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
9940 disassemble 8, not 16, instructions for part 4.
9941
9942 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
9943 support the latter anymore.
9944
9945 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
9946 -DNO_PROTOTYPES.
9947 * gdb.base/callfuncs.c: Control use of prototypes based on
9948 NO_PROTOTYPES, not __STDC__.
9949 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
9950 t_float_values2 tests if prototypes in use.
9951
9952 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
9953 t_double_values): When checking differences against DELTA, check
9954 that difference is within the range (-DELTA,DELTA), not just
9955 (-infinity,DELTA).
9956
9957Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
9958
9959 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
9960 'file' command firts, then 'target', then 'load', this is due to gdb
9961 target set up.
9962 * config/mips-gdb.exp: Fix a couple regular exp bugs.
9963
9964Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
9965
9966 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
9967 FP load/store variants.
9968 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
9969
9970Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
9971
9972 * gdb.base/term.exp: Do not give a warning if not native, it is
9973 not an abnormal condition.
9974
9975Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
9976
9977 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
9978 t_char_array".
9979
9980Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
9981
9982 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
9983 are getting the version number.
9984
9985 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
9986 if not native, it is not an abnormal condition.
9987
9988Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9989
9990 * lib/gdb.exp: Just use "file exists", rather than undocumented
9991 dejagnu procedure "findfile".
9992
9993Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
9994
9995 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
9996 (LDFLAGS): Set to -Xlinker -Ur.
9997
9998 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
9999 Removed, these values are set by lib/gdb.exp.
10000
10001 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
10002
10003Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
10004
10005 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
10006 of replicating gdb startup code.
10007
10008 * config/mt-vxworks (LDFLAGS): Set to -r.
10009 (CFLAGS_FOR_TARGET): Removed.
10010
10011 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
10012 (gdb) and gdb for vxworks uses (vxgdb).
10013
10014 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
10015 executable is not in the tree and host != target, use sed and
10016 program_transform_name to determine the gdb name used by the
10017 target.
10018
10019 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
10020 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
10021
10022Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10023
10024 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
10025 floats, chars, and shorts where there are ANSI-style function
10026 definitions.
10027
10028 * gdb.base/langs.exp, gdb.base/langs*: New test.
10029 * gdb.base/Makefile.in: Build it.
10030 * TODO: Remove item about checking that C names don't get C++
10031 demangling applied; this test tests it.
10032
10033Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10034
10035 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
10036 went with the const70 xfail. The xfail went away a year ago.
10037
10038 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
10039
10040 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
10041 for hp300.
10042
10043 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
10044
10045 * gdb.base/a1-selftest.exp: Don't run on hp300.
10046
10047Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10048
10049 * Makefile.in (site.exp): Set host_alias and target_alias as well
10050 as host_triplet and target_triplet.
10051
10052Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10053
10054 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
10055
10056 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
10057 places as other ecoff systems).
10058
10059 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
10060 ultrix.
10061
10062Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10063
10064 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
10065 remove them.
10066 * gdb.base/nodebug.exp: Accept "function" in addition to "text
10067 variable and "variable" in addition to "data variable".
10068 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
10069
10070 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
10071 2.
10072 * gdb.base/list1.c (long_line): Add additional statement at start
10073 of function.
10074 * gdb.base/list.exp (test_forward_search): Update line number to
10075 reflect new statement.
10076
10077Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10078
10079 * gdb.base/signals.exp: Reinitialize searched source directories
10080 after gdb_start call.
10081
10082Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
10083
10084 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
10085 * gdb.stabs/Makefile.in: Likewise.
10086
10087 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
10088 change. Instead split the tests into smaller pieces.
10089 * gdb.disasm/hppa.s: Corresponding changes.
10090
10091Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10092
10093 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
10094 Quote ^C when passing it to stty. For some shells ^ is a pipe.
10095
10096 * gdb.base/funcargs.exp: Modify many tests so that every test
10097 either passes or fails. Make some test names unique.
10098
10099Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10100
10101 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
10102 Call stty to set interrupt character.
10103
10104 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
10105 for HP assembler versus GNU assembler based on actual behavior of
10106 $(CC), rather than assuming that $(AS) is always the GNU assembler.
10107
10108 * TODO: Suggest a few more stepping tests.
10109
10110Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
10111
10112 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
10113 restart GDB for h8300 after a continue.
10114 (return): Add pattern to match a29k-udi behavior.
10115 * gdb.base/nodebug.exp: Remove obsolete comment.
10116 * gdb.base/regs.exp: New file, testing of register displays.
10117 * gdb.base/return.exp: Fix typo in reference to $objdir.
10118 * gdb.base/whatis.exp: Always start with a fresh GDB.
10119
10120Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10121
10122 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
10123 higher, these tests generate a lot of output.
10124
10125Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10126
10127 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
10128 code following the catch silently ignored some errors; without the
10129 catch they should be thrown like any other tcl error. Also, the
10130 catch used "" instead of {} which meant all the callers who wanted
10131 to include one of the characters "[]$ had to quote it an extra time.
10132 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
10133 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
10134 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
10135 Remove extra quoting.
10136
10137Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
10138
10139 * gdb.base/commands.exp: Make test names unique; every test either
10140 passes or fails. Update some comments.
10141
10142 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
10143
10144Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10145
10146 The following fixes a FAIL caused by the fact that the alpha stabs
10147 configuration didn't use the ".if alpha" code in weird.def.
10148 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
10149 bit pointer, so the 32 bit version works even on the alpha.
10150 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
10151 Remove the stuff which allowed us to have separate versions for
10152 alpha and everything else.
10153
10154 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
10155 regexp which "info func operator\[\](" is supposed to match. Fix
10156 string to send to GDB. Note that GDB still doesn't work right. Add a
10157 new test for "info func .perator\[\](" which GDB does handle correctly.
10158
10159 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
10160
10161Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10162
10163 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
10164 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
10165 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
10166 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
10167 it makes the tests harder to understand and confuses test-o-matic.
10168 The preferred style is that each test provides a PASS or a FAIL,
10169 and has a unique message (e.g. "continue #54" not just "continue")
10170 which is the same for the pass and the fail.
10171 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
10172 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
10173 to lib/gdb.exp.
10174 * gdb.base/printcmds.exp: Use test_print_accept. Remove
10175 prt_accept which was basically the same thing. Likewise for
10176 test_print_reject and prt_reject.
10177 * lib/gdb.exp (test_print_reject): Add some more error message
10178 patterns to match from the former printcmds.exp (prt_reject).
10179 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
10180 One defect of the passcount stuff is that some of it failed to
10181 report XPASS where appropriate.
10182 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
10183 stuff before and after arg in expected pattern.
10184 (test_paddr_operator_functions): Re-do test without print_addr_of;
10185 this is the only test which seems to want extra stuff there.
10186
10187Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
10188
10189 * gdb.base/nodebug.exp: Update new tests to reflect improved
10190 wording of gdb output.
10191
10192 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
10193 and "ptype" work on variables in files compiled without -g.
10194 Replaces commented out "maint print msymbol" tests.
10195
10196Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
10197
10198 * gdb.base/setvar.c (dummy): Call malloc.
10199
10200 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
10201 losing with the irix4 sed.
10202
10203 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
10204 ALRM" on irix4.
10205
10206Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
10207
10208 * TODO: Remove items about corefile.exp testing new exec-file and
10209 backtrace; both are now done. Add items about printing enums.
10210
10211Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
10212
10213 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
10214 "get signal $thissig" test fails.
10215
10216 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
10217
10218Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
10219
10220 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
10221 compiler warning with dec alpha compiler.
10222
10223 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
10224 extra \n from gdb_test call (this explains why the prompt test
10225 that I removed yesterday was there).
10226 (user_defined_command_test): Remove extra \n and prompt test.
10227
10228 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
10229 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
10230 doesn't exist.
10231 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
10232 Also remove alpha workaround, which turns out to be because
10233 SIGABRT == SIGLOST.
10234
10235 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
10236
10237 * gdb.base/help.exp: Don't test "help show".
10238
10239Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
10240
10241 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
10242 "set print address" is on.
10243 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
10244 pass prompt to gdb_test; gdb_test already looks for the prompt.
10245
10246 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
10247
10248 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
10249 was a vestige of the manual TESTSTRATEGY, and the purpose of it
10250 was to make sure that gdb can read a core file. But (a) the "read
10251 the corefile" part didn't make it to a1-selftest.exp, we just
10252 delete the corefile after creating it, and (b) we test reading
10253 corefiles in corefile.exp anyway. Also, this test left around a
10254 xgdb process on Solaris.
10255
10256 * gdb.base/corefile.exp: Also test backtrace.
10257
10258Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
10259
10260 * gdb.base/commands.exp: Test a simple user defined command with
10261 arguments and if/while statements; verify the full user command is
10262 printed by "show user".
10263
10264 * gdb.base/commands.exp: Test if/while commands as part of a
10265 breakpoint command list; verify they appear in breakpoint
10266 information.
10267
10268Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
10269
10270 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
10271 than by dividing by zero.
10272
10273Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
10274
10275 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
10276 performing an inferior call with watchpoints enabled.
10277 * gdb.base/watchpoint.c (main): Delete second unnecessary read
10278 call.
10279
10280Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
10281
10282 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
10283 of "file" command.
10284
10285 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
10286 Add additional pattern for when "int operator int(void);" appears
10287 in a different order.
10288
10289Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
10290
10291 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
10292
10293 * gdb.base/help.exp: Replace most of docstrings for "info signals"
10294 and "signal" with ".*".
10295
10296Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10297
10298 * TODO: Add note about "handle all nostop".
10299
10300 * gdb.base/{sigall.c, sigall.exp}: New test.
10301 * gdb.base/Makefile.in: Add it.
10302
10303Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
10304
10305 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
10306 when invoking GDB, suppresses any windowing interface.
10307
10308Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
10309
10310 * config/sim-gdb: New file, simulator testing support.
10311
10312Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
10313
10314 * gdb.base/interrupt.exp: Test calling func1 twice.
10315
10316Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
10317
10318 * gdb.base/list.exp (test_forward_search): Set timeout higher
10319 when we'll be getting lots of output from gdb.
10320
10321 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
10322 "init_malloc" to after the expect statement. Run it if that
10323 regexp is taken, but also for two others which happen if source
10324 cannot be found.
10325
10326Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10327
10328 * gdb.base/printcmds.exp: New test, for printing register before
10329 program is running.
10330
10331Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10332
10333 * gdb.base/list.exp: Correct some alternate expect patterns
10334 to reflect changes in list1.c.
10335
10336Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10337
10338 * TODO: Add item regarding large frames.
10339
10340 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
10341
10342 * TODO: Remove item about enabling return.exp; it
10343 is enabled. Suggest a few more "return" tests.
10344
10345Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10346
10347 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
10348 anonymous unions.
10349
10350Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10351
10352 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
10353 and pr-5646.o, so "make" is the same as "make all", not "make
10354 pr-4975.o".
10355
10356Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
10357
10358 * gdb.base/list.exp: Adjust expectations to reflect changes in
10359 list1.c.
10360 (test_forward_search): New test proc.
10361 * gdb.base/list1.c (long_line): New function, has long source line.
10362
10363Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
10364
10365 * gdb.base/a1-selftest.exp: Change initial stepping to know about
10366 additional line of code that was added.
10367
10368Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
10369
10370 * gdb.disasm/hppa.s: Break the large branching tests into smaller
10371 tests so as not to overflow expect's input buffers.
10372 * gdb.disasm/hppa.exp: Corresponding changes.
10373
10374Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10375
10376 Beginnings of template debugging tests.
10377 * gdb.c++/templ-info.cc: New file to test for template
10378 debugging capability of the compiler.
10379 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
10380 templ-info.cc.
10381 * gdb.c++/templates.cc: Add explicit template instantiations
10382 to enable compiling with -fno-implicit-templates. Add destructor
10383 and 'value' method to T5 class for template tests.
10384 * gdb.c++/templates.exp: Add testcases for printing of template
10385 types, setting breakpoints on template methods and calling a
d63a86f8 10386 template method.
c906108c
SS
10387
10388Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
10389
10390 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
10391 branch target since some assemblers (gas-2.5) may emit a
10392 relocation for the branch instead of resolving it in the
10393 assembler.
10394
10395Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10396
10397 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
10398 through signal handler.
10399
10400Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
10401
10402 * configure.in (*-*-netware): Use config/mt-netware.
10403
10404 * config/mt-netware: New file.
10405 * config/mt-i386-netware: Removed, separate configs for different
10406 netware architectures are no longer needed now that we have
10407 --with-headers.
10408
10409Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10410
10411 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
10412 by the recent changes to use ANSI C arithmetic conversions.
10413
10414Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10415
10416 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
10417 bug involving using inferior_pid to figure out whether to select a
10418 frame.
10419
10420Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
10421
10422 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
10423 match the current disassembler output.
10424
10425Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
10426
10427 * gdb.fortran/exprs.exp: Expect VOID instead of void.
10428 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
10429 types, expect "int" as type of integer values (for now).
10430
10431Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
10432
10433 * gdb.base/commands.exp: New tests for if/while commands.
10434
10435Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
10436
10437 * lib/gdb.exp (runto): Replace sub-pattern for hex value
10438 by .*, since hex values have different syntax in Chill mode.
10439
10440Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10441
10442 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
10443 linefeed from expect pattern for repeated types with indices > 9.
10444
10445Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
10446
10447 First part of Fortran test suite.
10448 * gdb.fortran: New directory.
10449 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
10450
10451Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10452
10453 * gdb.base/default.exp: Update expect pattern for load command
10454 without arguments.
10455
10456Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
10457
10458 * configure.in: Change i386 to i[345]86.
10459 * gdb.base/configure.in: Likewise.
10460 * gdb.c++/configure.in: Likewise.
10461 * gdb.chill/configure.in: Likewise.
10462
10463Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
10464
10465 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
10466 patterns, since that is not a valid context for comments.
10467
10468Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
10469
10470 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
10471 repeated types and repeated types with indices > 9.
10472
10473Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
10474
10475 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
10476 2417; old bug has been fixed.
10477
10478Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
10479
10480 * gdb.base/interrupt.exp: When trying to wake up the inferior,
10481 send the newline ourselves instead of assuming gdb_test will do
10482 so when passed an empty input string.
10483
10484 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
10485 stabs testcode.
10486
10487Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
10488
10489 * lib/gdb.exp (gdb_test): Don't send anything if the first
10490 argument is an empty string. This makes cases where we want to
10491 match output that is already in expect's buffers (for example,
10492 matching a breakpoint after gdb_run_cmd has been called) work
10493 reliably.
10494
10495Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
10496
10497 * config/netware.exp: New file.
10498
10499Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
10500
10501 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
10502 the -B and -L prefixes so we can find the debugging stub.
10503
10504 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
10505 there and we are using the gcc from the tree.
10506
10507 * gdb.base/types.c: Removed.
10508
10509 * gdb.base/configure.in: Look for makefile fragments in ../config.
10510 Recognize i386-*-netware.
10511 * gdb.c++/configure.in: Likewise.
10512
10513Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10514
10515 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
10516 the correct TCL syntax.
10517
10518Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
10519
10520 * gdb.base/opaque.exp: use runto instead of messing around with
10521 breakpoints. Simplify by using gdb_test.
10522
10523 * gdb.base/bitfields.exp: restart between tests on netware targets
10524 because breakpoints aren't relocated after target death. Run
10525 processes to completion.
10526
10527 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
10528
10529Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
10530
10531 * Makefile.in: Remove extra tabs that confuse some versions
10532 of "make". Use the newly built gdb to test with by default,
10533 rather than the first one in the tester's search path.
10534
10535Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
10536
10537 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
10538
10539 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
10540 condition help.
10541
10542Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
10543
10544 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
10545
10546 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
10547 running.
10548 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
10549 * gdb.base/funcargs.exp: Likewise.
10550
10551 * gdb.base/bitfields.exp: Simplify by using gdb_test.
10552 * gdb.base/funcargs.exp: Likewise.
10553
10554 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
10555 message is "".
10556
10557Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
10558
10559 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
10560 return,signals,twice}.exp: Handle non-existant binaries
10561 consistantly.
10562
10563 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
10564 * gdb.base/Makefile.in: Don't try to generate a core dump, we
10565 might testing a cross development system.
10566
10567Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
10568
10569 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
10570 runtest script is relative to ${srcdir}, not ${rootdir}.
10571
10572Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
10573
10574 * gdb.base/signals.exp: Allow for optionality of breakpoint
10575 address.
10576
10577Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10578
10579 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
10580
10581Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
10582
10583 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
10584 for size_t definition.
10585 * gdb.c++/templates.cc: Likewise
10586
10587 * config/mt-i386-netware: New file.
10588
10589 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
10590 defined.
10591
10592 * gdb.base/Makefile.in: Added support for systems that name core
10593 files by appending "core" to the program name.
10594 * gdb.base/a1-selftest.exp: Likewise.
10595
10596Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10597
10598 * gdb.base/return.exp: Add comment and message for `return double'
10599 test failure on Sparc Solaris.
10600
10601Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
10602
10603 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
10604
10605Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10606
10607 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
10608 from optimizing them away.
10609 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
10610 patterns to include default constructors and assignment operators,
10611 to match gcc versions beyond 2.5.8. Accept any cplus demangling
10612 character in the output of the virtual base pointer.
10613
10614Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10615
10616 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
10617 expression match in print_addr_of to avoid unintented matches.
10618 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
10619 versions up to 2.5.8.
10620
10621Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10622
10623 * gdb.base/list.exp: Tweak alternate pattern for listing of an
10624 included file to run under newer versions of expect.
10625 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
10626 consecutive >'s in templates to accomodate recent cplus-dem.c change.
10627 Remove xfail for the virtual table of BDDHookV.
10628
10629Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
10630
10631 * lib/gdb.exp (string_to_regexp): Set a default result.
10632 (default_gdb_start): Fix misleading message.
10633
10634Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
10635
10636 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
10637 Remove all CC, etc definitions.
10638 * config/mt-hpux: New file.
10639 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
10640 (CFLAGS, LDFLAGS): Define.
10641 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
10642
10643 * Makefile.in (site.exp): Don't insert host_os, etc.
10644 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
10645 (distclean): Check existence of subdir.
10646 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
10647 * gdb.base/Makefile.in: General cleanup and simplification.
10648 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
10649 to build executables. Use default rule to build .o files.
10650 (EXPECT, RUNTEST, CC): Fix relative pathname.
10651 (site.exp): Don't insert host_os, etc.
10652 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
10653 and/or SIGUSR1 defined.
10654 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
10655 * gdb.c++/Makefile.in: General cleanup and simplification.
10656 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
10657 (CFLAGS): Remove.
10658 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
10659
10660Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
10661
10662 * gdb.base/recurse.exp: Misc changes to get tests running again
10663 after Kung's changes to the watchpoint code.
10664 * gdb.base/watchpoint.exp: Likewise.
10665
10666Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
10667
10668 * lib/gdb.exp (string_to_regexp): Convert {\} also.
10669
10670Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
10671
10672 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
10673 * lib/gdb.exp (default_gdb_start): Define.
10674 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
10675 gdb.base/funcargs.exp, gdb.base/opaque.exp,
10676 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
10677 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
10678 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
10679 Don't call gdb_target_udi in between tests.
10680
10681Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10682
10683 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
10684 (which was basically just a local version of the same thing). In
10685 addition to avoiding duplication, gdb_test_exact is faster.
10686 * lib/gdb.exp (gdb_test_exact): Fix typo.
10687
10688 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
10689 don't give an error.
10690
10691 * gdb.base/term.exp: Call delete_breakpoints before starting.
10692
10693 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
10694 (t10): Add comment.
10695
10696Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
10697
10698 Reorganization of the GDB Test Suite.
10699
10700 * gdb.base: New directory, contains all the basic tests.
10701 * gdb.c++: New directory, tests specific to C++.
10702 * gdb.chill: New directory, tests specific to Chill.
10703 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
10704 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
10705 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
10706 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
10707 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
10708 t30-31 to chill).
10709 * */gdbme.*: Rename to match appropriate expect scripts.
10710 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
10711 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
10712 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
10713 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
10714 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
10715 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
10716 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
10717 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
10718 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
10719 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
10720 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
10721 gdb.c++/virtfunc.cc: New names of C++ files.
10722 * gdb.chill/chillvars.ch: New name of Chill file.
10723 * gdb.base/configure.in, gdb.c++/configure.in,
10724 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
10725 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
10726 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
10727 * configure.in (configdirs): Update to reflect directory changes.
10728 (target_abbrev): No longer define for any configuration.
10729 * Makefile.in: Cosmetic improvements to header comments.
10730
10731Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
10732
10733 Various changes to gdb.t31:
10734
10735 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
10736 * gdbme.ch: Make all key-words and predefineds be upper-case.
10737 * chillvars.exp: Expect key-words and predefinds in upper-case.
10738
10739 * chillvars.exp: Use gdb_test_exact many places.
10740 Change expected output for arrays (which now includes index labels).
10741
10742 * pr-5020.exp, gdme.ch (module PR_5020):
10743 New test, for PR-5020.
10744
10745Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
10746
10747 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
10748 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
10749
10750Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
10751
10752 * Makefile.in: Fix bit-rot in definitions of CHILL,
10753 CHILL_FOR_TARGET and Chill_LIB.
10754 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
10755 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
10756 CHILL, and CHILL_LIB.
10757
10758Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
10759
10760 * Revert the previous changes. Please see Rob's directory
10761 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
10762
10763Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
10764
10765 * Makefile.in, configure.in, config/mips-gdb.exp,
10766 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
10767 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
10768 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
10769 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
10770 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
10771 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
10772 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
10773 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
10774 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
10775 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
10776 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
10777 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
10778 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
10779 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
10780 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
10781 changes from 94Q1.
10782
10783Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
10784
10785 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
10786 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
10787 Rob's new testing fragments.
10788
10789Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
10790
10791 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
10792 lib/gdb.exp: Replace error proc calls with perror.
10793
10794Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
10795
10796 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
10797 version also, match on casted version strings, and match on
10798 gdb startup case where the line numbers might be messed up.
10799
10800Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
10801
10802 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
10803 (CFLAGS): Delete it from here.
10804
10805Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
10806
10807 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
10808
10809Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
10810
10811 * Makefile.in (RUNTEST): Default to just "runtest".
10812
10813Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10814
10815 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
10816 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
10817 the code has been restructured.
10818
10819Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10820
10821 * gdb.t00/default.exp (set write): Allow any number of \r and/or
10822 \n, not just one of each.
10823
10824 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
10825 /bin/cc gives a warning if you do.
10826
10827Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
10828
d63a86f8 10829 * gdb.t24/demangle.exp: change expect pattern of
c906108c
SS
10830 __t10ListS_link1ZUiRCUiPT0
10831
10832Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10833
10834 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
10835 on local variables in recursive functions.
10836
10837 * gdb.t07/Makefile.in: Build the new test.
10838
10839Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10840
10841 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
10842 directly. Instead compare the return values from actual calls.
10843
10844Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
10845
10846 * Makefile.in (check): Set TCL_LIBRARY for runtest.
10847
10848Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10849
10850 * From Peter Schauer with minor modifications.
10851 * gdb.t15/return.exp (return_tests): Handle targets where "return"
10852 stops in mid-line in the caller. Add xfail for returning a float
10853 value on X86 targets.
10854
10855Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10856
10857 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
10858 to avoid expect lossage.
10859 (fmem_LRbug_tests): Likewise.
10860 * gdb.disasm/hppa.s: Corresponding changes.
10861
10862 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
10863 conditions to work with latest dejagnu/expect.
10864
10865 * gdb.t15/funcargs.exp (finish from indirect call): No longer
10866 expected to fail on the PA.
10867 (backtrace in call with trampolines): Explicitly require main
10868 to be frame #1 (no trampolines should show up in backtrace).
10869
10870 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
10871 "continue -expect".
10872 * gdb.t06/break.exp: Likewise.
10873 * gdb.t07/watchpoint.exp: Likewise.
10874 * gdb.t13/bitfields.exp: Likewise.
10875 * gdb.t15/{funcargs,return}.exp: Likewise.
10876 * gdb.stabs/weird.exp: Likewise.
10877 * config/{mips,udi}-gdb.exp: Likewise.
10878
10879 * hppa.sed: Enclose comments within a sed command to avoid
10880 losing with the old OSF1 sed.
10881
10882Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10883
10884 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
10885 sequent dynix.
10886 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
10887 * gdb.t15/funcargs.exp: Conditionally step again to really
10888 finish from marker_call_with_trampolines. Handle the case where
10889 the first step from within call_with_trampolines already steps
10890 us back to main.
10891 * gdb.t15/gdbme.c: Add comment to closing brace of
10892 call_with_trampolines for funcargs.exp.
10893
10894Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10895
d63a86f8 10896 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
c906108c
SS
10897 Fix typo(s).
10898
10899Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10900
10901 * gdb.t07/gdbme.c: More code for watchpoint testing.
10902
10903 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
10904 "Hardware watchpoint" throughout file.
10905 (test_watchpoint_triggered_in_syscall): New test.
10906 (test_complex_watchpoint): New test.
10907
10908Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10909
10910 * gdbme.c (call_with_trampolines): New function to try and step
10911 into. Tests trampoline problems on the PA.
10912
10913 * funcargs.exp (localvars_in_indirect_call): No longer expect
10914 stepping into indirect call to fail on PAs.
10915 (test_stepping_over_trampolines): New test.
10916
10917Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10918
10919 * TODO: Add suggestions for static member function tests, and
10920 completion tests.
10921
10922Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10923
10924 * TODO: Add suggestions for "p/a" tests.
10925
10926 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
10927 (default_gdb_exit): Replace all the hair with sending "quit" to
10928 the process with a simple close.
10929
10930Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10931
10932 * TODO: Add suggestions for shared library tests.
10933
10934Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10935
10936 * TODO: Add suggestions for x/s tests.
10937
10938Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10939
10940 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
10941 "enable once", and "enable breakpoints once" with ".*".
10942
10943Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10944
10945 * TODO: Add suggestions about structure passing tests.
10946
10947Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10948
10949 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
10950 the primary1 test, use work around if __GNUC__ < 2.
10951 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
10952 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
10953 Test for bad output rather than waiting for timeout. Issue
10954 second continue only if first continue failed.
10955
10956Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
10957
10958 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
10959 operator[] test with gdb_test because the old code didn't seem to
10960 be getting the quoting right with the new dejagnu.
10961
10962Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
10963
10964 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
10965 one from the path.
10966 * Makefile.in: Use a fresh expect if there is one, use runtest
10967 from the src tree if there is one.
d63a86f8 10968
c906108c
SS
10969Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
10970
10971 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
10972 next over recursive call. Revise the tests from that point on
10973 (which had been skipped) to match GDB's actual (correct) output.
10974
10975 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
10976 with next over a breakpoint whose condition is false.
10977
10978 * gdb.t00/help.exp: Comment out "help set print" tests just like
10979 (and for same reason as) "help set" test.
10980
10981Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10982
10983 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
10984 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
10985
10986Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10987
10988 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
10989 necessary gdb_target_udi.
10990
10991 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
10992
10993 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
10994 1838 and 2417; they are fixed.
10995
10996 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
10997 gdb.t03/ptype.exp (ptype structure, ptype union):
10998 Remove xfails; the test is looser than when the xfails were added.
10999
11000 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
11001 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
11002
11003 * gdb.t01/run.exp: Only run shell test if isnative.
11004
11005 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
11006 since "run" automatically loads if necessary. Call gdb_target_udi
11007 after the "file" since "file" kills any execution target.
11008
11009 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
11010 GDB. GDB doesn't work that way (not anymore at least) on UDI.
11011 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
11012 argument for UDI.
11013
11014Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
11015
11016 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
11017
11018 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
11019
11020Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
11021
11022 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
11023 properly quoting regexps. This makes the second argument to
11024 demangle a fixed string, which matches the callers, instead of a
11025 shell-style pattern which is what the previous implementation
11026 used. Update some of the callers.
11027
11028Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
11029
11030 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
11031 (comib_nullified_tests): Fix typo.
11032 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
11033 strings. No longer expected to fail.
11034
11035 * gdb.disasm/hppa.s (addib_tests): Fix typo.
11036 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
11037 strings. No longer expected to fail.
11038
11039 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
11040 string. No longer expected to fail.
11041
11042Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
11043
11044 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
11045 No longer expected to fail.
11046
11047 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
11048 string. No longer expected to fail.
11049
11050Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
11051
11052 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
11053 only in the names (I probably got most of them). I was even
11054 generous with some which differed in underscores in names, and
11055 probably missed a few, and I *still* was able to remove almost a
11056 third of the file with almost no impact on testsuite coverage.
11057
11058Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
11059
11060 * gdb.t00/default.exp: Match udi_attach error message as well as
11061 the one from child_attach.
11062
11063 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
11064
11065 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
11066
11067 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
11068 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
11069
11070 * Move test with enums and partial symbols back to
11071 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
11072 Reverts the change of 26 May 93. Per today's change to
11073 stabs.texinfo, the behavior that weird.exp was expecting was
11074 unreasonable; what is important is that the compiler+gdb get
11075 things right, which happens with a recent gcc. Also fix the test
11076 to deal with native compilers which put out the stab gdb can't
11077 deal with.
11078
11079Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
11080
11081 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
11082 in the names. The main thing these accomplish is to slow things down.
11083 Many more such duplicates surely remain.
11084
11085 * gdb.t00/help.exp: Comment out "help support" test just like
11086 (and for same reason as) "help set" test.
11087
11088Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
11089
11090 * gdb.t06/break.exp: Remove setup_xfails for
11091 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
11092 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
11093 about known bug in gcc to include up through 2.5.8.
11094 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
11095 well as "_vb$".
11096 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
11097 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
11098 with latest gcc and gdb.
11099 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
11100 well as "_vb$".
11101
11102Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
11103
11104 * configure.in (hppa*-*-*): Also configure and build stabs-only
11105 tests.
11106
11107Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
11108
11109 * gdb.t10/hppa.mt: A makefile fragment for the PA.
11110 * gdb.t10/configure.in (hppa*-*-*): Use it.
11111
11112Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11113
11114 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
11115
11116Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11117
11118 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
11119 versions prior to 1.13.5.
11120
11121Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
11122
11123 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
11124 the prompt is at the start of a line.
11125
11126Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
11127
11128 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
11129 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
11130 in the copr tests now.
11131 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
11132 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
11133 expected to fail.
11134
11135Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
11136
11137 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
11138 gdb.t31/chillvars.exp, lib/gdb.exp:
11139 Tweak to run under either version of expect.
11140 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
11141 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
11142 * gdb.t11/list.exp: Remove extraneous whitespace.
11143
11144Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
11145
11146 * gdb.t16/printcmds.exp (test_print_strings): Accept
11147 "(unsigned char *) " before the string.
11148
11149 * TODO: Add notes about printing of fancy types and GDB expressions.
11150
11151Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
11152
11153 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
11154 * gdb.t06/configure.in: Don't try to compile signals test program
d63a86f8 11155 if doing mips-idt-ecoff.
c906108c
SS
11156
11157Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
11158
11159 * Most .exp files: Tweak to run under either version of expect.
11160
11161Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
11162
11163 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
11164 xfails; I'm not sure why they are failing, but not because of PR 1806.
11165
11166Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
11167
11168 * config/unix-gdb.exp: Remove gdb_unload cause it's already
11169 defined in lib/gdb.exp.
11170
11171Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11172
11173 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
11174 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
11175 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
11176 have to be typeless.
11177
11178Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
11179
11180 * TODO: Add suggestion for copyright year test.
11181
11182Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
11183
11184 * configure.in (*-*-lynxos*): Add stabs tests.
11185
11186Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
11187
11188 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
11189 so insert a tab before any assembler directive in column zero.
11190
11191 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
11192 stores.
11193 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
11194 stores.
11195 (fpu_short_memory_tests): Likewise.
11196
11197Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11198
11199 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
11200 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
11201 .stabs directives in comments.
11202
11203Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11204
11205 * TODO: New file, describing tests we could write.
11206 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
11207
11208Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11209
11210 * gdb.t06/signals.exp: Add kludge to force re-sync.
11211
11212 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
11213 to xgdb instead of gdb, get out of gdb.
11214
11215Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
11216
11217 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
11218 for info.
11219
11220Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
11221
11222 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
11223 * gdb.stabs/configure.in (hppa*-*-*): Use it.
11224 * gdb.stabs/hppa.sed: New sed script for the PA.
11225
11226Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11227
11228 * gdb.stabs: Re-write weird.def and configuration to use sed
11229 instead of cpp. sed is portable and POSIX; cpp is neither.
11230
11231Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11232
11233 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
11234
11235Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11236
11237 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
11238
11239Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11240
11241 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
11242 "_vb$".
11243 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
11244 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
11245
11246Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11247
11248 * lib/gdb.exp: Comment out code which depends on non-existent
11249 `transform' procedure.
11250
11251Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
11252
11253 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
11254 * lib/gdb.exp: Transform tool name.
11255 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
11256 1.1's new error handling system.
11257
11258Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11259
11260 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
11261
11262Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11263
11264 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
11265 They made pattern matching so slow that timeouts happened on
11266 heavily loaded systems. Now any output from "show print" which
11267 gets us back to the GDB prompt is a PASS.
11268
11269Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
11270
11271 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
11272
11273Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11274
11275 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
11276
11277 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
11278 It is not from PR 3220.
11279
11280Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11281
11282 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
11283 just started failing because they depended on the order the
11284 subcommands are presented, or exact docstring text. This kind of
11285 test is a pain and has minimal benefit.
11286
11287Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11288
11289 * gdb.t09/corefile.exp: At end of test, use "core" command with
11290 no arguments.
11291
11292Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
11293
11294 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
11295 17}/Makefile.in: Make it possible to run the testsuite with Sun
11296 make and CC = cross gcc by adding explicit build rules for .o
11297 files.
11298
11299Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11300
11301 * gdb.t15/funcargs.exp: Don't put comments on same line as
11302 setup_xfail (@#$*%& tcl braindamage!).
d63a86f8 11303
c906108c
SS
11304Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11305
11306 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
11307
11308Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
11309
11310 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
11311 * gdb.t20/inherit.exp: remove three dumplicate entries.
11312
11313Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11314
11315 * gdb.t06/break.exp: For "next over recursive call", fail on any
11316 incorrect output, not just on "factorial (value=2)".
11317
11318Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11319
11320 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
11321 working now. Add an xfail if accesing a bss variable causes
11322 a memory error if the target is not yet run.
11323
11324Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11325
11326 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
11327 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
11328 name of __st* demangling (2 strings). Did Kung really get the
11329 more than 95 others right without testing them?
11330
11331Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
11332
11333 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
11334
11335Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
11336
11337 * configure.in (configdirs): Add gdb.disasm
11338 * gdb.disasm: New directory for GDB disassembler tests.
11339 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
11340
11341Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11342
11343 * gdb.t00/help.exp: Don't test "help set".
11344
11345 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
11346 from within expect statements. None of these happen anymore and
11347 they cause regressions to be silently unnoticed.
11348
11349 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
11350 messages) about known failures with gcc cygnus-2.4.5-930417.
11351
11352 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
11353 comp-info.exp so it gets built if it doesn't exist.
11354
11355 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
11356 it is no longer used.
11357 * gdb.t13/comp-info.c: Removed.
11358
11359Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
11360
11361 * gdb.t06/signals.exp: Add xfail for sun3.
11362
11363Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11364
11365 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
11366 relevant because ^C doesn't get sent but failure can be reproduced
11367 interactively).
11368
11369Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11370
11371 * gdb.stabs/alpha.mt: New configuration file for alpha.
11372 * gdb.stabs/configure.in: Use it.
11373 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
11374 sharing with alpha.mt, redefine long to word via preprocessor.
11375 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
11376 for alpha.
11377 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
11378 native cc.
11379 * gdb.t00/teststrategy.exp: Change expect string so that we
11380 consume the `(xgdb)' from the command echo and from the gdb prompt.
11381 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
11382 gdb currently compares all values as long, so this failure probably
11383 applies to any configuration where LONGEST is bigger than a target int.
11384 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
11385 with gcc.
11386 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
11387 to handle opaque pointers, gcc is.
11388 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
11389 as first argument. Include <sys/types.h> and change all operator
11390 new definitions to use size_t.
11391 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
11392 now that we use size_t.
11393
11394Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11395
11396 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
11397 a long or float array cast all array members to the same type.
11398 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
11399 with 64 bit longs.
11400 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
11401 on alpha.
11402 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
11403
11404Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11405
11406 * gdb.t24 (demangle.exp): Constructors of templates have names like
11407 vector<int>::vector(int) not vector<int>::vector<int>(int). See
11408 section 14.6 of the ARM.
11409
11410 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
11411 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
11412 accomplish little and slow down the testsuite.
11413
11414 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
11415 Accept spaces various places.
11416
11417Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11418
11419 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
11420 with watchpoint enabled.
11421
11422 * Makefile.in: Remove definition of CC and remove the second
11423 definition of CXX (the "CXX = gcc" one remains). These definitions
11424 were causing backquotes to be expanded within backquotes, which
11425 doesn't work.
11426
11427Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
11428
11429 * gdb.t17/callfuncs.exp: Add "return 0" to end.
11430
11431Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11432
11433 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
11434 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
11435 by mips cc and contains no stabs entries.
11436
11437Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
11438
11439 * config/vx-gdb.exp: Use fake device to load files rather than
11440 NFS.
11441 * lib/gdb.exp: New proc to do "file" command.
11442 * config/unix-gdb.exp: Use new "file" proc.
11443
11444Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
11445
11446 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
11447 Rework board rebooting slightly.
11448 (gdb_exit): Don't exit from the remote shell; there isn't one.
11449 * gdb.stabs/weird.exp: If a program is being debugged already,
11450 kill it.
11451 * gdb.t04/setvar.exp: Stop and restart gdb.
11452 * gdb.t05/expr.exp: Likewise.
11453 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
11454 restart gdb and reload the program.
11455 * gdb.t08/opaque.exp: Likewise.
11456 * gdb.t12/scope.exp: Likewise.
11457 * gdb.t13/bitfields.exp: Likewise.
11458 * gdb.t15/funcargs.exp: Likewise.
11459 * gdb.t20/classes.exp: Likewise.
11460 * gdb.t03/ptype.exp: Increase timeout.
11461 * gdb.t16/printcmds.exp (test_print_string_constants,
11462 test_print_array_constants): Likewise.
11463 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
11464 * gdb.t20/classes.exp (do_tests): Likewise.
11465 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
11466
11467Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
11468
11469 * gdb.stabs: Renamed *wierd* to *weird*.
11470
11471Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
11472
11473 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
11474 for timeout. Add "known gcc 2.4.5 bug" to failure message.
11475
11476Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
11477
11478 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
11479 (do_tests): Remove xfail for whatis on one_var and two_var.
11480
11481Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
11482
11483 * Makefile.in: Made cross building work better by adding
11484 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
11485
11486Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11487
11488 * gdb.t15/{return.c,return.exp,Makefile.in}:
11489 New test, currently commented out.
11490
11491Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
11492
11493 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
11494 still running and removes the leftover named socket so GDb can do
11495 clean restarts.
11496
11497Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
11498
11499 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
11500 console, not GDB.
11501 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
11502 cross testing works better with "make check"
11503 * config/unix-gdb: Use default procedures for exit and version.
11504 * config/vx-gdb.exp: Cleaned up and massaged back to working order
11505 with the newest VxWorks.
11506
11507Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11508
11509 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
11510 old form.
11511
11512 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
11513 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
11514
11515 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
11516
11517 * config/unix-gdb.exp: Remove this version of gdb_exit
11518 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
11519 Rob says he'll look at it when he gets back to testing boards.
11520
11521Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
11522
11523 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
11524 an expected fail for certain ptype commands.
11525
11526 * gdb.t20/classes.exp: Update expected results of "ptype class
11527 Base1" to account for the constructor that now appears in the type.
11528
11529Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
11530
11531 * configure.in (configdirs): Restore gdb.t04, which mysteriously
11532 disappeared from list.
11533 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
11534 "alldone" proc with call to cleanup and exit.
11535 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
11536 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
11537 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
11538 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
11539 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
11540 "alldone" proc with simple returns that suppress remaining
11541 tests. The alldone proc went away many months ago.
11542
11543Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11544
11545 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
11546
11547 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
11548
11549Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11550
11551 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
11552 as vax gdb will display them.
11553
11554Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11555
11556 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
11557 optimizers.
11558
11559 * scope.exp: Change "bad value for localval" messages so each one
11560 is unique.
11561
11562 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
11563 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
11564
11565 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
11566
11567Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11568
11569 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
11570 doesn't exist (due to optimization).
11571
11572Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11573
11574 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
11575 contains \r because the filename is long.
11576
11577 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
11578 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
11579
11580Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11581
11582 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
11583 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
11584 Ultrix.
11585 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
11586 int tests.
11587 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
11588
11589Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
11590
11591 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
11592
11593 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
d63a86f8 11594 to match does not match the passing case but still matches the
c906108c
SS
11595 failing case.
11596
11597Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11598
11599 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
11600
11601Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
11602
11603 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
11604 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
11605 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
11606 Remove various versions of gdb_exit.
11607 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
11608 gdb_exit.
11609 * config/unix-gdb.exp: gdb_exit remains here, and should override
11610 the generic version, since it's doing a lot of wierd stuff that
11611 the other versions aren't. FIXME, fold it in, or abandon this
11612 version.
11613
11614Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11615
11616 * gdb.t24/demangle.exp: Add tests for PR 3220.
11617
11618Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11619
11620 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
11621
11622Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
11623
11624 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
11625 "i386-*-*". Works for i486 as well.
11626
11627 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
11628 bug, and expand domain of xfail to all SVR4 systems, since the
11629 actual problem is likely to be in generic SVR4 /proc support.
11630
11631Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11632
11633 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
11634
11635Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
11636
11637 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
11638 xfails for other systems. Match a missing 'Continuing.' as an
11639 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
11640
11641 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
11642 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
11643 Only issue warning for missing executables if -all option is used.
11644
11645 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
11646 file if -all option is used. It's like an unpredictable XFAIL.
11647
11648Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11649
11650 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
11651 for dynamically linked binaries.
11652
11653 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
11654
11655Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11656
11657 * gdb.t20/inherit.exp: Change message for "print tagless struct"
11658 to state that this is a known bug in old versions of g++.
11659
11660Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11661
11662 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
11663 while waiting for `Continuing'.
11664
11665Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
11666
11667 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
11668 in text, data, and bss.
11669 * gdb.t10/nodebug.c: Add local and global test variables for
11670 initialized and uninitialized data.
11671
11672Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11673
11674 * config/unix-gdb.exp (gdb_exit): Add "wait".
11675
11676Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11677
11678 * gdb.t06/signals.exp: xfail the continue from the handler for all
11679 targets.
11680
11681 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
11682 function with watchpoints enabled, the i386 call dummy starts with
11683 a call.
11684
11685 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
11686 386 bsd names its corefiles.
11687
11688Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
11689
11690 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
11691 compilers don't grok it.
11692 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
11693 with small octal ints rather than character constants, which
11694 are signed and might not fit if first promoted to int.
11695
11696Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
11697
11698 * gdb.t09/Makefile.in (clean): Remove corefile.
11699
11700Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11701
11702 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
11703
11704Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11705 and Jim Kingdon (kingdon@cygnus.com)
11706
11707 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
11708 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
11709 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
11710
11711Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11712
11713 * gdb.t17/interrupt.exp: Add xfail for hppa.
11714
11715Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11716
11717 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
11718 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
11719 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
11720 to determine signed-ness of bitfields and use the result to setup
11721 the xfail.
11722 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
11723 * gdb.t15/funcargs.exp: Use them to step until the second indirect
11724 call line is reached if necessary.
11725
11726Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11727
11728 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
11729
11730Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11731
11732 * gdb.t06/break.exp: Also test `clear' command.
11733
11734Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
11735
11736 * gdb.t00/teststrategy.exp: Remove extra quote.
11737
11738 * gdb.t07/watchpoint.exp: Change xfail for calling function with
11739 watchpoint enabled to be for all non-68k machines.
11740
11741 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
11742
11743Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11744
11745 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
11746 targets use aout.mt instead of ecoff.mt as gas understands
11747 standard aout format.
11748
11749Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
11750
11751 * lib/gdb.exp (runto): Don't insist that function we are running to
11752 was compiled with -g.
11753
11754 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
11755
11756 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
11757 to get back into the read system call.
11758 Accept leading newline in case where we woke it up.
11759
11760Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11761
11762 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
11763 to make the stabs test work on ecoff systems using gcc and -with-stabs.
11764 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
11765 enable ecoff configuration.
11766
11767Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11768
11769 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
11770
11771Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11772
11773 * gdb.t16/printcmds.exp: Add another printf test.
11774
11775Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
11776
11777 * configure.in: If configured -with-stabs on any target, add
11778 stabsdirs to configdirs.
11779
11780Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11781
11782 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
11783 fun" so pattern does not match the command itself.
11784
11785Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11786
11787 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
11788
11789Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11790
11791 * gdb.t17/interrupt.exp: Test for more things.
11792
11793Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11794
11795 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
11796 compiler arranges the code and line numbers.
11797
11798 * gdb.t17/interrupt.exp: Don't send \n after ^C.
11799
11800Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11801
11802 * gdb.t00/help.exp: Increase expect input buffer size.
11803
11804Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11805
11806 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
11807
11808 * gdb.t07/watchpoint.exp: Add xfail for hppa.
11809
11810 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
11811
11812 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
11813 [0-9]*, not just [0-9].
11814
11815Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11816
11817 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
11818
11819 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
11820
11821Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11822
11823 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
11824
11825Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11826
11827 * gdb.t06/signals.c: Add xfails for sun3.
11828
11829 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
11830
11831 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
11832 test_stepping tests.
11833
11834Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11835
11836 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
11837
11838 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
11839
11840 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
11841 rather than actually putting it through cpp twice.
11842
11843 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
11844
11845Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
11846
11847 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
11848 no longer needed.
11849
11850Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11851
11852 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
11853
11854 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
11855 C++ features prints as "struct", make it a pass, not an xfail.
11856
11857Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11858
11859 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
11860 Don't require VA to print as "class" rather than "struct".
11861
11862Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
11863
11864 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
11865
11866Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11867
11868 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
11869
11870Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11871
11872 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
11873 order.
11874
11875Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11876
11877 * gdb.t16/printcmds.exp: Add printf tests.
11878
11879 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
11880
11881 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
11882
11883Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
11884
11885 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
11886 pass counts, to counteract any existing or future setup_xfails.
11887
11888Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11889
11890 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
11891 {BEGIN,END}_COMMON for common block instead of STAB.
11892 * gdb.stabs/wierd.exp: Add xfail for rs6000.
11893
11894 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
11895 intp_var should be N_GSYM not N_LSYM.
11896 wierd-aout.S: Use a label for the value of the N_SO.
11897 wierd.def: Remove all backslashes.
11898 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
11899
11900Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11901
11902 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
11903 get the expected next to inheritance3.
11904
11905Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11906
11907 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
11908 now that gcc-2.4 gets it right.
11909
11910Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11911
11912 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
11913
11914 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
11915 generating comp-info.exp which works for cross-compilation.
11916
11917Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
11918
11919 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
11920 "*-*-sysv4.*".
11921
11922Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
11923
11924 * gdb.t01/run.exp: Start with a fresh gdb.
11925 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
11926 SVR4.x.
11927
11928Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
11929
11930 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
11931 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
11932 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
11933 Makefile.in (distclean, realclean): Remove gdbme.c from list of
11934 things to remove.
11935
11936Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
11937
11938 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
11939 test cases from bug reports.
11940
11941Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
11942
11943 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
11944 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
11945 avoid spurious xfails.
11946 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
11947 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
11948 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
11949
11950Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
11951
11952 * gdb.t00/teststrategy.exp: Rework to provide more useful
11953 description of each test, fix problem with systems that define
11954 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
11955 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
11956 results for "next over recursive call" so timeouts aren't taken
11957 by error.
11958
11959Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
11960
11961 * gdb.t12/scope.exp: Test printing of variables before run.
11962
11963 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
11964 printed in wrong order due to sorting.
11965
11966Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
11967
11968 * gdb.t00/teststrategy.exp: Fix expected results for printing
11969 user entered string constant. Is array of char, prints with no
11970 address.
11971
11972 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
11973 commands.
11974 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
11975 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
11976 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
11977 of struct of char arrays.
11978 * gdb.t00/radix.exp: New tests for radix commands.
11979
11980Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
11981
11982 * gdb.t16/printcmd.exp: Print a variable before running program
11983 (with xfail for AIX).
11984
11985Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
11986
11987 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
11988
11989 * gdb.t16/printcmd.exp: Don't print variables before running program.
11990
11991 * gdb.t06/break.exp: Don't require envp argument to main.
11992
11993 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
11994
11995 * gdb.t02/whatis.exp, gdb.t11/list.exp:
11996 Add xfails for rs6000.
11997
11998 * gdb.t02/whatis.exp: Change other tests not to re-test something
11999 we already tested.
12000
12001 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
12002 each type used has a variable of that type.
12003
12004Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
12005
12006 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
12007
12008Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
12009
12010 * configure.in: change srctrigger to be a file, not a directory
12011
12012Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
12013
12014 * configure.in (mips-idt-ecoff*): Added trailing '*'.
12015
12016 * gdb.t11/list.exp: Fixed a couple of typos.
12017
12018Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
12019
12020 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
12021 is fixed and PR is closed.
12022 * gdb.t16 (gdbme.c): Add simple test string variable.
12023 * gdb.t16 (printcmds.exp): Add tests with simple test string
12024 variable, primarily for boundaries on "set print elements".
12025
12026Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
12027
12028 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
12029 Make leading 0's optional and don't expect a tab in the middle
12030 of the number.
12031
12032 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
12033
12034 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
12035 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
12036 don't end command passed to gdb_test with newline.
12037
12038 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
12039 signed keyword away, don't expect signed bitfields to be signed.
12040
12041 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
12042 printing with only as many 1's as are in the field as well as printing
12043 with 32 1's (see comment).
12044
12045Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
12046
12047 * gdb.t00/default.exp: Start with a fresh gdb.
12048 * configure.in (configdirs): Remove gdb.t31 until the chill
12049 compiler works again. It no longer is able to find chillrt0
12050 since it isn't in libchill.a anymore.
12051 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
12052 wierd.o, make more modular.
12053 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
12054 spurious newlines that caused problems.
12055
12056Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12057
12058 * Move test with enums and partial symbols from gdb.t03/ptype.exp
12059 to gdb.stabs/wierd.exp since GCC has worked around the bug.
12060 gdb.stabs/wierd.{exp,def}: Many new tests.
12061
12062 * gdb.t00/default.exp: update info line for new message.
12063
12064 * gdb.t02/{whatis.exp,gdbme.c}:
12065 Test that "char *" doesn't print as "caddr_t".
12066
12067Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12068
12069 * gdb.t00/help.exp: Use .* in place of some help messages which
12070 just changed.
12071 gdb.t00/default.exp: Update "info frame" test for new message.
12072 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
12073 Remove some xfails
12074
12075Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12076
12077 * gdb.t03/{gdbme.c,ptype.exp}:
12078 Add tests for typedef'd struct and union without tags.
12079 Also check "whatis" on a variable of a typedef'd enum without a tag.
12080
12081 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
12082 PRMS 1823; the bug still exists but isn't reproduced by this test
12083 anymore), and remove rs6000 XFAIL (the bug is fixed).
12084
12085 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
12086 duplicated from whatis.exp. For those that are left, accept
12087 "long", "long int", or "int" for long variables (whatis.exp already
12088 has an XFAIL for "int", so no need to fail it here).
12089
12090 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
12091 Deal with GCC's names for types now that GDB uses the compiler's names.
12092
12093 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
12094 setup_xfail's for sunos4. If we #defined the signed keyword away,
12095 don't expect GDB to know that char it is signed.
12096
12097 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
12098
12099Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
12100
12101 * configure.in (configdirs): Add gdb.t24 for C++ tests that
12102 should work on any system, regardless of debugging format.
12103 * gdb.t21/demangle.exp: Move to gdb.t24.
12104 * gdb.t24/demangle.exp: Move from gdb.t21.
12105 * gdb.t24/{Makefile.in, configure.in}: New files.
12106
12107Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12108
12109 * configure.in: Do gdb.stabs and C++ tests only for stabs.
12110 * gdb.stabs: New directory.
12111
12112Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12113
12114 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
12115 not just "Quit anyway?".
12116
12117Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
12118
12119 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
12120 that all setup_xfails are immediately followed by clear_xfails.
12121
12122Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
12123
12124 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
12125 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
12126 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
12127 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
12128 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
12129 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
12130 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
12131 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
12132 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
12133 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
12134 gdb.t31/chillvars.exp, lib/gdb.exp:
12135 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
12136 bug-gdb@prep.ai.mit.edu.
12137
12138Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
12139
12140 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
12141 with 0.0, not integer 0.
12142
12143Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
12144
12145 * gdb.t06/break.exp: Update for "Kill the program" message change.
12146
12147Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
12148
12149 * Makefile.in (GDBFLAGS): Set to -nx.
12150 * Makefile.in (site.exp): Use GDBFLAGS.
12151
12152Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
12153
12154 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
12155 Makefiles.
12156 (check): depend on just-check.
12157 (just-check): added so that tests can be run without a noop
12158 build pass.
12159
12160Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
12161
12162 Switch to using configure's configdirs.
12163 * Makefile.in (Makefile): add configure.in dependency.
12164 (SUBDIRS): removed redundant assignment.
12165 * configure.in: switch subdirs assignment to configdirs.
12166 * gdb.t*/configure.in: new files.
12167
12168Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
12169
12170 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
12171 works.
12172
12173Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
12174
12175 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
12176 in explicit rules. Apparently this is not supported by some makes.
12177
12178Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
12179
12180 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
12181
12182Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12183
12184 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
12185 disappeared.
12186
12187Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
12188
12189 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
12190
12191Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
12192
12193 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
12194 watchpoint problem that is now fixed.
12195 * gdb.t30/chexp.exp: Remove setup_xfail for printing
12196 uninitialized convenience variables.
12197 * gdb.t31/chillvars.exp: Fix expected patterns for printing
12198 structures.
12199
12200Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12201
12202 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
12203 which causes expect to get out of sync with gdb on long output
12204 from help set.
12205 * gdb.t09/corefile.exp: Make expected pattern for core file
12206 failing signal and frame output format less sun specific.
12207
12208Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
12209
12210 * gdb.t31/chillvars.exp: Add and remove initial dummy
12211 breakpoint, so that symbol table is forced in.
12212 (Needed at least on Sunos4, though it seems not SVR4.)
12213 * gdb.t31/chillvars.exp: Update for changed output format.
12214
12215Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
12216
12217 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
12218
12219Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
12220
12221 * Makefile.in: Added --srcdir when invoking runtest, removed the
12222 need for a local config file. (optional now)
12223
12224Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
12225
12226 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
12227 failure count used to force early termination. Add some more
12228 expected failures for gnu style demangling.
12229
12230Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12231
12232 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
12233 pmi variable from gdb.t20/gdbme to get optimized away.
12234 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
12235 Check for written corefile upon timeout _and_ eof.
12236
12237Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12238
12239 * config/unix-gdb.exp: Add missing return 0.
12240
12241Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12242
12243 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
12244 test termination.
12245
12246Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
12247
12248 * configure.in (subdirs): Put back gdb.t17 which mysteriously
12249 disappeared.
12250
12251Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
12252
12253 * gdb.t10/crossload.exp: Disable the i860-elf test until such
12254 time as i860 support works.
12255
d63a86f8 12256 * gdb.t15/funcargs.exp: Fix expected outputs to include
c906108c
SS
12257 "backtrace 100\r" rather than just "backtrace\r", to match last
12258 change.
12259
12260Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
12261
12262 * config/udi-gdb.exp (gdb_exit): Remove close command.
12263 (gdb_target_udi): New procedure to set the UDI target.
12264 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
12265 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
12266 Added waits for prompts after several question responses. Added
12267 some more responses used by a29k-amd-udi-gdb.
12268 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
12269 pass different arguments, restart UDI connection after program
12270 completion.
12271 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
12272 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
12273 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
12274 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
12275 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
12276 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
12277 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
12278 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
12279 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
12280 after program completion.
12281 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
12282 compiled with a SELECT_VECS setting.
12283 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
12284 infinite recursion.
12285
12286 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
12287 Added checks for COFF results, and made them expected failures for
12288 all targets. It would be better to make them expected failures
12289 for COFF targets only.
12290
12291Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
12292
12293 * Makefile.in: add null dvi target, don't bother to recurse
12294 through test directories for info and install-info; rename
12295 $(datadir) to be dejagnu instead of deja-gnu
12296
12297Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
12298
12299 * gdb.t31/gdbme.ch: Re-enable code that previously caused
12300 compiler to coredump.
12301 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
12302 code.
12303
12304Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
12305
12306 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
12307 coredump.
12308 * gdb.t31/chillvars.exp: Comment out tests that depend on that
12309 code.
12310
12311Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
12312
12313 * gdb.t03/ptype.exp: tests for return code from gdb_test.
12314 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
12315 which in a shell. Deletes xgdb when done.
12316 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
12317 Tests the return from the "set height" or "set width" commands.
12318 Added a few return codes where needed.
12319
12320Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
12321
12322 * Makefile.in (SUBDIRS): Add gdb.t17.
12323 * configure.in (subdirs): Add gdb.t17.
12324 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
12325 files to test gdb's calling of functions in the inferior with
12326 the correct arguments and gdb's ability to retrieve any
12327 result returned.
12328
12329Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
12330
12331 * config/unix-gdb.exp (gdb_exit): Remove close commands that
12332 may be called after gdb goes away. Previous versions of expect
12333 needed these to avoid file descriptor leaks, but they cause
12334 errors with the current revision of expect.
12335 * gdb.t00/gdbvars.exp: Use -re on expected output after
12336 setting sevenbit-strings.
12337 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
12338 to set sevenbit-strings consistent across tests.
12339 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
12340 set sevenbit-strings consistent across tests.
12341
12342Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
12343
12344 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
12345 expected output to match current "expect" expectations.
12346
12347Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
12348
12349 * gdb.t00/default.exp: Change expected output for default "source"
12350 command, to match new gdb behavior which requires a filename to
12351 source.
12352
12353Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
12354
12355 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
12356 expected fail for i486-*-* that misses the marker2 function.
12357 * gdb.t10/crossload.exp (bfddefault): Allow successful
12358 recognition of a format to pass even if no symbols are found.
12359 Explicitly catch failures where the format is not recognized
12360 or is ambiguous, and add the reason to the fail message.
12361 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
12362 the cause is and invalid target and add reason to failure message.
12363 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
12364 elf32-i386, elf32-sparc, and elf32-i860.
12365 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
12366 Set up expected failure for 'filename'::variable scope resolution,
12367 which is now apparently broken on all targets.
12368 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
12369 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
12370 gdb.t23/templates.exp: Change failure for missing binfile into
12371 just a warning.
12372 gdb.t21/demangle.exp: Change all cfront references to 'arm'
12373 references.
12374
12375Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
12376
12377 * gdb.t00/default.exp: Add expected output for default "source"
12378 command, to match new gdb behavior.
12379 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
12380
12381Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
12382
12383 * config/*-gdb.exp: returns an error, rather than exiting on
12384 internal errors.
12385
12386Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
12387
12388 * gdb.t03/gdbme.c: Add pointer to struct variable.
12389 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
12390 referencing struct members.
12391
12392Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
12393
12394 * configure.in (mips-idt-ecoff): New target.
12395 * config/mips-gdb.exp: New file for remote board using MIPS remote
12396 debugging protocol.
12397
12398 * Redid configuration scheme. Removed gdb.t*/configure.in.
12399 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
12400 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
12401 distclean targets. Built executables via .o files. Adjusted
12402 tests to account for source files in $(srcdir) rather than
12403 $(objdir).
12404 * lib/gdb.exp (runto): Don't expect () after the function name,
12405 because it may have arguments.
12406
12407Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
12408
12409 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
12410 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
12411 expected failures for mips-idt-* and mips-sgi-*.
12412 * gdb.t00/default.exp (attach): Kill process if requested.
12413 * gdb.t00/help.exp (help target core, help target): Accept a gdb
12414 that does not read core files.
12415 * gdb.t01/run.exp: Removed checks for exit status code.
12416 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
12417 it is linked in.
12418 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
12419 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
12420 appropriate, rather than doing it by hand.
12421 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
12422 execution.
12423 * gdb.t10/crossload.exp: Kill existing program if needed.
12424 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
12425 appropriate, rather than doing it by hand. Always increase
12426 timeout for this test, not just for VxWorks.
12427
12428Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
12429
12430 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
12431 of Chill STRUCT types and STRUCT values.
12432 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
12433 than "char".
12434 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
d63a86f8 12435 struct2): New struct definitions and initializations to test
c906108c
SS
12436 simple Chill STRUCT types.
12437
12438Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
12439
12440 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
12441 the null byte at the end of strings.
12442 * gdb.t00/default.exp: Make show version insensitive to copyright
12443 date.
12444 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
12445 to avoid dependencies on target char signedness.
12446 * gdb.t16/printcmds.exp: Update expected results for explicitly
12447 unsigned char.
12448 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
12449 now work.
12450 * gdb.t21/demangle.exp: Add many more patterns for template
12451 demangling, most of them being expected failures.
12452 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
12453 string we are matching for, to match on the whole string.
12454 * gdb.t21/demangle.exp: Add many new test strings to demangle,
12455 and fix a whole bunch that had incorrect expected output but were
12456 passing anyway because of the bug in "proc demangle".
12457 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
12458 type.
12459 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
12460
12461Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
12462
12463 * gdb/testsuite: made modifications to testcases, etc., to allow
12464 them to work properly given the reorganization of deja-gnu and the
12465 relocation of the testcases from deja-gnu to a "tool" subdirectory.
12466
12467Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
12468
12469 * gdb/testsuite: Initial creation of gdb/testsuite.
12470 Migrated dejagnu testcases and support files for testing nm to
12471 gdb/testsuite from deja-gnu. These files were moved "as is"
12472 with no modifications. This migration is part of a major overhaul
12473 of dejagnu. The modifications to these testcases, etc., which
12474 will allow them to work with the new version of dejagnu will be
12475 made in a future update.
48efe704
AC
12476
12477For additional changes see gdb.mi/ChangeLog-1999-2003.
c906108c
SS
12478\f
12479Local Variables:
ef043731 12480mode: change-log
c906108c
SS
12481left-margin: 8
12482fill-column: 74
12483version-control: never
12484End:
This page took 1.099133 seconds and 4 git commands to generate.