]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/testsuite/ChangeLog
2004-08-26 Paolo Bonzini <bonzini@gnu.org>
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
3e3ffd2b
MC
12004-08-27 Michael Chastain <mec.gnu@mindspring.com>
2
3 With code from Manoj Iyer <manjo@austin.ibm.com>:
4 * lib/gdb.exp (gdb_file_cmd): Return more information in the
5 return value. Add an arm for "no debugging symbols found".
6 Change a stray "error" to "perror".
7 (gdb_run_cmd): Adapt to new return value.
8 * gdb.base/remote.exp: Adapt to new return value.
9 * gdb.gdb/complaints.exp: Likewise.
10 * gdb.gdb/observer.exp: Likewise.
11 * gdb.gdb/selftest.exp: Likewise.
12 * gdb.gdb/xfullpath.exp: Likewise.
13
4b6f5fd2
JB
142004-08-27 Joel Brobecker <brobecker@gnat.com>
15
16 * gdb.threads/bp_in_thread.exp: New testcase.
17
e5b25496
MC
182004-08-27 Michael Chastain <mec.gnu@mindspring.com>
19
20 Fix PR testsuite/1735.
21 * gdb.threads/schedlock.c (thread_function): Add a cast
22 to suppress a gcc warning.
23 * gdb.threads/thread-specific.c (thread_function): Likewise.
24
934353d6
MC
252004-08-26 Michael Chastain <mec.gnu@mindspring.com>
26
27 * gdb.base/unload.c: Include <stdlib.h>.
28
f98a0aef 292004-08-26 Michael Chastain <mec.gnu@mindspring.com>
3a77aa28 30
f98a0aef 31 From Paul Gilliam <pgilliam@us.ibm.com>:
3a77aa28
MC
32 * gdb.base/call-sc.exp (test_scalar_returns): Make sure PC is
33 synchronized after the "return".
34
5a2e8882
MC
352004-08-26 Michael Chastain <mec.gnu@mindspring.com>
36
37 * gdb.mi/basics.c: Include <stdio.h>.
38 * gdb.mi/pthreads.c: Include <stdlib.h>.
39 * gdb.mi/var-cmd.c: Include <stdlib.h>.
40
a9640423
MC
412004-08-26 Michael Chastain <mec.gnu@mindspring.com>
42
43 * gdb.threads/schedlock.c: Add copyright notice.
44
b04e311d
AC
452004-08-25 Andrew Cagney <cagney@gnu.org>
46
47 * gdb.base/sigstep.exp (breakpoint_to_handler, skip_to_handler)
48 (skip_over_handler, breakpoint_over_hander): New test procedures.
49 (advance, advancei): Add a proper prefix, do not use
50 rerun_to_main.
51 * gdb.base/sigstep.c (main): Change to use an infinite loop.
52
7c27f15b
MC
532004-08-24 Michael Chastain <mec.gnu@mindspring.com>
54
55 * gdb.mi/basics.c: Add copyright notice.
56 * gdb.mi/var-cmd.c: Add copyright notice.
57
fffc87ae
MC
582004-08-23 Michael Chastain <mec.gnu@mindspring.com>
59
60 * lib/gdb.exp: Remove signed_keyword_not_used.
61 * lib/compiler.c: Likewise.
62 * lib/compiler.cc: Likewise.
63
d782e0bf
MC
642004-08-23 Michael Chastain <mec.gnu@mindspring.com>
65
66 * gdb.base/whatis.c: Remove conditional disabling of "signed".
67 * gdb.base/whatis.exp: Remove signed_keyword_not_used.
68
96033e83
MC
692004-08-23 Michael Chastain <mec.gnu@mindspring.com>
70
71 * gdb.base/whatis.c: Add copyright notice.
72
cf38c229
MK
732004-08-20 Mark Kettenis <kettenis@gnu.org>
74
75 * gdb.arch/i386-prologue.exp (skip_breakpoint): New function. Use
76 it to skip the breakpoints encoded in the inline assembly.
77
f4b49756
MC
782004-08-20 Michael Chastain <mec.gnu@mindspring.com>
79
80 * Makefile.in: Add gdb.fortran.
81
2f193b69
MC
822004-08-20 Michael Chastain <mec.gnu@mindspring.com>
83
84 * gdb.base/call-sc.exp (test_scalar_returns):
85 Fix cut-and-paste glitch in "Make fun return now".
86
89a237cb
MC
872004-08-17 Michael Chastain <mec.gnu@mindspring.com>
88
89 * configure.in: Add gdb.fortran.
90 * configure: Regenerate.
91 * gdb.fortran/Makefile.in: New file.
92 * lib/gdb.exp (skip_fortran_tests): New procedure.
93
469aff8e
MC
942004-08-17 Michael Chastain <mec.gnu@mindspring.com>
95
96 * gdb.mi/mi-var-block.exp: Use gdb_get_line_number. Remove
97 reference to bug-gnu@prep.ai.mit.edu.
98 * gdb.mi/mi-var-child.exp: Likewise.
99 * gdb.mi/mi-var-cmd.exp: Likewise.
100 * gdb.mi/mi-var-display.exp: Likewise.
101 * gdb.mi/mi2-var-block.exp: Likewise.
102 * gdb.mi/mi2-var-child.exp: Likewise.
103 * gdb.mi/mi2-var-cmd.exp: Likewise.
104 * gdb.mi/mi2-var-display.exp: Likewise.
105
00b51b9f
MK
1062004-08-15 Mark Kettenis <kettenis@gnu.org>
107
108 * gdb.base/unload.c (main): Make local variable msg const.
109
45f07fef
MC
1102004-08-15 Michael Chastain <mec.gnu@mindspring.com>
111
112 * gdb.mi/mi-cli.exp: Use gdb_get_line_number. Remove reference
113 to bug-gnu@prep.ai.mit.edu.
114 * gdb.mi/mi-disassemble.exp: Likewise.
115 * gdb.mi/mi-eval.exp: Likewise.
116 * gdb.mi/mi-file.exp: Likewise. Also, add comment about the
117 default line number.
118 * gdb.mi/mi-return.exp: Likewise.
119 * gdb.mi/mi-simplerun.exp: Likewise.
120 * gdb.mi/mi-stack.exp: Likewise.
121 * gdb.mi/mi-stepi.exp: Likewise. Also, replace wildcarded line
122 number with explicit range test.
123 * gdb.mi/mi-watch.exp: Likewise.
124 * gdb.mi/mi2-break.exp: Likewise.
125 * gdb.mi/mi2-cli.exp: Likewise.
126 * gdb.mi/mi2-disassemble.exp: Likewise.
127 * gdb.mi/mi2-eval.exp: Likewise.
128 * gdb.mi/mi2-file.exp: Likewise. Also, add comment about the
129 default line number.
130 * gdb.mi/mi2-return.exp: Likewise.
131 * gdb.mi/mi2-simplerun.exp: Likewise.
132 * gdb.mi/mi2-stack.exp: Likewise.
133 * gdb.mi/mi2-stepi.exp: Likewise. Also, replace wildcarded line
134 number with explicit range test.
135 * gdb.mi/mi2-watch.exp: Likewise.
136
dd8c8ee7
MC
1372004-08-15 Michael Chastain <mec.gnu@mindspring.com>
138
139 * gdb.cp/ctti.exp: Tweak srcfile and objfile to have no slashes.
140 * gdb.cp/m-static.exp: Likewise.
141 * gdb.cp/rtti.exp: Likewise.
142
4e838464
MK
1432004-08-14 Mark Kettenis <kettenis@gnu.org>
144
145 * gdb.base/bigcore.c: Include <sys/types.h> and <sys/time.h>.
146
8d8cb839
EZ
1472004-08-14 Eli Zaretskii <eliz@gnu.org>
148
149 * ChangeLog: Prefix Local Variables with semi-colons and indent
150 the reference to older ChangeLog files, to fix fontification in
151 Emacs.
152
deea8bb0
MC
1532004-08-13 Michael Chastain <mec.gnu@mindspring.com>
154
155 * gdb.mi/mi-break.exp: Use gdb_get_line_number.
156 * gdb.mi/mi2-break.exp: Likewise.
157
c3297504
MC
1582004-08-13 Michael Chastain <mec.gnu@mindspring.com>
159
160 * gdb.gdb/selftest.exp: Revert removal of call to init_malloc.
161
25808999
MC
1622004-08-13 Michael Chastain <mec.gnu@mindspring.com>
163
164 * gdb.cp/inherit.exp: Use cp_test_ptype_class.
165
226a8d71
MC
1662004-08-13 Michael Chastain <mec.gnu@mindspring.com>
167
168 * gdb.cp/classes.exp: Remove unused declarations. Just let
169 test names default instead of providing special names. Remove
170 extraneous demangler test.
171
37fdf854
JJ
1722004-08-12 Jeff Johnston <jjohnstn@redhat.com>
173
174 * gdb.base/unload.exp: New test for breakpoints in dynamically
175 loaded libraries.
176 * gdb.base/unload.c: Ditto.
177 * gdb.base/unloadshr.c: Ditto.
178
2d3a7986
MC
1792004-08-12 Michael Chastain <mec.gnu@mindspring.com>
180
181 * gdb.cp/classes.exp (test_ptype_class_objects): Call
182 cp_test_ptype_class.
183 (test_enums): Likewise.
184
cc503c8a
AC
1852004-08-10 Andrew Cagney <cagney@gnu.org>
186
187 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove code to skip
188 init_malloc call.
189
902f2ccb
MC
1902004-08-10 Michael Chastain <mec.gnu@mindspring.com>
191
192 * ChangeLog: Add copyright notice. The notice is copied
193 from emacs 21.3 top level ChangeLog.
194
78c90502
MC
1952004-08-09 Michael Chastain <mec.gnu@mindspring.com>
196
197 * lib/cp-support.exp: New file.
198 * lib/cp-support.exp (cp_test_type_class): New function.
199 * gdb.cp/derivation.exp: Use cp_test_ptype_class.
200 * gdb.cp/virtfunc.exp (test_one_ptype): Removed.
201 * gdb.cp/virtfunc.exp (test_ptype_of_classes): Use
202 cp_test_ptype_class.
203
88e5ea78
MC
2042004-08-09 Michael Chastain <mec.gnu@mindspring.com>
205
206 * gdb.mi/mi2-basics.exp, gdb.mi/mi2-break.exp,
207 gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
208 gdb.mi/mi2-eval.exp, gdb.mi/mi2-file.exp, gdb.mi/mi2-hack-cli.exp,
209 gdb.mi/mi2-read-memory.exp, gdb.mi/mi2-regs.exp,
210 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
211 gdb.mi/mi2-stack.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi2-until.exp,
212 gdb.mi/mi2-var-block.exp, gdb.mi/mi2-var-child.exp,
213 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp,
214 gdb.mi/mi2-watch.exp: Update copyright years.
215
6a89fc9c
MK
2162004-08-09 Mark Kettenis <kettenis@gnu.org>
217
218 * gdb.base/sigaltstack.exp: Provide proper anchoring.
219
1482e0de
MC
2202004-08-09 Michael Chastain <mec.gnu@mindspring.com>
221
222 * gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-break.exp,
223 gdb.mi/mi-console.exp, gdb.mi/mi-disassemble.exp,
224 gdb.mi/mi-eval.exp, gdb.mi/mi-file.exp, gdb.mi/mi-hack-cli.exp,
225 gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
226 gdb.mi/mi-return.exp, gdb.mi/mi-simplerun.exp,
227 gdb.mi/mi-stack.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-until.exp,
228 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-child.exp,
229 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
230 gdb.mi/mi-watch.exp: Update copyright years.
231
1a5ce3f3
DJ
2322004-08-08 Daniel Jacobowitz <dan@debian.org>
233
234 PR gdb/1738
235 * gdb.base/signals.exp (signal_tests_1): KFAIL bug in continuing
236 from a breakpoint with a pending signal.
237
04f6ecf2
DJ
2382004-08-08 Daniel Jacobowitz <dan@debian.org>
239
240 PR gdb/1736
241 * lib/gdb.exp (gdb_test_multiple): Handle return -code return.
242 * gdb.base/sigaltstack.exp (finish_test): Consume output until
243 the prompt.
244 * gdb.base/sigstep.exp: Add KFAIL for gdb/1736.
245
54d90d35
DJ
2462004-08-08 Daniel Jacobowitz <dan@debian.org>
247
248 * gdb.cp/templates.exp: Handle (char)115 for template argument 's'.
249
d2f6abb0
DJ
2502004-08-08 Daniel Jacobowitz <dan@debian.org>
251
252 PR gdb/1736
253 * gdb.base/sigaltstack.exp (finish_test): New procedure. KFAIL
254 for i?86-*-linux*.
255
5598c03d
DJ
2562004-08-08 Daniel Jacobowitz <dan@debian.org>
257
258 * gdb.arch/i386-prologue.exp: Compile without debug information.
259
c6fee705
MC
2602004-08-08 Michael Chastain <mec.gnu@mindspring.com>
261
262 * lib/gdb.exp (gdb_get_line_number): Rewrite with native tcl
263 rather than asking gdb to search.
264
dd90efdb
MC
2652004-08-05 Michael Chastain <mec.gnu@mindspring.com>
266
267 * gdb.base/gcore.c: Include <string.h>.
268
1e84bec1
MC
2692004-08-05 Michael Chastain <mec.gnu@mindspring.com>
270
271 * gdb.base/gcore.c: Add copyright notice.
272
e425eb2b
MC
2732004-08-05 Michael Chastain <mec.gnu@mindspring.com>
274
275 * gdb.base/freebpcmd.c: Include <stdio.h>.
276 * gdb.base/long_long.c: Include <string.h>.
277 * gdb.base/sigaltstack.c: Include <stdlib.h> <string.h>.
278 * gdb.base/siginfo.c: Include <string.h>.
279 * gdb.base/sigstep.c: Include <string.h>.
280
cb9aaed5
MC
2812004-08-04 Michael Chastain <mec.gnu@mindspring.com>
282
283 * gdb.base/complex.c: Include <stdlib.h>.
284
55944f3d
MC
2852004-08-04 Michael Chastain <mec.gnu@mindspring.com>
286
287 * gdb.base/complex.c: Add copyright notice.
288
7b2953d9
MC
2892004-08-04 Michael Chastain <mec.gnu@mindspring.com>
290
291 * gdb.base/charset.c: Include <stdlib.h>.
292
c9133d23
MC
2932004-08-04 Michael Chastain <mec.gnu@mindspring.com>
294
295 * gdb.base/auxv.c: Include <stdlib.h>.
296
0a8490ad
MC
2972004-08-04 Michael Chastain <mec.gnu@mindspring.com>
298
299 * gdb.base/auxv.c: Add copyright notice.
300
3426d5ec
MC
3012004-08-04 Michael Chastain <mec.gnu@mindspring.com>
302
303 * gdb.base/coremaker.c: Add copyright notice.
304 * gdb.base/coremaker2.c: Add copyright notice.
305
8da195dd
AC
3062004-08-04 Andrew Cagney <cagney@gnu.org>
307
308 * gdb.base/store.exp: Update copyright.
309 (check_set, up_set, check_struct, up_struct): Add a prefix to test
310 names, do not import gdb_prompt.
311
8d394f98
AC
3122004-08-01 Andrew Cagney <cagney@gnu.org>
313
314 Fix PR testsuite/1729.
315 * gdb.base/dump.exp: Add test name to callers of capture_value, do
316 not use capture_value with value 4.
317 (capture_value): Add optional test name parameter.
318 (test_reload_saved_value, test_restore_saved_value): Use $msg as
319 the prefix, pass to capture_value.
320
b6702b23
MK
3212004-08-01 Mark Kettenis <kettenis@gnu.org>
322
323 * gdb.arch/i386-prologue.exp: Add testcase for standard prolgue.
324 * gdb.arch/i386-prologue.c (standard): New prototype and function.
325 (main): Call new function.
326
c203e0ca
MC
3272004-07-31 Michael Chastain <mec.gnu@mindspring.com>
328
329 * gdb.cp/namespace.exp: Accept more varieties of ptype output.
330
a7995a30
MC
3312004-07-31 Michael Chastain <mec.gnu@mindspring.com>
332
333 * gdb.cp/virtfunc.exp: Accept more varieties of ptype output.
334
9366563b
MC
3352004-07-31 Michael Chastain <mec.gnu@mindspring.com>
336
b6eeaf26 337 * gdb.cp/inherit.exp: Accept more varieties of ptype output.
9366563b
MC
338 Accept more values of vtbl pointer. Remove some messages
339 about "obsolete gcc or gdb".
340
2fc1f950
MC
3412004-07-30 Michael Chastain <mec.gnu@mindspring.com>
342
343 * gdb.cp/classes.exp: Accept more varieties of ptype output.
344
c724d49b
MC
3452004-07-30 Michael Chastain <mec.gnu@mindspring.com>
346
347 * gdb.base/asm-source.exp: Properly convert target board
348 debug flags from gcc format to binutils format.
349
736b0fce
MK
3502004-07-28 Mark Kettenis <kettenis@gnu.org>
351
352 * gdb.arch/i386-prologue.exp: Remove KFAIL of "backtrace in
353 gdb1718". PR backtrace/1718 partially fixed.
354
5633ea5c
JJ
3552004-07-27 Jeff Johnston <jjohnstn@redhat.com>
356
357 * gdb.threads/watchthreads.exp: New test for threaded watchpoints.
358
575eebb1
NC
3592004-07-26 Nick Clifton <nickc@redhat.com>
360
361 * gdb.asm/asm-source.exp (debug-flags): New variable. If a known
362 good default value for a specific architecture is available then
363 set it to that value. Otherwise default to the -gstabs switch.
364 Remove the -g... switches from the asm-flags variable. Allow the
365 target board info to override the value if it wants to. Pass the
366 switch on the assembler command line.
367
62104619
MK
3682004-07-23 Mark Kettenis <kettenis@gnu.org>
369
370 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1718.
371 * gdb.arch/i386-prologue.c (gdb1718): New prototype and function.
372 (main): Call new function.
373
4a1135b8
MC
3742004-07-22 Michael Chastain <mec.gnu@mindspring.com>
375
376 Test for PR exp/1715.
377 * gdb.base/radix.exp: Refactor common procedures. Make all
378 test names unique. Change XFAIL to KFAIL.
379
8a12c1f0
MC
3802004-07-20 Michael Chastain <mec.gnu@mindspring.com>
381
382 * gdb.ada/gnat_ada.gpr.in: Rename from here ...
383 * gdb.ada/gnat_ada.gin: ... to here.
384 * configure.in: Use gnat_ada.gin.
385 * configure: Regenerate.
386
23b451cf
AC
3872004-07-20 Andrew Cagney <cagney@gnu.org>
388
389 * gdb.base/signals.exp: Replace send_gdb and gdb_expect with
390 gdb_test and gdb_test_multiple. Delete bash_bug. Delete suspect
391 XFAILs. Clean up test messages and comments. Check backtraces.
392 Delete re-sync code.
393
ab618a02
MC
3942004-07-19 Michael Chastain <mec.gnu@mindspring.com>
395
396 Fix PR cli/740.
397 * gdb.base/annota1.exp: Honor gdb,nosignals.
398 * gdb.base/annota3.exp: Likewise.
399
46dad340
MC
4002004-07-19 Michael Chastain <mec.gnu@mindspring.com>
401
402 * lib/java.exp: Update copyright notice.
403
756d8c70
AC
4042004-07-19 Andrew Cagney <cagney@gnu.org>
405
406 * gdb.base/selftest.exp: Copy file from here ...
407 * gdb.gdb/selftest.exp: ... to here.
408
586027e6
AC
4092004-07-16 Andrew Cagney <cagney@redhat.com>
410
411 * lib/insight-support.exp: Delete file.
412 * lib/java.exp (java_init): Fix copyright.
413
029d2200
AC
4142004-07-16 Andrew Cagney <cagney@gnu.org>
415
416 * gdb.base/restore.c: Append "prologue" to comments marking the a
417 function's prologue.
418 * gdb.base/restore.exp: Update copyright, re-indent.
419 (restore_tests): Use gdb_test_multiple. Add "calleeN calls
420 callerN" prefix where needed. Update patterns that match a
421 function's prologue.
422
653b62c5
MC
4232004-07-16 Michael Chastain <mec.gnu@mindspring.com>
424
425 * gdb.base/restore.c: Add copyright notice.
426
f7d690e5
AC
4272004-07-16 Andrew Cagney <cagney@gnu.org>
428
429 * gdb.base/logical.exp: Update copyright.
430 (evaluate): New procedure. Use to re-implement tests using
431 several tables.
432
d629a7cb
MH
4332004-07-14 Martin Hunt <hunt@redhat.com>
434
435 * lib/insight-support.exp (gdbtk_start): Unset TCL_LIBRARY
436 which fixes some problems where init.tcl was not found.
437
9c7bb332
AC
4382004-07-13 Andrew Cagney <cagney@gnu.org>
439
6bf46641
AC
440 * gdb.base/sizeof.exp: Skip test when no inferior I/O.
441 (check_sizeof, check_valueof): Do not include the output in the
442 test name. Use gdb_test.
443 (get_valueof): Use gdb_test_multiple.
444
c4ffd4c0
AC
445 * gdb.base/step-test.exp: Update copyright. Use
446 gdb_test_multiple. Ensure that test names do not include
447 architecture dependent output.
448
ab89363a
AC
449 * gdb.gdb/observer.exp: Update copyright.
450 (setup_test): Use gdb_test_multiple.
451 (attach_first_observer, attach_second_observer)
452 (attach_third_observer, detach_first_observer)
453 (detach_second_observer, detach_third_observer)
454 (reset_counters, check_counters): Make $message a prefix.
455 (test_normal_stop_notifications): Add "args" parameter - a list of
456 init functions to be called. Make $message a prefix,
457 (test_observer_normal_stop): Change the message prefixes so that
458 they are unique, pass the attach / detach procedures to
459 test_normal_stop_notifications.
460
ec58997a
AC
461 * gdb.base/signull.exp (test_segv): Prefix all tests with
462 "${name}". Clean up test messages.
463
b475183b
AC
464 * gdb.base/annota3.exp, gdb.base/annota1.exp: Update copyright.
465
9c7bb332
AC
466 * gdb.base/ena-dis-br.exp: Update copyright.
467 (break_at): New function. Replace send_gdb with gdb_test,
468 break_at, and gdb_test_multiple. Replace XFAIL of "continue with
469 ignore count, not stopped at bpt", with KFAIL.
470
2dd95497
CV
4712004-07-13 Corinna Vinschen <vinschen@redhat.com>
472
473 * gdb.base/attach.exp: Remove cleanupfile handling.
474
419e626b
AC
4752004-07-12 Andrew Cagney <cagney@gnu.org>
476
477 * gdb.base/annota1.exp: Cleanup corefile test name.
478 * gdb.base/annota3.exp: Ditto.
479
8b1b3228
AC
4802004-07-12 Andrew Cagney <cagney@gnu.org>
481
78650829
AC
482 * gdb.base/signals.exp: Clean up copyright, re-indent.
483
8b1b3228
AC
484 * gdb.base/attach.exp: Replace send_gdb and gdb_expect with
485 gdb_test and gdb_test_multiple.
486
935c2760
JJ
4872004-07-08 Jeff Johnston <jjohnstn@redhat.com>
488
489 * gdb.java/jmain.exp: Fix expected line number for main to
490 break at. Set XFAIL for break at main test since gcj does not
491 provide line number info for first statement in main.
492
1544280f
AC
4932004-07-08 Andrew Cagney <cagney@gnu.org>
494
1279f4ff
AC
495 * gdb.base/attach.exp: Cleanup copyright. Re-indent.
496
1544280f
AC
497 * gdb.base/sigbpt.exp: Make the common part of each test name a
498 prefix instead of suffix.
499
bcc82369
BR
5002004-07-07 Bob Rossi <bob_rossi@cox.net>
501
502 * gdb.mi/mi2-file.exp: Revert to version 1.1, except changed name of
503 test from test_tbreak_creation_and_listing to
504 test_file_list_exec_source_file
505 * gdb.mi/mi-file.exp: Add test for -file-list-exec-source-files
506 Changed name of test from test_tbreak_creation_and_listing to
507 test_file_list_exec_source_file
508
23f4b0aa
JJ
5092004-07-07 Jeff Johnston <jjohnstn@redhat.com>
510
511 * gdb.java/jmisc.exp: Fix expected output of ptype to look for
512 the jmisc() constructor instead of <init>.
513 * gdb.java/jmisc1.exp: Ditto.
514
56401cd5
AC
5152004-07-07 Andrew Cagney <cagney@gnu.org>
516
517 * gdb.base/sigbpt.exp (stepi_out): Check for a single step
518 corrupting the PC.
519
44ae2f6a
MC
5202004-07-06 Michael Chastain <mec.gnu@mindspring.com>
521
522 * gdb.cp/templates.exp: Accept whitespace change in demangler
523 output.
524
45a83408
AC
5252004-07-06 Andrew Cagney <cagney@gnu.org>
526
527 * gdb.base/sigbpt.exp, gdb.base/sigbpt.c: New test.
528
d205ad70
MC
5292004-07-02 Michael Chastain <mec.gnu@mindspring.com>
530
531 * lib/compiler.c: Accept __HP_CXD_SPP for old hp ansi c compiler.
532 * lib/compiler.cc: Likewise.
533
06ea1a61
MC
5342004-06-30 Michael Chastain <mec.gnu@mindspring.com>
535
536 * lib/compiler.cc: Work around string preprocessing problem
537 with old hp c++ compiler.
538 * lib/compiler.c: Likewise.
539
daab1251
CV
5402004-06-29 Corinna Vinschen <vinschen@redhat.com>
541
542 * gdb.arch/i386-prologue.c: Add copyright header. Use preprocessor
543 directives to conditionalize symbol prefixing.
544 * gdb.arch/i386-prologue.exp: Allow symbol prefixing by adding
545 additional_flags handling. Add underscore prefix for Cygwin.
546 * gdb.arch/i386-unwind.c: Use preprocessor directives to
547 conditionalize symbol prefixing.
548 * gdb.arch/i386-unwind.exp: Allow symbol prefixing by adding
549 additional_flags handling. Add underscore prefix for Cygwin.
550
cc984116
CV
5512004-06-29 Corinna Vinschen <vinschen@redhat.com>
552
553 * gdb.base/bigcore.exp: Skip test on Cygwin.
554
c279b077
MC
5552004-06-28 Michael Chastain <mec.gnu@mindspring.com>
556
557 * gdb.hp/gdb.base-hp/reg.exp: Accept both old and new gdb output
558 formats for "info register". Use gdb_test_multiple. Fix
559 the "invalid register" test.
560
0e915747
CV
5612004-06-28 Corinna Vinschen <vinschen@redhat.com>
562
563 * gdb.base/attach.exp: Fix copyright date. Set testpid to Windows
564 PID for Cygwin. Add Cygwin specific strings to check for in some
565 tests.
566 (do_attach_tests): Add a test for user interaction when attaching
567 to a process with no matching symbol table already loaded.
568
11422c86
AC
5692004-06-26 Andrew Cagney <cagney@gnu.org>
570
571 Test PR java/1567 and PR java/1565.
572 * gdb.java/jmain.exp, gdb.java/jmain.java: New files.
573 * gdb.java/jmisc2.exp: Delete file.
574
cefbce26
MC
5752004-06-26 Michael Chastain <mec.gnu@mindspring.com>
576
577 * gdb.hp/gdb.base-hp/reg.exp: Update copyright notice.
578
e19f872c
CV
5792004-06-25 Corinna Vinschen <vinschen@redhat.com>
580
581 * gdb.base/attach.exp (do_attach_tests): Don't forget to kill second
582 attach process.
583
d931ba3b
MC
5842004-06-23 Michael Chastain <mec.gnu@mindspring.com>
585
586 * gdb.cp/pr-1553.exp: Remove.
587
aef68c48
MC
5882004-06-22 Michael Chastain <mec.gnu@mindspring.com>
589
590 * gdb.cp/pr-1553.cc: Remove.
591 * gdb.cp/pr-1553.exp: Disable this test.
592
8d5df71a
JB
5932004-06-20 Jim Blandy <jimb@redhat.com>
594
595 Fix PR testsuite/1680.
596 * gdb.arch/i386-sse.exp: Properly quote curly braces in
597 regular expressions.
598
4ac6f39d
MC
5992004-06-19 Michael Chastain <mec.gnu@mindspring.com>
600
601 Fix PR testsuite/1679.
602 * gdb.arch/i386-sse.exp: Do not call gdb_suppress_entire_file.
603 Issue an UNSUPPORTED result instead.
604
1b413552
JB
6052004-06-18 Jim Blandy <jimb@redhat.com>
606
607 * gdb.base/charset.exp: Only send a control-C if we see a new
608 prompt and incomplete command.
609
6daa6ebd
MC
6102004-06-18 Michael Chastain <mec.gnu@mindspring.com>
611
612 * gdb.cp/pr-574.cc: Add copyright notice.
613
51fa4ae0
JB
6142004-06-17 Jim Blandy <jimb@redhat.com>
615
616 * gdb.base/charset.exp: Don't refer to $expect_out(1,string) in
617 cases where the regexp has no groups; this grabs random text from
618 the previous test suite, whatever that was.
619
8fea26c5
MC
6202004-06-17 Michael Chastain <mec.gnu@mindspring.com>
621
622 * gdb.cp/printmethod.cc: Add copyright notice.
623
1e3aeb41
MC
6242004-06-16 Michael Chastain <mec.gnu@mindspring.com>
625
626 * gdb.cp/psmang1.cc, gdb.cp/psmang2.cc: Add copyright notice.
627
9d9030bc
AC
6282004-06-16 Andrew Cagney <cagney@gnu.org>
629
630 * gdb.base/signull.c: Update copyright. Include <string.h>.
631 (bowler): Replace data_pointer with data_read
632 and data_write cases. Add code_descriptor case.
633 (zero, desc): New array and pointer.
634 (data, code): Change to simple pointers.
635 * gdb.base/signull.exp: Fix probe pattern matching a function
636 descriptor SIGSEGV. Replace data_pointer with data_read and
637 data_write tests.
638
acd4ad44
AC
6392004-06-16 Andrew Cagney <cagney@gnu.org>
640
641 * gdb.base/long_long.exp, gdb.base/long_long.c: Rewrite.
642
08fd625c
MC
6432004-06-15 Michael Chastain <mec.gnu@mindspring.com>
644
645 * gdb.base/long_long.c: Add copyright notice.
646
1903502c
MC
6472004-06-15 Michael Chastain <mec.gnu@mindspring.com>
648
649 * gdb.base/long_long.exp: Remove reference to
650 bug-gdb@prep.ai.mit.edu. Change line-number-specific breakpoint
651 to gdb_breakpoint and gdb_continue_to_breakpoint.
652
83313cb1
JB
6532004-06-14 Jim Blandy <jimb@redhat.com>
654
655 * gdb.arch/e500-regs.exp: Fix up 'print' pattern for the little-
656 endian case.
657
1bf404ef
AC
6582004-06-14 Andrew Cagney <cagney@gnu.org>
659
660 * gdb.base/gcore.exp (capture_command_output): Delete the always
661 passing tests containing inferior values.
662 * gdb.base/ending-run.exp: Do not include the breakpoint address
663 in the test message. Update copyright.
664 * gdb.base/sizeof.exp (check_sizeof): Do not include the type's
665 size in the test name, use gdb_test_multiple. Update copyright.
666
ef220b33
MC
6672004-06-14 Michael Chastain <mec.gnu@mindspring.com>
668
669 * gdb.cp/ref-types.cc: Add copyright notice.
670
4f70a4c9
MC
6712004-06-14 Michael Chastain <mec.gnu@mindspring.com>
672
673 * lib/compiler.c: Remove gcc_compiled, hp_cc_compiler,
674 hp_aCC_compiler.
675 * lib/compiler.cc: Likewise.
676 * lib/gdb.exp (get_compiler_info): Eval lines only if they are
677 'set' commands. Log diagnostics for other lines. Set
678 gcc_compiled, hp_cc_compiler, and hp_aCC_compiler.
679
335928ac
MC
6802004-06-13 Michael Chastain <mec.gnu@mindspring.com>
681
682 * gdb.cp/try_catch.cc: Add copyright notice.
683
2efb12e8
MC
6842004-06-12 Michael Chastain <mec.gnu@mindspring.com>
685
686 * gdb.cp/userdef.cc: Add copyright notice.
687
0bbed51a
MC
6882004-06-11 Michael Chastain <mec.gnu@mindspring.com>
689
690 * gdb.cp/virtfunc.cc: Add copyright notice.
691
e12a46c9
RC
6922004-06-11 Randolph Chung <tausq@debian.org>
693
694 * gdb.base/structs2.exp: Mark two tests as xfail because of a compiler
695 problem.
696
338e05af
AC
6972004-06-10 Andrew Cagney <cagney@gnu.org>
698
699 * lib/compiler.cc, lib/compiler.c: Append either
700 __GNUC_PATCHLEVEL__, or "unknown" to the compiler_info.
701 * gdb.base/structs.exp (test_struct_calls): Check for gcc-3-3-*
702 instead of gcc-3-3.
703
dc3f10cb
AC
7042004-06-09 Andrew Cagney <cagney@gnu.org>
705
b4d946af
AC
706 * gdb.base/structs.exp (test_struct_calls): Fix KFAIL for
707 gdb/1455, bug is specific to "long long" and "double".
708
dc3f10cb
AC
709 * gdb.base/structs.exp (test_struct_returns, test_struct_returns)
710 (test_struct_calls): Remove KFAIL of "long double" on i*86-*-*,
711 x86_64-*-*, sparc64-*-*, and sparc*-*-solaris2*. PR tdep/1447
712 fixed.
713
b5c0bfa2
AC
7142004-06-09 Andrew Cagney <cagney@gnu.org>
715
716 * gdb.base/structs.exp (test_struct_returns): Replace
717 "return_value_unknown" and "finish_value_unknown" by
718 "return_value_known" and "finish_value_known". Instead of
719 "return_value_unknown" iff "finish_value_unknown", check
720 "return_value_known" implies "finish_value_known".
721
caeb605f
MH
7222004-06-08 Martin Hunt <hunt@redhat.com>
723
724 * gdb.base/float.exp: Add pattern for mips targets.
725
c892bb64
RC
7262004-06-08 Randolph Chung <tausq@debian.org>
727
728 * gdb.base/float.exp: Add pattern for hppa*-* target; make the failure
729 message for unknown architectures more clear.
730
48306d3e
JB
7312004-06-08 Joel Brobecker <brobecker@gnat.com>
732
733 * gdb.ada/null_record.exp: Use "start" instead of "begin" to
734 start the execution of the program.
735
83ecb59f
JB
7362004-06-07 Jim Blandy <jimb@redhat.com>
737
738 * gdb.arch/i386-sse.exp, gdb.arch/i386-sse.c: New tests.
739 * gdb.arch/i386-cpuid.h: New helper file.
740
55264cb4
RC
7412004-06-07 Randolph Chung <tausq@debian.org>
742
743 * gdb.base/shlib-call.exp: Allow breakpoint to be added after inferior
744 has started.
745
23cadb28
RM
7462004-06-04 Roland McGrath <roland@redhat.com>
747
748 Fix PR gdb/1647.
749 * gdb.base/auxv.exp (fetch_auxv): Revert last change and fix it
750 differently to be robust to output buffering differences.
751
51d01eda
MC
7522004-06-04 Michael Chastain <mec.gnu@mindspring.com>
753
754 * gdb.threads/pthreads.exp: Update copyright years.
755 (check_control_c): Change asynchronous 'after' to synchronous.
756
f4fc3b93
RM
7572004-06-04 Roland McGrath <roland@redhat.com>
758
759 * gdb.base/auxv.exp (fetch_auxv): Consume output fully through
760 next gdb prompt.
761
4013522b
MC
7622004-06-02 Michael Chastain <mec.gnu@mindspring.com>
763
764 Fix PR gdb/1636.
765 * gdb.threads/manythreads.exp: Change asynchronous 'after'
766 calls to synchronous.
767
7a8f1e6b
JB
7682004-05-26 Jim Blandy <jimb@redhat.com>
769
770 * gdb.arch/e500-prologue.exp, gdb.arch/e500-prologue.c: New tests.
771
81bb3443
RC
7722004-05-24 Randolph Chung <tausq@debian.org>
773
774 * gdb.asm/asm-source.exp: Enable test for hppa-linux target.
775 * gdb.asm/pa.inc: New file.
776
8f5a3103
MK
7772004-05-22 Mark Kettenis <kettenis@gnu.org>
778
779 * gdb.base/signull.c: Use sigjmp_buf instead of jmp_buf.
780
734b8fe8
JB
7812004-05-21 Joel Brobecker <brobecker@gnat.com>
782 Daniel Jacobowitz <drow@mvista.com>
783
784 * lib/gdb.exp (gdb_test_multiple): Improve regexp matching the
785 GDB prompt.
786
725603e1
UW
7872004-05-20 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
788
f4fc3b93 789 * gdb.base/signull.c: Use sigsetjmp/siglongjmp instead of
725603e1
UW
790 setjmp/longjmp. Use sigaction instead of signal.
791
8b923272
JB
7922004-05-19 J. Brobecker <brobecker@gnat.com>
793 Michael Snyder <msnyder@redhat.com>
794
795 * gdb.threads/pthread_cond_wait.c: New file.
796 * gdb.threads/pthread_cond_wait.exp: New testcase.
797
8bfabb04
AC
7982004-05-13 Andrew Cagney <cagney@redhat.com>
799
800 * gdb.base/signull.exp, gdb.base/signull.c: New files.
801 * gdb.base/gdb1476.c, gdb.base/gdb1476.exp: Delete files.
802
42edda50
AC
8032004-05-11 Andrew Cagney <cagney@redhat.com>
804
805 * gdb.base/sigstep.exp (advancei): Update KFAILs. gdb/1613 is
806 fixed but revealed gdb/1639.
807
d303a6c7
AC
8082004-05-10 Andrew Cagney <cagney@redhat.com>
809
810 * gdb.base/signals.exp (signal_tests_1): Simplify "continue to
811 func1" and "next to 2nd alarm", kernel bug avoided.
812
bf08c2a1
DJ
8132004-05-10 Daniel Jacobowitz <dan@debian.org>
814
815 PR external/1568
816 * gdb.base/bigcore.exp: Check the size of the dumped core file.
817 XFAIL if it is smaller than bytes_allocated.
818 * gdb.base/bigcore.c (bytes_allocated): Make static and unsigned.
819 (main): Make chunks_allocated unsigned. Correct comment.
820
c0586a34
JB
8212004-05-07 Joel Brobecker <brobecker@gnat.com>
822
823 * gdb.arch/powerpc-aix-prologue.c: New file.
824 * gdb.arch/powerpc-aix-prologue.exp: New file.
825
f2785d12
JB
8262004-05-07 Jim Blandy <jimb@redhat.com>
827
828 * gdb.base/lineinc.exp, gdb.base/lineinc1.h, gdb.base/lineinc2.h,
829 gdb.base/lineinc3.h, gdb.base/lineinc.c: New tests.
830
bd7f6e30
JB
8312004-05-06 Joel Brobecker <brobecker@gnat.com>
832
833 * gdb.base/sep.exp: No longer setup_kfail when the program was
834 built with dwarf2.
835
0a5e7efe
JI
8362004-05-05 Jim Ingham <jingham@apple.com>
837
838 * gdb.base/pending.exp: Make sure pending breakpoints
839 preserve the ignore count.
f4fc3b93 840
a8958849
MK
8412004-04-27 Jerome Guitton <guitton@gnat.com>
842
843 * i386-prologue.exp: Add testcase for jump instruction as first
844 instruction of the real code.
845 * i386-prologue.c (jump_at_beginning): New function.
846
7e103f5b
MK
8472004-04-28 Mark Kettenis <kettenis@gnu.org>
848
849 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1624 on
850 x86_64-*-*.
851
5d38b224
MK
8522004-04-28 Mark Kettenis <kettenis@gnu.org>
853
854 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1623 on
855 i*86-*-*.
856
0ef32fd9
MK
8572004-04-25 Mark Kettenis <kettenis@gnu.org>
858
859 * gdb.base/call-sc.exp (start_scalars_test): Fix regular
860 expression that checks the return type.
861
71d7dd7c
AC
8622004-04-23 Andrew Cagney <cagney@redhat.com>
863
864 * gdb.base/call-sc.exp: New test of scalar call/return values.
865 * gdb.base/call-sc.c: Ditto.
866
1e9f977e
JJ
8672004-04-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
868
869 * gdb.threads/manythreads.c: Reduce thread stack size.
870
899d9e3a
JJ
8712004-04-23 Jeff Johnston <jjohnstn@redhat.com>
872
873 * gdb.threads/manythreads.c: Add copyright notice.
874
61bcae62
AC
8752004-04-23 Andrew Cagney <cagney@redhat.com>
876
877 * gdb.base/siginfo.exp: Better handle step out of signal.
878 * gdb.base/sigstep.exp: Ditto.
879
7339a42e
JJ
8802004-04-22 Jeff Johnston <jjohnstn@redhat.com>
881 Daniel Jacobowitz <drow@mvista.com>
882
883 * gdb.threads/manythreads.c: New testcase.
884 * gdb.threads/manythreads.exp: Ditto.
885
5c98409b
JB
8862004-04-22 Jim Blandy <jimb@redhat.com>
887
888 * gdb.stabs/exclfwd.exp, gdb.stabs/exclfwd1.c,
889 gdb.stabs/exclfwd2.c, gdb.stabs/exclfwd.h: New test.
890
3b611f1a
MC
8912004-04-21 Michael Chastain <mec.gnu@mindspring.com>
892
893 * gdb.stabs/weird.exp: Accept full pathname for $binfile.
894
f0fd9238
AC
8952004-04-21 Andrew Cagney <cagney@redhat.com>
896
897 * gdb.base/sigstep.c: New file.
898 * gdb.base/sigstep.exp: New file.
899
90990674
JB
9002004-04-16 Joel Brobecker <brobecker@gnat.com>
901
902 * gdb.gdb/observer.exp (test_normal_stop_notifications): Update
903 call to observer_notify_normal_stop.
904
78cef34b
AC
9052004-04-15 Andrew Cagney <cagney@redhat.com>
906
907 * gdb.base/siginfo.c: New file.
908 * gdb.base/siginfo.exp: New file.
909
d2343407
JB
9102004-04-12 J. Brobecker <brobecker@gnat.com>
911
912 * gdb.base/sep.exp: Fix typo in comment.
913
a2dba3c8
JB
9142004-04-12 J. Brobecker <brobecker@gnat.com>
915
916 * gdb.base/sep.c: New file.
917 * gdb.base/sep-proc.c: New file.
918 * gdb.base/sep.exp: New testcase.
919
15f7b60e
MK
9202004-04-09 Mark Kettenis <kettenis@gnu.org>
921
922 * gdb.base/bigcore.exp: Disable on Solaris; no sparse core file
923 support.
924
44f4de1a
AC
9252004-04-05 Andrew Cagney <cagney@redhat.com>
926
927 * gdb.base/sigaltstack.c: New file.
928 * gdb.base/sigaltstack.exp: New file.
929
ef04f396
JB
9302004-04-04 Joel Brobecker <brobecker@gnat.com>
931
932 * gdb.base/foll-fork.exp: Update the expected output for
933 "help set follow-fork-mode", to match a change that was made
934 to the help of this variable on 2004-01-13.
935
d40d2c92
JB
9362004-04-01 Joel Brobecker <brobecker@gnat.com>
937
938 * lib/ada.exp: Add copyright notice.
939 * bar.ads: Likewise.
940 * bar.adb: Likewise.
941 * null_record.adb: Likewise.
942 * null_record.exp: Likewise.
943 * gnat_ada.gpr.in: Likewise. Fix typo in a comment, clarify another.
944
f86ef5a3
JB
9452004-04-01 Joel Brobecker <brobecker@gnat.com>
946
947 * configure.in: Generate gdb.ada/Makefile and gdb.ada/gnat_ada.gpr.
948 * configure: Regenerate.
949
414e70e3
JB
9502004-04-01 Joel Brobecker <brobecker@gnat.com>
951
952 * lib/ada.exp (gdb_compile_ada): Emit UNSUPPORTED if we failed
953 to build the application. Remove the message printed when in
954 verbose mode, redundant with the UNSUPPORTED message above.
955
f0aaee49
JB
9562004-03-31 Joel Brobecker <brobecker@gnat.com>
957
958 * gdb.ada (bar.ads, bar.adb, null_record.adb): New files.
959 * gdb.ada (null_record.exp): New testcase.
960
ac81cb54
JB
9612004-03-31 Joel Brobecker <brobecker@gnat.com>
962
963 * Makefile.in (ALL_SUBDIRS) Add gdb.ada.
964
854af2f7
JB
9652004-03-31 Joel Brobecker <brobecker@gnat.com>
966
967 * gdb.ada: New subdirectory.
968 * gdb.ada/Makefile.in: New file.
969 * gdb.ada/gnat_ada.gpr.in: New file.
970
034cb681
JB
9712004-03-31 Joel Brobecker <brobecker@gnat.com>
972
973 * lib/ada.exp: New file.
974
78a1a894
DJ
9752004-03-24 Daniel Jacobowitz <drow@mvista.com>
976
977 * gdb.base/gdb1250.exp: Use runto {allow-pending}.
978 * lib/gdb.exp (runto, gdb_breakpoint): Support {allow-pending}.
979
4b2b3b3e
AC
9802004-03-22 Andrew Cagney <cagney@redhat.com>
981
982 * gdb.base/watchpoint.exp (test_stepping): Delete bogus XFAILs
983 hiding problems with DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET.
984 Problem identified by Ulrich Weigand.
985
23c73aa3
DC
9862004-03-17 David Carlton <carlton@kealia.com>
987
988 * gdb.cp/classes.exp (test_enums): Refer to PR c++/1588 instead of
989 PR c++/826.
990
d63a86f8
RM
9912004-03-16 Roland McGrath <roland@redhat.com>
992
993 * gdb.base/auxv.exp: New file.
994 * gdb.base/auxv.c: New file, copied verbatim from coremaker2.c.
995
0e02aa50
DC
9962004-03-12 David Carlton <carlton@kealia.com>
997
998 * gdb.cp/pr-1553.exp: New. Tests for PR c++/1553.
999 * gdb.cp/pr-1553.cc: Ditto.
1000 * gdb.cp/local.exp (ptype NestedInnerLocal): Add comment, third
1001 pass branch.
1002
c20b71be
MC
10032004-03-12 Michael Chastain <mec.gnu@mindspring.com>
1004
1005 * gdb.cp/templates.exp: Accept more template types.
1006
c7414a01
MC
10072004-03-09 Michael Chastain <mec.gnu@mindspring.com>
1008
1009 From Corinna Vinschen with modifications.
1010 * gdb.cp/classes.cc (enums1): Add a line to extend scope of
1011 local variable obj_with_enum.
1012 * gdb.cp/classes.exp (test_enums): Remove TODO note about FAIL
1013 results with obj_with_enum.
1014
ed69573c
MC
10152004-03-09 Michael Chastain <mec.gnu@mindspring.com>
1016
1017 * gdb.cp/classes.cc: New file, copied from misc.cc.
1018 * gdb.cp/classes.exp: Use classes.cc rather than misc.cc.
1019
28301461
MC
10202004-03-09 Michael Chastain <mec.gnu@mindspring.com>
1021
1022 * gdb.cp/misc.cc: Add copyright notice.
1023
1198ecbe
DC
10242004-03-05 David Carlton <carlton@kealia.com>
1025
1026 * gdb.cp/rtti.exp: Add 'print *obj3' test.
1027 * gdb.cp/rtti.h: Update copyright.
1028 (namespace n2::n3): New.
1029 * gdb.cp/rtti1.cc: (refer_to (n2::n3::C3 *)): New.
1030 (n2::n3::func3): New.
1031 (main): Call n2::n3::func3.
1032 * gdb.cp/rtti2.cc: Update copyright.
1033 (n2::create3): New.
1034
9e08c470
MK
10352004-03-04 Mark Kettenis <kettenis@gnu.org>
1036
1037 * gdb.asm/openbsd.inc: Fix typo.
1038
4bebc3aa
FF
10392004-03-03 Fred Fish <fnf@redhat.com>
1040
1041 * gdb.base/pc-fp.exp (get_valueofx): Fix apparent typo to now set
1042 "val" instead of unused "size". Update copyright year.
1043
6ea9fb37
DJ
10442004-02-29 Daniel Jacobowitz <drow@mvista.com>
1045
1046 * gdb.cp/ctti.exp: Handle unsigned char type. Expect templates
1047 to use unsigned char.
1048 * gdb.cp/cttiadd.c, gdb.cp/cttiadd1.c, gdb.cp/cttiadd2.c,
1049 gdb.cp/cttiadd3.c: Change type of variable to unsigned char.
1050
23b23974
DJ
10512004-02-29 Daniel Jacobowitz <drow@mvista.com>
1052
1053 * config/gdbserver.exp (gdbserver_gdb_load): Wait for a complete
1054 line of output.
1055
7574fd53
DJ
10562004-02-28 Daniel Jacobowitz <drow@mvista.com>
1057
1058 * gdb.base/relocate.c (dummy): Initialize.
1059
a195357f
DJ
10602004-02-28 Daniel Jacobowitz <drow@mvista.com>
1061
1062 * gdb.base/chng-syms.exp: Anchor exit pattern. Allow
1063 a breakpoint at exit.
1064
72fd54a9
FF
10652004-02-27 Fred Fish <fnf@redhat.com>
1066
1067 * gdb.base/chng-syms.exp: Add expect condition to match failing
1068 case that isn't a timeout.
1069
b9d23137
AC
10702004-02-27 Andrew Cagney <cagney@redhat.com>
1071
1072 * gdb.base/bigcore.exp: Disable on HP/UX, no sparse corefile
1073 support.
1074
15d208f6 10752004-02-26 Fred Fish <fnf@redhat.com>
d63a86f8 1076
15d208f6
FF
1077 * gdb.arch/gdb1431.c: Remove.
1078 * gdb.arch/gdb1431.s: New file, copy of gdb1291.s
1079 * gdb.arch/gdb1431.exp: Use "advance" correctly instead
1080 of "until" incorrectly.
1081
98f9cd2d
JB
10822004-02-26 J. Brobecker <brobecker@gnat.com>
1083
1084 * gdb.cp/class2.cc (empty): New class.
1085 (refer): New function.
1086 (main): Declare an object of type empty and use it.
1087 * gdb.cp/class2.exp: Print the value of an object of type empty.
1088
9b50c11b
JJ
10892004-02-26 Jeff Johnston <jjohnstn@redhat.com>
1090
1091 * gdb.base/langs.exp: Update query string to match the
1092 new nquery format used for pending breakpoints.
1093
0dcd613f
AC
10942004-02-26 Andrew Cagney <cagney@redhat.com>
1095
1096 Fix PR i18n/1570.
1097 * gdb.base/charset.c: Update copyright notice.
1098 (main, init_string): Remove the escape character '\e' tests.
1099 * gdb.base/printcmds.exp (test_print_all_chars): Ditto.
1100 * gdb.base/charset.exp (valid_host_charset): Ditto.
1101 * gdb.base/setvar.exp: Ditto.
1102
b8a56647
AC
11032004-02-24 Andrew Cagney <cagney@redhat.com>
1104
90d59e34
AC
1105 * gdb.base/corefile.exp: Use gdb_test_multiple, make "accessing
1106 mmapped data in core file" PASS and FAIL messages consistent.
1107
b8a56647
AC
1108 * gdb.java/jmisc.exp: Use the fully quallified name of "main" when
1109 setting a breakpoint. Work around PR java/1565.
1110
9f27c604
JJ
11112004-02-23 Jeff Johnston <jjohnstn@redhat.com>
1112
1113 * lib/gdb.exp (gdb_breakpoint): Update query string to match
1114 new nquery format.
1115 * gdb.base/pending.exp: Ditto.
1116
3224a706
MK
11172004-02-22 Mark Kettenis <kettenis@gnu.org>
1118
1119 * configure.in: Run stabs tests on *BSD.
1120 * configure: Regenerated.
1121
41e0a9ca
MK
11222004-02-21 Mark Kettenis <kettenis@gnu.org>
1123
1124 * gdb.base/bigcore.exp: Bail out on *BSD instead of only NetBSD.
1125
1e1b3428
FF
11262004-02-20 Fred Fish <fnf@redhat.com>
1127
1128 * gdb.base/callfuncs.exp (do_function_calls): Remove extraneous
1129 blank in test for "returns short", for consistency with other
1130 "returns xxx" tests. Update copyright year.
1131
f9a7572a
FF
11322004-02-19 Fred Fish <fnf@redhat.com>
1133
1134 New testcase for PR breakpoint/1558.
1135 * gdb.arch/gdb1558.exp: New file.
1136 * gdb.arch/gdb1558.c: New file.
1137
b2ce2854
EZ
11382004-02-19 Elena Zannoni <ezannoni@redhat.com>
1139
1140 * gdb.base/nodebug.exp: Fix typo.
1141
e7c9ff01
JB
11422004-02-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1143
1144 Committed by Jim Blandy <jimb@redhat.com>.
1145
62f4b920
JB
1146 * gdb.objc/basicclass.exp: Adapt to fixed return type of printHi.
1147
2db536a1
JB
1148 * gdb.base/dump.exp: Handle negative offsets in decimal, not hex.
1149
e7c9ff01
JB
1150 * gdb.base/float.exp: Support s390*-*-* targets.
1151
f3205b34
AF
11522004-02-17 Adam Fedor <fedor@gnu.org>
1153
1154 * gdb.base/gdb1555.exp: New file.
1155 * gdb.base/gdb1555-main.c, gdb.base/gdb1555.c: New files.
1156
9d62932d
EZ
11572004-02-17 Elena Zannoni <ezannoni@redhat.com>
1158
1159 * gdb.base/selftest.exp (do_steps_and_nexts): Add comment.
1160
344c9711
FF
11612004-02-16 Fred Fish <fnf@redhat.com>
1162
1163 * gdb.arch/gdb1291.c: Remove
1164 * gdb.arch/gdb1291.s: New test input file.
1165 * gdb.arch/gdb1291.exp: Expand test to check case that should not
1166 fail. Test for correct result, known incorrect result, other
1167 failures and timeouts.
1168
2d822687
AC
11692004-02-16 Andrew Cagney <cagney@redhat.com>
1170
1171 * gdb.base/bigcore.exp: New file.
1172 * gdb.base/bigcore.c: New file.
1173
dac15b66
AC
11742004-02-13 Andrew Cagney <cagney@redhat.com>
1175
1176 * gdb.mi/mi1-basics.exp, gdb.mi/mi1-break.exp: Delete file.
1177 * gdb.mi/mi1-console.exp, gdb.mi/mi1-disassemble.exp: Delete file.
1178 * gdb.mi/mi1-eval.exp, gdb.mi/mi1-hack-cli.exp: Delete file.
1179 * gdb.mi/mi1-pthreads.exp, gdb.mi/mi1-read-memory.exp: Delete file.
1180 * gdb.mi/mi1-regs.exp, gdb.mi/mi1-return.exp: Delete file.
1181 * gdb.mi/mi1-simplerun.exp, gdb.mi/mi1-stack.exp: Delete file.
1182 * gdb.mi/mi1-stepi.exp, gdb.mi/mi1-symbol.exp: Delete file.
1183 * gdb.mi/mi1-until.exp, gdb.mi/mi1-var-block.exp: Delete file.
1184 * gdb.mi/mi1-var-child.exp, gdb.mi/mi1-var-cmd.exp: Delete file.
1185 * gdb.mi/mi1-var-display.exp, gdb.mi/mi1-watch.exp: Delete file.
1186
6bdfc2c4
JJ
11872004-02-11 Jeff Johnston <jjohnstn@redhat.com>
1188
1189 * gdb.asm/ia64.inc (gdbasm_startup): Make sure first instruction
1190 executed is an alloc instruction.
1191
87b3ede8
DC
11922004-02-11 David Carlton <carlton@kealia.com>
1193
1194 * gdb.cp/breakpoint.exp: New.
1195 * gdb.cp/breakpoint.cc: New.
1196
6e19e2bf
MC
11972004-02-11 Michael Chastain <mec.gnu@mindspring.com>
1198
1199 Partial fix for PR gdb/1543.
1200 * gdb.cp/ambiguous.exp, gdb.cp/annota2.exp, gdb.cp/annota3.exp,
1201 gdb.cp/anon-union.exp, gdb.cp/casts.exp, gdb.cp/classes.exp,
1202 gdb.cp/cplusfuncs.exp, gdb.cp/ctti.exp, gdb.exp/demangle.exp,
1203 gdb.cp/derivation.exp, gdb.cp/exception.exp, gdb.cp/hang.exp,
1204 gdb.cp/inherit.exp, gdb.cp/local.exp, gdb.cp/maint.exp,
1205 gdb.cp/member-ptr.exp, gdb.cp/method.exp, gdb.cp/misc.exp,
1206 gdb.cp/namespace.exp, gdb.cp/overload.exp, gdb.cp/ovldbreak.exp,
1207 gdb.cp/psmang.exp, gdb.cp/ref-types.exp, gdb.cp/templates.exp,
1208 gdb.cp/userdef.exp, gdb.cp/virtfunc.exp: Remove reference
1209 to bug-gdb@prep.ai.mit.edu .
1210 * gdb.cp/bs15503.cc, gdb.cp/class2.cc, gdb.cp/cttiadd.cc,
1211 gdb.cp/cttiadd1.cc, gdb.cp/cttiadd2.cc, gdb.cp/cttiadd3.cc,
1212 gdb.cp/exception.cc, gdb.cp/member-ptr.cc, gdb.cp/namespace1.cc:
1213 Likewise.
1214
5c5455dc
AC
12152004-02-10 Andrew Cagney <cagney@redhat.com>
1216
1217 * lib/gdb.exp (gdb_expect_list): Recover from internal-errors
1218 using gdb_internal_error_resync.
1219
9cf689d7
DJ
12202004-02-09 Daniel Jacobowitz <drow@mvista.com>
1221
1222 * gdb.threads/thread-specific.exp: Stop early if no threads are
1223 found.
1224
d2dc51db
MC
12252004-02-09 Michael Chastain <mec.gnu@mindspring.com>
1226
1227 * gdb.base/pending.exp: Remove extra \n from gdb_test calls.
1228
14b1a056
DJ
12292004-02-08 Daniel Jacobowitz <drow@mvista.com>
1230
1231 * lib/gdb.exp (gdb_breakpoint): Fail on unexpected pending
1232 breakpoints.
1233
83f66e8f
DJ
12342004-02-07 Daniel Jacobowitz <drow@mvista.com>
1235
1236 * config/sim.exp (gdb_load): Handle $arg == "".
1237 * lib/gdb.exp (gdb_run_cmd): Honor gdb,do_reload_on_run.
1238 * gdb.objc/basicclass.exp: Use gdb_run_cmd.
1239
30fc0091
EZ
12402004-02-07 Elena Zannoni <ezannoni@redhat.com>
1241
1242 * gdb.base/maint.exp: Update test to reflect
1243 obstack changes.
1244
4d806929
JJ
12452004-02-04 Jeff Johnston <jjohnstn@redhat.com>
1246
1247 * gdb.base/pendshr.c (pendfunc): New function that calls
1248 pendfunc1.
1249 * gdb.base/pending.c: Call pendfunc instead of pendfunc1.
1250
7bfdd688
FF
12512004-02-04 Fred Fish <fnf@redhat.com>
1252
1253 * gdb.arch/gdb1431.c: Add underbar prefixed version of global
1254 function symbols and update copyright years.
1255 * gdb.arch/gdb1291.c: Ditto.
1256
aaa08ee4
MC
12572004-02-03 Michael Chastain <mec.gnu@mindspring.com>
1258
1259 * gdb.cp/virtfunc.exp: Accept both "ctor()" and "ctor(void)".
1260
dbad7755
MC
12612004-02-03 Michael Chastain <mec.gnu@mindspring.com>
1262
1263 * gdb.cp/inherit.exp: Accept both "ctor()" and "ctor(void)".
1264
ec4646ef
MC
12652004-02-03 Michael Chastain <mec.gnu@mindspring.com>
1266
1267 * gdb.cp/inherit.exp: Accept output with gcc 3.2-7-rh.
1268
1b802196
FF
12692004-02-02 Fred Fish <fnf@redhat.com>
1270
1271 * gdb.base/bang.exp: Use gdb_run_cmd so this tests works with
1272 remote targets. Update copyright years.
1273
18fe2033
JJ
12742004-02-02 Jeff Johnston <jjohnstn@redhat.com>
1275
1276 * lib/gdb.exp (gdb_breakpoint): Add pending breakpoint
1277 support.
1278 * gdb.base/langs.exp: Fix test which attempts to create
1279 breakpoint on non-existent function to handle new pending
1280 support.
1281 * gdb.base/shlib-call.exp: Use gdb_breakpoint to set
1282 a breakpoint.
1283 * gdb.base/pending.exp: New test.
1284 * gdb.base/pending.c: New file.
1285 * gdb.base/pendshr.c: Ditto.
1286
8d577d32
DC
12872004-02-02 David Carlton <carlton@kealia.com>
1288
1289 * gdb.cp/overload.exp: Add overloadNamespace tests.
1290 * gdb.cp/overload.cc (dummyClass, dummyInstance): New.
1291 (overloadNamespace, XXX): New.
1292 (main): Call XXX::marker2.
1293
3ad13771
FF
12942004-02-01 Fred Fish <fnf@redhat.com>
1295
1296 * gdb.base/dump.exp: Use runto_main instead of "runto main".
1297 * gdb.base/finish.exp: Ditto.
1298 * gdb.base/gcore.exp: Ditto.
1299 * gdb.base/huge.exp: Ditto.
1300 * gdb.base/info-proc.exp: Ditto.
1301 * gdb.base/return2.exp: Ditto.
1302 * gdb.threads/gcore-thread.exp: Ditto.
1303
44c75849
DJ
13042004-02-01 Daniel Jacobowitz <drow@mvista.com>
1305
1306 * gdb.threads/thread-specific.exp: Add missing anchor to regexp.
1307
005bc093
MK
13082004-02-01 Mark Kettenis <kettenis@gnu.org>
1309
1310 * gdb.base/fileio.c (test_open): Replace O_RDONLY with O_RDWR such
1311 that opening the file succeeds on OpenBSD.
1312
c47cebdb
DJ
13132004-02-01 Daniel Jacobowitz <drow@mvista.com>
1314
1315 * gdb.threads/thread-specific.c: New file.
1316 * gdb.threads/threads-specific.exp: New test script.
1317 * lib/gdb.exp (gdb_test_multiple): Allow user patterns access
1318 to expect_out.
1319
5a01311c
MK
13202004-02-01 Mark Kettenis <kettenis@gnu.org>
1321
1322 * gdb.base/call-ar-st.exp: Call get_debug_format. Remove xfail on
1323 sparc*-*-solaris* into a kfail PR gdb/1539 on sparc-*-* for stabs
1324 only on the "print_small_structs from print_long_arg_list" test.
1325
ce22a4f1
DJ
13262004-02-01 Daniel Jacobowitz <drow@mvista.com>
1327
1328 * gdb.base/completion.exp: Kill a stray backslash.
1329
1330 From Jim Ingham <jingham@apple.com>:
1331 * gdb.base/completion.exp: Test that "complete file ./gdb.base/compl"
1332 agrees with the result from sending a tab.
1333
abbab9d3
DJ
13342004-01-31 Daniel Jacobowitz <drow@mvista.com>
1335
1336 * gdb.base/chng-syms.exp: Remove stray newline.
1337
53904d1e
MK
13382004-01-31 Mark Kettenis <kettenis@gnu.org>
1339
1340 * gdb.asm/asm-source.exp: Set asm-note to "openbsd" for
1341 *-*-openbsd*.
1342 * gdb.asm/openbsd.inc: New file.
1343
3a4b3aac
MK
13442004-01-30 Mark Kettenis <kettenis@gnu.org>
1345
1346 * gdb.asm/asm-source.exp: Strip -Wl, from link-flags. Don't
1347 append -static to link-flags for *-*-freebsd*, *-*netbsd* and
1348 *-*solaris2*. Remove commented out default settings for
1349 asm-flags. Replace gdb_compile with target_link.
1350
ebac27b4
MC
13512004-01-29 Michael Chastain <mec.gnu@mindspring.com>
1352
1353 * gdb.cp/inherit.exp: Rewrite. Use gdb_test_multiple and gdb
1354 for all tests. Remove old hp-ux and cygnus xfail cases.
1355
d8679d84
PH
13562004-01-29 Paul N. Hilfinger <Hilfinger@gnat.com>
1357
1358 * gdb.base/chng-syms.exp: New file.
1359 * gdb.base/chng-syms.c: New file.
1360
0a55bc22
MC
13612004-01-24 Michael Chastain <mec.gnu@mindspring.com>
1362
1363 * gdb.cp/local.exp: Rewrite "ptype Local". Add "ptype l".
1364 Provide arms for current output in all my configurations.
1365
94b8e876
MC
13662004-01-24 Michael Chastain <mec.gnu@mindspring.com>
1367
1368 * lib/compiler.c: Add hp_cc_compiler and hp_aCC_compiler.
1369 * lib/compiler.cc: Likewise.
1370 * lib/gdb.exp (get_compiler_info): Always call gdb_compile to
1371 get the right preprocessor. Eval the output directly. Remove
1372 special tests for hp_cc_compiler and hp_aCC_compiler. Remove
1373 hp_f77_compiler and hp_f90_compiler completely.
1374 (gdb_preprocess): Delete.
1375 (get_compiler): Delete.
1376
7cf03d44
MK
13772004-01-24 Mark Kettenis <kettenis@gnu.org>
1378
1379 * gdb.base/charset.c, gdb.base/dump.c, gdb.base/huge.c: Include
1380 <string.h>.
1381
68b6dce9
NR
13822004-01-24 Nick Roberts <nick@nick.uklinux.net>
1383
1384 * gdb.mi/mi-stack.exp: Update copyright.
1385
b368761e
DC
13862004-01-23 David Carlton <carlton@kealia.com>
1387
1388 * gdb.cp/rtti.exp: Don't include full path in ${srcfile}. Add
1389 test for cp_lookup_transparent_type.
1390 * gdb.cp/rtti1.cc: Update copyright. Add n2::func and refer_to;
1391 call them.
1392
f2061b53
DJ
13932004-01-23 Daniel Jacobowitz <drow@mvista.com>
1394
1395 * gdb.mi/mi-var-child.exp: Update copyright year. Move new test
1396 after -var-update.
1397
37fc574a
DC
13982004-01-23 David Carlton <carlton@kealia.com>
1399
1400 * gdb.cp/namespace.cc (C::ensureRefs): New.
1401 * gdb.cp/namespace1.cc (C::ensureOtherRefs): New.
1402
8e94b928
NR
14032004-01-20 Nick Roberts <nick@nick.uklinux.net>
1404
1405 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Test for
1406 case "-stack-list-locals 2".
1407 * gdb.mi/mi-var-child.exp: Test for case
1408 "-var-list-children --all-values NAME".
1409
997b0952
MC
14102004-01-18 Michael Chastain <mec.gnu@mindspring.com>
1411
1412 * gdb.cp/local.exp: Accept correct output for gcc v3 -gstabs+.
1413
52470da3
MK
14142004-01-18 Mark Kettenis <kettenis@gnu.org>
1415
7049b4b8
MK
1416 * gdb.base/fileio.exp: Add "$gdb_prompt $" anchors to patterns
1417 used with gdb_test_multiple.
1418
52470da3
MK
1419 * gdb.base/gdb1476.exp: Accept alternat pattern for failed memory
1420 read at address 0. This fixes PR testsuite/1504.
1421
da6012e5
DJ
14222004-01-18 Daniel Jacobowitz <drow@mvista.com>
1423
1424 * config/gdbserver.exp (gdbserver_gdb_load): Rename from gdb_load.
1425 Remove downloading, guessing the host executable, the calls to
1426 gdb_file_cmd and gdb_target_cmd, and "load" support.
1427 (infer_host_exec): New function broken out from gdb_load.
1428 (gdb_load): New wrapper for gdbserver_gdb_load.
1429 * lib/mi-support.exp (mi_gdb_target_cmd): New function, based on
1430 gdb_target_cmd. Use -target-select.
1431 (mi_gdb_file_cmd): New function, broken out from mi_gdb_load.
1432 Download binaries to the host. Clear last_mi_remote_file when
1433 we load a new binary.
1434 (mi_gdb_load): Call mi_gdb_file_cmd. If gdbserver.exp is loaded,
1435 call gdbserver_gdb_load and mi_gdb_target_cmd.
1436
32c70722
MC
14372004-01-17 Michael Chastain <mec.gnu@mindspring.com>
1438
1439 * gdb.cp/templates.exp: Accept more spaces with "<foo, ?bar>"
1440 type patterns.
1441
b0cecf36
MC
14422004-01-17 Michael Chastain <mec.gnu@mindspring.com>
1443
1444 * gdb.cp/templates.exp: Fix typo in test name of
1445 "print Foo<volatile char*>::foo".
1446
4120d7e6
MC
14472004-01-15 Michael Chastain <mec.gnu@mindspring.com>
1448
1449 * gdb.base/setvar.exp: Remove setup_xfail for hppa*-*-*11*.
1450
f679e530
BE
14512004-01-16 Ben Elliston <bje@wasabisystems.com>
1452
1453 * gdb.arch/Makefile.in (MISCELLANEOUS): Remove.
1454 (clean mostlyclean): Remove empty rm.
1455
091c48f6
MC
14562004-01-15 Michael Chastain <mec.gnu@mindspring.com>
1457
1458 * gdb.base/setvar.exp: Add copyright years.
1459
3e5fc8d2
DC
14602004-01-14 David Carlton <carlton@bactrian.org>
1461
1462 * gdb.cp/rtti.exp: Update copyright. KFAIL test with repect to
1463 PR c++/1511 and update coment.
1464 * gdb.cp/templates.exp: Update patterns to match current output.
1465 If changes involve something other than whitespace, KFAIL
1466 w.r.t. PR c++/1512 or PR c++/931 as appropriate.
1467
63d06c5c
DC
14682004-01-14 David Carlton <carlton@kealia.com>
1469
1470 * gdb.cp/namespace.exp: Add tests involving classes defined within
1471 namespaces.
1472 * gdb.cp/namespace.cc (C::CClass): New.
1473 * gdb.cp/namespace1.cc (C::OtherFileClass): New.
1474
a51dab88
EZ
14752004-01-14 Elena Zannoni <ezannoni@redhat.com>
1476
1477 * gdb.base/sepdebug.exp: Bail out of the test if we don't know
1478 what debug info we have. Print a better message if something goes
1479 wrong while producing the separate debug info file.
1480
a476ccc9
MC
14812004-01-14 Michael Chastain <mec.gnu@mindspring.com>
1482
1483 * gdb.base/callfuncs.c: Remove explicit declaration of malloc.
1484
f453692c
MC
14852004-01-14 Michael Chastain <mec.gnu@mindspring.com>
1486
1487 * gdb.base/callfuncs.c: Add copyright notice.
1488
f40063a5
MC
14892004-01-13 Michael Chastain <mec.gnu@mindspring.com>
1490
1491 * gdb.cp/derivation.exp: Add XFAIL for bug with protected
1492 inheritance. PR gdb/1498, PR gcc/13539.
1493
19ac3974
EZ
14942004-01-13 Elena Zannoni <ezannoni@redhat.com>
1495
1496 * gdb.threads/gcore-thread.exp: Prefix name of binary with
1497 test specific name.
1498 * gdb.mi/gdb669.exp: Ditto.
1499 * gdb.mi/mi-pthreads.exp: Ditto.
1500 * gdb.mi/mi1-pthreads.exp: Ditto.
1501 * gdb.mi/mi2-pthreads.exp: Ditto.
1502
56c97c6e
MC
15032004-01-12 Michael Chastain <mec.gnu@mindspring.com>
1504
1505 * gdb.cp/member-ptr.cc: Add copyright notice.
1506
a0644324
MC
15072004-01-12 Michael Chastain <mec.gnu@mindspring.com>
1508
1509 * gdb.cp/member-ptr.exp: Use gdb_test, gdb_test_multiple. Add
1510 some patterns for recent versions of gcc and hpacc. Delete
1511 calls to setup_xfail for hppa*-*-*. Delete redundant tests.
1512 Delete tests that access a NULL pointer-to-member-data. This
1513 script is still disabled for gcc.
1514
32fabe09
EZ
15152004-01-12 Elena Zannoni <ezannoni@redhat.com>
1516
1517 * gdb.mi/mi2-basics.exp: Make sure that full pathnames are
1518 escaped correctly.
1519
1f8a6abb
EZ
15202004-01-12 Elena Zannoni <ezannoni@redhat.com>
1521
1522 * gdb.base/sepdebug.exp: New file.
1523 * gdb.base/sepdebug.c: New file.
1524 * lib/gdb.exp (separate_debug_filename): New procedure.
1525 (gdb_gnu_strip_debug): New procedure.
1526
48efe704
AC
15272004-01-12 Andrew Cagney <cagney@redhat.com>
1528
1529 * gdb.mi/ChangeLog: Delete file. Renamed to ...
1530 * gdb.mi/ChangeLog-1999-2003: New file.
1531
a9415475
AC
15322004-01-12 Andrew Cagney <cagney@redhat.com>
1533
1534 * gdb.base/fileio.exp: Update copyright year. On GNU/Linux, for
1535 "Renaming a directory to a non-empty directory returns ENOTEMPTY
1536 or EEXIST", treat EBUSY as an XFAIL.
1537
83b8cf9d
MC
15382004-01-11 Michael Chastain <mec.gnu@mindspring.com>
1539
1540 * gdb.base/scope.exp: Remove obsolete setup_xfail for
1541 hp_cc_compiler.
1542
9939d2a8
MC
15432004-01-10 Michael Chastain <mec.gnu@mindspring.com>
1544
1545 * gdb.cp/classes.exp: Remove old "(obsolescent gcc or gdb)"
1546 decorations.
1547
1ff8cadf
MC
15482004-01-10 Michael Chastain <mec.gnu@mindspring.com>
1549
1550 * gdb.cp/virtfunc.exp: Remove old "(obsolescent gcc or gdb)"
1551 and "(aCC)" decorations. Remove obsolete doco about old
1552 test results.
1553
6fa9022e
MC
15542004-01-09 Michael Chastain <mec.gnu@mindspring.com>
1555
1556 * gdb.cp/exception.exp: Fix typo in doco.
1557
209721fe
MK
15582004-01-09 Mark Kettenis <kettenis@gnu.org>
1559
1560 * gdb.base/gdb1476.exp: Fix typo.
1561
ef11303e
MC
15622004-01-09 Michael Chastain <mec.gnu@mindspring.com>
1563
1564 * gdb.hp/gdb.aCC/exception.exp: Re-create as a nearly empty
1565 file.
1566
041ab88c
MC
15672004-01-09 Michael Chastain <mec.gnu@mindspring.com>
1568
1569 * gdb.cp/exception.cc: Change <iostream.h> to <iostream>.
1570 * gdb.cp/exception.exp: Use gdb test, gdb_test_multiple.
1571 Use gdb_compile. Remove restriction on gcc. Add some patterns
1572 for recent version of gdb. Delete second half, which was a copy
1573 of the first half with different build flags. This test is
1574 still disabled because it is still not ready for production.
1575
e36d075a
MC
15762004-01-08 Michael Chastain <mec.gnu@mindspring.com>
1577
1578 * gdb.cp/exception.cc: Add copyright notice.
1579 * gdb.cp/exception.exp: Add a notice that this file is broken
1580 because of line number changes caused by addition of copyright
1581 notice.
1582
42b190ad
MC
15832004-01-08 Michael Chastain <mec.gnu@mindspring.com>
1584
1585 * gdb.cp/exception.cc: Renamed from gdb.hp/gdb.aCC/exception.cc.
1586 * gdb.cp/exception.exp: Renamed from gdb.hp/gdb.aCC/exception.exp.
1587
8f25f06b
MC
15882004-01-08 Michael Chastain <mec.gnu@mindspring.com>
1589
1590 * gdb.cp/classes.exp: Accept gnu abi 2.
1591 * gdb.cp/derivation.exp: Likewise.
1592 * gdb.cp/overload.exp: Likewise.
1593 * gdb.cp/virtfunc.exp: Likewise.
1594
06ded8b8
MC
15952004-01-08 Michael Chastain <mec.gnu@mindspring.com>
1596
1597 * gdb.mi/pthreads.c (done_making_threads): Remove extraneous
1598 semicolon after end of function.
1599
77c26ae3
MC
16002004-01-07 Michael Chastain <mec.gnu@mindspring.com>
1601
1602 * gdb.cp/bs15503.cc: Include <iostream>, not <iostream.h>.
1603 * gdb.cp/bs15503.exp: Remove hp-only restriction. Use modern
1604 boilerplate code for compiling and running the program under
1605 test. Add some string method tests.
1606
20757486
MC
16072004-01-07 Michael Chastain <mec.gnu@mindspring.com>
1608
1609 * gdb.cp/bs15503.cc: Add copyright notice.
1610 * gdb.cp/bs15503.exp: Adjust line number.
1611
0fd3b503
MC
16122004-01-07 Michael Chastain <mec.gnu@mindspring.com>
1613
1614 * gdb.hp/gdb.defects/bs15503.exp: Renamed to gdb.cp/bs15503.exp.
1615 * gdb.hp/gdb.defects/bs15503.cc: Renamed to gdb.cp/bs15503.cc.
1616
10d1bea8
MC
16172004-01-07 Michael Chastain <mec.gnu@mindspring.com>
1618
1619 * gdb.base/funcargs.exp: Remove obsolete setup_xfail for
1620 hp_cc_compiler.
1621
2789202a
MC
16222004-01-07 Michael Chastain <mec.gnu@mindspring.com>
1623
1624 * gdb.cp/cttiadd.c: Add a marker for gdb_get_line_number.
1625 * gdb.cp/ctti.exp: Use the marker instead of "next".
1626 With gcc, run further before bailing.
1627
b862f14c
MC
16282004-01-07 Michael Chastain <mec.gnu@mindspring.com>
1629
1630 * gdb.cp/cttiadd.cc: Add copyright notice.
1631 * gdb.cp/cttiadd1.cc: Likewise.
1632 * gdb.cp/cttiadd2.cc: Likewise.
1633 * gdb.cp/cttiadd3.cc: Likewise.
1634
96da2469
MC
16352004-01-07 Michael Chastain <mec.gnu@mindspring.com>
1636
1637 * gdb.cp/ctti.exp: Partial rewrite. Call gdb_compile properly.
1638 Use gdb_test, gdb_test_multiple. Use floating-point values that
1639 have exact representations in IEEE-ish formats.
1640
053248ff
MC
16412004-01-07 Michael Chastain <mec.gnu@mindspring.com>
1642
1643 * gdb.base/constvars.exp: Do not force lang=c++ if using HP
1644 compilers. Delete duplicate call to get_compiler_info.
1645 (local_compiler_xfail_check): setup_xfail if $hp_cc_compiler.
1646 * gdb.base/volatile.exp: Likewise.
1647
84acecdd
MK
16482004-01-07 Mark Kettenis <kettenis@gnu.org>
1649
1650 * gdb.base/gdb1476.exp: Only run the tests if we can't read the
1651 memory at address 0.
1652
fe11a27f
MC
16532004-01-07 Michael Chastain <mec.gnu@mindspring.com>
1654
1655 * gdb.stabs/weird.exp: Use hp_cc_compiler and hp_aCC_compiler
1656 to test for hp-ux assembler. Fix copyright years.
1657
60ad077b
AC
16582004-01-07 Andrew Cagney <cagney@redhat.com>
1659
1660 * gdb.base/fileio.c (strerrno): Add "EBUSY".
1661
1c9b8f33
AC
16622004-01-07 Andrew Cagney <cagney@redhat.com>
1663
1664 * gdb.base/fileio.c (test_open): Do not pass S_IWUSR to "open"
1665 when creating the read-only file. From analysis by Roland McGrath
1666 and Elena Zannoni.
1667
753ccc7a
MC
16682004-01-06 Michael Chastain <mec.gnu@mindspring.com>
1669
1670 * gdb.cp/namespace.exp: Call get_compiler_info with "c++".
1671
eca3e36b
MC
16722004-01-06 Michael Chastain <mec.gnu@mindspring.com>
1673
1674 * gdb.base/cvexpr.c: Be type-safe with function pointers and
1675 data pointers.
1676
f8d4bac4
MC
16772004-01-06 Michael Chastain <mec.gnu@mindspring.com>
1678
1679 * gdb.cp/m-static.exp: Compile one source file at a time.
1680 Delete unused call to get_compiler_info.
1681
9b4e0f94
MC
16822004-01-06 Michael Chastain <mec.gnu@mindspring.com>
1683
1684 * gdb.base/call-ar-st.exp: Delete explicit reference to ${binfile}.ci.
1685 * gdb.base/call-rt-st.exp: Likewise.
1686 * gdb.base/nodebug.exp: Likewise.
1687 * gdb.base/volatile.exp: Likewise.
1688 * gdb.cp/ref-types.exp: Likewise.
1689 * gdb.cp/templates.exp: Likewise.
1690
023c1024
MK
16912004-01-05 Mark Kettenis <kettenis@gnu.org>
1692
1693 * gdb.base/gdb1476.exp, gdb.base/gdb1476.c: New files.
1694
19703c4a
MC
16952004-01-05 Michael Chastain <mec.gnu@mindspring.com>
1696
1697 * gdb.cp/funcargs.exp: Delete special timeout of 240 seconds for
1698 hppa*-hp-hpux*.
1699
18b67037
MK
17002004-01-04 Mark Kettenis <kettenis@gnu.org>
1701
ba6219c8
MK
1702 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
1703 x86_64-*-*.
1704
18b67037
MK
1705 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
1706 sparc64-*-* and sparc*-solaris2*.
1707
1bfbbb9d
MK
17082004-01-04 Mark Kettenis <kettenis@gnu.org>
1709
1710 * gdb.base/structs.exp: Remove ${testfile} from "zed L<n> for
1711 return ${tests}" test. The ${tests} already mentions the
1712 filename.
1713
06846494
MC
17142004-01-02 Michael Chastain <mec.gnu@mindspring.com>
1715
1716 * gdb.cp/local.exp: Accept gcc abi 2.
1717
3b0cb202
MC
17182004-01-02 Michael Chastain <mec.gnu@mindspring.com>
1719
1720 * gdb.cp/templates.exp: Accept gcc abi 2.
1721
0643ec3f
MC
17222004-01-02 Michael Chastain <mec.gnu@mindspring.com>
1723
1724 * lib/compiler.cc: Remove supports_template_debugging.
1725 * gdb.cp/templates.exp: Do not test supports_template_debugging.
1726
d231d0b1
MC
17272004-01-01 Michael Chastain <mec.gnu@mindspring.com>
1728
1729 * gdb.cp/namespace.exp: Accept gcc abi 2.
1730
44ffb27c
MC
17312004-01-01 Michael Chastain <mec.gnu@mindspring.com>
1732
1733 * gdb.cp/method.exp: Accept gcc abi 2.
1734
184ad485
MC
17352004-01-01 Michael Chastain <mec.gnu@mindspring.com>
1736
1737 * gdb.cp/classes.exp: Generate identical results as old version.
1738 * gdb.cp/derivation.exp: Likewise.
1739 * gdb.cp/overload.exp: Likewise.
1740 * gdb.cp/virtfunc.exp: Likewise.
1741
116f09e7
MC
17422004-01-01 Michael Chastain <mec.gnu@mindspring.com>
1743
1744 * gdb.cp/virtfunc.exp: Modify some patterns to avoid a
1745 mysterious bug with sourceware version of expect.
1746
b1379776
MC
17472004-01-01 Michael Chastain <mec.gnu@mindspring.com>
1748
1749 * gdb.cp/overload.exp: Rewrite. Clean up patterns to match
1750 current versions of gcc, including gcc abi 2. Remove gratuitous
1751 restart of test program. Use gdb_test_multiple and gdb_test for
1752 all tests. Add patterns to xfail missing "const" in "const char *"
1753 and kfail PR gdb/1155.
1754
6b7a4c0e
MC
17552004-01-01 Michael Chastain <mec.gnu@mindspring.com>
1756
1757 * gdb.cp/derivation.exp: Rewrite. Clean up patterns to match
1758 current versions of gcc, including gcc abi 2. Remove gratuitous
1759 restart of test program. Use gdb_test_multiple and gdb_test for
1760 all tests. Add patterns to kfail PR gdb/1498.
1761
51615d72
MC
17622003-12-31 Michael Chastain <mec.gnu@mindspring.com>
1763
1764 * gdb.cp/virtfunc.exp: Rewrite. Clean up patterns to match
1765 current versions of gcc, including gcc abi 2. Use "breakpoint"
1766 and "continue" instead of restarting the target program. Use
1767 gdb_test_multiple and gdb_test for all tests.
1768
7b79a9d7
MK
17692004-01-01 Mark Kettenis <kettenis@gnu.org>
1770
1771 * gdb.asm/asm-source.exp: Update copyright year. Link statically
1772 for *-*-solaris2*.
1773
1cd3489f
MC
17742003-12-31 Michael Chastain <mec.gnu@mindspring.com>
1775
1776 * gdb.cp/classes.exp: Rewrite. Clean up patterns to match
1777 current versions of gcc, including gcc abi 2. Use "breakpoint"
1778 and "continue" instead of restarting the target program several
1779 times. Use gdb_test_multiple and gdb_test for all tests.
1780
850742db
MC
17812003-12-18 Michael Chastain <mec.gnu@mindspring.com>
1782
1783 * gdb.base/sect-cmd.exp: Handle compiling test case from multiple
1784 source files.
1785
eb4bbda8
MC
17862003-12-16 Michael Chastain <mec.gnu@mindspring.com>
1787
1788 * gdb.base/environ.exp: Handle compiling test case from multiple
1789 source files.
1790
e42c7771
MC
17912003-12-16 Michael Chastain <mec.gnu@mindspring.com>
1792
1793 * gdb.base/structs.exp: Call gdb_exit as well as gdb_start.
1794
80e4b428
JB
17952003-12-17 Jim Blandy <jimb@redhat.com>
1796
5f06973a
JB
1797 * gdb.base/freebpcmd.c: Add copyright notice.
1798
80e4b428
JB
1799 * gdb.base/freebpcmd.exp: Mark the interesting failure as known.
1800
0ab84fb7
MC
18012003-12-16 Michael Chastain <mec.gnu@mindspring.com>
1802
1803 * gdb.base/maint.exp: Add generic FAIL patterns to prevent timeouts.
1804
1b3bb3d0
JB
18052003-12-13 Jim Blandy <jimb@redhat.com>
1806
1807 * gdb.base/freebpcmd.exp, gdb.base/freebpcmd.c: New test.
1808
3a4c9371
KB
18092003-12-12 Kevin Buettner <kevinb@redhat.com>
1810
1811 * gdb.asm/frv.inc: New file.
1812 * gdb.asm/asm-source.exp: Add frv-*-* as a supported target.
1813
a1dea79a
FF
18142003-12-09 Fred Fish <fnf@redhat.com>
1815
1816 * gdb.base/break.c (marker1, marker2, marker3, marker4): Move
1817 functions to break1.c and leave prototypes behind. Add more
1818 "set breakpoint NN here" comments.
1819 * gdb.base/break1.c: New file.
1820
1821 * gdb.base/break.exp: Handle compiling test case from multiple
1822 source files and change source file references as needed.
1823 * gdb.base/completion.exp: Ditto.
1824 * gdb.base/condbreak.exp: Ditto.
1825 * gdb.base/define.exp: Ditto.
1826 * gdb.base/ena-dis-br.exp: Ditto.
1827 * gdb.base/info-proc.exp: Ditto.
1828 * gdb.base/maint.exp: Ditto.
1829 * gdb.base/until.exp: Ditto.
1830
1831 * gdb.base/condbreak.exp: Use bp_locationNN variables instead of
1832 hardcoded line numbers.
1833 * gdb.base/define.exp: Ditto.
1834 * gdb.base/ena-dis-br.exp: Ditto.
1835 * gdb.base/maint.exp: Ditto.
1836 * gdb.base/until.exp: Ditto.
1837
1838 * gdb.base/completion.exp: Use "break1" for completion tests since
1839 "break" is no longer a unique prefix.
1840
5266b69c
AC
18412003-12-06 Andrew Cagney <cagney@redhat.com>
1842
1843 * gdb.base/structs.exp (test_struct_returns): When applicable, set
1844 "return_value_unimplemented". When an unimplemented struct return
1845 architecture, report incorrect values as a KFAIL
1846
374451f0
MC
18472003-12-05 Michael Chastain <mec.gnu@mindspring.com>
1848
1849 * gdb.cp/rtti.exp: Accept new wording of warning from
1850 cp_lookup_rtti_type.
1851
ba9b20a7
MC
18522003-12-05 Michael Chastain <mec.gnu@mindspring.com>
1853
1854 Partial fix for PR testsuite/1456.
1855 * gdb.base/scope.exp (test_at_main): Replace references to
1856 gcc_compiled with calls to test_compiler_info.
1857 (test_at_foo): Likewise.
1858 (test_at_bar): Likewise.
1859
b74b6d0b
MC
18602003-12-04 Michael Chastain <mec.gnu@mindspring.com>
1861
1862 Partial fix for PR testsuite/1456.
1863 * gdb.base/so-impl-ld.exp: Replace reference to gcc_compiled with call
1864 to test_compiler_info.
1865
ccfa3402
MC
18662003-12-03 Michael Chastain <mec.gnu@mindspring.com>
1867
1868 * gdb.base/so-impl-ld.exp: Update copyright notice.
1869
f6246aba
MC
18702003-12-02 Michael Chastain <mec.gnu@mindspring.com>
1871
1872 Partial fix for PR testsuite/1456.
1873 * gdb.base/mips_pro.exp: Replace references to gcc_compiled with calls
1874 to test_compiler_info.
1875
13ae734a
MC
18762003-11-28 Michael Chastain <mec.gnu@mindspring.com>
1877
1878 * gdb.objc/objcdecode.exp: Match and KFAIL the output that comes
1879 from current versions of gdb. Clean up regular expressions.
1880 Delete redundant timeout case.
1881
d8e1cdee
MC
18822003-11-28 Michael Chastain <mec.gnu@mindspring.com>
1883
1884 * gdb.objc/nondebug.exp: Match and KFAIL the output that comes
1885 from current versions of gdb. Clean up regular expressions.
1886 Delete redundant timeout case.
1887
96457b64
MC
18882003-12-01 Michael Chastain <mec.gnu@mindspring.com>
1889
1890 Partial fix for PR testsuite/1456.
1891 * gdb.base/callfuncs.exp (do_function_calls): Replace reference to
1892 gcc_compiled with call to test_compiler_info.
1893
f35309fc
MC
18942003-11-30 Michael Chastain <mec.gnu@mindspring.com>
1895
1896 Partial fix for PR testsuite/1456.
1897 * gdb.base/list.exp (test_list_function): Delete unused declaration
1898 of gcc_compiled.
1899
d7afdf9b
MC
19002003-11-29 Michael Chastain <mec.gnu@mindspring.com>
1901
1902 Partial fix for PR testsuite/1456.
1903 * gdb.base/complex.exp: Replace reference to gcc_compiled with
1904 call to test_compiler_info.
1905
71507b56
MK
19062003-11-29 Mark Kettenis <kettenis@gnu.org>
1907
1908 * gdb.asm/asm-source.exp: Initialize asm-note to "empty". Set
1909 asm-note to "netbsd" for *-*-netbsdelf* and x86_64-*-netbsd*. Use
1910 it to create the appropriate note.inc.
1911 * gdb.asm/asmsrc1.s: Include "note.inc".
1912 * gdb.asm/netbsd.inc: New file.
1913 * gdb.asm/empty.inc: New file.
1914
f81f93f7
MC
19152003-11-28 Michael Chastain <mec.gnu@mindspring.com>
1916
1917 Partial fix for PR testsuite/1456.
1918 * gdb.base/constvars.exp: Replace references to gcc_compiled with
1919 calls to test_compiler_info.
1920
9a77938e
MC
19212003-11-27 Michael Chastain <mec.gnu@mindspring.com>
1922
1923 Partial fix for PR testsuite/1456.
1924 * gdb.base/volatile.exp: Replace references to gcc_compiled with
1925 calls to test_compiler_info.
1926
e8367dc7
MK
19272003-11-27 Mark Kettenis <kettenis@gnu.org>
1928
1929 * gdb.base/structs.exp: Use i*86-*-* instead of i686-*-* as a
1930 pattern for the KFAILs.
1931
526c61ee
AF
19322003-11-25 Adam Fedor <fedor@gnu.org>
1933
1934 * gdb.objc/objcdecode.exp: Test for PR objc/1238.
1935 * gdb.objc/objcdecode.m: New file.
1936
28f2d600
AF
19372003-11-25 Adam Fedor <fedor@gnu.org>
1938
1939 * gdb.objc/nondebug.exp: Test for PR objc/1236.
1940 * gdb.objc/nondebug.m: New file.
1941
a3895cee
BE
19422003-11-26 Ben Elliston <bje@wasabisystems.com>
1943
1944 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
1945 NetBSD as it does on FreeBSD. Modelled on a similar change by
1946 Mark Kettenis on 2003-05-30.
1947 (link-flags): Set to "--entry _start" regardless of target.
1948 Special linker flags are to be appended to $link-flags.
1949 * gdb.asm/mips.inc (gdbasm_startup): Remove __start label.
1950
c9f2c8a3
MC
19512003-11-25 Michael Chastain <mec.gnu@mindspring.com>
1952
1953 * gdb.cp/method.exp: Accept output of new demangler.
1954
15a0587a 19552003-11-25 Michael Chastain <mec.gnu@mindspring.com>
f4e8b6f3
MC
1956
1957 * gdb/class2.exp: New file.
1958 * gdb/class2.cc: New file.
1959
3c00b570
MC
19602003-11-25 Michael Chastain <mec.gnu@mindspring.com>
1961
1962 * gdb.cp/templates.exp (test_ptype_of_templates): Accept output
1963 of new demangler.
1964
7027acc7
MK
19652003-11-23 Mark Kettenis <kettenis@gnu.org>
1966
1967 * gdb.arch/i386-unwind.exp: Use gdb_run_cmd and gdb_expect instead
1968 of gdb_test "run".
1969
b0e1598a
MK
19702003-11-23 Mark Kettenis <kettenis@gnu.org>
1971
1972 * gdb.arch/i386-unwind.exp: Don't use runto_main. Change
1973 "continue" into "run".
1974
4d9eda44
MC
19752003-11-23 Michael Chastain <mec.gnu@mindspring.com>
1976
1977 Partial fix for PR testsuite/1456.
1978 * gdb.cp/ambiguous.exp: Replace reference to gcc_compiled with
1979 call to test_compiler_info.
1980 * gdb.cp/ctti.exp: Likewise.
1981 * gdb.cp/derivation.exp: Likewise.
1982 * gdb.cp/member-ptr.exp: Likewise.
1983 * gdb.cp/virtfunc.exp (test_virtual_calls): Remove unused
1984 reference to gcc_compiled.
1985
19862003-11-23 Michael Chastain <mec.gnu@mindspring.com>
b729099e
MC
1987
1988 Fix PR testsuite/1463.
1989 * gdb.base/structs.exp (start_structs_test): Call
1990 get_debug_format before using the debug format.
1991
d422fe19
AC
19922003-11-22 Andrew Cagney <cagney@redhat.com>
1993
1994 * lib/gdb.exp (gdb_test_multiple): Add simple example.
1995 * gdb.base/structs.exp: Use gdb_test_multiple.
1996
039cf96d
AC
19972003-11-20 Andrew Cagney <cagney@redhat.com>
1998
6882279b
AC
1999 * gdb.base/structs.exp: Handle and recover from internal errors.
2000 Replace "foo${n}" with "foo<n>" in test messages.
2001
e53890ae
AC
2002 * gdb.base/structs.exp: Update copyright. Rewrite.
2003 * gdb.base/structs.c: Update copyright. Rewrite.
2004
2b211c59
AC
2005 * lib/gdb.exp (gdb_internal_error_resync): Issue a perror when the
2006 resync count exceeded.
d63a86f8 2007
039cf96d
AC
2008 * gdb.base/maint.exp: Use gdb_internal_error_resync to recover
2009 from the internal error.
2010 * lib/gdb.exp (gdb_internal_error_resync): New procedure.
2011 Original from Jim Blandy.
2012 (gdb_test_multiple): Use gdb_internal_error_resync.
2b211c59 2013
eac98b22
AC
20142003-11-19 Andrew Cagney <cagney@redhat.com>
2015
2016 * gdb.base/callfuncs.exp: Change the XFAILed descriptor test to a
2017 KFAIL.
2018
67455b2a
MK
20192003-11-17 Mark Kettenis <kettenis@gnu.org>
2020
2021 New testcase for PR backtrace/1435.
2022 * gdb.arch/i386-unwind.exp: New file.
2023 * gdb.arch/i386-unwind.c: New file.
2024
853d6e5b
AC
20252003-11-17 Andrew Cagney <cagney@redhat.com>
2026
2027 * lib/gdb.exp (compiler_info): New global.
2028 (test_compiler_info): New function.
2029 (get_compiler_info): Set compiler_info.
2030 * lib/compiler.c, lib/compiler.cc: Add copyright. When GNUC, set
2031 "compiler_info" to gcc-<major>-<minor>.
2032
38cf6e11
MC
20332003-11-15 Michael Chastain <mec.gnu@mindspring.com>
2034
2035 * gdb.trace/configure: Remove.
2036
a50d3602
EZ
20372003-11-13 Elena Zannoni <ezannoni@redhat.com>
2038
2039 * gdb.base/break.c: Add comments to aid finding line numbers for
d63a86f8 2040 breakpoints.
a50d3602
EZ
2041 * gdb.base/break.exp: Remove all references to explicit line
2042 numbers.
2043
d9407aaa
NC
20442003-11-11 Nick Clifton <nickc@redhat.com>
2045
2046 * gdb.base/shreloc.exp: Do not run for targets which do not
2047 support shared objects.
2048
db488fc1
CV
20492003-11-10 Corinna Vinschen <vinschen@redhat.com>
2050
2051 * gdb.base/fileio.exp: Drop tests for nointerrupts and noinferiorio.
2052 Don't run tests if nofileio flag is given.
2053
6a90a18e
EZ
20542003-11-07 Elena Zannoni <ezannoni@redhat.com>
2055
2056 * gdb.cp/annota3.exp: Make sure we can match 'Hardware watchpoint'
2057 as well as 'Watchpoint'.
2058
0b915e9c
EZ
20592003-11-06 Elena Zannoni <ezannoni@redhat.com>
2060
2061 Reported by Jim Ingham <jingham@apple.com>:
2062 * gdb.base/annota1.exp: Match at least one occurrence of the
2063 signal handler annotation.
2064
d7e4b55f
EZ
20652003-11-06 Elena Zannoni <ezannoni@redhat.com>
2066
2067 * gdb.cp/annota2.exp: Make sure we can match 'Hardware watchpoint'
2068 as well as 'Watchpoint'.
2069
2fe4e8d0
MC
20702003-11-05 Michael Chastain <mec@shout.net>
2071
2072 * gdb.mi/pthreads.c (routine): Handle early return from sleep.
2073
6ef88553
KW
20742003-11-03 Kris Warkentin <kewarken@qnx.com>
2075
2076 * gdb.arch/gdb1291.c: New test file.
2077 * gdb.arch/gdb1291.exp: New test script.
2078 * gdb.arch/gdb1431.c: New test file.
2079 * gdb.arch/gdb1431.exp: New test script.
2080
ae7dc4d8
MC
20812003-10-22 Michael Chastain <mec@shout.net>
2082
2083 * gdb.mi/pthreads.c: Add copyright notice.
2084
c39d7427
MC
20852003-10-22 Michael Chastain <mec@shout.net>
2086
2087 * gdb.threads/pthreads.c: Add copyright notice.
2088
8b7d96c1
MC
20892003-10-20 Michael Chastain <mec@shout.net>
2090
2091 * gdb.base/gdb1056.exp: New test script.
2092
d1d69fdd
DJ
20932003-10-13 Daniel Jacobowitz <drow@mvista.com>
2094
2095 * gdb.threads/killed.exp: Use gdb_run_cmd.
2096
7d605576
DJ
20972003-10-13 Daniel Jacobowitz <drow@mvista.com>
2098
2099 * gdb.base/gcore.exp: Issue an UNSUPPORTED and exit if we can't
2100 create a core file.
2101 * gdb.threads/gcore-thread.exp: Likewise.
2102
618ec112
CV
21032003-10-13 Corinna Vinschen <vinschen@redhat.com>
2104
2105 * gdb.base/call-rt-st.c (struct bit_flags_char_t): New bitfield
2106 type, based on char type.
2107 (struct bit_flags_short_t): New bitfield type, based on short type.
2108 (init_bit_flags_char): New fuction.
2109 (init_bit_flags_short): Ditto.
2110 (print_bit_flags_char): Ditto.
2111 (print_bit_flags_short): Ditto.
2112 (main): Add handling for bit_flags_char_t and bit_flags_short_t.
2113
9367a73c
MC
21142003-10-11 Michael Chastain <mec@shout.net>
2115
2116 * gdb.base/call-rt-st.exp: Update copyright year.
2117
1decf120
KI
21182003-10-10 Kei Sakamoto <sakamoto.kei@renesas.com>
2119
2120 * config/hmsirom.exp: Replace "Hitachi" with "Renesas".
2121 * gdb.disasm/sh3.s: Ditto.
2122
5445b2ae
DJ
21232003-10-07 Daniel Jacobowitz <drow@mvista.com>
2124
2125 * gdb.threads/switch-threads.exp: New test.
2126 * gdb.threads/switch-threads.c: New source file.
2127
aec24853
CV
21282003-10-07 Corinna Vinschen <vinschen@redhat.com>
2129
2130 * gdb.base/ending-run.exp: Add sh specific case.
2131
adc7428d
AC
21322003-10-06 Andrew Cagney <cagney@redhat.com>
2133
2134 * gdb.base/watchpoint.exp: Delete obsolete clear_xfail.
2135 * gdb.disasm/mn10200.exp: Delete obsolete file.
2136
c9d37158
DJ
21372003-09-29 Daniel Jacobowitz <drow@mvista.com>
2138
2139 * ChangeLog: Correct an entry command.exp -> commands.exp.
2140 * gdb.base/commands.exp (bp_deleted_in_command_test)
2141 (temporary_breakpoint_commands): Check noargs.
2142
79c2c32d
DC
21432003-09-25 David Carlton <carlton@kealia.com>
2144
2145 * gdb.cp/namespace.exp: Tweak comments. Add non-quoted versions
2146 of some print tests, where appropriate. Add tests for C::D::cd,
2147 E::ce, F::cXfX, G::XgX.
2148 * gdb.cp/namespace.cc: Add XgX, cXfX, ce.
2149
594e6d67
RE
21502003-09-25 Richard Earnshaw <rearnsha@arm.com>
2151
2152 * lib/java.exp (java_init): Import target_alias before using it.
2153
10f0d451
DC
21542003-09-25 David Carlton <carlton@kealia.com>
2155
2156 * gdb.base/corefile.exp: Delete obsolete setup_xfail.
2157
274bcba0
EZ
21582003-09-23 Elena Zannoni <ezannoni@redhat.com>
2159
d63a86f8 2160 * gdb.base/selftest.exp: Accomodate more instruction reordering
274bcba0
EZ
2161 weirdness.
2162
cdbf20f7
MC
21632003-09-17 Michael Chastain <mec@shout.net>
2164
2165 * gdb.cp/gdb1355.exp: New file.
2166 * gdb.cp/gdb1355.c: New file.
2167
71e06f80
CV
21682003-09-15 Corinna Vinschen <vinschen@redhat.com>
2169
2170 * gdb.asm/asm-source.exp: Add sh*-*-* as supported target.
2171 * gdb.asm/sh.inc: New file.
2172
5c4e30ca
DC
21732003-09-11 David Carlton <carlton@kealia.com>
2174
bd45b7af
DC
2175 * gdb.cp/namespace.exp: Add tests for namespace types.
2176 * gdb.cp/maint.exp (test_help): Test 'help maint cp namespace'.
5c4e30ca
DC
2177 (test_namespace): New.
2178
1c199746
EZ
21792003-09-11 Elena Zannoni <ezannoni@redhat.com>
2180
2181 * gdb.base/relocate.exp: Handle new gdb output at startup.
3fcf0ced 2182 * gdb.stabs/weird.exp: Ditto.
1c199746 2183
04ed252f
MC
21842003-09-08 Michael Chastain <mec@shout.net>
2185
2186 * gdb.base/gdb1250.c: Rename 'gamma' to 'my_gamma'.
2187
d8a2d9e7
MC
21882003-09-07 Michael Chastain <mec@shout.net>
2189
2190 * gdb.cp/classes.exp: Accommodate both 'syntax error' and
2191 'parse error'.
2192
161afb24
MK
21932003-09-07 Mark Kettenis <m.kettenis@osp.nl>
2194
2195 * gdb.arch/i386-prologue.exp: Add checks for saved registers.
2196
49f2741a
MC
21972003-08-30 Michael Chastain <mec@shout.net>
2198
2199 * gdb.base/selftest.exp: Remove support for m68k*-*-hpux.
2200 * gdb.gdb/observer.exp: Ditto.
2201 * gdb.gdb/xfullpath.exp: Ditto.
2202
8afa723e
MK
22032003-08-29 Mark Kettenis <kettenis@gnu.org>
2204
2205 * gdb.base/interrupt.exp: XFAIL "call function when asleep" for
2206 *-*-*bsd*.
2207
f31dfe3b
JJ
22082003-08-28 Jeff Johnston <jjohnstn@redhat.com>
2209
2210 * gdb.base/dump.exp: Skip for ia64.
2211
4630e498
JJ
22122003-08-25 Jeff Johnston <jjohnstn@redhat.com>
2213
2214 * gdb.asm/asm-source.exp: Add ia64 support.
2215 * gdb.asm/ia64.inc: New file.
2216
1105b7ef
MC
22172003-08-22 Michael Chastain <mec@shout.net>
2218
2219 * gdb.cp: New directory.
2220 * gdb.cp/*: Copy from gdb.c++/*.
2221 * gdb.c++/*: Remove.
2222 * Makefile.in: Change gdb.c++ to gdb.cp.
2223 * configure.in: Ditto.
2224 * configure: Regnerate.
2225
c945b932
MK
22262003-08-18 Mark Kettenis <kettenis@gnu.org>
2227
2228 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1338.
2229 * gdb.arch/i386-prologue.c (gdb1338): Add function.
2230
2b66634b
DJ
22312003-08-17 Daniel Jacobowitz <drow@mvista.com>
2232
2233 * mi-var-display.exp (-var-list-children weird): Accept function
2234 pointers with argument types.
2235 * mi1-var-display.exp (-var-list-children weird): Likewise.
2236 * mi2-var-display.exp (-var-list-children weird): Likewise.
2237
a356f73b
DJ
22382003-08-17 Daniel Jacobowitz <drow@mvista.com>
2239
2240 * gdb.base/annota3.exp: Add missing newline.
2241
483417b8
MC
22422003-08-06 Michael Chastain <mec@shout.net>
2243
2244 * gdb.java/jmisc1.exp: Add test for pr gdb/1322.
2245
c99c59c3
MS
22462003-08-12 Michael Snyder <msnyder@redhat.com>
2247
2248 * gdb.base/float.exp: Add test for SH.
2249
55ed7501
MK
22502003-08-10 Mark Kettenis <kettenis@gnu.org>
2251
2252 * gdb.arch/i386-prologue.c, gdb.arch/i386-prologue.exp: New files.
2253
1a371f2e
EZ
22542003-08-07 Elena Zannoni <ezannoni@redhat.com>
2255
2256 * gdb.base/completion.exp: Remove reduntant completion test
2257 on filename.
2258
e0f353ce
EZ
22592003-08-07 Elena Zannoni <ezannoni@redhat.com>
2260
2261 * gdb.base/attach.exp, gdb.base/detach.exp, gdb.base/gcore.exp,
2262 gdb.mi/mi-basics.exp, gdb.threads/gcore-thread.exp,
2263 gdb.trace/save-trace.exp: Make sure that full pathnames are
2264 escaped correctly.
2265
5710a1af 22662003-08-07 Elena Zannoni <ezannoni@redhat.com>
d63a86f8 2267
5710a1af
EZ
2268 * configure.in: Don't generate config.h from config.hin.
2269 * configure: Regenerate.
2270 * config.hin: Remove file.
2271 * gdb.mi/pthreads.c: Remove include of config.h, and other ifdefs.
2272 * gdb.threads/pthreads.c: Ditto.
2273
dcd81ce9
DJ
22742003-08-07 Daniel Jacobowitz <drow@mvista.com>
2275
2276 From Kei Sakamoto <sakamoto.kei@renesas.com>:
2277 * gdb.asm/asm-source.exp : Add -lgloss to link-flags.
2278 * gdb.asm/m32r.inc : Remove an illegal nop after bl instruction.
2279 Replace ld24 with seth/add3.
2280
6009d884
AC
22812003-08-02 Andrew Cagney <cagney@redhat.com>
2282
2283 * gdb.base/annota3.exp: New file.
2284 * gdb.base/annota3.c: New file.
2285 * gdb.c++/annota3.exp: New file.
2286 * gdb.c++/annota3.cc: New file.
2287
51514e06
MC
22882003-07-29 Michael Chastain <mec@shout.net>
2289
2290 * gdb.threads/tls.c (spin): Check errno only if sem_wait
2291 actually failed.
2292 (do_pass): Likewise.
2293 * gdb.threads/tls.exp: Always initialize no_of_threads.
2294
4ee6625b
DJ
22952003-07-27 Daniel Jacobowitz <drow@mvista.com>
2296
2297 * gdb.threads/print-threads.exp (test_all_threads): Loosen KFAIL
2298 pattern.
2299 * gdb.threads/tls-shared.exp: Don't use gdb_suppress_entire_file.
2300 * gdb.threads/tls.exp: Recognize one case of the host library not
2301 supporting TLS.
2302
225f2bf6
AC
23032003-07-27 Andrew Cagney <cagney@redhat.com>
2304
2305 * gdb.base/fileio.exp: Use SH when running commands using
2306 remote_exec.
2307
bcb27c9f
DJ
23082003-07-24 Daniel Jacobowitz <drow@mvista.com>
2309
2310 From Kei Sakamoto <sakamoto.kei@renesas.com>:
2311 * gdb.base/relocate.c (dummy): New padding array.
2312
3d67be83
MS
23132003-07-22 Michael Snyder <msnyder@redhat.com>
2314
d63a86f8 2315 * gdb.disasm/8300s.s: Fix syntax of bsr insn.
3d67be83
MS
2316
2317 * gdb.disasm/h8300s.exp : Minor changes in disassembler output require
2318 patterns to be more general, accepting old and new output.
2319 Some output chars (such as '+') also must be quoted.
d63a86f8 2320 Some addresses are displayed numerically instead of
3d67be83
MS
2321 symbolically.
2322
57ba3b85
MS
23232003-07-23 Michael Snyder <msnyder@redhat.com>
2324
686d097c
MS
2325 * gdb.base/return2.exp: Don't test long-long return.
2326
57ba3b85
MS
2327 * gdb.disasm/t01_mov.s: New file, h8300sx disassembly tests.
2328 * gdb.disasm/t01_mov.exp: Ditto.
2329 * gdb.disasm/t02_mova.s: Ditto.
2330 * gdb.disasm/t02_mova.exp: Ditto.
2331 * gdb.disasm/t03_add.s: Ditto.
2332 * gdb.disasm/t03_add.exp: Ditto.
2333 * gdb.disasm/t04_sub.s: Ditto.
2334 * gdb.disasm/t04_sub.exp: Ditto.
2335 * gdb.disasm/t05_cmp.s: Ditto.
2336 * gdb.disasm/t05_cmp.exp: Ditto.
2337 * gdb.disasm/t06_ari2.s: Ditto.
2338 * gdb.disasm/t06_ari2.exp: Ditto.
2339 * gdb.disasm/t07_ari3.s: Ditto.
2340 * gdb.disasm/t07_ari3.exp: Ditto.
2341 * gdb.disasm/t08_or.s: Ditto.
2342 * gdb.disasm/t08_or.exp: Ditto.
2343 * gdb.disasm/t09_xor.s: Ditto.
2344 * gdb.disasm/t09_xor.exp: Ditto.
2345 * gdb.disasm/t10_and.s: Ditto.
2346 * gdb.disasm/t10_and.exp: Ditto.
2347 * gdb.disasm/t11_logs.s: Ditto.
2348 * gdb.disasm/t11_logs.exp: Ditto.
2349 * gdb.disasm/t12_bit.s: Ditto.
2350 * gdb.disasm/t12_bit.exp: Ditto.
2351 * gdb.disasm/t13_otr.s: Ditto.
2352 * gdb.disasm/t13_otr.exp: Ditto.
2353
e00759ef
EZ
23542003-07-22 Elena Zannoni <ezannoni@redhat.com>
2355
2356 * gdb.threads/tls.exp :Add kfail for 'info address' case.
2357
8bc2021f
EZ
23582003-07-22 Elena Zannoni <ezannoni@redhat.com>
2359
2360 * gdb.threads/tls.c : New file.
2361 * gdb.threads/tls.exp : New file.
2362 * gdb.threads/tls-main.c : New file.
2363 * gdb.threads/tls-shared.c : New file.
2364 * gdb.threads/tls-shared.exp : New file.
2365
89320c4c
AS
23662003-07-22 Andreas Schwab <schwab@suse.de>
2367
2368 * gdb.asm/powerpc.inc (gdbasm_startup): Force alignment.
2369
180dea7c
AS
23702003-07-20 Andreas Schwab <schwab@suse.de>
2371
2372 * gdb.base/selftest.exp (do_steps_and_nexts): Add more patterns
2373 due to insn reordering.
2374
0714963c
AC
23752003-07-15 Andrew Cagney <cagney@redhat.com>
2376
2377 * gdb.asm/asm-source.exp: Do not allow "start" in the backtrace.
2378
98a23b3f
MC
23792003-07-15 Michael Chastain <mec@shout.net>
2380
2381 * gdb.base/gdb1250.exp: New file.
2382 * gdb.base/gdb1250.c: New file.
2383
27e417a2
ML
23842003-07-09 Michal Ludvig <mludvig@suse.cz>
2385
2386 * gdb.c++/templates.exp (test_ptype_of_templates): Recognize
2387 expansion of size_t to 'unsigned long', not only to 'unsigned'.
2388
8bc2021f
EZ
23892003-07-09 Elena Zannoni <ezannoni@redhat.com>
2390
2391 * gdb.threads/tls.c: New file.
2392 * gdb.threads/tls.exp: New file.
2393 * gdb.threads/tls-main.c: New file.
2394 * gdb.threads/tls-shared.c: New file.
2395 * gdb.threads/tls-shared.exp: New file.
2396
d99968dc
EZ
23972003-07-09 Elena Zannoni <ezannoni@redhat.com>
2398
2399 * gdb.base/annota1.exp: Make sure that we properly escape the
2400 full path of the source file. Xfail more permissive patterns,
d63a86f8 2401 due to a compiler debug info problem.
d99968dc 2402
83876b3b
AS
24032003-07-07 Andreas Schwab <schwab@suse.de>
2404
2705e972
AS
2405 * gdb.asm/m68k.inc: New file.
2406 * gdb.asm/asm-source.exp: Use it for m68k-*-*.
2407
83876b3b
AS
2408 * gdb.objc/basicclass.exp ("Call an Objective-C method with no
2409 arguments"): Also match negative number.
2410
2411 * gdb.base/float.exp ("info float"): Add test for m68k-*-*.
2412
3a871b37
DJ
24132003-07-03 Daniel Jacobowitz <drow@mvista.com>
2414
2415 * gdb.base/store.c (charest): New typedef.
2416 (add_char): Rename to add_charest, update.
2417 (wack_char): Rename to wack_charest, update types. Return l + r
2418 to keep r live across the call.
2419 (wack_short, wack_int, wack_long, wack_longest, wack_float)
2420 (wack_double, wack_doublest): Return l + r to keep r live across
2421 the call.
2422 * gdb.base/store.exp: Accomodate store.c changes.
2423
b2a7f303
DC
24242003-06-30 David Carlton <carlton@kealia.com>
2425
2426 * gdb.c++/maint.exp (test_invalid_name): New.
2427 (test_first_component): Add tests for invalid names.
2428
3c6cb4a1
MC
24292003-06-29 Michael Chastain <mec@shout.net>
2430
2431 * gdb.c++/inherit.exp (test_print_svi_classes): Accept gdb
2432 output of '<VTT for class>' for virtual base classes.
2433
f1c2644b
DJ
24342003-06-29 Daniel Jacobowitz <drow@mvista.com>
2435
2436 * gdb.base/completion.exp: Tab-complete "complet" instead of
2437 "compl".
2438 * gdb.base/complex.exp, gdb.base/complex.c: New files.
2439
18080350
DJ
24402003-06-29 Daniel Jacobowitz <drow@mvista.com>
2441
2442 * gdb.base/constvars.exp: Remove most xfails for GCC 3.x.
2443 * gdb.base/volatile.exp: Likewise.
2444
f56973f8
DJ
24452003-06-29 Daniel Jacobowitz <drow@mvista.com>
2446
2447 * gdb.threads/print-threads.exp (test_all_threads): Add kfail for
2448 gdb/1265.
2449
24502003-06-28 Michael Chastain <mec@shout.net>
48fe539f
DJ
2451 Daniel Jacobowitz <drow@mvista.com>
2452
2453 * gdb.base/selftest.exp (do_steps_and_nexts): Increase maximum
2454 initial line count of 'captured_main' from 26 to 32.
2455 (test_with_self): Allow xmalloc call to be interleaved with the
2456 preceding two lines.
2457
e766d4d6
JB
24582003-06-24 Joel Brobecker <brobecker@gnat.com>
2459
2460 * gdb.base/bang.exp: New testcase.
2461
f125c9a4
JB
24622003-06-23 Joel Brobecker <brobecker@gnat.com>
2463
2464 * gdb.base/langs.exp: Add some tests for the "minimal" language
2465 support.
2466
6e25beaf
EZ
24672003-06-23 Elena Zannoni <ezannoni@redhat.com>
2468
2469 * gdb.objc/basicclass.exp: Return -1 if we cannot compile
2470 the testcase.
2471
2f816dda
DJ
24722003-06-22 Daniel Jacobowitz <drow@mvista.com>
2473
2474 * gdb.base/relocate.exp: Test add-symbol-file with a variable
2475 offset.
2476
db5a5748
DJ
24772003-06-22 Daniel Jacobowitz <drow@mvista.com>
2478
2479 * gdb.c++/pr-1210.cc: New file.
2480 * gdb.c++/pr-1210.exp: New file.
2481
1df0c130
DJ
24822003-06-21 Daniel Jacobowitz <drow@mvista.com>
2483
2484 * lib/mi-support.exp (mi_run_cmd): Expect an MI response to
2485 000-exec-continue.
2486
a92feac0
MK
24872003-06-15 Mark Kettenis <kettenis@gnu.org>
2488
2489 * gdb.base/attach.exp: Use -1 for the ID of a nonexistent process
2490 on *-*-*bsd* instead of *-*-freebsd*.
2491
81a58f5b
AC
24922003-06-14 Andrew Cagney <cagney@redhat.com>
2493
2494 * gdb.base/store.exp: Test longest and doublest. Test all
2495 parameters. Weaken return statement match.
2496 * gdb.base/store.c: Add longest and doublest - aka long long and
2497 long double functions. Put all parameters into local register
2498 variables. Use negative values.
2499
b257a0d3
AC
25002003-06-14 Andrew Cagney <cagney@redhat.com>
2501
2502 * gdb.base/fileio.c: Include <errno.h>, and <sys/wait.h>. Gag
2503 -Wformat errors. Add lost line. Use WEXITSTATUS to get system
2504 exit status.
2505 * gdb.base/fileio.exp: Disable target when nointerrupts and
2506 noinferiorio, instead of limiting it to remote. Use remote_exec
2507 instead of system.
d63a86f8 2508
21c38304
JJ
25092003-06-12 Jeff Johnston <jjohnstn@redhat.com>
2510
2511 * gdb.base/float.exp: Add ia64 support.
2512
1bcdb424
CV
25132003-06-12 Corinna Vinschen <vinschen@redhat.com>
2514
2515 * gdb.base/fileio.exp: Run only on remote targets.
2516
6aeb981f
CV
25172003-06-10 Corinna Vinschen <vinschen@redhat.com>
2518
2519 * gdb.base/fileio.c: New file, testing File-I/O.
2520 * gdb.base/fileio.exp: Ditto.
2521
53df362e
RG
25222003-06-09 Raoul Gough <RaoulGough@yahoo.co.uk>
2523
2524 * gdb.base/shreloc.exp: New file, check symbol values obtained from
2525 shared objects after relocation at load time (gdb PR/1132).
2526 * gdb.base/shreloc.c, gdb.base/shreloc1.c, gdb.base/shreloc2.c:
2527 as above, part of the shared object relocation test.
2528
ffee1b46
MK
25292003-06-08 Mark Kettenis <kettenis@gnu.org>
2530
b5ca3722
MK
2531 * gdb.base/readline.exp: Add tests for operate-and-get-next with a
2532 fully filled history list.
2533 * gdb.base/gdb_history: New file.
2534
03ed860d
MK
2535 * gdb.base/signals.exp: XFAIL "continue to func1" on
2536 i*86-*-freebsd*.
2537
ffee1b46
MK
2538 * gdb.base/attach.exp: When trying to attach to a nonexistent
2539 process, make it possible to specify the PID based on the target,
2540 and do so for *-*-freebsd*.
2541
d80dbb52
RH
25422003-06-02 Richard Henderson <rth@redhat.com>
2543
2544 * gdb.base/float.exp: Add expected regexp for alpha-*-*.
2545
6dd77b81
RH
25462003-06-02 Richard Henderson <rth@redhat.com>
2547
2548 * gdb.base/selftest.exp: Next over lim_at_start initialization.
2549
f6347e16
RH
25502003-06-02 Richard Henderson <rth@redhat.com>
2551
2552 * gdb.base/dump.exp [alpha*-*-*]: Add -taso linker switch.
2553
2c161407
DJ
25542003-06-01 Daniel Jacobowitz <drow@mvista.com>
2555
2556 * gdb.asm/asm-source.exp: Dissassemble from &globalvar instead
2557 of globalvar.
2558
572eb746
MK
25592003-06-01 Mark Kettenis <kettenis@gnu.org>
2560
2561 * gdb.asm/asm-source.exp: Check for memory read errors in
2562 disassembler test on *BSD too.
2563
9e9617a5
RH
25642003-06-01 Richard Henderson <rth@redhat.com>
2565
2566 * gdb.asm/alpha.inc (gdbasm_enter): Use numeric register names
2567 for .frame.
2568 (gdbasm_call): Lose ldgp.
2569 (gdbasm_startup): Add frame information.
2570 * gdb.asm/asm-source.exp (alpha*-*): Add -no-mdebug to asm-flags.
2571
7b34ad4e
MK
25722003-05-31 Mark Kettenis <kettenis@gnu.org>
2573
2574 * gdb.base/float.exp: Expect similar output for x86_64-*-* as for
2575 i?86-*-*.
2576
10059fdf
MK
25772003-05-30 Mark Kettenis <kettenis@gnu.org>
2578
2579 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
2580 FreeBSD.
2581
acf4b816
RH
25822003-05-29 Richard Henderson <rth@redhat.com>
2583
2584 * gdb.asm/alpha.inc: New file.
2585 * gdb.asm/asm-source.exp: Use it.
2586
e9ecd949
JB
25872003-05-29 Jim Blandy <jimb@redhat.com>
2588
2589 * gdb.base/corefile.exp: Find corefiles on Linux, which names them
2590 'core.PID'.
2591
e3e5a4f3
JB
25922003-05-22 Jim Blandy <jimb@redhat.com>
2593
2594 * gdb.base/corefile.exp: Tolerate stuff after argument parens in
2595 backtrace.
d63a86f8 2596
72fe3d25
DC
25972003-05-20 David Carlton <carlton@math.stanford.edu>
2598
2599 * gdb.c++/namespace1.cc: Actually do 'cvs add' before committing
2600 this time.
2601
58da2eb2
DC
26022003-05-19 David Carlton <carlton@bactrian.org>
2603
2604 * gdb.c++/rtti.exp: New file, containing tests for PR c++/488.
2605 * gdb.c++/rtti.h, gdb.c++/rtti1.cc, gdb.c++/rtti2.cc: Ditto.
2606
1fcb5155
DC
26072003-05-19 David Carlton <carlton@bactrian.org>
2608
2609 * gdb.c++/namespace.exp: Add namespace scope and anonymous
2610 namespace tests.
2611 Bump copyright date.
2612 * gdb.c++/namespace.cc: Add anonymous namespace and namespace C.
2613 (main): Call C::D::marker2.
2614 * gdb.c++/namespace1.cc: New file.
2615
85e85163
JJ
26162003-05-14 Jeff Johnston <jjohnstn@redhat.com>
2617
2618 Roland McGrath <roland@redhat.com>
d63a86f8 2619 * gdb.threads/linux-dp.exp: Account for fact that in nptl model
85e85163
JJ
2620 there is no manager thread.
2621
a25fbfec
JJ
26222003-05-08 Jeff Johnston <jjohnstn@redhat.com>
2623
d63a86f8
RM
2624 * gdb.threads/schedlock.exp: Remove assumption that all threads
2625 will run in a particular small time slice. Also ensure we break
a25fbfec
JJ
2626 in one of the child threads rather than the main thread.
2627
be375bae
JB
26282003-05-07 Jim Blandy <jimb@redhat.com>
2629
09bf6082
JB
2630 Add support for assembly source testing on the s390x.
2631 * gdb.asm/asm-source.exp: Add a case for the s390x-*-*
2632 architecture.
2633 * gdb.asm/s390x.inc: New file.
2634
be375bae
JB
2635 * gdb.asm/asm-source.exp: Use a 'switch -glob' statement, not a
2636 succession of 'if' statements.
2637
00905d52
AC
26382003-05-05 Andrew Cagney <cagney@redhat.com>
2639
2640 * gdb.base/maint.exp: Add tests for "maint print dummy-frames".
2641
b1e29e33
AC
26422003-05-05 Andrew Cagney <cagney@redhat.com>
2643
2644 * gdb.base/watchpoint.exp: Rename CALL_DUMMY_BREAKPOINT_OFFSET to
2645 DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET in comments.
2646
e33d66ec
EZ
26472003-05-02 Elena Zannoni <ezannoni@redhat.com>
2648
2649 * gdb.base/charset.exp: Update based on new behavior of set/show
2650 charset commands.
2651
2b6fd0d8
AC
26522003-05-01 Andrew Cagney <cagney@redhat.com>
2653
2654 * gdb.asm/asm-source.exp: Check that "disassm" and "x/i" of a
2655 variable do not give memory errors.
2656
130cacce
AF
26572003-04-30 Adam Fedor <fedor@gnu.org>
2658
2659 * Makefile.in (ALL_SUBDIRS): Add gdb.objc
2660 * configure.in (AC_OUTPUT): Add gdb.objc/Makefile
2661 * gdb.objc/Makefile.in, gdb.objc/basicclass.exp,
2662 gdb.objc/basicclass.m: : New files
2663
2664 * lib/gdb.exp (gdb_compile_objc): New procedure.
2665
bea71854
DJ
26662003-04-27 Daniel Jacobowitz <drow@mvista.com>
2667
2668 * gdb.base/signals.exp: Make backtrace tests more specific.
2669
0f20eeea
DC
26702003-04-23 David Carlton <carlton@bactrian.org>
2671
2672 * gdb.c++/maint.exp (test_first_component): Add tests for
2673 'operator' in more locations.
2674
c8c4d8dc
KB
26752003-04-16 Kevin Buettner <kevinb@redhat.com>
2676
2677 * gdb.base/args.exp: Invoke gdb_load for simulator targets.
2678
3fe60e3c
EZ
26792003-04-16 Elena Zannoni <ezannoni@redhat.com>
2680
2681 * gdb.base/completion.exp: Make 'info func mark' complete on 'info
2682 func marke' instead. Update test name.
2683
9219021c
DC
26842003-04-15 David Carlton <carlton@math.stanford.edu>
2685
2686 * gdb.c++/maint.exp: New file.
2687
5dd55bdd
EZ
26882003-04-14 Elena Zannoni <ezannoni@redhat.com>
2689
2690 * gdb.threads/schedlock.c: Change type of thread function argument
2691 to long, to avoid warnings on 64-bit platforms.
2692
00890572
EZ
26932003-04-14 Elena Zannoni <ezannoni@redhat.com>
2694
2695 * gdb.base/attach.exp: Add new message from ptrace in case of
2696 attaching to nonexistent process.
d63a86f8 2697
93201743
JB
26982003-04-11 Jim Blandy <jimb@redhat.com>
2699
2700 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
2701 gdb.c++/userdef.cc: Place comments on the lines to which the
2702 marker function might return.
2703 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
2704 gdb.c++/userdef.exp: Look for those comments to check that we've
2705 returned to the right place, instead of checking line numbers.
2706
2a11c64d
EZ
27072003-04-11 Elena Zannoni <ezannoni@redhat.com>
2708
2709 * gdb.threads/pthreads.exp (test_startup): When setting a breakpoint
2710 match on sourcefile name, instead of directory name.
2711
68ab8fc5
EZ
27122003-04-10 Elena Zannoni <ezannoni@redhat.com>
2713
d63a86f8 2714 * gdb.base/completion.exp: Use string_to_regexp to match the
68ab8fc5
EZ
2715 working directory name.
2716
5624293a
JB
27172003-04-09 Jim Blandy <jimb@redhat.com>
2718
2719 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
2720 gdb.c++/userdef.exp: If GDB fails to restore the selected frame
2721 after an inferior function call, report the failure, but allow the
2722 test to continue.
2723
f1f02ee4
SC
27242003-04-05 Stephane Carrez <stcarrez@nerim.fr>
2725
2726 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
2727 with -DPROTOTYPES.
2728
6eb79af0
SC
27292003-04-05 Stephane Carrez <stcarrez@nerim.fr>
2730
2731 * gdb.base/break.exp: Revert last patch.
2732
8dfb4cf0
SC
27332003-04-04 Stephane Carrez <stcarrez@nerim.fr>
2734
2735 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
2736 with -DPROTOTYPES.
2737
ed4c619a
AC
27382003-04-02 Andrew Cagney <cagney@redhat.com>
2739
2740 * gdb.base/callfuncs.exp: Make "print add" messages unique.
2741 * gdb.base/ending-run.exp: Put spaces around "breakpoint" to stop
2742 matching directories by the name breakpoint.
2743 * gdb.base/pointers.exp: Make "ptype pppC" message consistent.
2744 Make "continue to marker1" consistent.
2745 * gdb.base/call-rt-st.exp: Make "finish out from loop_count"
2746 message consistent.
2747 * lib/gdb.exp: Put "the program is no longer running", and "the
2748 program exited" in parenthesis.
2749 * lib/mi-support.exp: Ditto.
d63a86f8 2750
4e35d5f0 27512003-04-02 Bob Rossi <bob_rossi@cox.net>
d63a86f8 2752
4e35d5f0
BR
2753 * gdb.mi/mi-file.exp: New file for -file-list-exec-source-file.
2754
71900fe8
AC
27552003-03-29 Andrew Cagney <cagney@redhat.com>
2756
2757 * gdb.base/sizeof.c (main): Print the value of '\377'.
2758 * gdb.base/sizeof.exp: Check the sign of '\377'.
2759
c0655a16
MC
27602003-03-27 Michael Chastain <mec@shout.net>
2761
2762 * gdb.base/gdb1090.exp: New file.
2763 * gdb.base/gdb1090.cc: New file.
2764
5b2a3989
JB
27652003-03-27 J. Brobecker <brobecker@gnat.com>
2766
2767 * gdb.gdb/observer.exp: New regression test.
2768
79876890
MC
27692003-03-27 Michael Chastain <mec@shout.net>
2770
2771 * gdb.base/list.exp: Remove setup_xfail_format for DWARF 1.
2772 * gdb.base/ptype.exp: Likewise.
2773
6eac95e3
CV
27742003-03-27 Corinna Vinschen <vinschen@redhat.com>
2775
2776 * gdb.c++/casts.exp: Fix startup to run also on embedded targets.
2777
e8c71839
MC
27782003-03-26 Michael Chastain <mec@shout.net>
2779
2780 * gdb.base/ptype.exp: Actually use some typedef'd types.
2781
71b10041
SC
27822003-03-21 Stephane Carrez <stcarrez@nerim.fr>
2783
2784 * gdb.asm/asm-source.exp: Set asm-arch for m6811 and m6812.
2785 * gdb.asm/m68hc11.inc: New file for HC11/HC12 macros.
2786
2512cf80
CV
27872003-03-20 Corinna Vinschen <vinschen@redhat.com>
2788
2789 * gdb.base/default.exp: Fix regular expression.
2790
0d195a4f
CV
27912003-03-20 Corinna Vinschen <vinschen@redhat.com>
2792
2793 * gdb.base/args.exp: Fix regular expression.
2794
8a2dbca8
CV
27952003-03-20 Corinna Vinschen <vinschen@redhat.com>
2796
2797 * gdb.base/help.exp: Allow Win32 child process.
2798
bf028682
CV
27992003-03-20 Corinna Vinschen <vinschen@redhat.com>
2800
2801 * gdb.base/ending-run.exp: Check for Cygwin specific wrapper function
2802 when stepping out of main().
2803
182dbe85
CV
28042003-03-20 Corinna Vinschen <vinschen@redhat.com>
2805
2806 * gdb.base/default.exp: Check for win32 specific message when calling
2807 "run" without executable.
2808
d67a6ba5
CV
28092003-03-20 Corinna Vinschen <vinschen@redhat.com>
2810
2811 * gdb.base/args.exp: Expect .exe in output.
2812
a955b5bb
CV
28132003-03-20 Corinna Vinschen <vinschen@redhat.com>
2814
2815 * gdb.asm/asm-source.exp: Add appropriate --entry linker flag for
2816 Cygwin native.
2817
bf6bad4b
AC
28182003-03-17 Andrew Cagney <cagney@redhat.com>
2819
2820 From Elena Zannoni <ezannoni@redhat.com>. Test e500 abi and
2821 vector registes.
2822 * gdb.arch/e500-regs.c, gdb.arch/e500-regs.exp: New files.
2823 * gdb.arch/e500-abi.c, gdb.arch/e500-abi.exp: New files.
2824
293e9a31
DC
28252003-03-17 David Carlton <carlton@math.stanford.edu>
2826
2827 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): New
2828 test, for PR breakpoints/38.
2829 Call test_watchpoint_and_breakpoint.
2830 * gdb.base/watchpoint.c (func3): New function.
2831 (main): Call func3.
2832
5330f2db
DC
28332003-03-04 David Carlton <carlton@math.stanford.edu>
2834
2835 * gdb.c++/templates.exp (do_tests): Accept valid const in "print
2836 Garply<Garply<char> >:: garply".
2837 (test_ptype_of_templates): KFAIL "ptype T5<int>" and "ptype t5i"
2838 with respect to PR c++/1111; note also PR c++/1113.
2839 (test_template_breakpoints): KFAIL "constructor breakpoint" with
2840 respect to PR c++/1062.
2841 KFAIL "destructor breakpoint" with respect to PR c++/1112.
2842
6ece72da
DC
28432003-03-03 David Carlton <carlton@math.stanford.edu>
2844
2845 * gdb.c++/classes.exp (test_enums): KFAIL "ptype obj_with_enum"
2846 with respect to PR c++/57.
2847 KFAIL "print (ClassWithEnum::PrivEnum) 42" with respect to PR
2848 c++/826.
2849 Create "print ('ClassWithEnum::PrivEnum') 42"; KFAIL it with
2850 respect to PR c++/57.
2851
85ca1584
DC
28522003-03-03 David Carlton <carlton@math.stanford.edu>
2853
2854 * gdb.c++/templates.exp (do_tests): Convert the KFAILs with
2855 respect to PR c++/33 into FAILs.
2856
98e9c5b8
MC
28572003-03-03 Michael Chastain <mec@shout.net>
2858
7bedbf27
MC
2859 * configure.in: Update copyright years.
2860
28612003-03-03 Michael Chastain <mec@shout.net>
2862
2863 * Makefile.in: Update copyright years.
98e9c5b8 2864
f683e100
DC
28652003-02-28 David Carlton <carlton@math.stanford.edu>
2866
2867 * gdb.c++/classes.exp (test_ptype_class_objects): Accept it if we
2868 print class instead of struct and/or superfluous protection
2869 specifiers, as long as the resulting output is equivalent to the
2870 source code.
2871 Delete FIXME from end of messages on tests that don't need
2872 fixing.
2873
a9e0cf2c
DC
28742003-02-28 David Carlton <carlton@math.stanford.edu>
2875
2876 * gdb.c++/templates.exp (do_tests): Allow const in the two
2877 Foo<volatile char *>::foo tests.
2878
e8d359df
MS
28792003-02-27 Michael Snyder <msnyder@redhat.com>
2880
d63a86f8 2881 * gdb.base/restore.c (main): Return zero, so exit code
e8d359df
MS
2882 will be consistant.
2883
0b71dc91
DC
28842003-02-26 David Carlton <carlton@math.stanford.edu>
2885
2886 * gdb.c++/templates.exp (do_tests): KFAIL the "print Foo<volatile
2887 char *>::foo" test with respect to PR c++/33. Create a new test
2888 which is identical to that one except that it doesn't put the
2889 space between the "char" and the "*"; KFAIL it, too.
2890
dd14ab43
DC
28912003-02-26 David Carlton <carlton@math.stanford.edu>
2892
2893 * gdb.c++/templates.exp (do_tests): Convert XFAILs about printing
2894 template types into either PASSes or KFAILs (corresponding to PR
2895 c++/57). Tweak indentation. Update copyright.
2896
1146c7f1
SC
28972003-02-23 Stephane Carrez <stcarrez@nerim.fr>
2898
2899 * lib/gdb.exp: Don't execute C++ tests on m6811/m6812 targets.
2900
74641dfb
MC
29012003-02-13 Michael Chastain <mec@shout.net>
2902
2903 * gdb.base/exprs.exp: Remove i960 remnants.
2904 * gdb.base/funcargs.exp: Likewise.
2905 * gdb.base/list.exp: Likewise.
2906 * gdb.base/ptype.exp: Likewise.
2907
559cd2d0
DC
29082003-02-14 David Carlton <carlton@math.stanford.edu>
2909
2910 * gdb.c++/virtfunc.exp (test_virtual_calls): Change 'print
2911 pEe->D::vg()" from XFAIL to KFAIL.
2912
c4f90d87
JM
29132003-02-13 Jason Molenda (jmolenda@apple.com)
2914
2915 * gdb.base/maint.exp: Update maint print statistics regexp to include
2916 new entries.
2917
cbc4d97c
MC
29182003-02-13 Michael Chastain <mec@shout.net>
2919
2920 * gdb.c++/inherit.exp: Remove call to get_debug_format.
2921
40f235b7
MC
29222003-02-12 Michael Chastain <mec@shout.net>
2923
2924 * gdb.c++/classes.exp: Remove setup_xfail_format for DWARF 1.
2925 * gdb.c++/inherit.exp: Likewise.
2926 * gdb.c++/cplusfuncs.exp: Remove suppression logic for DWARF 1.
2927 * gdb.c++/templates.exp: Likewise.
2928 * gdb.c++/virtfunc.exp: Likewise.
2929
c56716b0
JM
29302003-02-06 Jason Molenda (jason-cl@molenda.com)
2931
2932 * gdb.mi/mi-syn-frame.c (subroutine): Add a comment explaining
2933 why the code is written that way.
2934
070afcf8
MC
29352003-02-05 Michael Chastain <mec@shout.net>
2936
2937 * gdb.base/dump.exp: Add missing copyright line.
2938
5d0331e5
JM
29392003-02-05 Jason Molenda (jason-cl@molenda.com)
2940
f7ae6d3e 2941 * gdb.mi/mi-syn-frame.c (subroutine): Add an extra statement
5d0331e5
JM
2942 at the beginning so the breakpoint doesn't get set on the loop.
2943
92851186
MC
29442003-02-05 Michael Chastain <mec@shout.net>
2945
2946 * gdb.c++/local.exp: Relax the test for PR gdb/825 to accept
2947 output for configurations with gcc 2.95.3.
2948
cbf1e085
AC
29492003-02-05 Keith Seitz <keiths@redhat.com>
2950 Andrew Cagney <ac131313@redhat.com>
2951
2952 * gdb.mi/mi-cli.exp: New file.
d63a86f8 2953
29518e1e
MC
29542003-02-04 Michael Chastain <mec@shout.net>
2955
2956 * gdb.c++/anon-union.exp: Do not call gdb_suppress_entire_file.
2957 Call perror and then continue.
2958
5af1d5f3
MC
29592003-02-03 Michael Chastain <mec@shout.net>
2960
2961 * gdb.c++/pr-1023.cc: New file.
2962 * gdb.c++/pr-1023.exp: New file.
2963
6b549786
JB
29642003-02-05 Jim Blandy <jimb@redhat.com>
2965
2966 * gdb.c++/local.exp: Don't expect Local to be in scope in main;
2967 it's local to foobar. Check for it there, and check that it's not
2968 present in main.
2969 * gdb.c++/local.cc (marker2): New function.
2970 (foobar): Call marker1.
2971 (main): Call marker2 instead of marker1.
2972
67f16606
AC
29732003-02-04 Andrew Cagney <ac131313@redhat.com>
2974
2975 * gdb.disasm/mn10200.exp: Obsolete file.
2976 * gdb.trace/Makefile.in (clean mostlyclean): Remove mn10200.
2977 * gdb.disasm/Makefile.in (clean mostlyclean): Remove mn10200.
2978 * gdb.base/watchpoint.exp: Mark the mn10200 xfails as obsolete.
2979
1c5cb38e
DC
29802003-02-04 David Carlton <carlton@math.stanford.edu>
2981
2982 * gdb.c++/overload.exp: Test intToChar(1).
2983 * gdb.c++/overload.cc (intToChar): New.
2984 (main): Call intToChar.
2985
d1fe6965
DC
29862003-02-03 David Carlton <carlton@math.stanford.edu>
2987
2988 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): Add
2989 'might_kfail' arg.
2990 KFAIL some of the continue_to_bp_overloaded calls, according to
2991 PR c++/1025.
2992
9ba61c5d
MC
29932003-02-01 Michael Chastain <mec@shout.net>
2994
2995 * gdb.base/advance.c (marker1): New marker function.
2996 * gdb.base/advance.exp: When the 'advance' command lands on the
2997 return breakpoint, it can legitimately stop on either the
2998 current line or the next line. Accommodate both outcomes.
2999 * gdb.base/until.exp: Likewise.
3000
e7494ffb
AC
30012003-02-02 Andrew Cagney <ac131313@redhat.com>
3002
3003 2002-11-10 Jason Molenda (jason-cl@molenda.com):
3004 * gdb.mi/mi-var-child.exp: -var-list-children's CHILDREN field is
3005 now a list, not a tuple.
3006 * gdb.mi/mi-var-display.exp: Ditto.
3007 * gdb.mi/gdb792.exp: Ditto.
3008
075559bc
AC
30092003-02-01 Andrew Cagney <ac131313@redhat.com>
3010
3011 From 2002-11-09 Jason Molenda (jason-cl@molenda.com):
3012 * gdb.mi/mi-syn-frame.exp: New tests for synthetic frames in
3013 stack backtraces.
3014 * gdb.mi/mi-syn-frame.c: Part of same.
3015
2bd4c7b1
MK
30162003-02-01 Mark Kettenis <kettenis@gnu.org>
3017
3018 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
3019 gdb.mi/mi1-pthreads.exp: Return instead of calling
3020 gdb_suppress_entire_file.
3021
eabd8992
MS
30222003-02-01 Mark Salter <msalter@redhat.com>
3023
3024 * gdb.asm/arm.inc (gdbasm_startup): Clear frame pointer, not sp.
3025
71469e2f
MS
30262003-01-31 Mark Salter <msalter@redhat.com>
3027
3028 * lib/mi-support.exp (mi_gdb_load): Support remote targets.
3029 Support empty arg.
3030
38a94d44
MC
30312003-01-30 Michael Chastain <mec@shout.net>
3032
3033 * lib/gdb.exp: Revert patch of 2003-01-06, which set LC_ALL.
3034 This was a workaround for a UTF-8 bug in readline 4.3. The bug
3035 has been fixed in gdb/readline on 2003-01-09.
3036
19ea9e73
MS
30372003-01-29 Michael Snyder <msnyder@redhat.com>
3038
e8d359df
MS
3039 * gdb.base/maint.exp: Allow for leading underscore in symbol.
3040 * gdb.base/display.exp: Allow for leading underscore in symbol.
19ea9e73
MS
3041 * gdb.base/args.exp: Skip if target does not support args passing.
3042
2307bd6a
DJ
30432003-01-22 Daniel Jacobowitz <drow@mvista.com>
3044
19ea9e73 3045 * lib/gdb.exp (gdb_test_multiple): New function, cloned from
2307bd6a
DJ
3046 gdb_test. Accept a list of expect arguments as the third
3047 parameter.
3048 (gdb_test): Use it.
3049
f2dd3617
EZ
30502003-01-20 Elena Zannoni <ezannoni@redhat.com>
3051
3052 * gdb.arch/altivec-abi.exp: Set variable 'srcfile' differently, to
3053 allow for different test tree configurations. Update some
3054 tescases accordingly.
3055 * gdb.arch/altivec-regs.exp: Ditto.
3056 * gdb.asm/asm-source.exp: Ditto.
3057 * gdb.base/advance.exp: Ditto.
3058 * gdb.base/display.exp: Ditto.
d63a86f8 3059 * gdb.base/long_long.exp: Ditto.
f2dd3617
EZ
3060 * gdb.base/mips_pro.exp: Ditto.
3061 * gdb.base/overlays.exp: Ditto.
3062 * gdb.base/relocate.exp: Ditto.
3063 * gdb.base/setshow.exp: Ditto.
3064 * gdb.base/step-line.exp: Ditto.
3065 * gdb.base/step-test.exp: Ditto.
3066 * gdb.base/until.exp: Ditto.
3067 * gdb.c++/virtfunc.exp: Get rid of variable 'src'.
3068
c71cdefd
DC
30692003-01-17 David Carlton <carlton@math.stanford.edu>
3070
3071 * gdb.c++/demangle.exp (test_lucid_style_demangling): KFAIL test
3072 corresponding to PR c++/945.
3073 Update copyright.
3074
fdba05d7
DC
30752003-01-17 David Carlton <carlton@math.stanford.edu>
3076
3077 * gdb.c++/inherit.exp (test_print_mi_members): KFAIL tests
3078 corresponding to PR c++/68.
3079
30802003-01-17 David Carlton <carlton@math.stanford.edu>
d2b29e01
DC
3081
3082 * gdb.c++/cplusfuncs.exp (print_addr_2_kfail): New procedure.
3083 (test_paddr_hairy_functions): Call print_addr_2_kfail for
3084 hairyfunc5 through hairyfunc7. KFAIL for PR c++/19.
3085
c362c33a
EZ
30862003-01-15 Elena Zannoni <ezannoni@redhat.com>
3087
0fbc361c
EZ
3088 * gdb.base/break.exp: Fix change of default location, because of
3089 removal of until tests.
3090 * gdb.base/help.exp: Update test for new 'until' help message.
3091 Add test for help on 'advance'.
c362c33a
EZ
3092 * gdb.base/args.exp: Fix foobar with GDBFLAGS global.
3093
dabf8a35
MK
30942003-01-15 Mark Kettenis <kettenis@gnu.org>
3095
3096 * gdb.base/default.exp: Adapt "info float" test for recent changes
3097 to that command. Add test for "info vector".
3098 * gdb.base/float.exp: New file. Add test for "info float" that
3099 resembles the old test in gdb.base/default.exp.
3100
a1769aca
DC
31012003-01-15 David Carlton <carlton@math.stanford.edu>
3102
3103 * gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot.
3104
82025e13
EZ
31052003-01-15 Elena Zannoni <ezannoni@redhat.com>
3106
3107 * gdb.base/break.exp: Move the tests of until command from here...
3108 * gdb.base/until.exp: ... to here. New file. Add other tests.
3109 * gdb.base/advance.c: New file.
3110 * gdb.base/advance.exp: New file.
3111
8f9ab801
EZ
31122003-01-14 Elena Zannoni <ezannoni@redhat.com>
3113
3114 * gdb.base/args.c: New file.
3115 * gdb.base/args.exp: New file.
3116
9ae66589
DJ
31172003-01-14 Daniel Jacobowitz <drow@mvista.com>
3118
3119 * gdb.c++/virtfunc.exp: Remove fixed XFAIL.
3120
8d77e5c3
DJ
31212003-01-14 Daniel Jacobowitz <drow@mvista.com>
3122
3123 * gdb.threads/killed.exp: Use KFAIL for gdb/568.
3124
12d2f0a1
DJ
31252003-01-14 Daniel Jacobowitz <drow@mvista.com>
3126
3127 * gdb.base/constvars.exp: Remove two extra XFAILs. Update copyright
3128 dates.
3129
6ca37014
DJ
31302003-01-13 Daniel Jacobowitz <drow@mvista.com>
3131
3132 * gdb.c++/printmethod.exp (print virtual method): Accept "(void)".
3133
b0023472
DJ
31342003-01-13 Daniel Jacobowitz <drow@mvista.com>
3135
3136 * gdb.base/printcmds.exp: Enable setup_kfail for gdb/538
3137 (ptype &*"foo").
3138 * gdb.c++/local.exp: Enable setup_kfail for gdb/482.
3139
d6abaea5
DJ
31402002-01-13 Daniel Jacobowitz <drow@mvista.com>
3141
3142 * gdb.mi/mi-console.exp: Remove extra "(known bug)".
3143 * gdb.mi/mi1-console.exp: Likewise.
3144
dfd536a7
DJ
31452002-01-13 Daniel Jacobowitz <drow@mvista.com>
3146
3147 * gdb.mi/mi-console.exp: Add KFAIL for "Hello message (known bug)".
3148 * gdb.mi/mi1-console.exp: Likewise.
3149
a1fb14a2
DJ
31502003-01-13 Daniel Jacobowitz <drow@mvista.com>
3151
3152 * gdb.c++/overload.exp: Remove some fixed XFAILs.
3153
c4cf40b7
DJ
31542003-01-09 Daniel Jacobowitz <drow@mvista.com>
3155
3156 * gdb.base/detach.exp: New test.
3157
696d5a5b
DJ
31582003-01-09 Daniel Jacobowitz <drow@mvista.com>
3159
3160 * Makefile.in (ALL_SUBDIRS): New variable.
3161 (subdirs, clean, distclean): Use it.
3162 * gdb.arch/Makefile.in: Clean up Makefile. Remove rules for
3163 regenerating Makefile, since it is generated from the top level.
3164 * gdb.asm/Makefile.in: Likewise.
3165 * gdb.base/Makefile.in: Likewise.
3166 * gdb.c++/Makefile.in: Likewise.
3167 * gdb.disasm/Makefile.in: Likewise.
3168 * gdb.java/Makefile.in: Likewise.
3169 * gdb.mi/Makefile.in: Likewise.
3170 * gdb.threads/Makefile.in: Likewise.
3171 * gdb.trace/Makefile.in: Likewise.
3172
754533e4
DC
31732003-01-09 David Carlton <carlton@math.stanford.edu>
3174
3175 * gdb.c++/annota2.exp: KFAIL "watch triggered on a.x".
3176 Add copyright year 2003.
3177
d8b3e9ee
MC
31782003-01-06 Michael Chastain <mec@shout.net>
3179
3180 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set):
3181 When selecting a thread, 'line' and 'file' are optional.
3182 * gdb.mi/mi1-pthreads.exp: Likewise.
3183
8e9e0fe6
AS
31842003-01-06 Andreas Schwab <schwab@suse.de>
3185
3186 * lib/gdb.exp: Set LC_ALL to "C" to avoid spurious testsuite
3187 failures.
3188
b5ab8ff3
DJ
31892003-01-04 Daniel Jacobowitz <drow@mvista.com>
3190
3191 Fix PR gdb/844
3192 * lib/gdb.exp (gdb_compile): Handle "quiet" option.
3193 (gdb_compile_pthreads): Pass "quiet" to gdb_compile.
3194
3195 * gdb.threads/gcore-thread.exp: Use gdb_compile_pthreads. Return
3196 instead of calling gdb_suppress_entire_file.
3197 * gdb.threads/print-threads.exp: Likewise.
3198 * gdb.threads/schedlock.exp: Likewise.
3199
3200 * gdb.threads/killed.exp: Return instead of calling
3201 gdb_suppress_entire_file.
3202 * gdb.threads/linux-dp.exp: Likewise.
3203 * gdb.threads/pthreads.exp: Likewise.
3204
1e698235
DJ
32052003-01-04 Daniel Jacobowitz <drow@mvista.com>
3206
3207 * gdb.base/callfuncs.exp: Don't XFAIL unprototyped functions for
3208 stabs.
3209 * gdb.base/completion.exp: Allow marker1(void) as well as marker1().
3210 * gdb.base/whatis.exp: Always allow (void) after function names.
3211
147ff08c
DJ
32122003-01-04 Daniel Jacobowitz <drow@mvista.com>
3213
3214 * gdb.c++/casts.exp: Correct regexp.
3215
dc62bfc2
MK
32162003-01-04 Mark Kettenis <kettenis@gnu.org>
3217
3218 * configure.in: Call AC_CONFIG_HEADER. Don't call
3219 AC_CONFIG_SUBDIRS on gdb.arch, gdb.asm, gdb.base gdb.c++ gdb.java,
3220 gdb.disasm, gdb.mi, gdb.threads and gdb.trace. Call
3221 AC_CHECK_HEADERS on pthread.h. Put Makefiles in the
3222 aforementioned directories in the AC_OUPUT call.
3223 * config.hin: New file.
3224 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
3225 gdb.mi/mi1-pthreads.exp, gdb.threads/gcore-thread.exp,
3226 gdb.threads/killed.exp, gdb.threads/print-threads.exp,
3227 gdb.threads/pthreads.exp, gdb.threads/schedlock.exp: Make sure we
3228 pass -I$objdir instead of -I$objdir/$subdir in compilation.
3229 * gdb.arch/configure.in, gdb.arch/configure, gdb.asm/configure.in,
3230 gdb.asm/configure, gdb.base/configure.in, gdb.base/configure,
3231 gdb.c++/configure.in, gdb.c++/configure, gdb.disasm/configure.in,
3232 gdb.disasm/configure, gdb.java/configure.in, gdb.java/configure,
3233 gdb.mi/configure.in, gdb.mi/configure, gdb.mi/config.in,
3234 gdb.threads/configure.in, gdb.threads/configure,
3235 gdb.threads/config.in, gdb.trace/configure.in,
3236 gdb.trace/configure: Removed.
3237
77afa639
MC
32382003-01-03 Michael Chastain <mec@shout.net>
3239
3240 * gdb.base/miscexprs.c: Fix PR gdb/697, "buglet in
3241 testsuite/gdb.base/miscexprs.c, off-by-1 array reference".
3242
7634bb6e
DJ
32432003-01-03 Daniel Jacobowitz <drow@mvista.com>
3244
3245 * gdb.base/store.exp: Fix regular expressions.
3246
b39c905e
MK
32472002-12-28 Mark Kettenis <kettenis@gnu.org>
3248
3249 * configure.in: Rewrite.
3250 * configure: Regenerated.
3251
0a8551dd
DC
32522003-01-03 David Carlton <carlton@math.stanford.edu>
3253
3254 * gdb.base/psymtab.exp: New file.
3255 * gdb.base/psymtab1.c: Ditto.
3256 * gdb.base/psymtab2.c: Ditto.
3257
c60b7188
AF
32582002-12-23 Adam Fedor <fedor@gnu.org>
3259
3260 * gdb.base/maint.exp: Update expect output to include 'ObjC'.
3261
ee73db83
DC
32622002-12-23 David Carlton <carlton@math.stanford.edu>
3263
3264 * gdb.base/selftest.exp (do_steps_and_nexts): Allow initial brace
3265 and current_directory initialization.
3266
d6c1774e
JB
32672002-12-22 Jim Blandy <jimb@redhat.com>
3268
f0a847b8
JB
3269 * gdb.trace/tfind.exp: Pass '-O1' flag via the 'optimize' option,
3270 rather than as part of the output file name.
3271
d6c1774e
JB
3272 * gdb.base/attach.exp: There's no need to copy the test program to
3273 /tmp; that was only ever necessary on HP/UX, and this test is
3274 entirely disabled there anyway.
3275
f0708dbb
JB
32762002-12-21 Jim Blandy <jimb@redhat.com>
3277
4c2acfea
JB
3278 * gdb.c++/psmang.exp: Doc fix.
3279
f0708dbb
JB
3280 * gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: New
3281 test.
3282
9579e000
DC
32832002-12-20 David Carlton <carlton@math.stanford.edu>
3284
3285 * gdb.c++/annota2.exp: KFAIL annotate-quit.
3286
d1810171
MC
32872002-12-18 Michael Chastain <mec@shout.net>
3288
3289 * gdb.c++/annota2.exp: Add copyright year 2002.
3290
76565097
DC
32912002-12-17 David Carlton <carlton@math.stanford.edu>
3292
3293 * gdb.c++/try_catch.cc: Add marker comments.
3294 * gdb.c++/try_catch.exp: Get line numbers from marker comments.
3295 * gdb.c++/m-data.cc: Delete namespace __gnu_test.
3296 * gdb.c++/m-static.cc: Ditto.
3297 * gdb.c++/m-static1.cc: Ditto.
3298 * gdb.c++/try_catch.cc: Ditto.
3299
da81390b
JJ
33002002-12-16 Jeff Johnston <jjohnstn@redhat.com>
3301
3302 * lib/mi-support.exp (mi_reinitialize_dir): Check mi level
3303 to see whether we are using the new -environment-directory
3304 command which resets via -r or the old version of the command
3305 which may prompt the user. Part of fix for gdb/741.
3306
b304d130
AC
33072002-12-13 Andrew Cagney <ac131313@redhat.com>
3308
3309 * gdb.fortran/types.exp: Update obsolete comment.
3310 * gdb.fortran/exprs.exp: Ditto.
3311 * lib/gdb.exp: Delete obsolete code.
3312 * gdb.chill/ChangeLog, gdb.chill/Makefile.in: Delete.
3313 * gdb.chill/builtins.ch, gdb.chill/builtins.exp: Delete.
3314 * gdb.chill/callch.ch, gdb.chill/callch.exp: Delete.
3315 * gdb.chill/chexp.exp, gdb.chill/chillvars.ch: Delete.
3316 * gdb.chill/chillvars.exp, gdb.chill/configure: Delete.
3317 * gdb.chill/configure.in, gdb.chill/enum.ch: Delete.
3318 * gdb.chill/enum.exp, gdb.chill/func1.ch: Delete.
3319 * gdb.chill/gch1041.ch, gdb.chill/gch1041.exp: Delete.
3320 * gdb.chill/gch1272.ch, gdb.chill/gch1272.exp: Delete.
3321 * gdb.chill/gch1280.ch, gdb.chill/gch1280.exp: Delete.
3322 * gdb.chill/gch922.ch, gdb.chill/gch922.exp: Delete.
3323 * gdb.chill/gch981.ch, gdb.chill/gch981.exp: Delete.
3324 * gdb.chill/misc.ch, gdb.chill/misc.exp: Delete.
3325 * gdb.chill/powerset.ch, gdb.chill/powerset.exp: Delete.
3326 * gdb.chill/pr-4975-grt.ch, gdb.chill/pr-4975.ch: Delete.
3327 * gdb.chill/pr-4975.exp, gdb.chill/pr-5016.ch: Delete.
3328 * gdb.chill/pr-5016.exp, gdb.chill/pr-5020.ch: Delete.
3329 * gdb.chill/pr-5020.exp, gdb.chill/pr-5022.ch: Delete.
3330 * gdb.chill/pr-5022.exp, gdb.chill/pr-5646-grt.ch: Delete.
3331 * gdb.chill/pr-5646.ch, gdb.chill/pr-5646.exp: Delete.
3332 * gdb.chill/pr-5984.ch, gdb.chill/pr-5984.exp: Delete.
3333 * gdb.chill/pr-6292.ch, gdb.chill/pr-6292.exp: Delete.
3334 * gdb.chill/pr-6632-grt.ch, gdb.chill/pr-6632.ch: Delete.
3335 * gdb.chill/pr-6632.exp, gdb.chill/pr-8134.exp: Delete.
3336 * gdb.chill/pr-8136.ch, gdb.chill/pr-8136.exp: Delete.
3337 * gdb.chill/pr-8405.ch, gdb.chill/pr-8405.exp: Delete.
3338 * gdb.chill/pr-8742.ch, gdb.chill/pr-8742.exp: Delete.
3339 * gdb.chill/pr-8894-grt.ch, gdb.chill/pr-8894.ch: Delete.
3340 * gdb.chill/pr-8894.exp, gdb.chill/pr-9095.ch: Delete.
3341 * gdb.chill/pr-9095.exp, gdb.chill/pr-9946.ch: Delete.
3342 * gdb.chill/pr-9946.exp, gdb.chill/result.ch: Delete.
3343 * gdb.chill/result.exp, gdb.chill/string.ch: Delete.
3344 * gdb.chill/string.exp, gdb.chill/tests1.ch: Delete.
3345 * gdb.chill/tests1.exp, gdb.chill/tests2.ch: Delete.
3346 * gdb.chill/tests2.exp, gdb.chill/tuples.ch: Delete.
3347 * gdb.chill/tuples.exp, gdb.chill/xstruct-grt.ch: Delete.
3348 * gdb.chill/xstruct.ch, gdb.chill/xstruct.exp: Delete.
3349
a23b6e6a
DC
33502002-12-11 David Carlton <carlton@math.stanford.edu>
3351
3352 * gdb.c++/m-data.exp: Add test for members that shadow global
3353 variables: see PR gdb/804.
3354 * gdb.c++/m-data.cc: Ditto.
3355
6604731b
DJ
33562002-12-10 Daniel Jacobowitz <drow@mvista.com>
3357
3358 * gdb.base/foll-vfork.exp: Re-enable test on HP/UX.
3359
de46ecd7
DC
33602002-12-06 David Carlton <carlton@math.stanford.edu>
3361
3362 * gdb.base/store.c: Don't declare functions static.
3363
27e829d0
AC
33642002-12-04 Andrew Cagney <ac131313@redhat.com>
3365
3366 * gdb.base/store.exp, gdb.base/store.c: New files.
3367
92806416
DJ
33682002-12-03 Daniel Jacobowitz <drow@mvista.com>
3369
3370 * gdb.base/selftest.exp: Update for current gdb.
3371
3bcbaac5
DJ
33722002-12-03 Daniel Jacobowitz <drow@mvista.com>
3373
3374 * gdb.base/maint.exp: Only dump symbols from one source file
3375 or objfile.
3376
f4f00b1f
DJ
33772002-12-03 Daniel Jacobowitz <drow@mvista.com>
3378
3379 * gdb.base/step-test.exp: Allow MIPS to return to the line of a
3380 function call.
3381
f1c8a949
JB
33822002-11-25 Jim Blandy <jimb@redhat.com>
3383
3384 * lib/mi-support.exp (mi_delete_breakpoints): Change name of
3385 function appearing in error message.
3386
9e297a97
DJ
33872002-11-21 Daniel Jacobowitz <drow@mvista.com>
3388
3389 * gdb.base/maint.exp (help maint dump-me): Update with typo fix.
3390
1f312e79
JJ
33912002-11-08 Jeff Johnston <jjohnstn@redhat.com>
3392
d63a86f8
RM
3393 * lib/mi-support.exp (mi_gdb_start): Verify the startup message
3394 for mi1 and current mi is in correct format. New mi startup message
1f312e79
JJ
3395 should be in mi console format. This is part of fix for PR gdb/604.
3396
83c31e7d
FN
33972002-09-18 Fernando Nasser <fnasser@redhat.com>
3398
3399 * gdb.asm/asm-source.exp: Adjust patter to new disassembler routine
3400 which explicitly prints the zero offset as "+0".
3401
322b3f65
DJ
34022002-10-22 Daniel Jacobowitz <drow@mvista.com>
3403
3404 * gdb.threads/schedlock.c (args): Make unsigned.
3405
34062002-10-21 Daniel Jacobowitz <drow@mvista.com>
3407
3408 * gdb.asm/asm-source.exp: Add "mips*-*" pattern. Update line
3409 numbers. Allow "foo2|selected stack frame".
3410 * gdb.asm/asmsrc1.s: Use gdbasm_declare and gdbasm_end.
3411 * gdb.asm/asmsrc2.s: Likewise.
3412 * gdb.asm/common.inc: Define gdbasm_declare and gdbasm_end. Update
3413 comments.
3414 * gdb.asm/mips.inc: New file.
3415
5e2fe5b8
AF
34162002-10-18 Adam Fedor <fedor@gnu.org>
3417
3418 * gdb.base/default.exp: Update expected output to include 'ObjC'.
3419 * gdb.base/help.exp: Likewise.
3420
abe1a5d0
KB
34212002-10-17 Kevin Buettner <kevinb@redhat.com>
3422
3423 * gdb.base/constvars.c (struct crass, struct crisp): New structs.
3424 * gdb.base/constvars.exp (ptype crass, ptype crisp): New tests.
3425
10abb1d4
JB
34262002-10-02 Jim Blandy <jimb@redhat.com>
3427
3428 * gdb.c++/casts.cc, gdb.c++/casts.exp: New test.
3429
1f609b42
AC
34302002-10-01 Andrew Cagney <ac131313@redhat.com>
3431
3432 * mi1-basics.exp: Copy of mi1-basics.exp MIFLAGS set "-i=mi1".
3433 * mi1-break.exp, mi1-console.exp, mi1-disassemble.exp: Ditto.
3434 * mi1-eval.exp, mi1-hack-cli.exp, mi1-pthreads.exp: Ditto.
3435 * mi1-read-memory.exp, mi1-regs.exp, mi1-return.exp: Ditto.
3436 * mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp: Ditto.
3437 * mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp: Ditto.
3438 * mi1-var-cmd.exp, mi1-var-display.exp, mi1-watch.exp: Ditto.
3439
0aee02e4
AC
34402002-09-29 Andrew Cagney <ac131313@redhat.com>
3441
3442 * mi0-basics.exp, mi0-break.exp, mi0-console.exp: Delete.
3443 * mi0-disassemble.exp, mi0-eval.exp: Delete.
3444 * mi0-hack-cli.exp, mi0-read-memory.exp: Delete.
3445 * mi0-regs.exp, mi0-return.exp, mi0-simplerun.exp: Delete.
3446 * mi0-stack.exp, mi0-stepi.exp, mi0-until.exp: Delete.
3447 * mi0-var-block.exp, mi0-var-child.exp: Delete.
3448 * mi0-var-cmd.exp, mi0-var-display.exp, mi0-watch.exp: Delete.
d63a86f8 3449
6fde09ad
KB
34502002-09-27 Kevin Buettner <kevinb@redhat.com>
3451
3452 * gdb.base/annota1.exp (info break): Make directory components of
3453 path optional since not all compilers emit this debug information.
3454
3455 * gdb.base/shlib-call.exp (step inside shr2): Don't fail if first
3456 step ends up stepping out of the function instead of stopping on
3457 the epilogue.
3458
9e8aab75
KS
34592002-09-26 Keith Seitz <keiths@redhat.com>
3460
3461 * lib/insight-support.exp (gdbtk_start): Figure out where
3462 the insight executable is based on where gdb is. Use this
3463 executable to start insight instead of gdb.
3464
e36180d7
AC
34652002-09-25 Andrew Cagney <cagney@redhat.com>
3466
3467 * gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
3468
9dd34b2b
AC
34692002-09-24 Andrew Cagney <ac131313@redhat.com>
3470
3471 * gdb.gdb/complaints.exp (test_initial_complaints): Rename
3472 test_isolated_complaints.
3473 (test_empty_complaint): New function.
3474 (test_empty_complaints): New function. Check no output when no
3475 complaints.
d63a86f8 3476
dea97812
KB
34772002-09-19 Jim Blandy <jimb@redhat.com>
3478
3479 * gdb.base/charset.exp, gdb.base/charset.c: New files.
3480
54951bd7
AC
34812002-09-19 Andrew Cagney <ac131313@redhat.com>
3482
3483 * gdb.gdb/complaints.exp: New file.
3484
dec43320
AC
34852002-09-18 Andrew Cagney <ac131313@redhat.com>
3486
3487 * gdb.base/maint.exp: Check `help maint internal-warning'.
3488
e70d6e3f
DC
34892002-09-18 David Carlton <carlton@math.stanford.edu>
3490
3491 * gdb.c++/m-static.exp: Remove breakpoints depending on line
3492 numbers, and replace them by a single breakpoint after the
3493 constructors are all finished.
3494 Add test 4.
3495 * gdb.c++/m-static.cc: Add test 4.
3496 * gdb.c++/m-static.h: New file.
3497 * gdb.c++/m-static1.cc: New file.
3498
3499 * gdb.c++/printmethod.exp: New file.
3500 * gdb.c++/printmethod.cc: New file.
3501
3502 * gdb.c++/pr-574.exp: New file.
3503 * gdb.c++/pr-574.cc: New file.
3504
afb5c968
CV
35052002-09-18 Corinna Vinschen <vinschen@redhat.com>
3506
3507 * gdb.base/ending-run.exp: Add handling of "step to end of run" for
3508 embedded targets which never actually exit.
3509
31e45dee
FN
35102002-09-18 Fernando Nasser <fnasser@redhat.com>
3511
3512 * gdb.base/ending-run.exp: Properly mark "continue after exit" and
3513 "don't step after run" as unresolved or unsupported, instead of xfail.
3514
a283c5a1
CV
35152002-09-18 Corinna Vinschen <vinschen@redhat.com>
3516
3517 * gdb.base/ending-run.exp: Fix expected string for _wrap_main to
3518 allow correct handling of #ifdef UNDERSCORES from dejagnu/testglue.c.
3519 Add newline to expected string in "step out of main (status wrapper)"
3520 case.
3521
11350d2a
CV
35222002-09-18 Corinna Vinschen <vinschen@redhat.com>
3523
3524 * lib/gdb.exp (rerun_to_main): Allow restarting application.
3525 * gdb.base/ena-dis-br.exp (rerun_to_main): Eliminate.
3526
0deec7d6
TT
35272002-09-17 Tom Tromey <tromey@redhat.com>
3528
3529 * gdb.base/printcmds.exp (test_print_string_constants): Expect
3530 \000, not \0, in double-quoted string.
3531
b2b4a1b5
CV
35322002-09-14 Corinna Vinschen <vinschen@redhat.com>
3533
c9d37158 3534 * gdb.base/commands.exp: Don't expect a "Program exited normally"
b2b4a1b5
CV
3535 string after running the commands execution on breakpoint tests.
3536
1c56143a
CV
35372002-09-13 Corinna Vinschen <vinschen@redhat.com>
3538
3539 * lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.
3540
37f8da45
JB
35412002-09-12 Joel Brobecker <brobecker@gnat.com>
3542
3543 * gdb.base/call-strs.exp: Fix a small typo in one of the comments.
3544
08b468e0
KS
35452002-09-10 Keith Seitz <keiths@redhat.com>
3546
3547 * lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
3548 runto proc.
3549 (mi_run_to_main): Use mi_runto.
3550 (mi_execute_to): Renamed from mi_run_to. Changed all callers.
3551
dc360f58
KS
35522002-09-10 Keith Seitz <keiths@redhat.com>
3553
3554 * lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
3555 regexp for stopping at main. Could have multiple event notifications.
3556 Don't assume that main was declared with no parameters.
3557 (mi_next): Use mi_step_to.
3558 (mi_step): Use mi_next_to.
3559
ce3abcfb
CV
35602002-09-09 Corinna Vinschen <vinschen@redhat.com>
3561
3562 * gdb.base/default.exp: Fix expected string in `info float' test.
3563
d1f5b980
BE
35642002-09-09 Ben Elliston <bje@redhat.com>
3565
3566 * config/mips.exp: Update comments.
3567 * config/mips-idt.exp: Likewise.
3568 * config/nind.exp: Likewise.
3569 * config/slite.exp: Likewise.
3570 * config/sparclet.exp: Likewise.
3571 * config/udi.exp: Likewise.
3572 * config/vx.exp: Likewise.
3573 * config/vxworks29k.exp: Likewise.
3574
2f71430b
JB
35752002-09-05 Jim Blandy <jimb@redhat.com>
3576
3577 * gdb.threads/killed.exp: Fix test failure message.
3578
7ddebc7e
KS
35792002-09-04 Keith Seitz <keiths@redhat.com>
3580
3581 * lib/mi-support.exp: Update copyright.
3582 (mi_gdb_test): Increase the priority of the expected pattern
3583 so that it matches gdb_test.
3584
0ae67eb3
KS
35852002-09-03 Keith Seitz <keiths@redhat.com>
3586
3587 * lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
3588 Use integer comparison instead of string comparison for testing
3589 whether binary was built.
3590
38fc42c8
JB
35912002-09-03 Jim Blandy <jimb@redhat.com>
3592
3593 * gdb.threads/killed.exp, gdb.threads/killed.c: New test.
3594
b6ff0e81
JB
35952002-08-29 Jim Blandy <jimb@redhat.com>
3596
3597 * gdb.threads/pthreads.exp: Move the portable thread compilation
3598 code into a function in lib/gdb.exp, and call that from here.
3599 * lib/gdb.exp (gdb_compile_pthreads): New function.
3600
07c98896
KS
36012002-08-29 Keith Seitz <keiths@redhat.com>
3602
3603 * lib/mi-support.exp (mi_gdb_test): Add global declaration for
3604 expect_out so that callers can get at it.
3605
0312286c
DJ
36062002-08-23 Daniel Jacobowitz <drow@mvista.com>
3607
3608 * gdb.threads/print-threads.c: New file.
3609 * gdb.threads/print-threads.exp: New file.
3610 * gdb.threads/schedlock.c: New file.
3611 * gdb.threads/schedlock.exp: New file.
3612
dd039bc4
EZ
36132002-08-22 Elena Zannoni <ezannoni@redhat.com>
3614
3615 * gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
3616 not altivec.c.
3617
1f36144c
MK
36182002-08-17 Mark Kettenis <kettenis@gnu.org>
3619
3620 * gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
3621 targets. The problem should be fixed now.
3622
16057ec7 36232002-08-15 Mark Kettenis <kettenis@gnu.org>
5415e7c5
MK
3624
3625 * gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
3626 2002-07-24 change that removes final dots from error messages.
3627
3c1499ad
TT
36282002-08-13 Tom Tromey <tromey@redhat.com>
3629
3630 * gdb.base/readline.exp: New file.
3631
a20ce2c3
AC
36322002-08-01 Andrew Cagney <ac131313@redhat.com>
3633
3634 * lib/gdb.exp (gdb_expect_list): Only print one pass, fail, or
3635 supress message.
3636
db034ac5
AC
36372002-08-01 Andrew Cagney <cagney@redhat.com>
3638
3639 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL,
3640 CHILL_FOR_TARGET and CHILL_LIB.
3641 * configure.in (configdirs): Remove gdb.chill.
3642 * configure: Regenerate.
3643 * lib/gdb.exp: Obsolete references to chill.
3644 * gdb.fortran/types.exp: Ditto.
3645 * gdb.fortran/exprs.exp: Ditto.
3646
3e000b18
KB
36472002-07-30 Kevin Buettner <kevinb@redhat.com>
3648
3649 * gdb.base/shlib-call.exp (additional_flags): Conditionally
3650 set Irix-specific compile and link flags.
3651
28f4966b
KB
36522002-07-29 Kevin Buettner <kevinb@redhat.com>
3653
3654 * lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
3655 source files. The ``-o'' option doesn't work with the ``-E'' option
3656 when using the Irix compiler.
3657
46c0d5a6
DJ
36582002-07-19 Daniel Jacobowitz <drow@mvista.com>
3659
3660 * config/gdbserver.exp (gdb_load): Don't use TCL varargs.
3661 Improve support for reusing an exec file. Copy exec file
3662 to target, and run gdbserver on the target instead of on the host.
3663
eecf4bed
JB
36642002-07-18 Jim Blandy <jimb@redhat.com>
3665
0f815cdf
JB
3666 * gdb.base/ending-run.exp: Don't expect to see the program end in
3667 some orderly fashion when we're running on a real stand-alone
3668 board.
3669
eecf4bed
JB
3670 * gdb.base/interrupt.exp: Correct logic for skipping tests on
3671 targets that don't support interrupts.
3672
52d309e4
JB
36732002-07-10 Paul N. Hilfinger <hilfingr@otisco.mckusick.com>
3674
3675 * gdb.base/attach.exp: Add patterns to match output from /proc-based
3676 systems.
3677 Move comments in expect statements to inside the actions, so that they
3678 don't get matched against.
3679
ff683d9e
MK
36802002-07-10 Mark Kettenis <kettenis@gnu.org>
3681
3682 * gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
3683 function when asleep" test.
3684
b5356753
AC
36852002-07-10 Andrew Cagney <ac131313@redhat.com>
3686
3687 * gdb.base/page.exp: Rewrite to handle problems with very long
3688 `info set' output. Update copyright.
3689
6aa4d13a
AC
36902002-06-26 Andrew Cagney <ac131313@redhat.com>
3691
3692 * gdb.hp/configure.in (AC_CONFIG_SUBDIRS): Do not try to configure
3693 gdb.threads-hp.
3694 * gdb.hp/configure: Regenerate.
3695 * gdb.hp/gdb.threads-hp/configure.in: Delete file.
3696 * gdb.hp/gdb.threads-hp/configure: Delete file.
3697 * gdb.hp/gdb.threads-hp/Makefile.in: Delete file.
3698
8cf8c2b8
AC
36992002-06-22 Andrew Cagney <ac131313@redhat.com>
3700
3701 * gdb.base/selftest.exp (do_stes_and_next): Skip calls to
3702 setlocale, bindtextdomain and textdomain.
3703
6827a8f8
JB
37042002-06-11 Jim Blandy <jimb@redhat.com>
3705
919d772c
JB
3706 * lib/gdb.exp (get_debug_format): Tolerate message saying whether
3707 preprocessor macro information is present.
3708
6827a8f8
JB
3709 * macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: New
3710 tests.
3711
c15b0d21
MS
37122002-06-06 Michael Snyder <msnyder@redhat.com>
3713
c5984d70
MS
3714 * gdb.base/overlays.exp: Record addresses of overlay
3715 functions in TCL variables rather than in GDB variables,
3716 to avoid having GDB convert them to pointers (with loss
3717 of information).
3718
d63a86f8 3719 * gdb.base/d10v.ld: Merge in several years worth of
99a8512b 3720 default linker script changes.
c15b0d21
MS
3721 * gdb.base/long_long.exp: Add check for sizeof (long double).
3722
be26fe0d
ML
37232002-06-06 Michal Ludvig <mludvig@suse.cz>
3724
3725 * gdb.asm/asm-source.exp: Add x86-64 target.
3726 * gdb.asm/x86_64.inc: New.
d63a86f8 3727
258093ca 37282002-05-30 Michael Chastain <mec@shout.net>
258093ca 3729
4b3153f1 3730 From Benjamin Kosnik <bkoz@redhat.com>:
258093ca
MC
3731 * gdb.c++/m-static.cc: New file.
3732 * gdb.c++/m-static.exp: New file.
3733
241264c6
MS
37342002-05-28 Michael Snyder <msnyder@redhat.com>
3735
3736 * gdb.base/call-ar-st.exp: Allow for reduced floating point
3737 precision.
3738
9bba8c8f 37392002-05-27 Michael Chastain <mec@shout.net>
71ea1be0 3740
4b3153f1 3741 From Benjamin Kosnik <bkoz@redhat.com>:
71ea1be0
MC
3742 * gdb.c++/m-data.cc: New file.
3743 * gdb.c++/m-data.exp: New file.
3744
37452002-05-27 Michael Chastain <mec@shout.net>
9bba8c8f 3746
4b3153f1 3747 From Benjamin Kosnik <bkoz@redhat.com>:
9bba8c8f 3748 * gdb.c++/try_catch.cc: New file.
d63a86f8 3749 * gdb.c++/try_catch.exp: New file.
9bba8c8f 3750
def1b996
MC
37512002-05-27 Michael Chastain <mec@shout.net>
3752
3753 * gdb.c++/local.exp: Accept more nested types in output.
3754
522ba268
MC
37552002-05-26 Michael Chastain <mec@shout.net>
3756
3757 * gdb.base/call-rt-st.exp: Fix typo in brace quoting.
3758
277254ba
MS
37592002-05-15 Nick Clifton <nickc@cambridge.redhat.com>
3760
3761 * lib/gdb.exp (gdb_wrapper_init): Just because
3762 gdb_wrapper_file exists, this does not mean that the file
3763 should not be rebuilt. That is what gdb_wrapper_initialized
3764 is for.
3765 (default_gdb_init): Reset gdb_wrapper_initialized.
3766
b61a8733
MS
37672002-05-23 Michael Snyder <msnyder@redhat.com>
3768
d63a86f8 3769 * gdb.base/all-bin.exp: Revise previous patch by just reducing
5bdb6d01
MS
3770 the precision of the floating point test results.
3771 * gdb.base/call-rt-st.exp: Ditto.
3772
b61a8733
MS
3773 * gdb.base/all-bin.exp: Allow for reduced floating point precision.
3774 * gdb.base/call-rt-st.exp: Ditto.
3775
56f6e910
MC
37762002-05-19 Michael Chastain <mec@shout.net>
3777
3778 * gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
3779
ad0b0016
EZ
37802002-05-19 Elena Zannoni <ezannoni@redhat.com>
3781
3782 * configure.in (configdirs): Add gdb.arch.
3783 * configure: Regenerate.
3784
f617d2b6
JB
37852002-05-17 Jim Blandy <jimb@redhat.com>
3786
3787 * gdb.base/completion.exp: Recognize the more detailed error
3788 messages produced by the macro expander's lexical analyzer.
3789
eac2a696
EZ
37902002-05-14 Elena Zannoni <ezannoni@redhat.com>
3791
3792 * gdb.arch/altivec-abi.c: New file.
3793 * gdb.arch/altivec-abi.exp: New file.
3794 * gdb.arch/altivec-regs.c: New file.
3795 * gdb.arch/altivec-regs.exp: New file.
3796
2fdde8f8
DJ
37972002-05-14 Daniel Jacobowitz <drow@mvista.com>
3798
3799 * gdb.base/maint.exp (maint print type): Update for new type
3800 structure.
d63a86f8 3801
e31f1a7c
EZ
38022002-05-14 Elena Zannoni <ezannoni@redhat.com>
3803
3804 * gdb.arch: New directory.
3805 * gdb.arch/configure.in: New file.
3806 * gdb.arch/configure: New file.
3807 * gdb.arch/Makefile.in: New file.
3808
db589741
CV
38092002-05-13 Corinna Vinschen <vinschen@redhat.com>
3810
3811 * gdb.asm/asm-source.exp: Add v850 as supported target.
3812 * gdb.asm/v850.inc: New file.
3813
8ce2a7dc
DJ
38142002-05-13 Daniel Jacobowitz <drow@mvista.com>
3815
3816 * gdb.c++/annota2.exp (annotate-quit): Add comment.
3817
df763c7f
DJ
38182002-05-12 Daniel Jacobowitz <drow@mvista.com>
3819
3820 * gdb.base/break.exp: Check 'break "marker2"'.
3821
377daeed
MS
38222002-05-10 Michael Snyder <msnyder@redhat.com>
3823
3824 * gdb.base/long_long.exp: Fix typo.
3825
c4b7bc2b
JB
38262002-05-10 Jim Blandy <jimb@redhat.com>
3827
ecac9a4e
JB
3828 * gdb.base/printcmds.exp: Don't xfail the ptype command. This is
3829 a bug.
3830
c4b7bc2b
JB
3831 * gdb.base/printcmds.exp (test_integer_literals_rejected):
3832 Recognize more detailed error message produced by the macro
3833 expander's lexical analyzer.
3834 * lib/gdb.exp (test_print_reject): Same.
3835
e71019a1
MK
38362002-05-09 Mark Kettenis <kettenis@gnu.org>
3837
3838 * gdb.c++/method.exp: Fix typo.
3839
fedfc8e6
MS
38402002-05-08 Michael Snyder <msnyder@redhat.com>
3841
166a1957
MS
3842 * gdb.mi/mi-var-child.exp: Accept (void) as well as ().
3843 * gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
fedfc8e6 3844 * gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
35928259
MS
3845 * gdb.base/long_long.exp: Merge clauses for arm and xscale.
3846 Add iftarget clause for strongarm.
d63a86f8 3847
f1c47eb2
MS
38482002-05-06 Michael Snyder <msnyder@redhat.com>
3849
cb9a9d3e
MS
3850 * lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
3851 (gdb_continue_to_end): Accept output from status wrapper.
3852 * gdb.base/ending-run.exp: Add case for output from status wrapper.
3853 Clean up fail messages to match pass messages.
3854
f1c47eb2
MS
3855 Enable the "needs_status_wrapper" testsuite feature.
3856 * lib/gdb.exp (gdb_wrapper_init): New procedure.
3857 (gdb_compile): Conditionally call gdb_wrapper_init.
3858 * gdb.base/a2-run.exp: Recognize output from status wrapper.
3859 * gdb.c++/method.exp: Recognize output from status wrapper.
3860
6079c749
BE
38612002-05-06 Ben Elliston <bje@redhat.com>
3862From Graydon Hoare <graydon@redhat.com>
3863
3864 * config/sid.exp: Include support for "rawsid" protocol.
3865
188baff3
JB
38662002-05-03 Jim Blandy <jimb@redhat.com>
3867
3868 * gdb.c++/hang.exp: Check for corruption of the cv_type chain.
3869 * gdb.c++/hang3.C: New file.
3870
b9c07f0f
AC
38712002-05-04 Andrew Cagney <ac131313@redhat.com>
3872
3873 * gdb.base/default.exp: Remove obsolete code.
3874 * gdb.c++/misc.exp: Ditto. Update copyright.
3875 * gdb.c++/cplusfuncs.exp: Ditto. Update copyright.
3876 * gdb.base/whatis.exp: Ditto. Update copyright.
3877 * gdb.base/scope.exp: Ditto. Update copyright.
3878 * gdb.base/ptype.exp: Ditto. Update copyright.
3879 * gdb.base/printcmds.exp: Ditto. Update copyright.
3880 * gdb.base/opaque.exp: Ditto. Update copyright.
3881 * gdb.base/list.exp: Ditto.
3882 * gdb.base/funcargs.exp: Ditto. Update copyright.
3883 * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
3884 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
3885 * gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
3886 * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
3887 * gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
3888 * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
3889
5c7a0397
MS
38902002-05-02 Michael Snyder <msnyder@redhat.com>
3891
d6dcc264 3892 * gdb.base/watchpoint.exp: Add xscale target.
5c7a0397
MS
3893 * gdb.base/long_long.exp: Add xscale target.
3894 * gdb.base/default.exp: Add xscale target.
3895
eb7f1c48
JB
38962002-05-01 Jim Blandy <jimb@redhat.com>
3897
3898 * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
3899 gdb.c++/hang.exp: New test.
3900
a6befae8
FF
39012002-05-01 Fred Fish <fnf@redhat.com>
3902
3903 * gdb.base/completion.exp: Handle completions of "./Make" for
3904 more than one completion possibility, as is the case when we
3905 build and test in the source tree.
3906
0a310277
AG
39072002-04-29 Anthony Green <green@redhat.com>
3908
3909 * gdb.java/jmisc1.exp: New file.
3910 * gdb.java/jmisc2.exp: New file.
3911
6ff9af88
DJ
39122002-04-24 Daniel Jacobowitz <drow@mvista.com>
3913
3914 * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
3915
96b3d632
EZ
39162002-04-23 Elena Zannoni <ezannoni@redhat.com>
3917
3918 * gdb.base/help.exp: Change 'help status' to allow for target
3919 dependent output differences.
3920
5019bb54
MC
39212002-04-22 Michael Chastain <mec@shout.net>
3922
3923 * gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
3924
a805a116
MC
39252002-04-22 Michael Chastain <mec@shout.net>
3926
3927 * gdb.c++/method.exp: Fix syntax of reference to gdb/277.
3928
a1706bfd
DM
39292002-04-17 David S. Miller <davem@redhat.com>
3930
3931 * gdb.asm/sparc64.inc: New file.
3932 * gdb.asm/asm-source.exp: Handle sparc64-*-*.
3933
a73a20a2
EZ
39342002-04-19 Elena Zannoni <ezannoni@redhat.com>
3935
3936 * gdb.asm/asm-source.exp: Don't use a symlink, just copy the
3937 instruction file directly into the build tree. Clean up at end of
3938 test.
3939
ba678339
DM
39402002-04-18 David S. Miller <davem@redhat.com>
3941
3942 * gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
3943 handle 64-bit platforms correctly.
3944 * gdb.base/maint.exp: Likewise.
3945
b03399da
KB
39462002-04-18 Kevin Buettner <kevinb@redhat.com>
3947
3948 * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
3949 ``-fpic'' when compiling files comprising a shared library, but
3950 it does need additional linker flags in order to find shared
3951 libraries at run time.
3952
e2004992
KB
39532002-04-18 Kevin Buettner <kevinb@redhat.com>
3954
3955 * gdb.base/cvexpr.c (use): New function.
3956 (main): Invoke use() on all global variables to prevent
3957 some linkers from deleting these otherwise unused symbols.
3958
d8937120
MC
39592002-04-17 Michael Chastain <mec@shout.net>
3960From David S. Miller <davem@redhat.com>
3961
3962 * gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
3963 handle 64-bit platforms correctly.
3964
ffd61a58
MS
39652002-04-12 Michael Snyder <msnyder@redhat.com>
3966From Jim Blandy <jimb@redhat.com>
3967 * gdb.base/foo.c (foox): Remove section attribute; the linker
3968 script can handle this instead.
3969 * gdb.base/bar.c (barx): Same.
3970 * gdb.base/baz.c (bazx): Same.
3971 * gdb.base/grbx.c (grbxx): Same.
3972
3973 * gdb.base/overlays.exp: New test: check that GDB's manual overlay
3974 manager doesn't automatically unmap overlays unnecessarily.
3975
6b8426a6
MH
39762002-04-10 Martin M. Hunt <hunt@redhat.com>
3977
3978 * gdb.base/ending-run.exp: Fix pattern for Mips targets
3979 stepping out of main.
3980
34af4875
MC
39812002-04-09 Michael Chastain <mec@shout.net>
3982
3983 * gdb.c++/local.cc (main): Move call to marker1() inside nested
3984 scope so that the nested scope tests will make sense.
3985 * gdb.c++/local.exp: Write patterns that actually work with gcc
3986 (the HP patterns "were never known to work with gcc").
3987 Keep the old aCC patterns too.
3988
2d1676a0
DJ
39892002-04-09 Daniel Jacobowitz <drow@mvista.com>
3990
3991 * gdb.base/attach.exp: Correct target board test.
3992
3a63e3f9
MC
39932002-04-08 Michael Chastain <mec@shout.net>
3994
3995 * gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
3996 in a const method. Add some xfail and fail cases for configurations
3997 that do not emit the "const ...".
3998
f18dabd2
MC
39992002-04-07 Michael Chastain <mec@shout.net>
4000
4001 * gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
4002 Accept "A * const" and "const A * const" as type of "this".
4003 Fix spelling of getFunky throughout. Make messages uniform.
4004
0fcddd82
EZ
40052002-04-07 Elena Zannoni <ezannoni@redhat.com>
4006
4007 Work around for PR gdb/285:
4008 * gdb.asm/asm-source.exp: Bail out if multilibs are detected.
4009
16a8534a
EZ
40102002-04-07 Elena Zannoni <ezannoni@redhat.com>
4011
4012 * gdb.asm/asm-source.exp: Build symbolic link to arch specific
4013 instructions file at run time instead of configure time.
4014 Sometimes we run the test in a directory that is not the one we
4015 configured in.
4016 * gdb.asm/configure.in: Delete creation of symlink.
4017 * gdb.asm/configure: Regenerate.
4018
24181d81
JB
40192002-04-05 J. Brobecker <brobecker@gnat.com>
4020
4021 * gdb.gdb/xfullpath.exp: New test, to exercise the new
4022 xfullpath () function.
4023
7cdb7107
DJ
40242002-04-04 Daniel Jacobowitz <drow@mvista.com>
4025
4026 * gdb.asm/Makefile.in: Correct dependencies.
4027
4028 * gdb.asm/powerpc.inc: New file.
4029 * gdb.asm/asm-source.exp: Add PowerPC.
4030 * gdb.asm/configure.in: Likewise.
4031 * gdb.asm/configure: Regenerated.
4032
a7d17088
DJ
40332002-04-04 Daniel Jacobowitz <drow@mvista.com>
4034
4035 * gdb.base/relocate.exp: New file.
4036 * gdb.base/relocate.c: New file.
4037
cd721503
FF
40382002-04-04 Fred Fish <fnf@redhat.com>
4039
4040 * gdb.base/step-test.exp: Update comment regarding stopping in
4041 memcpy/bcopy calls inserted as part of the compiler runtime.
4042
b22ad7a7
MS
40432002-04-04 Michael Snyder <msnyder@redhat.com>
4044
4045 * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
4046
5f279fa6
DJ
40472002-04-03 Daniel Jacobowitz <drow@mvista.com>
4048
4049 * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
4050 (gdb_expect): Remove $notransfer hack.
4051
dd0fd3ce
DJ
40522002-04-02 Daniel Jacobowitz <drow@mvista.com>
4053
4054 * gdb.c++/classes.exp ("calling method for small class"): Match
4055 updated register output.
4056
1e50cda1
DJ
40572002-03-30 Daniel Jacobowitz <drow@mvista.com>
4058
4059 Fix PR gdb/452
4060 * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
4061 when finished. Make gdb_file_cmd send "exec-file" when
4062 appropriate.
4063
24015922
DJ
40642002-03-30 Daniel Jacobowitz <drow@mvista.com>
4065
4066 * gdb.base/attach.exp: Remove extra setup_xfail.
4067
dd7dfd64
MS
40682002-03-26 Michael Snyder <msnyder@redhat.com>
4069
4070 * gdb.base/default.exp: Add tests for dump, append, and restore.
4071 * gdb.base/help.exp: Add tests for dump, append, and restore.
4072 * gdb.base/dump.exp: New file, test dump, append and restore.
4073 * gdb.base/dump.c: New file.
4074
48b2f8d7
MS
40752002-03-27 Michael Snyder <msnyder@redhat.com>
4076
d63a86f8 4077 * gdb.base/help.exp: Modify expect strings to reflect
48b2f8d7
MS
4078 clean-ups in help messages.
4079
05b4d525
FF
40802002-03-26 Fred Fish <fnf@redhat.com>
4081
4082 * gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
4083 have debugging info for those functions and the compiler uses them
4084 internally to copy structs around.
4085
d7679631
FF
40862002-03-26 Fred Fish <fnf@redhat.com>
4087
4088 * gdb.base/list.exp: Revert the change made yesterday and add note
4089 about why we don't list the default lines for remote targets.
4090
523ac3f9
MS
40912002-03-25 Michael Snyder <msnyder@redhat.com>
4092
4093 * gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
4094
754b2b8d
FF
40952002-03-25 Fred Fish <fnf@redhat.com>
4096
4097 * gdb.base/list.exp: This test works on remote targets so remove
4098 the short circuit for remote targets. Update copyright.
4099
33c3e192
FF
41002002-03-25 Fred Fish <fnf@redhat.com>
4101
4102 * gdb.base/attach.exp: Fix logic error that was suppressing this
4103 test for all non hppa*-*-hpux* targets, instead of the hp target.
4104 Move comments closer to the suppression point. Also now need to
4105 check that we are running natively.
4106
d43e73ee
MS
41072002-03-22 Michael Snyder <msnyder@redhat.com>
4108
882c8f02
MS
4109 * gdb.base/default.exp: Add test for gcore. Update copyright.
4110 * gdb.base/help.exp: Add test for gcore. Update copyright.
d43e73ee 4111
04c12f60
FF
41122002-03-06 Fred Fish <fnf@redhat.com>
4113
4114 * gdb.base/funcargs.c: Remove extraneous ';' character.
4115 * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
4116
b43df995
MC
41172002-03-04 Michael Chastain <mec@shout.net>
4118
4119 * gdb.mi/mi-var-cmd.exp: In test "create local variable func",
4120 accommodate gcc v3 function signature.
4121 * gdb.mi/mi0-var-cmd-exp: Ditto.
4122
92362027
AC
41232002-02-24 Andrew Cagney <ac131313@redhat.com>
4124
4125 * testsuite/gdb.base/huge.c: Replace ``Linux'' with either
4126 ``GNU/Linux'' or ``Linux kernel''
4127 * testsuite/gdb.threads/pthreads.c: Ditto.
4128
258ad32d
MC
41292002-02-24 Michael Chastain <mec@shout.net>
4130
4131 * gdb.threads/pthreads.c (thread1): Add a return statement.
4132 (thread2): Likewise.
4133 (foo): Likewise.
4134
04c3b3d4
MC
41352002-02-23 Michael Chastain <mec@shout.net>
4136
4137 * gdb.threads/linux-dp.c (philosopher): Add a return statement
4138 to placate gcc.
4139
5a2a0a20
MC
41402002-02-23 Michael Chastain <mec@shout.net>
4141
4142 * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
4143 test "ptype bint". The test passes on all my stabs configurations.
4144
a640f7fc
JB
41452002-02-21 Jim Blandy <jimb@redhat.com>
4146
27924826
JB
4147 * gdb.asm/asm-source.exp: Parse the output from `info sources' one
4148 filename at a time, and watch for the ones we want to see.
4149
a640f7fc
JB
4150 * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
4151 types of pointers to prototyped functions.
4152
edcc8c75
AC
41532002-02-20 Andrew Cagney <ac131313@redhat.com>
4154
4155 * gdb.base/sizeof.c (main): Call fill_structs. Print value of
4156 signed, unsigned and straight char.
4157 (padding_char, padding_short, padding_int, padding_long,
4158 padding_long_long, padding_float, padding_double,
4159 padding_long_double): New global variables.
4160 (fill, fill_structs): New functions.
4161
4162 * gdb.base/sizeof.exp: Check for signed and unsigned char. Check
4163 for correctly sized writes. Update copyright.
4164 (get_valueof): New procedure.
4165 (get_sizeof): Call get_valueof.
4166 (check_valueof): New procedure.
4167 (check_padding): New procedure.
4168
ac57ea44
MC
41692002-02-20 Michael Chastain <mec@shout.net>
4170
4171 * gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
4172 to setup_xfail. Document some of the remaining calls.
4173
7a10c941
MC
41742002-02-18 Michael Chastain <mec@shout.net>
4175
4176 * gdb.c++/userdef.exp: Update copyright year.
4177
fb8acdcc
DJ
41782002-02-18 Daniel Jacobowitz <drow@mvista.com>
4179
4180 * gdb.c++/userdef.exp: Test overloaded operators properly.
4181 Remove xfails.
4182
fda6ae12
MS
41832002-02-14 Michael Snyder <msnyder@redhat.com>
4184
4185 * gdb.base/gcore.exp: Relax recognition of function breakpoint.
4186
676a0442
DJ
41872002-02-14 Daniel Jacobowitz <drow@mvista.com>
4188
4189 * gdb.base/a2-run.exp: Check for a remote target properly.
4190 * gdb.base/annota1.exp: Likewise.
4191 * gdb.base/list.exp: Likewise.
4192 * gdb.base/reread.exp: Likewise.
4193 * gdb.base/scope.exp: Likewise.
4194 * gdb.base/shlib-call.exp: Likewise.
4195 * gdb.base/term.exp: Likewise.
4196 * gdb.c++/annota2.exp: Likewise.
4197
78b4f468
RE
41982002-02-13 Richard Earnshaw <rearnsha@arm.com>
4199
4200 * gdb.base/watchpoint.exp: Restore previous timeout at end of test.
4201
9a81ba51
MC
42022002-02-10 Michael Chastain <mec@shout.net>
4203
4204 * gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
4205 (call_after_alloca): Ditto.
4206
004af6c7
DJ
42072002-02-10 Daniel Jacobowitz <drow@mvista.com>
4208
4209 * gdb.base/ending-run.exp: Guard "cont" test with
4210 gdb_skip_stdio_test.
4211
37225f62
JB
42122002-02-06 Jim Blandy <jimb@redhat.com>
4213
4214 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
4215 from here...
4216 * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
4217 To here. Disable this test on non-HP platforms. Add big comment.
4218
fe6fdd96
MS
42192002-02-04 Michael Snyder <msnyder@redhat.com>
4220
4221 * gdb.base/ovlymgr.c (ovly_copy): Generalize for targets
4222 other than d10v and m32r.
4223
036fad3f
RE
42242002-02-02 Richard Earnshaw <rearnsha@arm.com>
4225
4226 * gdb.base/default.exp: Rewrite test patterns to reduce time
4227 taken to match them.
4228
7148ab62
DJ
42292002-01-30 Daniel Jacobowitz <drow@mvista.com>
4230
4231 * gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
4232 Allow a start function above main.
4233 * gdb.threads/linux-dp.exp: Fix copyright date.
4234
396cc255
DJ
42352002-01-30 Daniel Jacobowitz <drow@mvista.com>
4236
4237 * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
4238 (check_philosopher_stack): Check for manager thread before checking
4239 for a just-starting thread.
4240
f038d31b
DJ
42412002-01-30 Daniel Jacobowitz <drow@mvista.com>
4242
4243 From Neil Booth <neil@daikokuya.demon.co.uk>:
4244 * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
4245 warnings.
4246
b3ff9d9a
FF
42472002-01-21 Fred Fish <fnf@redhat.com>
4248
4249 * gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
4250 not caller.
4251
39ad761d
JB
42522002-01-21 Jim Blandy <jimb@redhat.com>
4253
4254 * gdb.base/reread.exp: Check that GDB properly re-reads the
4255 executable file when it changes while no inferior is running.
4256
aaf320fa
FF
42572002-01-21 Fred Fish <fnf@redhat.com>
4258
4259 * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
4260 optionally accept the "shlib events" variation.
4261
808a31f5
JB
42622002-01-21 Jim Blandy <jimb@redhat.com>
4263
4264 * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
4265 call `fflush' after every `printf', so that the output is produced
4266 at predictable points, regardless of whatever buffering does (or
4267 doesn't) take place.
4268 * gdb.base/ending-run.exp: Adjust tests to expect output to appear
4269 at different points.
4270
4420d5e2
DJ
42712002-01-20 Daniel Jacobowitz <drow@mvista.com>
4272
4273 * gdb.c++/inherit.exp: Update copyright years.
4274 * gdb.c++/method.exp: Likewise.
4275
3e36a0f4
DJ
42762002-01-20 Daniel Jacobowitz <drow@mvista.com>
4277
4278 * gdb.c++/classes.exp: Update for improved v3 support and skipping
4279 artificial methods/arguments.
4280 * gdb.c++/derivation.exp: Likewise.
4281 * gdb.c++/inherit.exp: Likewise.
4282 * gdb.c++/method.exp: Likewise.
4283 * gdb.c++/virtfunc.exp: Likewise.
4284
b4ceaee6
AC
42852002-01-18 Andrew Cagney <ac131313@redhat.com>
4286
4287 * gdb.hp/gdb.threads-hp/usrthfork.exp: Mark as obsolete.
4288 * gdb.hp/gdb.threads-hp/usrthcore.exp: Ditto.
4289 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Ditto.
4290 * gdb.hp/gdb.threads-hp/usrthfork.c: Ditto.
4291 * gdb.hp/gdb.threads-hp/usrthbasic.c: Ditto.
4292 * gdb.hp/gdb.threads-hp/usrthcore.c: Ditto.
4293
ecace851
JB
42942002-01-17 Jim Blandy <jimb@redhat.com>
4295
4296 * gdb.asm/asm-source.exp (info symbol): Take another shot at
4297 anchoring the pattern matching the entry point symbol's name.
4298
375fc983
AC
42992002-01-17 Andrew Cagney <ac131313@redhat.com>
4300
4301 * gdb.base/maint.exp: Update ``maint internal-error'' to match
4302 continue/quit query. Update copyright.
4303
fe6fdd96
MS
43042002-01-14 Michael Snyder <msnyder@redhat.com>
4305
4306 * gdb.base/gcore.exp: Remove extra debugging output.
4307
e017c81f
DJ
43082002-01-13 Daniel Jacobowitz <drow@mvista.com>
4309
4310 * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
4311 for slightly dubious v2 mangled string.
4312
37ab3bf8
DJ
43132002-01-13 Daniel Jacobowitz <drow@mvista.com>
4314
4315 * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
4316
1bc05c3a 43172002-01-10 Jason Merrill <jason@redhat.com>
7b2ac63b 4318
1bc05c3a 4319 * gdb.c++/namespace.exp: Accept trailing const for 'this'.
7b2ac63b 4320
1bc05c3a
JM
4321 * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
4322 constructors.
4323 * gdb.c++/derivation.exp: Likewise.
4324 * gdb.c++/templates.exp: Likewise.
4325 * gdb.c++/virtfunc.exp: Likewise.
ffcb195b 4326
1bc05c3a
JM
43272002-01-10 Michael Snyder <msnyder@redhat.com>
4328
4329 * gdb.c++/namespace.exp: Accept both '\0' and '\000'.
ffcb195b 4330
a911c360
MS
43312002-01-08 Michael Snyder <msnyder@redhat.com>
4332
4333 * gdb.base/gcore.exp: New test for generate-core-file command.
4334 * gdb.base/gcore.c: Testcase for above.
4335 * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
4336
ea2119ec
JM
43372002-01-08 Jason Merrill <jason@redhat.com>
4338
4339 * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
4340
68203136
FF
43412002-01-07 Fred Fish <fnf@redhat.com>
4342
4343 * gdb.c++/overload.exp: Remove unconditional xfails for:
4344 print foo_instance1.overloadargs(1)
4345 print foo_instance1.overloadargs(1, 2)
4346 print foo_instance1.overloadargs(1, 2, 3)
4347 print foo_instance1.overloadargs(1, 2, 3, 4)
4348 print foo_instance1.overloadargs(1, 2, 3, 4, 5)
4349 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
4350 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
4351 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
4352 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
4353 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
4354 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
4355 print foo_instance1.overload1arg()
4356 print foo_instance1.overload1arg((char)arg2)
4357 print foo_instance1.overload1arg((signed char)arg3)
4358 print foo_instance1.overload1arg((unsigned char)arg4)
4359 print foo_instance1.overload1arg((int)arg7)
4360 print foo_instance1.overload1arg((unsigned int)arg8)
4361 print foo_instance1.overload1arg((float)arg11)
4362 print foo_instance1.overload1arg((double)arg12)
d63a86f8 4363
21b9b5b1
MS
43642002-01-07 Michael Snyder <msnyder@redhat.com>
4365
4366 * gdb.base/huge.exp: New test. Print a very large target data object.
4367 (skip_huge_test): New test variable. Define if you want to skip this
4368 test. The test reads an 8 megabyte data object from the target, so it
4369 might be very time consuming on remote targets with a slow connection.
4370 * gdb.base/huge.c: New file. Test case for above.
4371
725f922e
FF
43722002-01-07 Fred Fish <fnf@redhat.com>
4373
4374 * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
4375 g_instance.bfoo, and g_instance.cfoo.
4376
634d57ec
JL
4377Mon Jan 7 12:22:18 2002 Jeffrey A Law (law@redhat.com)
4378
f286b2c3
JL
4379 * gdb.base/break.c (multi_line_if_conditional): New function.
4380 (multi_ilne_while_conditional): Likewise.
4381 * gdb.base/break.exp: Verify that a breakpoint on a multi-line
4382 IF or WHILE condition puts the breakpoint at the start of
4383 the condition.
4384
634d57ec
JL
4385 * gdb.base/selftest.exp (backtrace through signal handler): Remove
4386 hppa*-*-hpux* expected failure.
4387 * gdb.base/structs.exp (do_function_calls): Similarly.
4388
4389 * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
4390 watchpoints.
4391
9fbfe2dc
AC
43922002-01-06 Andrew Cagney <ac131313@redhat.com>
4393
4394 Fix PR gdb/66.
4395 * gdb.base/structs.exp: Replace skip for a29k with skip for
4396 gdb,cannot_call_functions.
4397 * gdb.base/call-ar-st.exp: Remove references to a29k in comments.
4398 * gdb.base/callfuncs.exp: Ditto.
4399 * gdb.base/call-rt-st.exp: Ditto.
4400 * gdb.base/call-strs.exp: Ditto.
4401 * gdb.base/callfwmall.exp: Ditto.
4402 * gdb.base/scope.exp: Obsolete xfail a29k.
4403 * gdb.c++/misc.exp: Ditto.
4404 * gdb.c++/cplusfuncs.exp: Ditto.
4405 * gdb.base/ptype.exp: Ditto.
4406 * gdb.base/printcmds.exp: Ditto.
4407 * gdb.base/opaque.exp: Ditto.
4408 * gdb.base/list.exp: Ditto.
4409 * gdb.base/funcargs.exp: Ditto.
4410 * gdb.base/default.exp: Ditto.
4411
8ddad156
MS
44122002-01-04 Michael Snyder <msnyder@redhat.com>
4413
ca4976a6 4414 * gdb.base/info-proc.exp: New file, test for "info proc" cmd.
8ddad156
MS
4415 * gdb.base/maint.exp: Add tests for maint info sections options.
4416
1b074332
JL
4417Fri Dec 21 09:42:11 2001 Jeffrey A Law (law@redhat.com)
4418
4419 * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
4420
7d159115
CV
44212001-12-20 Corinna Vinschen <vinschen@redhat.com>
4422
4423 * gdb.asm/arm.inc: New file.
4424 * gdb.asm/asm-source.exp: Add arm targets.
4425 * gdb.asm/configure.in: Ditto.
4426 * gdb.asm/configure: Recreated from configure.in.
4427
8fb87725
JL
4428Thu Dec 20 09:54:36 2001 Jeffrey A Law (law@redhat.com)
4429
afabe08c
JL
4430 * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
4431 with HP's compiler.
4432 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
4433 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
4434 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
4435 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
4436
4437 * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
4438 either HP's compilers or GCC.
4439
db521deb
JL
4440 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
4441 a SIGBUS or SIGSEGV.
4442
4443 * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
4444
4445 * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
4446 can be compiled with either HP's compiler or GCC.
4447
cfa88ab7
JL
4448 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
4449 * gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
4450 * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
4451
ca344dff
JL
4452 * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
4453 to match current gdb output. Update due to using auto-solib-limit
4454 for limiting instead of overloading auto-solib-add.
4455 * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
4456 test program.
4457
3f3c6e55 4458 * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
ca344dff
JL
4459 * gdb.hp/gdb.base-hp/dollar.exp: Likewise
4460 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
4461 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
4462 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
4463 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
4464 * gdb.hp/gdb.defects/bs15503.exp: Likewise.
4465 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
4466 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
4467 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
4468 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
4469 * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
4470 * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
3f3c6e55 4471
8fb87725
JL
4472 * gdb.base/annota1.exp: Expect failure for hpux11 when posting
4473 a SIGTRAP to the inferior.
4474
cf599fa7
CV
44752001-12-19 Corinna Vinschen <vinschen@redhat.com>
4476
4477 * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
4478 Substitute call to target_link by call to gdb_compile.
4479
2cd045cd
JL
4480Wed Dec 19 14:10:57 2001 Jeffrey A Law (law@redhat.com)
4481
4482 * gdb.base/break.exp: Fix HP specific search string when testing
4483 backtracing in a called function.
4484
d63a86f8 4485 * gdb.base/constvars.exp: Only set lang to C++ if we're
2cd045cd
JL
4486 compiling the test with HP's compilers.
4487 * gdb.base/volatile.exp: Similarly.
4488
99ebe9ac
JB
44892001-12-19 Jim Blandy <jimb@redhat.com>
4490
4491 * gdb.base/printcmds.exp: Expect the null character to be printed
4492 as '\0', and the '\013' to be printed as '\v'.
4493 * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
4494 * gdb.base/setvar.exp: Same.
4495
b9891b29
JB
44962001-12-17 Jim Blandy <jimb@redhat.com>
4497
0eba65ab
JB
4498 * gdb.base/completion.exp: Rather than completing very long
4499 filenames, which can make the readline library produce output we
4500 don't recognize, cd to the directory first, and then complete
4501 using nice, short relative paths.
4502
6970b5b1
JB
4503 * gdb.base/completion.exp: On some systems, there is, in fact, a
4504 variable named `b' in scope, since GDB treats all static
4505 variables as being in scope. So use `no_var_named_this'
4506 instead of `b'.
4507
b9891b29
JB
4508 * gdb.base/corefile.exp: Recognize the message saying that GDB
4509 can't find the core file's registers as a failure.
4510
e6ccd35f
JSC
45112001-12-13 Jackie Smith Cashion <jsmith@redhat.com>
4512
4513 * gdb.base/commands.exp (user_defined_command_test): Make "show user"
4514 test expect string more specific.
4515
105ba819
CV
45162001-12-13 Corinna Vinschen <vinschen@redhat.com>
4517
4518 * gdb.asm/asm-source.exp: Add support for xstormy16.
4519 * gdb.asm/configure.in: Ditto.
4520 * gdb.asm/configure: Rebuild.
4521 * gdb.asm/xstormy16.inc: New file.
4522
e9e79dd9
FF
45232001-12-10 Fred Fish <fnf@redhat.com>
4524
4525 * gdb.base/maint.exp: Update to match changes in type dumping code.
4526
347dc97d
JB
45272001-12-10 Jim Blandy <jimb@redhat.com>
4528
4529 * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
4530 matching the entry point symbol's name at the beginning of the
4531 line.
4532
5178b9d6
DJ
45332001-12-07 Daniel Jacobowitz <drow@mvista.com>
4534
4535 * gdb.c++/classes.exp, gdb.c++/derivation.exp,
4536 gdb.c++/inherit.exp, gdb.c++/method.exp,
4537 gdb.c++/namespace.exp, gdb.c++/templates.exp,
4538 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
4539 and class layout support.
4540
af890c52
DJ
45412001-12-07 Daniel Jacobowitz <drow@mvista.com>
4542
4543 * gdb.c++/classes.exp: Add test for static member function.
4544 * gdb.c++/misc.cc: Add class with static member function.
4545
7a345fb3
JB
45462001-12-07 Jim Blandy <jimb@redhat.com>
4547
f2e54a80 4548 If GDB says it can't find the struct the function returned, report
8032bf31
JB
4549 those tests as `unsupported'.
4550 * gdb.base/call-rt-st.exp (print_struct_call): New function.
4551 Rewrite subsequent tests to use it.
4552
4553 If GDB says it can't find the struct the function returned, report
f2e54a80
JB
4554 those tests as `unsupported'.
4555 * gdb.base/structs.exp (call_struct_func): New function.
4556 (do_function_calls): Use call_struct_func to call the functions
4557 returning structs.
4558
0bc69509
JB
4559 * gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
4560 whether functions are prototyped or not, so we can't possibly pass
4561 arguments to t_float_values2 properly.
4562
7a345fb3
JB
4563 * gdb.base/break.exp: (test_next_with_recursion): Don't change the
4564 value of `timeout' for targets other than the mips*tx39-*.
4565
edb6ede1
MS
45662001-12-06 Michael Snyder <msnyder@redhat.com>
4567
d63a86f8 4568 * gdb.asm/asm-source.exp: Add tests for info target, info symbol,
edb6ede1
MS
4569 and detect whether the start symbol has a leading underscore.
4570
2d842f13
JB
45712001-12-04 Jim Blandy <jimb@redhat.com>
4572
4573 * gdb.base/completion.exp: Clarify indentation.
4574
68550daf
JB
45752001-12-03 Jim Blandy <jimb@redhat.com>
4576
4577 * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
4578 variables on the S/390, not `.word'.
4579
cd5195a8
JB
45802001-11-30 Jim Blandy <jimb@redhat.com>
4581
4582 Add assembly-source tests for s390-ibm-linux.
4583 * gdb.asm/s390.inc: New file.
4584 * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
4585 the S/390 architecture.
4586 * gdb.asm/configure: Regenerated.
4587
ca9efc90
MS
45882001-11-30 Michael Snyder <msnyder@redhat.com>
4589
4590 * gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
4591 next, info source, info sources, info line, global and static
4592 variables, and static functions.
4593 * gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
4594 * gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
4595 * gdb.asm/asmsrc1.s: Add a static function and some variables.
4596 * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
4597 * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
4598 (gdbasm_leave): Restore frame pointer.
4599 (gdbasm_startup): Copy stack set-up from crt0.S.
4600
d0e66976
FN
46012001-11-26 Fernando Nasser <fnasser@redhat.com>
4602
4603 From 2001-11-12 Jackie Smith Cashion <jsmith@redhat.com>:
4604 * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
4605 to a local (non-static) variable. Copy tstruct.a to a static buffer
4606 and return a pointer to that buffer.
4607 * gdb.base/callfwmall.c (t_structs_a): Ditto.
4608
e2334072
MK
46092001-11-24 Mark Kettenis <kettenis@gnu.org>
4610
4611 * gdb.asm/configure.in: Fix recognition of ix86 target.
4612 * gdb.asm/configure: Regenerate.
4613
756caa3d
MS
46142001-11-21 Michael Snyder <msnyder@redhat.com>
4615
4616 * gdb.asm/sparc.inc: New file.
4617 * gdb.asm/asm-source.exp: Recognize sparc target.
4618 * gdb.asm/configure.in: Recognize sparc target.
4619 * gdb.asm/configure: Regenerate.
d63a86f8 4620
9a4d72d5
MS
46212001-11-21 Michael Snyder <msnyder@redhat.com>
4622
4623 * gdb.asm/m32r.inc: New file.
4624 * gdb.asm/asm-source.exp: Recognize m32r target.
4625 * gdb.asm/configure.in: Recognize m32r target.
4626 * gdb.asm/configure: Regenerate.
4627
a773d1cd
MS
46282001-11-20 Michael Snyder <msnyder@redhat.com>
4629
017ac23d
MS
4630 * gdb.asm/i386.inc: New file.
4631 * gdb.asm/asm-source.exp: Recognize ix86 target.
4632 * gdb.asm/configure.in: Recognize ix86 target.
4633 * gdb.asm/configure: Regenerate.
4634
a773d1cd
MS
4635 * gdb.c++/namespace.exp: Fix quotes in output messages.
4636
bb632afb
MS
46372001-11-14 Michael Snyder <msnyder@redhat.com>
4638
25d559ca 4639 * gdb.base/code-expr.exp: New file. Tests use of the "@code"
bb632afb
MS
4640 qualifier in a type cast expression, to designate an address
4641 in the instruction space (Harvard architecture).
4642
4749e309
MS
46432001-11-13 Michael Snyder <msnyder@redhat.com>
4644
4645 * gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
4646 Tests for expressions using 'const' and 'volatile'.
4647
25050984
CV
46482001-11-13 Corinna Vinschen <vinschen@redhat.com>
4649
4650 * gdb.asm/asm-sources.exp: Allow defining linker flags.
4651
1902c51f
DJ
46522001-11-12 Daniel Jacobowitz <drow@mvista.com>
4653
4654 * lib/mi-support.exp (mi_run_to_helper): Move comments
4655 outside of gdb_expect.
4656
dcf95b47
DJ
46572001-11-11 Daniel Jacobowitz <drow@mvista.com>
4658
4659 * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
4660 mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
4661 mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
4662 mi0_run_to): New functions.
4663 * gdb.mi/mi-simplerun.exp: Use them.
4664 * gdb.mi/mi0-simplerun.exp: Likewise.
4665 * gdb.mi/mi-var-cmd.exp: Likewise.
4666 * gdb.mi/mi0-var-cmd.exp: Likewise.
d63a86f8 4667
45b074e1
AC
46682001-11-10 Andrew Cagney <ac131313@redhat.com>
4669
4670 * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
4671 * gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
4672
bf50d346
AC
46732001-11-09 Andrew Cagney <ac131313@redhat.com>
4674
4675 * gdb.base/restore.exp: Include $expected value in restored test
4676 message.
4677
9383332c
AC
46782001-11-09 Andrew Cagney <ac131313@redhat.com>
4679
4680 * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
4681 implemented.
4682
db62520a
MS
46832001-11-08 Michael Snyder <msnyder@redhat.com>
4684
4685 * gdb.base/callfuncs.exp: Add tests for nested call dummies.
4686 Add pass/fail message for stop at breakpoint in call dummy function.
4687
b5703437
MS
46882001-11-07 Michael Snyder <msnyder@redhat.com>
4689
d63a86f8
RM
4690 * gdb.c++/templates.exp (test_template_breakpoints):
4691 If we get an overload menu, but it does not match what
760f6330 4692 we expect, we still need to issue the "cancel" command.
3b2a7ae5
MS
4693 * gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
4694 making the whitespace optional. Argument for "new" may be
4695 "unsigned" as well as "unsigned int/long".
d63a86f8 4696 * gdb.c++/templates.exp: Replace "const &" with "const ?&",
eef747c0
MS
4697 making the whitespace optional. Also replace "(void) with
4698 "((void|)), making the keyword "void" optional.
d63a86f8 4699 * gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
63f50499
MS
4700 making the whitespace optional. Also replace "(void) with
4701 "((void|)), making the keyword "void" optional.
3bf40917
MS
4702 * gdb.base/callfuncs.c (t_float_values): This function must
4703 _not_ be prototyped, and the following function (t_float_values2)
d63a86f8 4704 must be prototyped (if the compiler supports it), so that GDB
3bf40917
MS
4705 can be tested against both cases. Usually one case involves
4706 promotion of float to double, while the other does not.
4707 * gdb.base/callfwmall.c: Ditto.
b5703437
MS
4708 * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
4709 includes a stack frame for "start".
4710
c8ab4e6d
JB
47112001-11-05 Jim Blandy <jimb@redhat.com>
4712
4713 * gdb.stabs/weird.exp: Delete "p v_comb" test. It assumes that
4714 pointers are 32 bits long, and that offsets of relocs are always
4715 stored in the data (REL-style), and not in the reloc entry itself
4716 (RELA-style).
4717 * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
4718 stabs.
4719
3f08ced9
MS
47202001-11-01 Michael Snyder <msnyder@redhat.com>
4721
4722 * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
4723 and regular expression operators by using quoting.
4724
cbfa24cd
MS
47252001-10-31 Michael Snyder <msnyder@redhat.com>
4726
4727 * gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
4728 depending on what the symbol table contains.
4729 * gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
4730 the output of the ptype command. Similarly, accept both "const &"
4731 and "const&".
4732
aaa68313
CV
47332001-10-31 Corinna Vinschen <vinschen@redhat.com>
4734
4735 * gdb.base/miscexprs.c (main): Add usage of preprocessor
4736 symbol `STORAGE' to allow to choose the storage class of
4737 the local datastructures.
4738 * gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
4739 compiler directive.
4740
91740388
MS
47412001-10-30 Michael Snyder <msnyder@redhat.com>
4742
4743 * gdb.base/jump.exp: Allow it to run for all targets.
4744
1b7c05e7
CV
47452001-10-29 Corinna Vinschen <vinschen@redhat.com>
4746
4747 * gdb.base/call-ar-st.c (print_double_array): Match for loop
4748 with new double_array size.
4749 (main): Change storage class of all local variables to static.
4750 Reduce size of double_array to 9.
4751 * gdb.base/call-ar-st.exp: Increase timeout value.
4752 Change expected output for double array to match new size in
4753 call-ar-st.c.
4754
36a22261
CV
47552001-10-29 Corinna Vinschen <vinschen@redhat.com>
4756
4757 * gdb.base/ending-run.exp: Create identical output when passing
4758 `step to end of run' case. Add regular expression branch satisfying
d63a86f8 4759 Stormy16 target.
36a22261 4760
92b8ae91
MK
47612001-10-28 Mark Kettenis <kettenis@gnu.org>
4762
4763 * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
4764 that we catch the expected failure under Linux/x86.
4765
cb135b83
OF
47662001-10-29 Orjan Friberg <orjanf@axis.com>
4767
4768 * gdb.base/setvar.exp: Escape curly braces.
4769 * gdb.stabs/weird.exp: Ditto.
4770
6884aa54
DJ
47712001-10-27 Daniel Jacobowitz <drow@mvista.com>
4772
4773 * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
4774 * gdm.mi/mi0-hack-cli.exp: Likewise.
4775
0398c9aa
AC
47762001-10-25 Andrew Cagney <ac131313@redhat.com>
4777
4778 * gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
4779 messages.
4780
d20bf2e8
AC
47812001-10-21 Andrew Cagney <ac131313@redhat.com>
4782
4783 * lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
4784 checking MI enabled.
4785
03dd63aa
CV
47862001-10-09 Corinna Vinschen <vinschen@redhat.com>
4787
4788 * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
4789
1d9d99f3
FCE
47902001-10-04 Frank Ch. Eigler <fche@redhat.com>
4791
4792 * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
4793 if gdb child process crashes, just signal an error.
4794
838ae6c4
JB
47952001-10-02 Jim Blandy <jimb@redhat.com>
4796
4797 * lib/gdb.exp (test_xfail_format): Simplify.
4798
4799 * lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
4800 front of the variable name `format'. Simplify `if'.
4801
8f0cbc1c
DJ
48022001-10-01 Daniel Jacobowitz <drow@mvista.com>
4803
4804 * gdb.threads/pthreads.exp: Wait for output and delay
4805 before sending ^C.
4806
1f08dafd
DJ
48072001-10-01 Daniel Jacobowitz <drow@mvista.com>
4808
4809 * gdb.mi/mi-var-display.exp (continue to incr_a): Recognize
4810 some incorrect output instead of timing out.
4811 * gdb.mi/mi-var-display.exp (continue to incr_a): Likewise.
4812
674f90ff
CV
48132001-09-28 Corinna Vinschen <vinschen@redhat.com>
4814
4815 * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
4816 check to allow additional `int'.
4817
9b284272
DJ
48182001-09-27 Daniel Jacobowitz <drow@mvista.com>
4819
4820 * gdb.base/completion.exp: Remove incorrect 'p "a' test.
4821 Add tests for 'p "break' (pass) and 'p "break.' (xfail).
4822
b55a4771
MS
48232001-09-27 Michael Snyder <msnyder@redhat.com>
4824
4825 * lib/gdb.exp (test_debug_format): New proc.
4826 (setup_xfail_format): Use new proc test_debug_format.
4827 * gdb.base/constvars.exp (local_compiler_xfail_check): New
4828 proc; use new service proc test_debug_format.
4829 Replace all other "gcc_compiled" tests with this test.
4830 * gdb.base/volatile.exp (local_compiler_xfail_check): New
4831 proc; use new service proc test_debug_format.
4832 Replace all other "gcc_compiled" tests with this test.
4833
48342001-09-27 Michael Snyder <msnyder@redhat.com>
4835
4836 * gdb.base/cvexpr.exp: New file.
4837 * gdb.base/cvexpr.c: New file
4838 Test for expressions using const and volatile keywords.
4839
4e6667ac
CV
48402001-09-26 Corinna Vinschen <vinschen@redhat.com>
4841
4842 * gdb.base/constvars.exp: Check for different orders of keywords
4843 and additional "int" strings in output.
4844
4f337972
AC
48452001-09-22 Andrew Cagney <ac131313@redhat.com>
4846
4847 * gdb.base/maint.exp: Add "maintenance set/show" to list of valid
4848 responses from "help maint".
4849
2015650d
FCE
48502001-09-19 Frank Ch. Eigler <fche@redhat.com>
4851
4852 * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
4853 to localhost:NNN instead of :NNN, in case Xvfb is listening
4854 only on TCP.
4855
f3bcedc1
CV
48562001-09-19 Corinna Vinschen <vinschen@redhat.com>
4857
4858 * gdb.base/recurse.exp: When checking leaving the watchpoint
4859 scope, recognize when gdb is in function's epilogue and pass.
4860
6b819c92
KS
48612001-09-18 Keith Seitz <keiths@redhat.com>
4862
4863 * lib/insight-support.exp (_gdbtk_export_target_info): Add
4864 support for running tests against sid targets.
4865 (gdbtk_done): Ditto.
4866
a10c9419
CV
48672001-09-18 Corinna Vinschen <vinschen@redhat.com>
4868
4869 * gdb.base/ending-run.c (main): Set stdout buffersize
4870 to the same reasonable value for any target.
4871 * gdb.base/ending-run.exp: Add a regular expression
4872 to make testsuite happy on Sanyo Stormy16 target.
4873
739d0d99
CV
48742001-09-17 Corinna Vinschen <vinschen@redhat.com>
4875
4876 * gdb.base/display.c (do_loops): Add float variable `f'.
4877 Increment f in loop.
4878 * gdb.base/display.exp: Increment timeout by 60 seconds.
4879 Change float display test to use variable `f'.
4880
1b8947f0
JB
48812001-09-17 Jim Blandy <jimb@redhat.com>
4882
4883 * gdb.base/restore.exp: Use temporary breakpoints, to avoid
4884 overflowing the limited breakpoint tables on some ROM monitors
4885 (like the ROM68K).
4886
9890ac81
FCE
48872001-09-15 Frank Ch. Eigler <fche@redhat.com>
4888
4889 * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
4890 the "-ac" (disable access control) flag.
4891
6db765ea
JH
48922001-08-30 Jeff Holcomb <jeffh@redhat.com>
4893
4894 * gdb.base/remote.c: Use a small buffer for targets with 16-bit
4895 ints.
4896
4c32cc04
KS
48972001-08-30 Keith Seitz <keiths@redhat.com>
4898
4899 * lib/gdb.exp: Move all insight-related functionality into
4900 separate file.
4901 * lib/insight-support.exp: New file.
4902
8d6e6f81
FCE
49032001-08-29 Frank Ch. Eigler <fche@redhat.com>
4904
4905 * config/sid.exp (sid_start): Never set sid verbosity; disable
4906 expect_background {} that consumed its stdout; tolerate </dev/null.
4907 Attempt to set endianness override in "sid" protocol mode. Cleanup.
4908
6a90e1d0
AC
49092001-08-18 Andrew Cagney <ac131313@redhat.com>
4910
4911 * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
4912 CLI jump command to start it.
4913 (mi_run_to_main): Fail immediatly when unexpected output.
4914
1759b3c3
AC
49152001-08-18 Andrew Cagney <ac131313@redhat.com>
4916
4917 * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
4918 beginning of function. Fix PR gdb/191.
4919
61d11d80
FCE
49202001-08-16 Frank Ch. Eigler <fche@redhat.com>
4921
4922 * config/sid.exp (sid_start): Don't warn if we cannot figure out
4923 what to force sid endianness to.
4924
942a4df2
KS
49252001-08-15 Keith Seitz <keiths@redhat.com>
4926
4927 * lib/gdb.exp (gdbtk_start): Don't set environment
4928 variables for TCL_LIBRARY and friends. Insight will
4929 now figure these out for itself.
4930
0521c418
MS
49312001-08-02 Michael Snyder <msnyder@redhat.com>
4932
4933 * gdb.base/completion.exp: Remove the symbol "a64l" from
4934 the expect string; this is target-specific, and not related
4935 to what is being tested.
4936
74a9a58a
DB
49372001-08-02 Dave Brolley <brolley@redhat.com>
4938
4939 * config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
4940
c70819fa
MS
49412001-07-25 Michael Snyder <msnyder@redhat.com>
4942
c2b8fa57
MS
4943 * gdb.base/consecutive.exp: New file. Test stepping over
4944 breakpoints on consecutive instructions.
4945 * gdb.base/consecutive.c: New file.
4946
c70819fa
MS
4947 * gdb.base/call-rt-st.exp: Use double-backslash to quote
4948 curly braces in regular expressions.
4949
2b1a1355
MS
49502001-07-25 Michael Snyder <msnyder@redhat.com>
4951
4952 * gdb.base/ending-run.exp: Accept "Program exited normally" as
4953 legitimate output from stepping out of main.
4954
413eca6f
KS
49552001-07-22 Keith Seitz <keiths@redhat.com>
4956
4957 * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
4958 the empty string, do not run the tests.
4959
7e5a9322
SC
49602001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
4961
4962 * gdb.base/long_long.exp: Detect size of pointer. Take into
4963 account 2-byte pointers when testing for p/a results.
4964
de58f10f
SC
49652001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
4966
d63a86f8 4967 * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
de58f10f
SC
4968 and defined to 1K for m68hc11.
4969 (random_data): Reduce table to 1K for embedded platforms (68hc11).
4970 * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
4971 (sizeof_random_data): New variable to tell the size of the data table;
4972 don't test past this size; always run to main.
4973
d6f5fea1
SC
49742001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
4975
4976 * gdb.base/return2.exp: return of long long and double fails for
4977 68HC11; don't execute these tests on that platform.
4978 * gdb.base/return.exp: Return of a double fails for 68hc11.
4979
c477543d
SC
49802001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
4981
4982 * call-ar-st.exp: Use gdb_skip_float_test to avoid executing
4983 tests that print a float.
4984 * call-rt-st.exp: Likewise.
4985
63cf1c79
MK
49862001-07-12 Mark Kettenis <kettenis@gnu.org>
4987
4988 * gdb.base/so-impl-ld.exp: Remove stray space that prevented
4989 running this test on Linux.
4990
112f9ab5
MC
49912001-06-24 Michael Chastain <chastain@redhat.com>
4992
4993 * gdb.base/arithmet.exp: Remove some tests to make all test names
4994 unique.
4995
4970cb0f
MS
49962001-07-03 Michael Snyder <msnyder@redhat.com>
4997
4998 * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
4999 the output of the ptype command.
5000
d85da69f
MS
50012001-07-02 Michael Snyder <msnyder@redhat.com>
5002
4c8a82de
MS
5003 * gdb.base/completion.exp: Don't assume that break.c is the only
5004 source file that may contain functions named "marker".
d85da69f
MS
5005 * gdb.base/corefile.exp: Quote the curly braces in regexp.
5006
8afc772b
AC
50072001-06-28 Andrew Cagney <ac131313@redhat.com>
5008
5009 * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
5010 of files to delete.
5011
5012 From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
5013 * gdb.disasm/h8300s.exp: New file.
5014 gdb.disasm/h8300s.s: Likewise.
5015
cff22675
AC
50162001-06-27 Andrew Cagney <ac131313@redhat.com>
5017
5018 * lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format
5019 empty breakpoint tables.
5020
68c81b54
AC
50212001-06-25 Andrew Cagney <ac131313@redhat.com>
5022
5023 * lib/mi-support.exp: Update args=... part of stop-reason
5024 patterns. Accept either a list or a tuple.
5025
2dd62704
AC
50262001-06-23 Andrew Cagney <ac131313@redhat.com>
5027
5028 * lib/mi-support.exp: Remove local emacs variable defining
5029 change-log-default-name.
5030
b4127474
MC
50312001-06-22 Michael Chastain <chastain@redhat.com>
5032
5033 * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
5034 This is operationally compatible with the previous version.
5035
8dbfb380
JB
50362001-06-13 Jim Blandy <jimb@redhat.com>
5037
5038 * lib/gdb.exp (gdb_test): Doc fix.
5039
f2d8c86d
MC
50402001-06-10 Michael Chastain <chastain@redhat.com>
5041
5042 * gdb.base/exprs.exp: Remove a duplicate test.
5043
81564d34
JB
50442001-06-06 Jim Blandy <jimb@redhat.com>
5045
5046 * gdb.base/return2.exp (main): Use values to test float and double
5047 returns that are not NaN's, to avoid being confused by IEEE
5048 comparison rules.
5049
da55addb
MS
50502001-06-04 Michael Snyder <msnyder@redhat.com>
5051
5052 * gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
d63a86f8 5053 non-zero if control_c fails. Terminate the test on failure,
da55addb
MS
5054 rather than wait for 12 more tests to time out.
5055
42c65987
JB
50562001-06-06 Jim Blandy <jimb@redhat.com>
5057
b18bced9 5058 * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
d63a86f8 5059 Don't forget to match the GDB prompt.
b18bced9 5060
42c65987
JB
5061 * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
5062
5b41e5f0
JB
50632001-06-04 Jim Blandy <jimb@redhat.com>
5064
5065 * gdb.base/help.exp: Update pattern to exclude `print-load-map'
5066 command.
5067
015e046f
KB
50682001-05-31 Kevin Buettner <kevinb@redhat.com>
5069
5070 * gdb.base/annota1.exp (info break): Match four or more spaces
5071 after "Address".
5072
fb1ffbbe
MC
50732001-05-31 Michael Chastain <chastain@redhat.com>
5074
5075 * gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
5076 (dm_type_int_star): Likewise.
5077 (dm_type_long_star): Likewise.
5078 (dm_type_void_star): Likewise.
5079
5ea2a32c
KB
50802001-05-29 Kevin Buettner <kevinb@redhat.com>
5081
5082 * gdb.base/completion.exp (INPUTRC): Set this environment variable
5083 to a known value in order to get consistent results regardless
5084 of the setting of INPUTRC or the presence or contents of .inputrc.
5085
ae23c492
MS
50862001-05-24 Michael Snyder <msnyder@redhat.com>
5087
ac55707e
MS
5088 * gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
5089 Don't require that the main thread and the manager thread are the
5090 first in the list.
5091
ae23c492
MS
5092 * gdb.threads/pthreads.exp (test_startup): Relax test for thread
5093 debugging. If test fails, issue an "unsupported" not a "fail".
5094
400071f1
JB
50952001-05-24 Jim Blandy <jimb@redhat.com>
5096
5097 Don't assume that short is shorter than int.
5098 * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
5099 assume that shorts are smaller than ints. On a 16-bit machine,
d63a86f8 5100 this isn't true.
400071f1
JB
5101 ("print unsigned char == (~0)"): Add test that verifies that ~0,
5102 an int, is not equal to ~0 stored in an unsigned char. This tests
5103 the same thing that the previous test meant to, but works on
5104 16-bit machines, too.
5105 ("print unsigned char != (~0)"): Same test, complemented.
5106
0816a3e5
MS
51072001-05-24 Michael Snyder <msnyder@redhat.com>
5108
5109 * gdb.threads/pthreads.exp (all_threads_running): Add an explicit
d63a86f8 5110 test for (full_coverage == 0). This makes the test run faster,
0816a3e5
MS
5111 and prevents dejagnu getting out of step.
5112
f6dc23a9
KB
51132001-05-23 Kevin Buettner <kevinb@redhat.com>
5114
5115 * gdb.base/finish.exp (finish_void): Revise pattern for
5116 stopping on the call statement to not permit stopping at
5117 the start of the instructions comprising the call sequence.
5118
7dbd117d
MC
51192001-05-19 Michael Chastain <chastain@redhat.com>
5120
5121 * gdb.base/callfuncs.exp: Make all test names unique.
5122 * gdb.base/commands.exp: Make all test names unique.
5123 * gdb.base/condbreak.exp: Make all test names unique.
5124 * gdb.base/dbx.exp: Make all test names unique.
5125 * gdb.base/default.exp: Make all test names unique.
5126 * gdb.base/define.exp: Make all test names unique. Conform some FAIL
5127 and TIMEOUT messages to their corresponding PASS message.
5128 * gdb.base/ending-run.exp: Make all test names unique.
5129 * gdb.base/long_long.exp: Remove duplicate test.
5130
6b0b0a9e
KB
51312001-05-21 Kevin Buettner <kevinb@redhat.com>
5132
5133 * gdb.base/finish.exp (finish_void): Allow "finish" command to
5134 stop on the call statement as well as the statement after the
5135 call.
5136
2caa35cb
MS
51372001-05-21 Michael Snyder <msnyder@redhat.com>
5138
5139 * gdb.base/long_long.exp: Allow for targets with 4-byte short.
5140
40713331
EZ
51412001-05-10 Elena Zannoni <ezannoni@redhat.com>
5142
5143 * gdb.base/completion.exp: Revamp test. Make it execute on all
5144 platforms.
5145
c2c1be8d
EZ
51462001-05-10 Elena Zannoni <ezannoni@redhat.com>
5147
2c9cd303
EZ
5148 * config/gdbserver.exp (gdb_load): Handle the case
5149 in which the arguments to gdbserver are given in the
5150 baseboard configuration file.
5151 Also handle the case in which the server needs to do a
5152 load.
5153
9671de48
KS
51542001-05-07 Keith Seitz <keiths@cygnus.com>
5155
5156 * lib/gdb.exp (gdbtk_initialize_display): New proc which will
5157 set up the display for testing.
5158 (gdbtk_start): Convert all paths to paths that tcl will like.
5159 Export target information to environment.
5160 (_gdbtk_xvfb_init): New proc to start Xvfb if available and
5161 necessary.
5162 (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
5163 (to_tcl_path): New proc to convert a given pathname into
5164 a path acceptible as an argument to a tcl command.
5165 (_gdbtk_export_target_info): New proc to export target info
5166 into the environment for gdbtk testing.
5167 (gdbtk_done): New proc to signal end-of-test.
5168
5a360f47
JB
51692001-05-06 Jim Blandy <jimb@redhat.com>
5170
5171 * restore.c: Make the code of caller0 correspond to its comment.
5172
66c756c6
MS
51732001-05-03 Michael Snyder <msnyder@redhat.com>
5174
5175 * config/sid.exp (gdb_target_sid): Check for error messages.
5176 On error or timeout, don't make expect exit (which will terminate
5177 all subsequent tests); instead just make gdb exit.
d63a86f8 5178 (gdb_load): Check for error messages. On error or timeout,
66c756c6
MS
5179 return a negative value.
5180
a966fde5
JB
51812001-04-24 Jim Blandy <jimb@redhat.com>
5182
851c18e0
JB
5183 * gdb.c++/templates.exp: If we see the prompt for the overload
5184 list, but we haven't recognized any of the longer patterns,
5185 arrange for this test to fail, not hang.
5186
a966fde5
JB
5187 * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
5188 variations.
5189
db144853
MC
51902001-04-22 Michael Chastain <chastain@redhat.com>
5191
5192 * gdb.c++/local.exp: Use the 'runto' library function.
5193 * gdb.c++/namespace.exp: Likewise.
5194 * gdb.c++/overload.exp: Likewise.
5195
3207ec21
KB
51962001-03-26 Kevin Buettner <kevinb@redhat.com>
5197
5198 * gdb.base/Makefile.in (EXECUTABLES): Add step-line.
5199 * gdb.base/step-line.exp: New file. Test step/next in presence of
5200 #line directives.
5201 * gdb.base/step-line.c: New file. Test program for the above.
5202 * gdb.base/step-line.inp: New file. We pretend that this file has
5203 been transformed by some other tool into step-line.c.
5204
13b57657
JB
52052001-03-21 Jim Blandy <jimb@redhat.com>
5206
5207 * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
5208 unmangled operator names.
5209
754cbe1c
JB
52102001-03-20 Jim Blandy <jimb@redhat.com>
5211
5212 * gdb.threads/linux-dp.exp: Recognize an additional message
5213 generated by GDB when it doesn't understand how to debug threads
5214 on the target system.
5215
177495c9
AC
52162001-03-19 Andrew Cagney <ac131313@redhat.com>
5217
5218 * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
5219
f266096b
MC
52202001-03-12 Michael Chastain <chastain@redhat.com>
5221
5222 * gdb.c++/derivation.exp: Use the 'runto' library function.
5223
cac3c2ff
MC
52242001-03-12 Michael Chastain <chastain@redhat.com>
5225
5226 * gdb.c++/annota2.exp: Fix regular expression for "post-query".
5227
b6c11a24
MC
52282001-02-24 Michael Chastain <chastain@redhat.com>
5229
5230 * gdb.c++/ref-types.exp: Change handwritten code to library
5231 function 'runto'.
5232
6bae5bce
OF
52332001-03-16 Orjan Friberg <orjanf@axis.com>
5234
5235 * gdb.base/signals.exp: Set count to 0 explicitly.
5236
0015fd9a
MS
52372001-03-15 Mark Salter <msalter@redhat.com>
5238
5239 * config/monitor.exp (gdb_target_cmd): Add explicit error return.
5240 (gdb_target_monitor): Add check of gdb_target_cmd return value.
880a15ee
MS
5241 (gdb_load): Add support for additional target_info: gdb_download_size
5242 and gdb_load_timeout.
0015fd9a 5243
fc33412a
DT
5244Thu Mar 8 16:06:00 2001 David Taylor <taylor@redhat.com>
5245
5246 * gdb.base/annota1.exp: Move test of isnative to earlier in the
5247 file -- to prevent failing when the compile fails but we have no
5248 intention of running the tests anyway.
5249
5250 * gdb.base/long_long.exp: Test target_info for no_long_long, skip
5251 tests if set.
5252
5253 * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
5254 integers.
5255
5256 * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
5257 * gdb.c++/namespace.exp: Ditto.
5258
115f06de
OF
52592001-03-07 Orjan Friberg <orjanf@axis.com>
5260
5261 * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
5262 * gdb.base/pointers.exp: Relax pattern match of decimals.
5263
b6ba6518
KB
52642001-03-06 Kevin Buettner <kevinb@redhat.com>
5265
5266 * Makefile.in, config/abug.exp, config/cfdbug.exp,
5267 config/cpu32bug.exp, config/dve.exp, config/est.exp,
5268 config/gdbserver.exp, config/hmsirom.exp, config/hppro.exp,
5269 config/i960.exp, config/m32r.exp, config/mn10300-eval.exp,
5270 config/monitor.exp, config/proelf.exp, config/rom68k.exp,
5271 config/sh.exp, config/sid.exp, config/slite.exp,
5272 config/sparclet.exp, config/udi.exp, config/unknown.exp,
5273 config/vr4300.exp, config/vr5000.exp, config/vx.exp,
5274 config/vxworks.exp, config/vxworks29k.exp,
5275 gdb.asm/asm-source.exp, gdb.base/a2-run.exp,
5276 gdb.base/all-bin.exp, gdb.base/annota1.exp,
5277 gdb.base/arithmet.exp, gdb.base/assign.exp,
5278 gdb.base/async.exp, gdb.base/attach.exp,
5279 gdb.base/bitfields.exp, gdb.base/bitops.exp,
5280 gdb.base/break.exp, gdb.base/call-ar-st.exp,
5281 gdb.base/call-rt-st.exp, gdb.base/call-strs.exp,
5282 gdb.base/callfuncs.exp, gdb.base/callfwmall.exp,
5283 gdb.base/commands.exp, gdb.base/completion.exp,
5284 gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
5285 gdb.base/constvars.exp, gdb.base/corefile.exp,
5286 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
5287 gdb.base/display.exp, gdb.base/ena-dis-br.exp,
5288 gdb.base/ending-run.exp, gdb.base/environ.exp,
5289 gdb.base/eval-skip.exp, gdb.base/exprs.exp,
5290 gdb.base/finish.exp, gdb.base/foll-exec.exp,
5291 gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp,
5292 gdb.base/funcargs.exp, gdb.base/help.exp,
5293 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp,
5294 gdb.base/logical.exp, gdb.base/long_long.exp,
5295 gdb.base/maint.exp, gdb.base/mips_pro.exp,
5296 gdb.base/miscexprs.exp, gdb.base/nodebug.exp,
5297 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp,
5298 gdb.base/pointers.exp, gdb.base/printcmds.exp,
5299 gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp,
5300 gdb.base/regs.exp, gdb.base/relational.exp,
5301 gdb.base/remote.exp, gdb.base/reread.exp,
5302 gdb.base/restore.exp, gdb.base/return2.exp,
5303 gdb.base/scope.exp, gdb.base/sect-cmd.exp,
5304 gdb.base/selftest.exp, gdb.base/setshow.exp,
5305 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
5306 gdb.base/sigall.exp, gdb.base/signals.exp,
5307 gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp,
5308 gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
5309 gdb.base/step-test.exp, gdb.base/structs.c,
5310 gdb.base/structs.exp, gdb.base/structs2.exp,
5311 gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp,
5312 gdb.base/volatile.exp, gdb.base/watchpoint.exp,
5313 gdb.base/whatis-exp.exp, gdb.base/whatis.exp,
5314 gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
5315 gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.exp,
5316 gdb.c++/derivation.exp, gdb.c++/inherit.exp,
5317 gdb.c++/local.exp, gdb.c++/member-ptr.exp, gdb.c++/method.exp,
5318 gdb.c++/misc.exp, gdb.c++/namespace.exp, gdb.c++/overload.exp,
5319 gdb.c++/ref-types.exp, gdb.c++/templates.exp,
5320 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp,
5321 gdb.disasm/am33.exp, gdb.disasm/hppa.exp,
5322 gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp,
5323 gdb.fortran/types.exp, gdb.java/jmisc.exp,
5324 gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
5325 gdb.stabs/weird.exp, gdb.threads/linux-dp.exp,
5326 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
5327 gdb.trace/circ.exp, gdb.trace/collection.exp,
5328 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
5329 gdb.trace/limits.exp, gdb.trace/packetlen.exp,
5330 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp,
5331 gdb.trace/report.exp, gdb.trace/save-trace.exp,
5332 gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
5333 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
5334 lib/gdb.exp, lib/mi-support.exp: Update/correct copyright
5335 notices.
5336
dc96c6c7 53372001-02-27 Michael Snyder <msnyder@cygnus.com>
d8f92b1f
MS
5338
5339 * gdb.base/varargs.c (find_max_double): Fix printf format string:
5340 first arg is int not float.
5341
dc96c6c7 53422001-02-22 Michael Snyder <msnyder@cygnus.com>
40f33b9b
MS
5343
5344 * gdb.base/reread.exp: Unsupported for non-native targets;
5345 doesn't work for remote debugging.
5346
9b0c4aeb
FN
53472001-02-19 Fernando Nasser <fnasser@redhat.com>
5348
5349 From Drew Moseley <dmoseley@redhat.com>
5350 * gdb.base/ending-run.exp: Properly handle the BSP state when
5351 stepping past the end of main.
5352
02aa71d5
MC
53532001-02-19 John Moore <jmoore@redhat.com>
5354
5355 * gdb.base/commands.exp (infrun_breakpoint_command_test):
5356 Converted HPUX fix for non-expected items following multiple
5357 step commands into general solution for all platforms.
5358
1fa449a4
MC
53592001-02-18 Michael Chastain <chastain@redhat.com>
5360
5361 * gdb.c++/classes.exp (do_tests): Change runto statements
5362 from "runto 'foo(void)'" to "runto 'foo'". This makes the
5363 statements demangler agnostic.
5364 * gdb.c++/virtfunc.exp (do_tests): Likewise.
5365 (gdb_virtfunc_restart): Likewise.
5366
b2f9ec70
MC
53672001-02-14 Michael Chastain <chastain@redhat.com>
5368
5369 * gdb.c++/inherit.exp (do_tests): Change runto statements
5370 from "runto 'foo(void)'" to "runto 'foo'". This makes the
5371 statements demangler agnostic.
5372
cf74b8ca
AC
5373Sun Feb 4 17:32:21 2001 Andrew Cagney <cagney@redhat.com>
5374
5375 * gdb.threads/pthreads.exp: Unify pass/fail messages for
5376 ``continue to bkpt at common_routine in thread 2'' and ``stopped
5377 before calling common_routine 15 times'' tests.
5378
99f78f56
MC
53792001-02-11 Michael Chastain <chastain@redhat.com>
5380
5381 * gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
5382 Helps the test script figure out which demangler is in use.
5383 (dm_type_foo_ref): Ditto.
5384 (dm_type_int_star): Ditto.
5385 (dm_type_long_star): Ditto.
5386 (dm_type_unsigned_int): Ditto.
5387 (dm_type_void): Ditto.
5388 (dm_type_void_star): Ditto.
99707966 5389 * gdb.base/cplusfuncs.exp (probe_demangler): New function.
99f78f56
MC
5390 Probe the gdb demangler and set variables to accommodate
5391 formatting differences.
5392 (info_func_regexp): New function. Same as info_func, but
5393 matches against a regexp.
5394 (info_func): Match against a literal string.
5395 (print_addr_2): New function. Match against a literal string,
5396 which can be different from the input to gdb.
5397 (print_addr): Simply call print_addr_2 with the same argument twice.
5398 (test_lookup_operator_functions): Use demangler formatting variables.
5399 Blow away the xfails and workarounds for gnats gdb bug gdb/18. Sort
5400 the tests in the same order as the C++ class declaration.
5401 (test_paddr_operator_functions): Ditto.
5402 (test_paddr_overloaded_functions): Ditto.
5403 (test_paddr_hairy_functions): Use demangler formatting variables.
5404 Add reference to gdb/19 for related tests.
5405 (do_tests): Call probe_demangler.
5406
1de8f023
KB
54072001-01-30 Kevin Buettner <kevinb@redhat.com>
5408
5409 * gdb.c++/templates.cc (printf): Remove unused function definition.
5410
ca3f91ed
MS
54112001-01-26 Felix Lee <flee@redhat.com>
5412
5413 * sid.exp (sid_exit): Pass host, not target, to remote_close.
5414
54152001-01-25 matthew green <mrg@redhat.com>
5416
5417 * config/sid.exp (sid_start): Call `remote_push_conn' after firing
5418 up sid.
5419 (sid_exit): Call `remote_pop_conn' after GDB is gone.
5420
54212001-01-25 matthew green <mrg@redhat.com>
5422
5423 * config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.'
d63a86f8 5424 Deprecate $sid_spawn_id.
ca3f91ed
MS
5425 (sid_exit): Remove code necessary only for `spawn.'
5426
54272001-01-25 matthew green <mrg@redhat.com>
5428
5429 * config/sid.exp (sid_start): Handle sim,protocol of `sid.'
5430
fb18ec4a
MC
54312001-01-28 Michael Chastain <chastain@redhat.com>
5432
5433 * gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
5434 to call when tests fail. It takes gdb out of the overloaded
5435 function choice menu back to the main prompt, so that the test
5436 program stays synchronized.
5437 (set_bp_overloaded): New proc to collect all the common
5438 code for setting a breakpoint on an overloaded name. Calls
5439 take_gdb_out_of_choice_menu when needed.
5440 (menu_overload1arg): New variable to collect the repeated
5441 instances of the expected menu for an overloaded name. Change
5442 the regular expression to handle changes in g++ type encoding:
5443 "void" can be either "void" or "", and "unsigned int" can be
5444 either "unsigned int" or "unsigned".
5445 (continue_to_bp_overloaded): Change regular expressions to handle
5446 changes in g++ type encoding.
5447 (no proc): Call take_gdb_out_of_choice_menu when needed.
5448 Remove redundant calls to "info break". Accept either "canceled"
5449 or "cancelled". Change regular expressions in "info break"
5450 calls to handle changes in g++ type encoding. Give all tests
5451 unique strings.
5452
9c646a6e
BE
54532001-01-17 Ben Elliston <bje@redhat.com>
5454
5455 * config/sid.exp: New file.
5456
9549d9c1
AC
5457Fri Jan 12 18:29:01 2001 Andrew Cagney <cagney@b1.cygnus.com>
5458
5459 * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
5460
dc96c6c7 54612000-12-21 Michael Snyder <msnyder@cygnus.com>
315f8b0e
MS
5462
5463 * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
5464 Add a RE to accept a non-ascii char if one is ever presented.
5465
b4df4f68
FN
54662000-12-20 Fernando Nasser <fnasser@redhat.com>
5467
297dd0fd 5468 * lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
b4df4f68 5469
dc96c6c7 54702000-12-18 Michael Snyder <msnyder@cygnus.com>
49c890fc 5471
d63a86f8 5472 * gdb.base/setvar.exp: Use double '\\' to quote curly braces
49c890fc
MS
5473 in regexp. One '\' does not suffice on Linux.
5474
4a7bddb6
MC
54752000-12-09 Michael Chastain <chastain@redhat.com>
5476
5477 * gdb.base/break.exp (test_clear_command): Use a marker function
5478 rather than 'main' for the test function. Also move this
5479 test to an execution point where the marker function names are
5480 guaranteed to be bound to functions. (Executing tests after a
5481 'finish' from main runs into name conflicts with local names
5482 in __libc_start_main).
5483
dc96c6c7 54842000-12-07 Michael Snyder <msnyder@cygnus.com>
efb66345
MS
5485
5486 * gdb.base/finish.exp: New test for gdb's "finish" command.
5487 * gdb.base/return2.exp: New test for gdb's "return" command.
5488 * gdb.base/return2.c: New source file for above.
5489
dc96c6c7 54902000-12-05 Michael Snyder <msnyder@cygnus.com>
3c077de9
MS
5491
5492 * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
5493 * gdb.base/miscexprs.exp: Ditto.
5494 * gdb.base/pointers.exp: Ditto.
5495 * gdb.c++/derivation.exp: Ditto.
5496 * gdb.c++/local.exp: Ditto.
5497 * gdb.c++/namespace.exp: Ditto.
5498 * gdb.c++/overload.exp: Ditto.
5499 * gdb.c++/ref-types.exp: Ditto.
5500
dc96c6c7 55012000-12-05 Michael Snyder <msnyder@cygnus.com>
660fd469
MS
5502
5503 * gdb.base/constvars.exp: Test result of "up" command.
5504 * gdb.base/miscexprs.exp: Ditto.
5505 * gdb.base/pointers.exp: Ditto.
5506 * gdb.base/scope.exp: Ditto.
5507 * gdb.c++/derivation.exp: Ditto.
5508 * gdb.c++/local.exp: Ditto.
5509 * gdb.c++/namespace.exp: Ditto.
5510 * gdb.c++/overload.exp: Ditto.
5511 * gdb.c++/ref-types.exp: Ditto.
5512
44097287
FN
55132000-11-22 Michael Chastain <chastain@redhat.com>
5514
5515 * mips_pro.exp: Accept either "middle -> top -> main" or
5516 "middle -> main" in the backtrace, because gcc can optimize
5517 tail calls to jumps. Remove setup_xfail for the hppa case.
5518 Add a comment with the original warning messages from PR 3016,
5519 which was filed in 1993, to preserve them for posterity.
5520
9d2e1bab
ND
55212000-11-17 Nick Duffek <nsd@redhat.com>
5522
5523 * lib/gdb.exp (gdb_test): Override timeout with board info.
5524
1aca8eb7
ND
55252000-11-17 Nick Duffek <nsd@redhat.com>
5526
5527 * gdb.base/display.exp: Don't kill running stub. Add "again" to
5528 the second kill and detach messages.
5529
93076499
ND
55302000-11-17 Nick Duffek <nsd@redhat.com>
5531
5532 * configure.in: Add AC_EXEEXT.
5533 * configure: Regenerate.
5534 * Makefile.in (just-check): Export EXEEXT.
5535 * lib/gdb.exp ($EXEEXT): Import from environment.
5536 * gdb.base/maint.exp: Expect $EXEEXT in executable name. Don't
5537 expect "maint dump-me" on Cygwin.
5538 * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
5539 $EXEEXT.
5540
30e87cd3
ND
55412000-11-17 Nick Duffek <nsd@redhat.com>
5542
5543 * gdb.base/break.exp: Test backtrace and finish from called
5544 function on all platforms, not just HP-UX.
5545
dc96c6c7 55462000-11-03 Michael Snyder <msnyder@cygnus.com>
08e706b1
MS
5547
5548 * config/monitor.exp (gdb_target_cmd): Abstracts some of the
5549 code from gdb_target_monitor, so it can be used independantly
5550 for gdbserver. Also comment out an unnecessary PUTS.
d63a86f8 5551
dc96c6c7 55522000-11-03 Michael Snyder <msnyder@cygnus.com>
958a4e4c
MS
5553
5554 * gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
5555 * gdb.base/corefile.exp: Expect the message "Program is being
5556 debugged already" when we send the "corefile" command, since
5557 the preceeding gdb_load may have connected gdb to a remote target.
5558 * gdb.base/display.exp: Disable hardware watchpoints if new
5559 board info variable "no_hardware_watchpoints" is true.
5560 Replace single-letter commands with more readable ones.
5561 * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
5562 if new board info variable "no_hardware_watchpoints" is true.
5563 * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
5564 to see if stdio (printf) testing is possible.
5565 * gdb.base/watchpoint.exp: Disable hardware watchpoints if new
5566 board info variable "no_hardware_watchpoints" is true. Use new
5567 proc "gdb_skip_stdio_tests" to see if printf tests are possible.
5568
39124dea
FN
55692000-11-13 Fernando Nasser <fnasser@redhat.com>
5570
5571 From Orjan Friberg <orjanf@axis.com>:
5572 * gdb.base/printcmds.exp: Escape curly braces followed by a number
5573 in array print pattern match.
5574
a9e2e984
FN
55752000-11-09 Fernando Nasser <fnasser@redhat.com>
5576
5577 * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
5578 spelling "cancelled" to U.S. spelling "canceled" to match changes
5579 made to gdb.
5580 * gdb.c++/ovldbreak.exp: Ditto.
5581
c7db355b
PS
55822000-11-06 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
5583
5584 * gdb.base/callfuncs.c (main): Moved to end of file, call
5585 t_double_values to initialize the FPU before inferior calls are made.
5586 * gdb.base/callfuncs.exp: Test for register preservation after calling
5587 inferior functions. Add tests for continuining, finishing and
5588 returning from a stop in a call dummy.
5589
dc96c6c7 55902000-10-24 Michael Snyder <msnyder@cygnus.com>
42f5c13f
MS
5591
5592 * gdb.base/commands.exp: Break up long lines, and re-indent.
5593
dc96c6c7 55942000-10-19 Michael Snyder <msnyder@cygnus.com>
ae0323a8
MS
5595
5596 * config/gdbserver.exp: Rewritten from the ground up, to make it
5597 compatible with the current dejagnu tree, and to make it work with
5598 the new "gdbserver" in libremote.
5599
dc96c6c7 56002000-10-16 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
5601
5602 * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
5603 * gdb.base/varargs.exp: Skip entire test if no printf support.
5604 * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
5605 * gdb.base/shlib-call.exp: Skip several tests if no printf support.
5606
dc96c6c7 56072000-10-13 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
5608
5609 * lib/gdb.exp (gdb_skip_float_test): New proc. Skip test if
5610 no floating point support.
5611 (gdb_skip_stdio_test): New proc. Skip test if no stdio support.
5612 * gdb.base/call-ar-st.exp: Use above procs to skip tests.
5613 * gdb.base/call-rt-st.exp: Ditto.
5614 * gdb.base/call-strs.exp: Ditto.
5615
bac5fc66
JG
56162000-08-02 Jimmy Guo <guo@hpcleara.cup.hp.com>
5617
5618 * gdb.base/sizeof.c: include <stdio.h>.
5619
5620 * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
5621 'finish', otherwise uncaptured gdb_prompt would potentially
5622 throw remaining test points out of sync.
5623
b22a6027
SB
56242000-07-26 Scott Bambrough <scottb@netwinder.org>
5625
5626 * gdb.base/recurse.exp: Run tests for all targets.
5627 * gdb.base/so-impl-ld.exp: Added wildcard to handle the
5628 gnu-oldld case on ARM.
5629 * gdb.base/watchpoint.exp (test_stepping): Clear xfail
5630 for ARM targets.
d63a86f8 5631
d8231941
AG
5632Mon Jul 24 07:46:02 CDT 2000 Clinton Popetz <cpopetz@cygnus.com>
5633
5634 * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
5635 * gdb.java/configure: Rebuild.
5636
8caabe69
AG
5637Sun Jul 23 21:42:34 2000 Anthony Green <green@redhat.com>
5638
5639 * gdb.java/jv-exp.exp: New file.
5640
9d273ca3
AG
5641Sun Jul 23 21:02:42 2000 Anthony Green <green@redhat.com>
5642
5643 * configure: Rebuilt.
5644 * configure.in (configdirs): Add gdb.java.
5645 * gdb.java/jmisc.java: New file.
5646 * gdb.java/jmisc.exp: New file.
5647 * gdb.java/Makefile.in: New file.
5648 * gdb.java/configure: Rebuilt.
5649 * gdb.java/configure.in: New file.
5650 * lib/java.exp: New file.
5651
4f823a66
AC
5652Wed Jul 12 18:14:29 2000 Andrew Cagney <cagney@b1.cygnus.com>
5653
5654 * gdb.base/exprs.exp: Test casts to a pointer including over and
5655 underflow.
5656
2391e11d
AC
5657Thu Jul 13 11:52:53 2000 Andrew Cagney <cagney@b1.cygnus.com>
5658
5659 * gdb.base/sizeof.exp, gdb.base/sizeof.c: New files. Compare GDB
5660 and the compilers sizes.
5661
54602222
ND
56622000-07-09 Nick Duffek <nsd@redhat.com>
5663
5664 * gdb.c++/misc.cc (class ClassParam, class_param): Define.
5665 (use_methods): New function.
5666 (main): Call use_methods().
5667 * gdb.c++/classes.exp (test_method_param_class): New procedure.
5668 (do_tests): Call test_method_param_class.
5669
2bec0572
ND
56702000-07-09 Nick Duffek <nsd@redhat.com>
5671
5672 * gdb.c++/classes.exp (test_nonexistant_members): Fix name
5673 spelling.
5674 (test_enums): New procedure. Move enum tests from end of script
5675 to here. Set breakpoint on function name instead of line number.
5676 * gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
5677 (enums2): New marker function.
5678 (enums1): New function.
5679 (main): Call enums1(). Move enum tests to enums1().
5680
78492fde
AC
5681Tue Jul 4 03:43:49 2000 Andrew Cagney <cagney@b1.cygnus.com>
5682
5683 * gdb.asm/asm-source.exp: Use raw AS/LD instead of CC to
5684 compile/link program. Update line numbers.
5685 * gdb.asm/d10v.inc: Define ``startup''.
5686 * gdb.asm/asmsrc1.s: Add definition of _start.
d63a86f8 5687
49a2cef8
AC
5688Fri Jun 23 17:45:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
5689
5690 * gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
5691
3e6c8688
EZ
56922000-06-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5693
5694 * gdb.base/maint.exp: Add 'maint print architecture' item to output
5695 of 'help maint print' command.
5696
9ff5cbe9
AC
5697Fri Jun 16 18:22:05 2000 Andrew Cagney <cagney@b1.cygnus.com>
5698
5699 * gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
5700 they use gdb_expect_list.
5701
17c579bd
AC
5702Wed Jun 7 13:02:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
5703
5704 * gdb.base/commands.exp: Use ``set remote
5705 memory-read-packet-size'' instead of ``set endian big'' to test
5706 long commands.
5707
e6d71bf3
DB
57082000-06-03 Daniel Berlin <dan@cgsoftware.com>
5709
5710 * gdb.c++/templates.exp (do_tests): Make all of these work under
d63a86f8 5711 g++, and stop skipping them.
e6d71bf3
DB
5712
5713 * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
5714 work under g++.
5715
d63a86f8 5716 * gdb.c++/misc.cc: Fix ambiguous initialization with correct
e5f9ba7b
MS
5717 initialization.
5718
dc96c6c7 57192000-06-02 Michael Snyder <msnyder@cygnus.com>
7346e70f
MS
5720
5721 * gdb.base/annota1.exp (run until main breakpoint): Loosen up
5722 the regular expression: accept an (almost) arbitrary sequence of
5723 "frames-invalid" and "breakpoints-invalid" messages both before
5724 and after the "starting" message.
5725
dc96c6c7 57262000-06-02 Michael Snyder <msnyder@cygnus.com>
e5f9ba7b
MS
5727
5728 * gdb.c++/local.exp: This test has never been known to work with g++.
e6d71bf3 5729
dc96c6c7 57302000-05-18 Michael Snyder <msnyder@cygnus.com>
0a791409
MS
5731
5732 * gdb.base/annota1.exp (annotate-signal-handler-caller):
5733 Relax the regular expression a little, make it pass on Solaris 8.
5734
8216cda9
KB
57352000-05-12 Kevin Buettner <kevinb@redhat.com>
5736
5737 * gdb.base/step-test.exp: On IA-64 targets, when stepping out of
d63a86f8 5738 a call, do not require that gdb stop on the line after the call.
8216cda9
KB
5739 Instead, it is permissible for gdb to stop on the line of the
5740 call itself.
5741
1a570b2f
MS
57422000-05-12 Michael Snyder <msnyder@.cygnus.com>
5743
5744 * gdb.base/break.exp (bp on small function, optimized file):
5745 Add a second pass pattern. The behavior differs here between stabs
5746 and dwarf for one-line functions. Stabs preserves two line symbols
5747 (one before the prologue and one after) with the same line number,
5748 but dwarf regards these as duplicates and discards one of them.
5749 Therefore the address after the prologue (where the breakpoint is)
5750 has no exactly matching line symbol, and GDB reports the breakpoint
5751 as if it were in the middle of a line rather than at the beginning.
5752
dc96c6c7 57532000-05-08 Michael Snyder <msnyder@cygnus.com>
89cb06a2 5754
d63a86f8 5755 * gdb.base/interrupt.exp: Make "pass" message say "send"
89cb06a2
MS
5756 rather than "send_gdb" (for consistancy).
5757
7d418785
AC
5758Mon May 1 15:37:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
5759
5760 From 2000-04-28 Andreas Jaeger <aj@suse.de>:
5761 * gdb.c++/templates.cc: Properly check for GCC version number.
5762 * lib/compiler.cc: Likewise
5763
dc96c6c7 57642000-04-28 Michael Snyder <msnyder@cygnus.com>
e919ea79 5765
d63a86f8 5766 * gdb.base/break.exp: When compiled with -O2 optimization,
e919ea79
MS
5767 gdb may not stop at the first line of main, due to code motion.
5768
dc96c6c7 57692000-04-26 Michael Snyder <msnyder@cygnus.com>
1960c400
MS
5770
5771 * gdb.base/call-ar-st.exp: Bail out if target is sparclet.
5772 This test depends on parsing the printf output from the target.
5773 Since the sparclet stub doesn't do stdio, this will never work.
5774 * gdb.base/call-rt-st.exp: ditto.
5775 * gdb.base/call-strs: ditto.
5776
dc96c6c7 57772000-04-24 Michael Snyder <msnyder@cygnus.com>
b84b7669
MS
5778
5779 * gdb.base/miscexprs.exp: make sizeof long array test portable.
5780
5781 * gdb.base/ending-run.exp: After connecting to a remote target,
5782 but before running, the target will appear to be in a random
5783 location. Specify both a file and a line for breakpoints.
5784 Also, the function that calls main may be called 'init'
5785 rather than 'start'.
5786
a5a51225
EZ
57872000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5788
5789 * gdb.base/help.exp: Update output for add-symbol-file command.
5790
7930cc7c
FN
57912000-04-10 Fernando Nasser <fnasser@cygnus.com>
5792
5793 From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
5794 * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
5795
23e37ab1
C
57962000-04-07 J.T. Conklin <jtc@redback.com>
5797
e93c542c
C
5798 * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
5799
23e37ab1
C
5800 * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
5801
591b8fa3
PDM
5802Thu Mar 30 13:26:19 2000 Philippe De Muyter <phdm@macqel.be>
5803
5804 * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
5805 values that can be represented exactly.
5806 * gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
5807 above change, and to not check against the directory part of the source
5808 file name.
5809 (step into print_long_arg_list): Likewise.
5810 (print print_small_structs from print_long_arg_list): Likewise.
5811 (print print_long_arg_list): Likewise.
5812
7a495180
EZ
58132000-03-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5814
30b53638 5815 * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
7a495180 5816
beb998c6
AC
5817Mon Mar 27 14:46:37 2000 Andrew Cagney <cagney@b1.cygnus.com>
5818
5819 * ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
5820
1c689132
DB
58212000-03-25 Daniel Berlin <dan@cgsoftware.com>
5822
5823 * gdb.base/commands.exp (deprecated_command_test): Add test for
5824 deprecate with no arguments.
5825
c1790a9d
JL
58262000-03-24 Jonathan Larmour <jlarmour@redhat.co.uk>
5827
5828 * gdb.base/break.exp: Add new test for setting breakpoints on
5829 optimized code so we can test breakpoints work even when function
5830 prologues may be optimized away
5831
003ba290
FN
58322000-03-23 Fernando Nasser <fnasser@totem.to.cygnus.com>
5833
5834 From David Whedon <dwhedon@gordian.com>
5835 * gdb.base/commands.exp : Added command deprecator tests.
5836
6837a0a2
DB
58372000-03-22 Daniel Berlin <dan@cgsoftware.com>
5838
5839 * gdb.base/help.exp: Added test for new apropos command.
5840
b9593231
KB
58412000-03-21 Kevin Buettner <kevinb@redhat.com>
5842
5843 * gdb.base/pointers.c (usevar): New function.
5844 (main): Make sure that global variables v_int_pointer2, rptr,
5845 and y are all referenced someplace in the program by calling
5846 usevar() on them. [Some linkers delete symbols which are
5847 never referenced. The space remains, but there's no way to
5848 get a (symbolic) handle on the variable from the debugger.]
5849
751a959b
EZ
58502000-03-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5851
5852 * gdb.base/printcmds.c: Add typedeffed arrays.
5853
5854 * gdb.base/printcmds.exp (test_print_typedef_arrays): New
5855 procedure to test arrays that are typedef'd.
5856
73a93a32
JI
58572000-03-13 James Ingham <jingham@leda.cygnus.com>
5858
5859 * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
d63a86f8 5860 the library directories.
73a93a32 5861
fb40c209
AC
5862Mon Feb 21 13:05:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
5863
5864 * configure.in (configdirs): Add sub directory gdb.mi.
5865 * configure: Re-generate.
5866
5867 * gdb.mi: New directory.
d63a86f8 5868
ee4dd2c9
AC
58692000-02-25 Scott Bambrough <scottb@netwinder.org>
5870
5871 * gdb.base/long_long.exp: Correct test suite failure when printing
5872 a long long value as a double on ARM platforms.
5873
70f0cc22
JB
58742000-02-16 Jim Blandy <jimb@redhat.com>
5875
5876 * gdb.base/break.exp ("breakpoint line number"): Make sure the
5877 default source file is set properly before running this test.
5878
853819b8
EZ
58792000-02-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5880
5881 * lib/gdb.exp: Tell the testsuite that now gdbtk is in the
5882 gdbtk/library directory, not in gdbtcl2.
5883
dfcd3bfb
JM
58842000-02-04 Jim Blandy <jimb@redhat.com>
5885
5886 * gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
5887 backslash from regexp pattern.
5888
5889 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): New
5890 procedure. Use it to run all the "continue to bp overloaded"
5891 tests. Note that this changes the names of the tests slightly.
5892 If the breakpoint hit message includes a hex PC value, because
5893 GCC's Dwarf 2 line info doesn't help us distinguish the prologue
5894 from the real source code, still consider that a pass.
5895
5896 * gdb.base/condbreak.exp ("run until breakpoint at marker2"):
5897 XFAIL here if the breakpoint message contains a hex address. Note
5898 similar change on 1999-11-02.
5899
5900 * gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
5901
5902 * gdb.base/ptype.exp: Establish a default source file before
5903 calling get_debug_format.
5904
59052000-02-03 Fernando Nasser <fnasser@totem.to.cygnus.com>
5906
5907 * gdb.base/watchpoint.exp: Remove duplication of test messages.
5908
8b93c638
JM
59092000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
5910
5911 * gdb.base/step-test.exp: Fix the steps to enter a callee by means
5912 of successive stepi commands -- while in the prologue we should see
5913 the function entry bracket.
5914
59152000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
5916
5917 * gdb.base/ending-run.exp: Add ARM in thumb mode case, where we
5918 reach __change_mode() when stepping through the end of main().
5919
c5394b80
JM
59202000-01-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
5921
5922 * gdb.base/default.exp: Fix expected pattern.
5923 * gdb.base/help.exp: Same.
5924
0d06e24b
JM
59252000-01-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5926
5927 * gdb.base/so-indr-cl.exp: Don't execute the test if not on HPUX.
5928 Don't use xfail's because that affects only the following test.
d63a86f8 5929
0d06e24b
JM
5930 * gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
5931 solaris or linux.
5932
5933 * gdb.base/selftest.exp: Update to reflect changes to main.c.
5934
dc96c6c7 59352000-01-07 Michael Snyder <msnyder@cygnus.com>
0d06e24b 5936
d63a86f8 5937 * gdb.base/display.exp: Some yacc parsers like to say
0d06e24b
JM
5938 "A syntax error" rather than "A parse error". Accept both.
5939
59402000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
5941
5942 * gdb.base/default.exp: Remove OS dependent string from "target
5943 remote" test.
5944 * gdb.base/help.exp: Same for "help target remote" test.
5945
c3f6f71d
JM
59462000-01-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5947
5948 From Jim Kingdon <kingdon@redhat.com>:
5949
5950 * gdb.c++/annota2.exp: Fix "delete bps" test to wait for the
5951 prompt (cleanup rather than necessity, but still might keep output
5952 from spilling to next test).
5953
59542000-01-02 Fred Fish <fnf@cygnus.com>
5955
5956 * gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
5957 AIX, which defines them in <sys/types.h>.
5958
ed9a39eb 59591999-12-16 Stan Shebs <shebs@andros.cygnus.com>
c4093a6a 5960
ed9a39eb
JM
5961 * gdb.base/default.exp: Match arm* etc instead of arm in "info
5962 float" test.
5963
59641999-12-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
c4093a6a 5965
ed9a39eb 5966 * gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
c4093a6a
JM
5967
5968 * gdb.base/break.exp: Add missing anchor to reg exp on "finish from
5969 outermost frame disallowed".
5970
59711999-12-09 Fernando Nasser <fnasser@totem.to.cygnus.com>
5972
5973 * gdb.base/setvar.exp: New tests for setting the value of a struct
5974 with a constant list.
5975
59761999-12-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
5977
5978 * gdb.base/setvar.exp: Remove pair os tests that expected gdb to
5979 require the user to type a cast before setting the value of a struct.
5980
de57eccd
JM
59811999-12-06 Jim Blandy <jimb@cygnus.com>
5982
5983 * gdb.base/default.exp: Expect the new 'info float' command on
5984 all i386 platforms.
5985
5986 * gdb.threads/linux-dp.exp: Expand our ability to recognize
5987 LinuxThreads libraries that don't support debugging.
5988
c2d11a7d
JM
5989Sat Dec 4 15:21:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
5990
5991 * gdb.base/remote.c: Fill the buffer with truely random data.
5992 Change the buffer type to ``unsigned char'' to simplify size
5993 arithmetic.
5994
5995 * gdb.base/remote.exp: Reduce download numbers by one. Typical
5996 stub only handles 400-1 byte packets. Verify that the download
5997 worked.
5998
59991999-11-30 Fernando Nasser <fnasser@totem.to.cygnus.com>
6000
6001 * lib/gdb.exp (gdb_expect_list): FAIL only once on multiple pattern
6002 tests, using UNRESOLVED for the untested cases. Also, does not wait
6003 for a timeout if the prompt was received before a recognizable pattern.
6004
60051999-11-29 Fernando Nasser <fnasser@totem.to.cygnus.com>
6006
6007 * lib/gdb.exp (gdb_expect_list): Fix spelling.
6008
60091999-11-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
6010
6011 * gdb.base/watchpoint.exp: Add tests cases for the hit count of
6012 watchpoints.
6013
60141999-11-24 Jason Merrill <jason@casey.cygnus.com>
6015
6016 * gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
6017
6018 * gdb.c++/local.exp: Be more flexible in recognizing local class
6019 name mangling. Don't allow horribly truncated method names.
6020 * gdb.c++/derivation.exp: Expect protected inheritance.
6021 * gdb.c++/inherit.exp: Be more flexible in recognizing vbase pointers.
6022 * gdb.c++/virtfunc.exp: Likewise.
6023 * gdb.c++/classes.exp: Likewise. Don't require the enclosing scope
6024 when printing a nested enum.
6025
60261999-11-22 Jim Blandy <jimb@cygnus.com>
6027
6028 * gdb.base/step-test.exp: Properly await GDB's response to setting
6029 a breakpoint on the call to large_struct_by_value.
6030
6031 * gdb.base/ending-run.exp ("step to end of run 1"): Don't fail
6032 just because we have debug info for the `start' function.
6033
60341999-11-19 Jim Blandy <jimb@zenia.red-bean.com>
6035
6036 * gdb.threads/linux-dp.exp ("create philosopher"): Recognize the
6037 "Unknown signal" messages, which indicate (on LinuxThreads) that
6038 GDB doesn't know how to debug threads on this system. This is
6039 better than hanging while philosopher 0 dumps chatter into gdb.log.
6040
60411999-11-18 Tom Tromey <tromey@cygnus.com>
6042
6043 * gdb.trace/deltrace.exp: Updated test to reflect new error text.
6044
60451999-11-18 Fred Fish <fnf@cygnus.com>
6046
6047 * gdb.base/coremaker2.c: Add sample program for generating
6048 cores that is more self contained than coremaker.c. Eventually
6049 I'll add more code to this and tie it into the testsuite.
6050
4ce44c66
JM
60511999-11-12 Stan Shebs <shebs@andros.cygnus.com>
6052
6053 * gdb.base/dollar.exp: Remove, now in gdb.hp.
6054
60551999-11-10 Jimmy Guo <guo@cup.hp.com>
6056
6057 * gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
6058 from $srcdir/lib/.
6059 * lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
6060 and gdb.c++/.
6061
6062 * gdb.c++/derivation.exp: remove redundant get compiler info code.
6063
d63a86f8 6064 * gdb.base/commands.exp: add '$gdb_prompt $' anchor to
4ce44c66
JM
6065 'continue with watch' test point.
6066
60671999-11-08 Jim Blandy <jimb@zenia.red-bean.com>
6068
6069 Merged from p2linux-990323-branch:
d63a86f8 6070
4ce44c66
JM
6071 * lib/gdb.exp (gdb_continue_to_breakpoint): New function.
6072
11cf8741
JM
6073Mon Nov 8 23:07:09 1999 Andrew Cagney <cagney@amy.cygnus.com>
6074
6075 * gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
6076 {limit,fixed}''. Test ``set download-write-size''.
6077
6078Sun Nov 7 17:37:01 1999 Andrew Cagney <cagney@b1.cygnus.com>
6079
6080 * gdb.base/funcargs.exp: Rewrite stack traceback checks using
6081 gdb_expect_list.
6082
6083Fri Nov 5 18:40:52 1999 Andrew Cagney <cagney@b1.cygnus.com>
6084
6085 * lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
6086
60871999-11-03 Mark Salter <msalter@cygnus.com>
6088
6089 * gdb.base/break.exp: Fix "stub continue" pattern.
6090
60911999-11-03 Jim Blandy <jimb@zwingli.cygnus.com>
6092
6093 * gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
6094
60951999-11-02 Jim Blandy <jimb@zwingli.cygnus.com>
6096
6097 * gdb.base/display.exp ("finish"): Add timeout clause.
6098
6099 * gdb.base/condbreak.exp ("run until breakpoint at marker1"): Add
6100 plain prompt clause, so this doesn't have to time out in order to
6101 fail.
6102
6103 * gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
6104 breakpoint hit messages include an address.
6105
6106 * gdb.base/display.exp: Don't forget to escape parens in regular
6107 expressions. Unix regexp notatation sucks.
6108
61091999-11-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
6110
6111 * gdb.base/annota1.exp: Test for annotate-signalled: change output
6112 order for 'signalled' message.
6113
5c44784c
JM
61141999-11-01 Stan Shebs <shebs@andros.cygnus.com>
6115
6116 From Jimmy Guo <guo@cup.hp.com>:
6117 * gdb.base/annota1.exp: Add tests for annotate ignore count change.
6118 * gdb.base/annota1.c: Add code for tests to work with.
6119
61201999-10-26 Frank Ch. Eigler <fche@cygnus.com>
6121
6122 * gdb.base/remote.exp: New test for remote downloading settings.
6123 * gdb.base/remote.c: New file with large .data.
6124
917317f4
JM
61251999-10-18 Jim Blandy <jimb@zwingli.cygnus.com>
6126
6127 * gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
6128 for LinuxThreads support, merged from the Code Fusion branch.
6129
6130Mon Oct 11 13:57:21 1999 Andrew Cagney <cagney@amy.cygnus.com>
6131
6132 * lib/gdb.exp (gdb_run_cmd): Break complicated gdb_expect
6133 containing exp_continue into a while within an expect. Don't
6134 attempt a start more than three times. Check return value from
6135 gdb_load.
d63a86f8 6136
2df3850c
JM
6137Wed Oct 6 12:05:58 1999 Andrew Cagney <cagney@b1.cygnus.com>
6138
6139 * gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
6140 a pass case.
6141
2acceee2
JM
61421999-10-01 Kevin Buettner <kevinb@cygnus.com>
6143
6144 * gdb.base/break.c (main): Added a statement that we can step
6145 off of.
6146 * gdb.base/break.exp: Added tests for setting a breakpoint
6147 at an offset and stepping onto a breakpoint.
6148
61491999-10-01 Fred Fish <fnf@cygnus.com>
6150
d63a86f8 6151 * gdb.base/help.exp (help add-symbol-file): Update to match current
2acceee2
JM
6152 gdb output.
6153
c2c6d25f
JM
61541999-09-18 Jim Blandy <jimb@cris.red-bean.com>
6155
6156 * gdb.base/break.exp: Code locations are in hex, don't forget!
6157 (For HP-UX.)
6158
61591999-09-17 Stan Shebs <shebs@andros.cygnus.com>
6160
6161 * condbreak.exp: Use break.c as test program.
6162 * condbreak.c: Remove, redundant with break.c.
6163
61641999-09-15 Stan Shebs <shebs@andros.cygnus.com>
6165
6166 * config/monitor.exp (gdb_target_monitor): Disable X- and
6167 Z-packets if the target needs it.
6168
61691999-09-13 James Ingham <jingham@leda.cygnus.com>
6170
6171 * gdb.c++/overload.exp: Added tests for listing overloaded
6172 functions with function pointers in the arg, explicitly calling
6173 out the version you want.
6174
cff3e48b
JM
61751999-09-09 Stan Shebs <shebs@andros.cygnus.com>
6176
6177 * long_long.exp: Add variations of test cases that work for
6178 targets with 16-bit ints and 32-bit doubles.
6179
d4f3574e
SS
61801999-09-08 Stan Shebs <shebs@andros.cygnus.com>
6181
6182 * break.c (main): Compare a possibly-uninitialized argc with an
6183 unlikely value that fits in 16 bits.
6184
61851999-09-07 Stan Shebs <shebs@andros.cygnus.com>
6186
6187 * gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
6188 0xfeeb, don't want negative numbers if ints are 16 bits.
6189
6190 * lib/gdb.exp (skip_cplus_tests): New proc.
6191 * gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
6192 gdb.c++/anon-union.exp, gdb.c++/classes.exp,
6193 gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
6194 gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
6195 gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
6196 gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
6197 gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
6198 gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
6199
6200 * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
6201
6202Fri Sep 3 15:37:12 1999 Kevin Buettner <kevinb@cygnus.com>
6203
6204 * gdb.base/corefile.exp (up): Allow a parameter to appear
6205 in the frame that we're going up to.
6206
6207 From Jim Blandy <jimb@cygnus.com>:
6208
6209 * gdb.base/default.exp (info float): Expect some output now.
6210
6211 * gdb.base/callfuncs.exp (do_function_calls): We no longer expect
6212 returning floating-point values to fail on the x86.
6213 * gdb.base/callfwmall.exp (do_function_calls): Same.
6214
6215 * gdb.base/list.exp (test_listsize): Correct expectations for
6216 listing line 1 with listsize 2. Also, listing a single line
6217 works now, as does listing three lines. [Kevin's note: There
6218 were a number of other cases fixed too where the expectations
6219 differed...]
6220
62211999-09-02 Stan Shebs <shebs@andros.cygnus.com>
6222
6223 * gdb.base/selftest.exp: Add case for when version prints as
6224 constant string instead of char pointer.
6225
104c1213
JM
62261999-08-25 Stan Shebs <shebs@andros.cygnus.com>
6227
6228 * gdb.base/ending-run.exp: Add Solaris case for what happens when
6229 stepping out of main.
6230
6231 * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
6232 G++ used.
6233
6234 * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
6235 always, expect ptype InnerLocal::NestedInnerLocal to fail always.
6236
6237 * gdb.c++/ovldbreak.exp: Update match string in test that
6238 includes a warning of multiple breakpoints.
6239
62401999-08-24 Stan Shebs <shebs@andros.cygnus.com>
6241
6242 * gdb.base/display.exp: Improve precision of step-after-finish
6243 added yesterday.
6244
6245 * gdb.base/signals.exp: Add extra wildcard to "handle all print"
6246 test.
6247
6248 * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
6249 configs when using G++, not just hppa*.
6250
62511999-08-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
6252
6253 * gdb.base/async.c: New file.
6254 * gdb.base/async.exp: New file.
6255
6256Tue Aug 24 03:24:53 1999 Jeffrey A Law (law@cygnus.com)
6257
6258 * gdb.base/break.exp: Tweak PA specific tests to properly handle
6259 PA64.
6260
53a5351d
JM
6261Mon Aug 23 10:25:20 1999 Jeffrey A Law (law@cygnus.com)
6262
104c1213
JM
6263 * gdb.base/display.exp: "finish" can leave us mid-line on many
6264 targets, deal with it. Add a small constant to main, instead of
6265 1000 since main+1000 may not be a valid address in the target.
6266
53a5351d
JM
6267 * gdb.base/dollar.exp: Do not run for PA processors in wide mode
6268 on hpux11.
6269
6270 * gdb.base/attach.exp: Handle another hpux11 error message variant
6271 when attaching to a process that does not exist.
6272
62731999-08-19 J.T. Conklin <jtc@redback.com>
6274
6275 * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
6276 characters in 'continue to 1241' test.
6277
62781999-08-17 Stan Shebs <shebs@andros.cygnus.com>
6279
6280 * gdb.base/call-ar-st.exp: Add a shorter match case for the
6281 stop in print_long_arg_list, define and use a whitespace
6282 variable in print_small_structs test, add an XFAIL for Solaris.
6283 * gdb.base/dbx.exp: XFAIL func commands until somebody is
6284 interested enough to fix.
6285
7be570e7
JM
62861999-08-13 Keith Seitz <keiths@cygnus.com>
6287
6288 * gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
6289 (dbx_gdb_load): Remove. Use gdb_load instead, since that
6290 proc knows about targets other than the natives.
6291 (test_assign): Use "gdb_run_cmd" to "run" the target.
6292 Check that we've actually hit the breakpoint at main.
6293 When we attempt to assign a value to a local variable, check
6294 that the variable is in the current scope, i.e., don't use
6295 a test with an empty result.
6296
6297Tue Aug 10 15:25:16 1999 Andrew Cagney <cagney@b1.cygnus.com>
6298
6299 * gdb.base/maint.exp: Add test of ``maintenance internal-error''
6300 command.
6301
63021999-08-09 Stan Shebs <shebs@andros.cygnus.com>
6303
6304 From Jimmy Guo <guo@cup.hp.com> and others at HP:
6305 gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
6306 gdb.compat, gdb.threads-hp.
6307 gdb.hp/configure, gdb.hp/configure.in: New files.
6308 gdb.hp/Makefile.in: Recurse into new subdirs.
6309 gdb.hp/gdb.defects: New directory, tests for HP bug reports.
6310 gdb.hp/gdb.objdbg: New directory, tests for debugging info
6311 in object files.
6312 gdb.hp/tools: New directory, aux tools for HP-specific tests.
6313
96baa820
JM
63141999-08-05 Stan Shebs <shebs@andros.cygnus.com>
6315
6316 * gdb.base/display.exp: Help expect by putting a newline in the
6317 funky printf, remove a bogus p/a test.
6318
63191999-08-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
6320
6321 * gdb.base/display.exp: Make sure that when we say 'run', we are
6322 connected to the target. This is necessary when running not
6323 natively.
6324
63251999-08-03 Stan Shebs <shebs@andros.cygnus.com>
6326
6327 * gdb.base/step-test.exp: Removed some extraneous messages.
6328
6329 * gdb.base/long_long.exp: Don't run memory examination tests
6330 on little-endian targets (they will need a different set of
6331 results to match).
6332
63331999-08-02 Stan Shebs <shebs@andros.cygnus.com>
6334
6335 * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
6336 until somebody decides to fix GDB.
6337
6338 * gdb.base/long_long.c: Stop compiler complaint by specifying long
6339 constant as "ULL".
6340 * gdb.base/long_long.exp: Loosen x/c test, add partial result
6341 matches for a couple x/2 commands.
6342
a0b3c4fd
JM
63431999-07-30 Stan Shebs <shebs@andros.cygnus.com>
6344
6345 * gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
6346 by merging in ref-types2 tests.
6347 * gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
6348
6349 From Jimmy Guo <guo@cup.hp.com> and others at HP:
6350 * gdb.c++/Makefile.in: Add standard actions.
6351 (EXECUTABLES): Rename from PROGS, update list.
6352 * gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
6353 from gdb.hp.
6354 * gdb.c++/anon-union.cc: Don't use anonymous struct, make
6355 foo and bar locals.
6356 * gdb.c++/anon-union.exp: Fix tests to match.
6357 * gdb.c++/classes.exp: Run if HP compiler used, add extra
6358 expect matches to handle output variations.
6359 * gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
6360 * gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
6361 output, add HP alternatives for new and delete prints.
6362 * gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
6363 gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
6364 * gdb.c++/demangle.exp: Use $style when reporting failure.
6365 * gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
6366 * gdb.c++/inherit.exp: Run if HP compiler used, add some
6367 match alternatives.
6368 * gdb.c++/local.exp: Add match alternatives or xfails for HP
6369 compilers.
6370 * gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
6371 * gdb.c++/method.exp: Add match alternatives.
6372 * gdb.c++/misc.cc: Add bool types.
6373 * gdb.c++/misc.exp: Add tests for bool types.
6374 * gdb.c++/overload.exp: Add xfails.
6375 * gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
6376 * gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
6377 add some more template parameter tests (only for HP currently).
6378 * gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
6379 * gdb.c++/virtfunc.cc: Add return type and value for main.
6380 * gdb.c++/virtfunc.exp: Run if HP compiler used, add some
6381 match alternatives.
d63a86f8 6382
a0b3c4fd
JM
63831999-07-30 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
6384
6385 * gdb.base/display.exp: Fix output of 'p/a &&j' test.
6386
63871999-07-29 Jim Blandy <jimb@savonarola.red-bean.com>
6388
6389 * gdb.base/signals.exp: Don't expect getting a backtrace from
6390 within a signal handler to fail on Linux.
6391
63921999-07-29 Stan Shebs <shebs@andros.cygnus.com>
6393
6394 From Jimmy Guo <guo@cup.hp.com> and others at HP:
6395 * lib/gdb.exp: Remove some gratuitious semicolons.
6396 (delete_breakpoints): Increase timeout.
6397 (gdb_expect): Add -notransfer option.
6398 (gdb_test): Use -notransfer option.
6399 (get_compiler_info): Add f77 case.
6400 (get_compiler): New proc, split out from gdb_preprocess, add f77
6401 case.
6402 (gdb_preprocess): Call get_compiler.
6403
6404 * gdb.base/Makefile.in (EXECUTABLES): Update the list.
6405 * gdb.base/attach.exp, gdb.base/display.exp,
6406 gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
6407 gdb.base/long_long.exp, gdb.base/printcmds.exp,
6408 gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
6409 third arg to gdb_test.
6410 * gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
6411 * gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
6412 HP-UX xfails, add others.
6413 * gdb.base/completion.exp: Reflect name change of self-test.
6414 * gdb.base/condbreak.exp, gdb.base/corefile.exp,
6415 gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
6416 gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
6417 HP failure number.
6418 * gdb.base/foll-vfork.exp: Loosen matches slightly, remove
6419 useless HP-UX 10.30 references.
6420 * gdb.base/maint.exp: Loosen matches.
6421 * gdb.base/pointers.c (main): Declare more_code.
6422 * gdb.base/pointers.exp: Match on output of a `next'.
6423 * gdb.base/structs.c: Add prototypes.
6424 * gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
6425 * gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
6426
64271999-07-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
6428
6429 * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
6430 command.
6431
64321999-07-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
6433
6434 * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
6435 Fix run to main failures. Watchpoint can be hardware watchpoint.
d63a86f8
RM
6436
6437 * gdb.base/annota1.exp: Clean up some more, in case printf has
a0b3c4fd
JM
6438 debug info. Deal with lack of signal hanlder info in stack.
6439
6440 From Jim Kingdon <kingdon@redhat.com>:
6441 * gdb.base/annota1.exp: If printf has debug info, deal with it.
6442
5a2468f5
JM
64431999-07-19 Stan Shebs <shebs@andros.cygnus.com>
6444
6445 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
6446 gdb.base/foll-vfork.exp: Don't run for crosses.
6447
adf40b2e
JM
6448Tue Jul 13 23:37:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
6449
6450 * gdb.base/configure.in: Check for gdbvars.exp instead of
6451 a1-selftest.exp.
6452 * gdb.base/configure: Re-generate.
6453
64541999-07-12 Stan Shebs <shebs@andros.cygnus.com>
6455
6456 * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
6457 in trying to run first and name is too long.
6458
6459 * gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
6460 pointers2.c and pointers2.exp, respectively.
6461 * gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
6462 doschk happier.
6463
43e526b9
JM
64641999-07-08 Stan Shebs <shebs@andros.cygnus.com>
6465
6466 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
6467 callfuncs2.c and callfuncs2.exp.
6468
6469 * gdb.base/list.exp: Remove mistaken xfails.
6470 * gdb.base/list0.h: Add optional prototypes.
6471
9846de1b
JM
6472Wed Jul 7 00:27:35 1999 Andrew Cagney <cagney@amy.cygnus.com>
6473
6474 * gdb.base/setvar.exp: Increase the time-out on tests indirectly
6475 calling malloc.
6476 * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
6477 * ptype.exp: Move test for get_debug_format to before its first
6478 use.
6479
64801999-07-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
6481
6482 * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
6483 * gdb.base/annota2.cc, annota2.exp: Move from here.
6484 * gdb.c++/annota2.cc, annota2.exp: To here.
6485 * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
6486
43ff13b4
JM
6487Tue Jun 29 11:56:06 1999 Andrew Cagney <cagney@b1.cygnus.com>
6488
6489 * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
6490 a consistent format.
6491
085dd6e6
JM
64921999-06-25 Stan Shebs <shebs@andros.cygnus.com>
6493
6494 From Jimmy Guo <guo@cup.hp.com> and others at HP:
6495 * lib/gdb.exp (get_compiler_info): Add detection for assorted
6496 HP compilers, also set the globals $true and $false.
6497
6498 * gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
6499 call-rt-st.c, call-strs.c, callfuncs.c, callfuncs2.c, condbreak.c,
6500 coremaker.c, ending-run.c, exprs.c, funcargs.c, interrupt.c,
6501 jump.c, langs0.c, langs1.c, langs2.c, list0.c, list1.c,
6502 long_long.c, mips_pro.c, nodebug.c, opaque0.c, opaque1.c,
6503 printcmds.c, ptype.c, recurse.c, restore.c, return.c, run.c,
6504 scope0.c, scope1.c, setshow.c, setvar.c, shmain.c, shr1.c, shr2.c,
6505 sigall.c, signals.c, so-impl-ld.c, so-indr-cl.c, solib.c,
6506 solib1.c, solib2.c, step-test.c, twice.c, varargs.c, watchpoint.c,
6507 whatis.c} Add C++ compatible function definitions and return
6508 types, add includes for library functions.
6509 * gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
6510 * gdb.base/step-test.c (myglob): Rename from glob.
6511 * gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
6512 foll-exec.c, foll-fork.c, foll-vfork.c, sum.c, vforked-prog.c: New
6513 files, move here from gdb.hp.
6514 * gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
6515 commands.exp, condbreak.exp, define.exp, ena-dis-br.exp,
6516 ending-run.exp, jump.exp. list.exp, long_long.exp, so-impl-ld.exp:
6517 Adjust line numbers in regexps.
6518
6519 * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
6520 miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
6521 instead of 0/1.
6522
6523 * gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
6524 foll-vfork.exp: New files, move here from gdb.hp.
6525 * gdb.base/page.exp: New file, test of pagination command.
6526
6527 * gdb.base/watchpoint.c (recurser): New function, for watchpoint
6528 recursion test.
6529 * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
6530
6531 * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
6532 gdb.base/solib.exp: Fix compiler invocation process.
6533
6534 * gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
6535 HP-UX 11, turn off overload resolution explicitly.
6536 * gdb.base/commands.exp: Set argument list explicitly, add
6537 watchpoint test.
6538 * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
6539 them work.
6540 * gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
6541 expressions properly.
6542 * gdb.base/corefile.exp: Loosen the match slightly.
6543 * gdb.base/default.exp: Allow "Error accessing memory" message
6544 also.
6545 * gdb.base/display.exp: Skip over x/0 j if PA64.
6546 * gdb.base/funcargs.exp: Add xfails for HP-UX.
6547 * gdb.base/interrupt.exp: Ditto.
6548 * gdb.base/langs.exp: Add symbolic matches governed by compiler
6549 in use.
6550 * gdb.base/list.exp: Add xfails for HP-UX.
6551 * gdb.base/long_long.exp: Refine some of the numeric matches.
6552 * gdb.base/mips_pro.exp: Xfail on HP-UX.
6553 * gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
6554 * gdb.base/nodebug.exp: Succeed on more varieties of output.
6555 * gdb.base/opaque.exp: Remove some HP-UX xfails.
6556 * gdb.base/ptype.exp: Succeed on more varieties of output.
6557 * gdb.base/scope.exp: Add xfails for HP-UX.
6558 * gdb.base/sect-cmd.exp: Add more cases.
6559 * gdb.base/setvar.exp: Add xfails for HP-UX.
6560 * gdb.base/shlib-call.exp: Loosen some matches slightly.
6561 * gdb.base/signals.exp: Match on void symbolically.
6562 * gdb.base/step-test.exp: Add case for PA64.
6563 * gdb.base/term.exp: Add exit and restart.
6564 * gdb.base/twice.exp: Clean up after self.
6565 * gdb.base/varargs.exp: Disable overload resolution explicitly.
6566 * gdb.base/whatis.exp: Allow more ways to pass tests.
6567
6568 * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
6569 no longer useful.
6570
6571Fri Jun 25 19:27:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
6572
6573 * lib/gdb.exp (proc gdb_expect_list): New procedure. Matches a
6574 list of patterns.
6575 * gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
6576 print_double_array(double_array)", "continuing to breakpoint
6577 1018", "print print_double_array(array_d)" and "continuing to
6578 1034" tests.
d63a86f8 6579
085dd6e6
JM
65801999-06-24 Jason Molenda (jsm@bugshack.cygnus.com)
6581
6582 * Makefile.in: Add empty html and install-html targets.
6583
65841999-06-24 Stan Shebs <shebs@andros.cygnus.com>
6585
6586 * config/mt-*: Remove, these haven't been used since 1996.
6587
65881999-06-22 Stan Shebs <shebs@andros.cygnus.com>
6589
6590 * gdb.base/call-strs.c, gdb.base/ending-run.c,
6591 gdb.base/step-test.c: Include stdlib.h and string.h as needed.
6592 * gdb.c++/member-ptr.exp: Skip over these tests if using G++.
6593
9e0b60a8
JM
65941999-06-18 Stan Shebs <shebs@andros.cygnus.com>
6595
6596 * gdb.c++/overload.exp: XFAIL everything if using G++, add a
6597 simpler match case for the ptype of the big class.
6598
65991999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
6600
6601 * gdb.exp: Fix test for gdb_prompt existence.
6602
66031999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
6604
6605 * gdb.exp (gdb_test): Add fail after calls to perror.
6606
66071999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
6608
6609 * gdb.exp (gdb_test): Accept variations of Undefined command messages.
6610
66111999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
6612
6613 * gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
6614
0f71a2f6
JM
6615Fri Jun 11 12:56:50 1999 Andrew Cagney <cagney@b1.cygnus.com>
6616
6617 * gdb.base/call-strs.c (link_malloc): New function. Ensure that
6618 malloc() is linked in.
6619
66201999-06-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
6621
6622 * gdb.base/ending-run.exp: Make sure we fail and do not timeout at
6623 step at end.
6624
6625 * gdb.base/annota1.exp: Increase match_max to prevent timeout.
6626
66271999-06-08 Jim Blandy <jimb@zwingli.cygnus.com>
6628
6629 * gdb.java/jv-print.exp: New file. (Our first Java test!)
6630
cce74817
JM
6631Fri Jun 4 10:47:46 1999 Jeffrey A Law (law@cygnus.com)
6632
6633 * gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
6634 * gdb.base/mips_pro.exp: Likewise.
6635
66361999-06-02 Keith Seitz <keiths@cygnus.com>
6637
6638 * gdb.c++/templates.cc: Change all "new" operators to throw
6639 an exception.
6640 * gdb.c++/cplusfuncs.cc: Likewise.
6641
6642 * gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
6643
6644Wed Jun 2 17:37:05 1999 Andrew Cagney <cagney@b1.cygnus.com>
6645
6646 * gdb.base/condbreak.exp: Use rerun_to_main to start the program.
6647 * gdb.base/ending-run.exp: When stepping out of main, accept a
6648 step into an arbitrary assembler file.
6649
392a587b
JM
66501999-05-20 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
6651
d63a86f8 6652 * gdb.base/annota1.exp: Allow any number of "frames-invalid" and
392a587b 6653 "breakpoint-invalid" to be printed.
d63a86f8 6654 * gdb.base/annota2.exp: Revise line number for main breakpoint. Allow any
392a587b
JM
6655 number of "frames-invalid" and "breakpoint-invalid" to be printed.
6656 * gdb.base/annota2.cc: Initialize a.x to 0.
6657
9e086581
JM
66581999-05-17 Keith Seitz <keiths@cygnus.com>
6659
6660 * gdb.base/call-ar-st.exp: Skip "print print_double_array (double_array)"
6661 when "skip_float_tests" set.
6662 Ditto for "print print_double_array(array_d)", "print print_small_structs",
6663 "print print_ten_doubles", and "step into print_long_arg_list".
6664 Don't assume we can step into "print_long_arg_list": we could step into memcpy.
6665 * gdb.base/call-rt-st.exp: Don't run float-related tests when "skip_float_tests"
6666 is set: "print print_one_double(*d1)" and "print print_two_floats(*f3)".
6667 * gdb.base/funcargs.exp: Don't run "float_and_integral_args" when
6668 "skip_float_tests" is set.
6669 * gdb.base/varargs.exp: Skip "print find_max_double(5,1.0,17.0,2.0,3.0,4.0)"
6670 when "skip_float_tests" set.
d63a86f8 6671
cd0fc7c3
SS
66721999-05-06 Keith Seitz <keiths@cygnus.com>
6673
6674 * gdb.base/annota2.cc: Include stdio.h.
6675
6676Wed May 5 17:44:31 1999 Stan Shebs <shebs@andros.cygnus.com>
6677
6678 * gdb.base/crossload.exp: Remove, this has been disabled ever
6679 since BFD stopped including all targets, and cross-GDB gets
6680 plenty of testing anyway.
6681 * gdb.base/i486-elf.u, gdb.base/m68k-aout.u, gdb.base/m68k-elf.u,
6682 gdb.base/sparc-aout.u, gdb.base/i860-elf.u, gdb.base/m68k-aout2.u,
6683 gdb.base/mips-ecoff.u, gdb.base/sparc-elf.u: Remove.
6684 * gdb.base/README: Remove, was doc for this.
6685 * gdb.base/Makefile.in (CROSS_EXECUTABLES): Remove, no longer
6686 needed.
6687
b83266a0
SS
66881999-05-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
6689
6690 * gdb.base/call-ar-st.exp: Fix one regular expression in test
6691 output.
6692
6693 * gdb.base/annota1.exp: New file. Annotation level 2 tests.
6694 * gdb.base/annota2.exp: New file. More annotation tests.
6695 * gdb.base/annota1.c: New file. Source file for annota1.exp.
6696 * gdb.base/annota2.cc: New file. Source file for annota2.exp.
6697
66981999-04-23 Angela Marie Thomas <angela@cygnus.com>
6699
6700 * config/cfdbug.exp: New file.
6701
7a292a7a
SS
67021999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
6703
6704 * gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
6705 Marcus Daniel's and Dale Hawkins's demangler crashes.
6706
6707 * gdb.c++/demangle.exp (test_gnu_style_demangling,
6708 test_lucid_style_demangling, test_arm_style_demangling,
6709 test_hp_style_demangling): Try Tom Tromey's core-dumping
6710 identifier under each demangling style.
6711
67121999-04-07 Jim Blandy <jimb@zwingli.cygnus.com>
6713
6714 * gdb.c++/demangle.exp: Include the current demangling style
6715 in all test names.
6716 (current_demangling_style): New global variable.
6717 (set_demangling_style, test_demangling_core, test_demangling,
6718 test_demangling_exact): New functions.
6719 (test_gnu_style_demangling, test_lucid_style_demangling,
6720 test_arm_style_demangling, test_hp_style_demangling): Use those,
6721 instead of calling gdb_test and gdb_test_exact directly.
6722 (catch_demangling_errors): New function, which reports errors
6723 signalled by the demangling test functions in an orderly way.
6724 (do_tests): Use catch_demangling_errors.
6725
67261999-04-06 Jim Blandy <jimb@zwingli.cygnus.com>
6727
6728 * gdb.base/signals.exp (test_handle_all_print): Use () for
6729 grouping in expressions, not {}.
6730
6731 * gdb.base/smoke.exp: Test value of x, not y. The latter isn't
6732 initialized yet.
6733
67341999-04-01 Stan Shebs <shebs@andros.cygnus.com>
6735
6736 * gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
6737 are listed.
6738
67391999-03-26 Stan Shebs <shebs@andros.cygnus.com>
6740
6741 * gdb.stabs/weird.exp: Test for CC being defined before
6742 looking at its value.
6743
67441999-03-25 Stan Shebs <shebs@andros.cygnus.com>
6745
6746 * gdb.base/call-ar-st.exp: Remove stray '#'.
6747 * gdb.base/miscexprs.exp: Allow "short" and "long" as well as
6748 "short int" and "long int".
6749 * gdb.c++/overload.cc: Cast the string added in the previous
6750 change, to mollify finicky HP compiler.
6751 * gdb.hp/reg-test.exp (testfile): Fix file name.
6752 * gdb.stabs/weird.exp: Don't try to run if HP compiler in use.
d63a86f8 6753
7a292a7a
SS
6754 * gdb.c++/misc.cc (main): Initialize obj_with_enum.
6755 * gdb.c++/classes.exp: Fix test of obj_with_enum values, allow
6756 alternate form of enum ptype.
6757
c906108c
SS
67581999-03-23 Stan Shebs <shebs@andros.cygnus.com>
6759
7a292a7a
SS
6760 * lib/gdb.exp (skip_hp_tests): Remove gcc_used argument.
6761 * gdb.hp/*.exp: Change all to run compiler probe only after
6762 passing skip_hp_tests, so as not to waste time on guaranteed
6763 failure.
6764
c906108c
SS
6765 * gdb.c++/overload.cc: Pass string instead of char addr, always
6766 init ccpfoo.
6767 * gdb.c++/templates.cc: Fix syntax error.
6768
7a292a7a
SS
6769Tue Mar 23 14:56:36 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
6770
6771 * gdb.base/commands.exp: Add test for correct position of '>'
d63a86f8 6772 when issuing the 'commands' command after a 'while' or 'if'
7a292a7a
SS
6773 command.
6774
67751999-03-18 James Ingham <jingham@cygnus.com>
6776
6777 * gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
6778
6779 * gdb.c++/method.exp: It was testing an uninitialized int on the
6780 stack and assuming it was positive.
6781
6782 * gdb.base/watchpoint.exp: Use gdb_continue_to_end.
6783
6784 * gdb.base/step-test.exp: Catch a case where finish is broken and
d63a86f8 6785 keep it from killing the rest of the tests.
7a292a7a
SS
6786 Use gdb_continue_to_end.
6787
6788 * gdb.base/sigall.exp: use gdb_continue_to_end.
6789
6790 * gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
6791
6792 * gdb.base/display.exp: use runto_main, not run.
6793
d63a86f8
RM
6794 * gdb.base/default.exp: Check for the current error message in the
6795 r abbreviation test.
7a292a7a
SS
6796 Add strongarm to the targets that know info float.
6797
d63a86f8 6798 * gdb.base/condbreak.exp: Use the gdb_run command rather than just
7a292a7a
SS
6799 run which doesn't work with monitors.
6800
6801 * gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to 1034 test.
6802
6803 * gdb.base/break.exp: use the gdb_continue_to_end proc.
6804
6805 * lib/gdb.exp: I had added gdb_continue_to_end used to run to the end of a
d63a86f8
RM
6806 program. Traps the case (in Cygmon) when the program never really
6807 exits. Same as Mark's continue_to_exit, but I had put it in a lot
7a292a7a
SS
6808 more places, so I used my name. Sorry Mark...
6809
6810 * config/monitor.exp (gdb_target_monitor): added another
6811 target_info parameter: remotebinarydownload. This will set the
6812 remotebinarydownload flag if this is causing some boards trouble.
6813
68141999-03-18 Mark Salter <msalter@cygnus.com>
6815
6816 * lib/gdb.exp (continue_to_exit): New function.
6817
6818 * gdb.base/ena-dis-br.exp: Clean up for remote targets.
6819 * gdb.base/ending-run.exp: Ditto.
6820 * gdb.base/step-test.exp: Ditto.
6821
68221999-03-16 Stan Shebs <shebs@andros.cygnus.com>
6823
6824 * gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
6825 (suggested by Art Haas <ahaas@neosoft.com>).
6826
68271999-03-16 Jim Blandy <jimb@zwingli.cygnus.com>
6828
6829 * gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
6830
6831Fri Mar 12 18:06:21 1999 Stan Shebs <shebs@andros.cygnus.com>
6832
6833 * gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
6834 descriptions of types (short unsigned int vs unsigned short, etc).
6835
68361999-03-12 Jim Blandy <jimb@zwingli.cygnus.com>
6837
6838 * gdb.base/call-strs.exp: Don't assume that `step' will step over
6839 a call to strlen; sometimes we do have sources.
6840
68411999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
c906108c
SS
6842
6843 * gdb.base/call-ar-st.c (main): Terminate char_array with a null
6844 character, so GDB won't print garbage after its end.
d63a86f8 6845
c906108c
SS
6846 * gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
6847 breakpoint there instead. Sometimes GCC emits memcpy to handle
6848 the large structures being passed by value, so we step into that
6849 instead of sum_array_print, which obscures what we're really testing.
6850 * gdb.base/step-test.exp: However, we do want a test that notices
6851 the bizarre steps into memcpy, so do that here. Add check for
6852 stepping into function calls that pass large structures by value.
6853 ("Is that a noun clause, or are you just happy to see me?")
6854 Remove all references to specific line numbers.
6855 * gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
6856 New type and function.
6857 (main): Call large_struct_by_value, passing it a large struct by value.
6858 * lib/gdb.exp (gdb_get_line_number): New function.
6859
6860 * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
6861 more portable.
6862
7a292a7a
SS
68631999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
6864
c906108c
SS
6865 * lib/gdb.exp: Doc fixes.
6866
7a292a7a
SS
68671999-03-05 Nick Clifton <nickc@cygnus.com>
6868
d63a86f8 6869 * gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
7a292a7a
SS
6870
68711999-03-04 Jim Blandy <jimb@zwingli.cygnus.com>
6872
c906108c
SS
6873 * gdb.base/display.exp: Don't exercise the "detach" and "kill"
6874 commands. They're not germane to this test, and they don't work
6875 that way on remote targets.
6876
3fc11d3e
JM
68771999-03-01 James Ingham <jingham@cygnus.com>
6878
6879 * Changelog entries merged over from gdb development branch.
6880
3fc11d3e
JM
6881 Tue Jan 5 12:33:47 1999 Keith Seitz <keiths@cygnus.com>
6882
6883 * lib/gdb.exp (gdbtk_analyze_results): Generic function
6884 for outputting results of test run.
6885
2d4a1622 6886 1998-12-07 Martin M. Hunt <hunt@cygnus.com>
3fc11d3e
JM
6887
6888 * lib/gdb.exp (gdbtk_start): Fix path for itcl library.
3fc11d3e 6889
7a292a7a
SS
68901999-02-25 Felix Lee <flee@cygnus.com>
6891
6892 * lib/gdb.exp (debug_format): initialize
6893
c906108c
SS
68941999-02-25 Jason Molenda (jsm@bugshack.cygnus.com)
6895
6896 * gdb.base/call-ar-st.c: Include string.h, not strings.h.
6897 * gdb.base/call-rt-st.c: Ditto.
6898
c906108c
SS
68991999-02-13 Jim Blandy <jimb@zwingli.cygnus.com>
6900
6901 * gdb.threads/pthreads.exp (horiz): New variable.
6902 (test_startup): Fix regexps that capture thread numbers.
6903
69041999-02-10 Jason Molenda (jsm@bugshack.cygnus.com)
6905
6906 * gdb.base/smoke.exp: Disambiguate two test case names (both
6907 called ``print'').
6908
6909Fri Feb 5 12:42:56 1999 Stan Shebs <shebs@andros.cygnus.com>
6910
6911 * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
6912 compilation.
6913
69141999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
6915
6916 * gdb.base/miscexprs.exp: Change patterns to match GDB's
6917 actual output formatting.
6918 * gdb.base/smoke.exp: GDB removes leading 0's.
6919 * gdb.base/volatile.exp: Don't check type of remuneration;
6920 that variable is no longer defined in constvars.c.
6921 * gdb.base/step-test.c (main): Exit with explicit exit code.
6922 * gdb.base/step-test.exp: Remove two nexti checks--they are
6923 not portable.
6924
69251999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
6926
6927 * gdb.base/help.exp ("help delete display"): Fix test to match
6928 gdb's output.
6929
6930 * gdb.base/long_long.c (known_types): Initialize values to zero.
6931 * gdb.base/long_long.exp: Step one more line
6932 so 'dec' is initialized in "get to known place". GDB removes
d63a86f8 6933 leading zeros. Explicitly ask for hex formatting. Use
c906108c
SS
6934 unique test case names.
6935
6936Tue Feb 2 10:16:08 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
6937
d63a86f8 6938 * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
c906108c
SS
6939
6940 * gdb.c++/method.exp: Add missing close brace.
6941
69421999-01-30 Jim Blandy <jimb@zwingli.cygnus.com>
6943
6944 * gdb.base/maint.exp: Use 'set height 0' to disable page
6945 prompting, not 'set height 400'.
6946
6947 Fix a bunch of timeouts.
6948 * gdb.base/maint.exp ("maint print objfiles"): Break this up into
6949 four separate tests, so expect doesn't take forever to match a ton
6950 of text against a regexp with lots of .* forms.
6951 ("maint print psymbols", "maint print symbols"): Make some of
6952 these greps more selective, so that expect doesn't try to wade
6953 through huge piles of output and time out.
6954
6955 * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
6956
6957 * gdb.base/maint.exp ("maint info breakpoints"): Split into two
6958 tests: one which doesn't expect shlib events to be reported, and
6959 another which does, but is XFAIL for all platforms other than
6960 HP/UX.
6961
6962 * gdb.base/break.exp: Teach the test suite that the `catch
6963 fork', `catch vfork', and `catch exec' commands produce error
6964 messages on platforms that don't provide these features.
6965
6966Mon Jan 25 18:35:56 1999 Stan Shebs <shebs@andros.cygnus.com>
6967
6968 * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
6969 so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
6970 (shortening names from solib_threshold.exp etc), won't run on
6971 anything but HP-UX for the foreseeable future.
6972 * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
6973 reflect move.
6974
6975Thu Jan 21 15:46:49 1999 Stan Shebs <shebs@andros.cygnus.com>
6976
6977 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
6978 gdb.trace/Makefile.in (clean): Remove all test executables.
6979
6980Tue Jan 19 17:20:09 1999 David Taylor <taylor@texas.cygnus.com>
6981
6982 * gdb.base/shlib-call.exp: add test cases to verify that gdb
6983 successfully re-sets breakpoints in shared libraries.
6984 * gdb.base/shmain.c (main): return 0, don't fall off the end.
6985
6986Fri Jan 15 14:04:57 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
6987
d63a86f8
RM
6988 * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
6989 and compiled w/o GCC.
c906108c
SS
6990
6991 * gdb.hp/watch-cmd.exp: ditto.
6992
6993 * gdb.hp/watch-hp.exp: ditto.
6994
6995 * gdb.hp/xdb1.exp: ditto.
6996
6997 * gdb.hp/xdb2.exp: ditto.
6998
6999 * gdb.hp/dbx.exp: ditto.
7000
7001Thu Jan 14 18:36:48 1999 Stan Shebs <shebs@andros.cygnus.com>
7002
7003 * constvars.c: Remove C++-isms.
7004 * constvars.exp: Use gdb_test everywhere, add xfails if compiled
7005 with GCC.
7006
7007Mon Jan 11 10:08:03 1999 David Taylor <taylor@texas.cygnus.com>
7008
7009 The following changes are part of the HP merge.
7010
7011 * gdb.base/break.exp: new tests to verify that catchpoints for
7012 fork, vfork, and exec don't trigger inappropriately.
7013
7014 * gdb.base/opaque.exp: compile one file at a time, then link.
7015
7016 * gdb.base/signals.exp: be more restrictive about which hppa
7017 systems receive a setup_xfail. new tests.
7018
7019 * gdb.base/solib_threshold.build: new file.
7020 * gdb.base/solib_threshold.exp: new file.
7021 * gdb.base/solib_threshold.link_opts: new file.
7022 * gdb.base/solib_threshold.mk: new file.
7023 * gdb.base/gen_solib_threshold.c: new file.
7024
7025 * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
7026 tests. New tests for enums inside classes.
7027
7028 * gdb.c++/compiler.cc: indicate support of template debugging.
7029
7030 * gdb.c++/demangle.exp: run hp style demangling tests.
7031
7032 * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
7033 tests.
7034
7035 * gdb.c++/misc.cc: changes to support new tests.
7036
7037 * gdb.c++/templates.cc: changes to support HP's compiler; changes
7038 to support new tests.
7039
7040 * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
7041 gcc, then skip these tests.
7042
7043Sun Jan 10 23:44:11 1999 David Taylor <taylor@texas.cygnus.com>
7044
7045 The following files are part of the HP merge; some had longer
7046 names at HP, but have been renamed to be no more than 14
7047 characters in length.
7048
7049 * gdb.hp/ambiguous.cc: new file.
7050 * gdb.hp/ambiguous.exp: new file.
7051 * gdb.hp/attach.exp: new file.
7052 * gdb.hp/attach2.exp: new file.
7053 * gdb.hp/classes-hp.exp: new file.
7054 * gdb.hp/ctti.exp: new file.
7055 * gdb.hp/ctti-add.cc: new file.
7056 * gdb.hp/ctti-add1.cc: new file.
7057 * gdb.hp/ctti-add2.cc: new file.
7058 * gdb.hp/ctti-add3.cc: new file.
7059 * gdb.hp/dbx.exp: new file.
7060 * gdb.hp/exception.cc: new file.
7061 * gdb.hp/exception.exp: new file.
7062 * gdb.hp/foll-exec.c: new file.
7063 * gdb.hp/foll-exec.exp: new file.
7064 * gdb.hp/foll-fork.c: new file.
7065 * gdb.hp/foll-fork.exp: new file.
7066 * gdb.hp/foll-vfork.c: new file.
7067 * gdb.hp/foll-vfork.exp: new file.
7068 * gdb.hp/inherit-hp.exp: new file.
7069 * gdb.hp/more-steps.exp: new file.
7070 * gdb.hp/namespace.cc: new file.
7071 * gdb.hp/namespace.exp: new file.
7072 * gdb.hp/optimize.exp: new file.
7073 * gdb.hp/pxdb.c: new file.
7074 * gdb.hp/pxdb.exp: new file.
7075 * gdb.hp/quicksort.exp: new file.
7076 * gdb.hp/reg-test.exp: new file.
7077 * gdb.hp/reg-test.s: new file.
7078 * gdb.hp/sized-enum.c: new file.
7079 * gdb.hp/sized-enum.exp: new file.
7080 * gdb.hp/start-stop.exp: new file.
7081 * gdb.hp/templ-hp.cc: new file.
7082 * gdb.hp/templ-hp.exp: new file.
7083 * gdb.hp/thr-lib.c: new file.
7084 * gdb.hp/thr-lib.exp: new file.
7085 * gdb.hp/thr-lib.h: new file.
7086 * gdb.hp/thr-liblib.c: new file.
7087 * gdb.hp/virtfun-hp.c: new file.
7088 * gdb.hp/virtfun-hp.exp: new file.
7089 * gdb.hp/watch-cmd.exp: new file.
7090 * gdb.hp/watch-hp.exp: new file.
7091 * gdb.hp/xdb1.exp: new file.
7092 * gdb.hp/xdb2.exp: new file.
7093 * gdb.hp/xdb3.exp: new file.
7094
7095Wed Jan 6 18:41:15 1999 David Taylor <taylor@texas.cygnus.com>
7096
7097 The following files are part of the HP merge; some had longer
7098 names at HP, but have been renamed to be no more than 14
7099 characters in length.
7100
7101 * gdb.base/ss.h: new file.
7102 * gdb.base/call-ar-st.c: new file.
7103 * gdb.base/call-ar-st.exp: new file.
7104 * gdb.base/call-rt-st.c: new file.
7105 * gdb.base/call-rt-st-exp: new file.
7106 * gdb.base/call-strs.exp: new file.
7107 * gdb.base/ena-dis-br.exp: new file.
7108 * gdb.base/environ.exp: new file.
7109 * gdb.base/long_long.exp: new file.
7110 * gdb.base/sect-cmd.exp: new file.
7111 * gdb.base/shlib-cl2.exp: new file.
7112 * gdb.base/smoke.exp: new file.
7113 * gdb.base/so-impl-ld.c: new file.
7114 * gdb.base/so-impl-ld.exp: new file.
7115 * gdb.base/so-indr-cl.c: new file.
7116 * gdb.base/so-indr-cl.exp: new file.
7117 * gdb.base/varargs.exp: new file.
7118 * gdb.base/volatile.exp: new file.
7119 * gdb.base/whatis-exp.exp: new file.
7a292a7a 7120 * gdb.base/display.exp: new file.
c906108c
SS
7121 * gdb.c++/derivation.exp: new file.
7122 * gdb.c++/local.exp: new file.
7123 * gdb.c++/member-ptr.exp: new file.
7124 * gdb.c++/overload.exp: new file.
7125 * gdb.c++/ovldbreak.exp: new file.
7126 * gdb.c++/ref-types.exp: new file.
7127 * gdb.c++/ref-types2.exp: new file.
7128 * gdb.c++/userdef.exp: new file.
d63a86f8 7129
c906108c
SS
7130Wed Jan 6 13:50:57 1999 Stan Shebs <shebs@andros.cygnus.com>
7131
7132 * gdb.base/default.exp: Reflect wording change in remote.c.
7133
dc96c6c7 7134Tue Jan 5 19:14:51 1999 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
7135
7136 * gdb.base/help.exp: Update to reflect current text.
7137
7138Tue Jan 5 13:05:32 1999 David Taylor <taylor@texas.cygnus.com>
7139
7140 * gdb.c++/anon-union.cc: make foo and bar global, otherwise
7141 they're stack variables and contain garbage.
7142 * gdb.c++/anon-union.exp: new file.
7143
7144 The following changes were made by David Taylor
7145 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
7146 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
7147 in changes by HP.
7148
7149 * gdb.base/bitops.exp: new file.
7150 * gdb.base/default.exp: change expected messages for catch and
7151 info catch tests to reflect HP merge changes.
7152 * gdb.base/enable-disable-break.exp
7153 * gdb.base/ending-run.c: new file.
7154 * gdb.base/long_long.c: new file.
7155 * gdb.base/maint.exp: new file.
7156 * gdb.base/pointers2.exp: new file.
7157 * gdb.base/shlib-call2.exp: new file.
7158 * gdb.base/solib.exp: new file.
7159 * gdb.base/step-test.c: new file.
7160 * gdb.c++/anon-union.cc: new file.
7161 * gdb.c++/local.cc: new file.
7162 * gdb.c++/member-pointer.cc: new file.
7163 * gdb.c++/method.cc: new file.
7164 * gdb.c++/ref-types.cc: new file.
7165 * gdb.c++/ref-types2.cc: new file.
7166 * gdb.c++/userdef.cc: new file.
d63a86f8 7167
c906108c
SS
7168 * gdb.base/scope.exp: compile one file at a time, then link.
7169 * gdb.base/langs.exp: ditto.
7170 * gdb.base/list.exp: ditto.
d63a86f8 7171
c906108c
SS
7172Mon Jan 4 10:06:43 1999 David Taylor <taylor@texas.cygnus.com>
7173
7174 The following changes were made by David Taylor
7175 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
7176 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
7177 in changes by HP.
d63a86f8 7178
c906108c
SS
7179 * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
7180 skip tests. When compiling pass c++ flag to gdb_compile.
7181 * gdb.c++/
d63a86f8 7182
c906108c
SS
7183 * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
7184 test for on hppa*-*-hpux*; use args to see if c++ was specified.
7185 (skip_hp_tests): new function.
7186 (gdb_preprocess): new function.
7187
7188 * configure.in (hpdir): decide whether to configure gdb.hp.
7189 * configure: regenerated.
7190
7191 * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
7192 to delete on clean.
7193 (EXECUTABLES): update to reflect new additions.
7194 * gdb.base/commands.exp: update message expected.
7195 * gdb.base/default.exp: add copyright notice.
7196 * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
7197 * gdb.base/help.exp: update messages to reflect current text.
7198 * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
7199 targets for recurse tests.
7200 * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
7201 skip this file.
7202
7203 * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
7204 * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
7205 compilation.
7206 * gdb.c++/misc.exp: ditto.
7207 * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
7208 run the tests. tell gdb_compile that it's a c++ compilation.
7209
7210 * gdb.threads/pthreads.exp: fix typo in message.
d63a86f8 7211
c906108c
SS
7212 * gdb.base/all-bin.exp: new file.
7213 * gdb.base/arithmet.exp: new file.
7214 * gdb.base/assign.exp: new file.
7215 * gdb.base/completion.exp: new file.
7216 * gdb.base/cond-expr.exp: new file.
7217 * gdb.base/condbreak.exp: new file.
7218 * gdb.base/define.exp: new file.
7219 * gdb.base/dollar.exp: new file.
7220 * gdb.base/environment.exp: new file.
7221 * gdb.base/eval-skip.exp: new file.
7222 * gdb.base/jump.exp: new file.
7223 * gdb.base/logical.exp: new file.
7224 * gdb.base/pointers.exp: new file.
7225 * gdb.base/relational.exp: new file.
7226 * gdb.base/section_command.exp: new file.
7227 * gdb.base/whatis-expr.exp: new file.
7228
7229 * gdb.base/all-types.c: new file.
7230 * gdb.base/call-array-struct.c: new file.
7231 * gdb.base/call-return-struct.c: new file.
7232 * gdb.base/call-strings.c: new file.
7233 * gdb.base/callfuncs2.c: new file.
7234 * gdb.base/condbreak.c: new file.
7235 * gdb.base/constvars.c: new file.
7236 * gdb.base/display.c: new file.
7237 * gdb.base/int-type.c: new file.
7238 * gdb.base/jump.c: new file.
7239 * gdb.base/miscexprs.c: new file.
7240 * gdb.base/pointers.c: new file.
7241 * gdb.base/pointers2.c: new file.
7242 * gdb.base/shmain.c: new file.
7243 * gdb.base/shr1.c: new file.
7244 * gdb.base/shr2.c: new file.
7245 * gdb.base/solib.c: new file.
7246 * gdb.base/solib1.c: new file.
7247 * gdb.base/solib2.c: new file.
7248 * gdb.base/varargs.c: new file.
7249 * gdb.c++/derivation.cc: new file.
7250 * gdb.c++/overload.cc: new file.
7251 * gdb.c++/ovldbreak.cc: new file.
7252 * gdb.hp/attach.c: new file.
7253 * gdb.hp/attach2.c: new file.
7254 * gdb.hp/average.c: new file.
7255 * gdb.hp/compiler.c: new file.
7256 * gdb.hp/compiler.cc: new file.
7257 * gdb.hp/execd-program.c: new file.
7258 * gdb.hp/follow-exec.c: new file.
7259 * gdb.hp/follow-fork.c: new file.
7260 * gdb.hp/follow-vfork-and-exec.c: new file.
7261 * gdb.hp/misc-hp.cc: new file.
7262 * gdb.hp/more-steps.c: new file.
7263 * gdb.hp/optimize.c: new file.
7264 * gdb.hp/quicksort.c: new file.
7265 * gdb.hp/run-hp.c: new file.
7266 * gdb.hp/start-stop.c: new file.
7267 * gdb.hp/sum.c: new file.
7268 * gdb.hp/templates-hp.cc: new file.
7269 * gdb.hp/thread-local-in-lib.c: new file.
7270 * gdb.hp/thread-local-in-lib.h: new file.
7271 * gdb.hp/thread-local-in-lib.lib.c: new file.
7272 * gdb.hp/vforked-program.c: new file.
7273 * gdb.hp/virtfunc-hp.cc: new file.
7274 * gdb.hp/watchpoint-hp.c: new file.
7275 * gdb.hp/xdb.c: new file.
7276 * gdb.hp/xdb0.c: new file.
7277 * gdb.hp/xdb0.h: new file.
7278 * gdb.hp/xdb1.c: new file.
7279
7280Mon Dec 21 14:08:38 1998 David Taylor <taylor@texas.cygnus.com>
7281
7282 The following change was made by Edith Epstein
7283 <eepstein@cygnus.com> as part of a project to merge in changes
7284 originally made by HP; HP did not create ChangeLog entries.
7285
7286 * gdb.c++/demangle.exp: changed the expected output for some
7287 ARM-style mangling -- removed second reference to datatype.
7288 For example, maint demangle __dt__11T1__pt__2_cFv
7289 T1<char>::~T1<char>(void)
7290 becomes,
7291 maint demangle __dt__11T1__pt__2_cFv
7292 T1<char>::~T1(void)
7293
7294 (test_hp_style_demangling): new hp specific demangling test cases.
d63a86f8 7295
c906108c
SS
7296Mon Dec 14 15:07:03 1998 Jeffrey A Law (law@cygnus.com)
7297
7298 * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
7299 * gdb.trace/backtrace.exp: Likewise.
7300 * gdb.trace/circ.exp: Likewise.
7301 * gdb.trace/collection.exp: Likewise.
7302 * gdb.trace/deltrace.exp: Likewise.
7303 * gdb.trace/infotrace.exp: Likewise.
7304 * gdb.trace/limits.exp: Likewise.
7305 * gdb.trace/packetlen.exp: Likewise.
7306 * gdb.trace/passc-dyn.exp: Likewise.
7307 * gdb.trace/passcount.exp: Likewise.
7308 * gdb.trace/report.exp: Likewise.
7309 * gdb.trace/save-trace.exp: Likewise.
7310 * gdb.trace/tfind.exp: Likewise.
7311 * gdb.trace/tracecmd.exp: Likewise.
7312 * gdb.trace/while-dyn.exp: Likewise.
7313 * gdb.trace/while-stepping.exp: Likewise.
7314
73151998-12-07 Jim Blandy <jimb@zwingli.cygnus.com>
7316
7317 * gdb.base/restore.exp, gdb.base/restore.c: New tests.
7318
7319Wed Dec 2 20:03:53 1998 Stan Shebs <shebs@andros.cygnus.com>
7320
7321 From Brendan Kehoe:
7322 * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
7323 int return types.
7324
7325Sat Oct 24 18:04:22 1998 Felix Lee <flee@cygnus.com>
7326
7327 * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
7328 remote dos host testing right.
7329
7330Mon Oct 19 01:31:59 1998 Felix Lee <flee@cygnus.com>
7331
7332 * gdb.base/corefile.exp: remove some xfails.
7333
7334Thu Oct 15 10:04:38 1998 Andrew Cagney <cagney@b1.cygnus.com>
7335
7336 * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
7337 have different timestamps.
7338
7339Thu Oct 1 20:56:14 1998 Andrew Cagney <cagney@b1.cygnus.com>
7340
7341 * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
7342 gdb.base/default.exp: Replace "exec" with "executable".
7343
7344Tue Sep 29 15:06:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
7345
7346 * gdb.base/default.exp: Change else if to elseif from previous
7347 delta.
7348
7349Mon Sep 28 13:21:43 1998 Nick Clifton <nickc@cygnus.com>
7350
7351 * gdb.base/default.exp: Add brace missing from previous delta.
7352
7353Mon Sep 21 14:39:27 1998 Nick Clifton <nickc@cygnus.com>
7354
7355 * gdb.base/default.exp: Support test for info float for all
7356 varieties of arm toolchain.
7357
dc96c6c7 7358Fri Sep 18 14:07:44 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
7359
7360 * gdb.trace/*.exp: remove "remote_download" command.
7361
dc96c6c7 7362Wed Sep 16 11:38:21 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
7363
7364 * gdb.trace/*.exp: remove -gdwarf from compile.
7365
7366Wed Sep 16 01:23:11 1998 Felix Lee <flee@cygnus.com>
7367
7368 * gdb.trace/configure.in(AC_INIT): typo
7369 * gdb.trace/configure: regenerated
7370
dc96c6c7 7371Mon Sep 14 20:00:04 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
7372
7373 * config/m68k-emc.exp: New file.
7374 * lib/<emc-support.exp trace-support.exp}: New files.
7375 * configure.in: add new test directory gdb.trace.
7376 * gdb.trace/{configure configure.in Makefile.in}: New files.
7377 * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
7378 * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
7379 * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
7380 * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
7381 * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
7382 * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
7383 * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
d63a86f8 7384
dc96c6c7 7385Fri Sep 11 13:58:02 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
7386
7387 * gdb.c++/classes.exp: Change all regular expressions to match
7388 arbitrary combinations of newline/carriage-return, so that they
7389 will work equally well on Unix and Windows.
7390 * gdb.c++/inherit.exp: ditto.
7391 * gdb.c++/virtfunc.exp: ditto.
7392
73931998-08-11 Dawn Perchik <dawn@cygnus.com>
7394
7395 * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
7396
c2d11a7d
JM
7397Fri Jul 24 15:51:34 1998 Jeffrey A Law (law@cygnus.com)
7398
7399 * gdb.disasm/am33.s: Add tests for autoincrement instructions.
7400 * gdb.disasm/am33.exp: Run time. Update tests which use r8-r15
7401 to use a0-a3/d0-d3 as needed.
7402
7403Thu Jul 16 18:20:46 1998 Jeffrey A Law (law@cygnus.com)
7404
7405 * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
7406 * gdb.disasm/am33.exp: Corresponding changes.
7407
c906108c
SS
74081998-07-11 Felix Lee <flee@cygnus.com>
7409
7410 * gdb.base/callfuncs.exp: add cmp10 test.
7411 * gdb.base/callfuncs.c (cmp10): new function.
7412
7413Thurs Jul 9 11:08:31 1998 Dawn Perchik <dawn@cygnus.com>
7414
d63a86f8 7415 * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
c906108c
SS
7416 into two parts to get around a synchronization problem in expect.
7417
3fc11d3e
JM
7418Fri Jun 26 14:27:13 1998 Keith Seitz <keiths@cygnus.com>
7419
7420 * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
7421
7422 * configure.in: Add options for gdbtk testsuite.
7423
7424 * configure: Regenerate.
7425
7426 * gdb.gdbtk: New directory to hold gdbtk tests.
7427
c906108c
SS
7428Fri Jun 26 14:52:47 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
7429
7430 * gdb.fortran/types.exp: Escape brackets in expect patterns
7431 for test_float_literal_types_accepted tests.
7432 * gdb.base/scope.exp: Remove extraneous newline in filelocal_bss
7433 before run test.
7434
c2d11a7d
JM
7435Fri Jun 26 11:12:17 1998 Jeffrey A Law (law@cygnus.com)
7436
7437 * am33.exp: Just compile, do not link the testcase.
7438 * am33.s: Add ".am33" pseudoop to force am33 mode.
7439
c906108c
SS
74401998-06-25 Felix Lee <flee@cygnus.com>
7441
7442 * gdb.base/setshow.exp: make sure $pc is sane.
7443
7444 * gdb.stabs/weird.exp: split expect patterns properly.
7445
c2d11a7d
JM
7446Wed Jun 24 13:03:15 1998 Jeffrey A Law (law@cygnus.com)
7447
7448 * gdb.disasm/am33.s: New disassembler testfile for the am33.
7449 * gdb.disasm/am33.exp: Run it.
7450
dc96c6c7 7451Tue Jun 23 11:45:01 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
7452
7453 * gdb.base/funcargs.exp: simplify expect strings to ease pattern
7454 match processing (and eliminate spurious timeouts when running).
7455
dc96c6c7 7456Fri Jun 12 17:28:22 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
7457
7458 * gdb.base/signals.exp (test_handle_all_print): put back Mach
7459 exception test, but conditionalize it on target [mach | gnu].
7460
dc96c6c7 7461Wed Jun 10 10:40:03 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
7462
7463 * gdb.base/overlays.exp: fixup compile line for linker script.
7464
7465Thu Jun 4 21:54:15 1998 Felix Lee <flee@zog.cygnus.com>
7466
7467 * gdb.fortran/types.exp: don't guess at float size.
7468
7469Thu May 21 02:28:37 1998 Felix Lee <flee@zog.cygnus.com>
7470
7471 * gdb.base/exprs.exp: delete test that depends on int size.
7472
7473Sun May 17 17:10:22 1998 Bob Manson <manson@charmed.cygnus.com>
7474
7475 * config/sim.exp: Removed checks for target triplets.
7476 (gdb_target_sim): Use gdb,target_sim_options.
7477
7478Sat May 16 23:43:35 1998 Mark Alexander <marka@cygnus.com>
7479
7480 * gdb.base/reread.exp: New file.
7481 * gdb.base/reread1.c: New file.
7482 * gdb.base/reread2.c: New file.
7483
7484Sat May 16 23:22:09 1998 Mark Alexander <marka@cygnus.com>
7485
7486 * config/sim.exp: Use 'target sim -sparclite' when running
7487 SPARClite programs.
7488
7489Sat May 16 18:48:08 1998 Doug Evans <devans@canuck.cygnus.com>
7490
7491 * gdb.base/structs2.exp: New file.
7492 * gdb.base/structs2.c: New file.
7493
7494Wed May 13 13:36:14 1998 Doug Evans <devans@canuck.cygnus.com>
7495
7496 * gdb.asm/common.inc: New file.
7497 * gdb.asm/d10v.inc: New file.
7498 * asm-source.exp: Pass -I's to gas to find .inc files.
7499 Update line numbers in expected output.
7500 * asmsrc1.s: Rewrite.
7501 * asmsrc2.s: Rewrite.
7502 * configure.in: Create arch.inc symlink.
7503 * configure: Regenerate.
7504 * Makefile.in (distclean): Delete arch.inc.
7505
7506Wed May 6 10:30:54 1998 John Metzler <jmetzler@cygnus.com>
7507
7508 * callfuncs.c (t_enum_value1) : Cleanup return value warnings
7509 (t_enum_value2): ditto
7510 (t_enum_value3): ditto
7511 (main): ditto
7512Fri May 1 09:33:37 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
7513
7514 * gdb.base/break.exp: Remove xfail for `deleting all breakpoints
7515 when none' unexpected prompt case, fixed by breakpoint.c:delete_command
7516 change.
7517 Use gdb_test instead of send_gdb/gdb_expect sequences.
7518
7519Thu Apr 23 12:56:19 1998 Jason Molenda (crash@bugshack.cygnus.com)
7520
7521 * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
7522 not void.
7523
7524Thu Apr 16 10:52:34 1998 John Metzler <jmetzler@cygnus.com>
7525
7526 * gdb.base/branches.c: Code with lots of loops and
7527 subroutines. Used to test gdbs ability to single step through PC
7528 changes, especially to test mips-tdep.c:mips_next_pc
7529
7530Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
7531
7532 * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
7533 more rigorous EGCS C++ error checking.
7534
7535Fri Apr 10 22:38:12 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7536
7537 * gdb.base/help.exp: Clean up `help set args' and `help show args'
d63a86f8 7538 tests.
c906108c 7539 * gdb.base/interrupt.exp: Add "i*86-*-solaris2*" xfail for calling
d63a86f8 7540 function when asleep.
c906108c 7541 * gdb.base/signals.exp: Add "i*86-*-solaris2*" xfails. Add comment
d63a86f8
RM
7542 for i*86 Linux and SVR4 signal handling problems.
7543 Remove linux xfail for `next to handler in signals_tests_1', fixed
7544 by recent infrun.c change.
c906108c 7545 Limit backtrace to 10 frames to avoid timeout problems with infinite
d63a86f8 7546 stack backtraces.
c906108c
SS
7547 Adjust expect pattern in `handle all print' test to match Apr 28 1997
7548 target.[ch] change.
7549
7550Tue Mar 31 00:40:32 1998 Bob Manson <manson@charmed.cygnus.com>
7551
7552 * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
7553 for a newline from gdb before continuing.
7554 (default_gdb_exit): Just look for y or n.
7555 (gdb_test): Detect abnormal exit from GDB running on DOS; if
7556 it does, fail the rests of the tests in the file.
7557
7558Tue Mar 24 22:44:52 1998 Bob Manson <manson@charmed.cygnus.com>
7559
7560 * config/cygmon.exp: New file.
7561
7562Mon Mar 16 21:39:11 1998 Bob Manson <manson@charmed.cygnus.com>
7563
7564 * gdb.base/list.exp: Fix problem with "list default lines around
7565 main" test on remote targets.
7566
7567 * gdb.base/scope.exp: Fix problem with filelocal_bss before
7568 run test on remote targets.
7569
7570Thu Mar 12 16:23:00 1998 Doug Evans <devans@canuck.cygnus.com>
7571
7572 * gdb.asm: New directory.
7573 * configure.in: Configure it.
7574 * configure: Regenerate.
7575 * gdb.asm/{Makefile.in,configure.in,configure}: New files.
7576 * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
7577
7578Mon Feb 23 08:22:44 1998 Mark Alexander <marka@cygnus.com>
7579
7580 * config/mn10300-eval.exp: New file to support MN10300 eval board.
7581
dc96c6c7 7582Wed Feb 18 16:43:46 1998 Michael Snyder (msnyder@cygnus.com)
d63a86f8 7583
c906108c
SS
7584 * gdb.base/overlays (several files): Merge the two overlay
7585 managers into one. Change variables (foox, barx, bazx, grbxx)
7586 back into ints but force them to load in their proper sections.
7587
7588Thu Feb 12 13:49:30 1998 Andrew Cagney <cagney@b1.cygnus.com>
7589
7590 * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
7591 on-chip insn memory and IMAP1 to upper 128k.
7592 (D10VCopy): Handle memory regions crossing 16k boundaries.
7593 (D10VCopy): Transfer data in 32 bit chunks.
7594
7595Tue Feb 10 17:23:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
7596
7597 * gdb.base/overlays.c (main): Exit normally when result is
7598 correct.
7599
7600 * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
7601 map. Include space for printf in .text segment.
7602
7603 * gdb.base/d10vovly.c (D10VTranslate): New function, handle
7604 updated d10v memory VMA/LMA map.
7605 (D10VCopy): Call D10VTranslate.
d63a86f8 7606
c906108c
SS
7607Fri Feb 6 14:13:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
7608
7609 * gdb.base/m32rovly.c: Force variable _novlys into .data section.
7610
7611 * gdb.base/bar.c (barx, bar): Change variable to small array so
7612 that it won't be put into the .sdata - small data -
7613 section. Update reference.
7614 * gdb.base/baz.c (bazx, baz): Ditto.
7615 * gdb.base/foo.c (foox, foo): Ditto.
7616 * gdb.base/grbx.c (grbxx, grbx): Ditto.
7617
7618 * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
7619 to be arrays.
d63a86f8 7620
dc96c6c7 7621Thu Jan 29 14:48:19 1998 Michael Snyder (msnyder@cygnus.com)
d63a86f8 7622
c906108c
SS
7623 * gdb.base/overlays.exp: fix up and get working again.
7624 Add tests for backtraces from an overlay function.
d63a86f8 7625
c906108c
SS
7626Fri Jan 23 07:52:45 1998 Fred Fish <fnf@cygnus.com>
7627
7628 * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
7629 "calling function with watchpoint enabled".
7630
7631Thu Jan 22 14:23:29 1998 Fred Fish <fnf@cygnus.com>
7632
7633 * gdb.base/break.exp (test_next_with_recursion): Remove
7634 gdb_suppress_tests for d10v-*-*.
7635 * lib/gdb.exp (gdb_suppress_tests): Disable this function
7636 pending review of whether it is useful or not.
7637
7638Tue Jan 20 13:02:09 1998 Mark Alexander <marka@cygnus.com>
7639
7640 * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
7641
7642Mon Jan 19 08:53:04 1998 Mark Alexander <marka@cygnus.com>
7643
7644 * gdb.base/break.exp: Increase timeout for slow TX39 boards.
7645 * config/dve.exp: New file to support Densan boards.
7646
7647Mon Dec 15 22:38:05 1997 Andrew Cagney <cagney@b1.cygnus.com>
7648
7649 * gdb.base/interrupt.exp: Document problem of simulators, signals,
7650 reads and BSD.
7651
7652Wed Nov 26 22:29:18 1997 Bob Manson <manson@charmed.cygnus.com>
7653
7654 * config/monitor.exp: Be a bit less picky about the "Remote debugging"
7655 response.
7656
7657 * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
7658
7659Tue Nov 25 12:46:36 1997 Andrew Cagney <cagney@b1.cygnus.com>
7660
7661 * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
7662 test.
7663
7664 * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
7665 target_sizeof_long and target_bigendian_p.
7666 (structs_by_value, structs_by_reference): Check values according
7667 to targets word size and endianess.
d63a86f8 7668
c906108c
SS
7669Mon Nov 24 16:37:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
7670
7671 * gdb.base/langs.exp: For "continue to exit" ignore any trailing
7672 output.
7673
7674Fri Oct 17 13:24:43 1997 Stan Shebs <shebs@andros.cygnus.com>
7675
7676 * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
7677 Update test of set args help to match source change.
7678
7679Fri Sep 26 17:36:20 1997 Jason Molenda (crash@pern.cygnus.com)
7680
7681 * gdb.base/default.exp: Expect help system output to be in
7682 alphabetical order.
7683 * gdb.base/help.exp: Ditto.
7684
7685Wed Sep 24 13:08:14 1997 Bob Manson <manson@charmed.cygnus.com>
7686
7687 * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
7688 "i*86-pc-linux-gnu*".
7689 * gdb.base/interrupt.exp: Ditto.
7690 * gdb.base/corefile.exp: Ditto.
7691
7692 * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
7693 define vxworks when building the testcase.
7694
7695 * gdb.base/ptype.exp: Fix testnames to be unique.
7696 * gdb.base/radix.exp: Ditto.
7697 * gdb.base/term.exp: Ditto.
7698 * gdb.base/whatis.exp: Ditto.
7699 * gdb.c++/classes.exp: Ditto.
7700
7701Tue Sep 16 22:21:48 1997 Bob Manson <manson@charmed.cygnus.com>
7702
7703 * gdb.base/callfuncs.exp: Fix indentation.
7704
7705 * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
7706 suppress_flag has been set.
7707 (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
7708 target feature.
7709
7710Mon Sep 15 15:43:17 1997 Bob Manson <manson@charmed.cygnus.com>
7711
7712 * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
7713 the testcase.
7714
7715 * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
7716 set_debug_traps() and breakpoint().
7717 * gdb.c++/misc.cc (main): Ditto.
7718 * gdb.c++/templates.cc (main): Ditto.
7719 * gdb.c++/virtfunc.cc (main): Ditto.
7720
7721Fri Sep 12 16:56:38 1997 Bob Manson <manson@charmed.cygnus.com>
7722
7723 * lib/gdb.exp(gdb_step_for_stub): New function.
7724 (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
7725 exists, reload the executable and do a "continue" instead of
7726 doing a jump.
7727 (runto_main): Use gdb_step_for_stub.
d63a86f8 7728
c906108c
SS
7729 * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
7730 tests to have unique names.
7731 * gdb.base/callfuncs.exp: Ditto.
7732 * gdb.base/commands.exp: Ditto.
7733 * gdb.base/default.exp: Ditto.
7734 * gdb.base/help.exp: Ditto.
7735 * gdb.base/list.exp: Ditto.
7736 * gdb.base/opaque.exp: Ditto.
7737 * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
7738 similar tests.
d63a86f8 7739
c906108c
SS
7740 * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
7741 * gdb.c++/cplusfuncs.cc: Ditto.
7742 * gdb.c++/virtfunc.cc: Ditto.
7743
7744 * config/monitor.exp: Keep track of the last file we saw, rather
7745 than trying to get the info from gdb.
7746
7747 * gdb.fortran/types.exp: Move comment to previous line.
7748
7749Tue Sep 2 19:55:34 1997 Bob Manson <manson@charmed.cygnus.com>
7750
7751 * config/sparclet.exp: Detect gratuitous change to sparclet gdb
7752 target mode.
7753
7754Mon Jul 28 12:14:47 1997 Stan Shebs <shebs@andros.cygnus.com>
7755
7756 From Bob Manson:
7757 * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
7758 string from GDB when it connects.
7759
7760 * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
7761
7762Thu Jul 3 15:35:12 1997 Bob Manson <manson@charmed.cygnus.com>
7763
7764 * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
7765 if we can't get a debug format from GDB (we may be testing an
7766 older GDB). Use a 10 second timeout when checking for the format.
7767
7768 * gdb.stabs/weird.exp: Fix quoting.
7769
7770 * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
7771
7772Mon Jun 30 18:31:43 1997 Bob Manson <manson@charmed.cygnus.com>
7773
7774 * config/arm-ice.exp: New file.
7775
7776Sun Jun 29 16:43:30 1997 Bob Manson <manson@charmed.cygnus.com>
7777
7778 * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
7779 until it has been modified to work with the new testsuite.
7780
99707966 7781 * gdb.*/*.exp: Instead of causing 1 unresolved test when the
c906108c
SS
7782 testcase won't compile, cause all of the testcases in the file to
7783 fail instead.
7784
7785 * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
7786 (gdb_clear_suppressed): New procedure.
7787 (gdb_stop_suppressing_tests): Only clear suppress_flag if
7788 it contains a positive value.
7789
7790Sat Jun 28 13:31:11 1997 Bob Manson <manson@charmed.cygnus.com>
7791
7792 * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
7793
7794 * gdb.c++/virtfunc.exp: Remove setting of libs variable.
7795
7796Fri Jun 27 07:44:25 1997 Fred Fish <fnf@cygnus.com>
7797
7798 * lib/gdb.exp (setup_xfail_format): New function.
7799 (get_debug_format): New function to get debug format.
7800 (debug_format): New global variable to hold last value set
7801 by get_debug_format.
7802 * gdb.base/list.exp: Call get_debug_format and expect some
7803 tests to fail for DWARF 1 and COFF formats.
7804 * gdb.c++/ptype.exp: Ditto.
7805 * gdb.c++/classes.exp: Ditto.
7806 * gdb.c++/cplusfuncs.exp: Ditto.
7807 * gdb.c++/inherit.exp: Ditto.
7808 * gdb.c++/templates.exp: Ditto.
7809 * gdb.c++/virtfunc.exp: Ditto.
d63a86f8 7810
c906108c
SS
7811Wed Jun 25 09:08:51 1997 Bob Manson <manson@charmed.cygnus.com>
7812
7813 * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
7814 host doesn't have a currently-open connection.
7815
7816 * config/sparclet.exp: Cleanups and fixes to make it generic for
7817 any gdb stub target. Handle cases where gdb doesn't respond when
7818 interrupted in a sane fashion.
7819
7820 * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
7821 same thing in a totally different way.
7822
7823 * config/monitor.exp: Pass in timeouts to gdb_expect instead of
7824 setting "timeout".
7825 (gdb_start): We set the global gdb_prompt variable in
7826 default_gdb_init now.
7827
7828Sun Jun 22 09:11:02 1997 Fred Fish <fnf@cygnus.com>
7829
7830 * gdb.base/printcmds.exp: Fix "check for floating addition"
7831 regexp to accept results within approx +/- .01 of exact value.
7832 * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
7833
7834Wed Jun 18 11:11:39 1997 Bob Manson <manson@charmed.cygnus.com>
7835
7836 * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
7837 properly.
7838 (gdb_expect): Add optional timeout parameter, and add timeout
7839 value to various calls.
7840 (gdb_suppress_tests): Only give one warning message per group.
7841
7842Tue Jun 17 13:10:10 1997 Bob Manson <manson@charmed.cygnus.com>
7843
7844 * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
7845 global variables. Handle getting a value for $timeout more
7846 gracefully.
7847
7848Sat Jun 14 09:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
7849
7850 * lib/gdb.exp: Close connection to remote host if gdb doesn't
7851 initialize.
7852 (default_gdb_init): New procedure; allow gdb_init to be overridden
7853 by a target configuration file.
7854 (gdb_expect): Pass the timeout to remote_expect.
7855
7856 * config/monitor.exp(gdb_load): Fix typo in regexp.
7857
7858Thu Jun 12 20:57:12 1997 Bob Manson <manson@charmed.cygnus.com>
7859
7860 * gdb.base/funcargs.exp: Remove spurious suppress tests call.
7861
7862Tue Jun 3 15:20:20 1997 Bob Manson <manson@charmed.cygnus.com>
7863
7864 * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
7865 here. Call gdb_target_exec before rebooting the target, to make
7866 sure the connection to the target is closed.
7867 (gdb_load): Pass the name of the executable to gdb_target_monitor.
7868 Don't call gdb_file_cmd here; let gdb_target_monitor do it.
7869 Also detect "Timeout reading from remote" error.
7870
7871 * config/gdbserver.exp: Pass the executable being loaded to
7872 gdb_target_monitor. Don't call gdb_file_cmd here; let
7873 gdb_target_monitor do it.
7874
7875 * gdb.disasm/hppa.exp: Don't use exec_output.
7876
7877Fri May 23 13:28:29 1997 Bob Manson <manson@charmed.cygnus.com>
7878
7879 * gdb.base/list.exp: If we're debugging a non-native target,
7880 try to set the pc register to point to the start of the
7881 program before doing the first list command.
7882
7883 * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
7884 test_calls after restarting.
7885
7886 * lib/gdb.exp(gdb_run_cmd): Send jump command again after
7887 reloading.
7888
7889 * gdb.base/watchpoint.exp: Fix typo.
7890
7891 * gdb.base/setshow.exp: Check for use_gdb_stub.
7892
7893 * gdb.base/break.exp: Fix continue until exit test for the gdb
7894 stub case.
7895 * gdb.base/langs.exp: Ditto.
7896
7897 * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
7898 gdb_load_offset. If we weren't given a file to load, figure out
7899 what the current file is and use it.
7900
7901 * config/i386-bozo.exp: New file.
7902
7903Thu May 22 18:51:32 1997 Bob Manson <manson@charmed.cygnus.com>
7904
7905 * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
7906 feature.
7907
7908 * config/proelf.exp: New entry.
7909
7910Wed May 21 21:23:16 1997 Bob Manson <manson@charmed.cygnus.com>
7911
7912 * lib/gdb.exp: Remove spurious .* patterns at the beginning
7913 of regexps.
7914
7915 * gdb.base/watchpoint.exp: Don't run the test_stepping
7916 tests if gdb can't call functions on the target.
7917
7918 * gdb.base/setshow.exp: Don't run the set prompt tests if
7919 the board has gdb_prompt set.
7920
7921Tue May 20 08:58:49 1997 Jeffrey A Law (law@cygnus.com)
7922
7923 * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
7924 * gdb.base/commands.exp: Likewise.
7925 * gdb.base/setshow.exp: Likewise.
7926
7927Mon May 19 15:37:50 1997 Bob Manson <manson@charmed.cygnus.com>
7928
7929 * config/monitor.exp(gdb_start): Look for gdb_prompt target
7930 feature.
7931
7932 * config/i960.exp: New file.
7933
7934Thu May 1 18:01:50 1997 Bob Manson <manson@charmed.cygnus.com>
7935
7936 * gdb.base/funcargs.exp: Check for gdb,short_int target
7937 feature instead of looking for explicit target triplets.
7938
dc96c6c7 7939Mon Apr 28 17:27:40 1997 Michael Snyder <msnyder@cygnus.com>
c906108c 7940
d63a86f8 7941 * gdb.base/printcmds.exp: add a couple more tests a la
c906108c
SS
7942 "p 123DEADBEEF", to check parse_number.
7943 * top.c: change "to enable to enable" to "to enable" in a couple
7944 of help strings.
7945
7946Thu Apr 24 14:38:18 1997 Jeffrey A Law (law@cygnus.com)
7947
7948 * gdb.base/callfuncs.exp: Mark some tests as expected to fail
7949 on the mn10300.
d63a86f8 7950
c906108c
SS
7951Mon Apr 21 15:05:42 1997 Fred Fish <fnf@cygnus.com>
7952
7953 * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
7954 where the test executable is run with explicit args.
7955 * gdb.base/default.exp: Handle arm-*-coff case for "info float".
7956
7957Mon Apr 21 13:38:58 1997 Fred Fish <fnf@cygnus.com>
7958
7959 * gdb.base/run.c: Use FAKEARGV to build test executable that
7960 does not require a command line arg, since most simulators
7961 don't currently support passing such an arg into the simulated
7962 program.
7963 * gdb.base/commands.exp: Change tests to insert the proper
7964 value as the arg to the first recursive factorial call. Change
7965 compilation line to define FAKEARGV at compile time.
7966
7967Wed Apr 9 11:12:36 1997 Jeffrey A Law (law@cygnus.com)
7968
7969 * gdb.base/recurse.exp: Enable these tests for the mn10300.
7970 * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
7971 function with watchpoint enabled" test.
7972
7973Tue Apr 8 19:33:20 1997 Bob Manson <manson@charmed.cygnus.com>
7974
7975 * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
7976 Don't call gdb_test when the command doesn't return to a gdb prompt.
7977
7978 * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
7979 "Tests restarted" messages.
7980
7981Tue Apr 8 16:38:46 1997 Jeffrey A Law (law@cygnus.com)
7982
7983 * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
7984
dc96c6c7 7985Thu Apr 3 15:21:26 1997 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
7986
7987 * gdb.base/help.exp: update help msg for INFO ADDR; add help test
7988 for INFO SYMBOL; add help tests for OVERLAY commands.
7989 * gdb.base/default.exp: add tests for INFO SYMBOL command;
7990 add tests for OVERLAY commands
7991 * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
7992 d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
7993 * gdb.base/sigall.c: add usestubs code frag
7994 * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
d63a86f8 7995
c906108c
SS
7996Thu Apr 3 09:38:53 1997 Bob Manson <manson@charmed.cygnus.com>
7997
7998 * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
7999 failures.
8000 (gdb_stop_suppressing_tests): Note that tests have restarted.
8001
8002Wed Apr 2 19:04:20 1997 Bob Manson <manson@charmed.cygnus.com>
8003
8004 * config/h8300.exp: New file.
8005
8006Sun Mar 30 13:38:25 1997 Bob Manson <manson@charmed.cygnus.com>
8007
8008 * gdb.base/setshow.exp: Check for the existence of a
8009 feature, not its value.
8010
8011Sat Mar 29 11:19:46 1997 Bob Manson <manson@charmed.cygnus.com>
8012
8013 * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
8014
8015 * gdb.base/scope.exp: It's now init0(), not init().
8016
8017 * gdb.base/scope0.c: For now, change init() to be init0().
8018
8019 * config/monitor.exp: Use gdb_serial in preference to serial
8020 or netport.
8021
8022 * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
8023 and it's not already set.
8024
8025Fri Mar 28 19:54:18 1997 Bob Manson <manson@charmed.cygnus.com>
8026
8027 * gdb.base/setshow.exp: Only test the run command if the target
8028 isn't using a stub and if it supports argument passing.
8029
8030Sat Mar 22 19:50:25 1997 Bob Manson <manson@charmed.cygnus.com>
8031
8032 * config/udi.exp(gdb_start): Make sure UDICONF is set
8033 properly before starting gdb.
8034
8035Mon Mar 24 14:40:33 1997 Jeffrey A Law (law@cygnus.com)
8036
8037 * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
8038 * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
8039 * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
8040
8041Tue Mar 11 11:42:58 1997 Bob Manson <manson@charmed.cygnus.com>
8042
8043 * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
8044 specialized code to reboot the board, use remote_reboot instead.
8045
8046 * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
8047
8048 * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
8049
8050 * config/monitor.exp: Make sure we disconnect from the target.
8051 Also, try a reboot/reload cycle instead of failing if the
8052 load fails.
8053
8054Fri Mar 7 13:48:30 1997 Bob Manson <manson@charmed.cygnus.com>
8055
8056 * gdb.base/default.exp: Don't set match_max.
8057 * gdb.base/help.exp: Ditto.
8058 * gdb.base/list.exp: Ditto.
8059 * gdb.base/signals.exp: Ditto.
8060
8061 * config/monitor.exp(gdb_load): If gdb,use_standard_load is
8062 set, use remote_ld to download the testcase instead of
8063 the GDB loader.
8064
8065Wed Mar 5 00:00:43 1997 Bob Manson <manson@charmed.cygnus.com>
8066
8067 * config/vr5000.exp: New file.
8068
8069 * config/monitor.exp(gdb_target_monitor): Add pattern for
8070 "Ending remote" to detect errors in connecting.
8071
8072 * gdb.base/setshow.exp: Add .* within auto language test.
8073
8074 * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
8075 target feature.
8076
8077 * config/monitor.exp(gdb_load): Check for a failure when loading,
8078 and reboot the board if necessary.
8079
8080 * gdb.base/setvar.exp(test_set): Handle multiple prints within
8081 a set of tests. Remove print.* from the patterns being checked.
8082
8083Mon Mar 3 11:57:43 1997 Bob Manson <manson@charmed.cygnus.com>
8084
8085 * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
8086 refer to gdb_spawn_id.
8087
8088 * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
8089 longer used.
8090 * config/sparclet.exp: Ditto.
8091 * config/sparclet-old.exp: Ditto.
8092 * config/slite.exp: Ditto.
8093 * config/sim.exp: Ditto.
8094 * gdb.base/funcargs.exp: Ditto.
8095
8096 * lib/gdb.exp:Remove references to gdb_spawn_id.
8097 (gdb_expect): Move to remote.exp.
8098
8099Fri Feb 28 20:47:39 1997 Bob Manson <manson@charmed.cygnus.com>
8100
8101 * config/monitor.exp: Detect the "Couldn't establish connection"
8102 message from GDB.
8103
8104Tue Feb 25 14:08:55 1997 Bob Manson <manson@charmed.cygnus.com>
8105
8106 * gdb.base/bitfields.exp: Use runto instead of explicit
8107 gdb_run_cmd/gdb_expect sequences.
8108
8109 * gdb.base/break.exp(text_next_with_recursion): Add match for
8110 gdb_expect call.
8111
8112 * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
8113 We also need to handle the "A program is being debugged already"
8114 prompt from gdb. Use gdb_test to set the baud rate.
8115
8116 * lib/gdb.exp(gdb_init): Increase the default expect buffer size
8117 to 20000. Really. I mean it.
8118
8119Mon Feb 24 13:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
8120
8121 * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
8122 fails. If suppress_flag is set, skip perror message about not
8123 being able to send to GDB.
8124 (send_gdb): If suppress_flag is set, don't try to send commands to
8125 GDB.
8126 (gdb_expect): If suppress_flag is set, always fail immediately.
8127 (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
8128 (gdb_init): Call gdb_stop_suppressing_tests.
8129 (default_gdb_exit): Ditto.
8130 (default_gdb_start): Ditto.
8131
8132 * gdb.base/bitfields.exp: Call gdb_suppress_tests and
8133 gdb_stop_suppressing_tests as appropriate.
8134 * gdb.base/break.exp: Ditto.
8135 * gdb.base/callfuncs.exp: Ditto.
8136 * gdb.base/commands.exp: Ditto.
8137 * gdb.base/exprs.exp: Ditto.
8138 * gdb.base/funcargs.exp: Ditto.
8139 * gdb.base/list.exp: Ditto.
8140 * gdb.base/recurse.exp: Ditto.
8141 * gdb.base/scope.exp: Ditto.
8142 * gdb.base/structs.exp: Ditto.
8143 * gdb.c++/inherit.exp: Ditto.
8144
8145Sun Feb 23 19:56:02 1997 Bob Manson <manson@charmed.cygnus.com>
8146
8147 * config/vr4300.exp: New file.
8148
99707966 8149 * gdb.*/*.exp: Call gdb_expect instead of expect.
d63a86f8 8150
99707966 8151 * lib/gdb.exp(gdb_expect): New function.
c906108c
SS
8152
8153Thu Feb 20 13:57:01 1997 Bob Manson <manson@charmed.cygnus.com>
8154
8155 * lib/gdb.exp(gdb_init): New function.
8156
8157 * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
8158 for each individual variable set.
8159
8160 * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
8161 name.
8162
8163 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
8164
8165 * gdb.base/scope.exp: Use gdb_test.
8166
8167 * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
8168 aborting; the testsuite driver will do that for us (see
8169 gdb_finish). Also, use gdb_test in a few more places.
8170
8171Thu Feb 20 13:32:24 1997 Stan Shebs <shebs@andros.cygnus.com>
8172
8173 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
8174
8175Thu Feb 20 10:34:21 1997 Jeffrey A Law (law@cygnus.com)
8176
8177 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
8178 and "add_tests" are not at the same address.
8179
8180Fri Feb 14 18:47:23 1997 Bob Manson <manson@charmed.cygnus.com>
8181
8182 * gdb.base/ptype.exp: Use gdb_test.
8183
8184Thu Feb 13 16:09:36 1997 Jeffrey A Law (law@cygnus.com)
8185
8186 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
8187 * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
8188 left in. No longer expect them to fail.
8189
8190 * gdb.stabs/*.mt; Deleted, no longer used.
8191 * gdb.stabs/configure.in: Remove references to target makefile
8192 frags.
8193 * gdb.stabs/configure: Rebuilt.
8194
8195 * gdb.disasm/*.mt: Deleted, no longer used.
8196 * gdb.disasm/configure.in: Remove references to target makefile
8197 frags. Use "sh3.s" as the unique filename for this directory.
8198 * gdb.disasm/configure: Rebuilt.
8199
8200 * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
8201 * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
8202 * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
8203
8204Tue Feb 11 16:57:58 1997 Bob Manson <manson@charmed.cygnus.com>
8205
8206 * config/udi.exp: Use mondfe,name instead of remote_host.
8207
8208Tue Feb 11 11:22:36 1997 Jeffrey A Law (law@cygnus.com)
8209
8210 * gdb.base/watchpoint.exp: Don't expect a failure when calling
8211 a function with a watchpoint enabled on the mn10200.
8212
8213 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
8214 before trying to create it!
8215
8216Mon Feb 10 16:40:47 1997 Bob Manson <manson@charmed.cygnus.com>
8217
8218 * config/vx.exp: Use hostname instead of netport.
8219
8220 * config/vxworks.exp: New file.
8221
8222 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
8223
8224 * config/monitor.exp(gdb_target_monitor): Look for a prompt from
8225 gdb before assuming everything worked. Send a ^C if a timeout
8226 occurs.
8227
8228 * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
8229 $gdb_spawn_id directly.
8230 (gdb_run_cmd): Try _start as well as start. Use the target feature
8231 gdb,start_symbol as the symbol to start from when jumping.
8232
8233Mon Feb 10 11:26:59 1997 Jeffrey A Law (law@cygnus.com)
8234
8235 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
8236 redundant) test.
8237
8238 * gdb.base/recurse.exp: Relax final value test for 'b' so that
8239 it doesn't lose for 16bit integer systems.
8240
8241Fri Feb 7 09:31:21 1997 Jeffrey A Law (law@cygnus.com)
8242
8243 * gdb.fortran/types.exp: If the target doesn't support "double"
8244 data types, then expect "real" types to only be 4 bytes.
8245
8246 * gdb.c++/virtfunc.exp: Expect failure for virtual function
8247 call tests if the target doesn't support inferior function calls.
8248
8249 * gdb.base/printcmds.exp: Allow minor deviation in FP values
8250 in printf tests.
8251
8252Thu Feb 6 12:46:14 1997 Jeffrey A Law (law@cygnus.com)
8253
8254 * gdb.base/help.exp: Disable "help set", "help show", and
8255 "help support". Simplify regexp for "help stack".
8256
8257 * gdb.base/default.exp: Set match_max to 5000 and the timeout
8258 to 60 seconds. Temporarily set match_max to 15000 around the
8259 "info copying" test.
8260
8261 * gdb.base/nodebug.exp: Don't try to do an inferior function
8262 call if the target doesn't support them.
8263 * gdb.base/printcmds.exp: Likewise.
8264 * gdb.base/setvar.exp: Likewise.
8265 * gdb.base/structs.exp: Likewise.
8266 * gdb.c++/templates.exp: Likewise.
8267 * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
8268
8269 * gdb.base/recurse.exp: Enable for the mn10200.
8270
8271 * configure.in: Do configure gdb.stabs directory for *-*-elf
8272 targets.
8273 * configure: Rebuilt.
8274
8275 * gdb.base/break.exp: Check for gdb,noresults before testing
8276 exit status and/or results from the target.
8277 * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
8278 * lib/gdb.exp: Remove old (now bogus) initialization of
8279 noinferior, noargs, noresults and nosignals.
8280
8281Tue Feb 4 21:52:17 1997 Bob Manson <manson@charmed.cygnus.com>
8282
8283 * config/sh.exp: New file.
8284
8285 * config/slite.exp: Try to connect multiple times to the board
8286 before rebooting. Only send a "monitor run" if need_monitor_run
8287 is set.
8288
8289 * gdb.base/break.exp: Don't do the "stub continue" test if
8290 the target has gdb_stub set.
8291
8292 * gdb.base/callfuncs.exp: Increase the timeout.
8293
8294 * gdb.base/interrupt.exp: Don't even try to compile the testcase
8295 if the target has gdb,noinferiorio set.
8296
8297 * gdb.base/list.exp: Increase match_max to 10000 characters.
8298
8299 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
8300
8301 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
8302 target.
8303
8304 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
8305
8306Mon Feb 3 12:09:37 1997 Bob Manson <manson@charmed.cygnus.com>
8307
8308 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
8309 trying to delete the copy of gdb. Catch the file delete so we
8310 don't die if the delete fails; also, the file should be copied to
8311 the host, not to the build.
8312
8313Sun Feb 2 00:55:14 1997 Bob Manson <manson@charmed.cygnus.com>
8314
8315 * lib/gdb.exp(gdb_test): Surround the result pattern with
8316 parenthesis in case it contains multiple regexps separated
8317 with |.
8318
8319 * gdb.base/watchpoint.exp: Use gdb_test.
8320 * gdb.base/default.exp: Ditto.
8321
8322Sat Feb 1 23:51:01 1997 Bob Manson <manson@charmed.cygnus.com>
8323
99707966 8324 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
d63a86f8 8325
c906108c
SS
8326 * gdb.base/scope.exp: Use gdb_test.
8327 * gdb.c++/classes.exp: Ditto.
8328 * gdb.c++/inherit.exp: Ditto.
8329
8330Fri Jan 31 13:09:12 1997 Bob Manson <manson@charmed.cygnus.com>
8331
8332 * gdb.base/crossload.exp: Don't use execute_anywhere, use
8333 remote_exec instead.
8334 * gdb.base/corefile.exp: Don't be ridiculous.
8335 * gdb.base/*.c: Add missing stub invocations.
8336
8337Thu Jan 30 16:49:25 1997 Bob Manson <manson@charmed.cygnus.com>
8338
8339 * config/slite.exp: Miscellaneous fixes.
8340
8341 * lib/gdb.exp: Fix runto.
8342
8343 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
8344 the target.
8345
8346 * gdb.base/watchpoint.exp: Fix regexp.
8347
8348 * lib/gdb.exp(default_gdb_exit): Add a catch to the
8349 close and wait commands, as the descriptor may now be
8350 invalid. Always call "remote_close host".
8351
8352Tue Jan 28 14:42:31 1997 Bob Manson <manson@charmed.cygnus.com>
8353
8354 Major rewrite for testsuite revision.
d63a86f8 8355
c906108c
SS
8356 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
8357 TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
8358 instead of relying on spawn_id to always contain a valid
8359 spawn id.
8360 (get_compiler_info): New procedure to build the ${binfile}.ci
8361 file, instead of replicating this in N different places.
8362 (gdb_compile): New procedure.
d63a86f8 8363
c906108c
SS
8364 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
8365 appropriate arguments) instead of compile. Use gdb_test in a lot
8366 more places. Use send_gdb instead of send. Always run gdb_start
8367 at the start of a testcase, as this is no longer done magically.
8368
8369 config/*-gdb.exp: Rename without the -gdb suffix.
8370
8371 config/mips.exp: Use remote_close instead of exit_remote_shell.
8372 config/monitor.exp: Use target_info instead of looking at
8373 baud, timeout, etc.
8374 config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
8375
8376Sat Dec 14 00:43:57 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8377
8378 * gdb.c++/templates.exp (test_ptype_of_templates),
8379 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
8380 Update expect patterns for destructors and assignment operators
8381 to match corresponding c-typeprint.c changes.
8382 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
8383 to destructor breakpoint test, GDB should be able to set the
8384 destructor breakpoint without specifying arguments.
8385
8386Tue Dec 3 20:17:52 1996 Fred Fish <fnf@cygnus.com>
8387
8388 * gdb.threads/pthreads.exp: Change result for failure to compile due
8389 to lack of pthreads runtime support from an error to simply an
8390 unsupported test, per dejagnu standards.
8391
8392Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8393
8394 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
8395 where GDB exits to reduce pattern match time.
8396 (skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
8397
8398 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
8399
dc96c6c7 8400Tue Nov 26 18:29:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
8401
8402 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
8403 * gdb.base/default.exp: ditto.
8404 * gdb.base/nodebug.exp: ditto.
8405 * gdb.base/printcmds.exp: ditto.
8406 * gdb.base/ptype.exp: ditto.
8407 * gdb.base/setvar.exp: ditto.
8408 * gdb.base/structs.exp: ditto.
8409 * gdb.base/setshow.c: Guard against uninitialized values of argc.
8410
8411Tue Nov 26 17:23:28 1996 Ian Lance Taylor <ian@cygnus.com>
8412
8413 * configure, */configure: Rebuild with autoconf 2.12.
8414
8415Sat Nov 23 13:32:15 1996 Fred Fish <fnf@cygnus.com>
8416
8417 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
8418 use new i*86-pc-linux*-gnu quads.
8419 * gdb.base/corefile.exp: Ditto.
8420 * gdb.base/signals.exp: Ditto.
8421 * gdb.base/sigall.exp: Ditto.
8422 * gdb.base/interrupt.exp: Ditto.
8423
8424 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
8425 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
8426 RedHat 4.0.
d63a86f8 8427
c906108c
SS
8428 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
8429 linux. This allows the test case to at least compile on latest
8430 linux, but still not run due to missing the threads runtime library.
8431
8432Fri Nov 22 10:13:29 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8433
8434 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
8435 directory to search gdb directory. Accept and step over conditional
8436 stack alignment code. Consume $prompt in failure cases.
8437 Reset timeout to $oldtimeout instead of some arbitrary value.
8438 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
8439 timeout problems with infinite stack backtraces.
8440 * gdb.base/ptype.exp (ptype struct link, union tu_link):
8441 Accept function parameters for linkfunc member.
8442
8443Thu Nov 21 09:17:19 1996 Fred Fish <fnf@cygnus.com>
8444
8445 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
8446 (CXXFLAGS): Remove, unreferenced.
8447 (B_OPTIONS): Add for -B options and add code to initialize with
8448 previous -B options and also add -B option to pick up cross compiled
8449 runtime.
8450 (TARGET_INCLUDES): Add for -I options and add code to initialize when
8451 doing cross compiles.
8452 (target_alias): Declare global.
8453 (xgcc): Set variable to full path of gcc in build tree. Use findfile
8454 to verify that gcc exists in build tree, and if so set CC to that
8455 gcc and to use B_OPTIONS and TARGET_INCLUDES.
d63a86f8 8456
c906108c
SS
8457Tue Nov 12 16:20:13 1996 Fred Fish <fnf@cygnus.com>
8458
8459 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
8460 ptype test for anonymous union. Fixup testcase to match
8461 current gcc debug output.
8462
8463Mon Nov 11 14:12:06 1996 Jeffrey A Law (law@cygnus.com)
8464
8465 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
8466 force argument to an unsigned long type.
8467
8468Mon Nov 11 10:27:55 1996 Fred Fish <fnf@cygnus.com>
8469
8470 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
8471 tests and anonymous union print/ptype tests.
8472 * gdb.base/list.exp (test_forward-search): Increase timeout by
8473 5 minutes for the "search extremely long line" case.
8474 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
8475 completely optional and that the pass/fail messages use the command as
8476 the message if that third arg is a null string.
8477 (gdb_test_exact): Arrange that a null string pattern means match a
8478 null string output rather than any output, which might include random
8479 errors.
8480 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
8481 backtrace test.
8482 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
8483 always failing and failure is now exposed by gdb.exp changes.
8484
8485Sat Nov 9 11:13:24 1996 Fred Fish <fnf@cygnus.com>
8486
8487 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
8488 weren't being noted.
8489
8490Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8491
8492 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
8493 * gdb.stabs/weird.exp: Remove v_comb xfails.
8494
dc96c6c7 8495Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
8496
8497 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
8498 list.exp scope.exp watchpoint.exp]
8499 Make all timeout error msgs explicitly say "(timeout)".
d63a86f8 8500
dc96c6c7 8501Mon Nov 4 12:03:06 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
8502
8503 * config/monitor.exp: Increase download timeout to 1000 seconds.
8504
dc96c6c7 8505Mon Nov 4 12:02:26 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
8506
8507 * config/m32r.exp: Increase timeout to 120 seconds.
8508
8509Sun Nov 3 14:37:05 1996 Fred Fish <fnf@cygnus.com>
8510
8511 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
8512 and accept older ordering as obsolescent gcc or gdb.
8513 * gdb.c++/templates.exp: Ditto.
8514 * gdb.c++/virtfunc.exp: Ditto.
8515
8516Fri Nov 1 11:56:09 1996 Fred Fish <fnf@cygnus.com>
8517
8518 * gdb.base/coremaker.c: Add code to mmap some data so we
8519 can check that it ends up in the core file.
8520 * gdb.base/corefile.exp: Add test to read mmapped data
8521 from core file.
8522
dc96c6c7 8523Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
8524
8525 * config/m32r.exp: New file.
8526
8527Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
8528
8529 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
8530 that cflags can contains -gstabs, and work correctly for other tests.
8531
dc96c6c7 8532Mon Oct 21 14:00:37 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
8533
8534 * gdb.base/setshow.exp: New file, tests show and set.
8535 * gdb.base/setshow.c: New file, tests show and set.
8536 * gdb.base/help.exp: Add test for help set|show annotate.
8537 * gdb.base/default.exp: Add test for set|show annotate.
8538
8539Wed Oct 16 19:03:54 1996 Stu Grossman (grossman@critters.cygnus.com)
8540
8541 * testsuite/gdb.base/break.exp: Make backtrace from factorial
8542 errors unique.
8543 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
8544 explicitly.
8545
8546Tue Oct 15 16:45:02 1996 Stu Grossman (grossman@critters.cygnus.com)
8547
8548 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
8549 and width commands. This is done elsewhere.
8550 * (gdb_start): Don't call gdb_start_sim here. That's already
8551 done in gdb_load. This fixes lots of failures in default.exp.
8552
8553Sun Oct 13 10:40:23 1996 Fred Fish <fnf@cygnus.com>
8554
8555 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
8556 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
8557 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
8558 in the same we we treat other failures (since it may be an expected
8559 condition), rather than as an error.
8560 * gdb.base/signals.exp (test_handle_all_print): Revert back to
8561 old test format.
8562
8563Fri Oct 11 17:05:22 1996 Fred Fish <fnf@cygnus.com>
8564
8565 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
8566 (distclean maintainer-clean realclean): No need to remove files
8567 twice. Nuke the duplicates.
8568 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
d63a86f8 8569 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
c906108c
SS
8570 Remove config.h along with other config files.
8571
8572Mon Sep 30 20:16:22 1996 Fred Fish <fnf@cygnus.com>
8573
8574 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
8575 "p func1 ()" and note that rests of tests are skipped.
8576 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
8577 setup_xfails for "print func2::coremaker_local".
8578 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
8579 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
8580 affected by the previous run test.
8581 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
8582 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
8583 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
8584 "pass int powerset tuple" and "pass modeless int powerset tuple".
8585 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
8586 "real write 4" and "real write 8".
8587 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
8588 setup_xfails for "print vs1 after tuple assign 2",
8589 "print \$i after tuple assign 2", and
8590 "print vs2 after tuple assign 2".
8591 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
8592 meaningful error message and return -1 so the caller can
8593 suppress further tests and avoid a cascade of errors.
d63a86f8 8594
c906108c
SS
8595Fri Sep 27 10:34:51 1996 Fred Fish <fnf@cygnus.com>
8596
8597 * gdb.base/a1-selftest.exp: Tweak tests to account for new
8598 format for printing version.
8599 * gdb.base/default.exp: Ditto.
8600 * gdb.base/interrupt.exp: Fix problem with cascade of
8601 errors if child process dies while calling a function.
d63a86f8 8602
c906108c
SS
8603Fri Sep 13 21:43:48 1996 Fred Fish <fnf@cygnus.com>
8604
8605 * Makefile.in (VPATH): Add
8606 * Makefile.in (Makefile, config.status): Fix rules so things get
8607 remade when necessary.
8608
8609Fri Sep 13 18:16:10 1996 Fred Fish <fnf@cygnus.com>
8610
8611 * Makefile.in (just-check): Add path to sibling expect dir
8612 to environment variable specified by RPATH_ENVVAR.
8613
8614Fri Sep 13 12:05:34 1996 Fred Fish <fnf@cygnus.com>
8615
8616 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
8617 (just-check): Add shared library paths for libstdc++, tk,
8618 tcl, bfd, and opcodes to the environment variable specified
8619 in RPATH_ENVVAR.
8620 * configure.in: Add support to recognize --enable-shared flag
8621 and generate correct value for RPATH_ENVVAR.
8622 * configure: Regenerated with autoconf.
8623
8624Mon Sep 2 06:36:02 1996 Fred Fish <fnf@cygnus.com>
8625
8626 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
8627 include all osf versions.
8628 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
8629 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
8630 when target is linux. When failing to build pthreads test
8631 executable, give more meaningful message.
8632 * gdb.threads/pthreads.c: Hpux also uses old definition of second
8633 arg for pthread_create.
d63a86f8 8634
c906108c
SS
8635Mon Aug 19 09:58:59 1996 Fred Fish <fnf@cygnus.com>
8636
8637 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
8638 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
8639 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
8640 and -lpthreads (everybody else).
8641 (test_startup): Fail gracefully if threads are not supported.
8642 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
8643 "p/c array_index("abcdef",2)" when not gcc compiled.
8644 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
8645 "print func2::coremaker_local" when not gcc compiled.
8646 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
8647 "ptype on opaque struct tagname (statically)",
8648 "ptype on opaque struct tagname (dynamically) 1", and
8649 "ptype on opaque struct tagname (dynamically) 2"
8650 for not compiled with gcc.
8651 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
8652 backtrace when compiled with gcc.
d63a86f8 8653 * lib/gdb.exp (runto_main): Return result of "runto main" rather
c906108c
SS
8654 than always return success.
8655
8656Sat Aug 17 13:28:00 1996 Fred Fish <fnf@cygnus.com>
8657
8658 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
8659
8660Tue Aug 13 10:26:10 1996 Jeffrey A Law (law@cygnus.com)
8661
8662 * gdb.base/structs.exp: Undo last change.
8663
8664Mon Aug 12 15:29:08 1996 Fred Fish <fnf@cygnus.com>
8665
8666 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
8667 encapsulate all the steps/nexts done during self test, starting
8668 at main, and makes them less sensitive to optimization issues.
8669 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
8670 signal handler" test.
8671 * gdb.threads/pthreads.exp: Only run this for native configs.
8672 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
8673 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
8674 tests.
8675 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
8676 for "runto test_calls(void)" test.
d63a86f8 8677
c906108c
SS
8678Sun Aug 11 13:11:24 1996 Fred Fish <fnf@cygnus.com>
8679
8680 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
8681 and don't expect address info in breakpoint confirmations.
8682
8683Wed Aug 7 20:47:43 1996 Fred Fish <fnf@cygnus.com>
8684
8685 * gdb.base/list.exp (test_forward_search): Increase timeout
8686 temporarily by 60 seconds for searching extremely long line,
8687 and then reset to old value when done. Increase expect input
8688 buffer to 10000.
8689
8690Wed Aug 7 15:34:22 1996 Fred Fish <fnf@cygnus.com>
8691
8692 * gdb.base/list.exp (test_forward_search): Fix to handle very
8693 long source line without overflowing expect's input buffer.
8694
8695Wed Aug 7 12:03:25 1996 Tom Tromey <tromey@creche.cygnus.com>
8696
8697 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
8698 "buffer_full".
8699
8700 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
8701 "buffer_full".
8702
8703 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
8704 "buffer_full".
8705
8706 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
8707 "buffer_full".
8708
8709Wed Aug 7 11:05:47 1996 Fred Fish <fnf@cygnus.com>
8710
8711 * configure.in (configdirs): Add gdb.threads.
8712 * configure: Regenerated with autoconf.
8713 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
8714 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
8715 * gdb.threads/configure: New, generated with autoconf.
d63a86f8 8716
c906108c
SS
8717Tue Aug 6 10:23:04 1996 Tom Tromey <tromey@rtl.cygnus.com>
8718
8719 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
8720
8721Mon Aug 5 18:11:53 1996 Fred Fish <fnf@cygnus.com>
8722
8723 * gdb.base/signals.exp (test_handle_all_print): Test separately for
8724 each signal's status in the output of "handle all print".
8725 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
8726 the \r\n sequence that immediately precedes the gdb prompt.
8727 * gdb.base/a1-selftest.exp: Save original timeout and restore
8728 after test.
8729
8730Sun Aug 4 10:20:50 1996 Jeffrey A Law (law@cygnus.com)
8731
8732 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
8733 symbol.
8734
8735Fri Aug 2 17:37:26 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
8736
8737 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
8738
8739Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
8740
8741 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
8742 timeout by 60 seconds.
8743
8744Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
8745
8746 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
8747 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
8748 error return.
8749
8750Thu Jun 27 10:54:58 1996 Fred Fish <fnf@cygnus.com>
8751
8752 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
8753 gdb initialization, also report how long dejagnu waited. Restore
8754 old timeout before doing error return. Temporarily increase timeout
8755 by 3 minutes to allow for slow startups over heavy NFS use.
8756
8757Tue Jun 25 19:59:17 1996 Fred Fish <fnf@cygnus.com>
8758
8759 * lib/gdb.exp: Report timeout value for verbosity level 2.
8760 * config/gdbserver.exp: Ditto.
8761 * config/hppro.exp: Ditto.
8762 * config/mips-gdb.exp: Ditto.
8763 * config/monitor.exp: Ditto.
8764 * config/netware.exp: Ditto.
8765 * config/sim-gdb.exp: Ditto.
8766 * config/slite-gdb.exp: Ditto.
8767 * config/udi-gdb.exp: Ditto.
8768 * config/unix-gdb.exp: Ditto.
8769 * config/vx-gdb.exp: Ditto.
8770 * gdb.base/a1-selftest.exp: Ditto.
8771 * gdb.base/a2-run.exp: Ditto.
8772 * gdb.base/break.exp: Ditto.
8773 * gdb.base/corefile.exp: Ditto.
8774 * gdb.base/list.exp: Ditto.
8775 * gdb.base/recurse.exp: Ditto.
8776 * gdb.base/scope.exp: Ditto.
8777 * gdb.base/signals.exp: Ditto.
8778
8779Tue Jun 25 23:16:58 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
8780
8781 * gdb.threads/Makefile.in (docdir): Removed.
8782
8783Tue Jun 25 17:02:39 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
8784
8785 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
d63a86f8 8786 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
c906108c 8787 @srcdir@.
d63a86f8 8788 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
c906108c
SS
8789 autoconf 2.5 or higher.
8790 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
8791
8792Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
8793
8794 * configure: Regenerated.
8795 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
8796 avoid name clashes with SunOS headers.
8797
8798Wed Jun 5 16:43:27 1996 Jeffrey A Law (law@cygnus.com)
8799
8800 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
8801
8802Thu May 30 11:35:11 1996 Jeffrey A Law (law@cygnus.com)
8803
8804 * gdb.base/callfuncs.exp: Finish last change -- make sure the
8805 prototype information ends up in the compiler info file.
8806
8807Thu May 23 12:48:41 1996 Fred Fish <fnf@cygnus.com>
8808
8809 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
8810 attempting to regenerate it. Eliminate use of a temporary file
8811 and just generate the info file directly. Source it immediately,
8812 for consistency of use.
8813 * gdb.base/corefile.exp: Ditto
8814 * gdb.base/exprs.exp: Ditto.
8815 * gdb.base/funcargs.exp: Ditto.
8816 * gdb.base/langs.exp: Ditto.
8817 * gdb.base/list.exp: Ditto.
8818 * gdb.base/mips_pro.exp: Ditto.
8819 * gdb.base/nodebug.exp: Ditto.
8820 * gdb.base/opaque.exp: Ditto.
8821 * gdb.base/ptype.exp: Ditto.
8822 * gdb.base/scope.exp: Ditto.
8823 * gdb.base/setvar.exp: Ditto.
8824 * gdb.base/signals.exp: Ditto.
8825 * gdb.base/whatis.exp: Ditto.
8826 * gdb.c++/templates.exp: Ditto.
8827 * gdb.c++/virtfunc.exp: Ditto.
8828 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
8829 whether or not to add -lstdc++ to the compile command line args.
8830
8831Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8832
8833 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
8834 it got fixed by the recent lookup_minimal_symbol_by_pc change.
8835 Increase timeout, a lot of single stepping might be needed if the
8836 target has no hardware watchpoints.
8837
8838Wed May 15 08:47:42 1996 Jeffrey A Law (law@cygnus.com)
8839
8840 * gdb.base/break.exp: Ignore compiler warnings when compiling
8841 break.c.
8842 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
8843 * gdb.base/default.exp: Add h8300 xfails. Handle messages
8844 from remote-sim.
8845 * gdb.base/exprs.exp: Add h8300 xfails.
8846 * gdb.base/funcargs.exp: Likewise.
8847 * gdb.base/nodebug.exp: Likewise.
8848 * gdb.base/printcmds.exp: Likewise.
8849 * gdb.base/ptype.exp: Likewise.
8850 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
8851 h8300 xfails.
d63a86f8 8852 * gdb.base/return.exp: Handle float/double precision problems
c906108c
SS
8853 on the h8300.
8854 * gdb.base/funcargs.c: Explicitly make last constant argument to
8855 call_after_alloca_subr an unsigned long type.
8856 * gdb.base/return.c: Include stdio.h.
8857
8858Tue May 7 22:01:12 1996 Rob Savoye <rob@chinadoll.cygnus.com>
8859
8860 * config/abug.exp: New file for the older Motorola Bug monitor
8861 that runs on the mvme13x series VME boards.
8862 * config/monitor.exp: Use the new config array for target settings
8863 if they exist.
8864
8865Fri May 3 16:02:55 1996 Stan Shebs <shebs@andros.cygnus.com>
8866
8867 * sim-gdb.exp: Make the SH simulator allocate less space when
8868 it is targeted.
8869
8870Thu May 2 12:31:56 1996 Jeffrey A Law (law@cygnus.com)
8871
8872 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
8873 test.
8874
8875Wed Mar 20 08:48:03 1996 Fred Fish <fnf@cygnus.com>
8876
8877 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
8878 "rs6000-*-*" for "list function in include file" when gcc compiled.
8879 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
8880 for "p ctable1[120]".
8881 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
8882 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
8883 Remove setup_xfail for "rs6000-*-*" for
8884 "print 'scope0.c'::filelocal before run".
8885 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
8886 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
8887 since some compilers don't allow both options to be given
8888 on the same command line. Create object file and move it.
d63a86f8 8889
c906108c
SS
8890Tue Mar 19 23:49:31 1996 Fred Fish <fnf@cygnus.com>
8891
8892 * gdb.base/corefile.exp: Always regenerate the core file, since
8893 we always regenerate the coremaker program. Detect special case
8894 where registers cannot be read from core file.
d63a86f8 8895
c906108c
SS
8896Tue Mar 19 16:52:49 1996 Fred Fish <fnf@cygnus.com>
8897
8898 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
8899 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
8900 * gdb.c++/templates.exp: Only match on basename of file since
8901 some formats like xcoff don't encode directory information.
8902 * gdb.stabs/weird.exp: Use the right sed script for powerpc
8903 and rs6000 AIX xcoff targets.
8904 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
8905 * configure: Regenerate.
8906 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
8907 here, rather than in distclean.
d63a86f8 8908
c906108c
SS
8909Sun Mar 17 13:35:31 1996 Fred Fish <fnf@cygnus.com>
8910
8911 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
8912 defined, and use it to compile the test case with -O2. The
8913 native compilation still uses no optimization.
8914 * gdb.base/mips_pro.c: Remove inline assembly code since
8915 it is compiled PIC by default, which results in assembler
8916 warnings that make the testsuite think the compilation
8917 was unsuccessful.
8918
8919Sat Mar 16 15:02:24 1996 Fred Fish <fnf@cygnus.com>
8920
8921 * gdb.c++/misc.exp: Add note to message for
8922 "print s.a for foo struct" that this is a known gcc 2.7.2
8923 and earlier bug.
8924
8925Fri Mar 15 17:49:57 1996 Fred Fish (fnf@cygnus.com)
8926
8927 * gdb.base/break.exp: Fix pattern for matching "Delete all
8928 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
8929 setup_xfail for deleting all breakpoints test. Fix various
8930 timeout messages to include "(timeout)".
8931 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
8932 for "p t_float_values2(3.14159,float_val2)".
8933 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
8934 for "continue to call2g" when gcc compiled.
8935 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
8936 "up to foo in langs.exp", "show language at foo in langs.exp",
8937 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
8938 and "show language at fsub in langs.exp".
8939 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
8940 "list line 1 in include file", "list message for lines past EOF",
8941 "list function in include file", "list list0.h:foo", and
8942 "list filename:function; nonexistant function".
8943 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
8944 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
8945 and "ptype t_char_array" to be for native cc only.
d63a86f8 8946
c906108c
SS
8947Fri Mar 15 16:17:22 1996 Fred Fish <fnf@cygnus.com>
8948
d63a86f8 8949 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
c906108c
SS
8950 setup_xfail for "print coremaker_bss", "print coremaker_ro",
8951 "print func2::coremaker_local", and "backtrace in corefile.exp".
8952
8953Wed Mar 13 14:54:11 1996 Fred Fish <fnf@cygnus.com>
8954
8955 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
8956 "bt in signals.exp". This problem only appears when running
8957 the testsuite, and then only intermittently.
8958
8959Tue Mar 12 15:00:16 1996 Stan Shebs <shebs@andros.cygnus.com>
8960
8961 * gdb.base/return.exp (return_tests): Differentiate between
8962 two tests of continuing.
8963
8964Tue Mar 5 14:33:33 1996 Stan Shebs <shebs@andros.cygnus.com>
8965
8966 * */Makefile.in (maintainer-clean): Remove config.log.
8967 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
8968 * gdb.c++/Makefile.in (PROGS): Add inherit.
8969 (clean): Remove *.ci.
8970
8971Tue Feb 20 16:36:10 1996 Fred Fish <fnf@cygnus.com>
8972
8973 * gdb.c++/misc.cc: Add test code from Mike Stump.
8974 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
8975
8976Sun Feb 18 11:39:12 1996 Fred Fish <fnf@cygnus.com>
8977
8978 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
8979 to "alpha-*-osf2*" and add comment.
8980 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
8981 setup_xfail for "step over execarg initialization" and
8982 "step over corearg initialization".
8983 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
8984 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
8985 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
8986 gcc compiled for "print coremaker_bss", "print coremaker_ro",
8987 "print func2::coremaker_local", and "backtrace in corefile.exp".
8988 * gdb.base/signals.exp: Build and source signals.ci.
8989 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
8990 to be for gcc only.
8991 * lib/gdb.exp: Move verbose statements outside conditionals.
d63a86f8 8992
c906108c
SS
8993Sat Feb 17 02:22:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8994
8995 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
8996 Feb 3 procfs.c change.
8997
8998Fri Feb 16 13:25:31 1996 Fred Fish <fnf@cygnus.com>
8999
9000 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
9001
9002Thu Feb 15 08:12:55 1996 Fred Fish <fnf@cygnus.com>
9003
9004 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
9005 from dejagnu's apparent default of 10 seconds, which gives random
9006 results when running the tests over NFS on moderately loaded systems.
9007 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
9008
9009Mon Feb 12 16:50:28 1996 Fred Fish <fnf@cygnus.com>
9010
9011 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
9012 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
9013 result reports.
9014
9015Fri Feb 9 15:56:51 1996 Fred Fish <fnf@cygnus.com>
9016
9017 * configure.in (CY_AC_PATH_TCLH): Remove.
9018 * configure: Regenerate.
9019
9020Fri Feb 9 08:21:31 1996 Fred Fish <fnf@cygnus.com>
9021
9022 * gdb.c++/Makefile.in (clean): Add missing '{'.
9023
9024Fri Feb 2 10:19:40 1996 Jeffrey A Law (law@cygnus.com)
9025
9026 * lib/gdb.exp: Provide a default value for noinferior.
9027
9028 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
9029 Load libgloss.exp.
9030
9031Thu Feb 1 20:20:14 1996 Jeffrey A Law (law@cygnus.com)
9032
9033 * gdb.disasm/hppa.exp: Compile directly into an executable, use
9034 the executable, not the .o to run the tests from.
9035
9036Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com)
9037
9038 * gdb.base/break.exp: Don't test for program exit or exit status
9039 if $noresults if nonzero.
9040 * gdb.base/langs.exp: Likewise.
9041 * gdb.base/watchpoint.exp: Likewise.
9042
9043 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
9044 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
9045 trying to compile the testcase.
9046
9047Wed Jan 24 23:42:39 1996 Doug Evans <dje@charmed.cygnus.com>
9048
9049 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
9050 * gdb.base/signals.exp (continue to handler): Likewise.
9051
9052Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
9053
9054 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
9055
9056 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
9057
9058Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
9059
9060 * gdb.base/corefile.exp: Recognize "not found" as failure
9061 when trying to determine if a core file was generated.
9062 If no core file was generate the first time, try again without
9063 the ulimit -c to work around braindamaged shells.
9064
9065Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
9066
9067 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
9068 [] tests with "test" and enclose string in quotes.
9069 * gdb.stabs/configure: Rebuild
d63a86f8 9070
c906108c
SS
9071Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
9072
9073 Changes in sync with expect:
9074 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
9075 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
9076 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
9077 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
9078 argument to AC_REQUIRE.
9079 * configure: Regenerated.
9080
9081Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
9082
9083 * gdb.base/corefile.exp: When generating a core, discard any
9084 error messages about ulimit not found and the "core dumped"
9085 message from the shell that runs the coredumper.
9086
9087Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
9088
9089 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
9090
9091 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
9092 which sed script to run. Expect failure for v_comb test
9093 on PA targets too.
d63a86f8 9094
c906108c
SS
9095Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
9096
9097 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
9098 "print func2::coremaker_local" and for "backtrace in corefile.exp"
9099
9100Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
9101
9102 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
9103 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
9104 "sparc-sun-solaris*" xfails for "p v_comb".
9105 * lib/gdb.exp (default_gdb_start): Fix typo.
9106 * gdb.base/corefile.exp: Allow "Core was generated by ..."
9107 messages to not include the full program name that caused
9108 the core dump since some systems (such as solaris) apparently
9109 truncate this path to about 80 characters.
9110 When generating a core file first try increasing the core file
9111 size limit to unlimited since some systems may default it to
9112 zero, and it is harmless to try it. Move the test for failing
9113 to generate a core file to where it will actually get executed.
9114 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
9115 new gdb result from g++ debug info improvements and make old
9116 pattern obsolescent. Also account for size_t differences
9117 (may be int or long).
9118 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
9119 initialization before function call is placed in the delay slot
9120 and thus appears to be skipped over by commands such as "next".
9121
9122Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
9123
9124 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
9125
9126Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
9127
9128 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
9129 input source file; fix code to compile test to deal with this
9130 convention.
9131 * gdb.c++/*.exp: Likewise.
9132
9133Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
9134
9135 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
9136 "bt in signals.exp".
9137
9138Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
9139
9140 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
9141 "step over execarg initialization" and
9142 "step over corearg initialization".
9143
9144Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
9145
9146 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
9147 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
9148
9149Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
9150
9151 From Rob Savoye (rob@poseidon.cygnus.com)
9152 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
9153 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
9154 configure.in}, gdb.disasm/{Makefile.in, configure.in},
9155 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
9156 configure.in}: Major reworking for autoconfig.
9157 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
9158 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
9159 New files.
9160 * config/unix-gdb.exp: Make GDB global.
9161 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
9162 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
9163 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
9164 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
9165 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
9166 term.exp, twice.exp, watchpoint.exp, whatis.exp},
9167 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
9168 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
9169 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
9170 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
9171 pr-8136.exp, result.exp, string.exp, tuples.exp},
9172 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
9173 to returns as necessary, arrange for test to compile own testcase
9174 executable.
9175 * lib/gdb.exp: Changes for testsuite to compile own test cases.
d63a86f8 9176
c906108c
SS
9177Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
9178
9179 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
9180 clear_xfail at end of test which might not call either pass or fail.
9181 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
9182 "backtrace through signal handler".
9183
9184Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9185
9186 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
9187 continuing from a job control stop signal.
9188 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
9189
9190Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
9191
9192 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
9193 * gdb.base/corefile.exp: Likewise.
9194 * gdb.base/funcargs.exp: Likewise.
9195
9196Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
9197
9198 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
9199 * config/monitor.exp: Add support for setting baud rate.
9200
9201Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
9202
9203 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
9204 i*86-*-linux* xfails for "backtrace through signal handler".
9205 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
9206 "print func2::coremaker_local".
9207 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
9208 alpha-dec-osf2* xfail for
9209 "delete all breakpoints when none".
9210
9211Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
9212
9213 * gdb.base/break.exp: Change test that deletes all breakpoints
9214 when no user breakpoints are installed. A post 4.15 change
9215 causes gdb to no longer prompt in this case.
9216
9217Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
9218
9219 * gdb.base/return.exp (return_tests): Change xfail for test
9220 "correct value returned double test" to stop xfailing at
9221 Solaris 2.5. Apparently the bug has been fixed.
9222
9223Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
9224
9225 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
9226 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
9227
9228Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
9229
9230 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
9231 * gdb.disasm/hppa.s: Corresponding changes.
9232
9233Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
9234
9235 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
9236 makefile fragment.
9237 * config/mt-hpux: Deleted.
9238
9239Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
9240
d63a86f8 9241 * Many files: When warning about suppressed tests due to a
c906108c
SS
9242 nonexistant test binary, avoid incrementing the warning count.
9243
9244Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
9245
9246 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
d63a86f8 9247
c906108c
SS
9248Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9249
9250 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
9251 "sparc-*-solaris2*".
9252
9253Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9254
9255 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
9256 Add global and local variables and initialize them.
9257 * gdb.base/corefile.exp: Test correct mapping of corefile sections
9258 by printing variables. Remove rs6000 and powerpc xfails, BFD now
9259 extracts the file name and terminating signal from the core file.
9260 * TODO: Remove note about tests for correct mapping of corefile.
9261 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
9262 from optimizing it away.
9263 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
9264 handles common blocks.
9265
9266Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
9267
9268 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
9269 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
9270
9271Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
9272
9273 * Makefile.in (maintainer-clean): New target, synonym for
9274 realclean.
9275 * gdb.base/Makefile.in (maintainer-clean): Likewise.
9276 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
9277 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
9278 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
9279 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
9280 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
9281
9282Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
9283
9284 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
9285 xfails when not gcc compiled for "print foo::funclocal".
9286 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
9287 "print foo::funclocal at foo",
9288 "print 'scope1.c'::foo::funclocal at foo",
9289 "print foo::funclocal_bss at foo",
9290 "print 'scope1.c'::foo::funclocal_bss at foo",
9291 "print foo::funclocal_ro at foo",
9292 "print 'scope1.c'::foo::funclocal_ro at foo",
9293 "print bar::funclocal at foo" and
9294 "print 'scope1.c'::bar::funclocal at foo".
9295 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
9296 gcc compiled for "print foo::funclocal at bar".
9297 Expand all messages to ensure that they identify that
9298 the test is at bar().
9299 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
9300 gcc compiled for:
9301 "ptype on opaque struct pointer (statically)",
9302 "ptype on opaque struct tagname (statically)",
9303 "ptype on opaque struct pointer (dynamically) 1",
9304 "ptype on opaque struct tagname (dynamically) 1",
9305 "ptype on opaque struct pointer (dynamically) 2" and
9306 "ptype on opaque struct tagname (dynamically) 2
9307 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
9308 gcc compiled for:
9309 "p datalocal"
9310 "whatis datalocal",
9311 "ptype datalocal",
9312 "p bsslocal",
9313 "whatis bsslocal", and
9314 "ptype bsslocal".
9315 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
9316 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
9317 when not gcc compiled.
9318 * gdb.base/funcargs.exp (float_and_integral_args): Add
9319 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
9320 compiled.
9321 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
9322 "backtrace from call6a" when not gcc compiled.
9323 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
9324 "backtrace from call7a" when not gcc compiled.
9325 * gdb.base/callfuncs.exp (do_function_calls):
9326 Add "hppa*-*-hpux*" xfail when not gcc compiled for
9327 "p t_char_array_values(char_array_val2,char_array_val1)",
9328 "p t_char_array_values(char_array_val1,char_array_val2)",
9329 "p t_char_array_values("carray 1","carray 2")",
9330 "p t_char_array_values("carray 1",char_array_val2)",
9331 "p t_char_array_values(char_array_val1,"carray 2")",
9332 "p sum_args(1,{2})",
9333 "p sum_args(2,{2,3})",
9334 "p sum_args(3,{2,3,4})",
9335 "p sum_args(4,{2,3,4,5})"
9336 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
9337 "backtrace in corefile.exp" when not gcc compiled.
9338
9339Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9340
9341 * gdb.base/signals.exp: Rewrite `handle all print' test as
9342 a procedure. Accept blanks or TABs as whitespace, increase
9343 timeout and expect input buffer size for the large output
9344 from the command. Remove "i*86-*-bsdi2.0" xfail.
9345
9346Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9347
9348 * gdb.base/setvar.exp: Add new testcases for truncation when
9349 assigning invalid values to bitfields.
9350
9351Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
9352
d63a86f8 9353 * gdb.base/callfuncs.exp (do_function_calls): Remove
c906108c
SS
9354 mips-sgi-irix* xfail for
9355 "call inferior func with struct - returns char *"
9356 and fix test so that an optional (unsigned char *) cast is
9357 accepted in the result.
9358
9359Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
9360
9361 * gdb.base/funcargs.exp (float_and_integral_args): Remove
9362 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
9363 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
9364 * gdb.base/signals.exp: Remove duplicate "handle all print" test
9365 that accidentally got checked in.
9366
9367Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
9368
d63a86f8 9369 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
c906108c
SS
9370 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
9371 compiled test.
9372 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
9373 Add mips-sgi-irix5* xfail for not gcc compiled.
9374 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
9375 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc compiled for
9376 "p top", "whatis top", "p middle", and "whatis middle".
9377 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
9378 "whatis signed char" for not gcc compiled.
9379 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
9380 "set variable signed char=-1 (-1)" and
9381 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
9382 * gdb.base/funcargs.exp (float_and_integral_args):
9383 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
9384 Add mips-sgi-irix* xfail when not gcc compiled for
9385 "continue to call2b".
9386 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
9387 "continue to call2g".
9388 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc compiled for
9389 "backtrace from call6a"
9390 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc compiled for
9391 "backtrace from call7k".
9392 Add mips-sgi-irix5* xfail when not gcc compiled for
9393 "backtrace from call7a".
9394 (localvars_after_alloca): Fix gdb_test cmds for
9395 "print * after runto ...".
9396 Remove rs6000-*-* xfails for
9397 "print i after runto localvars_after_alloca" and
9398 "print l after runto localvars_after_alloca"
9399 for all compilers.
9400 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
9401 when not compiled with gcc, for:
9402 "print signed char == (minus)",
9403 "print signed char != (minus)",
9404 "print signed char < (minus)",
9405 "print signed char > (minus)".
9406 * gdb.base/callfuncs.exp (do_function_calls):
9407 Add mips-sgi-irix* xfail, when compiled with native compiler, for
9408 "call inferior func with struct - returns char *".
d63a86f8 9409 * gdb.base/return.exp (return_tests): Change xfail for
c906108c
SS
9410 "correct value returned double test" to include Solaris 2.4.
9411 * gdb.base/funcargs.exp (float_and_integral_args):
9412 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
d63a86f8 9413
c906108c
SS
9414Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9415
9416 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
9417 enumeration bitfields if compiling with GNU C.
9418 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
9419 to empty' prompt.
9420
9421Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
9422
9423 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
9424 test for PRO targets.
9425
9426 * gdb.base/funcargs.exp: Avoid ever setting more than 8
9427 breakpoints in the inferior at any given time by making
9428 two groups of breakpoints for call2*, call6* and call7*
9429 tests.
9430
9431Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9432
9433 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
9434 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
9435 from optimizing it away.
9436 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
9437 "call inferior func with struct".
9438
9439Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
9440
9441 * configure.in: Only configure gdb.chill for particular targets.
9442
9443Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
9444
9445 * gdb.base/Makefile.in: Add action to .c.o transformation
9446 rule that generates a .ci file for each .o file and remove
9447 explicit .c.o rules except for callfuncs.o.
9448 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
9449 generates a .ci file for each .o file and remove explicit
9450 .cc.o rules.
9451 (clean): Remove *.tmp *.ci files.
9452 (EXECUTABLES): Remove templ-info.exp.
9453 * gdb.base/compiler.c: New file.
9454 * gdb.c++/compiler.cc: New file
9455 * gdb.base/scope.exp: Source gdb.base/scope.ci.
9456 Change rs6000-*-* xfail for
9457 "print 'scope0.c'::filelocal_ro" and
9458 "print 'scope1.c'::filelocal" and
9459 "print 'scope1.c'::filelocal_bss" and
9460 "print 'scope1.c'::filelocal_ro" and
9461 "print 'scope1.c'::foo::funclocal" and
9462 "print 'scope1.c'::foo::funclocal_ro" and
9463 "print 'scope1.c'::bar::funclocal" and
9464 "print 'scope0.c'::filelocal_ro" and
9465 "print 'scope1.c'::filelocal at foo" and
9466 "print 'scope1.c'::filelocal_bss at foo" and
9467 "print 'scope1.c'::filelocal_ro at foo" and
9468 "print 'scope1.c'::foo::funclocal at foo" and
9469 "print 'scope1.c'::foo::funclocal_bss at foo" and
9470 "print 'scope1.c'::foo::funclocal_ro at foo" and
9471 "print 'scope1.c'::bar::funclocal at foo" and
9472 "print 'scope0.c'::filelocal_ro" and
9473 "print 'scope1.c'::filelocal" and
9474 "print 'scope1.c'::filelocal_bss" and
9475 "print 'scope1.c'::filelocal_ro" and
9476 "print 'scope1.c'::foo::funclocal" and
9477 "print 'scope1.c'::foo::funclocal_bss" and
9478 "print 'scope1.c'::foo::funclocal_ro" and
9479 "print 'scope1.c'::bar::funclocal" and
9480 "print 'scope1.c'::bar::funclocal_bss"
9481 to only be xfail'd when not compiled with gcc.
d63a86f8 9482 Add rs6000-*-* xfail for
c906108c
SS
9483 "print 'scope0.c'::filelocal_bss before run"
9484 when compiled with gcc.
9485 (test_at_main): Add rs6000-*-* xfail for
9486 "print filelocal_ro in test_at_main"
9487 when compiled with gcc.
9488 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
d63a86f8 9489 Add rs6000-*-aix* xfail for
c906108c
SS
9490 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
9491 "ptype t_char_array", not compiled with gcc.
9492 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
9493 xfail for "list foo (in include file)" when gcc compiled.
9494 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
9495 (integral_args): Add rs6000-*-* xfail for
9496 "run to call0a" if not compiled with gcc.
9497 (unsigned_integral_args): Add rs6000-*-* xfail for
9498 "run to call1a" if not compiled with gcc.
9499 (float_and_integral_args): Add rs6000-*-* xfail for
9500 "run to call2a" if not compiled with gcc and for
9501 "continue to call2b" for any compiler.
9502 Add rs6000-*-* xfail to
9503 "print f1 after run to call2a" for gcc compiled.
9504 (discard_and_shuffle): Add rs6000-*-* xfail for
9505 "run to call6a".
9506 (shuffle_round_robin): Add rs6000-*-* xfail for
9507 "backtrace from call7a" if not compiled with gcc.
9508 Add rs6000-*-* xfail for
9509 "backtrace from call7b" if compiled with gcc.
9510 (call_after_alloca): Add rs6000-*-* xfail for
9511 "print c in call_after_alloca" and
9512 "print s in call_after_alloca" and
9513 "backtrace from call_after_alloca_subr"
9514 if not compiled with gcc.
9515 (localvars_in_indirect_call): Add rs6000-*-* xfail for
9516 "print c in localvars_in_indirect_call" and
9517 "print c in localvars_in_indirect_call" and
9518 "backtrace in indirectly called function" and
9519 "stepping into indirectly called function"
9520 if not compiled with gcc.
9521 (localvars_after_alloca): Add rs6000-*-* xfail for
9522 "print c after runto localvars_after_alloca" and
9523 "print s after runto localvars_after_alloca" and
9524 "print i after runto localvars_after_alloca" and
9525 "print l after runto localvars_after_alloca"
9526 for all compilers.
9527 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
9528 than whatis-info.exp.
9529 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
9530 than opaque-info.exp.
9531 Setup rs6000-*-* xfail for
d63a86f8 9532 "ptype on opaque struct pointer (statically)" and
c906108c
SS
9533 "ptype on opaque struct pointer (dynamically)" when
9534 not compiled with gcc.
9535 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
9536 rather than callf-info.exp.
9537 (do_function_calls): Add clear_xfail for rs6000-*-* for
9538 "p t_float_values2(3.14159,float_val2)". Seems to work
9539 fine there, both with xlc and gcc. Need to find out what
9540 it is doing right and fix other platforms.
9541 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
9542 "call inferior func with struct - returns int",
9543 "call inferior func with struct - returns long",
9544 "call inferior func with struct - returns float",
9545 "call inferior func with struct - returns double",
9546 "call inferior func with struct - returns char *",
9547 but only if not gcc compiled (presumes xlc compiled).
9548 Change rs6000-*-* xfails for
9549 "call inferior func with struct - returns char" and
9550 " call inferior func with struct - returns short" to only
9551 xfail if not using gcc.
9552 (clean mostlyclean): Remove *.ci and *.tmp files.
9553 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
9554 than templ-info.exp.
9555 * gdb.base/langs.exp: Source gdb.base/langs.ci.
9556 Add rs6000-*-* xfail for "up to foo in langs.exp"
9557 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
9558 when not gcc compiled.
d63a86f8 9559
c906108c
SS
9560Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
9561
9562 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
9563 * gdb.base/corefile.exp: Likewise.
9564 * gdb.base/list.exp: Likewise.
9565 * gdb.base/scope.exp: Likewise.
9566 * gdb.base/siganls.exp: Likewise.
9567
9568 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
9569 compiler output.
9570 * gdb.base/whatis.exp: Likewise.
9571
9572Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
9573
9574 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
9575 failure (opcode table has been fixed to match reality).
9576
9577Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
9578
9579 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
9580 "call inferior func with struct - returns char",
9581 "call inferior func with struct - returns short"
9582
9583 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
9584 "print 'scope0.c'::filelocal at main",
9585 "print 'scope0.c'::filelocal_bss in test_at_main",
9586 "print 'scope0.c'::filelocal at foo",
9587 "print 'scope0.c'::filelocal_bss in test_at_foo",
9588 "print 'scope0.c'::filelocal at bar",
9589 "print 'scope0.c'::filelocal_bss in test_at_bar"
d63a86f8 9590
c906108c
SS
9591 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
9592 in source file 1". This bug seems to have been fixed with both
9593 gcc and native cc (was native assembler bug?).
9594
9595Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
9596
9597 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
9598 "backtrace through signal handler" to "i*86-*-sysv4*".
9599 * gdb.base/signals.exp: Add xfail for "'next' behaved as
9600 continue" case. Add "known SVR4 bug" to fail message.
9601 Add "i*86-*-bsdi2.0" xfail for "handle all print".
9602 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
9603 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
9604 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
9605 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
9606 "up to foo in langs.exp", "show language at foo in
9607 langs.exp", "up to cppsub_ in langs.exp", "show
9608 language at cppsub_ in langs.exp", "up to fsub in
9609 langs.exp", and "show language at fsub in langs.exp".
9610 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
9611 "bactrace in corefile.exp".
9612 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
9613 "call inferior function with struct - returns float" and
9614 "call inferior function with struct - returns double".
d63a86f8 9615
c906108c
SS
9616Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
9617
9618 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
9619 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
9620 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
9621 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
9622
9623Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
9624
9625 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
9626 (or overriden) "CHILL" macro rather then bare "gcc".
9627 Also look for ../../gcc/xgcc since that is what we will
9628 actually need, not "Makefile". Remove following assignment
9629 of CHILL to CHILL_FOR_TARGET because that results in
9630 recursive definition.
9631
9632Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
9633
9634 * gdb.base/corefile.exp: Change xfail for backtrace in
9635 corefile.exp from linuxaout to all linux.
9636 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
9637 cases where we miss the breakpoint at the signal handler
9638 for some reason. Setup xfail for linuxoldld/linuxaout and
9639 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
9640 hitting SIGURG breakpoint.
9641 * gdb.base/signals.exp: Setup xfail for "next" acting like
9642 continue to add linuxoldld. Setup xfail for all linux for
9643 "next to handler in signals_tests_1", "backtrace in
9644 signals_tests_1", "continue to func1", "pass SIGUSR1",
9645 and continue to handler".
9646
9647Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
9648
9649 * Update all FSF addresses except those in COPYING* files.
9650
9651Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
9652
9653 * gdb.base/a2-run.exp: Change messages to be more explicit about
9654 the status of args, and quote binfile in results.
9655
9656Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
9657
9658 * gdb.base/callfuncs.exp: Add tests for passing structs to
9659 inferior functions and return various types.
9660 * gdb.base/callfuncs.c: Add functions to receive a struct
9661 and return a member of the struct, in various types.
9662
9663Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9664
9665 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
9666
9667Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
9668
9669 * config/vxworks29k.exp: New file, sources vxworks.exp.
9670
9671Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
9672
9673 * config/gdbremote.exp: New file. Testing framework using
9674 gdbserver.
9675
9676Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
9677
9678 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
9679 "call function when asleep" and "send end of file".
9680 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
9681 for "backtrace in corefile.exp".
9682 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
9683 for "backtrace through signal handler".
9684 * gdb.base/corefile.exp: Make sure we actually generate a core file
9685 before trying the core tests. Some systems allow the user to suppress
9686 generation of core files and default to that (linux for example).
9687 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
9688 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
9689
9690Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
9691
9692 * gdb.threads: New directory with some crude multi-threaded
9693 gdb tests (step.exp and step2.exp).
9694 * config/mt-lynx (STEP_EXECUTABLE): Define.
9695 (THREADFLAGS): Define.
9696
9697Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
9698
9699 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
9700
9701 * gdb.base/signals.exp: Disable whole file for lynx until
9702 further notice.
9703
9704 * gdb.base/signals.exp: xfail test where "next" acts like
9705 "continue" for lynx.
9706
9707 * gdb.base/interrupt.exp: xfail test for calling function while
9708 inferior is asleep for lynx.
9709
9710 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
9711 than one cr-lf after each command.
9712
9713Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9714
9715 * configure.in: Reinstate setting of stabsdirs variable, fix
9716 typo in setting up configdirs for native builds.
9717
9718 * gdb.base/return.exp: Fix typo in return double test.
9719 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
9720 compiler from optimizing them away.
9721
9722Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
9723
9724 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
9725 sequences to be echo'd by gdb when using gdb_test.
9726 * gdb.chill/chexp.exp: Likewise.
9727 * gdb.fortran/exprs.exp: Likewise
9728
9729Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
9730
9731 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
9732 after the inferior gdb has started.
9733
9734 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
9735 after each command.
9736 * gdb.base/funcargs.exp: Likewise.
9737 * gdb.base/gdbvars.exp: Likewise.
9738 * gdb.base/interrupt.exp: Likewise.
9739 * gdb.base/list.exp: Likewise.
9740 * gdb.base/watchpoint.exp: Likewise.
9741 * gdb.c++/demangle.exp: Likewise.
9742 * gdb.c++/inherit.exp: Likewise.
9743 * gdb.chill/chexp.exp: Likewise.
9744 * gdb.fortran/exprs.exp: Likewise.
9745
9746 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
9747 test if we can't handle IO to/from the inferior.
9748
9749 * gdb.c++/misc.exp: Always check for a program already being
9750 started after sending a "run" command to gdb.
9751
9752 * gdb.base/twice.exp: Start with a fresh gdb.
9753
9754 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
9755 only depend on gdb's expression code, not the chill runtime.
9756
9757 * gdb.base/return.c: Put return values into variables so we
9758 can have gdb print them rather than depending on the program
9759 to print them.
9760 * gdb.base/return.exp: Corresponding changes.
9761
9762 * lib/gdb.exp: Provide default value for noinferiorio.
9763 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
9764 the inferior.
9765
9766 * gdb.base/break.exp: Always check for a program already being
9767 started after sending a "run" command to gdb.
9768 (text_next_with_recursion): Don't check the output from the
9769 program's printf statement. Instead just make sure the program
9770 exited.
9771
9772 * gdb.base/commands.exp: Protect tests which need arguments with
9773 $noargs conditionals.
9774
9775Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9776
9777 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
9778 of structure member arrays to match gdb/valops.c:value_addr change.
9779
9780Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
9781
9782 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
9783 cases.
9784
9785Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
9786
9787 * configure.in (configdirs): Remove gdb.chill from default list
9788 of subdirs and then add it back in only if doing a native build.
9789 The current chill compiler does not yet work in any cross build.
9790 * Revert all signal changes from Jul 6.
9791 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
9792 for sh-hms targets, allowing these tests to link, with no other
9793 changes. Testing is suppressed by setting "nosignals" in site.exp.
9794
9795Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
9796
9797 * configure.in (signaldirs): Define and add to configdirs for all
9798 targets except some specific ones that are known to not support signals.
9799 Also clean up formatting.
9800 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
9801 (signals, sigall): Remove rules to build.
9802 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
9803 Moved to new gdb.signals directory.
9804 * gdb.signals: New test directory.
9805 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
9806 signals.c signals.exp}: New or moved files.
9807
9808Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
9809
9810 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
9811
9812Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
9813
9814 * gdb.base/return.exp: Xfail `return double' test failure
9815 on at least Solaris 2.3 and handle future/past versions on
9816 a case by case basis as appropriate. Also update message
9817 to include i*86 failures.
9818
9819Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9820
9821 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
9822
9823 * lib/gdb.exp: Fix comment which erroneously identified
9824 gdb_file_cmd as gdb_load (the 19 May change was in fact to
9825 gdb_file_cmd not gdb_load).
9826 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
9827
9828 * gdb.base/setvar.exp: Make test names consistent between pass and
9829 fail cases. Use gdb_test more.
9830
9831Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9832
9833 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
9834
9835Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9836
9837 * gdb.base/help.exp: Fix expected help string for `show commands'.
9838
9839Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
9840
9841 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
9842
9843 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
9844 of a text section.
9845
9846Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
9847
9848 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
9849 that loop eventually terminates. Fix Connection refused logic so
9850 that testsuite will expire nicely.
9851
9852Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
9853
9854 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
9855 config/rom68k.exp: New tcl glue for the appropriate monitors.
9856 These all just end up calling monitor.exp.
9857 * config/monitor.exp (gdb_target_monitor): Handle `Connection
9858 refused' by retrying. Cleanup some timeout issues.
9859 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
9860 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
9861 callers don't have to set/restore global timeout variable.
9862
9863 * The following set of changes centralizes management of the global
9864 timeout variable. This way, it can be set in one target dependent
9865 place instead of dozens of places scattered throughout the test suite.
9866 If you need to lengthen a timeout, then you should either set timeout
9867 in one of the config/{target}.exp files, or multiply it by a factor.
9868 Setting it to an absolute value is always going to lose for some
9869 targets.
9870 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
9871 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
9872 * gdb.base/funcargs.exp: Don't set timeout.
9873 * gdb.base/list.exp (test_forward_search): Only use local timeout.
9874 * gdb.base/printcmds.exp (test_print_string_constants
9875 test_print_array_constants): Don't set timeout.
9876 * gdb.base/ptype.exp: Don't set timeout.
9877 * gdb.base/recurse.exp: Don't set timeout.
9878 * gdb.base/return.exp: Don't set timeout.
9879 * gdb.base/watchpoint.exp: Don't set timeout.
9880 * gdb.c++/classes.exp (do_tests): Don't set timeout.
9881 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
9882
9883Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
9884
9885 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
9886
9887Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9888
9889 * lib/gdb.exp: Disable chill tests for irix5.
9890
9891Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9892
9893 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
9894 each test pass or fail.
9895
9896Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9897
9898 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
9899 xlc not gcc.
9900
9901Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
9902
9903 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
9904
9905Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
9906
9907 * config/est.exp: Fix copyright and comments. Remove dead code.
9908 Use targetname, serialport and baud variables instead of fixed
9909 constants.
9910 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
9911 * config/cpu32bug.exp: New file to support cpu32bug monitors.
9912
9913Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9914
9915 * gdb.base/watchpoint.exp: Don't run
9916 test_watchpoint_triggered_in_syscall for sunos.
9917
9918Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9919
9920 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
9921 they don't seem to exist. Do include stdio.h.
9922
9923Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9924
9925 * gdb.base/a1-selftest.exp: Add alpha xfail.
9926
9927Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9928
9929 * gdb.base/watchpoint.c (main): Prompt before calling read().
9930 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
9931 Revise accordingly. Remove cruft about sending "123" several
9932 times, until it gets noticed. Clean up the "print buf[0]" stuff
9933 so that it passes or fails, and waits for prompts in the usual way.
9934
9935Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9936
9937 * gdb.base/recurse.exp: Fix comment.
9938
9939 * TODO: Remove item about printing variables in nodebug.exp. Add
9940 item about enabling tests which are only run on some targets.
9941
9942 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
9943 fail, make test names unique, use new gdb_test convention
9944 regarding pattern, use gdb_test more, etc.).
9945
9946 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
9947 fail, make test names unique, etc.).
9948
9949Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9950
9951 * gdb.base/nodebug.c: Change return type of top and middle to
9952 short.
9953 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
9954 are fixed by the recent mdebugread.c changes. Allow `short ()'
9955 as type for top and middle.
9956
9957Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9958
9959 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
9960 nearly as I can tell, the whole thing was an accident in Stu's
9961 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
9962 to replace a send/expect pair with gdb_test, but ended up only
9963 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
9964 of 30 Mar 1995 took care of it, but left this vestigial comment
9965 which I am now nuking.
9966
9967Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9968
9969 * gdb.base/break.exp: Look for different line number for
9970 breakpoint at main depending on usestubs.
9971
9972Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9973
9974 * gdb.base/list.exp: Adjust some alternate expect patterns to
9975 match recent list0.c change. Add alternate expect pattern for
9976 output from `list default lines around main' for optimizing
9977 compilers.
9978
9979Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9980
9981 * lib/gdb.exp: If nosignals is not set, set it to 0.
9982
9983Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
9984
9985 * config/slite-gdb.exp: Responds to load symbol table prompt.
9986 * gdb.base/break.exp: Adjust line number, fix rerun.
9987 * gdb.base/langs0.c: Add #ifdef usestubs.
9988
9989Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
9990
9991 * gdb.base/list.exp: Adjust line contents after adding new lines in
9992 list0.c. Also fix a syntax error.
9993
9994 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
9995 * gdb.base/break.exp: ditto.
9996 * gdb.base/list.exp: ditto.
9997 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
9998 * gdb.base/run.c: ditto.
9999 * gdb.base/list0.c: ditto.
10000 * gdb.base/funcargs.c: ditto.
10001
10002Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
10003
10004 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
10005 $targetname, $serialport and $baud instead of hardwired variables.
10006 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
10007 target doesn't support signals.
10008
10009Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
10010
10011 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
10012
10013Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10014
10015 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
10016 Don't rely on the value of an auto variable before it has been
10017 initialized. Use gdb_test more.
10018
10019Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10020
10021 * lib/gdb.exp (default_gdb_version): A version number must start
10022 with a digit, but other than that contains all characters up to
10023 the first whitespace character.
10024
10025Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10026
10027 * gdb.base/commands.exp (breakpoint_command_test): New tests.
10028
10029Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10030
10031 * gdb.c++/*.exp: Warn if executable does not exist. The original
10032 reason for skipping the warning was that configure.in sometimes
10033 intentionally skipped building the executables but the tcl code
10034 had no way of knowing. That (a) was always bogus with respect to
10035 error handling, (b) is no longer true (right now there is no way
10036 to skip C++ tests).
10037
10038 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
10039
10040Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10041
10042 * gdb.base/list.exp: Add expect patterns for output from
10043 SunPRO compiled executables.
10044 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
10045 types.
10046
10047Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10048
10049 * gdb.base/break.exp (test_next_with_recursion): Accept any line
10050 number (we are already testing that the correct source line text
10051 gets printed).
10052
10053 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
10054 that is what is intended, but something needed to be done to get
10055 sunos4 native working again.
10056
10057 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
10058
10059 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
10060 apparently went with a (very) old xfail.
10061
10062Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
10063
10064 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
10065 runto_main is a proc in gdb.exp that will do 'step' for target use
10066 stubs.
10067 * gdb.base/exprs.exp: ditto.
10068 * gdb.base/interrupt.exp: ditto.
10069 * gdb.base/opaque.exp: ditto.
10070 * gdb.base/printcmds.exp: ditto.
10071 * gdb.base/ptype.exp: ditto.
10072 * gdb.base/scope.exp: ditto.
10073 * gdb.base/setvar.exp: ditto.
10074 * gdb.base/signals.exp: ditto.
10075 * gdb.base/twice.exp: ditto.
10076 * gdb.c++/classes.exp: ditto.
10077 * gdb.c++/inherit.exp: ditto.
10078 * gdb.c++/templates.exp: ditto.
10079 * gdb.base/break.exp: no run and hit main for stubs. Change line
10080 numbers for breakpoints and info breakpoint.
10081 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
10082 breakpoint().
10083 * gdb.base/callfuncs.c: ditto.
10084 * gdb.base/exprs: ditto.
10085 * gdb.base/interrupt.c: ditto.
10086 * gdb.base/opaque0.c: ditto.
10087 * gdb.base/printcmds.c: ditto.
10088 * gdb.base/ptype.c: ditto.
10089 * gdb.base/scope0.c: ditto.
10090 * gdb.base/setvar.c: ditto.
10091 * gdb.base/signals.c: ditto.
10092 * gdb.base/twice.c: ditto.
10093 * gdb.c++/misc.cc: ditto.
10094 * gdb.c++/templates.cc: ditto.
10095
10096Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10097
10098 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
10099
10100 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
10101 somewhere between `read' and `main.c'. I'm pretty sure the
10102 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
10103 and it isn't particularly useful.
10104
10105 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
10106
10107Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10108
10109 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
10110
10111Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
10112
10113 * config/mt-slite: add LIBS and -nostdlib.
10114 * config/slite-gdb.exp: add this new file to support sparclite target.
10115
10116Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
10117
10118 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
10119
10120 * gdb.base/a2-run.exp: Change argument to istarget from
10121 "*-*-vxworks" to "*-*-vxworks*".
10122 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
10123
10124Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
10125
10126 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
10127 will not runto main but do a 'step' to step out of breakpoint().
10128 * config/mt-slite: add -Dusestubs.
10129
10130Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10131
10132 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
10133 instead of just @.
10134
10135 * gdb.base/signals.exp: Add test for "handle all print".
10136 * TODO: Remove "handle all print". Also remove item about
10137 checking copyright date (I don't like the idea of a spurious FAIL
10138 based on when we run the tests).
10139
10140 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
10141 for SunOS4 (reason for failure not investigated). Remove
10142 redundant test for $binfile.
10143
10144 * gdb.base/nodebug.c (array_index): Call malloc.
10145
10146 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
10147
10148Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
10149
10150 * gdb.base/recurse.exp: Update gdb_test invocation to use new
10151 conventions and slightly simplify the matching regexp.
10152
10153Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10154
10155 * gdb.base/break.exp: Update gdb_test invocation to use new
10156 convention.
10157
10158 * lib/gdb.exp: If noargs is not set, set it to 0.
10159
10160 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
10161 tests unique.
10162
10163 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
10164
10165Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10166
10167 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
10168 one argument of type "<non-float parameter>".
10169
10170Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
10171
10172 * config/rom68k.exp: New file to support Motorola IDP board.
10173 * gdb.base/a2-run.exp: Skip this file if noargs is set.
10174 * gdb.base/break.c: Change things around so that this program
10175 doesn't depend upon args. This is necessary to make remote
10176 targets work (in general, they can't take args).
10177 * gdb.base/break.exp: Don't try to send args to program. Don't
10178 expect output. Also, replace lots of code with gdb_test.
10179
10180Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10181
10182 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
10183 printing of '\'' (which is what the comment says we are testing,
10184 even though we were not), not '''.
10185 (test_integer_literals_rejected): Test that printing ''' is an error.
10186
10187 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
10188 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
10189 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
10190 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
10191 Use gdb_test not test_print_accept.
10192 * lib/gdb.exp: Remove test_print_accept.
10193
10194 * gdb.base/signals.exp (signal_tests_1): Make pass message
10195 consistent with fail message.
10196
10197 * gdb.base/whatis.exp: Remove xfails for printing char vs.
10198 unsigned char; the bug (PR 1821) is fixed.
10199
10200 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
10201
10202 * gdb.base/scope.exp (test_at_localscopes): Call pass for
10203 successful tests--makes xfailing them work right.
10204
10205Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10206
10207 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
10208 only \r\n, not .*. The test can pass .* as the last thing in
10209 $pattern if that is what it wants. In addition to providing this
10210 flexibility, this change should speed up pattern matching in cases
10211 where the pattern already ended with .* (there were a number of
10212 them). This change also helps catch bad patterns--in the old
10213 scheme the typo "char \*" instead of "char \\*" would pass. Now
10214 it is caught.
10215 * Many .exp files: Update callers.
10216
10217 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
10218 clearer and does not spuriously match multiple ('s. Likewise for
10219 ) and *.
10220
10221 * gdb.base/nodebug.exp: Test ability to call a function and pass
10222 it a string (even with no debugging info).
10223
10224 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
10225 "p '\'", which is the same as "p ''" once tcl gets done with
10226 quoting, to "p '\\'", which I suspect is what is intended (one
10227 backslash gets sent to GDB).
10228
10229 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
10230
10231Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10232
10233 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
10234 1817) was fixed literally years ago.
10235
10236Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10237
10238 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
10239 test, it causes stepping out of call_after_alloca_subr with
10240 optimizing compilers.
10241 (localvars_in_indirect_call): Consume GDB prompt if `finish'
10242 fails.
10243
10244 * gdb.c++/templates.exp: Source templ-info.exp only if
10245 the templates executable exists.
10246
10247 * gdb.c++/misc.cc (class Contains_static_instance,
10248 class Contains_nested_static_instance),
10249 gdb.c++/classes.exp (test_static_members): Test printing of
10250 a class that contains a static instance of the class.
10251
10252Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10253
10254 * gdb.base/langs2.c (cppsub_): Don't prototype.
10255 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
10256 only, I believe).
10257
10258Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10259
10260 * lib/gdb.exp (skip_chill_tests): New procedure.
10261
10262 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
10263
10264Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
10265
10266 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
10267 each expect pattern. Cuts runtime from 12 to about 4 seconds.
10268
10269Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10270
10271 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
10272
10273 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
10274 disassemble 8, not 16, instructions for part 4.
10275
10276 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
10277 support the latter anymore.
10278
10279 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
10280 -DNO_PROTOTYPES.
10281 * gdb.base/callfuncs.c: Control use of prototypes based on
10282 NO_PROTOTYPES, not __STDC__.
10283 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
10284 t_float_values2 tests if prototypes in use.
10285
10286 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
10287 t_double_values): When checking differences against DELTA, check
10288 that difference is within the range (-DELTA,DELTA), not just
10289 (-infinity,DELTA).
10290
10291Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
10292
10293 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
10294 'file' command firts, then 'target', then 'load', this is due to gdb
10295 target set up.
10296 * config/mips-gdb.exp: Fix a couple regular exp bugs.
10297
10298Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
10299
10300 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
10301 FP load/store variants.
10302 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
10303
10304Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
10305
10306 * gdb.base/term.exp: Do not give a warning if not native, it is
10307 not an abnormal condition.
10308
10309Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
10310
10311 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
10312 t_char_array".
10313
10314Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
10315
10316 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
10317 are getting the version number.
10318
10319 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
10320 if not native, it is not an abnormal condition.
10321
10322Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10323
10324 * lib/gdb.exp: Just use "file exists", rather than undocumented
10325 dejagnu procedure "findfile".
10326
10327Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
10328
10329 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
10330 (LDFLAGS): Set to -Xlinker -Ur.
10331
10332 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
10333 Removed, these values are set by lib/gdb.exp.
10334
10335 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
10336
10337Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
10338
10339 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
10340 of replicating gdb startup code.
10341
10342 * config/mt-vxworks (LDFLAGS): Set to -r.
10343 (CFLAGS_FOR_TARGET): Removed.
10344
10345 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
10346 (gdb) and gdb for vxworks uses (vxgdb).
10347
10348 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
10349 executable is not in the tree and host != target, use sed and
10350 program_transform_name to determine the gdb name used by the
10351 target.
10352
10353 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
10354 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
10355
10356Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10357
10358 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
10359 floats, chars, and shorts where there are ANSI-style function
10360 definitions.
10361
10362 * gdb.base/langs.exp, gdb.base/langs*: New test.
10363 * gdb.base/Makefile.in: Build it.
10364 * TODO: Remove item about checking that C names don't get C++
10365 demangling applied; this test tests it.
10366
10367Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10368
10369 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
10370 went with the const70 xfail. The xfail went away a year ago.
10371
10372 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
10373
10374 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
10375 for hp300.
10376
10377 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
10378
10379 * gdb.base/a1-selftest.exp: Don't run on hp300.
10380
10381Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10382
10383 * Makefile.in (site.exp): Set host_alias and target_alias as well
10384 as host_triplet and target_triplet.
10385
10386Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10387
10388 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
10389
10390 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
10391 places as other ecoff systems).
10392
10393 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
10394 ultrix.
10395
10396Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10397
10398 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
10399 remove them.
10400 * gdb.base/nodebug.exp: Accept "function" in addition to "text
10401 variable and "variable" in addition to "data variable".
10402 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
10403
10404 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
10405 2.
10406 * gdb.base/list1.c (long_line): Add additional statement at start
10407 of function.
10408 * gdb.base/list.exp (test_forward_search): Update line number to
10409 reflect new statement.
10410
10411Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10412
10413 * gdb.base/signals.exp: Reinitialize searched source directories
10414 after gdb_start call.
10415
10416Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
10417
10418 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
10419 * gdb.stabs/Makefile.in: Likewise.
10420
10421 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
10422 change. Instead split the tests into smaller pieces.
10423 * gdb.disasm/hppa.s: Corresponding changes.
10424
10425Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10426
10427 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
10428 Quote ^C when passing it to stty. For some shells ^ is a pipe.
10429
10430 * gdb.base/funcargs.exp: Modify many tests so that every test
10431 either passes or fails. Make some test names unique.
10432
10433Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10434
10435 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
10436 Call stty to set interrupt character.
10437
10438 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
10439 for HP assembler versus GNU assembler based on actual behavior of
10440 $(CC), rather than assuming that $(AS) is always the GNU assembler.
10441
10442 * TODO: Suggest a few more stepping tests.
10443
10444Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
10445
10446 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
10447 restart GDB for h8300 after a continue.
10448 (return): Add pattern to match a29k-udi behavior.
10449 * gdb.base/nodebug.exp: Remove obsolete comment.
10450 * gdb.base/regs.exp: New file, testing of register displays.
10451 * gdb.base/return.exp: Fix typo in reference to $objdir.
10452 * gdb.base/whatis.exp: Always start with a fresh GDB.
10453
10454Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10455
10456 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
10457 higher, these tests generate a lot of output.
10458
10459Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10460
10461 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
10462 code following the catch silently ignored some errors; without the
10463 catch they should be thrown like any other tcl error. Also, the
10464 catch used "" instead of {} which meant all the callers who wanted
10465 to include one of the characters "[]$ had to quote it an extra time.
10466 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
10467 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
10468 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
10469 Remove extra quoting.
10470
10471Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
10472
10473 * gdb.base/commands.exp: Make test names unique; every test either
10474 passes or fails. Update some comments.
10475
10476 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
10477
10478Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10479
10480 The following fixes a FAIL caused by the fact that the alpha stabs
10481 configuration didn't use the ".if alpha" code in weird.def.
10482 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
10483 bit pointer, so the 32 bit version works even on the alpha.
10484 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
10485 Remove the stuff which allowed us to have separate versions for
10486 alpha and everything else.
10487
10488 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
10489 regexp which "info func operator\[\](" is supposed to match. Fix
10490 string to send to GDB. Note that GDB still doesn't work right. Add a
10491 new test for "info func .perator\[\](" which GDB does handle correctly.
10492
10493 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
10494
10495Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10496
10497 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
10498 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
10499 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
10500 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
10501 it makes the tests harder to understand and confuses test-o-matic.
10502 The preferred style is that each test provides a PASS or a FAIL,
10503 and has a unique message (e.g. "continue #54" not just "continue")
10504 which is the same for the pass and the fail.
10505 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
10506 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
10507 to lib/gdb.exp.
10508 * gdb.base/printcmds.exp: Use test_print_accept. Remove
10509 prt_accept which was basically the same thing. Likewise for
10510 test_print_reject and prt_reject.
10511 * lib/gdb.exp (test_print_reject): Add some more error message
10512 patterns to match from the former printcmds.exp (prt_reject).
10513 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
10514 One defect of the passcount stuff is that some of it failed to
10515 report XPASS where appropriate.
10516 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
10517 stuff before and after arg in expected pattern.
10518 (test_paddr_operator_functions): Re-do test without print_addr_of;
10519 this is the only test which seems to want extra stuff there.
10520
10521Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
10522
10523 * gdb.base/nodebug.exp: Update new tests to reflect improved
10524 wording of gdb output.
10525
10526 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
10527 and "ptype" work on variables in files compiled without -g.
10528 Replaces commented out "maint print msymbol" tests.
10529
10530Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
10531
10532 * gdb.base/setvar.c (dummy): Call malloc.
10533
10534 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
10535 losing with the irix4 sed.
10536
10537 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
10538 ALRM" on irix4.
10539
10540Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
10541
10542 * TODO: Remove items about corefile.exp testing new exec-file and
10543 backtrace; both are now done. Add items about printing enums.
10544
10545Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
10546
10547 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
10548 "get signal $thissig" test fails.
10549
10550 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
10551
10552Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
10553
10554 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
10555 compiler warning with dec alpha compiler.
10556
10557 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
10558 extra \n from gdb_test call (this explains why the prompt test
10559 that I removed yesterday was there).
10560 (user_defined_command_test): Remove extra \n and prompt test.
10561
10562 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
10563 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
10564 doesn't exist.
10565 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
10566 Also remove alpha workaround, which turns out to be because
10567 SIGABRT == SIGLOST.
10568
10569 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
10570
10571 * gdb.base/help.exp: Don't test "help show".
10572
10573Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
10574
10575 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
10576 "set print address" is on.
10577 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
10578 pass prompt to gdb_test; gdb_test already looks for the prompt.
10579
10580 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
10581
10582 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
10583 was a vestige of the manual TESTSTRATEGY, and the purpose of it
10584 was to make sure that gdb can read a core file. But (a) the "read
10585 the corefile" part didn't make it to a1-selftest.exp, we just
10586 delete the corefile after creating it, and (b) we test reading
10587 corefiles in corefile.exp anyway. Also, this test left around a
10588 xgdb process on Solaris.
10589
10590 * gdb.base/corefile.exp: Also test backtrace.
10591
10592Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
10593
10594 * gdb.base/commands.exp: Test a simple user defined command with
10595 arguments and if/while statements; verify the full user command is
10596 printed by "show user".
10597
10598 * gdb.base/commands.exp: Test if/while commands as part of a
10599 breakpoint command list; verify they appear in breakpoint
10600 information.
10601
10602Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
10603
10604 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
10605 than by dividing by zero.
10606
10607Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
10608
10609 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
10610 performing an inferior call with watchpoints enabled.
10611 * gdb.base/watchpoint.c (main): Delete second unnecessary read
10612 call.
10613
10614Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
10615
10616 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
10617 of "file" command.
10618
10619 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
10620 Add additional pattern for when "int operator int(void);" appears
10621 in a different order.
10622
10623Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
10624
10625 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
10626
10627 * gdb.base/help.exp: Replace most of docstrings for "info signals"
10628 and "signal" with ".*".
10629
10630Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10631
10632 * TODO: Add note about "handle all nostop".
10633
10634 * gdb.base/{sigall.c, sigall.exp}: New test.
10635 * gdb.base/Makefile.in: Add it.
10636
10637Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
10638
10639 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
10640 when invoking GDB, suppresses any windowing interface.
10641
10642Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
10643
10644 * config/sim-gdb: New file, simulator testing support.
10645
10646Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
10647
10648 * gdb.base/interrupt.exp: Test calling func1 twice.
10649
10650Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
10651
10652 * gdb.base/list.exp (test_forward_search): Set timeout higher
10653 when we'll be getting lots of output from gdb.
10654
10655 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
10656 "init_malloc" to after the expect statement. Run it if that
10657 regexp is taken, but also for two others which happen if source
10658 cannot be found.
10659
10660Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10661
10662 * gdb.base/printcmds.exp: New test, for printing register before
10663 program is running.
10664
10665Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10666
10667 * gdb.base/list.exp: Correct some alternate expect patterns
10668 to reflect changes in list1.c.
10669
10670Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10671
10672 * TODO: Add item regarding large frames.
10673
10674 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
10675
10676 * TODO: Remove item about enabling return.exp; it
10677 is enabled. Suggest a few more "return" tests.
10678
10679Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10680
10681 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
10682 anonymous unions.
10683
10684Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10685
10686 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
10687 and pr-5646.o, so "make" is the same as "make all", not "make
10688 pr-4975.o".
10689
10690Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
10691
10692 * gdb.base/list.exp: Adjust expectations to reflect changes in
10693 list1.c.
10694 (test_forward_search): New test proc.
10695 * gdb.base/list1.c (long_line): New function, has long source line.
10696
10697Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
10698
10699 * gdb.base/a1-selftest.exp: Change initial stepping to know about
10700 additional line of code that was added.
10701
10702Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
10703
10704 * gdb.disasm/hppa.s: Break the large branching tests into smaller
10705 tests so as not to overflow expect's input buffers.
10706 * gdb.disasm/hppa.exp: Corresponding changes.
10707
10708Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10709
10710 Beginnings of template debugging tests.
10711 * gdb.c++/templ-info.cc: New file to test for template
10712 debugging capability of the compiler.
10713 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
10714 templ-info.cc.
10715 * gdb.c++/templates.cc: Add explicit template instantiations
10716 to enable compiling with -fno-implicit-templates. Add destructor
10717 and 'value' method to T5 class for template tests.
10718 * gdb.c++/templates.exp: Add testcases for printing of template
10719 types, setting breakpoints on template methods and calling a
d63a86f8 10720 template method.
c906108c
SS
10721
10722Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
10723
10724 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
10725 branch target since some assemblers (gas-2.5) may emit a
10726 relocation for the branch instead of resolving it in the
10727 assembler.
10728
10729Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10730
10731 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
10732 through signal handler.
10733
10734Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
10735
10736 * configure.in (*-*-netware): Use config/mt-netware.
10737
10738 * config/mt-netware: New file.
10739 * config/mt-i386-netware: Removed, separate configs for different
10740 netware architectures are no longer needed now that we have
10741 --with-headers.
10742
10743Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10744
10745 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
10746 by the recent changes to use ANSI C arithmetic conversions.
10747
10748Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10749
10750 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
10751 bug involving using inferior_pid to figure out whether to select a
10752 frame.
10753
10754Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
10755
10756 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
10757 match the current disassembler output.
10758
10759Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
10760
10761 * gdb.fortran/exprs.exp: Expect VOID instead of void.
10762 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
10763 types, expect "int" as type of integer values (for now).
10764
10765Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
10766
10767 * gdb.base/commands.exp: New tests for if/while commands.
10768
10769Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
10770
10771 * lib/gdb.exp (runto): Replace sub-pattern for hex value
10772 by .*, since hex values have different syntax in Chill mode.
10773
10774Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10775
10776 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
10777 linefeed from expect pattern for repeated types with indices > 9.
10778
10779Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
10780
10781 First part of Fortran test suite.
10782 * gdb.fortran: New directory.
10783 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
10784
10785Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10786
10787 * gdb.base/default.exp: Update expect pattern for load command
10788 without arguments.
10789
10790Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
10791
10792 * configure.in: Change i386 to i[345]86.
10793 * gdb.base/configure.in: Likewise.
10794 * gdb.c++/configure.in: Likewise.
10795 * gdb.chill/configure.in: Likewise.
10796
10797Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
10798
10799 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
10800 patterns, since that is not a valid context for comments.
10801
10802Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
10803
10804 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
10805 repeated types and repeated types with indices > 9.
10806
10807Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
10808
10809 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
10810 2417; old bug has been fixed.
10811
10812Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
10813
10814 * gdb.base/interrupt.exp: When trying to wake up the inferior,
10815 send the newline ourselves instead of assuming gdb_test will do
10816 so when passed an empty input string.
10817
10818 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
10819 stabs testcode.
10820
10821Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
10822
10823 * lib/gdb.exp (gdb_test): Don't send anything if the first
10824 argument is an empty string. This makes cases where we want to
10825 match output that is already in expect's buffers (for example,
10826 matching a breakpoint after gdb_run_cmd has been called) work
10827 reliably.
10828
10829Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
10830
10831 * config/netware.exp: New file.
10832
10833Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
10834
10835 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
10836 the -B and -L prefixes so we can find the debugging stub.
10837
10838 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
10839 there and we are using the gcc from the tree.
10840
10841 * gdb.base/types.c: Removed.
10842
10843 * gdb.base/configure.in: Look for makefile fragments in ../config.
10844 Recognize i386-*-netware.
10845 * gdb.c++/configure.in: Likewise.
10846
10847Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10848
10849 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
10850 the correct TCL syntax.
10851
10852Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
10853
10854 * gdb.base/opaque.exp: use runto instead of messing around with
10855 breakpoints. Simplify by using gdb_test.
10856
10857 * gdb.base/bitfields.exp: restart between tests on netware targets
10858 because breakpoints aren't relocated after target death. Run
10859 processes to completion.
10860
10861 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
10862
10863Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
10864
10865 * Makefile.in: Remove extra tabs that confuse some versions
10866 of "make". Use the newly built gdb to test with by default,
10867 rather than the first one in the tester's search path.
10868
10869Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
10870
10871 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
10872
10873 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
10874 condition help.
10875
10876Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
10877
10878 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
10879
10880 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
10881 running.
10882 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
10883 * gdb.base/funcargs.exp: Likewise.
10884
10885 * gdb.base/bitfields.exp: Simplify by using gdb_test.
10886 * gdb.base/funcargs.exp: Likewise.
10887
10888 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
10889 message is "".
10890
10891Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
10892
10893 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
10894 return,signals,twice}.exp: Handle non-existant binaries
10895 consistantly.
10896
10897 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
10898 * gdb.base/Makefile.in: Don't try to generate a core dump, we
10899 might testing a cross development system.
10900
10901Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
10902
10903 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
10904 runtest script is relative to ${srcdir}, not ${rootdir}.
10905
10906Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
10907
10908 * gdb.base/signals.exp: Allow for optionality of breakpoint
10909 address.
10910
10911Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10912
10913 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
10914
10915Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
10916
10917 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
10918 for size_t definition.
10919 * gdb.c++/templates.cc: Likewise
10920
10921 * config/mt-i386-netware: New file.
10922
10923 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
10924 defined.
10925
10926 * gdb.base/Makefile.in: Added support for systems that name core
10927 files by appending "core" to the program name.
10928 * gdb.base/a1-selftest.exp: Likewise.
10929
10930Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10931
10932 * gdb.base/return.exp: Add comment and message for `return double'
10933 test failure on Sparc Solaris.
10934
10935Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
10936
10937 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
10938
10939Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10940
10941 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
10942 from optimizing them away.
10943 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
10944 patterns to include default constructors and assignment operators,
10945 to match gcc versions beyond 2.5.8. Accept any cplus demangling
10946 character in the output of the virtual base pointer.
10947
10948Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10949
10950 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
10951 expression match in print_addr_of to avoid unintented matches.
10952 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
10953 versions up to 2.5.8.
10954
10955Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10956
10957 * gdb.base/list.exp: Tweak alternate pattern for listing of an
10958 included file to run under newer versions of expect.
10959 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
10960 consecutive >'s in templates to accomodate recent cplus-dem.c change.
10961 Remove xfail for the virtual table of BDDHookV.
10962
10963Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
10964
10965 * lib/gdb.exp (string_to_regexp): Set a default result.
10966 (default_gdb_start): Fix misleading message.
10967
10968Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
10969
10970 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
10971 Remove all CC, etc definitions.
10972 * config/mt-hpux: New file.
10973 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
10974 (CFLAGS, LDFLAGS): Define.
10975 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
10976
10977 * Makefile.in (site.exp): Don't insert host_os, etc.
10978 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
10979 (distclean): Check existence of subdir.
10980 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
10981 * gdb.base/Makefile.in: General cleanup and simplification.
10982 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
10983 to build executables. Use default rule to build .o files.
10984 (EXPECT, RUNTEST, CC): Fix relative pathname.
10985 (site.exp): Don't insert host_os, etc.
10986 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
10987 and/or SIGUSR1 defined.
10988 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
10989 * gdb.c++/Makefile.in: General cleanup and simplification.
10990 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
10991 (CFLAGS): Remove.
10992 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
10993
10994Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
10995
10996 * gdb.base/recurse.exp: Misc changes to get tests running again
10997 after Kung's changes to the watchpoint code.
10998 * gdb.base/watchpoint.exp: Likewise.
10999
11000Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
11001
11002 * lib/gdb.exp (string_to_regexp): Convert {\} also.
11003
11004Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
11005
11006 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
11007 * lib/gdb.exp (default_gdb_start): Define.
11008 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
11009 gdb.base/funcargs.exp, gdb.base/opaque.exp,
11010 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
11011 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
11012 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
11013 Don't call gdb_target_udi in between tests.
11014
11015Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
11016
11017 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
11018 (which was basically just a local version of the same thing). In
11019 addition to avoiding duplication, gdb_test_exact is faster.
11020 * lib/gdb.exp (gdb_test_exact): Fix typo.
11021
11022 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
11023 don't give an error.
11024
11025 * gdb.base/term.exp: Call delete_breakpoints before starting.
11026
11027 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
11028 (t10): Add comment.
11029
11030Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
11031
11032 Reorganization of the GDB Test Suite.
11033
11034 * gdb.base: New directory, contains all the basic tests.
11035 * gdb.c++: New directory, tests specific to C++.
11036 * gdb.chill: New directory, tests specific to Chill.
11037 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
11038 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
11039 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
11040 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
11041 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
11042 t30-31 to chill).
11043 * */gdbme.*: Rename to match appropriate expect scripts.
11044 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
11045 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
11046 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
11047 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
11048 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
11049 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
11050 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
11051 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
11052 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
11053 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
11054 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
11055 gdb.c++/virtfunc.cc: New names of C++ files.
11056 * gdb.chill/chillvars.ch: New name of Chill file.
11057 * gdb.base/configure.in, gdb.c++/configure.in,
11058 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
11059 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
11060 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
11061 * configure.in (configdirs): Update to reflect directory changes.
11062 (target_abbrev): No longer define for any configuration.
11063 * Makefile.in: Cosmetic improvements to header comments.
11064
11065Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
11066
11067 Various changes to gdb.t31:
11068
11069 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
11070 * gdbme.ch: Make all key-words and predefineds be upper-case.
11071 * chillvars.exp: Expect key-words and predefinds in upper-case.
11072
11073 * chillvars.exp: Use gdb_test_exact many places.
11074 Change expected output for arrays (which now includes index labels).
11075
11076 * pr-5020.exp, gdme.ch (module PR_5020):
11077 New test, for PR-5020.
11078
11079Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
11080
11081 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
11082 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
11083
11084Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
11085
11086 * Makefile.in: Fix bit-rot in definitions of CHILL,
11087 CHILL_FOR_TARGET and Chill_LIB.
11088 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
11089 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
11090 CHILL, and CHILL_LIB.
11091
11092Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
11093
11094 * Revert the previous changes. Please see Rob's directory
11095 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
11096
11097Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
11098
11099 * Makefile.in, configure.in, config/mips-gdb.exp,
11100 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
11101 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
11102 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
11103 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
11104 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
11105 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
11106 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
11107 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
11108 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
11109 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
11110 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
11111 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
11112 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
11113 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
11114 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
11115 changes from 94Q1.
11116
11117Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
11118
11119 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
11120 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
11121 Rob's new testing fragments.
11122
11123Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
11124
11125 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
11126 lib/gdb.exp: Replace error proc calls with perror.
11127
11128Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
11129
11130 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
11131 version also, match on casted version strings, and match on
11132 gdb startup case where the line numbers might be messed up.
11133
11134Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
11135
11136 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
11137 (CFLAGS): Delete it from here.
11138
11139Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
11140
11141 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
11142
11143Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
11144
11145 * Makefile.in (RUNTEST): Default to just "runtest".
11146
11147Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
11148
11149 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
11150 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
11151 the code has been restructured.
11152
11153Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
11154
11155 * gdb.t00/default.exp (set write): Allow any number of \r and/or
11156 \n, not just one of each.
11157
11158 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
11159 /bin/cc gives a warning if you do.
11160
11161Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
11162
d63a86f8 11163 * gdb.t24/demangle.exp: change expect pattern of
c906108c
SS
11164 __t10ListS_link1ZUiRCUiPT0
11165
11166Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
11167
11168 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
11169 on local variables in recursive functions.
11170
11171 * gdb.t07/Makefile.in: Build the new test.
11172
11173Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
11174
11175 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
11176 directly. Instead compare the return values from actual calls.
11177
11178Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
11179
11180 * Makefile.in (check): Set TCL_LIBRARY for runtest.
11181
11182Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
11183
11184 * From Peter Schauer with minor modifications.
11185 * gdb.t15/return.exp (return_tests): Handle targets where "return"
11186 stops in mid-line in the caller. Add xfail for returning a float
11187 value on X86 targets.
11188
11189Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
11190
11191 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
11192 to avoid expect lossage.
11193 (fmem_LRbug_tests): Likewise.
11194 * gdb.disasm/hppa.s: Corresponding changes.
11195
11196 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
11197 conditions to work with latest dejagnu/expect.
11198
11199 * gdb.t15/funcargs.exp (finish from indirect call): No longer
11200 expected to fail on the PA.
11201 (backtrace in call with trampolines): Explicitly require main
11202 to be frame #1 (no trampolines should show up in backtrace).
11203
11204 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
11205 "continue -expect".
11206 * gdb.t06/break.exp: Likewise.
11207 * gdb.t07/watchpoint.exp: Likewise.
11208 * gdb.t13/bitfields.exp: Likewise.
11209 * gdb.t15/{funcargs,return}.exp: Likewise.
11210 * gdb.stabs/weird.exp: Likewise.
11211 * config/{mips,udi}-gdb.exp: Likewise.
11212
11213 * hppa.sed: Enclose comments within a sed command to avoid
11214 losing with the old OSF1 sed.
11215
11216Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11217
11218 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
11219 sequent dynix.
11220 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
11221 * gdb.t15/funcargs.exp: Conditionally step again to really
11222 finish from marker_call_with_trampolines. Handle the case where
11223 the first step from within call_with_trampolines already steps
11224 us back to main.
11225 * gdb.t15/gdbme.c: Add comment to closing brace of
11226 call_with_trampolines for funcargs.exp.
11227
11228Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
11229
d63a86f8 11230 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
c906108c
SS
11231 Fix typo(s).
11232
11233Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
11234
11235 * gdb.t07/gdbme.c: More code for watchpoint testing.
11236
11237 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
11238 "Hardware watchpoint" throughout file.
11239 (test_watchpoint_triggered_in_syscall): New test.
11240 (test_complex_watchpoint): New test.
11241
11242Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
11243
11244 * gdbme.c (call_with_trampolines): New function to try and step
11245 into. Tests trampoline problems on the PA.
11246
11247 * funcargs.exp (localvars_in_indirect_call): No longer expect
11248 stepping into indirect call to fail on PAs.
11249 (test_stepping_over_trampolines): New test.
11250
11251Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
11252
11253 * TODO: Add suggestions for static member function tests, and
11254 completion tests.
11255
11256Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
11257
11258 * TODO: Add suggestions for "p/a" tests.
11259
11260 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
11261 (default_gdb_exit): Replace all the hair with sending "quit" to
11262 the process with a simple close.
11263
11264Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
11265
11266 * TODO: Add suggestions for shared library tests.
11267
11268Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
11269
11270 * TODO: Add suggestions for x/s tests.
11271
11272Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
11273
11274 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
11275 "enable once", and "enable breakpoints once" with ".*".
11276
11277Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
11278
11279 * TODO: Add suggestions about structure passing tests.
11280
11281Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11282
11283 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
11284 the primary1 test, use work around if __GNUC__ < 2.
11285 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
11286 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
11287 Test for bad output rather than waiting for timeout. Issue
11288 second continue only if first continue failed.
11289
11290Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
11291
11292 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
11293 operator[] test with gdb_test because the old code didn't seem to
11294 be getting the quoting right with the new dejagnu.
11295
11296Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
11297
11298 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
11299 one from the path.
11300 * Makefile.in: Use a fresh expect if there is one, use runtest
11301 from the src tree if there is one.
d63a86f8 11302
c906108c
SS
11303Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
11304
11305 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
11306 next over recursive call. Revise the tests from that point on
11307 (which had been skipped) to match GDB's actual (correct) output.
11308
11309 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
11310 with next over a breakpoint whose condition is false.
11311
11312 * gdb.t00/help.exp: Comment out "help set print" tests just like
11313 (and for same reason as) "help set" test.
11314
11315Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
11316
11317 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
11318 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
11319
11320Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
11321
11322 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
11323 necessary gdb_target_udi.
11324
11325 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
11326
11327 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
11328 1838 and 2417; they are fixed.
11329
11330 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
11331 gdb.t03/ptype.exp (ptype structure, ptype union):
11332 Remove xfails; the test is looser than when the xfails were added.
11333
11334 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
11335 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
11336
11337 * gdb.t01/run.exp: Only run shell test if isnative.
11338
11339 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
11340 since "run" automatically loads if necessary. Call gdb_target_udi
11341 after the "file" since "file" kills any execution target.
11342
11343 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
11344 GDB. GDB doesn't work that way (not anymore at least) on UDI.
11345 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
11346 argument for UDI.
11347
11348Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
11349
11350 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
11351
11352 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
11353
11354Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
11355
11356 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
11357 properly quoting regexps. This makes the second argument to
11358 demangle a fixed string, which matches the callers, instead of a
11359 shell-style pattern which is what the previous implementation
11360 used. Update some of the callers.
11361
11362Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
11363
11364 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
11365 (comib_nullified_tests): Fix typo.
11366 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
11367 strings. No longer expected to fail.
11368
11369 * gdb.disasm/hppa.s (addib_tests): Fix typo.
11370 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
11371 strings. No longer expected to fail.
11372
11373 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
11374 string. No longer expected to fail.
11375
11376Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
11377
11378 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
11379 No longer expected to fail.
11380
11381 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
11382 string. No longer expected to fail.
11383
11384Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
11385
11386 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
11387 only in the names (I probably got most of them). I was even
11388 generous with some which differed in underscores in names, and
11389 probably missed a few, and I *still* was able to remove almost a
11390 third of the file with almost no impact on testsuite coverage.
11391
11392Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
11393
11394 * gdb.t00/default.exp: Match udi_attach error message as well as
11395 the one from child_attach.
11396
11397 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
11398
11399 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
11400
11401 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
11402 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
11403
11404 * Move test with enums and partial symbols back to
11405 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
11406 Reverts the change of 26 May 93. Per today's change to
11407 stabs.texinfo, the behavior that weird.exp was expecting was
11408 unreasonable; what is important is that the compiler+gdb get
11409 things right, which happens with a recent gcc. Also fix the test
11410 to deal with native compilers which put out the stab gdb can't
11411 deal with.
11412
11413Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
11414
11415 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
11416 in the names. The main thing these accomplish is to slow things down.
11417 Many more such duplicates surely remain.
11418
11419 * gdb.t00/help.exp: Comment out "help support" test just like
11420 (and for same reason as) "help set" test.
11421
11422Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
11423
11424 * gdb.t06/break.exp: Remove setup_xfails for
11425 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
11426 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
11427 about known bug in gcc to include up through 2.5.8.
11428 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
11429 well as "_vb$".
11430 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
11431 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
11432 with latest gcc and gdb.
11433 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
11434 well as "_vb$".
11435
11436Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
11437
11438 * configure.in (hppa*-*-*): Also configure and build stabs-only
11439 tests.
11440
11441Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
11442
11443 * gdb.t10/hppa.mt: A makefile fragment for the PA.
11444 * gdb.t10/configure.in (hppa*-*-*): Use it.
11445
11446Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11447
11448 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
11449
11450Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11451
11452 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
11453 versions prior to 1.13.5.
11454
11455Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
11456
11457 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
11458 the prompt is at the start of a line.
11459
11460Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
11461
11462 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
11463 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
11464 in the copr tests now.
11465 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
11466 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
11467 expected to fail.
11468
11469Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
11470
11471 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
11472 gdb.t31/chillvars.exp, lib/gdb.exp:
11473 Tweak to run under either version of expect.
11474 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
11475 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
11476 * gdb.t11/list.exp: Remove extraneous whitespace.
11477
11478Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
11479
11480 * gdb.t16/printcmds.exp (test_print_strings): Accept
11481 "(unsigned char *) " before the string.
11482
11483 * TODO: Add notes about printing of fancy types and GDB expressions.
11484
11485Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
11486
11487 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
11488 * gdb.t06/configure.in: Don't try to compile signals test program
d63a86f8 11489 if doing mips-idt-ecoff.
c906108c
SS
11490
11491Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
11492
11493 * Most .exp files: Tweak to run under either version of expect.
11494
11495Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
11496
11497 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
11498 xfails; I'm not sure why they are failing, but not because of PR 1806.
11499
11500Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
11501
11502 * config/unix-gdb.exp: Remove gdb_unload cause it's already
11503 defined in lib/gdb.exp.
11504
11505Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11506
11507 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
11508 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
11509 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
11510 have to be typeless.
11511
11512Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
11513
11514 * TODO: Add suggestion for copyright year test.
11515
11516Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
11517
11518 * configure.in (*-*-lynxos*): Add stabs tests.
11519
11520Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
11521
11522 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
11523 so insert a tab before any assembler directive in column zero.
11524
11525 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
11526 stores.
11527 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
11528 stores.
11529 (fpu_short_memory_tests): Likewise.
11530
11531Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11532
11533 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
11534 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
11535 .stabs directives in comments.
11536
11537Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11538
11539 * TODO: New file, describing tests we could write.
11540 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
11541
11542Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11543
11544 * gdb.t06/signals.exp: Add kludge to force re-sync.
11545
11546 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
11547 to xgdb instead of gdb, get out of gdb.
11548
11549Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
11550
11551 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
11552 for info.
11553
11554Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
11555
11556 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
11557 * gdb.stabs/configure.in (hppa*-*-*): Use it.
11558 * gdb.stabs/hppa.sed: New sed script for the PA.
11559
11560Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11561
11562 * gdb.stabs: Re-write weird.def and configuration to use sed
11563 instead of cpp. sed is portable and POSIX; cpp is neither.
11564
11565Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11566
11567 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
11568
11569Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11570
11571 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
11572
11573Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11574
11575 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
11576 "_vb$".
11577 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
11578 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
11579
11580Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11581
11582 * lib/gdb.exp: Comment out code which depends on non-existent
11583 `transform' procedure.
11584
11585Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
11586
11587 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
11588 * lib/gdb.exp: Transform tool name.
11589 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
11590 1.1's new error handling system.
11591
11592Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11593
11594 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
11595
11596Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11597
11598 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
11599 They made pattern matching so slow that timeouts happened on
11600 heavily loaded systems. Now any output from "show print" which
11601 gets us back to the GDB prompt is a PASS.
11602
11603Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
11604
11605 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
11606
11607Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11608
11609 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
11610
11611 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
11612 It is not from PR 3220.
11613
11614Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11615
11616 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
11617 just started failing because they depended on the order the
11618 subcommands are presented, or exact docstring text. This kind of
11619 test is a pain and has minimal benefit.
11620
11621Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11622
11623 * gdb.t09/corefile.exp: At end of test, use "core" command with
11624 no arguments.
11625
11626Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
11627
11628 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
11629 17}/Makefile.in: Make it possible to run the testsuite with Sun
11630 make and CC = cross gcc by adding explicit build rules for .o
11631 files.
11632
11633Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11634
11635 * gdb.t15/funcargs.exp: Don't put comments on same line as
11636 setup_xfail (@#$*%& tcl braindamage!).
d63a86f8 11637
c906108c
SS
11638Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11639
11640 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
11641
11642Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
11643
11644 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
11645 * gdb.t20/inherit.exp: remove three dumplicate entries.
11646
11647Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11648
11649 * gdb.t06/break.exp: For "next over recursive call", fail on any
11650 incorrect output, not just on "factorial (value=2)".
11651
11652Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11653
11654 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
11655 working now. Add an xfail if accesing a bss variable causes
11656 a memory error if the target is not yet run.
11657
11658Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11659
11660 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
11661 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
11662 name of __st* demangling (2 strings). Did Kung really get the
11663 more than 95 others right without testing them?
11664
11665Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
11666
11667 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
11668
11669Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
11670
11671 * configure.in (configdirs): Add gdb.disasm
11672 * gdb.disasm: New directory for GDB disassembler tests.
11673 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
11674
11675Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11676
11677 * gdb.t00/help.exp: Don't test "help set".
11678
11679 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
11680 from within expect statements. None of these happen anymore and
11681 they cause regressions to be silently unnoticed.
11682
11683 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
11684 messages) about known failures with gcc cygnus-2.4.5-930417.
11685
11686 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
11687 comp-info.exp so it gets built if it doesn't exist.
11688
11689 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
11690 it is no longer used.
11691 * gdb.t13/comp-info.c: Removed.
11692
11693Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
11694
11695 * gdb.t06/signals.exp: Add xfail for sun3.
11696
11697Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11698
11699 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
11700 relevant because ^C doesn't get sent but failure can be reproduced
11701 interactively).
11702
11703Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11704
11705 * gdb.stabs/alpha.mt: New configuration file for alpha.
11706 * gdb.stabs/configure.in: Use it.
11707 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
11708 sharing with alpha.mt, redefine long to word via preprocessor.
11709 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
11710 for alpha.
11711 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
11712 native cc.
11713 * gdb.t00/teststrategy.exp: Change expect string so that we
11714 consume the `(xgdb)' from the command echo and from the gdb prompt.
11715 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
11716 gdb currently compares all values as long, so this failure probably
11717 applies to any configuration where LONGEST is bigger than a target int.
11718 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
11719 with gcc.
11720 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
11721 to handle opaque pointers, gcc is.
11722 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
11723 as first argument. Include <sys/types.h> and change all operator
11724 new definitions to use size_t.
11725 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
11726 now that we use size_t.
11727
11728Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11729
11730 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
11731 a long or float array cast all array members to the same type.
11732 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
11733 with 64 bit longs.
11734 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
11735 on alpha.
11736 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
11737
11738Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11739
11740 * gdb.t24 (demangle.exp): Constructors of templates have names like
11741 vector<int>::vector(int) not vector<int>::vector<int>(int). See
11742 section 14.6 of the ARM.
11743
11744 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
11745 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
11746 accomplish little and slow down the testsuite.
11747
11748 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
11749 Accept spaces various places.
11750
11751Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11752
11753 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
11754 with watchpoint enabled.
11755
11756 * Makefile.in: Remove definition of CC and remove the second
11757 definition of CXX (the "CXX = gcc" one remains). These definitions
11758 were causing backquotes to be expanded within backquotes, which
11759 doesn't work.
11760
11761Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
11762
11763 * gdb.t17/callfuncs.exp: Add "return 0" to end.
11764
11765Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11766
11767 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
11768 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
11769 by mips cc and contains no stabs entries.
11770
11771Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
11772
11773 * config/vx-gdb.exp: Use fake device to load files rather than
11774 NFS.
11775 * lib/gdb.exp: New proc to do "file" command.
11776 * config/unix-gdb.exp: Use new "file" proc.
11777
11778Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
11779
11780 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
11781 Rework board rebooting slightly.
11782 (gdb_exit): Don't exit from the remote shell; there isn't one.
11783 * gdb.stabs/weird.exp: If a program is being debugged already,
11784 kill it.
11785 * gdb.t04/setvar.exp: Stop and restart gdb.
11786 * gdb.t05/expr.exp: Likewise.
11787 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
11788 restart gdb and reload the program.
11789 * gdb.t08/opaque.exp: Likewise.
11790 * gdb.t12/scope.exp: Likewise.
11791 * gdb.t13/bitfields.exp: Likewise.
11792 * gdb.t15/funcargs.exp: Likewise.
11793 * gdb.t20/classes.exp: Likewise.
11794 * gdb.t03/ptype.exp: Increase timeout.
11795 * gdb.t16/printcmds.exp (test_print_string_constants,
11796 test_print_array_constants): Likewise.
11797 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
11798 * gdb.t20/classes.exp (do_tests): Likewise.
11799 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
11800
11801Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
11802
11803 * gdb.stabs: Renamed *wierd* to *weird*.
11804
11805Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
11806
11807 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
11808 for timeout. Add "known gcc 2.4.5 bug" to failure message.
11809
11810Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
11811
11812 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
11813 (do_tests): Remove xfail for whatis on one_var and two_var.
11814
11815Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
11816
11817 * Makefile.in: Made cross building work better by adding
11818 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
11819
11820Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11821
11822 * gdb.t15/{return.c,return.exp,Makefile.in}:
11823 New test, currently commented out.
11824
11825Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
11826
11827 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
11828 still running and removes the leftover named socket so GDb can do
11829 clean restarts.
11830
11831Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
11832
11833 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
11834 console, not GDB.
11835 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
11836 cross testing works better with "make check"
11837 * config/unix-gdb: Use default procedures for exit and version.
11838 * config/vx-gdb.exp: Cleaned up and massaged back to working order
11839 with the newest VxWorks.
11840
11841Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11842
11843 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
11844 old form.
11845
11846 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
11847 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
11848
11849 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
11850
11851 * config/unix-gdb.exp: Remove this version of gdb_exit
11852 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
11853 Rob says he'll look at it when he gets back to testing boards.
11854
11855Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
11856
11857 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
11858 an expected fail for certain ptype commands.
11859
11860 * gdb.t20/classes.exp: Update expected results of "ptype class
11861 Base1" to account for the constructor that now appears in the type.
11862
11863Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
11864
11865 * configure.in (configdirs): Restore gdb.t04, which mysteriously
11866 disappeared from list.
11867 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
11868 "alldone" proc with call to cleanup and exit.
11869 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
11870 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
11871 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
11872 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
11873 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
11874 "alldone" proc with simple returns that suppress remaining
11875 tests. The alldone proc went away many months ago.
11876
11877Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11878
11879 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
11880
11881 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
11882
11883Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11884
11885 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
11886 as vax gdb will display them.
11887
11888Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11889
11890 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
11891 optimizers.
11892
11893 * scope.exp: Change "bad value for localval" messages so each one
11894 is unique.
11895
11896 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
11897 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
11898
11899 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
11900
11901Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11902
11903 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
11904 doesn't exist (due to optimization).
11905
11906Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11907
11908 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
11909 contains \r because the filename is long.
11910
11911 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
11912 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
11913
11914Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11915
11916 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
11917 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
11918 Ultrix.
11919 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
11920 int tests.
11921 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
11922
11923Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
11924
11925 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
11926
11927 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
d63a86f8 11928 to match does not match the passing case but still matches the
c906108c
SS
11929 failing case.
11930
11931Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11932
11933 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
11934
11935Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
11936
11937 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
11938 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
11939 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
11940 Remove various versions of gdb_exit.
11941 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
11942 gdb_exit.
11943 * config/unix-gdb.exp: gdb_exit remains here, and should override
11944 the generic version, since it's doing a lot of wierd stuff that
11945 the other versions aren't. FIXME, fold it in, or abandon this
11946 version.
11947
11948Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11949
11950 * gdb.t24/demangle.exp: Add tests for PR 3220.
11951
11952Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11953
11954 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
11955
11956Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
11957
11958 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
11959 "i386-*-*". Works for i486 as well.
11960
11961 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
11962 bug, and expand domain of xfail to all SVR4 systems, since the
11963 actual problem is likely to be in generic SVR4 /proc support.
11964
11965Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11966
11967 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
11968
11969Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
11970
11971 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
11972 xfails for other systems. Match a missing 'Continuing.' as an
11973 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
11974
11975 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
11976 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
11977 Only issue warning for missing executables if -all option is used.
11978
11979 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
11980 file if -all option is used. It's like an unpredictable XFAIL.
11981
11982Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11983
11984 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
11985 for dynamically linked binaries.
11986
11987 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
11988
11989Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11990
11991 * gdb.t20/inherit.exp: Change message for "print tagless struct"
11992 to state that this is a known bug in old versions of g++.
11993
11994Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11995
11996 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
11997 while waiting for `Continuing'.
11998
11999Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
12000
12001 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
12002 in text, data, and bss.
12003 * gdb.t10/nodebug.c: Add local and global test variables for
12004 initialized and uninitialized data.
12005
12006Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12007
12008 * config/unix-gdb.exp (gdb_exit): Add "wait".
12009
12010Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12011
12012 * gdb.t06/signals.exp: xfail the continue from the handler for all
12013 targets.
12014
12015 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
12016 function with watchpoints enabled, the i386 call dummy starts with
12017 a call.
12018
12019 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
12020 386 bsd names its corefiles.
12021
12022Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
12023
12024 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
12025 compilers don't grok it.
12026 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
12027 with small octal ints rather than character constants, which
12028 are signed and might not fit if first promoted to int.
12029
12030Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
12031
12032 * gdb.t09/Makefile.in (clean): Remove corefile.
12033
12034Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12035
12036 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
12037
12038Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12039 and Jim Kingdon (kingdon@cygnus.com)
12040
12041 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
12042 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
12043 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
12044
12045Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12046
12047 * gdb.t17/interrupt.exp: Add xfail for hppa.
12048
12049Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12050
12051 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
12052 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
12053 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
12054 to determine signed-ness of bitfields and use the result to setup
12055 the xfail.
12056 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
12057 * gdb.t15/funcargs.exp: Use them to step until the second indirect
12058 call line is reached if necessary.
12059
12060Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12061
12062 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
12063
12064Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12065
12066 * gdb.t06/break.exp: Also test `clear' command.
12067
12068Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
12069
12070 * gdb.t00/teststrategy.exp: Remove extra quote.
12071
12072 * gdb.t07/watchpoint.exp: Change xfail for calling function with
12073 watchpoint enabled to be for all non-68k machines.
12074
12075 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
12076
12077Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12078
12079 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
12080 targets use aout.mt instead of ecoff.mt as gas understands
12081 standard aout format.
12082
12083Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
12084
12085 * lib/gdb.exp (runto): Don't insist that function we are running to
12086 was compiled with -g.
12087
12088 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
12089
12090 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
12091 to get back into the read system call.
12092 Accept leading newline in case where we woke it up.
12093
12094Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12095
12096 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
12097 to make the stabs test work on ecoff systems using gcc and -with-stabs.
12098 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
12099 enable ecoff configuration.
12100
12101Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12102
12103 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
12104
12105Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12106
12107 * gdb.t16/printcmds.exp: Add another printf test.
12108
12109Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
12110
12111 * configure.in: If configured -with-stabs on any target, add
12112 stabsdirs to configdirs.
12113
12114Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12115
12116 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
12117 fun" so pattern does not match the command itself.
12118
12119Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12120
12121 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
12122
12123Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12124
12125 * gdb.t17/interrupt.exp: Test for more things.
12126
12127Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12128
12129 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
12130 compiler arranges the code and line numbers.
12131
12132 * gdb.t17/interrupt.exp: Don't send \n after ^C.
12133
12134Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12135
12136 * gdb.t00/help.exp: Increase expect input buffer size.
12137
12138Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12139
12140 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
12141
12142 * gdb.t07/watchpoint.exp: Add xfail for hppa.
12143
12144 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
12145
12146 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
12147 [0-9]*, not just [0-9].
12148
12149Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12150
12151 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
12152
12153 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
12154
12155Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12156
12157 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
12158
12159Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12160
12161 * gdb.t06/signals.c: Add xfails for sun3.
12162
12163 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
12164
12165 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
12166 test_stepping tests.
12167
12168Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12169
12170 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
12171
12172 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
12173
12174 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
12175 rather than actually putting it through cpp twice.
12176
12177 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
12178
12179Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
12180
12181 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
12182 no longer needed.
12183
12184Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12185
12186 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
12187
12188 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
12189 C++ features prints as "struct", make it a pass, not an xfail.
12190
12191Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12192
12193 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
12194 Don't require VA to print as "class" rather than "struct".
12195
12196Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
12197
12198 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
12199
12200Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12201
12202 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
12203
12204Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12205
12206 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
12207 order.
12208
12209Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12210
12211 * gdb.t16/printcmds.exp: Add printf tests.
12212
12213 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
12214
12215 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
12216
12217Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
12218
12219 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
12220 pass counts, to counteract any existing or future setup_xfails.
12221
12222Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12223
12224 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
12225 {BEGIN,END}_COMMON for common block instead of STAB.
12226 * gdb.stabs/wierd.exp: Add xfail for rs6000.
12227
12228 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
12229 intp_var should be N_GSYM not N_LSYM.
12230 wierd-aout.S: Use a label for the value of the N_SO.
12231 wierd.def: Remove all backslashes.
12232 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
12233
12234Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12235
12236 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
12237 get the expected next to inheritance3.
12238
12239Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12240
12241 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
12242 now that gcc-2.4 gets it right.
12243
12244Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12245
12246 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
12247
12248 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
12249 generating comp-info.exp which works for cross-compilation.
12250
12251Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
12252
12253 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
12254 "*-*-sysv4.*".
12255
12256Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
12257
12258 * gdb.t01/run.exp: Start with a fresh gdb.
12259 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
12260 SVR4.x.
12261
12262Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
12263
12264 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
12265 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
12266 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
12267 Makefile.in (distclean, realclean): Remove gdbme.c from list of
12268 things to remove.
12269
12270Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
12271
12272 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
12273 test cases from bug reports.
12274
12275Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
12276
12277 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
12278 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
12279 avoid spurious xfails.
12280 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
12281 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
12282 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
12283
12284Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
12285
12286 * gdb.t00/teststrategy.exp: Rework to provide more useful
12287 description of each test, fix problem with systems that define
12288 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
12289 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
12290 results for "next over recursive call" so timeouts aren't taken
12291 by error.
12292
12293Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
12294
12295 * gdb.t12/scope.exp: Test printing of variables before run.
12296
12297 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
12298 printed in wrong order due to sorting.
12299
12300Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
12301
12302 * gdb.t00/teststrategy.exp: Fix expected results for printing
12303 user entered string constant. Is array of char, prints with no
12304 address.
12305
12306 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
12307 commands.
12308 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
12309 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
12310 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
12311 of struct of char arrays.
12312 * gdb.t00/radix.exp: New tests for radix commands.
12313
12314Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
12315
12316 * gdb.t16/printcmd.exp: Print a variable before running program
12317 (with xfail for AIX).
12318
12319Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
12320
12321 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
12322
12323 * gdb.t16/printcmd.exp: Don't print variables before running program.
12324
12325 * gdb.t06/break.exp: Don't require envp argument to main.
12326
12327 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
12328
12329 * gdb.t02/whatis.exp, gdb.t11/list.exp:
12330 Add xfails for rs6000.
12331
12332 * gdb.t02/whatis.exp: Change other tests not to re-test something
12333 we already tested.
12334
12335 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
12336 each type used has a variable of that type.
12337
12338Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
12339
12340 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
12341
12342Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
12343
12344 * configure.in: change srctrigger to be a file, not a directory
12345
12346Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
12347
12348 * configure.in (mips-idt-ecoff*): Added trailing '*'.
12349
12350 * gdb.t11/list.exp: Fixed a couple of typos.
12351
12352Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
12353
12354 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
12355 is fixed and PR is closed.
12356 * gdb.t16 (gdbme.c): Add simple test string variable.
12357 * gdb.t16 (printcmds.exp): Add tests with simple test string
12358 variable, primarily for boundaries on "set print elements".
12359
12360Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
12361
12362 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
12363 Make leading 0's optional and don't expect a tab in the middle
12364 of the number.
12365
12366 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
12367
12368 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
12369 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
12370 don't end command passed to gdb_test with newline.
12371
12372 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
12373 signed keyword away, don't expect signed bitfields to be signed.
12374
12375 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
12376 printing with only as many 1's as are in the field as well as printing
12377 with 32 1's (see comment).
12378
12379Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
12380
12381 * gdb.t00/default.exp: Start with a fresh gdb.
12382 * configure.in (configdirs): Remove gdb.t31 until the chill
12383 compiler works again. It no longer is able to find chillrt0
12384 since it isn't in libchill.a anymore.
12385 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
12386 wierd.o, make more modular.
12387 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
12388 spurious newlines that caused problems.
12389
12390Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12391
12392 * Move test with enums and partial symbols from gdb.t03/ptype.exp
12393 to gdb.stabs/wierd.exp since GCC has worked around the bug.
12394 gdb.stabs/wierd.{exp,def}: Many new tests.
12395
12396 * gdb.t00/default.exp: update info line for new message.
12397
12398 * gdb.t02/{whatis.exp,gdbme.c}:
12399 Test that "char *" doesn't print as "caddr_t".
12400
12401Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12402
12403 * gdb.t00/help.exp: Use .* in place of some help messages which
12404 just changed.
12405 gdb.t00/default.exp: Update "info frame" test for new message.
12406 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
12407 Remove some xfails
12408
12409Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12410
12411 * gdb.t03/{gdbme.c,ptype.exp}:
12412 Add tests for typedef'd struct and union without tags.
12413 Also check "whatis" on a variable of a typedef'd enum without a tag.
12414
12415 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
12416 PRMS 1823; the bug still exists but isn't reproduced by this test
12417 anymore), and remove rs6000 XFAIL (the bug is fixed).
12418
12419 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
12420 duplicated from whatis.exp. For those that are left, accept
12421 "long", "long int", or "int" for long variables (whatis.exp already
12422 has an XFAIL for "int", so no need to fail it here).
12423
12424 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
12425 Deal with GCC's names for types now that GDB uses the compiler's names.
12426
12427 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
12428 setup_xfail's for sunos4. If we #defined the signed keyword away,
12429 don't expect GDB to know that char it is signed.
12430
12431 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
12432
12433Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
12434
12435 * configure.in (configdirs): Add gdb.t24 for C++ tests that
12436 should work on any system, regardless of debugging format.
12437 * gdb.t21/demangle.exp: Move to gdb.t24.
12438 * gdb.t24/demangle.exp: Move from gdb.t21.
12439 * gdb.t24/{Makefile.in, configure.in}: New files.
12440
12441Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12442
12443 * configure.in: Do gdb.stabs and C++ tests only for stabs.
12444 * gdb.stabs: New directory.
12445
12446Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12447
12448 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
12449 not just "Quit anyway?".
12450
12451Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
12452
12453 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
12454 that all setup_xfails are immediately followed by clear_xfails.
12455
12456Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
12457
12458 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
12459 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
12460 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
12461 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
12462 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
12463 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
12464 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
12465 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
12466 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
12467 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
12468 gdb.t31/chillvars.exp, lib/gdb.exp:
12469 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
12470 bug-gdb@prep.ai.mit.edu.
12471
12472Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
12473
12474 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
12475 with 0.0, not integer 0.
12476
12477Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
12478
12479 * gdb.t06/break.exp: Update for "Kill the program" message change.
12480
12481Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
12482
12483 * Makefile.in (GDBFLAGS): Set to -nx.
12484 * Makefile.in (site.exp): Use GDBFLAGS.
12485
12486Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
12487
12488 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
12489 Makefiles.
12490 (check): depend on just-check.
12491 (just-check): added so that tests can be run without a noop
12492 build pass.
12493
12494Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
12495
12496 Switch to using configure's configdirs.
12497 * Makefile.in (Makefile): add configure.in dependency.
12498 (SUBDIRS): removed redundant assignment.
12499 * configure.in: switch subdirs assignment to configdirs.
12500 * gdb.t*/configure.in: new files.
12501
12502Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
12503
12504 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
12505 works.
12506
12507Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
12508
12509 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
12510 in explicit rules. Apparently this is not supported by some makes.
12511
12512Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
12513
12514 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
12515
12516Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12517
12518 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
12519 disappeared.
12520
12521Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
12522
12523 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
12524
12525Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
12526
12527 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
12528 watchpoint problem that is now fixed.
12529 * gdb.t30/chexp.exp: Remove setup_xfail for printing
12530 uninitialized convenience variables.
12531 * gdb.t31/chillvars.exp: Fix expected patterns for printing
12532 structures.
12533
12534Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12535
12536 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
12537 which causes expect to get out of sync with gdb on long output
12538 from help set.
12539 * gdb.t09/corefile.exp: Make expected pattern for core file
12540 failing signal and frame output format less sun specific.
12541
12542Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
12543
12544 * gdb.t31/chillvars.exp: Add and remove initial dummy
12545 breakpoint, so that symbol table is forced in.
12546 (Needed at least on Sunos4, though it seems not SVR4.)
12547 * gdb.t31/chillvars.exp: Update for changed output format.
12548
12549Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
12550
12551 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
12552
12553Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
12554
12555 * Makefile.in: Added --srcdir when invoking runtest, removed the
12556 need for a local config file. (optional now)
12557
12558Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
12559
12560 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
12561 failure count used to force early termination. Add some more
12562 expected failures for gnu style demangling.
12563
12564Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12565
12566 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
12567 pmi variable from gdb.t20/gdbme to get optimized away.
12568 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
12569 Check for written corefile upon timeout _and_ eof.
12570
12571Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12572
12573 * config/unix-gdb.exp: Add missing return 0.
12574
12575Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12576
12577 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
12578 test termination.
12579
12580Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
12581
12582 * configure.in (subdirs): Put back gdb.t17 which mysteriously
12583 disappeared.
12584
12585Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
12586
12587 * gdb.t10/crossload.exp: Disable the i860-elf test until such
12588 time as i860 support works.
12589
d63a86f8 12590 * gdb.t15/funcargs.exp: Fix expected outputs to include
c906108c
SS
12591 "backtrace 100\r" rather than just "backtrace\r", to match last
12592 change.
12593
12594Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
12595
12596 * config/udi-gdb.exp (gdb_exit): Remove close command.
12597 (gdb_target_udi): New procedure to set the UDI target.
12598 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
12599 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
12600 Added waits for prompts after several question responses. Added
12601 some more responses used by a29k-amd-udi-gdb.
12602 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
12603 pass different arguments, restart UDI connection after program
12604 completion.
12605 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
12606 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
12607 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
12608 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
12609 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
12610 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
12611 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
12612 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
12613 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
12614 after program completion.
12615 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
12616 compiled with a SELECT_VECS setting.
12617 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
12618 infinite recursion.
12619
12620 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
12621 Added checks for COFF results, and made them expected failures for
12622 all targets. It would be better to make them expected failures
12623 for COFF targets only.
12624
12625Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
12626
12627 * Makefile.in: add null dvi target, don't bother to recurse
12628 through test directories for info and install-info; rename
12629 $(datadir) to be dejagnu instead of deja-gnu
12630
12631Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
12632
12633 * gdb.t31/gdbme.ch: Re-enable code that previously caused
12634 compiler to coredump.
12635 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
12636 code.
12637
12638Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
12639
12640 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
12641 coredump.
12642 * gdb.t31/chillvars.exp: Comment out tests that depend on that
12643 code.
12644
12645Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
12646
12647 * gdb.t03/ptype.exp: tests for return code from gdb_test.
12648 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
12649 which in a shell. Deletes xgdb when done.
12650 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
12651 Tests the return from the "set height" or "set width" commands.
12652 Added a few return codes where needed.
12653
12654Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
12655
12656 * Makefile.in (SUBDIRS): Add gdb.t17.
12657 * configure.in (subdirs): Add gdb.t17.
12658 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
12659 files to test gdb's calling of functions in the inferior with
12660 the correct arguments and gdb's ability to retrieve any
12661 result returned.
12662
12663Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
12664
12665 * config/unix-gdb.exp (gdb_exit): Remove close commands that
12666 may be called after gdb goes away. Previous versions of expect
12667 needed these to avoid file descriptor leaks, but they cause
12668 errors with the current revision of expect.
12669 * gdb.t00/gdbvars.exp: Use -re on expected output after
12670 setting sevenbit-strings.
12671 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
12672 to set sevenbit-strings consistent across tests.
12673 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
12674 set sevenbit-strings consistent across tests.
12675
12676Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
12677
12678 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
12679 expected output to match current "expect" expectations.
12680
12681Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
12682
12683 * gdb.t00/default.exp: Change expected output for default "source"
12684 command, to match new gdb behavior which requires a filename to
12685 source.
12686
12687Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
12688
12689 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
12690 expected fail for i486-*-* that misses the marker2 function.
12691 * gdb.t10/crossload.exp (bfddefault): Allow successful
12692 recognition of a format to pass even if no symbols are found.
12693 Explicitly catch failures where the format is not recognized
12694 or is ambiguous, and add the reason to the fail message.
12695 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
12696 the cause is and invalid target and add reason to failure message.
12697 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
12698 elf32-i386, elf32-sparc, and elf32-i860.
12699 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
12700 Set up expected failure for 'filename'::variable scope resolution,
12701 which is now apparently broken on all targets.
12702 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
12703 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
12704 gdb.t23/templates.exp: Change failure for missing binfile into
12705 just a warning.
12706 gdb.t21/demangle.exp: Change all cfront references to 'arm'
12707 references.
12708
12709Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
12710
12711 * gdb.t00/default.exp: Add expected output for default "source"
12712 command, to match new gdb behavior.
12713 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
12714
12715Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
12716
12717 * config/*-gdb.exp: returns an error, rather than exiting on
12718 internal errors.
12719
12720Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
12721
12722 * gdb.t03/gdbme.c: Add pointer to struct variable.
12723 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
12724 referencing struct members.
12725
12726Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
12727
12728 * configure.in (mips-idt-ecoff): New target.
12729 * config/mips-gdb.exp: New file for remote board using MIPS remote
12730 debugging protocol.
12731
12732 * Redid configuration scheme. Removed gdb.t*/configure.in.
12733 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
12734 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
12735 distclean targets. Built executables via .o files. Adjusted
12736 tests to account for source files in $(srcdir) rather than
12737 $(objdir).
12738 * lib/gdb.exp (runto): Don't expect () after the function name,
12739 because it may have arguments.
12740
12741Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
12742
12743 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
12744 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
12745 expected failures for mips-idt-* and mips-sgi-*.
12746 * gdb.t00/default.exp (attach): Kill process if requested.
12747 * gdb.t00/help.exp (help target core, help target): Accept a gdb
12748 that does not read core files.
12749 * gdb.t01/run.exp: Removed checks for exit status code.
12750 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
12751 it is linked in.
12752 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
12753 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
12754 appropriate, rather than doing it by hand.
12755 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
12756 execution.
12757 * gdb.t10/crossload.exp: Kill existing program if needed.
12758 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
12759 appropriate, rather than doing it by hand. Always increase
12760 timeout for this test, not just for VxWorks.
12761
12762Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
12763
12764 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
12765 of Chill STRUCT types and STRUCT values.
12766 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
12767 than "char".
12768 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
d63a86f8 12769 struct2): New struct definitions and initializations to test
c906108c
SS
12770 simple Chill STRUCT types.
12771
12772Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
12773
12774 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
12775 the null byte at the end of strings.
12776 * gdb.t00/default.exp: Make show version insensitive to copyright
12777 date.
12778 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
12779 to avoid dependencies on target char signedness.
12780 * gdb.t16/printcmds.exp: Update expected results for explicitly
12781 unsigned char.
12782 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
12783 now work.
12784 * gdb.t21/demangle.exp: Add many more patterns for template
12785 demangling, most of them being expected failures.
12786 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
12787 string we are matching for, to match on the whole string.
12788 * gdb.t21/demangle.exp: Add many new test strings to demangle,
12789 and fix a whole bunch that had incorrect expected output but were
12790 passing anyway because of the bug in "proc demangle".
12791 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
12792 type.
12793 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
12794
12795Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
12796
12797 * gdb/testsuite: made modifications to testcases, etc., to allow
12798 them to work properly given the reorganization of deja-gnu and the
12799 relocation of the testcases from deja-gnu to a "tool" subdirectory.
12800
12801Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
12802
12803 * gdb/testsuite: Initial creation of gdb/testsuite.
12804 Migrated dejagnu testcases and support files for testing nm to
12805 gdb/testsuite from deja-gnu. These files were moved "as is"
12806 with no modifications. This migration is part of a major overhaul
12807 of dejagnu. The modifications to these testcases, etc., which
12808 will allow them to work with the new version of dejagnu will be
12809 made in a future update.
48efe704 12810
8d8cb839 12811 For additional changes see gdb.mi/ChangeLog-1999-2003.
c906108c 12812\f
8d8cb839
EZ
12813;; Local Variables:
12814;; mode: change-log
12815;; left-margin: 8
12816;; fill-column: 74
12817;; version-control: never
12818;; End:
902f2ccb
MC
12819
12820 Copyright 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
12821 2003, 2004 Free Software Foundation, Inc.
12822 Copying and distribution of this file, with or without modification,
12823 are permitted provided the copyright notice and this notice are preserved.